/* Fonty Barlow (lokálně, SIL OFL 1.1) */
/* Barlow 400 */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow 600 */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow Condensed 600 */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   ZNAČKAŘ.cz – styly webu (jediný soubor)
   Barvy a rozměry jsou v proměnných nahoře.
   ========================================================= */
:root {
  --ink: #0f1113;
  --tx: #3d444d;
  --mu: #5d6570;
  --ln: #e4e7ec;
  --ln2: #c9ced6;
  --sf: #f6f7f9;
  --y: #f2c300;
  --yd: #6b5400;
  --ys: #fff3bf;
  --yl: #fffbea;
  --ok: #2f9e5b;
  --away: #e08a00;
  --r: 10px;
  --r-lg: 12px;
  --shadow: 0 16px 40px rgba(15, 17, 19, .14);
  --wrap: 1200px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --sec: clamp(3.25rem, 7vw, 5rem);
  --fd: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --fb: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--fb); font-size: 17px; line-height: 1.6; color: var(--tx); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--tx); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
ul, ol { margin: 0; }
strong, b { color: var(--ink); font-weight: 600; }
.muted { color: var(--mu); }
.small { font-size: 15px; }
mark { background: var(--ys); color: var(--ink); padding: 0 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--y); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { border-top: 1px solid var(--ln); padding: var(--sec) 0; }
.sec--alt { background: var(--sf); }
.sec--tight { padding: 3.25rem 0; }
.stack { display: flex; flex-direction: column; gap: 2.25rem; }
.stack--sm { gap: 1.25rem; }

/* Typografie */
.h1, .h2, .h3 { font-family: var(--fd); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; max-width: 15ch; }
.h1--page { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 17ch; }
.h2 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.05; }
.h2--md { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.h2--sm { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.h3 { font-size: 1.45rem; line-height: 1.2; }
.h3--lg { font-size: 1.8rem; }
.accent { width: 72px; height: 4px; background: var(--y); }
.lead { font-size: 1.15rem; line-height: 1.65; max-width: 37rem; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--yd); }
.sec-head { display: flex; flex-wrap: wrap; gap: 1rem 4rem; align-items: baseline; }
.sec-head > p { flex: 1 1 420px; max-width: 42rem; }

/* Tlačítka a odkazy */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn--primary { background: var(--y); color: var(--ink); }
.btn--primary:hover { background: #ffd21f; color: var(--ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--sf); color: var(--ink); }
.btn--lg { padding: 14px 24px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 14px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ico { flex: none; }

/* Hlavička */
.topstripe { height: 4px; background: repeating-linear-gradient(-45deg, var(--y) 0 12px, var(--ink) 12px 24px); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 72px; }
.logo img { width: 186px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { color: var(--tx); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--y); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1040px) {
  .burger { display: block; }
  .logo img { width: 150px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--ln); padding: .5rem var(--pad) 1.25rem; box-shadow: 0 12px 24px rgba(15, 17, 19, .08); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--ln); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--ln); box-shadow: inset 3px 0 0 var(--y); padding-left: 12px; }
  .nav__cta { margin-top: 1rem; justify-content: center; }
}

/* Rozbalovací nabídka Služby */
.nav__dd { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__dd-btn { width: 28px; height: 32px; border: 0; background: transparent; color: var(--tx); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.nav__dd-btn:hover { background: var(--sf); color: var(--ink); }
.nav__sub { list-style: none; padding: 8px; margin: 0; position: absolute; top: calc(100% + 10px); left: -12px; width: 280px; background: #fff; border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--shadow); display: none; z-index: 40; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub, .nav__dd.is-open .nav__sub { display: block; }
.nav__dd.is-closed .nav__sub { display: none; }
@media (max-width: 1040px) { .nav__dd.is-closed .nav__sub { display: block; } }
.nav__dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.nav__sub a { display: block; padding: 9px 10px; border-radius: 6px; border: 0 !important; color: var(--ink) !important; text-decoration: none; }
.nav__sub a:hover { background: var(--sf); }
.nav__sub-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ln); }
.nav__sub-all a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }
@media (max-width: 1040px) {
  .nav__dd { flex-wrap: wrap; }
  .nav__dd > a { flex: 1; }
  .nav__dd-btn { display: none; }
  .nav__sub { display: block; position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 14px; }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: 10px 0; font-size: 16px; color: var(--tx) !important; }
  .nav__sub-all { display: none; }
}

/* Pruh s čísly pod úvodem */
.trust { border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem 2rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.trust__in div { display: flex; flex-direction: column; gap: 2px; }
.trust__in strong { font-family: var(--fd); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.trust__in span { font-size: 14px; color: var(--mu); }

/* Dlaždice služeb na titulce */
.svc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--ln); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; }
.svc-tile { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: #fff; text-decoration: none; }
.svc-tile:hover { background: var(--yl); }
.svc-tile--main { box-shadow: inset 0 3px 0 var(--y); }
.svc-tile h3 { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.svc-tile p { font-size: 15px; color: var(--mu); }
.svc-tile .more { margin-top: auto; padding-top: .4rem; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Krátký kontakt na titulce */
.contact-short { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: center; justify-content: space-between; }
.contact-short > div:first-child { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-short > div:last-child { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Přehled služeb */
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--ln2); }
.svc-item { display: flex; flex-wrap: wrap; gap: 1.25rem 4rem; padding: 2.25rem 0; border-bottom: 1px solid var(--ln); }
.svc-item > div:first-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: .75rem; }
.svc-item > div:last-child { flex: 1 1 320px; min-width: 0; }
.svc-item .h2 a { text-decoration: none; }
.norms { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 3rem; }
.norms li { padding: .85rem 0; border-top: 1px solid var(--ln); font-size: 15px; color: var(--mu); }
.norms strong { display: block; font-size: 16px; }

/* Hero titulky */
.hero { display: flex; flex-wrap: wrap; gap: 3.5rem 4rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.hero__facts { font-size: 15px; color: var(--mu); }
.hero__media { flex: 1 1 340px; min-width: 0; position: relative; padding: 0 0 3.5rem 4rem; max-width: 480px; }
.hero__photo { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: linear-gradient(to top right, var(--y) 0%, #f7d54a 38%, #fdf0b8 72%, #fffcef 100%); box-shadow: 0 24px 60px rgba(242, 195, 0, .22); }
.drawcard { position: absolute; left: 0; bottom: 0; width: min(46%, 210px); border-radius: var(--r); background: #fff; border: 1px solid var(--ln); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; }
.drawcard picture { display: block; }
.drawcard img { aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--ln); }
.drawcard span { display: block; padding: 10px 12px 12px; line-height: 1.35; }
.drawcard strong { display: block; font-size: 13px; }
.drawcard em { font-style: normal; font-size: 13px; color: var(--mu); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.extra { display: flex; flex-wrap: wrap; border-radius: var(--r); background: #fff; border: 1px solid var(--ln); overflow: hidden; }
.extra__item { flex: 1 1 260px; min-width: 0; display: flex; gap: 16px; padding: 1.5rem 1.6rem; border-left: 1px solid var(--ln); margin-left: -1px; }
.extra__item--note { background: var(--yl); }
.extra__item h4, .extra__h { margin: 0 0 .2rem; font-family: var(--fd); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.extra__item p { font-size: 15px; color: var(--mu); }
.extra__item .link { font-size: 15px; display: inline-block; margin-top: .3rem; }

.tile__ico { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--sf); display: grid; place-items: center; color: var(--ink); }
.tile__ico--y { background: var(--ys); }

/* Reference */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2.25rem 1.75rem; }
.ref-card { display: flex; flex-direction: column; gap: .35rem; }
.ref-card[hidden] { display: none; }
.ref-card__thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--ln); margin-bottom: .55rem; background: #eef0f4; }
.ref-card__thumb picture { display: block; }
.ref-card__thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .3s; }
.ref-card__thumb:hover img { transform: scale(1.03); }
.ref-card__count { position: absolute; right: 10px; bottom: 10px; font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 4px; background: rgba(255, 255, 255, .94); color: var(--ink); }
.ref-card__title { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.ref-card__title a { text-decoration: none; }
.ref-card__title a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.ref-card__meta { font-size: 15px; color: var(--mu); }
.ref-card__tags { font-size: 14px; color: var(--yd); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 14px; min-height: 44px; border-radius: 6px; border: 1px solid var(--ln); background: #fff; color: var(--tx); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* Postup – vodorovně */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem 2rem; border-top: 1px solid var(--ln2); counter-reset: s; }
.steps li { position: relative; padding-top: 2rem; display: flex; flex-direction: column; gap: .5rem; counter-increment: s; }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--y); }
.steps li:first-child::before { background: var(--y); }
.steps__n { font-family: var(--fd); font-weight: 600; font-size: 15px; color: var(--yd); }
.steps h3 { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 1.45rem; color: var(--ink); }
.steps p { font-size: 16px; color: var(--mu); }

/* Postup – svisle (podstránky) */
.vsteps { list-style: none; padding: 0; border-bottom: 1px solid var(--ln); counter-reset: v; }
.vsteps li { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-top: 1px solid var(--ln); counter-increment: v; }
.vsteps li::before { content: counter(v); flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--y); display: grid; place-items: center; font-family: var(--fd); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.vsteps li:first-child::before { background: var(--y); }
.vsteps h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.vsteps p { margin-top: 2px; font-size: 16px; color: var(--mu); }

/* Kdo jsem */
.about { display: flex; flex-wrap: wrap; gap: 3rem 4rem; align-items: center; }
.about__media { flex: 0 1 340px; min-width: 0; position: relative; }
.about__media img, .about__ph { border-radius: var(--r-lg); border: 1px solid var(--ln); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: #eef0f4; }
.about__ph { display: grid; place-items: center; text-align: center; font-size: 13px; color: #6b7480; }
.about__since { position: absolute; right: -16px; bottom: 28px; padding: 12px 16px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); line-height: 1.3; }
.about__since strong { display: block; font-family: var(--fd); font-weight: 600; font-size: 2rem; }
.about__since span { font-size: 13px; color: var(--mu); }
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.about__text .lead { color: var(--ink); max-width: none; }
.stats { margin: .75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ln); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dt { font-size: 14px; color: var(--mu); }
.stats dd { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 2.2rem; line-height: 1.1; color: var(--ink); }
.career { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; border-top: 1px solid var(--ln2); }
.career li { position: relative; padding-top: 1.75rem; }
.career li::before { content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #8f97a3; }
.career li:first-child::before { background: var(--y); box-shadow: none; }
.career h4, .career__h { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.career h4 span, .career__h span { font-family: var(--fb); font-size: 14px; color: var(--yd); }
.career p { margin-top: 4px; font-size: 15px; color: var(--mu); }
.cert { margin: 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 1.5rem; border-radius: var(--r-lg); background: var(--sf); }
.cert__img { flex: none; width: 96px; border-radius: 4px; box-shadow: 0 6px 16px rgba(15, 17, 19, .12); }
.cert figcaption { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cert figcaption > p:not(.eyebrow) { font-size: 15px; max-width: 48rem; }
.cert .small { font-size: 14px; color: var(--mu); }

/* FAQ */
.split { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; }
.split__side { flex: 1 1 300px; min-width: 0; max-width: 24rem; display: flex; flex-direction: column; gap: 1rem; }
.split__main { flex: 2 1 560px; min-width: 0; }
.faq { border-top: 1px solid var(--ln2); }
.faq details { border-bottom: 1px solid var(--ln); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq__a { padding: 0 3rem 1.4rem 0; max-width: 44rem; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 3rem 4.5rem; align-items: stretch; }
.contact__main { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.contact__main > .muted { max-width: 34rem; }
.email-big { align-self: flex-start; font-family: var(--fd); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; color: var(--ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .12em; text-underline-offset: .14em; overflow-wrap: anywhere; }
.email-big--sm { font-size: clamp(1.9rem, 4vw, 2.4rem); }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mu); }
.status .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 158, 91, .15); }
.status--away { color: var(--ink); font-weight: 600; }
.status--away .dot { background: var(--away); box-shadow: 0 0 0 4px rgba(224, 138, 0, .18); }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .4rem; }
.tile { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ln); border-radius: var(--r); background: #fff; text-decoration: none; }
.tile:hover { border-color: var(--ln2); background: var(--sf); }
.tile small { display: block; font-size: 13px; color: var(--mu); line-height: 1.3; }
.tile strong { display: block; font-weight: 600; line-height: 1.3; }
.ask { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem; border-radius: var(--r-lg); background: var(--sf); box-shadow: inset 0 3px 0 var(--y); }
.ask__who { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.ask__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.ask__who span { display: block; font-size: 14px; color: var(--mu); }
.ask__foot { padding-top: 1rem; border-top: 1px solid var(--ln); font-size: 15px; color: var(--mu); }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .65rem; font-size: 16px; color: var(--tx); }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1113' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks .muted { font-size: 15px; }
.contact-bottom { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.card { flex: 1 1 400px; min-width: 0; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--ln); background: #fff; display: flex; flex-direction: column; gap: .75rem; }
.card__head { display: flex; align-items: center; gap: 12px; }
.card__foot { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--ln); }
.billing__dl { margin: 0; }
.billing__dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--ln); }
.billing__dl dt { color: var(--mu); }
.billing__note { margin: 0; padding: 10px 0; border-top: 1px solid var(--ln); color: var(--mu); }
.billing__dl dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.billing .btn { align-self: flex-start; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 14px; padding: 3px 10px; border: 1px solid var(--ln); border-radius: 6px; }

/* Podstránky */
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--mu); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--mu); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero { padding-top: 2.25rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); display: flex; flex-direction: column; gap: 2.25rem; }
.page-hero__grid { display: flex; flex-wrap: wrap; gap: 3rem 4rem; align-items: flex-start; }
.page-hero__text { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.aside-box { flex: 1 1 340px; min-width: 0; padding: 1.75rem; border-radius: var(--r-lg); background: var(--sf); box-shadow: inset 0 3px 0 var(--y); display: flex; flex-direction: column; gap: 1rem; }
.facts { margin: 0; padding-top: 1rem; border-top: 1px solid var(--ln); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: 15px; }
.facts dt { font-size: 14px; color: var(--mu); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.facts dd small { display: block; font-weight: 400; font-size: 13px; color: var(--mu); }
.content { display: flex; flex-wrap: wrap; gap: 2.5rem 4.5rem; align-items: flex-start; }
.toc { flex: 0 0 220px; position: sticky; top: 96px; }
.toc p { margin-bottom: .6rem; font-size: 14px; font-weight: 600; color: var(--mu); }
.toc ol { list-style: none; padding: 0; font-size: 15px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--ln); color: var(--tx); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--y); }
@media (max-width: 900px) { .toc { display: none; } }
.prose { flex: 1 1 600px; min-width: 0; max-width: 46rem; display: flex; flex-direction: column; gap: 3.5rem; }
.prose__sec { display: flex; flex-direction: column; gap: 1rem; }
.prose ul:not(.checks) { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.todo { padding: 1rem 1.2rem; border-radius: 8px; border: 1.5px dashed #d9ae00; background: var(--yl); font-size: 15px; color: var(--ink); }
.todo span { color: var(--yd); }
.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related__item { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 1.25rem 1.4rem; border: 1px solid var(--ln); border-radius: var(--r); background: #fff; text-decoration: none; }
.related__item:hover { border-color: var(--ln2); }
.related__item strong { font-family: var(--fd); font-weight: 600; font-size: 1.35rem; }
.related__item span { font-size: 15px; color: var(--mu); }
.cta-band { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band > div:first-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.cta-band > div:first-child .muted { max-width: 38rem; }
.cta-band__mail { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* Detail reference */
.ref-head { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: flex-end; }
.ref-head > div { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: .9rem; }
.ref-head .h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; line-height: 1.06; }
.ref-head .facts { flex: 1 1 320px; min-width: 0; border-top: 0; padding-top: 0; gap: 1rem 2rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.gallery a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; font-size: 14px; color: var(--tx); }
.gallery img { border-radius: 8px; border: 1px solid var(--ln); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: #eef0f4; }
.gallery a:hover img { border-color: var(--ink); }

/* Patička */
.site-footer { background: var(--sf); border-top: 1px solid var(--ln); padding: 3rem 0 2rem; font-size: 15px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.site-footer__cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer__logo { width: 160px; margin-bottom: .75rem; }
.site-footer__h { margin: 0 0 .6rem; font-family: var(--fb); font-size: 15px; font-weight: 600; color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--ln); font-size: 14px; color: var(--mu); }
.site-footer__bottom a { margin-left: 14px; }
.site-footer__bottom a:first-child { margin-left: 0; }

/* Cookie lišta */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--ln); box-shadow: 0 20px 50px rgba(15, 17, 19, .2); font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Oznámení o dovolené */
.notice { position: fixed; left: 24px; bottom: 24px; z-index: 40; width: min(380px, calc(100% - 32px)); border-radius: var(--r-lg); background: var(--y); overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 17, 19, .12), 0 20px 50px rgba(15, 17, 19, .28); animation: noticeIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.notice[hidden] { display: none; }
@keyframes noticeIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) { .notice { left: 16px; bottom: 16px; } }
.notice__stripe { height: 5px; background: repeating-linear-gradient(-45deg, var(--ink) 0 9px, var(--y) 9px 18px); }
.notice__body { padding: 1rem 1.1rem 1.1rem; display: flex; gap: 14px; align-items: flex-start; }
.notice__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--ink); }
.notice__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.45; }
.notice__text strong { font-family: var(--fd); font-weight: 600; font-size: 1.3rem; }
.notice__text span { font-size: 15px; color: #2b2300; }
.notice__close { flex: none; margin: -6px -6px 0 0; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .45); cursor: pointer; color: var(--ink); font-size: 22px; line-height: 1; }

/* Lightbox */
.lb { padding: 0; border: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(15, 17, 19, .92); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; place-items: center; }
.lb__fig { margin: 0; max-width: 94vw; max-height: 90vh; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.lb__fig img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; background: #fff; border-radius: 4px; }
.lb__fig figcaption { color: #fff; font-size: 15px; text-align: center; }
.lb__fig img { transition: filter .2s; }
.lb__fig img[style*="--ar"] { width: min(94vw, calc(82vh * var(--ar))); height: auto; aspect-ratio: var(--ar); object-fit: contain; }
.lb.is-loading .lb__fig img { filter: blur(3px); }
.lb.is-loading .lb__fig figcaption::after { content: " · načítám…"; opacity: .75; }
.lb__btn { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Jednoduché textové stránky (zásady, 404) */
.doc { max-width: 800px; padding-top: 2.5rem; padding-bottom: 4rem; display: flex; flex-direction: column; gap: 1rem; }
.doc h2 { font-family: var(--fd); font-weight: 600; font-size: 1.8rem; color: var(--ink); margin: 1.5rem 0 0; }
.doc h3 { font-size: 1.1rem; color: var(--ink); margin: .75rem 0 0; }
.doc ul { padding-left: 1.2rem; }

/* Obchodní podmínky – obsah, číslované články, spotřebitelský box */
.vop-meta { margin: -.25rem 0 0; color: var(--mu); font-size: 15px; }
.vop-toc { background: var(--sf); border: 1px solid var(--ln); border-left: 4px solid var(--y); border-radius: var(--r); padding: 1.1rem 1.4rem; }
.vop-toc__h { margin: 0 0 .5rem; font-family: var(--fd); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.vop-toc ol { margin: 0; padding-left: 1.4rem; columns: 2 18rem; column-gap: 2rem; font-size: 15px; }
.vop-toc li { margin: .15rem 0; break-inside: avoid; }
.vop-toc__x { list-style: none; margin-left: -1.4rem !important; margin-top: .4rem !important; }
.vop h2 { scroll-margin-top: 6rem; }
.vop-art { position: relative; padding-left: 3.4rem; }
.vop-art__n { position: absolute; left: 0; top: .1rem; font-family: var(--fd); font-weight: 600; font-size: 1.05rem; color: var(--yd); }
.vop-art p { margin: 0; }
.vop-art ul { margin: .5rem 0 0; }
.vop-art ul + p, .vop-art p + p { margin-top: .5rem; }
.vop-sub { padding-left: 1.4rem; }
.vop-box { background: var(--yl); border: 1px solid var(--ys); border-left: 4px solid var(--y); border-radius: var(--r); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.vop-box__h { margin: 0; font-weight: 600; color: var(--ink); }
.vop-form { border: 1px dashed var(--ln2); border-radius: var(--r); padding: 1.2rem 1.4rem; }
.vop-form p { margin: .4rem 0; }
@media (max-width: 600px) { .vop-art { padding-left: 2.8rem; } }
@media print { .site-header, .site-footer, .topstripe, .cookie, .vop-toc { display: none !important; } .vop-box { background: none; } }

/* Plynulý přechod mezi stránkami (View Transitions).
   Prohlížeče, které to neumí, prostě přejdou normálně. */
@view-transition { navigation: auto; }
.topstripe { view-transition-name: pruh; }
.site-header { view-transition-name: hlavicka; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Tabulka v textu (poplatky) */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--ln); }
.table th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ln2); }
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.prose h3 { margin: .5rem 0 0; font-size: 17px; color: var(--ink); }
.prose ol:not(.vsteps) { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.cert-panel { display: flex; align-items: center; gap: 14px; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--sf); box-shadow: inset 0 3px 0 var(--y); }
.cert-panel strong { display: block; }
.cert-panel span { font-size: 14px; color: var(--mu); }
.note-strong { padding: 1rem 1.25rem; border-radius: var(--r); background: var(--yl); }

/* Textový blok v běžné sekci (bez postranního obsahu) */
.text-block { max-width: 46rem; display: flex; flex-direction: column; gap: 1rem; }

/* Obsah stránky na mobilu */
.toc-m { display: none; }
@media (max-width: 900px) {
  .toc-m { display: block; flex: 1 1 100%; border: 1px solid var(--ln); border-radius: var(--r); background: var(--sf); }
  .toc-m summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: "+"; font-weight: 600; }
  .toc-m[open] summary::after { content: "−"; }
  .toc-m ol { list-style: none; margin: 0; padding: 0 16px 12px; }
  .toc-m a { display: block; padding: 9px 0; border-top: 1px solid var(--ln); text-decoration: none; color: var(--tx); }
}

/* Patička – větší plocha odkazů pro prst */
.site-footer__cols li a { display: inline-block; padding: 5px 0; }
@media (max-width: 700px) { .site-footer__cols li a, .site-footer__bottom a { padding: 8px 0; } .site-footer__cols ul { gap: 2px; } }
