/* vickothecoach.cz – mechová zelená podle lesa na úvodní fotce, modrá z klubového dresu, světlé sekce teple bílé */
:root {
  --bg: #3E4A24;
  --surface: #343F1E;
  --surface-2: #4A582C;
  --line: rgba(255, 255, 255, .14);
  --text: #FFFFFF;
  --text-soft: #EEF0E4;
  --muted: #D0D6BE;
  --gold: #FFFFFF;
  --gold-strong: #E8F4EE;
  --gold-dark: #2F3C8F;
  --cream: #F6F5EF;
  --line-light: #E4E1D5;
  --ink: #152018;
  --ink-soft: #33413A;
  --ink-muted: #5A6B61;
  --blue: #2F3C8F;
  --blue-strong: #26317A;
  --blue-light: #93A4FF;
  --radius: 4px;
  --max: 1160px;
  --rail: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
section { scroll-margin-top: 72px; }
main { position: relative; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
/* Na počítači má obsah vlevo místo pro trať */
@media (min-width: 960px) { main .wrap { padding-left: calc(32px + var(--rail)); } }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; margin: 0; }
.eyebrow { display: inline-block; font: 600 13px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius); font: 600 15px/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-gold { background: var(--blue); color: #fff; }
.btn-gold:hover { background: var(--blue-strong); }
.btn-ghost { border-color: rgba(241, 242, 234, .55); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hlavička */
.header { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-light); transition: background .3s, box-shadow .3s; }
.is-scrolled .header { background: rgba(255, 255, 255, .98); box-shadow: 0 6px 24px rgba(21, 32, 24, .12); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { font: 700 24px/1 var(--font-head); letter-spacing: .06em; text-decoration: none; white-space: nowrap; color: var(--ink); }
.brand span { color: var(--blue); }
.nav { display: none; gap: 28px; }
.nav a { position: relative; font-size: 14px; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 4px; background: linear-gradient(var(--bg) 0 50%, var(--blue) 50%); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover { color: var(--bg); }
.nav a.active { color: var(--blue); }
.nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--bg); font-size: 16px; text-decoration: none; border: 1.5px solid var(--bg); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.social:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.header .btn { padding: 10px 16px; font-size: 14px; }
.label-short { display: none; }
@media (min-width: 1100px) { .nav { display: flex; } }
@media (max-width: 480px) {
  .brand { font-size: 21px; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .header .btn { padding: 10px 12px; }
}

/* Trať: tenká modrá čára od startu přes kontroly do cíle, prošlá část je silnější */
.rail { display: none; position: absolute; z-index: 1; width: 2px; background: var(--blue-light); pointer-events: none; }
.rail-fill { position: absolute; left: -1px; top: 0; width: 4px; height: 0; border-radius: 2px; background: var(--blue-light); }
.course-start { display: none; }
.course-start svg path { fill: var(--blue-light); stroke: var(--blue-light); }
.course-start .tip, .control .tip { display: none; }
@media (min-width: 960px) {
  .rail { display: block; }
  .course-start { display: flex; flex-direction: column; align-items: center; gap: 6px; position: absolute; left: calc(-1 * var(--rail)); top: 4px; width: 44px; z-index: 2; }
  .course-start svg { width: 44px; height: 40px; }
  .course-start .tip, .control .tip { display: block; position: absolute; z-index: 5; opacity: 0; pointer-events: none; white-space: nowrap; font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; background: var(--ink); color: #fff; transition: opacity .2s; }
  .course-start .tip { top: 46px; left: 50%; transform: translateX(-50%); }
  .control .tip { top: 36px; left: calc(-1 * var(--rail) + 22px); transform: translateX(-50%); }
  .course-start:hover .tip, .control svg:hover ~ .tip { opacity: 1; }
}

/* Úvod; je nižší, aby byl pás s čísly vidět hned na první obrazovce */
.hero { position: relative; padding-top: 64px; overflow: hidden; }
.hero-media { position: relative; height: 36vh; min-height: 240px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; transform-origin: 55% 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(62, 74, 36, 0) 50%); }
.hero-text { position: relative; margin-top: -60px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 11vw, 92px); margin: 10px 0 14px; }
/* Na tmavší zelené je modrá světlejší, jinak by nešla přečíst */
.hero h1 .nick { color: var(--blue-light); }
.hero p { font-size: clamp(16px, 2.2vw, 20px); color: var(--text-soft); margin: 0 0 22px; max-width: 520px; }
.hero p.hero-motto { font: 600 clamp(22px, 3vw, 32px)/1.25 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin: 0 0 28px; }
.hero-motto span { white-space: nowrap; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-gold { background: #fff; color: var(--blue); }
.hero .btn-gold:hover { background: #E6EAFF; }
.hero p.hero-sub { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero-sub a { color: var(--gold); }
@media (max-width: 599px) {
  .hero-ctas .btn { flex: 1 1 0; padding: 13px 10px; font-size: 14px; gap: 8px; }
  .hero p.hero-sub { display: none; }
}
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 144px); min-height: calc(100svh - 144px); display: flex; align-items: center; padding: 92px 0 44px; }
  .hero h1 { font-size: clamp(52px, min(8vw, 10vh), 92px); margin: 14px 0 18px; }
  .hero p { margin-bottom: 26px; }
  .hero .wrap { width: 100%; }
  .hero-media { position: absolute; top: 64px; right: 0; bottom: 0; width: 62%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
  .hero-media img { object-position: 55% 40%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(62, 74, 36, .55) 0%, rgba(62, 74, 36, 0) 30%); }
  .hero-text { margin-top: 0; padding-bottom: 0; max-width: 500px; }
}

/* Pás s čísly: bílý pruh, aby modrá čísla šla přečíst */
.stats { background: #fff; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stats li { background: #fff; padding: 14px 4px; text-align: center; }
.stats i { display: block; font-size: 16px; color: var(--bg); margin-bottom: 6px; }
.stats strong { display: block; font: 700 clamp(19px, 5vw, 40px)/1 var(--font-head); text-transform: uppercase; color: var(--blue); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stats span { display: block; font-size: 11px; line-height: 1.3; color: var(--ink-muted); }
.stats .long { display: none; }
@media (min-width: 768px) {
  .stats li { padding: 22px 8px; }
  .stats i { font-size: 22px; margin-bottom: 12px; }
  .stats strong { margin-bottom: 6px; }
  .stats span { font-size: 13px; line-height: 1.35; }
  .stats .long { display: block; }
  .stats .short { display: none; }
}

/* Sekce; odděluje je jen změna barvy, bez linek */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-light { background: var(--cream); color: var(--ink); }
.section-light .eyebrow { color: var(--gold-dark); }
.section-head { position: relative; max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 6vw, 56px); margin-top: 14px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section-light .section-head p { color: var(--ink-muted); }

/* Sekce jako kontroly na trati */
.section-head::before { content: ""; position: absolute; left: 21px; top: -58px; height: 44px; border-left: 2px solid var(--blue-light); }
.control { position: relative; display: inline-flex; align-items: center; gap: 14px; }
.control svg { position: relative; z-index: 2; width: 44px; height: 44px; flex: none; overflow: visible; }
.control circle { fill: var(--bg); stroke: var(--blue-light); stroke-width: 2.5; transition: fill .4s; }
.section-alt .control circle { fill: var(--surface); }
.section-light .control circle { fill: var(--cream); }
.control b { position: absolute; z-index: 3; left: 0; top: 0; width: 44px; text-align: center; font: 700 19px/44px var(--font-head); color: var(--gold); transition: color .4s; }
.section-light .control b { color: var(--gold-dark); }
.control span { font: 600 13px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.section-light .control span { color: var(--gold-dark); }
.control.passed circle, .section-alt .control.passed circle, .section-light .control.passed circle { fill: var(--blue-light); }
.control.passed b, .section-light .control.passed b { color: var(--blue); }
.control.finish.passed circle:first-child { fill: var(--bg); }
@media (min-width: 960px) {
  .section-head::before { display: none; }
  .control { display: block; }
  .control svg, .control b { position: absolute; left: calc(-1 * var(--rail)); top: -14px; }
}

/* Seznamy s fajfkou */
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px; position: absolute; left: 0; top: 0; color: var(--gold-dark); }

/* O mně */
.about { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text p { color: var(--ink-soft); margin: 0 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* Dvě cesty */
.paths { display: grid; gap: 20px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { border: 1px solid var(--line-light); background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 80px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.path:hover { border-color: rgba(47, 60, 143, .45); box-shadow: 0 18px 40px rgba(27, 42, 29, .14); }
.path img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.path-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.path h3 { font-size: 38px; display: flex; align-items: center; gap: 12px; }
.path h3 i { font-size: 26px; color: var(--gold-dark); }
.path p { margin: 0; color: var(--ink-soft); }
.path .checks li { color: var(--ink-soft); }
.more { margin-top: auto; padding-top: 6px; color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.more i { margin-left: 6px; transition: transform .25s var(--ease); }
.more:hover i { transform: translateX(5px); }

/* Pět pilířů */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); box-shadow: 0 10px 30px rgba(20, 20, 20, .05); }
.pillar { background: #fff; padding: 26px 22px; transition: background .3s; }
.pillar:hover { background: #FBFAF6; }
.pillar i { font-size: 28px; color: var(--blue); transition: transform .4s var(--ease); }
.pillar:hover i { transform: scale(1.15) rotate(-6deg); }
.pillar h3 { font-size: 26px; margin: 16px 0 6px; color: var(--ink); }
.pillar p { margin: 0; color: var(--ink-muted); font-size: 15px; }

/* Recenze */
.reviews { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .reviews.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.review { margin: 0; background: #fff; color: var(--ink); border: 1px solid #fff; border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 20px; transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.review-quote { font-size: 30px; color: var(--bg); }
.review blockquote { margin: 0; color: var(--ink-soft); }
.review figcaption { margin-top: auto; font-weight: 600; color: var(--blue); }
.reviews-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* Jak to funguje */
.how { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .how { grid-template-columns: 1.1fr 1fr; } }
.how-photo { overflow: hidden; border-radius: var(--radius); }
.how-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.how-photo:hover img { transform: scale(1.04); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 700 38px/1 var(--font-head); color: var(--gold-dark); }
.steps h3 { font-size: 26px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.steps h3 i { font-size: 18px; color: var(--gold-dark); }
.steps p { margin: 0; color: var(--ink-muted); }

/* Balíčky; zvýrazní se ten, na který návštěvník najede nebo se na něj dostane klávesnicí */
.packages { display: grid; gap: 20px; }
@media (min-width: 960px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.pkg { border: 1px solid #fff; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pkg:hover, .pkg:focus-within { border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue), 0 18px 40px rgba(0, 0, 0, .25); }
.pkg h3 { font-size: 36px; color: var(--blue); display: flex; align-items: center; gap: 12px; }
.pkg h3 i { font-size: 24px; color: var(--bg); }
.pkg .for { font-weight: 600; margin: -6px 0 0; }
.price { font: 700 44px/1 var(--font-head); margin: 4px 0; }
.price small { font: 500 15px var(--font-body); color: var(--ink-muted); }
.pkg .checks { flex: 1; align-content: start; }
.pkg .checks li { color: var(--ink-soft); font-size: 15px; }
.pkg .checks li::before { color: var(--bg); }
.pkg .btn-ghost { border-color: var(--bg); color: var(--bg); }
.pkg:hover .btn-ghost, .pkg:focus-within .btn-ghost { background: var(--blue); border-color: var(--blue); color: #fff; }
.pkg .btn-ghost:hover { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }

/* Časté otázky jako rozbalovací seznam */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); transition: border-color .2s; }
.faq details:hover { border-color: #C9C5B6; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font: 700 20px/1.25 var(--font-head); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 14px; color: var(--blue); flex: none; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* Kontakt: ikony v bílých kolečkách, formulář jako bílá karta */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 18px; transition: color .2s; }
.contact-list a:hover { color: var(--gold); }
.contact-list i { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--blue); font-size: 16px; transition: background .2s, color .2s; }
.contact-list a:hover i { background: var(--blue); color: #fff; }
form { position: relative; background: #fff; border: 1px solid #fff; border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-muted); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s; }
input:hover, select:hover, textarea:hover { border-color: #B8C5BD; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
input::placeholder, textarea::placeholder { color: #8A978F; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-muted); margin: 0; }
.field-error { font-size: 13px; color: #B42318; }
.field-error:empty { display: none; }
.input-validation-error { border-color: #B42318; }
.form-feedback { scroll-margin: 90px 0 24px; }
.form-feedback:empty { display: none; }
.btn:disabled { opacity: .75; cursor: progress; }
.form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.form-status.ok { background: #E8F1E6; color: #25401D; }
.form-status.error { background: #FDECEA; color: #8A1C12; }
.form-status a { color: inherit; font-weight: 600; }
/* Past na roboty: pole, které člověk nevidí */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Patička je bílá a motto modré: modrá zůstává písmem */
footer { background: #fff; }
.motto { background: #fff; color: var(--blue); }
.motto .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding-block: 28px; text-align: center; }
.motto p { margin: 0; font: 700 clamp(18px, 3.4vw, 30px)/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.motto p span { display: block; }
.motto p .sep { display: none; }
@media (min-width: 720px) { .motto p span, .motto p .sep { display: inline; } }
.motto svg { width: 58px; height: 29px; flex: none; }
.legal { padding: 28px 0 88px; font-size: 13px; color: var(--ink-muted); }
.legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.legal a { color: var(--ink); }
.placeholder { border-bottom: 1px dashed var(--blue); color: var(--blue); }

/* Podstránky (ochrana osobních údajů, chyby) na světlém pozadí */
.page-light { background: var(--cream); color: var(--ink); }
.legal-page { padding: 120px 0 80px; }
.legal-page .wrap { max-width: 820px; }
@media (min-width: 960px) { .legal-page .wrap { padding-left: 32px; } }
.legal-page h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 24px; color: var(--ink); }
.legal-page h2 { font-size: 26px; margin: 36px 0 10px; color: var(--ink); }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page a:not(.btn) { color: var(--blue); }
.legal-page .legal-updated { margin-top: 36px; font-size: 14px; color: var(--ink-muted); }

/* Animace – jen když návštěvník nemá v systému omezený pohyb */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: fade-up .9s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: .12s; }
  .hero-text > :nth-child(3) { animation-delay: .24s; }
  .hero-text > :nth-child(4) { animation-delay: .36s; }
  .hero-text > :nth-child(5) { animation-delay: .46s; }
  .hero-text > :nth-child(6) { animation-delay: .56s; }
  .hero-media img { animation: hero-zoom 2.6s var(--ease) both; }
  .js [data-reveal] { opacity: 0; }
  .js [data-reveal].is-visible { opacity: 1; animation: fade-up .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 110ms); }
  .js .control circle { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s var(--ease) .2s, fill .4s; }
  .js .is-visible .control circle { stroke-dashoffset: 0; }
  .btn:hover, .social:hover { transform: translateY(-2px); }
  .path:hover, .pkg:hover, .review:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
