/* Veřejná úvodní stránka Plavebního simulátoru (landing.html).
 * Vizuál podle Lodě Česko (lode-cesko.cz): Poppins, tmavě zelená hlavička a patička,
 * šalvějová zelená pro nadpisy, teplé světlé pozadí, oranžová tlačítka.
 * Poppins: Indian Type Foundry, SIL Open Font License 1.1, hostováno lokálně (bez Google Fonts). */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(assets/fonts/poppins-300-latin-ext.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: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(assets/fonts/poppins-300-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/poppins-400-latin-ext.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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/poppins-400-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(assets/fonts/poppins-600-latin-ext.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(assets/fonts/poppins-600-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/poppins-700-latin-ext.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/poppins-700-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --lc-forest: #18312f;      /* hlavička, patička (Lodě Česko) */
  --lc-forest-2: #20403d;
  --lc-sage: #507063;        /* nadpisy, akcentní sekce */
  --lc-sage-ink: #3d5a4f;    /* drobný šalvějový text na světlém pozadí (AA) */
  --lc-paper: #f8f6f4;
  --lc-sand: #ede8e3;
  --lc-orange: #e37f26;      /* značková oranžová: dekor a akcenty */
  --lc-cta: #b85a14;         /* výplň tlačítek: bílý text 4,7 : 1 (s #e37f26 jen 2,9 : 1) */
  --lc-cta-hover: #9e4c10;
  --ink: #1f2b29;
  --ink-soft: #46524f;
  --line: rgba(24, 49, 47, .14);
  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--lc-paper);
  color: var(--ink);
  font: 400 16px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lc-sage-ink); }
a:hover { color: var(--lc-forest); }
:focus-visible { outline: 3px solid var(--lc-orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--lc-forest); padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* Dvoutónové nadpisy ve stylu „**Kam** vyplout?" */
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; color: var(--lc-sage); letter-spacing: -.01em; }
.h2 strong, .h1 strong { font-weight: 700; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-sage-ink);
}
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 62ch; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border-radius: var(--radius);
  font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--cta { background: var(--lc-cta); color: #fff; }
.btn--cta:hover { background: var(--lc-cta-hover); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--ghost { border-color: var(--lc-sage); color: var(--lc-forest); }
.btn--ghost:hover { background: rgba(80, 112, 99, .1); color: var(--lc-forest); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--ink-soft); }

/* Hlavička */
.site-header { background: var(--lc-forest); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; min-width: 0; }
.brand img { width: 92px; height: auto; flex: 0 0 auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .25); }
.brand__name strong { font-size: 16px; font-weight: 600; }
.brand__name span { font-size: 12px; font-weight: 300; color: #c9d6d1; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #dfe8e4; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; color: #fff; white-space: nowrap; }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 16px; }
  .nav__link { display: none; }
  .nav__link--missions { display: inline-flex; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 62px; }
  .brand__name { padding-left: 10px; }
  .brand__name strong { font-size: 13px; white-space: nowrap; }
  .brand__name span { display: none; }
  .nav .btn { min-height: 40px; padding: 7px 11px; font-size: 14px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--lc-forest); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 34, 32, .94) 0%, rgba(16, 34, 32, .82) 38%, rgba(16, 34, 32, .25) 72%, rgba(16, 34, 32, .1) 100%);
}
.hero .wrap { min-height: min(760px, calc(100vh - 72px)); display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 80px; }
.hero__copy { max-width: 600px; }
.hero .eyebrow { color: #f0a35e; }
.h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 300; letter-spacing: -.02em; line-height: 1.06; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #e3ebe8; margin-bottom: 32px; max-width: 54ch; }
.hero__meta { margin-top: 18px; font-size: 14px; color: #c9d6d1; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; }
.hero__facts li { font-size: 14px; color: #c9d6d1; }
.hero__facts b { display: block; font-size: 26px; font-weight: 600; color: #fff; line-height: 1.1; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(16, 34, 32, .25) 0%, rgba(16, 34, 32, .86) 42%, rgba(16, 34, 32, .96) 100%); }
  .hero .wrap { min-height: 0; padding-top: 180px; padding-bottom: 48px; }
  .hero__media img { object-position: 70% 20%; }
}

/* Sekce */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--sand { background: var(--lc-sand); }
.section--sage { background: var(--lc-sage); color: #fff; }
.section--sage .h2, .section--sage .eyebrow { color: #fff; }
.section--sage .lead { color: #e9f0ed; }
.section__head { margin-bottom: clamp(32px, 4vw, 48px); }
.section__head .h2 { margin-bottom: 16px; max-width: 24ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: minmax(0, 1fr); } .split--reverse > :first-child { order: 0; } }

.shot { margin: 0; }
.shot img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(24, 49, 47, .18); background: #cfd8d4; }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.section--sage .shot figcaption { color: #e3ebe8; }

/* Ukázka: dva snímky přes sebe */
.stack { position: relative; padding: 0 0 18% 0; }
.stack .shot--back { width: 78%; }
.stack .shot--front { position: absolute; right: 0; bottom: 0; width: 64%; }
.stack .shot--front img { border: 6px solid var(--lc-sand); }
@media (max-width: 520px) { .stack { padding: 0; } .stack .shot--back { width: 100%; } .stack .shot--front { position: static; width: 100%; margin-top: 14px; } .stack .shot--front img { border: 0; } }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--lc-orange); box-shadow: 0 1px 0 var(--line); }
.card h3 { font-size: 19px; font-weight: 600; color: var(--lc-forest); margin-bottom: 10px; }
.card p { color: var(--ink-soft); }

/* Bloky situací */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .blocks { grid-template-columns: minmax(0, 1fr); } }
.block { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 26px 28px; }
.block__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.block__tag { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.block__count { font-size: 13px; color: #e3ebe8; }
.block h3 { font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.block ul { list-style: none; margin: 0; padding: 0; }
.block li { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: #f1f5f3; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.block li span { color: #d5e1dc; font-size: 13px; white-space: nowrap; }

/* Den a noc */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.pair figure { margin: 0; position: relative; }
.pair img { width: 100%; border-radius: var(--radius); }
.pair figcaption {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(24, 49, 47, .86); color: #fff; font-size: 13px; font-weight: 600;
}
.facts-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.facts-list li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.facts-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 3px; border-radius: 2px; background: var(--lc-orange); }

/* Flotila */
/* Revize 30. 10.: galerie se vejde na obrazovku a nic se neořezává. Tři snímky v jedné řadě,
 * stejně vysoké, šířka podle vlastního poměru stran (--ar = šířka / výška souboru). */
.gallery { display: flex; gap: 12px; align-items: flex-start; }
.gallery figure { margin: 0; flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); }
.gallery figure { --ar: 1.829; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
@media (max-width: 720px) { .gallery { flex-direction: column; } .gallery figure { flex: none; width: 100%; } }

/* Jak to funguje */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.step img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.step__body { padding: 24px 26px 28px; }
.step__num { font-size: 14px; font-weight: 600; color: var(--lc-cta); letter-spacing: .1em; }
.step h3 { font-size: 21px; font-weight: 600; color: var(--lc-forest); margin: 4px 0 10px; }
.step p { color: var(--ink-soft); }
.ranks { list-style: none; margin: 0; padding: 26px; display: grid; gap: 0; background: var(--lc-forest); color: #fff; aspect-ratio: 16 / 9; align-content: center; }
.ranks li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 15px; color: #c9d6d1; }
.ranks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #f0a35e; flex: 0 0 auto; }
.ranks li:last-child { color: #fff; font-weight: 600; }
.ranks li:last-child::before { background: #f0a35e; }

/* Pro koho */
.audience { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.audience li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .audience li { grid-template-columns: minmax(0, 1fr); } }
.audience h3 { font-size: 19px; font-weight: 600; color: var(--lc-forest); }
.audience p { color: var(--ink-soft); }

/* Cena */
.price { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); border-top: 4px solid var(--lc-orange); box-shadow: 0 18px 50px rgba(24, 49, 47, .1); }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); } }
.price__amount { font-size: clamp(44px, 5vw, 60px); font-weight: 700; color: var(--lc-forest); line-height: 1; }
.price__amount small { font-size: 18px; font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.price ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.price li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.price li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 8px; border-left: 3px solid var(--lc-sage); border-bottom: 3px solid var(--lc-sage); transform: rotate(-45deg); }
.price__aside { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.price__terms { font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }
.course { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--lc-forest); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); }
.course h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 300; margin-bottom: 8px; }
.course h3 strong { font-weight: 700; }
.course p { color: #dfe8e4; max-width: 62ch; }
.course a:not(.btn) { color: #fff; }

/* Pro firmy */
.code-box { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 0 var(--line); }
.code-box h3 { font-size: 20px; font-weight: 600; color: var(--lc-forest); margin-bottom: 8px; }
.code-box p { color: var(--ink-soft); margin-bottom: 18px; }
.code-box hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 820px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--lc-forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--lc-sage); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* Závěr */
.closing { text-align: center; }
.closing .h2 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); margin: 0 auto 18px; max-width: 18ch; }
.closing .lead { margin: 0 auto 32px; text-align: center; }
.closing .btn-row { justify-content: center; }

/* Patička */
.site-footer { background: var(--lc-forest); color: #c9d6d1; font-size: 15px; }
.site-footer a { color: #fff; }
.footer__main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; padding: 56px 0 40px; }
@media (max-width: 760px) { .footer__main { grid-template-columns: minmax(0, 1fr); } }
.footer__brand img { width: 120px; margin-bottom: 18px; }
.footer__brand p { max-width: 60ch; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__eu { border-top: 1px solid rgba(255, 255, 255, .15); padding: 22px 0 30px; }
.eu-slot { min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px dashed rgba(255, 255, 255, .35); border-radius: var(--radius); font-size: 13px; color: #c9d6d1; text-align: center; }

/* Prvky jen pro přihlášeného (data-signed-in) musí zůstat skryté, i když mají vlastní display. */
[hidden] { display: none !important; }

/* Poptávka kódů pro firmy (30. 10. 2026) */
.inquiry { display: grid; gap: 12px; margin-top: 4px; }
.inquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.inquiry label { display: block; font-size: 14px; font-weight: 600; color: var(--lc-forest); }
.inquiry input, .inquiry textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; font: inherit; font-weight: 400; font-size: 15px; padding: 10px 12px; border: 1px solid #c9cfcb; border-radius: 6px; background: #fff; color: var(--ink, #1d2b29); }
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--lc-cta); outline-offset: 1px; border-color: transparent; }
.inquiry__opt { font-weight: 400; color: var(--ink-soft); }
.inquiry__note { font-size: 13px; color: var(--ink-soft); margin: 0; }
.inquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__status { margin: 0; font-size: 14px; }
.inquiry__status--error { color: #a3341a; }
.inquiry__done { margin: 0; padding: 14px 16px; border-radius: 6px; background: #e8f1ec; color: var(--lc-forest); font-weight: 600; }
@media (max-width: 720px) { .inquiry__row { grid-template-columns: 1fr; } }


/* Sekce „Co si procvičíte" (revize 1. 11. 2026: vybrán návrh 1 „Plavební deník"): připnutá sekce, bloky A až D se střídají podle rolování.
 * Rozpočet výšky při 1440x900 (scéna 828 px): odsazení 2x45, hlavička ~180, mezera ~32,
 * tělo max 440 => ~742 px. Při 1920x1080 (scéna 1008 px): ~766 px. */
:root { --hdr: 72px; }

.c1 { background: var(--lc-sage); color: #fff; }
.c1 .eyebrow, .c1 .h2 { color: #fff; }
.c1 .lead { color: #e9f0ed; font-size: 17px; }
.c1 .btn { min-height: 46px; padding: 10px 20px; font-size: 15px; }

/* Výchozí stav (bez JS, telefon, nízké okno): obyčejná sekce, karty pod sebou */
.c1__stage { padding: clamp(64px, 8vw, 104px) 0; }
.c1__inner { display: flex; flex-direction: column; gap: 36px; }
.c1__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; }
.c1__head .h2 { font-size: clamp(28px, 3vw, 42px); }
.c1__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.c1__rail { display: none; }
.c1__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.c1__panel {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
}
.c1__list { padding: 24px 28px 26px; }
.c1__list h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.c1__list ul { list-style: none; margin: 0; padding: 0; }
.c1__list li {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; line-height: 1.5; color: #f1f5f3;
}
.c1__list li span { color: #d5e1dc; font-size: 13px; white-space: nowrap; }
.c1__fig { order: -1; margin: 0; position: relative; aspect-ratio: 16 / 9; background: var(--lc-forest-2); }
.c1__fig img { width: 100%; height: 100%; object-fit: cover; }
.c1__fig figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(24, 49, 47, .86); color: #fff; font-size: 13px; font-weight: 600;
}

@media (max-width: 900px) {
  .c1__head { grid-template-columns: minmax(0, 1fr); }
  .c1__panels { grid-template-columns: minmax(0, 1fr); }
}

/* Připnutý režim (JS přidá .is-pinned jen na desktopu s dost vysokým oknem) */
.c1.is-pinned .c1__track { position: relative; height: calc(100vh - var(--hdr) + 3 * 75vh); }
.c1.is-pinned .c1__stage {
  position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr));
  display: flex; align-items: center; padding: clamp(24px, 5vh, 56px) 0;
}
.c1.is-pinned .c1__inner { gap: clamp(20px, 3.5vh, 40px); }
.c1.is-pinned .c1__body {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px;
  height: clamp(360px, calc(100vh - 460px), 440px);
}

.c1.is-pinned .c1__rail { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.c1__railtrack { position: relative; padding-left: 18px; }
.c1__railtrack::before, .c1__progress {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
}
.c1__railtrack::before { background: rgba(255, 255, 255, .22); }
.c1__progress { display: block; background: var(--lc-orange); transform-origin: top; transform: scaleY(0); }
.c1__tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.c1__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px;
  font: inherit; text-align: left; color: #dfe8e4; background: transparent; border: 0; border-radius: var(--radius);
  cursor: pointer; transition: background-color .25s, color .25s;
}
.c1__tab:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.c1__tab[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.c1__letter {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .5); font-weight: 700; font-size: 16px;
  transition: background-color .25s, border-color .25s, color .25s;
}
.c1__tab[aria-current="true"] .c1__letter { background: var(--lc-orange); border-color: var(--lc-orange); color: var(--lc-forest); }
.c1__tabtext { display: flex; flex-direction: column; line-height: 1.3; }
.c1__tabtext b { font-size: 15px; font-weight: 600; }
.c1__tabtext small { font-size: 13px; color: #c9d6d1; }
.c1__hint { font-size: 13px; color: #d5e1dc; padding-left: 18px; }

.c1.is-pinned .c1__panels { display: block; position: relative; height: 100%; }
.c1.is-pinned .c1__panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  opacity: 0; visibility: hidden; transform: translateY(28px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .55s;
}
.c1.is-pinned .c1__panel.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.c1.is-pinned .c1__list { display: flex; flex-direction: column; justify-content: center; }
.c1.is-pinned .c1__fig { order: 0; aspect-ratio: auto; height: 100%; }
.c1.is-pinned .c1__fig img { transform: scale(1.08); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.c1.is-pinned .c1__panel.is-active .c1__fig img { transform: scale(1); }
.c1.is-pinned .c1__list li { opacity: 0; transform: translateX(-12px); transition: opacity .35s ease, transform .45s ease; }
.c1.is-pinned .c1__panel.is-active .c1__list li { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 60ms); }

@media (prefers-reduced-motion: reduce) {
  .c1 *, .c1 *::before { transition: none !important; }
  .c1.is-pinned .c1__panel, .c1.is-pinned .c1__fig img, .c1.is-pinned .c1__list li { transform: none !important; }
}
/* Menu A až D má stejnou výšku jako panel bloku (revize 1. 11. 2026): čtyři řádky se rozdělí
 * rovnoměrně na celou výšku, nápověda pod menu odpadá. */
.c1.is-pinned .c1__rail { justify-content: stretch; }
.c1.is-pinned .c1__railtrack { flex: 1; display: flex; }
.c1.is-pinned .c1__railtrack::before, .c1.is-pinned .c1__progress { top: 0; bottom: 0; }
.c1.is-pinned .c1__tabs { flex: 1; grid-auto-rows: 1fr; gap: 8px; }
.c1.is-pinned .c1__tab { height: 100%; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .14); }
.c1.is-pinned .c1__tab[aria-current="true"] { border-color: rgba(255, 255, 255, .3); }
.c1.is-pinned .c1__tabtext b { font-size: 16px; }
.c1.is-pinned .c1__hint { display: none; }
