/* Školní Alpy – veřejný web. Barvy podle plakátu (tmavě modrá + fialová). Mobil první, od 760 px dvousloupcově. */
:root {
  --ink: #18223F;
  --muted: #505B78;
  --line: #DCE1EE;
  --bg: #F7F8FC;
  --card: #FFFFFF;
  --navy: #1B2B5E;
  --navy-d: #121E45;
  --blue: #2456A6;
  --sky: #E8EEFA;
  --purple: #742C8C;
  --purple-d: #57206A;
  --purple-l: #F3EAF7;
  --purple-m: #E3CFEC;
  --green: #2F8A3B;
  --green-l: #E4F3E6;
  --sun: #FFD23F;
  --ok: #1D7A45;
  --ok-bg: #E3F5EA;
  --warn: #8F5500;
  --warn-bg: #FFF1D6;
  --err: #B42318;
  --r: 16px;
  --shadow: 0 8px 28px rgba(27, 43, 94, .12);
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Barlow', system-ui, sans-serif;
  --accent: var(--purple);
  --accent-d: var(--purple-d);
  --blue-d: var(--navy);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px;   /* hlavička 60 px + přepínač webů 34 px */ -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.small { font-size: .9rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.ico { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; }
.ico svg { width: 24px; height: 24px; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0;
  background: var(--purple); color: #fff; font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--purple-d); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-sec { background: var(--purple-l); color: var(--purple-d); }
.btn-sec:hover { background: var(--purple-m); }

/* hlavička */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font: 800 1.3rem/1 var(--head); margin: 0; }
.logo svg { width: 38px; height: 24px; color: var(--purple); }
.nav { display: none; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--purple); }
.top-phone { display: none; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.top-phone svg { width: 18px; height: 18px; color: var(--purple); }
.top .btn { margin-left: auto; }
/* menu na mobilu a tabletu: tlačítko ☰ rozbalí odkazy pod hlavičkou (od 1000 px je menu přímo v hlavičce, telefon od 1280 px) */
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; flex: none; background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 999px) {
  .top-in { gap: 8px; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 4px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(24,34,63,.12); }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}
@media (max-width: 389px) { .top .btn-sm { display: none; } .menu-btn { margin-left: auto; } }
/* přepínač mezi weby (Zájezdy na míru / Poznávací zájezd 2027) – pruh nad hlavičkou, vidět i na mobilu */
.site-switch { display: flex; justify-content: center; height: 34px; background: var(--navy); }
.site-switch a { display: flex; align-items: center; padding: 0 16px; color: rgba(255,255,255,.72); text-decoration: none; font-size: .85rem; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-switch a:hover { color: #fff; }
.site-switch a[aria-current="page"] { color: #fff; border-bottom-color: #B45CC9; }

/* úvod */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,69,.10) 0%, rgba(18,30,69,0) 40%, rgba(18,30,69,.55) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 28px; display: grid; gap: 14px; justify-items: start; }
.brand-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 14px 20px 16px; box-shadow: var(--shadow); transform: rotate(-1.5deg); max-width: 100%; }
.brand-mtn { width: 110px; height: 32px; display: block; margin: 0 0 2px 54px; }
.brand-card h1 { margin: 0; }
.brand-name { display: block; font-size: clamp(2.6rem, 12vw, 4.2rem); font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.brand-sub { display: inline-block; margin-top: 8px; font-size: 1.05rem; font-weight: 600; border-bottom: 4px solid #B45CC9; padding-bottom: 2px; }
.route-card { background: #fff; color: var(--purple); border-radius: 14px; padding: 10px 18px; font: 600 1.15rem/1.25 var(--head); margin: 0; box-shadow: var(--shadow);
  border-left: 6px solid var(--purple); }
.route-card b { font-size: 1.45rem; font-weight: 800; }
.hero-when { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-when li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--navy); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .95rem; box-shadow: var(--shadow); }
.hero-when svg { width: 18px; height: 18px; color: var(--purple); flex: none; }
.bubble { position: relative; background: var(--purple-l); color: var(--purple-d); border-radius: 16px; padding: 8px 14px; font-weight: 700; margin: 0; max-width: 270px; box-shadow: var(--shadow); }
.hero-bottom { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.price-ribbon { display: grid; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-d) 100%); color: #fff; border-radius: 18px; padding: 10px 22px 12px;
  transform: rotate(-2deg); box-shadow: 0 10px 28px rgba(87, 32, 106, .35); text-align: center; }
.price-ribbon > span { font-weight: 600; }
.price-ribbon strong { font: 800 2.6rem/1.05 var(--head); color: var(--sun); }
.price-ribbon small { font-size: 1.1rem; color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* fakta s ikonami */
.facts-wrap { margin-top: -6px; position: relative; z-index: 2; }
.facts { list-style: none; margin: 0; padding: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px 10px; }
.facts li { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-size: .9rem; line-height: 1.3; color: var(--muted); }
.facts b { color: var(--ink); display: block; }

/* hlavní výhoda */
.usp { padding-top: 20px; }
.usp-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; border: 3px solid var(--purple); }
.usp-head { display: flex; gap: 14px; align-items: flex-start; }
.usp-ico { flex: 0 0 auto; width: 60px; color: var(--purple); margin-top: 4px; }
.usp h2 { font-size: clamp(1.6rem, 6.5vw, 2.3rem); font-weight: 800; color: var(--purple); text-transform: uppercase; margin-bottom: .25em; }
.usp-head p { font-size: 1.1rem; margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 0 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  font: 700 1.1rem/34px var(--head); text-align: center; }
.steps b { display: block; }
.steps span { color: var(--muted); }

/* sekce */
.sec { padding: 48px 0; }
.sec-soft { background: linear-gradient(180deg, var(--purple-l), #FBF8FD); }
.sec-title { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 800; color: var(--navy); }
.sec-lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.note { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* mapa okruhu */
.program { display: grid; gap: 24px; }
.map { margin: 0; background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EEF2FB 70%); border-radius: var(--r); border: 1px solid var(--line); padding: 8px; }
.map svg { width: 100%; height: auto; display: block; }
.loop { fill: none; stroke: var(--purple); stroke-width: 4; }
.arr path { fill: var(--purple); }
.st circle { fill: #fff; stroke: var(--purple); stroke-width: 3.5; }
.st text { font: 700 14px var(--font); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.st text.big { font-size: 17px; font-weight: 800; }
.daytag rect { fill: var(--purple); }
.daytag text { font: 700 12px var(--font); fill: #fff; }
.hub-ring { fill: none; stroke: #fff; stroke-width: 5; }
.hub-t { font: 700 12.5px var(--font); fill: var(--purple); }
.hub-s { font: 600 12px var(--font); fill: var(--muted); }
.base rect { fill: var(--green); }
.base .b1 { font: 800 14px var(--font); fill: #fff; }
.base .b2 { font: 600 12.5px var(--font); fill: #E4F3E6; }

/* program po dnech */
.prog-title { display: inline-block; background: var(--purple); color: #fff; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  padding: 6px 18px; border-radius: 10px 10px 10px 0; margin-bottom: 12px; }
.days { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.day { background: var(--card); border-radius: 14px; box-shadow: 0 3px 14px rgba(27,43,94,.08); overflow: hidden; border: 1px solid var(--line); }
.day-n { display: inline-block; background: var(--purple); color: #fff; font-weight: 800; text-transform: uppercase; font-size: .92rem; letter-spacing: .03em;
  padding: 4px 14px; border-radius: 0 0 12px 0; margin: 0; }
.day-row { display: grid; grid-template-columns: 1fr 108px; gap: 12px; align-items: center; padding: 8px 12px 12px 14px; }
.day-row p { margin: 0; font-weight: 600; line-height: 1.35; }
.day-row img { width: 108px; height: 76px; object-fit: cover; border-radius: 10px; }

/* kdy */
.when { display: grid; gap: 12px; margin-top: 24px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; align-items: center; }
.when-item { display: flex; gap: 12px; align-items: center; line-height: 1.35; }
.when-item .ico { background: var(--purple); border-radius: 50%; }
.when-badge { margin: 0; justify-self: start; background: linear-gradient(135deg, var(--purple), var(--purple-d)); color: #fff; font: 800 1.6rem/1 var(--head);
  padding: 12px 22px; border-radius: 14px; transform: rotate(-2deg); }

/* výuka */
.pill-title { display: inline-flex; align-items: center; gap: 10px; background: var(--purple-m); color: var(--purple-d); font-size: 1.35rem; font-weight: 800;
  padding: 8px 20px; border-radius: 999px; }
.pill-title svg { width: 28px; height: 28px; color: var(--navy); }
.subjects { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.subjects li { position: relative; padding-left: 32px; color: var(--muted); }
.subjects li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 6px; background: var(--purple)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center/14px no-repeat; }
.subjects b { color: var(--ink); }

/* termíny */
.deps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.deps-loading { color: var(--muted); }
.dep { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  border-left: 5px solid var(--purple); }
.dep-date { font: 800 1.25rem/1.1 var(--head); color: var(--navy); }
.dep-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-items: center; }
.tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--sky); color: var(--navy); }
.tag-free { background: var(--ok-bg); color: var(--ok); }
.tag-last { background: var(--warn-bg); color: var(--warn); }
.tag-closed { background: #EEF0F5; color: var(--muted); }
.tag-sure { background: var(--navy); color: #fff; }
.dep .btn { min-height: 40px; padding: 8px 16px; }
.dep.is-closed { opacity: .7; border-left-color: var(--line); }
.dep-price { font-size: .9rem; color: var(--muted); }

/* cena */
.price-banner { display: grid; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--purple) 0%, var(--purple-d) 100%); color: #fff;
  border-radius: 22px; padding: 22px; box-shadow: 0 12px 30px rgba(87, 32, 106, .3); }
.price-banner p { margin: 0; }
.pb-label { font-size: 1.25rem; font-weight: 700; }
.pb-price { font: 800 3.4rem/1 var(--head); color: var(--sun); }
.pb-price small { font-size: 1.3rem; color: #fff; }
.pb-per { font-size: 1.3rem; font-weight: 700; }
.pb-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--navy); border-radius: 999px; padding: 14px 24px;
  font-weight: 800; font-size: 1.15rem; text-decoration: none; border: 3px solid var(--navy); justify-self: start; }
.pb-cta svg { width: 22px; height: 22px; }
.pb-cta:hover { background: var(--sky); }
.price-grid { display: grid; gap: 16px; margin-top: 18px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.price-card h3 { color: var(--navy); }
.price-card h3 + * { margin-top: 0; }
.price-card ul + h3 { margin-top: 16px; }
.check, .cross { list-style: none; padding: 0; margin: 0 0 8px; }
.check li, .cross li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.check li::before, .cross li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.check li::before { content: "✓"; color: var(--purple); }
.cross li::before { content: "–"; color: var(--muted); }
.how-steps { padding-left: 22px; margin: 0 0 12px; }
.how-steps li { margin-bottom: 8px; }

/* formulář */
.sec-form { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.form { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; margin-top: 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font: 800 1.2rem var(--head); color: var(--navy); margin-bottom: 10px; padding: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #BCC5DB; border-radius: 10px; padding: 10px 12px; min-height: 46px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); outline: none;}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: .9rem; margin: 4px 0 0; }
.hint { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }
.estimate { background: var(--purple-l); border-radius: 10px; padding: 10px 12px; font-size: .95rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-note { margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.form-error { background: #FDECEA; color: var(--err); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.done { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px 20px; text-align: center; margin-top: 16px; }
.done svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 10px; }

/* dotazy */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--purple); }
details[open] summary::after { content: "–"; }
details p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

/* patička */
.foot { background: var(--navy); color: #D9DEF0; padding: 32px 0 96px; font-size: .95rem; }
.foot a { color: #fff; }
.foot-in { display: grid; gap: 18px; }
.logo-foot { color: #fff; }
.logo-foot svg { color: #C98BDB; }
.foot-contact { display: grid; gap: 6px; }

/* lišta na mobilu */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(27,43,94,.12);
  transition: transform .2s; }
.sticky b { font: 800 1.5rem var(--head); color: var(--purple); }
.sticky small { color: var(--muted); }
.sticky.hide { transform: translateY(110%); }

/* stránka rezervace pro školu */
.res { padding-top: 28px; padding-bottom: 48px; }
.res-loading { color: var(--muted); padding: 40px 0; }
.res .eyebrow { display: inline-block; background: var(--purple-l); color: var(--purple-d); font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.res-title { font-size: clamp(1.8rem, 7vw, 2.6rem); color: var(--navy); }
.res-status { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.res-intro { font-size: 1.05rem; }
.res-h2, .card h2 { font-size: 1.45rem; color: var(--navy); }
.res-h2 { margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 16px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.stepper { list-style: none; padding: 0; margin: 8px 0 18px; display: flex; gap: 4px; counter-reset: st; }
.stepper li { flex: 1; counter-increment: st; text-align: center; font-size: .78rem; color: var(--muted); position: relative; padding-top: 30px; }
.stepper li::before { content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%;
  background: #E3E7F0; color: var(--muted); font: 700 .85rem/24px var(--font); }
.stepper li.is-done::before { content: "✓"; background: var(--ok); color: #fff; }
.stepper li.is-now { color: var(--ink); font-weight: 700; }
.stepper li.is-now::before { background: var(--purple); color: #fff; }
.pay { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 12px 0; }
.pay.is-open { border: 2px solid var(--purple); }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pay-head h3 { margin: 0; }
.pay .small { margin: 0; }
.pay-body { display: grid; gap: 16px; }
.qr { margin: 0 auto; text-align: center; }
.qr img { width: 180px; height: 180px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; }
.qr figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.copy { font: 600 .8rem var(--font); color: var(--purple-d); background: var(--purple-l); border: 0; border-radius: 6px; padding: 3px 8px; cursor: pointer; margin-left: 4px; }
.form-flat { box-shadow: none; padding: 0; margin: 0; }
.done-inline { background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 10px 12px; font-weight: 600; margin: 0; }
.foot-slim { padding: 20px 0; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; grid-template-columns: auto 1fr; align-items: start; }
  .brand-card { grid-column: 1; }
  .route-card { grid-column: 1; }
  .hero-when { grid-column: 1 / -1; }
  .hero-when li { font-size: 1.05rem; padding: 8px 18px 8px 12px; }
  .bubble { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; font-size: 1.1rem; }
  .hero-bottom { grid-column: 1 / -1; grid-template-columns: auto auto; align-items: center; gap: 28px; }
  .facts { grid-template-columns: repeat(3, 1fr); padding: 18px; }
  .facts li { flex-direction: row; text-align: left; gap: 10px; }
  .facts-wrap { margin-top: -24px; }
  .usp-card { padding: 28px 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .program { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .map { position: sticky; top: 80px; }
  .day-row { grid-template-columns: 1fr 150px; }
  .day-row img { width: 150px; height: 96px; }
  .when { grid-template-columns: 1fr 1fr auto; }
  .subjects { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
  .deps { grid-template-columns: repeat(2, 1fr); }
  .price-banner { grid-template-columns: 1fr auto; padding: 28px 36px; }
  .pb-price { font-size: 4.4rem; }
  .pb-cta { justify-self: end; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .form { padding: 28px; }
  .pay-body { grid-template-columns: auto 1fr; align-items: start; }
  .foot { padding-bottom: 32px; }
  .foot-in { grid-template-columns: 1fr auto; }
  .sticky { display: none; }
}
@media (min-width: 1280px) { .top-phone { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav { display: inline-flex; }
  .top .btn { margin-left: 0; }
  .menu-btn { display: none; }
  .facts { grid-template-columns: repeat(6, 1fr); }
  .facts li { flex-direction: column; text-align: center; align-items: center; }
  .deps { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* volba poptávka / rezervace hned */
.mode-opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
.mode-opt input { width: 22px; height: 22px; min-height: 0; flex: 0 0 auto; margin-top: 2px; accent-color: var(--purple); }
.mode-opt b { display: block; }
.mode-opt small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.mode-opt:has(input:checked) { border-color: var(--purple); background: var(--purple-l); }
.done-pay { text-align: left; margin: 16px 0; }
@media (max-width: 759px) {
  /* platební údaje pod sebou, aby se číslo účtu a IBAN nelámaly */
  .pay .kv { grid-template-columns: 1fr; gap: 0; }
  .pay .kv dt { font-size: .85rem; margin-top: 8px; }
  .pay .kv dd { font-size: 1.05rem; }
  .done { padding: 24px 14px; }
  .done .pay { padding: 14px; }
}

/* zásady zpracování osobních údajů */
.legal { padding-top: 28px; padding-bottom: 48px; line-height: 1.6; }
.legal h1 { font: 800 1.9rem/1.2 var(--head); color: var(--navy); margin: 0 0 12px; }
.legal h2 { font: 800 1.25rem/1.3 var(--head); color: var(--navy); margin: 32px 0 10px; }
.legal h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 4px; }
.legal-lead { font-size: 1.05rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--muted); font-weight: 600; }
.legal-date { color: var(--muted); margin-top: 28px; }
.todo { background: #FFF1A8; padding: 0 3px; border-radius: 3px; }   /* místa k doplnění provozovatelem – po doplnění smazat class="todo" */
