/* ==========================================================================
   ManaCon — redesign 2026
   KÓPIA web/styles.css z repozitára manacon-redesign (sekcie 1–19).
   Needituj tu bez dôvodu — úpravy pre WordPress patria do wp.css.
   Písma (@font-face) generuje WordPress z theme.json.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENY
   -------------------------------------------------------------------------- */
:root {
  /* Značkové farby — odmerané priamo z reálneho súboru loga (podklady/brand/manacon-logo.png) */
  --brand-blue: #6BB4D3;        /* LEN DEKOR — kontrast na bielej 2,31:1 */
  --brand-pink: #B92E8C;        /* 5,48:1 — text aj tlačidlá OK, dominantná farba loga (21 % plochy) */

  /* UI odtiene — tmavomodrá je náš pôvodný návrh (0F1F62), zvyšok odvodený */
  --blue-dark:  #0F1F62;        /* 15,08:1 AAA — nadpisy, tmavé sekcie */
  --blue:       #1D3573;        /* 11,61:1 AAA — tlačidlá, odkazy */
  --blue-hover: #0F1F62;
  --blue-active:#0D1A53;
  --pink-dark:  #9D2777;        /* 7,02:1 AAA — hover ružovej */
  --pink-light: #D47DB8;        /* 5,33:1 na --blue-dark — logo a akcenty na tmavom */

  /* Podklady a text */
  --tint:            #F0F8FB;
  --white:           #FFFFFF;
  /* Stmavené kvôli cieľovej skupine 50–60+: obe hodnoty spĺňajú WCAG AAA. */
  --text-muted:      #3F5162;   /* na bielej — 8,19:1 (AAA) */
  --text-muted-tint: #3F5162;   /* na --tint  — 7,46:1 (AAA) */
  --text-strong:     #13222D;
  --line:            #DFEAF1;
  --card-border:     #EEF6FA;
  --disabled:        #B9C7D4;

  /* Stavové pilulky */
  --ok-bg: #E8F6ED;      --ok-fg: #3B7849;
  --open-bg: #ECF6FB;    --open-fg: #1D3573;
  --pending-bg: #F3F1E9; --pending-fg: #7A6E32;   /* stmavené kvôli kontrastu */
  --sold-bg: #F6ECEC;    --sold-fg: #8A4444;

  /* Typografia — Open Sans na text, Fraunces (serif) na nadpisy */
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  /* Zväčšené pre cieľovú skupinu 50–60+. Základný text nikdy pod 18 px. */
  --fs-h1: 2.75rem;  --fs-h2: 2rem;  --fs-h3: 1.375rem;  --fs-h4: 1.125rem;
  --fs-lead: 1.125rem; --fs-body: 1rem; --fs-sm: .875rem; --fs-eyebrow: .75rem;

  /* Tvar a rozostupy — škála 4 px */
  --radius-btn: 8px; --radius-card: 14px; --radius-pill: 999px;
  --section-y: 64px; --content-max: 1200px;
  --shadow-card: 0 1px 3px rgba(43, 92, 115, .04);
}

@media (max-width: 768px) {
  :root { --fs-h1: 1.75rem; --fs-h2: 1.5rem; --fs-h3: 1.2rem; --section-y: 40px; }
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--blue-dark); line-height: 1.2; font-weight: 700; }
h1, h2 { font-family: var(--font-serif); font-weight: 500; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.005em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
ul, ol { padding-left: 1.25rem; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Prístupnosť: viditeľný focus všade */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-dark); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--tint p, .section--tint li { color: var(--text-muted-tint); }
.section--dark { background: var(--blue-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark li { color: #C6D6DF; }
.section__head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 48px; }
.section__head p { font-size: var(--fs-lead); margin-top: 16px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. TYPOGRAFICKÉ UTILITY
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block; font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.eyebrow--pink { color: var(--brand-pink); }
.section--dark .eyebrow { color: var(--brand-blue); }
.pill-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); color: var(--blue); border-radius: var(--radius-pill);
  padding: 7px 16px; font-size: var(--fs-eyebrow); font-weight: 600; margin-bottom: 20px;
}
.pill-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue);
}
.lead { font-size: var(--fs-lead); line-height: 1.6; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.accent { color: var(--blue); }     /* druhá polovica H1 */
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 24px; }
.prose ul { display: grid; gap: 8px; }
.prose li::marker { color: var(--brand-blue); }

/* --------------------------------------------------------------------------
   5. TLAČIDLÁ
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: var(--radius-btn); min-height: 52px;
  font-size: 1.0625rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
/* Hlavné akcie — objednávka a hlásenie výsledkov. */
.btn--lg { padding: 20px 34px; min-height: 62px; font-size: 1.1875rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--primary:active { background: var(--blue-active); }
.btn--secondary { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--secondary:active { background: var(--tint); }
/* Ružová = laboratórna vetva (viď 06-design-system.md, sekcia 1) */
.btn--pink { background: var(--brand-pink); color: #fff; }
.btn--pink:hover { background: var(--pink-dark); color: #fff; }
.btn--onDark { background: #fff; color: var(--blue-dark); }
.btn--onDark:hover { background: var(--tint); color: var(--blue-dark); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--disabled); pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. HLAVIČKA
   -------------------------------------------------------------------------- */
.topbar { background: var(--blue-dark); color: #fff; font-size: var(--fs-sm); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__right { display: flex; gap: 20px; align-items: center; }
.topbar__lang a { opacity: .65; padding-inline: 4px; }
.topbar__lang a[aria-current="true"] { opacity: 1; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--card-border); }
.header .wrap { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.logo { flex-shrink: 0; }
.logo img { height: 38px; width: auto; }   /* min. 32 px podľa 06-design-system.md */
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--blue-dark); font-size: .9375rem; font-weight: 600;
  white-space: nowrap; padding: 10px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.header__actions { display: flex; gap: 10px; flex-shrink: 0; }
.header__actions .btn { padding: 13px 20px; font-size: 1rem; min-height: 48px; }

/* Mobilné menu — bez JavaScriptu (checkbox) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; margin-left: auto; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px;
  position: relative; transition: transform .2s;
}
.nav-toggle-label span::before { content: ""; position: absolute; top: -7px; }
.nav-toggle-label span::after  { content: ""; position: absolute; top: 7px; }

@media (max-width: 1150px) {
  .header .wrap { flex-wrap: wrap; gap: 16px; min-height: 68px; }
  .nav-toggle-label { display: block; }
  .nav {
    display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0;
    border-top: 1px solid var(--card-border); margin-left: 0;
  }
  .nav a { display: flex; align-items: center; min-height: 56px; padding: 8px 0;
           border-bottom: 1px solid var(--card-border); font-size: 1.125rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--card-border); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header__actions { order: 2; width: 100%; }
  .header__actions .btn { flex: 1; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding-block: 72px 88px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero p.lead { margin-top: 20px; max-width: 34em; }
.hero .btn-row { margin-top: 32px; }
.trustline { margin-top: 36px; font-size: var(--fs-sm); color: var(--text-muted); }
.trustline strong { color: var(--blue-dark); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

/* --- Hero na tmavom gradiente s kartou (homepage) -------------------------- */
.hero--brand {
  position: relative; overflow: hidden; padding-block: 72px 96px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #14205E 60%, #3a2a63 100%);
}
.hero--brand::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 520px; height: 520px;
  border-radius: 50%; opacity: .5; pointer-events: none;
  background: radial-gradient(circle, var(--brand-pink) 0%, transparent 70%);
}
.hero--brand .hero__grid { position: relative; z-index: 1; }
.hero--brand .pill-label { background: rgba(107,180,211,.18); color: #8fd0e8; }
.hero--brand .pill-label::before { background: #8fd0e8; }
.hero--brand h1, .hero--brand h1 .accent { color: #fff; }
.hero--brand p.lead { color: #c7cbe8; }
.hero--brand .trustline { color: #a7ade0; }
.hero--brand .trustline strong { color: #fff; }
.hero--brand .link-arrow { color: #fff; }
.hero--brand .link-arrow:hover { color: #F0A8D8; }

.hero-card {
  background: #fff; border-radius: var(--radius-card); padding: 28px;
  box-shadow: 0 24px 48px rgba(6,10,40,.35);
}
.hero-card__eyebrow { font-family: var(--font-serif); font-size: .9375rem; color: var(--text-muted); margin-bottom: 4px; }
.hero-card__title { font-size: 1.375rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 18px; }
.hero-card .grid--2 { gap: 16px; }

.stat-tile strong { display: block; font-size: 1.625rem; font-weight: 800; color: var(--brand-pink); }
.stat-tile span { display: block; font-size: .8125rem; color: var(--text-muted); margin-top: 2px; }
.stat-tile--blue strong { color: var(--blue-dark); }

/* --- Rýchly prístup: karty prekrývajúce spodok hera ------------------------ */
.quick-cards { margin-top: -44px; position: relative; z-index: 2; }
.quick-card {
  background: #fff; border-radius: var(--radius-card); padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(15,31,98,.14); text-decoration: none; display: block;
}
.quick-card .icon-box { background: var(--blue-dark); color: #fff; margin-bottom: 20px; }
.quick-card .icon-box--pink { background: var(--brand-pink); }
.quick-card .icon-box--accent { background: var(--brand-blue); }
.quick-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--blue-dark); }
@media (max-width: 900px) { .quick-cards { margin-top: 24px; } }

/* --- About strip: text + 2×2 mriežka farebných dlaždíc --------------------- */
.about-strip__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { border-radius: var(--radius-card); padding: 24px; }
.tile strong { display: block; font-size: 1.75rem; font-weight: 800; }
.tile span { display: block; font-size: .8125rem; margin-top: 4px; }
.tile--navy { background: var(--blue-dark); color: #fff; }
.tile--navy span { color: #aab0da; }
.tile--pink { background: var(--brand-pink); color: #fff; }
.tile--pink span { color: #f3c6e4; }
.tile--white { background: #fff; box-shadow: var(--shadow-card); }
.tile--white strong { color: var(--blue-dark); }
.tile--white span { color: var(--text-muted); }
@media (max-width: 560px) { .about-strip__tiles { grid-template-columns: 1fr 1fr; } }

/* Labquality stránka — text + bočný panel so štatistikami */
.about-layout { display: flex; gap: 48px; align-items: flex-start; }
.about-layout__main { flex: 1 1 0; max-width: 760px; }
.about-layout__main p { margin-top: 12px; margin-bottom: 20px; }
.about-layout__lead { font-family: var(--font-serif); font-weight: 500; font-size: 1.375rem; line-height: 1.5; color: var(--blue-dark); margin-bottom: 8px; }
.about-layout__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none;
  background: #fff; border-radius: var(--radius-card); padding: 24px 28px; box-shadow: var(--shadow-card); margin-top: 12px;
}
.about-layout__side { flex: 0 0 320px; display: flex; flex-direction: column; gap: 16px; }
.about-layout__big-stat span { font-size: .8125rem; line-height: 1.5; }
@media (max-width: 900px) { .about-layout { flex-direction: column; } .about-layout__side { flex-basis: auto; width: 100%; } }

/* --------------------------------------------------------------------------
   8. KARTY
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card);
}
.card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.card__row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.card__row:last-child { border-bottom: 0; padding-bottom: 0; }
.card__row strong { color: var(--text-strong); font-weight: 600; display: block; }
.card__row .small { color: var(--text-muted); }

.icon-box {
  width: 48px; height: 48px; border-radius: 10px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--blue);
}
.icon-box--pink { background: #FBEDF5; color: var(--brand-pink); }
.icon-box svg { width: 22px; height: 22px; stroke-width: 1.8; }

/* Info karta — ikona v plnej farbe, nadpis, popis, odkaz (viď 06-design-system.md) */
.info-card { display: flex; flex-direction: column; gap: 10px; }
.info-card .icon-box { background: var(--blue-dark); color: #fff; }
.info-card .icon-box--pink { background: var(--brand-pink); color: #fff; }
.info-card .icon-box--accent { background: var(--brand-blue); color: #fff; }
.info-card h3 { font-size: 1.0625rem; }
.info-card p { margin: 0; flex: 1; }
.info-card .link-arrow { margin-top: 4px; }
.info-card--dark {
  background: linear-gradient(135deg, var(--blue-dark), #3a2a63); border: 0; justify-content: center;
}
.info-card--dark .link-arrow { color: #fff; }

/* Segmentová karta */
.segment { display: flex; flex-direction: column; height: 100%; }
.segment ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.segment li { position: relative; padding-left: 24px; font-size: var(--fs-body); }
.segment li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue);
}
.segment--lab li::before { background: var(--brand-pink); }
.segment .btn-row { margin-top: auto; }

/* Mriežka testov */
.test-card {
  background: #fff; border: 1px solid var(--card-border); border-radius: 12px;
  padding: 22px 16px; text-align: center; text-decoration: none; display: block;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.test-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(43,92,115,.07); }
.test-card strong { display: block; color: var(--blue-dark); font-size: 1.0625rem; font-weight: 700; }
.test-card span { display: block; font-size: var(--fs-sm); color: var(--text-muted); margin-top: 4px; }

/* Karta pracovného návodu — ikona + názov + 2×2 mriežka odkazov (viď 06-design-system.md) */
.navody-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.navody-card .icon-box { background: var(--blue-dark); color: #fff; margin-bottom: 0; }
.navody-card .icon-box--pink { background: var(--brand-pink); color: #fff; }
.navody-card .icon-box--accent { background: var(--brand-blue); color: #fff; }
.navody-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--blue-dark); }
.navody-card__links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px;
  padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--card-border);
}
.navody-card__links a {
  display: flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700;
  text-decoration: none; color: var(--blue-dark);
}
.navody-card__links a:nth-child(3), .navody-card__links a:nth-child(4) { color: var(--brand-pink); }
.navody-card__links svg { width: 13px; height: 13px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   9. STAVOVÉ PILULKY
   -------------------------------------------------------------------------- */
.pill {
  display: inline-block; border-radius: var(--radius-pill); padding: 5px 12px;
  font-size: .9375rem; font-weight: 600; white-space: nowrap;
}
.pill--ok      { background: var(--ok-bg);      color: var(--ok-fg); }
.pill--open    { background: var(--open-bg);    color: var(--open-fg); }
.pill--pending { background: var(--pending-bg); color: var(--pending-fg); }
.pill--sold    { background: var(--sold-bg);    color: var(--sold-fg); }

/* --------------------------------------------------------------------------
   10. ŠTATISTICKÝ PRUH
   -------------------------------------------------------------------------- */
.stats { border-block: 1px solid var(--card-border); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 32px; }
.stats strong { color: var(--blue-dark); font-size: 1.125rem; font-weight: 700; }
.stats span { font-size: var(--fs-sm); }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   11. ČÍSLOVANÁ OS (proces)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; font-weight: 700; font-size: 1.125rem;
  color: #fff; border: 2px solid var(--brand-blue); background: rgba(91,162,194,.14);
}
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: var(--fs-body); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. TABUĽKY
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius-card); }
table th, table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
table th { background: var(--tint); color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
table tr:last-child td { border-bottom: 0; }
table td strong { color: var(--text-strong); }

/* Legenda kalendára — 4 karty s ikonou (viď 06-design-system.md) */
.calendar-legend__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.calendar-legend__head { display: flex; align-items: center; gap: 8px; }
.calendar-legend__head svg { width: 16px; height: 16px; stroke: var(--brand-pink); flex-shrink: 0; }
.calendar-legend__head strong { color: var(--blue-dark); font-size: .9375rem; }
.calendar-legend__item p { margin: 0; }

/* Pilulky testov — kotvy na tabuľky nižšie */
.test-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.test-pills__item {
  background: #fff; color: var(--text-muted); padding: 10px 18px; border-radius: var(--radius-btn);
  font-size: .9375rem; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card);
}
.test-pills__item:hover { color: var(--blue-dark); }
.test-pills__item--active { background: var(--blue-dark); color: #fff; }
.test-pills__item--active:hover { color: #fff; }

/* Záložky ročníkov — CSS-only (radio + :checked) */
.yeartabs { margin-bottom: 32px; }
.yeartabs input { position: absolute; opacity: 0; pointer-events: none; }
.yeartabs__labels { display: inline-flex; gap: 4px; background: var(--tint); padding: 4px; border-radius: var(--radius-pill); }
.yeartabs__labels label {
  padding: 8px 22px; border-radius: var(--radius-pill); cursor: pointer;
  font-weight: 600; font-size: 1.0625rem; color: var(--text-muted-tint); transition: background .15s, color .15s;
}
/* Inputy sú súrodencami .yeartabs__labels, nie priamo pred labelmi —
   preto všeobecný súrodenecký kombinátor a cielenie cez [for]. */
#y2026:checked ~ .yeartabs__labels label[for="y2026"],
#y2027:checked ~ .yeartabs__labels label[for="y2027"] {
  background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-card);
}
#y2026:focus-visible ~ .yeartabs__labels label[for="y2026"],
#y2027:focus-visible ~ .yeartabs__labels label[for="y2027"] {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
.yearpanel { display: none; }
#y2026:checked ~ .yearpanels #panel-2026,
#y2027:checked ~ .yearpanels #panel-2027 { display: block; }

/* --------------------------------------------------------------------------
   13. FORMULÁRE
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--blue-dark); }
.field .hint { font-size: var(--fs-sm); color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 12px 14px; font-size: 1rem;   /* nikdy menej — iOS inak zoomuje */
  color: var(--blue-dark); width: 100%;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--blue); outline: 2px solid rgba(50,107,133,.25); outline-offset: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: var(--fs-sm); color: var(--text-muted); }

/* Prepínač ročníkov — vizuálny, súbeh dvoch ročníkov (viď dokumentacia/00-prehlad-faz.md) */
.year-selector {
  width: 100%; max-width: 560px; display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: var(--radius-card); padding: 20px 28px; box-shadow: var(--shadow-card);
  font-weight: 700; color: var(--blue-dark);
}
.year-selector__pills { display: inline-flex; background: var(--tint); border-radius: 10px; padding: 4px; gap: 4px; }
.year-selector__pill { padding: 10px 24px; border-radius: 8px; font-weight: 600; color: var(--text-muted); }
.year-selector__pill--active { background: var(--brand-pink); color: #fff; font-weight: 700; }

/* Prihlasovacia karta s magic-linkom */
.login-card { max-width: 560px; padding: 44px; margin: 0 auto; }
.login-card h2 { font-size: 1.375rem; margin-top: 4px; }
.login-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.login-steps li { display: flex; gap: 14px; align-items: flex-start; }
.login-steps__num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-dark); color: #fff;
  font-size: .8125rem; font-weight: 800; display: grid; place-items: center;
}
.login-steps__num--pink { background: var(--brand-pink); }

/* --------------------------------------------------------------------------
   14. FAQ — <details>, bez JavaScriptu
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; color: var(--blue-dark); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { padding-bottom: 22px; max-width: 68ch; }
.faq summary:hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   15. KONTAKTNÝ BLOK
   -------------------------------------------------------------------------- */
.person { display: grid; gap: 4px; }
.person strong { color: var(--blue-dark); font-size: 1.0625rem; }
.person .role { font-size: var(--fs-sm); }
.person a { font-weight: 500; }

/* Kontaktný panel — jedna vizitka (viď 06-design-system.md) */
.contact-panel { max-width: 480px; padding: 36px; }
.contact-panel .icon-box { margin-bottom: 20px; }
.contact-panel__org { margin-top: 16px; }
.contact-panel__org strong { display: block; color: var(--blue-dark); font-size: 1.0625rem; margin-bottom: 6px; }
.contact-panel__org p { margin-top: 8px; line-height: 1.6; }
.contact-panel__divider { height: 1px; background: var(--card-border); margin-block: 16px; }
.contact-panel__rows { display: grid; gap: 10px; }
.contact-panel__row { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue-dark); text-decoration: none; }
.contact-panel__row:hover { color: var(--brand-pink); }
.contact-panel__row svg { width: 16px; height: 16px; stroke: var(--brand-pink); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   16. CTA PÁS
   -------------------------------------------------------------------------- */
.cta-band { background: var(--blue-dark); color: #fff; border-radius: var(--radius-card); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C6D6DF; margin-top: 12px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* --------------------------------------------------------------------------
   17. PÄTIČKA
   -------------------------------------------------------------------------- */
.footer { background: var(--blue-dark); color: #C6D6DF; padding-block: 64px 32px; margin-top: 0; }
.footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer a { color: #C6D6DF; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 12px; font-size: var(--fs-sm); }
.footer__logo { background: #fff; padding: 10px 14px; border-radius: 8px; display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 32px; width: auto; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-sm);
}
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); }
.social a:hover { background: rgba(255,255,255,.2); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   18. DROBNOSTI
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: var(--fs-sm); padding-block: 20px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { color: var(--text-muted); }
.page-head { background: var(--blue-dark); padding-block: 48px 56px; }
.page-head h1 { color: #fff; }
.page-head p { font-size: var(--fs-lead); color: #C6D6DF; margin-top: 16px; max-width: 60ch; }
.note {
  background: var(--tint); border-left: 3px solid var(--brand-blue);
  padding: 18px 22px; border-radius: 0 8px 8px 0; font-size: var(--fs-body); color: var(--text-muted-tint);
}
.note--todo { background: #FDF6E7; border-left-color: #C9A227; color: #5C4E13; }

/* --------------------------------------------------------------------------
   19. ÚPRAVY PO PRIPOMIENKACH KLIENTA (feedback 1)
   Cieľová skupina 50–60+: väčšie plochy, žiadne skryté interakcie.
   -------------------------------------------------------------------------- */

/* Hero bez kalendárovej karty — jeden stĺpec, akcie hneď pod textom (obr1). */
.hero--simple { padding-block: 64px 72px; }
.hero--simple .wrap { max-width: 900px; }
.hero--simple h1 { max-width: 16em; }
.btn-row--hero { margin-top: 36px; gap: 16px; }
.hero__cal { margin-top: 28px; font-size: 1.0625rem; }

/* --- EHK testy: jeden blok na test ---------------------------------------- */
.test-block { padding-block: 72px; scroll-margin-top: 90px; }
.test-block__head { max-width: 760px; margin-bottom: 36px; }
.test-block__head .lead { margin-top: 12px; }
.test-block__sub {
  display: block; font-size: 1.125rem; font-weight: 500;
  color: var(--text-muted); margin-top: 6px;
}
.test-block--tint .test-block__sub { color: var(--text-muted-tint); }
.test-block__body { align-items: start; }
.test-block__back { margin-top: 28px; }

.panel {
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card);
  padding: 28px 30px; box-shadow: var(--shadow-card);
}
.panel + .panel, .test-block__body + .panel { margin-top: 24px; }
.panel h3 { margin-bottom: 18px; }
.panel ul { display: grid; gap: 12px; }
.panel--warn { background: #FDF6E7; border-color: #E8D9A8; }
.panel--warn h3 { color: #5C4E13; }
.panel--warn li { color: #5C4E13; }

.doc-list { list-style: none; padding-left: 0; display: grid; gap: 4px; }
.doc-list li { border-bottom: 1px solid var(--card-border); }
.doc-list li:last-child { border-bottom: 0; }
/* Celý riadok je klikateľný a vysoký aspoň 48 px. */
.doc-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 4px; text-decoration: none; font-weight: 600;
}
.doc-list a:hover { text-decoration: underline; }
.doc-type {
  flex-shrink: 0; font-size: .875rem; font-weight: 700; letter-spacing: .04em;
  color: var(--text-muted); background: var(--tint); border-radius: 4px; padding: 3px 8px;
}

/* Odkazy na fotky s vyznačeným LOT / exspirace, jeden na prístroj */
.device-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.device-links a {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  background: var(--tint); color: var(--blue-dark); font-size: .8125rem; font-weight: 600;
  padding: 7px 12px; border-radius: var(--radius-pill);
}
.device-links a:hover { background: var(--line); }
.device-links a svg { width: 13px; height: 13px; stroke: var(--brand-pink); flex-shrink: 0; }

/* --- Kontakt: tri veľké dlaždice namiesto formulára ------------------------ */
.contact-cards { gap: 20px; }
.contact-card {
  display: block; text-decoration: none; padding: 32px 30px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-card);
  transition: border-color .15s, background-color .15s;
}
.contact-card:hover { border-color: var(--blue); background: var(--tint); }
.contact-card__label {
  display: block; font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.contact-card__value {
  display: block; font-size: 1.375rem; color: var(--blue-dark); line-height: 1.3;
  overflow-wrap: anywhere;
}
.contact-card__note { display: block; margin-top: 10px; font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .test-block { padding-block: 56px; }
}
