/* ==========================================================================
   Mediol - verejny web (mediol.cz, psychiatrie.mediol.cz)
   Vizual podle prototypu "Mediol Praktik" (Claude Design). Barvy jsou jen
   v tokenech nize - druhy web je prebiji v assets/theme-<nazev>.css.
   ========================================================================== */

:root {
  /* Plochy a text */
  --bg: #F8FAF4;
  --surface: #FFFFFF;
  --surface-2: #FCFDF9;
  --ink: #1B2419;
  --ink-strong: #182310;
  --ink-2: #3F4A38;
  --muted: #576053;
  --muted-2: #6C7667;
  --line: #E4EADD;
  --line-soft: #EDF1E6;
  --line-strong: #CDD8C2;
  --hover: #EDF0E4;
  --hover-soft: #F4F9EC;

  /* Akcent */
  --accent: #3E6B0E;
  --accent-hover: #2F5210;
  --accent-ink: #2F5210;
  --focus: #5A9410;
  --brand: #8DC61E;
  --tint: #EFF7DF;
  --tint-2: #EAF3D9;
  --tint-ink: #2E723C;
  --selection: #E3F3C4;
  --glow: rgba(141, 198, 30, 0.26);

  /* Hlavni tlacitko */
  /* Zelena tlacitka maji bile pismo i ikonu - pozadi je proto o odstin
     tmavsi nez v prototypu, aby bily text splnil kontrast (WCAG). */
  --cta-bg: linear-gradient(135deg, #5E9E12 0%, #3E7A0C 100%);
  --cta-bg-hover: linear-gradient(135deg, #6AAE16 0%, #4A8A10 100%);
  --cta-ink: #FFFFFF;
  --cta-shadow: 0 6px 20px rgba(94, 158, 18, 0.34);
  --cta-shadow-sm: 0 1px 2px rgba(94, 158, 18, 0.35);

  /* Tmave plochy (karta "Jsem firma", paticka) */
  --deep-bg: linear-gradient(150deg, #2E723C 0%, #0D3C19 100%);
  --deep-solid: #2E723C;
  --deep-ink: #FFFFFF;
  --deep-ink-2: #DCEBC8;
  --deep-accent: #C6E88A;
  --footer-bg: linear-gradient(160deg, #2E723C 0%, #0D3C19 100%);
  --footer-ink: #E9F1E2;
  --footer-muted: #C8D6BE;
  --footer-label: #A9BBA0;

  /* Hero */
  --hero-bg: #EAF3D9;
  --hero-img: url("img/hero-lekar.jpg");
  --hero-img-sm: url("img/hero-lekar-1200.jpg");
  --hero-pos: 72% center;
  --hero-pos-sm: 78% center;
  --hero-scrim: linear-gradient(100deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 34%, rgba(246,252,235,0.55) 52%, rgba(246,252,235,0) 68%);
  --hero-scrim-sm: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(246,252,235,0.75) 100%);
  --section-gradient: linear-gradient(180deg, #FFFFFF 0%, #F4FAE7 100%);

  /* Provozni stav */
  --st-provoz-bg: linear-gradient(90deg, #EFF7DF 0%, #F8FAF4 100%);
  --st-provoz-line: #D4E6AC; --st-provoz-dot: #5A9410; --st-provoz-ring: rgba(141,198,30,0.24); --st-provoz-ink: #22340C; --st-provoz-ink2: #4B5A34;
  --st-omezeno-bg: linear-gradient(90deg, #FDF2DA 0%, #FCF9F1 100%);
  --st-omezeno-line: #EBD7A8; --st-omezeno-dot: #9A6300; --st-omezeno-ring: rgba(138,90,0,0.16); --st-omezeno-ink: #4A3200; --st-omezeno-ink2: #6B4D12;
  --st-zavreno-bg: linear-gradient(90deg, #FBE9E4 0%, #FBF5F3 100%);
  --st-zavreno-line: #EDC9C0; --st-zavreno-dot: #B23A20; --st-zavreno-ring: rgba(140,47,47,0.16); --st-zavreno-ink: #4E1A12; --st-zavreno-ink2: #6E3327;
  --st-mimo-bg: linear-gradient(90deg, #F0F2EC 0%, #F8FAF4 100%);
  --st-mimo-line: #DDE3D5; --st-mimo-dot: #7A8574; --st-mimo-ring: rgba(87,96,83,0.14); --st-mimo-ink: #2A3327; --st-mimo-ink2: #576053;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --container: 1180px;
  --gutter: 24px;
  --header-h: 71px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ── Zaklad ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--selection); }
input, textarea, button, select { font: inherit; color: inherit; }
table { border-collapse: collapse; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); font-size: 16.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* ── Tlacitka ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 11px 16px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn svg { flex: none; }
.btn--cta { background: var(--cta-bg); color: var(--cta-ink); box-shadow: var(--cta-shadow-sm); }
.btn--cta:hover { background: var(--cta-bg-hover); color: var(--cta-ink); }
.btn--outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--outline svg { color: var(--accent); }
.btn--outline:hover { border-color: var(--accent); color: var(--ink); }
.btn--link { background: none; padding-left: 6px; padding-right: 6px; color: var(--accent-ink); }
.btn--link:hover { color: var(--focus); }
.btn--lg { min-height: 52px; padding: 16px 24px; font-size: 17.5px; border-radius: 12px; }
.btn--lg.btn--cta { box-shadow: var(--cta-shadow); }
.btn--lg.btn--link { padding-left: 6px; padding-right: 6px; font-size: 17px; }

/* ── Hlavicka ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 250, 244, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px);
  padding: 12px clamp(16px, 2.4vw, 40px);
}
.brand { display: flex; flex: none; }
.brand img { display: block; height: 46px; width: auto; }
.header-main { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); margin-left: auto; min-width: 0; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 9px clamp(7px, 0.8vw, 11px); border-radius: 8px;
  font-size: 15.5px; font-weight: 500; white-space: nowrap;
  color: var(--muted); text-decoration: none;
}
.main-nav a:hover { background: var(--hover); color: var(--ink); }
.main-nav a.is-active { background: var(--hover); color: var(--ink); }
/* Odkaz na sesterskou ordinaci (jiny web) - jemne odliseny obrysem a sipkou */
.main-nav a.nav-external { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding-top: 7px; padding-bottom: 7px; border: 1px dashed var(--line-strong); color: var(--accent-ink); }
.main-nav a.nav-external svg { opacity: .7; }
.main-nav a.nav-external:hover { border-style: solid; border-color: var(--accent); background: var(--hover-soft); }
.mobile-nav a.nav-external { color: var(--accent-ink); }
.nav-external__hint { margin-left: 8px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; color: var(--ink);
}
.menu-toggle__open, .menu-toggle__close { place-items: center; }
.menu-toggle__open { display: grid; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: grid; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 6px 20px 16px; display: grid; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 15px 6px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid #F0EDE6; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────── */
.home { background: radial-gradient(1000px 460px at 86% -10%, var(--glow) 0%, transparent 68%); }
.hero {
  position: relative;
  background-color: var(--hero-bg);
  background-image: var(--hero-img);
  background-size: cover; background-position: var(--hero-pos); background-repeat: no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); pointer-events: none; }
.hero__media { display: none; }
.hero__inner { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 44px); }
.hero__text { padding: clamp(40px, 7vw, 96px) 0; max-width: min(640px, 62%); }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600;
  color: var(--ink-strong);
}
.hero__sub { margin: 0 0 14px; font-size: clamp(19px, 2.1vw, 22px); line-height: 1.45; color: var(--accent-ink); font-weight: 600; }
.hero__lead { margin: 0 0 32px; font-size: 18.5px; line-height: 1.62; color: var(--ink-2); max-width: 52ch; }
.hero__lead p { margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Provozni stav ───────────────────────────────────────── */
.status { --s-bg: var(--st-provoz-bg); --s-line: var(--st-provoz-line); --s-dot: var(--st-provoz-dot); --s-ring: var(--st-provoz-ring); --s-ink: var(--st-provoz-ink); --s-ink2: var(--st-provoz-ink2);
  border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); background: var(--s-bg); }
.status--omezeno { --s-bg: var(--st-omezeno-bg); --s-line: var(--st-omezeno-line); --s-dot: var(--st-omezeno-dot); --s-ring: var(--st-omezeno-ring); --s-ink: var(--st-omezeno-ink); --s-ink2: var(--st-omezeno-ink2); }
.status--zavreno { --s-bg: var(--st-zavreno-bg); --s-line: var(--st-zavreno-line); --s-dot: var(--st-zavreno-dot); --s-ring: var(--st-zavreno-ring); --s-ink: var(--st-zavreno-ink); --s-ink2: var(--st-zavreno-ink2); }
.status--mimo { --s-bg: var(--st-mimo-bg); --s-line: var(--st-mimo-line); --s-dot: var(--st-mimo-dot); --s-ring: var(--st-mimo-ring); --s-ink: var(--st-mimo-ink); --s-ink2: var(--st-mimo-ink2); }
.status__inner { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.status__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--s-dot); flex: none; box-shadow: 0 0 0 4px var(--s-ring); }
.status--provoz .status__dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--s-ring); } 50% { box-shadow: 0 0 0 7px var(--s-ring); } }
@media (prefers-reduced-motion: reduce) { .status--provoz .status__dot { animation: none; } }
.status__text { flex: 1 1 320px; min-width: 0; }
.status__title { margin: 0; font-size: 19.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--s-ink); }
.status__detail { margin: 4px 0 0; font-size: 16.5px; color: var(--s-ink2); }
.status__valid { margin: 0; flex: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-ink2); }

/* ── Sekce ───────────────────────────────────────────────── */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); }
.section--gradient { background: var(--section-gradient); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--insurers { padding-top: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.section-title { margin: 0 0 36px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.section-title--with-lead { margin-bottom: 12px; }
.section-title--sm { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.section-lead { margin: 0 0 36px; font-size: 18.5px; color: var(--muted); max-width: 58ch; }
.section-lead strong { color: var(--ink); }
.section-lead--sm { margin-bottom: 22px; font-size: 16.5px; }

/* ── Karty "Jsem pacient / Jsem firma" ───────────────────── */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.path-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.path-card__icon { color: var(--accent); }
.path-card h2 { margin: 16px 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.path-card > p { margin: 0 0 22px; font-size: 17px; color: var(--muted); max-width: 42ch; }
.link-list { display: grid; gap: 1px; margin-top: auto; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; padding: 15px 16px;
  background: var(--surface); color: var(--ink); font-weight: 500; font-size: 16.5px; text-decoration: none;
}
.link-list a span { color: var(--accent); transition: transform .15s ease; }
.link-list a:hover { background: var(--hover-soft); }
.link-list a:hover span { transform: translateX(3px); }
.path-card--deep { background: var(--deep-bg); border: 0; color: var(--deep-ink); }
.path-card--deep .path-card__icon { color: var(--deep-accent); }
.path-card--deep h2 { color: var(--deep-ink); }
.path-card--deep > p { color: var(--deep-ink-2); }
.path-card--deep .link-list { background: rgba(255,255,255,0.16); border: 0; }
.path-card--deep .link-list a { background: rgba(255,255,255,0.1); color: var(--deep-ink); }
.path-card--deep .link-list a span { color: var(--deep-accent); }
.path-card--deep .link-list a:hover { background: rgba(255,255,255,0.18); }

/* ── Ordinacni hodiny ────────────────────────────────────── */
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: start; }
.hours__notes { display: grid; gap: 14px; }
.hours__notes .muted { margin: 6px 0 0; }
.hours__tables { display: grid; gap: 24px; }
.hours__emergency { margin: -10px 0 0; font-size: 16px; }
/* Vic rozpisu (napr. kazda lekarka): upozorneni pres celou sirku, tabulky vedle sebe. */
.hours--multi { grid-template-columns: 1fr; gap: 24px; }
.hours--multi .hours__tables { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 28px; align-items: start; }
.hours--multi .hours__emergency { grid-column: 1 / -1; margin: 0; }
.callout {
  display: flex; gap: 14px; padding: 20px;
  background: var(--tint); border-left: 3px solid var(--accent); border-radius: 4px 12px 12px 4px;
}
.callout svg { flex: none; margin-top: 4px; color: var(--accent); }
.callout p { margin: 0; font-size: 17.5px; color: var(--ink); }
.hours-table { width: 100%; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
.hours-table caption { caption-side: top; text-align: left; padding: 0 0 12px; font-size: 15.5px; color: var(--muted); }
.hours-table caption strong { color: var(--ink); }
.hours-table__who { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--accent-ink); }
.hours-table__spec { display: block; margin-top: 3px; font-size: 15.5px; color: var(--muted); }
.hours-table th, .hours-table td { padding: 16px 18px; font-size: 17.5px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { width: 44%; font-weight: 400; color: var(--ink); }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table tr.is-today { background: var(--tint); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 600; color: var(--st-provoz-ink); }
.hours-table tr.is-closed:not(.is-today) th, .hours-table tr.is-closed:not(.is-today) td { color: var(--muted); }
.hours-table__today { font-weight: 600; }
.hours-table__note { display: block; font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* ── Lekari (navrh: zdroj/navrh lekar uvodni strana.png) ───── */
.doctors { display: grid; gap: 28px; }
.doctor {
  display: grid; grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
  background: var(--surface); border-radius: 24px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,36,25,.04), 0 18px 40px -22px rgba(27,36,25,.22);
}
.doctor__media { position: relative; min-height: 560px; overflow: hidden; background: var(--tint-2); }
.doctor__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.doctor__media--empty { display: flex; align-items: flex-start; justify-content: flex-end; min-height: 380px; padding: 28px 32px; background: var(--deep-bg); }
.doctor__monogram { font-size: 120px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: rgba(255,255,255,.16); }
.doctor__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; fill: var(--tint); opacity: .9; }
.doctor__id {
  position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px);
  padding: 26px 28px 24px; border-radius: 20px;
  background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 12px 32px -12px rgba(27,36,25,.35);
}
.doctor__degree { margin: 0 0 4px; font-family: var(--mono); font-size: 15px; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 500; }
.doctor__name { margin: 0 0 18px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; color: var(--ink-strong); }
.doctor__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.doctor__tags li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line-strong); font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.doctor__tags li:first-child { background: var(--deep-solid); border-color: var(--deep-solid); color: #FFFFFF; font-weight: 600; }
.doctor__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15.5px; font-weight: 500; }

.doctor__body { padding: 44px clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.doctor__label { display: flex; align-items: center; gap: 18px; margin: 0 0 6px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.doctor__label::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--deep-solid); }
.quals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quals li {
  display: flex; gap: 18px; align-items: center; min-height: 112px; padding: 20px 22px;
  border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line);
  font-size: 17px; line-height: 1.45; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.quals li:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px -12px rgba(27,36,25,.25); }
.quals__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--tint); color: var(--tint-ink); }
.doctor__note {
  position: relative; overflow: hidden;
  display: flex; gap: 22px; align-items: center; margin-top: 6px; padding: 22px 26px;
  border-radius: 18px; background: linear-gradient(135deg, var(--tint) 0%, var(--hover-soft) 100%);
}
.doctor__note::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.45); transform: rotate(-18deg); pointer-events: none; }
.doctor__note-icon { display: grid; place-items: center; flex: none; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.55); color: var(--tint-ink); }
.doctor__note p { position: relative; z-index: 1; margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.doctor__note a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--tint-ink); }

.bullets { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 11px; }
.bullets li { position: relative; padding-left: 22px; font-size: 17px; }
.bullets li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); }
.bullets--light li { color: var(--deep-ink); }
.bullets--light li::before { color: var(--deep-accent); }

/* ── Lokalita ────────────────────────────────────────────── */
.location { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.map-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.map { position: relative; z-index: 0; width: 100%; height: clamp(300px, 34vw, 400px); background: #EEF0EC; }
.map__fallback { display: grid; place-items: center; height: 100%; font-weight: 600; }
.map .maplibregl-ctrl-group { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(27,36,25,.12); }
.map .maplibregl-ctrl-group button { width: 34px; height: 34px; }
.map .maplibregl-ctrl-attrib { font-size: 10.5px; }
.map-pin { position: relative; width: 64px; height: 64px; cursor: pointer; }
.map-pin__dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--deep-solid); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(13,60,25,.35); }
.map-pin__pulse { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--brand); opacity: .22; }
@media (prefers-reduced-motion: no-preference) { .map-pin__pulse { animation: pin 2.6s ease-out infinite; } }
@keyframes pin { 0% { transform: scale(.35); opacity: .45; } 100% { transform: scale(1); opacity: 0; } }
.map-label .maplibregl-popup-content { padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 13.5px/1.3 var(--font); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.map-label.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--ink); }
.map-label.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--ink); }
.map-card__foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; padding: 14px 16px; border-top: 1px solid var(--line); }
.map-card__foot p { margin: 0; font-size: 15px; color: var(--muted); }
.map-card__foot a { font-size: 15.5px; font-weight: 600; }
.info-tiles { display: grid; gap: 12px; }
.info-tile { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.info-tile svg { flex: none; margin-top: 3px; color: var(--accent); }
.info-tile h3 { margin: 0 0 5px; font-size: 18.5px; font-weight: 600; }
.info-tile p { margin: 0; font-size: 16.5px; color: var(--muted); }

/* ── Pojistovny ──────────────────────────────────────────── */
.insurers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.insurer { display: grid; place-items: center; height: 104px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(27,36,25,0.05); }
.insurer img { display: block; max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
.insurer__name { font-size: 15px; text-align: center; color: var(--ink-2); }
.insurers__note { margin: 18px 0 0; max-width: 70ch; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--hover-soft); }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .2s ease; }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__answer { padding: 0 22px 22px; font-size: 17px; color: var(--muted); max-width: 66ch; }

/* ── Zahlavi podstranek ──────────────────────────────────── */
.page-head { padding-top: 56px; padding-bottom: 32px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; color: var(--ink-strong); }
.page-head__lead { font-size: 18.5px; color: var(--muted); max-width: 62ch; }
.page-head__lead p { margin: 0 0 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--tint); border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 500; color: var(--tint-ink); }

/* ── Textovy obsah z editoru ─────────────────────────────── */
.prose { font-size: 17.5px; }
.prose > :first-child, .prose .content-block > :first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 32px 0 12px; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose table { width: 100%; margin: 0 0 18px; }
.prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose img { border-radius: 12px; }
.prose--page { max-width: 820px; }
.content-block { margin-bottom: 32px; }
.block-headline { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 12px; }
.block-perex { font-size: 18.5px; color: var(--muted); margin: 0 0 16px; }
.block-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.block-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.headline--size-lg { font-size: 34px; }
.headline--size-sm { font-size: 20px; }
.headline--color-accent { color: var(--accent); }
.headline--color-black { color: var(--ink-strong); }
.align-center { text-align: center; }
.align-right { text-align: right; }
.col-width-66 { max-width: 66%; }
.col-width-50 { max-width: 50%; }
.col-count-2 .block-content { columns: 2; column-gap: 32px; }
.col-count-3 .block-content { columns: 3; column-gap: 32px; }

/* ── Karty textovych bloku (Pro pacienty, Pro firmy) ─────── */
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.info-card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.info-card .prose { font-size: 17px; color: var(--ink-2); }
.info-card .prose > :last-child { margin-bottom: 0; }
.info-card__img { margin-top: 16px; border-radius: 12px; }
.info-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.teaser .muted { margin: 0; max-width: 60ch; }

/* ── Pro firmy ───────────────────────────────────────────── */
.firmy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.firmy__services { padding: 36px; }
.firmy__services h2 { margin: 16px 0 18px; }
.firmy__services .bullets { margin: 0; }
.firmy__side { display: grid; gap: 20px; }
.firmy__inquiry .section-lead { margin-bottom: 28px; }
.firmy__inquiry .section-lead > :first-child { margin-top: 0; }
.firmy__inquiry .section-lead > :last-child { margin-bottom: 0; }

/* ── Dokumenty ───────────────────────────────────────────── */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; }
.doc:hover { border-color: var(--accent); background: var(--hover-soft); color: var(--ink); }
.doc__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--tint); color: var(--accent); }
.doc__text { display: grid; min-width: 0; flex: 1; }
.doc__title { font-weight: 600; font-size: 16.5px; }
.doc__meta { font-size: 14px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.02em; }
.doc__dl { color: var(--accent); flex: none; }

/* ── Formulare ───────────────────────────────────────────── */
.form { display: grid; gap: 16px; padding: 28px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); font-size: 17px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form .btn { justify-self: start; }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; font-size: 16.5px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert--success { background: var(--tint); border: 1px solid var(--st-provoz-line); color: var(--st-provoz-ink); }
.alert--success svg { flex: none; color: var(--accent); margin-top: 2px; }
.alert--error { background: #FBE9E4; border: 1px solid #EDC9C0; color: #4E1A12; }

/* ── Cenik ───────────────────────────────────────────────── */
.price-toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 12px 0 14px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.price-search { position: relative; flex: 1 1 260px; min-width: 0; }
.price-search svg { position: absolute; left: 14px; top: 15px; color: var(--muted); }
.price-search input { width: 100%; min-height: 50px; padding: 13px 14px 13px 42px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); font-size: 17px; }
.price-search input:focus { outline: 2px solid var(--focus); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 46px; padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 15.5px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--deep-solid); border-color: var(--deep-solid); color: #FFFFFF; }
.price-table { width: 100%; margin-top: 2px; }
.price-table th { padding: 16px 4px 12px; text-align: left; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.price-table td { padding: 18px 12px 18px 4px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table__name { display: block; font-size: 17.5px; font-weight: 500; color: var(--ink); }
.price-table__note { display: block; margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.price-table__price { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 17.5px; font-weight: 600; padding-right: 4px !important; }
.price-table__price.is-text { color: var(--muted-2); font-weight: 500; }
.price-table__code { width: 90px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.price-table tr.is-hidden { display: none; }
.price-empty { margin: 40px 0 0; padding: 28px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 17px; color: var(--muted); }
.note-card { margin-top: 36px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; max-width: 760px; }
.note-card h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.note-card .bullets { margin: 0; gap: 10px; }
.note-card .bullets li { font-size: 16.5px; color: var(--muted); }

/* ── Kontakty ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.contact-card { padding: 0; }
.contact-card h2 { margin: 0 0 20px; font-size: 24px; letter-spacing: -0.02em; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17.5px; }
.contact-list svg { flex: none; margin-top: 2px; color: var(--accent); }
.contact-list a { font-weight: 500; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-meta dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-meta dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.contact-card__actions { margin: 24px 0 0; }
.contact-intro { color: var(--ink-2); }

/* ── 404 ─────────────────────────────────────────────────── */
.notfound h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.025em; font-weight: 600; }

/* ── Paticka ─────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: #FFFFFF; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__logo { display: block; height: 36px; width: auto; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; font-size: 16.5px; color: var(--footer-ink); }
.site-footer .site-footer__about { color: var(--footer-muted); max-width: 30ch; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #FFFFFF; }
.site-footer__label { margin: 0 0 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-label); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__links a { font-size: 16.5px; color: var(--footer-ink); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.site-footer__bottom p { margin: 0; padding-top: 18px; padding-bottom: 18px; font-size: 15px; color: var(--footer-label); }

/* ── Mobilni lista ───────────────────────────────────────── */
.mobile-cta { display: none; }

/* ── Responzivita ────────────────────────────────────────── */
@media (max-width: 1119px) {
  :root { --header-h: 71px; }
  .header-main { display: none; }
  .menu-toggle { display: grid; }
  body { padding-bottom: 76px; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(27,36,25,0.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 17px 10px; font-size: 17px; font-weight: 600; text-decoration: none; }
  .mobile-cta__call { background: var(--surface); color: var(--ink); }
  .mobile-cta__call svg { color: var(--accent); }
  .mobile-cta__book { background: var(--cta-bg); color: var(--cta-ink); }
  .mobile-cta__call:hover { color: var(--ink); }
  .mobile-cta__book:hover { color: var(--cta-ink); }

  .hero { background-image: none; }
  .hero::before { background: var(--hero-scrim-sm); }
  .hero__media { display: block; position: relative; height: 200px; margin: 0; background-image: var(--hero-img-sm); background-size: cover; background-position: var(--hero-pos-sm); }
  .hero__text { max-width: 100%; }

  .firmy__grid, .contact-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__media { min-height: 460px; }
  .price-toolbar { top: var(--header-h); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .brand img { height: 40px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--tight { padding-top: 40px; padding-bottom: 40px; }
  .page-head { padding-top: 40px; }
  .paths, .hours, .location, .info-cards { grid-template-columns: 1fr; }
  .path-card, .info-card, .teaser { padding: 24px; }
  .hero__actions .btn--lg { width: 100%; }
  .hero__actions .btn--link { width: auto; }
  .quals { grid-template-columns: 1fr; }
  .quals li { min-height: 0; padding: 16px; }
  .quals__icon { width: 50px; height: 50px; border-radius: 14px; }
  .doctor__body { padding: 28px 20px; }
  .doctor__media { min-height: 0; padding: 290px 16px 16px; }
  .doctor__photo { height: 330px; bottom: auto; }
  .doctor__wave { height: 120px; }
  .doctor__id { position: relative; left: auto; bottom: auto; max-width: none; padding: 20px; }
  .doctor__tags { flex-direction: row; flex-wrap: wrap; }
  .doctor__note { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .doctor__note-icon { width: 60px; height: 60px; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .insurers { grid-template-columns: repeat(2, 1fr); }
  .insurer { height: 88px; padding: 14px; }
  .price-table__code { display: none; }
  .block-split { grid-template-columns: 1fr; }
  .col-width-66, .col-width-50 { max-width: 100%; }
  .col-count-2 .block-content, .col-count-3 .block-content { columns: 1; }
  .chips { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .chip { flex: none; }
}

@media print {
  .site-header, .mobile-cta, .site-footer, .price-toolbar, .hero__actions { display: none !important; }
  body { padding: 0; background: #fff; }
}
.maplibregl-popup.map-label { max-width: none !important; }
.map-label .maplibregl-popup-content { white-space: nowrap; }

/* ── Cookies: lista, nastaveni, odkazy v paticce ─────────── */
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.site-footer__bottom-inner p { margin: 0; padding: 0; font-size: 15px; color: var(--footer-label); }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__legal a, .site-footer__legal .linklike { font-size: 15px; color: var(--footer-ink); }
.linklike { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

.cookie-banner {
  position: fixed; z-index: 60; right: 20px; bottom: 20px; width: min(460px, calc(100% - 32px));
  display: grid; gap: 16px; padding: 22px 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(27,36,25,.32);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.cookie-banner p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-banner__actions .btn--link { grid-column: 1 / -1; justify-self: center; min-height: 36px; padding: 6px 10px; font-size: 15px; text-decoration: underline; }
/* Prijmout i Odmitnout stejne vyrazne (doporuceni UOOU/EDPB - zadne "dark patterns"). */
.btn--cookie { background: var(--deep-solid); border-color: var(--deep-solid); color: #FFFFFF; }
.btn--cookie:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #FFFFFF; }

.cookie-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.cookie-dialog::backdrop { background: rgba(16, 24, 16, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cookie-dialog__inner { position: relative; padding: 28px; }
.cookie-dialog h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; padding-right: 40px; }
.cookie-dialog .muted { margin: 0 0 18px; font-size: 15.5px; }
.cookie-dialog__close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.cookie-cat { padding: 16px 18px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.cookie-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
.cookie-cat h3 { margin: 0; font-size: 17px; }
.cookie-cat h3 label { cursor: pointer; }
.cookie-cat p { margin: 0; font-size: 15px; color: var(--muted); }
.cookie-cat__always { font-size: 13.5px; font-weight: 600; color: var(--tint-ink); }
.cookie-dialog__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.cookie-dialog__more { margin: 14px 0 0; font-size: 14.5px; text-align: center; }
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 46px; height: 26px; border-radius: 26px; background: var(--line-strong); transition: background .15s ease; position: relative; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s ease; }
.switch input:checked + .switch__track { background: var(--deep-solid); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 2px; }

@media (max-width: 1119px) {
  .cookie-banner { left: 12px; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); width: auto; }
}
@media (max-width: 520px) {
  .cookie-dialog__actions { grid-template-columns: 1fr; }
  .cookie-dialog__inner { padding: 22px 18px; }
}
@media print { .cookie-banner, .cookie-dialog { display: none !important; } }
