/* ══════════════════════════════════════════════════════════════════════════
   EduTrailBlazers — design webu

   Motiv z loga: oranžová papírová vlaštovka (nadtitulky, odrážky, náhradní
   plochy) a oběžná dráha kolem globu. Sekce jsou číslované „zastávky"
   01, 02, 03 a místo chybějících fotek je vrstevnicová mapa — cesta za
   vzděláním napříč světem.

   Zásady: ploché barevné bloky přes celou šířku, ostré hrany, linky místo
   stínů a karet, patkové nadpisy (Newsreader) + čitelný grotesk (Work Sans).
   Oranžová je vyhrazená výzvám k akci; na tlačítkách o odstín tmavší než
   v logu, aby bílý text splnil kontrast WCAG AA.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --navy:       #14305F;   /* barva textu v logu */
    --navy-deep:  #0A2444;
    --blue:       #087EAD;
    --blue-text:  #076F99;
    --orange:     #F15A24;
    --cta:        #CC4414;
    --cta-hover:  #A9360D;
    --orange-on-dark: #FF9B76;   /* oranžová pro drobný text na námořnické (AA) */
    --paper:      #F5F2EB;       /* teplá světlá neutrální plocha */
    --light:      #EEF6FC;
    --white:      #FFFFFF;
    --ink:        #14243A;
    --muted:      #4A5A6E;
    --on-dark:    #C9D6E6;
    --rule:       rgba(15, 48, 91, .16);
    --rule-dark:  rgba(255, 255, 255, .18);

    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --sans:  'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 80px;
    /* levý okraj obsahu kontejneru — pro bloky, které jdou do kraje jen na jedné straně */
    --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

/* ── Základ ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--white); color: var(--ink);
    font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
    font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.08;
    letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); line-height: 1.18; }
.display-1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.02; }
.display-2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.05; }
.display-3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Vlaštovka z loga a zastávky ─────────────────────────────────────────── */
.plane { display: inline-block; flex: none; width: 20px; height: 18px; margin-right: 12px; fill: var(--orange); vertical-align: -2px; }
.plane--lg { width: 64px; height: 57px; margin: 0; }

.waypoint {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .82rem; font-weight: 600;
    letter-spacing: .08em; color: var(--cta); font-variant-numeric: tabular-nums;
}
.waypoint::after { content: ''; width: 28px; height: 1.5px; background: currentColor; }

.eyebrow, .hero__eyebrow, .page-head__eyebrow, .feature__eyebrow {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; margin: 0 0 22px;
    font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.eyebrow .plane, .hero__eyebrow .plane, .page-head__eyebrow .plane, .feature__eyebrow .plane { margin-right: 4px; }
.hero__eyebrow a, .page-head__eyebrow a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--orange); }
.hero__eyebrow a:hover, .page-head__eyebrow a:hover { color: var(--cta); }
.hero__eyebrow > span[aria-hidden], .page-head__eyebrow > span[aria-hidden] { color: var(--muted); }
.feature__eyebrow { color: #fff; }

.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); margin-top: 16px; max-width: 46ch; }
.empty { color: var(--muted); font-size: 1.15rem; }

/* ── Tlačítka a odkazy ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 12px 26px; border: 2px solid var(--navy); border-radius: 0;
    background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn .icon { flex: none; transition: transform .15s; }
.btn:hover .icon { transform: translateX(4px); }
.btn--cta { background: var(--cta); border-color: var(--cta); }
.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--line-light { background: transparent; border-color: #fff; color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: 14px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Stav „sbírka se připravuje" — informace, ne tlačítko */
.pending {
    display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 22px;
    border: 2px dashed currentColor; font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.pending.btn--lg { min-height: 60px; }
.pending__dot { flex: none; width: 10px; height: 10px; background: var(--orange); }

.text-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--navy);
    text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.text-link .icon { transition: transform .15s; }
.text-link:hover { color: var(--cta); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: var(--orange-on-dark); }

/* ── Hlavička ────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; color: var(--navy); }
.brand__img { max-height: 52px; width: auto; }
.logo { display: block; height: 40px; width: auto; }

.site-nav { display: none; align-items: center; gap: 18px; height: var(--header-h); }
.site-nav .btn { white-space: nowrap; }
.site-nav__list { display: flex; align-items: stretch; height: 100%; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; display: flex; align-items: center; }
.site-nav__list a {
    display: flex; align-items: center; height: 100%; padding: 0 10px; color: var(--navy); text-decoration: none;
    font-weight: 500; font-size: .95rem; white-space: nowrap; position: relative;
}
.site-nav__list a:hover { color: var(--cta); }
.site-nav__list > li > a[aria-current="page"]::after {
    content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 4px; background: var(--orange);
}
.has-sub > a { padding-right: 2px; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 40px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; }
.sub-toggle .icon { transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px 0;
    background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .12s, visibility .12s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; }
.sub-menu a { height: auto; padding: 12px 20px; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: .88rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.lang-switch a, .lang-switch .is-active { padding: 6px; text-decoration: none; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--cta); }
.lang-switch .is-active { color: var(--navy); }
.lang-switch > span[aria-hidden] { color: var(--rule); }

.site-header__mobile { display: flex; align-items: center; gap: 6px; }
.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 11px;
    border: 2px solid var(--navy); background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile { display: none; border-top: 1px solid var(--rule); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav-mobile.is-open { display: block; }
.nav-mobile .container { padding-top: 20px; padding-bottom: 32px; }
.nav-mobile ul { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.nav-mobile li a { display: block; padding: 14px 0; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; text-decoration: none; border-bottom: 1px solid var(--rule); }
.nav-mobile li a[aria-current="page"] { color: var(--cta); }
.nav-mobile__sub { margin: 0 !important; padding: 0 0 0 20px !important; border: 0 !important; }
.nav-mobile__sub a { font-family: var(--sans) !important; font-size: 1rem !important; color: var(--muted) !important; }

@media (min-width: 1360px) {
    .site-nav { display: flex; }
    .site-header__mobile, .nav-mobile, .nav-mobile.is-open { display: none; }
}
@media (min-width: 1360px) and (max-width: 1559px) {
    .site-header .logo { height: 32px; }
    .site-nav { gap: 14px; }
    .site-nav__list a { padding: 0 8px; font-size: .93rem; }
    .site-nav__list > li > a[aria-current="page"]::after { left: 8px; right: 8px; }
}
@media (max-width: 480px) { .site-header .logo { height: 27px; } .site-header__inner { gap: 12px; } }

/* ── Sekce ───────────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--first { padding-top: clamp(40px, 5vw, 72px); }
.section--paper { background: var(--paper); }
.section-foot { margin-top: 32px; }
.list-title { display: flex; align-items: center; margin-bottom: 32px; }

.split-head { display: grid; gap: 16px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.split-head h2 { display: flex; align-items: center; margin: 0; }
.split-head .lead { margin: 0; max-width: 52ch; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1fr 1fr; } }

/* ── Fotky a náhradní plochy (vrstevnicová mapa + značka) ────────────────── */
.photo { width: 100%; height: 100%; object-fit: cover; background: var(--light); }
.photo--map {
    display: grid; place-items: end start; padding: clamp(18px, 3vw, 32px); min-height: 200px;
    background: var(--light) url(/images/contours.svg) center / cover no-repeat;
}
.photo--paper { background-color: var(--paper); }
.photo--dark  { background: var(--navy-deep) url(/images/contours-light.svg) center / cover no-repeat; }

/* ── Hero (úvodní stránka i detaily) ─────────────────────────────────────── */
.hero { display: grid; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero__text { padding: clamp(48px, 9vw, 120px) var(--gutter) clamp(44px, 7vw, 96px); }
.hero__title { font-size: clamp(3rem, 1.6rem + 6vw, 6.6rem); line-height: .96; letter-spacing: -.035em; margin-bottom: .32em; }
.hero__title--detail { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.025em; }
.hero__lead { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); line-height: 1.5; color: var(--ink); max-width: 34ch; margin: 0; }
.hero__media { position: relative; min-height: clamp(260px, 62vw, 420px); }
.hero__photo { position: absolute; inset: 0; }

@media (min-width: 960px) {
    .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(calc(100vh - var(--header-h)), 780px); }
    .hero__text { padding-left: var(--edge); padding-right: clamp(40px, 5vw, 88px); align-self: center; }
    .hero--detail { min-height: 0; }
    .hero--detail .hero__media { min-height: 520px; }
}

.values { border-bottom: 1px solid var(--rule); }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; }
.values__list li { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; color: var(--navy); }
.values__list li:first-child { border-top: 0; }
@media (min-width: 760px) {
    .values__list { grid-template-columns: repeat(3, 1fr); }
    .values__list li { border-top: 0; border-left: 1px solid var(--rule); padding: 36px 32px; }
    .values__list li:first-child { border-left: 0; padding-left: 0; }
}

/* ── Co děláme — čtyři zastávky trasy ────────────────────────────────────── */
.trail-grid { display: grid; gap: 48px 32px; }
@media (min-width: 640px) { .trail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trail-grid { grid-template-columns: repeat(4, 1fr); } }
.trail-item { position: relative; display: flex; flex-direction: column; }
.trail-item__media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; }
@media (max-width: 639px) { .trail-item__media { aspect-ratio: 16 / 9; } }
.trail-item__media .photo { transition: transform .5s ease; }
.trail-item .waypoint { margin-bottom: 12px; }
.trail-item h3 { margin-bottom: .4em; }
.trail-item h3 a { color: inherit; text-decoration: none; }
.trail-item h3 a::after { content: ''; position: absolute; inset: 0; }
.trail-item p { color: var(--muted); font-size: 1rem; }
.trail-item .more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.trail-item .more .icon { transition: transform .15s; }
.trail-item:hover .trail-item__media .photo { transform: scale(1.03); }
.trail-item:hover h3 { color: var(--cta); }
.trail-item:hover .more .icon { transform: translateX(4px); }
.trail-item:focus-within { outline: 3px solid var(--orange); outline-offset: 8px; }
.trail-item a:focus-visible { outline: none; }

/* ── Zvýrazněný projekt — námořnický blok přes celou šířku ───────────────── */
.feature { display: grid; background: var(--navy); color: var(--on-dark); }
.feature__media { position: relative; min-height: clamp(280px, 60vw, 440px); }
.feature__photo { position: absolute; inset: 0; }
.feature__body { padding: clamp(48px, 8vw, 112px) var(--gutter); }
.feature__body h2 { color: #fff; margin-bottom: .45em; }
.feature__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #fff; max-width: 44ch; }
.feature__note { font-size: .92rem; color: var(--on-dark); margin: 18px 0 0; max-width: 48ch; }
.feature .pending { color: #fff; }
@media (min-width: 960px) {
    .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .feature__media { min-height: 640px; }
    .feature__body { align-self: center; padding-right: var(--edge); padding-left: clamp(40px, 6vw, 96px); }
}

.steps { background: var(--navy-deep); color: var(--on-dark); padding: clamp(40px, 5vw, 64px) 0; }
.steps__label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 24px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps__list li { border-top: 1px solid var(--rule-dark); padding-top: 20px; }
.steps__list .waypoint { color: var(--orange-on-dark); margin-bottom: 10px; }
.steps__list h3 { color: #fff; font-size: 1.4rem; margin-bottom: .35em; }
.steps__list p { margin: 0; font-size: .98rem; max-width: 38ch; }
@media (min-width: 760px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ── Náš přístup ─────────────────────────────────────────────────────────── */
.approach__grid { display: grid; gap: 32px 80px; }
@media (min-width: 960px) { .approach__grid { grid-template-columns: 1fr 1fr; } }
.approach .display-1 { max-width: 12ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--orange); }
.prose--lg { font-size: 1.12rem; }
.prose--doc { max-width: 760px; }

.plane-list { list-style: none; margin: 28px 0; padding: 0; border-top: 2px solid var(--navy); }
.plane-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-weight: 500; color: var(--navy); }
.plane-list li::before {
    content: ''; flex: none; width: 15px; height: 13px; transform: translateY(1px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='835 128 117 104'%3E%3Cpath fill='%23F15A24' d='M835 152 952 128 885 232 870 175Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plane-list--boxed { margin: 0; }

/* ── Partneři ────────────────────────────────────────────────────────────── */
.partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.partners__list img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners__list a:hover img { filter: none; opacity: 1; }
.partners__list--detail { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.partners__list--detail li { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--rule); }
.partners__list--detail span { color: var(--muted); font-size: .95rem; }

/* ── Hlavička podstránky ─────────────────────────────────────────────────── */
.page-head { background: var(--paper); padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.page-head__grid { display: grid; gap: 20px 72px; align-items: end; }
.page-head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); line-height: .98; letter-spacing: -.03em; margin: 0; max-width: 14ch; }
.page-head .lead { margin: 0; color: var(--ink); }
@media (min-width: 960px) { .page-head__grid { grid-template-columns: 7fr 5fr; } }

/* ── Číslovaný výpis (projekty, kurzy, služby) ───────────────────────────── */
.index-list { border-top: 2px solid var(--navy); }
.index-row { position: relative; display: grid; gap: 14px 32px; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--rule); }
.index-row__main h2, .index-row__main h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.08; margin-bottom: .35em; }
.index-row__main h2 a, .index-row__main h3 a { color: inherit; text-decoration: none; }
.index-row__main > p { color: var(--muted); max-width: 62ch; }
.index-row__meta { font-size: .85rem !important; font-weight: 600; letter-spacing: .04em; color: var(--navy) !important; margin-bottom: .6em; }
.index-row__main > .index-row__meta:last-child { margin: 0; }
.index-row__actions { margin-top: 20px; }
.index-row__media { aspect-ratio: 4 / 3; overflow: hidden; }
.index-row__go { display: none; color: var(--navy); }
.index-row--link .index-row__main h3 a::after { content: ''; position: absolute; inset: 0; }
.index-row--link:hover h3 { color: var(--cta); }
.index-row--link:hover .index-row__go { color: var(--cta); transform: translateX(6px); }
.index-row--link:focus-within { outline: 3px solid var(--orange); outline-offset: 4px; }
.index-row--link a:focus-visible { outline: none; }
@media (min-width: 760px) {
    .index-row { grid-template-columns: 80px minmax(0, 1fr) 48px; align-items: start; }
    .index-row .waypoint { padding-top: 12px; }
    .index-row.has-media { grid-template-columns: 80px minmax(0, 1fr) 260px 48px; }
    .index-row__go { display: block; padding-top: 6px; justify-self: end; transition: transform .15s, color .15s; }
    .index-list--media .index-row { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
}

/* ── Kapitoly detailu ────────────────────────────────────────────────────── */
.chapters { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.chapter { display: grid; gap: 16px 48px; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--rule); }
.chapter:first-child { border-top: 2px solid var(--navy); }
.chapter__head { display: flex; flex-direction: column; gap: 12px; margin: 0; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); line-height: 1.12; }
.chapter__body { font-size: 1.05rem; max-width: 68ch; }
@media (min-width: 900px) { .chapter { grid-template-columns: 5fr 7fr; } }
.chapters--aside { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1100px) {
    .chapters--aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; }
    .chapters--aside .chapter { grid-template-columns: 4fr 7fr; }
}
.chapters__main { min-width: 0; }

.factsheet { border: 2px solid var(--navy); background: #fff; }
@media (min-width: 1100px) { .factsheet { position: sticky; top: calc(var(--header-h) + 24px); } }
.factsheet__list { margin: 0; padding: 4px 24px; }
.factsheet__list > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.factsheet__list > div:last-child { border-bottom: 0; }
.factsheet__list dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.factsheet__list dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.factsheet__cta { display: grid; gap: 12px; padding: 24px; background: var(--paper); border-top: 2px solid var(--navy); }
.factsheet > .factsheet__cta:first-child { border-top: 0; }
.factsheet__cta h2 { font-size: 1.45rem; margin: 0; }
.factsheet__cta p { color: var(--muted); font-size: .95rem; margin: 0 0 6px; }

.note { padding: 14px 18px; margin: 1em 0 0; background: var(--light); border-left: 3px solid var(--blue); color: var(--ink); font-size: 1rem; }
.note--pending { margin: 0; background: var(--paper); border-left-color: var(--orange); color: var(--muted); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--cta); }
.faq details[open] summary::after { content: '−'; }
.faq .prose { padding: 0 0 20px; color: var(--muted); }

.updates { list-style: none; padding: 0; margin: 0; }
.updates li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.updates time { font-weight: 600; color: var(--cta); font-size: .92rem; }
.updates p { margin: 0; }

.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 8px; background: var(--navy); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; }
.gallery .photo { transition: transform .4s; }
.gallery a:hover .photo { transform: scale(1.04); }

.cta-band { background: var(--navy); color: var(--on-dark); padding: clamp(56px, 8vw, 104px) 0; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band__grid { display: grid; gap: 28px 72px; align-items: end; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .pending { color: #fff; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: 7fr 5fr; } }

.link-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 700px) { .link-rows { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .link-rows--4 { grid-template-columns: repeat(4, 1fr); } }
.link-rows a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; padding: 18px 0;
    border-top: 2px solid var(--navy); color: var(--navy); font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; text-decoration: none;
}
.link-rows a .icon { flex: none; transition: transform .15s; }
.link-rows a:hover { color: var(--cta); }
.link-rows a:hover .icon { transform: translateX(4px); }

/* ── Úvod katalogu ───────────────────────────────────────────────────────── */
.intro { display: grid; gap: 32px 80px; align-items: start; }
@media (min-width: 960px) { .intro { grid-template-columns: 7fr 5fr; } }

/* ── O nás ───────────────────────────────────────────────────────────────── */
.about-aside .plane-list { margin-bottom: 0; }
.about-photo { aspect-ratio: 4 / 5; }
.people { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person__photo { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.person h3 { margin-bottom: .15em; }
.person__media { display: block; overflow: hidden; margin-bottom: 16px; }
.person__media .person__photo { margin-bottom: 0; transition: transform .4s; }
.person__media:hover .person__photo { transform: scale(1.03); }
.person h3 a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--orange); }
.person h3 a:hover { color: var(--cta); }

/* Stránka jedné osoby */
.person-page { display: grid; gap: 40px; align-items: start; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.person-page__media { max-width: 420px; }
.person-page__photo { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
    .person-page { grid-template-columns: 360px minmax(0, 1fr); gap: 72px; }
    .person-page__text { max-width: 68ch; }
}
.person__role { color: var(--cta); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.person p:last-child { color: var(--muted); font-size: .97rem; margin: 0; }
.org-card { border-top: 2px solid var(--navy); padding-top: 24px; }
.org-card dl { margin: 0; }
.org-card dl > div { display: grid; grid-template-columns: minmax(110px, 200px) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.org-card dt { color: var(--muted); font-size: .95rem; }
.org-card dd { margin: 0; font-weight: 500; color: var(--navy); }

/* ── Kontakty a formulář ─────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.contact-side { display: grid; gap: 40px; }
.contact-box { border-top: 2px solid var(--navy); padding-top: 24px; }
.contact-big { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; color: var(--navy); text-decoration: none; margin-bottom: 10px; word-break: break-word; border-bottom: 2px solid var(--orange); width: fit-content; }
.contact-big:hover { color: var(--cta); }
.contact-box p { color: var(--muted); margin: 12px 0 0; }

.form { background: var(--paper); padding: clamp(24px, 4vw, 48px); border-top: 4px solid var(--navy); }
.form .display-3 { margin-bottom: 28px; }
.form__row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.field .req { color: var(--cta); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
    border: 1.5px solid #8EA3BA; border-radius: 0; padding: 12px 14px; min-height: 52px;
}
.field textarea { resize: vertical; min-height: 160px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F305B' stroke-width='2'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.field--check label { font-weight: 400; color: var(--muted); font-size: .93rem; margin: 0; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 8px; }
.form__submit .fine { margin: 0; }
.alert { padding: 14px 18px; margin-bottom: 24px; font-weight: 500; border-left: 4px solid; }
.alert--ok { background: #E8F5EC; color: #14532D; border-color: #2F8F57; }
.alert--err { background: #FCEBE5; color: #8A2A0C; border-color: var(--cta); }

/* ── Patička ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--on-dark); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-on-dark); }
.site-footer__grid { display: grid; gap: 40px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 48px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__about p { margin: 20px 0 0; max-width: 40ch; }
.site-footer .logo { height: 44px; }
.site-footer__h { font-family: var(--sans); color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__org { margin-top: 24px; font-size: .92rem; line-height: 1.6; }
.site-footer__bar {
    display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between;
    padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--rule-dark); font-size: .88rem;
}
.site-footer .lang-switch .is-active { color: #fff; }
.site-footer .lang-switch a { color: var(--on-dark); }
.site-footer .lang-switch a:hover { color: var(--orange-on-dark); }
.site-footer .lang-switch > span[aria-hidden] { color: var(--rule-dark); }
.site-footer :focus-visible { outline-color: var(--orange-on-dark); }

/* ── Chybová stránka ─────────────────────────────────────────────────────── */
.error-page { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.error-page h1 { max-width: 16ch; }

/* ── Cookie lišta ────────────────────────────────────────────────────────── */
.cookiebar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin: 0 auto;
    background: #fff; border: 2px solid var(--navy); padding: 18px 20px; display: grid; gap: 12px;
    opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s;
}
.cookiebar.is-visible { opacity: 1; transform: none; }
.cookiebar__text { margin: 0; font-size: .95rem; }
.cookiebar__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── Plovoucí WhatsApp ───────────────────────────────────────────────────── */
/* Pod cookie lištou (z-index), ať ji nepřekrývá; patička dostane rezervu,
   aby tlačítko na konci stránky nezakrylo přepínač jazyka. */
.wa-float {
    position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 140;
    display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-float__text {
    max-width: min(260px, calc(100vw - 110px)); padding: 10px 14px;
    background: #fff; border: 2px solid var(--navy); color: var(--navy);
    font-size: .92rem; font-weight: 600; line-height: 1.3;
    transition: color .15s, border-color .15s;
}
.wa-float__icon {
    flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(10, 36, 68, .28);
    transition: transform .15s, background .15s;
}
.wa-float:hover .wa-float__icon { background: #1DA851; transform: scale(1.06); }
.wa-float:hover .wa-float__text { color: var(--cta); border-color: var(--cta); }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__icon { outline: 3px solid var(--orange); outline-offset: 3px; }
body:has(.wa-float) .site-footer { padding-bottom: 88px; }
@media (max-width: 560px) {
    .wa-float__text { font-size: .85rem; padding: 8px 11px; }
    .wa-float__icon { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__icon { transition: none; } }

@media print {
    .site-header, .site-footer, .cookiebar, .btn, .pending, .steps, .wa-float { display: none !important; }
}
