/* ==========================================================================
   kurzpss.cz — styly hlavní stránky
   Design: DESIGN-3.md (bloky MS Academy + barvy Senevida)
   Breakpointy (mobile-first): 600 · 960 · 1200
   ========================================================================== */

/* 0a. Písma na vlastním serveru (24.10.2026, dřív Google Fonts) ------------
   Stejné řezy jako dřív: Inter 300/500/700, Literata 600 (proměnná osa opsz).
   latin = základní latinka; latin-ext zkrácená na češtinu a slovenštinu (Latin Extended-A).
   Licence: SIL Open Font License 1.1, viz /assets/fonts/LICENCE.txt */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+02C7, U+02D8-02DD, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+02C7, U+02D8-02DD, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+02C7, U+02D8-02DD, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-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: 'Literata'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/literata-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+02C7, U+02D8-02DD, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/literata-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; }

/* 0. Tokeny --------------------------------------------------------------- */
:root {
  --c-primary: #004278;
  --c-primary-2: #0B5A96;
  --c-accent: #8F134F;
  --c-accent-hover: #8E605D;
  /* tlumený text (popisky, poznámky); na světle růžovém pozadí .section--pale tmavší kvůli kontrastu WCAG AA (24.10.2026) */
  --c-muted: #8E605D;
  --c-muted-dark: #7D514E;
  --c-gold: #F4C39B;
  --c-gold-dark: #C9834F;
  --c-bg: #F7F5F3;
  --c-bg-accent: #EEE4E3;
  --c-surface: #FFFFFF;
  --c-line: #F2E4D0;
  --c-soft-blue: #86AFC3;
  --c-light-blue: #B6C6D4;
  --c-light-beige: #D4B7B5;
  --c-slate: #C3CACB;
  --c-error: #E44646;

  --font-heading: "Literata", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.25rem, 4.6vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.9vw, 1.5rem);

  --grid: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --radius: 16px;
  --radius-pill: 32px;
  --shadow-card: 0 10px 30px rgba(0, 66, 120, .12);
  --shadow-soft: 0 4px 14px rgba(0, 66, 120, .08);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --t: .3s linear;
  --header-h: 72px;

  /* o kolik obrázek „vyteče“ z kontejneru k okraji obrazovky */
  --bleed: calc(max(0px, (100vw - var(--grid)) / 2) + var(--gutter));
}

@media (min-width: 960px) {
  :root { --gutter: 24px; --section-y: 96px; --header-h: 80px; }
}

/* 1. Základ --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 300 1.125rem/1.6 var(--font-body);
  color: var(--c-primary);
  background: var(--c-bg);
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--c-primary);
}
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.1875rem; }
h1 strong, h2 strong, .h2 strong { font-weight: 600; color: var(--c-accent); }

p { margin: 0; }
p + p { margin-top: 1em; }
strong { font-weight: 700; }
a { color: inherit; font-weight: 500; text-underline-offset: .2em; transition: color var(--t); }
a:hover { color: var(--c-accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--c-light-beige); }
:focus-visible { outline: 3px solid var(--c-gold-dark); outline-offset: 3px; border-radius: 4px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.sprite { display: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--c-primary); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Režimy A / B */
[data-mode="A"] [data-only="B"],
[data-mode="B"] [data-only="A"] { display: none !important; }

/* Doplnit před publikací */
.todo {
  background: rgba(244, 195, 155, .45);
  outline: 1px dashed var(--c-gold-dark);
  border-radius: 4px;
  padding: 0 .2em;
}

/* 2. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--grid) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--pale { background: var(--c-bg-accent); --c-muted: var(--c-muted-dark); }
.section--white { background: var(--c-surface); }

.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head > * + * { margin-top: 16px; }
.section__head .label + h2,
.section__head .label + .h2 { margin-top: 0; }

.label {
  display: block;
  margin-bottom: 14px;
  font: 700 .8125rem/1.3 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.lead { font-size: 1.1875rem; }
.note { font-size: .9375rem; color: var(--c-muted); }
.subhead { margin: 64px 0 24px; font-size: var(--fs-h3); }
.subhead--first { margin-top: 0; }

/* 3. Tlačítka a odkazy ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px;
  padding: 14px 32px;
  border: 2px solid var(--c-accent);
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font: 500 1.0625rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.btn:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: #fff; transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); }
.btn--navy { background: var(--c-primary); border-color: var(--c-primary); }
.btn--sm { min-height: 44px; padding: 8px 22px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-accent);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow .icon { width: 20px; height: 20px; transition: transform var(--t); }
.link-arrow:hover .icon { transform: translateX(6px); }

.arrow-dot {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-primary);
  transition: transform var(--t);
}
.arrow-dot .icon { width: 18px; height: 18px; }

/* 4. Obrázky, zástupné bloky, video ----------------------------------------- */
.photo {
  position: relative;
  aspect-ratio: var(--ratio, 3 / 2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-accent);
}
.photo > img, .photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo > img { object-fit: cover; }
.photo--capsule-l { border-radius: 500px 0 0 500px; }
.photo--capsule-r { border-radius: 0 500px 500px 0; }
.photo--round { border-radius: 50%; }

/* Zástupný blok za fotku: teplý přechod + „světlo z okna“ + jemné kapsle */
.ph {
  --ph-a: #EEE4E3; --ph-b: #D4B7B5; --ph-ink: var(--c-primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--ph-ink);
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 55%),
    repeating-linear-gradient(-38deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, .16) 46px 70px),
    linear-gradient(160deg, var(--ph-a) 0%, var(--ph-b) 100%);
}
.ph--rose  { --ph-a: #F3E9E7; --ph-b: #D4B7B5; }
.ph--gold  { --ph-a: #F7EBDC; --ph-b: #F4C39B; }
.ph--blue  { --ph-a: #DCE5EC; --ph-b: #86AFC3; }
.ph--beige { --ph-a: #F7F5F3; --ph-b: #CDB2A6; }
.ph--navy  { --ph-a: #2E6FA3; --ph-b: #004278; --ph-ink: #fff; }
.ph--dark  { --ph-a: #3A7DB3; --ph-b: #0D4F86; --ph-ink: #fff; }
.ph__icon { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .55; }
.ph__code { font: 700 .75rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ph__desc { max-width: 30ch; font-size: .875rem; line-height: 1.45; opacity: .8; }

.video {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  border-radius: 12px;
  overflow: hidden;
}
.video > .ph, .video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .ph { align-items: flex-start; justify-content: flex-start; padding: 14px 16px; }
.video .ph__icon, .video .ph__desc { display: none; }
.video__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(143, 19, 79, .35);
  transition: transform var(--t);
}
.video__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video:hover .video .ph { align-items: flex-start; justify-content: flex-start; padding: 14px 16px; }
.video .ph__icon, .video .ph__desc { display: none; }
.video__play { transform: translate(-50%, -50%) scale(1.08); }

.video-card {
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.video__caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 6px 4px;
  font-size: .9375rem;
}
.video__caption strong { font-weight: 500; }
.video__caption span { color: var(--c-muted); white-space: nowrap; }

/* 5. Stavová lišta + hlavička ------------------------------------------------ */
.statusbar {
  padding: 10px var(--gutter);
  background: var(--c-primary);
  color: #fff;
  font-size: .9375rem;
  line-height: 1.45;
  text-align: center;
}
.statusbar strong { color: var(--c-gold); font-weight: 500; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  transition: box-shadow var(--t);
}
.header.is-scrolled { box-shadow: 0 6px 20px -8px rgba(0, 66, 120, .25); }
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  margin-right: auto;
  color: var(--c-primary);
  text-decoration: none;
}
.logo__mark { width: auto; height: 34px; fill: var(--c-primary); transition: fill var(--t); }
.logo__text { font: 700 1.375rem/1 var(--font-body); letter-spacing: -.03em; }
.logo:hover { color: var(--c-primary); }
.logo:hover .logo__mark { fill: var(--c-accent); }

.nav__list a {
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.nav__list a:hover { color: var(--c-accent); }
.header__cta { display: none; }

.burger {
  display: grid; place-items: center;
  width: 60px; height: 50px;
  margin-right: calc(-1 * var(--gutter));
  border: 0;
  border-radius: 500px 0 0 500px;
  background: var(--c-accent);
  color: #fff;
  cursor: pointer;
}

/* mobilní menu */
.nav {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  background: #fff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.nav.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__top {
  display: flex; justify-content: space-between; align-items: center;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--c-line);
  font-weight: 700;
}
.nav__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
}
.nav__list { display: flex; flex-direction: column; gap: 4px; padding: 24px 0; }
.nav__list a { display: block; padding: 12px 0; font-size: 1.25rem; }
.nav__cta { margin-top: auto; }

@media (min-width: 600px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 1280px) {
  .burger, .nav__top, .nav__cta { display: none; }
  .nav {
    position: static; display: block;
    padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav__list { flex-direction: row; gap: 22px; padding: 0; }
  .nav__list a { padding: 8px 0; font-size: .9375rem; white-space: nowrap; }
  .nav__list a[aria-current="page"] { color: var(--c-accent); }
  .logo__mark { height: 38px; }
}

/* 6. Hero ----------------------------------------------------------------- */
.hero { padding-block: 48px 72px; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__subtitle { max-width: 36ch; font-size: 1.25rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 32px 0;
}
.fact {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius);
}
.fact__value { font: 600 1.375rem/1.2 var(--font-heading); color: var(--c-accent); }
.fact__text { font-size: .9375rem; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 24px; }
.hero__reassure { font-size: .9375rem; color: var(--c-muted); }

.hero__media { position: relative; }
.hero__media .photo { max-height: 640px; width: 100%; }
.hero__media .video-card { width: min(300px, 86%); margin: -56px 0 0 auto; position: relative; }

@media (min-width: 960px) {
  .hero { padding-block: 64px 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__media { margin-right: calc(-1 * var(--bleed)); }
  .hero__media .video-card { position: absolute; left: 0; bottom: 28px; margin: 0; width: 290px; }
}

/* 7. Karty ---------------------------------------------------------------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 720px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
}
.card h3 { font-size: 1.3125rem; }
.card p { font-size: 1.0625rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card--media { padding: 0 0 28px; overflow: hidden; }
.card--media > :not(.card__media) { margin-inline: 28px; }
.card--media > .card__media { border-radius: 0; margin-bottom: 8px; }
.card--navy { background: var(--c-primary); color: #fff; }
.card--navy h3 { color: #fff; }
.card--navy .link-arrow { color: var(--c-gold); }
.card--flat { background: transparent; border: 1px solid var(--c-light-beige); }

.card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-bg-accent);
  color: var(--c-accent);
}
.card--flat .card__icon { background: #fff; }

/* 8. Start první skupiny + karty termínů ------------------------------------ */
.start__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .start__grid { grid-template-columns: 1fr 420px; } .start .section__head { margin-bottom: 0; } }

.term-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--c-primary);
  text-decoration: none;
  transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.term-card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 12px;
  border-radius: 50%;
  background: var(--c-bg-accent);
  color: var(--c-primary);
}
.term-card__date { font: 600 1.75rem/1.15 var(--font-heading); }
.term-card__meta { font-weight: 500; }
.term-card__state { color: var(--c-muted); font-size: .9375rem; }
.term-card__more {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px;
  color: var(--c-accent);
  font-weight: 500;
}
.term-card:hover { background: var(--c-accent); color: #fff; transform: translateY(-5px); }
.term-card:hover .term-card__state,
.term-card:hover .term-card__more { color: #fff; }
.term-card:hover .term-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.term-card:hover .arrow-dot { transform: translateX(6px); }
.term-card.is-selected { border-color: var(--c-accent); }

.groups { display: grid; gap: 20px; }
@media (min-width: 760px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.groups__note { margin-top: 28px; }

/* 9. Kroky ---------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 28px; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute; top: 22px; bottom: 22px; left: 27px;
  border-left: 2px dashed var(--c-accent-hover);
  opacity: .45;
}
.step { position: relative; padding-left: 80px; }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 44px;
  border-radius: 0 24px 24px 0;
  background: var(--c-soft-blue);
  color: var(--c-primary);
  font: 600 1.375rem/1 var(--font-heading);
}
.step > .step__num { position: absolute; left: 0; top: 0; }
.step__title { margin-bottom: 8px; font-size: 1.25rem; }
.step__tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-accent);
  font: 500 .8125rem/1.6 var(--font-body);
  color: var(--c-muted-dark);
  vertical-align: middle;
}
.step p { font-size: 1rem; }
.steps__note { margin-top: 32px; }

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps::before { top: 21px; bottom: auto; left: 28px; right: 28px; border-left: 0; border-top: 2px dashed var(--c-accent-hover); }
  .step { padding-left: 0; }
  .step > .step__num { position: relative; margin-bottom: 20px; }
  .step__tag { display: table; margin: 6px 0 0; }
}

/* 10. Co se naučíte ---------------------------------------------------------- */
.learn { display: grid; gap: 48px; }
@media (min-width: 960px) { .learn { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; } }
.learn__main .h2 { margin-bottom: 28px; }
.learn__main .note { margin-top: 20px; }
.learn__side { display: grid; gap: 24px; }

.checklist { display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  font-size: 1.0625rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-bg-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F134F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7 10 16l-4-4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (min-width: 600px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.checklist--light li::before {
  background-color: rgba(255, 255, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C39B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7 10 16l-4-4'/%3E%3C/svg%3E");
}

.need {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
}
.need h3 { margin-bottom: 6px; font-size: 1.25rem; }
.need p { font-size: 1rem; }
.need__photo { border-radius: 12px; }
.need__photo .ph__desc { display: none; }

/* 11. Praxe (tmavá sekce) ---------------------------------------------------- */
.section--dark {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  color: #fff;
  overflow: hidden;
}
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  width: 900px; height: 180px;
  border-radius: 200px;
  background: rgba(255, 255, 255, .04);
  transform: rotate(-38deg);
  pointer-events: none;
}
.section--dark::before { top: 120px; right: -380px; }
.section--dark::after { bottom: 220px; left: -520px; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 strong { color: var(--c-gold); }
.section--dark .label { color: var(--c-gold); }

.praxe { padding-bottom: calc(var(--section-y) + 120px); }
.praxe .container { position: relative; z-index: 1; }
.praxe__layout { display: grid; gap: 40px; align-items: center; }
.praxe__photo { max-width: 460px; background: transparent; }
.ph--dark { border: 1px solid rgba(255, 255, 255, .18); }
.praxe__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .praxe__grid { grid-template-columns: 1fr 1fr; } .praxe__list { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .praxe__layout { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .praxe__photo { max-width: none; max-height: 540px; margin-left: calc(-1 * var(--bleed)); }
}

.glass {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}
.glass h3 { margin-bottom: 10px; font-size: 1.25rem; }
.glass p { font-size: 1rem; color: rgba(255, 255, 255, .9); }
.praxe__list h3 { margin: 8px 0 16px; font-size: 1.25rem; }
@media (min-width: 600px) { .praxe__list .checklist { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.praxe__trust {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.praxe__trust .icon { width: 28px; height: 28px; color: var(--c-gold); }
.praxe__trust strong { color: var(--c-gold); font-weight: 500; }
.note--light { margin-top: 12px; color: rgba(255, 255, 255, .78); }
@media (min-width: 960px) { .note--light { padding-left: 42px; } }

/* 12. Cena ---------------------------------------------------------------- */
.cena { padding-top: 0; }
.price-card {
  position: relative; z-index: 2;
  display: grid; gap: 32px;
  margin-top: -120px;
  padding: 32px 24px;
  background: #fff;
  border-bottom: 3px solid var(--c-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
@media (min-width: 600px) { .price-card { padding: 40px; } }
@media (min-width: 960px) { .price-card { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 56px; } }

.price-card__main h2 { margin-bottom: 28px; }
.price { display: flex; flex-direction: column; gap: 4px; }
.price__value { font: 600 clamp(2.75rem, 6vw, 4rem)/1 var(--font-heading); color: var(--c-accent); }
.price__text { font-size: 1.0625rem; }
.price-alt {
  display: inline-block;
  margin-top: 20px !important;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-accent);
}
.price-card__included h3 { margin-bottom: 18px; font-size: 1.25rem; }
.price-card__nofees { margin-top: 20px; font-weight: 700; }

.payers__title { margin: 64px 0 24px; font-size: var(--fs-h3); }
.payers h4 { font-size: 1.25rem; }

.cta-row {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-top: 40px;
  text-align: center;
}

/* 13. Úřad práce ------------------------------------------------------------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.split__photo { width: 100%; }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--c-accent);
  color: #fff;
}
.callout .icon { width: 30px; height: 30px; color: var(--c-gold); }
.callout strong { font-weight: 700; }

.howto__title { margin: 56px 0 24px; font-size: var(--fs-h3); }
.howto { display: grid; gap: 20px; }
@media (min-width: 860px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto__step {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
}
.howto__step p { font-size: 1.0625rem; }
.howto__step strong { font-weight: 700; }

.readable-note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--c-gold-dark);
  font-size: 1rem;
}
.urad__mode { margin-top: 16px !important; font-weight: 500; }

/* 14. Kdo jsme ------------------------------------------------------------ */
.about { display: grid; gap: 40px; align-items: center; }
.about__photo { max-width: 460px; }
@media (max-width: 959px) { .praxe__photo, .about__photo, .hero__media .photo { max-height: 340px; } }
.about__text { margin-bottom: 0; }
.about__projects { font-size: 1rem; }
@media (min-width: 960px) {
  .about { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .about__photo { max-width: none; max-height: 540px; margin-left: calc(-1 * var(--bleed)); }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px;
  background: #fff;
  border-radius: var(--radius);
}
.stat__value { font: 600 1.3125rem/1.2 var(--font-heading); color: var(--c-accent); }
.stat__text { font-size: .9375rem; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--c-line);
}
.notice .icon { color: var(--c-muted); }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
@media (min-width: 960px) { .people { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }
.person { text-align: center; }
.person__photo { width: min(160px, 100%); margin: 0 auto 18px; box-shadow: var(--shadow-soft); }
@media (max-width: 599px) { .person__photo .ph__code { display: none; } .person__role { font-size: .875rem; } }
.person__photo .ph { padding: 12px; }
.person__name { font: 600 1.125rem/1.3 var(--font-heading); }
.person__role { margin-top: 6px !important; font-size: .9375rem; }

.about__video { max-width: 760px; margin: 56px auto 0; }

/* 15. Pro zaměstnavatele ------------------------------------------------------ */
.employer { display: grid; gap: 40px; }
@media (min-width: 960px) { .employer { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.employer__head { margin-bottom: 0; }
.employer__head .btn { margin-top: 28px; }
.employer__photo { margin-top: 36px; }

.offers { display: grid; gap: 14px; }
@media (min-width: 600px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--c-bg);
}
.offer .icon { width: 28px; height: 28px; color: var(--c-accent); }
.offer p { font-size: 1rem; }

.b2b { margin-top: 48px; background: var(--c-bg); }

/* 16. FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 920px; }
.faq__item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--t);
}
.faq__item summary {
  position: relative;
  padding: 22px 24px 22px 72px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "";
  position: absolute; left: 22px; top: 50%;
  width: 34px; height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--c-bg-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F134F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform var(--t), background-color var(--t);
}
.faq__item:not([open]) summary:hover { background: var(--c-accent); color: #fff; }
.faq__item:not([open]) summary:hover::before { background-color: #fff; }
.faq__item[open] summary::before { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 24px 72px; font-size: 1.0625rem; }

/* 17. Formuláře ------------------------------------------------------------ */
.signup { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .signup { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.signup__head { margin-bottom: 0; }

.consultant { display: flex; gap: 18px; align-items: center; margin-top: 36px !important; }
.consultant__photo { width: 88px; flex: none; }
.consultant__photo .ph { padding: 8px; }
.consultant__photo .ph__icon { width: 26px; height: 26px; }
.consultant p { font-size: 1rem; }
.consultant__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--c-bg-accent); color: var(--c-accent); }
.consultant__icon .icon { width: 28px; height: 28px; }

.form-card {
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
}
@media (min-width: 600px) { .form-card { padding: 40px; } }

.form__grid { display: grid; gap: 20px; margin-bottom: 28px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-muted);
}
.optional { font-weight: 300; }

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-primary);
  font-size: 1.0625rem;
  font-weight: 400;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select {
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center / 18px no-repeat;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: #8FA3B6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(0, 66, 120, .12);
}
.field__error { display: none; margin-top: 6px !important; font-size: .875rem; color: var(--c-error); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-error); }
.field.is-invalid .field__error { display: block; }

/* chips (radio) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--c-light-beige);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--c-primary);
  font-weight: 400;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.chip input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--c-gold-dark); outline-offset: 2px; }

/* přepínač souhlasu */
.toggle {
  display: grid !important; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  margin: 0 !important;
  color: var(--c-primary) !important;
  font-weight: 300 !important;
  cursor: pointer;
}
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__track {
  position: relative;
  width: 44px; height: 24px; margin-top: 2px;
  border-radius: 24px;
  background: var(--c-slate);
  transition: background var(--t);
}
.toggle__track::after {
  content: "";
  position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left var(--t);
}
.toggle input:checked + .toggle__track { background: var(--c-primary); }
.toggle input:checked + .toggle__track::after { left: 23px; }
.toggle input:focus-visible + .toggle__track { outline: 3px solid var(--c-gold-dark); outline-offset: 2px; }
.toggle__text { font-size: .875rem; line-height: 1.5; }
.field.is-invalid .toggle__track { box-shadow: 0 0 0 2px var(--c-error); }

.form__under { margin-top: 14px; font-size: .9375rem; color: var(--c-muted); text-align: center; }
.form__note { margin-top: 6px; font-size: .8125rem; line-height: 1.5; color: var(--c-muted); text-align: center; }
.form__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-success { padding: 32px 8px; text-align: center; }
.form-success h3 { margin-bottom: 12px; font-size: var(--fs-h3); }

/* 18. Patička -------------------------------------------------------------- */
.footer { padding-top: 64px; background: #fff; font-size: 1rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }
.footer__brand .logo { margin-bottom: 20px; }
.footer__brand p + p { margin-top: 16px; }
.footer__status { font-size: .9375rem; color: var(--c-muted); }
.footer__title { margin-bottom: 16px; font-size: 1.25rem; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px !important;
  text-decoration: none;
}
.contact-link .icon { width: 20px; height: 20px; color: var(--c-accent); }
.footer__links li + li { margin-top: 10px; }
.footer__links a { font-weight: 300; }

.copyright {
  margin-top: 56px;
  padding: 20px 0;
  background: var(--c-primary);
  color: #fff;
  font-size: .875rem;
}

/* 19. Lepicí tlačítko (mobil) ------------------------------------------------ */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  box-shadow: 0 10px 30px rgba(143, 19, 79, .35);
  transform: translateY(160%);
  transition: transform .4s var(--ease), background var(--t);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta:hover { transform: none; }
@media (max-width: 959px) { .copyright { padding-bottom: 92px; } }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* 20. Animace -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 21. Teaser „Pro zaměstnavatele“ (hlavní stránka) -------------------------- */
.split > div > .section__head { margin-bottom: 24px; }
.teaser__list { margin-bottom: 32px; }
.teaser__btn .icon { width: 20px; height: 20px; }

/* 22. Stránka /pro-zamestnavatele ------------------------------------------ */
.btn--light { background: #fff; border-color: #fff; color: var(--c-accent); }
.btn--light:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-primary); }

.hero__link { display: inline-flex; }

/* Proč teď: karty s ikonou */
.card--law .card__icon { background: var(--c-accent); color: #fff; }

/* Co nabízíme: 6 v mřížce + 7. přes celou šířku */
@media (min-width: 960px) { .offers--3 { grid-template-columns: repeat(3, 1fr); } }
.offers--3 .offer { background: #fff; flex-direction: column; gap: 12px; padding: 24px; }
.offers--3 .offer h3 { font-size: 1.1875rem; }
.offer--wide {
  grid-column: 1 / -1;
  flex-direction: row !important; align-items: center !important;
  background: transparent !important;
  border: 1px dashed var(--c-light-beige);
}
.offer--wide h3 { margin-bottom: 4px; }

/* Spolupráce: 4 kroky */
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.onsite { margin-top: 64px; }
.onsite h3 { margin-bottom: 20px; font-size: var(--fs-h3); }
.onsite__more { margin-top: 20px !important; font-weight: 500; }

/* Cena bez překryvu */
.price-card--flat { margin-top: 0; }
.price-card--flat .price-card__main p { font-size: 1.0625rem; }

/* Pro jaká zařízení: tablety */
.facilities { display: flex; flex-wrap: wrap; gap: 12px; }
.facilities li {
  padding: 14px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-weight: 500;
  font-size: 1.0625rem;
}

/* CTA pás */
.cta-band { padding-block: 56px; background: var(--c-accent); color: #fff; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band h2 strong { color: var(--c-gold); }
.cta-band p { max-width: 60ch; color: rgba(255, 255, 255, .9); }

/* Proč MS Academy (tmavá sekce) */
.why { padding-bottom: var(--section-y); }
.why__layout { display: grid; gap: 40px; align-items: center; }
.why__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .why__layout { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .why .praxe__photo { max-height: 520px; }
}
.glass--status {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 40px;
  background: rgba(255, 255, 255, .1);
}
.glass--status .icon { color: var(--c-gold); }
.glass--status p { font-size: 1rem; }

/* Poptávka: kontakt + formulář */
.inquiry { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .inquiry { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.inquiry__head { margin-bottom: 28px; }
.contact-card {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
}
.contact-card__person { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.contact-card__photo { width: 96px; flex: none; }
.contact-card__photo .ph { padding: 8px; }
.contact-card__photo .ph__icon { width: 28px; height: 28px; }
.contact-card__initials { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--c-bg-accent); color: var(--c-primary); font: 600 1.5rem/1 Literata, Georgia, serif; }
.contact-card__name { font: 600 1.25rem/1.25 var(--font-heading); }
.contact-card__role { margin-top: 4px !important; font-size: .9375rem; color: var(--c-muted); }
.contact-card__quote {
  margin: 20px 0 0 !important;
  padding-left: 16px;
  border-left: 3px solid var(--c-gold-dark);
  font: 600 1.0625rem/1.5 var(--font-heading);
}
@media (min-width: 960px) { .inquiry__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.section--white .card:not(.card--navy) { border: 1px solid var(--c-line); }

/* 23. Děkovací stránky ------------------------------------------------------ */
.header--simple .header__inner { min-height: 72px; }
.thanks { padding-block: 72px; }
.thanks__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.thanks__inner h1 { margin: 20px 0 16px; }
.thanks__inner .lead a { font-weight: 500; }
.thanks__icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(143, 19, 79, .3);
}
.thanks__icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.thanks__h2 { margin-bottom: 28px; }
@media (min-width: 1100px) { .howto--4 { grid-template-columns: repeat(4, 1fr); } }

.thanks__grid { display: grid; gap: 40px; align-items: center; }
.thanks__inner--left { text-align: left; margin: 0; }
@media (min-width: 960px) { .thanks__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

.survey { max-width: 860px; }
.survey__head { margin-bottom: 28px; }
.survey .field + .field { margin-top: 24px; }
.survey .btn { margin-top: 32px; }

.thanks__more { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .thanks__more { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.share-card {
  display: flex; gap: 16px; align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--c-bg);
  font-size: 1.125rem;
}
.section--white .howto__step { border: 1px solid var(--c-line); }
.survey__faq { margin-top: 24px; }
.thanks__inner--left .link-arrow { margin-top: 20px; }
.survey .form-success p { font-size: 1.125rem; }

/* 24. Cílové landingy, FAQ stránka, patička 4 sloupce, 404 --------------------- */
.honest {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 36px !important;
  font-size: 1.0625rem; font-weight: 500;
}
.honest .icon { color: var(--c-accent); margin-top: 2px; }
.tip {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border-left: 4px solid var(--c-gold);
}
.section--white .tip { background: var(--c-bg); }
.split .notice { margin-top: 28px; }
.price-card--single { grid-template-columns: 1fr !important; max-width: 900px; }
.price-card--single h2 { margin-bottom: 16px; }

.pay-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .pay-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.side-card { padding: 28px; border-radius: var(--radius); background: #fff; }
.side-card h3 { margin-bottom: 16px; font-size: 1.25rem; }
.side-card .link-arrow { margin-top: 20px; }

.faq-nav {
  display: flex; gap: 10px;
  margin: 0 0 40px; padding: 4px 0 8px;
  overflow-x: auto; scrollbar-width: thin;
}
.faq-nav a {
  flex: none;
  padding: 10px 18px;
  border: 1px solid var(--c-light-beige);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.faq-nav a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 20px; font-size: var(--fs-h3); }
.faq-more { margin-top: 28px; }

@media (min-width: 960px) { .footer__grid--4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .footer__contact { margin-top: 24px; }
.footer__brand .footer__title { font-size: 1.125rem; }

.notfound { padding-block: 120px; text-align: center; }
.notfound h1 { margin-bottom: 16px; }
.notfound .lead { max-width: 52ch; margin: 0 auto 32px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--outline { background: transparent; color: var(--c-accent); }
.btn--outline:hover { background: transparent; color: var(--c-accent-hover); }
.howto__more { margin-top: 24px; }
.pay-grid__text { margin-top: 16px; }

/* 25. Informační stránky: FAQ, O nás, Kontakt ------------------------------------ */
.page-head { padding-block: 56px; }
.page-head__lead { max-width: 64ch; margin-top: 16px !important; }
.faq-page .faq { max-width: none; }
.faq-page > * { max-width: 960px; }
.faq-employers {
  display: flex; gap: 14px; align-items: center;
  margin-top: 56px; padding: 20px 24px;
  border-radius: var(--radius); background: #fff;
}
.faq-employers > .icon { color: var(--c-accent); }

.story { max-width: 860px; }
.story h2 { margin-bottom: 20px; }
.story__quote {
  margin: 28px 0 0; padding-left: 20px;
  border-left: 3px solid var(--c-gold-dark);
  font: 600 1.125rem/1.5 var(--font-heading);
}
.stats--flush { margin-top: 0; }
@media (min-width: 720px) { .courses { grid-template-columns: 1fr 1fr; } }
.cta-band .cta-band__link { margin-top: 16px; color: var(--c-gold); }
.cta-band p + .cta-band__link { display: inline-flex; }

.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }
.contact-big {
  display: flex; gap: 16px; align-items: center;
  margin: 0 0 20px !important;
  font: 600 1.375rem/1.3 var(--font-heading);
  text-decoration: none;
}
.contact-big .icon { width: 28px; height: 28px; color: var(--c-accent); }
.contact-big small { display: block; font: 500 .8125rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.contact-card__company { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 1rem; }
.contact-card__company p + p { margin-top: 6px; }
.contact-card__h { margin-bottom: 18px; font-size: 1.25rem; }

.forks { display: grid; gap: 20px; }
@media (min-width: 760px) { .forks { grid-template-columns: 1fr 1fr; } }
.section--white .term-card { border-color: var(--c-line); }
.forks__faq { margin-top: 28px; }

.notfound__code { font: 600 clamp(4rem, 12vw, 7rem)/1 var(--font-heading); color: var(--c-light-beige); margin-bottom: 8px; }

/* 26. Mobilní úpravy dlouhých slov ----------------------------------------- */
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { min-width: 0; }
.stat__value, .stat__text { overflow-wrap: anywhere; }
.contact-big span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .stat { padding: 18px 16px; }
  .stat__value { font-size: 1.0625rem; }
  .contact-big { font-size: 1.125rem; }
  .contact-card { padding: 22px 18px; }
}
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 27. Video ve fotorámečku (hero smyčka v kapsli) ----------------------------- */
.photo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 28. /prace-v-peci: podpřípad a „poslat zaměstnavateli“ ---------------------- */
.subcase {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 48px; padding: 28px;
  border-radius: var(--radius);
  background: var(--c-primary); color: #fff;
}
.subcase h3 { color: #fff; margin-bottom: 8px; font-size: 1.3125rem; }
.subcase p { color: rgba(255, 255, 255, .9); }
.subcase .card__icon { flex: none; background: rgba(255, 255, 255, .14); color: var(--c-gold); }

.share h2 { margin-bottom: 16px; }
.share__lead { margin-bottom: 20px; }
.share__message {
  margin: 0 0 24px; padding: 18px 20px;
  border-left: 3px solid var(--c-gold-dark);
  border-radius: 0 12px 12px 0;
  background: var(--c-bg);
  font-size: 1rem; line-height: 1.55;
  overflow-wrap: anywhere;
}
.share .btn .icon { width: 20px; height: 20px; }
.share__options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.share__options[hidden] { display: none; }
@media (min-width: 960px) { .share__wa { display: none !important; } }
[data-share-copy].is-copied { border-color: var(--c-primary); color: var(--c-primary); }
.share__under { text-align: left; }
.newstaff {
  display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center;
  margin-top: 48px; padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--c-bg-accent);
}
.newstaff p { flex: 1 1 360px; font-size: 1.0625rem; }
.share__status { min-height: 1.5em; margin-top: 10px !important; font-size: .9375rem; color: var(--c-muted); }
.share__status:empty { margin-top: 0 !important; min-height: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 29. Právní stránky (prose, tabulky) ---------------------------------------- */
.prose { max-width: 780px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: 1.5rem; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--c-accent); }
.prose p, .prose li { font-size: 1.0625rem; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--c-muted); background: var(--c-bg); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }

.link-button {
  padding: 0; border: 0; background: none;
  color: inherit; font: inherit; font-weight: 300;
  text-decoration: underline; text-underline-offset: .2em;
  cursor: pointer;
}
.link-button:hover { color: var(--c-accent); }
.footer__links .link-button { font-weight: 300; }

/* 30. Cookie lišta --------------------------------------------------------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: flex; justify-content: center;
  pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie__box {
  width: 100%; max-width: 620px;
  max-height: calc(100vh - 24px); overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 66, 120, .25);
  pointer-events: auto;
}
@media (min-width: 960px) { .cookie { left: 24px; right: auto; bottom: 24px; justify-content: flex-start; } }
.cookie__title { margin-bottom: 8px; font-size: 1.25rem; }
.cookie__text { font-size: .9375rem; line-height: 1.55; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 18px; }
.cookie__actions .btn { flex: 1 1 140px; }
.cookie__actions .link-button { margin-left: 4px; font-size: .9375rem; }
.cookie__settings { margin-top: 16px; border-top: 1px solid var(--c-line); }
.cookie__settings[hidden] { display: none; }
.cookie__cat { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.cookie__cat-name { font-weight: 500; }
.cookie__cat-desc { margin-top: 2px !important; font-size: .875rem; color: var(--c-muted); }
.cookie__always { flex: none; font-size: .8125rem; font-weight: 500; color: var(--c-primary); white-space: nowrap; }
.toggle--solo { grid-template-columns: 44px !important; flex: none; margin-top: 2px !important; }
body.cookie-open .sticky-cta { visibility: hidden; }
[hidden] { display: none !important; }
.cookie__actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
@media (max-width: 420px) { .cookie__actions .btn { flex-basis: 100%; } }
.copyright__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.copyright__ai { opacity: .75; }
/* Popisek u vygenerované fotky, kde by lidé mohli působit jako naši zaměstnanci/studenti */
.photo__ai { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: .75rem; font-weight: 500; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.mail-hint { max-width: 60ch; margin: 10px auto 0; }
.field__hint { margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--c-muted); }

/* 27.09 — klikací karty, odznaky důvěry, plaketa ÚP, FAQ na celou šířku, modrá patička ------ */
.card--link { position: relative; transition: transform var(--t), box-shadow var(--t), opacity .7s var(--ease); }
.card--link .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card--link:hover, .js .card--link.reveal.is-in:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card--link:hover .link-arrow .icon { transform: translateX(6px); }
.card--link:has(.link-arrow:focus-visible) { outline: 3px solid var(--c-gold-dark); outline-offset: 3px; }
.card--link .link-arrow:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .card--link:hover, .js .card--link.reveal.is-in:hover { transform: none; } }

.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--c-primary); font-size: .875rem; font-weight: 500; line-height: 1.3; }
.badge a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.badge a:hover { color: var(--c-accent); }
.badge .icon { width: 18px; height: 18px; flex: none; color: var(--c-accent); }
.hero__content > .badges + .link-arrow { margin-top: 20px; }

.checklist li.checklist__bonus { color: var(--c-accent); font-weight: 500; }

.up-callout { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; margin-top: 24px; padding: 24px 28px; border-left: 4px solid var(--c-gold); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.up-callout__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-bg-accent); color: var(--c-accent); }
.up-callout__icon .icon { width: 28px; height: 28px; }
.up-callout h3 { margin-bottom: 6px; font-size: 1.25rem; }
.up-callout > .link-arrow { grid-column: 2; }
@media (min-width: 900px) { .up-callout { grid-template-columns: auto 1fr auto; padding: 24px 32px; } .up-callout > .link-arrow { grid-column: auto; white-space: nowrap; } }

.faq, .faq-page > * { max-width: none; }
.faq__answer > * { max-width: 80ch; }

.footer { padding-top: 48px; background: var(--c-primary); color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.footer__grid { gap: 28px; }
@media (min-width: 960px) { .footer__grid--4 { gap: 32px; } }
.footer .logo, .footer .logo:hover { color: #fff; }
.footer .logo__mark { fill: #fff; }
.footer .logo:hover .logo__mark { fill: var(--c-gold); }
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p + p { margin-top: 10px; }
.footer__title, .footer__brand .footer__title { margin-bottom: 10px; color: var(--c-gold); font-size: 1.0625rem; }
.footer a, .footer .link-button { color: #fff; }
.footer a:hover, .footer .link-button:hover { color: var(--c-gold); }
.footer__status { color: rgba(255, 255, 255, .72); font-size: .875rem; }
.footer__links li + li { margin-top: 6px; }
.footer__brand .footer__contact { margin-top: 16px; }
.footer .contact-link .icon { color: var(--c-gold); }
.footer :focus-visible { outline-color: var(--c-gold); }
.copyright { margin-top: 36px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .15); background: transparent; }
.glass--status a { color: var(--c-gold); }
.glass--status .link-arrow { margin-top: 10px; }

/* Popisek u skutečných fotek z výuky (MS Academy – kurz Zubní instrumentářka) */
.photo__caption { position: absolute; left: 18px; bottom: 18px; z-index: 1; max-width: calc(100% - 36px); padding: 6px 12px; border-radius: 999px; background: rgba(0, 66, 120, .88); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.photo--capsule-l .photo__caption, .photo--caption-r .photo__caption { left: auto; right: 18px; }
@media (min-width: 960px) { .about__photo .photo__caption { left: calc(var(--bleed) + 18px); } .hero__media .photo__caption { right: calc(var(--bleed) + 18px); } }
.about__photo .photo__caption { max-width: 190px; border-radius: 12px; bottom: 24px; }
.praxe__photo .photo__caption { max-width: 190px; border-radius: 12px; bottom: 24px; }
@media (min-width: 960px) { .praxe__photo .photo__caption { left: calc(var(--bleed) + 18px); } }

/* Stav kurzu – 3 kroky místo varovné plakety */
.status-steps { display: grid; gap: 18px; margin: 40px 0 0; padding: 24px 28px; list-style: none; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.status-step { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.status-step__dot { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 2px solid var(--c-slate); border-radius: 50%; background: #fff; }
.status-step__dot .icon { width: 18px; height: 18px; color: #fff; }
.status-step.is-done .status-step__dot { border-color: var(--c-accent); background: var(--c-accent); }
.status-step.is-current .status-step__dot { border-color: var(--c-gold-dark); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 16px var(--c-gold); }
.status-step__text { display: grid; gap: 2px; padding-top: 4px; }
.status-step__text strong { color: var(--c-primary); font-weight: 500; line-height: 1.35; }
.status-step__text small { color: var(--c-muted); font-size: .875rem; line-height: 1.45; }
.status-step:not(.is-done):not(.is-current) .status-step__text strong { color: var(--c-muted); }
@media (min-width: 760px) {
  .status-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .status-step { flex-direction: column; gap: 12px; }
  .status-step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 44px; right: -12px; height: 2px; background: var(--c-line); }
  .status-step.is-done:not(:last-child)::after { background: var(--c-accent); }
  .status-step__text { padding-top: 0; }
}

/* Telefon a tablet: kapsle v sekcích (Praxe, Kdo jsme, Proč MS Academy) na celou šířku sloupce */
@media (max-width: 959px) {
  .praxe__photo, .about__photo { width: 100%; max-width: none; max-height: none; aspect-ratio: auto; height: clamp(300px, 62vw, 460px); }
}

/* Skutečné video MS Academy (O nás) */
.story__video { margin: 40px 0 0; overflow: hidden; border-radius: var(--radius); background: #0b1b2b; box-shadow: var(--shadow-card); }
.story__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.story__caption { padding: 12px 18px; background: #fff; color: var(--c-muted); font-size: .875rem; font-weight: 500; }

/* Chyba odeslání formuláře (main.js, CRM) */
.form__note.form-error { color: #B3261E; font-weight: 500; }

/* ===== Mobilní úpravy 27.09 (schváleno vlastníkem na iPhonu) ===== */
@media (max-width: 959px) {
  /* 1. Hero: obrázek hned pod nadpisem (pořadí jen na úzkém displeji, DOM beze změny) */
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__content { display: contents; }
  .hero__content > * { order: 5; }
  .hero__content > .label { order: 1; }
  .hero__content > h1 { order: 2; margin-bottom: 16px; }
  .hero__media { order: 3; margin-bottom: 24px; }
  .hero__media .photo { max-height: 300px; }
  .hero__content > .hero__subtitle { order: 4; }
  .hero { padding-top: 32px; }

  /* 3. Tlačítko menu: běžný odstup vpravo, celý tvar */
  .burger { width: 52px; height: 44px; margin-right: 0; border-radius: 999px; }
}

/* 2. Fakta pod nadpisem: na telefonu řádky bez sirotka */
@media (max-width: 599px) {
  .facts { grid-template-columns: 1fr; gap: 8px; margin: 24px 0; }
  .fact { gap: 0; padding: 10px 16px; }
  .fact__value { font-size: 1.125rem; }
  .fact__text { font-size: .875rem; line-height: 1.4; }
}

/* 5. /cookies: tabulka jako karty */
@media (max-width: 640px) {
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
  .data-table td { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; overflow-wrap: anywhere; }
  .data-table td::before { content: attr(data-label); color: var(--c-muted); font-weight: 500; }
  .table-wrap { overflow: visible; }
}

/* 6. /caste-dotazy: odkazy na sekce se na telefonu zalamují */
@media (max-width: 959px) {
  .faq-nav { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .faq-nav a { padding: 8px 14px; font-size: .875rem; }
}

/* 7. Patička: údaje o firmě a stav kurzu menším písmem (min. 13 px) */
.footer__brand > p { font-size: .8125rem; line-height: 1.55; }
.footer__status { font-size: .8125rem; }

/* /kariera (28.09): poznámka pod kartami rolí */
.cards + .note { margin-top: 20px; }
.kariera__share { margin-top: 24px; }

/* /dekujeme (01.10): bez karty videa zůstává jen sdílecí karta – na střed */
.thanks__more--solo { justify-items: center; }
@media (min-width: 960px) { .thanks__more--solo { grid-template-columns: minmax(0, 640px); justify-content: center; } }

/* /cookies v3 (01.10): podnadpisy tabulek v textu zásad menší než h2 */
.prose h3 { margin-top: 32px; font-size: 1.1875rem; }
.prose h2 + h3 { margin-top: 18px; }

/* Široké obrazovky (05.10): kapsle v sekcích Praxe a Proč MS Academy sahá od okraje okna
   až ke sloupci s textem. Dřív ji max-height zúžila a mezi fotkou a textem rostla mezera. */
@media (min-width: 960px) {
  .praxe__photo, .about__photo { width: calc(100% + var(--bleed)); }
}
/* Od 1440 px výš by se fotka roztáhla do širokého pruhu a ořízla hlavu. Tam už nesahá k okraji okna:
   drží se svého sloupce vedle textu a levé rohy má zaoblené jako karty. */
@media (min-width: 1440px) {
  .praxe__photo, .about__photo { width: 100%; margin-left: 0; border-radius: var(--radius) 500px 500px var(--radius); }
  .praxe__photo .photo__caption, .about__photo .photo__caption { left: 18px; }
}
