/* =====================================================================
   Úrad v poriadku — téma webu (návrh A „Pečať“ = tmavá, PREDVOLENÁ; návrh B „Deň po voľbách“ = svetlá).
   Všetky farby a písma sú len v premenných nižšie; svetlá téma ich prepisuje pod :root[data-theme="light"]
   (prepínač ☀/☾ v pätičke, localStorage „uvp.theme“). Načítava sa PO app.css (komponenty z AINO),
   preto tu definované tlačidlá, nadpisy a odkazy majú prednosť.
   ===================================================================== */
:root {
  /* ---- tmavá téma (návrh A) ---- */
  --bg: #0b2b2a;          /* hlboká petrolejová – základ */
  --bg-2: #123d3a;        /* svetlejší pás sekcií */
  --bg-3: #0a2322;        /* tmavší pás (hero, pätička) */
  --panel: rgba(255, 255, 255, .05);
  --panel-strong: rgba(255, 255, 255, .09);
  --panel-solid: #103734; /* nepriehľadný panel (rozbaľovacie menu, karty aplikácie) */
  --line: rgba(242, 182, 60, .22);
  --line-strong: rgba(242, 182, 60, .55);
  --gold: #f2b63c;        /* hlavný akcent – fajka, tlačidlá, čísla */
  --gold-2: #ffd27a;
  --gold-rgb: 242, 182, 60;
  --cream: #f7efe0;
  --text: #eef4f1;
  --text-2: #c3d4cf;
  --muted: #9fb8b2;
  --ink: #06201e;         /* text na zlatom podklade */
  --header-bg: rgba(10, 35, 34, .86);
  --input-bg: rgba(0, 0, 0, .25);
  --hero-tint: rgba(10, 35, 34, 0);
  --ok: #6ee7a8;
  --err: #ff8a8a;
  --warn-text: #f7c56b;
  --violet: #c4a7ff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --max: 1800px;
  --font-display: "Archivo", "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  /* ---- aliasy pre komponenty prevzaté z AINO (app.css) ---- */
  --bg-alt: var(--bg-2);
  --surface: var(--panel-solid);
  --surface-2: var(--bg-2);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text-dim: var(--text-2);
  --text-faint: var(--muted);
  --accent: var(--gold);
  --accent-2: var(--gold);
  --accent-3: var(--gold-2);
  --accent-rgb: var(--gold-rgb);
  --accent-strong: var(--gold-2);
  --ink-rgb: 0, 0, 0;
  --on-accent: var(--ink);
  --grad: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  --warn: var(--gold);
  --card-shadow: 0 14px 40px -24px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 0 1px var(--line);
  --maxw: 1240px;
  color-scheme: dark;
}

/* ---- svetlá téma (návrh B) — voľba návštevníka ---- */
:root[data-theme="light"] {
  --bg: #f6f2ea;          /* nebielený papier */
  --bg-2: #ebe4d6;
  --bg-3: #f6f2ea;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(23, 24, 28, .14);
  --line-strong: rgba(23, 24, 28, .32);
  --gold: #d9532b;        /* terakota */
  --gold-2: #b8401d;
  --gold-rgb: 217, 83, 43;
  --cream: #4a2b4f;       /* slivková – nadpisy a slogan */
  --text: #17181c;
  --text-2: #3a3b40;
  --muted: #6b6760;
  --ink: #ffffff;         /* text na terakotovom podklade */
  --header-bg: rgba(246, 242, 234, .92);
  --input-bg: #f6f2ea;
  --ok: #047857;
  --err: #b91c1c;
  --warn-text: #a15c07;
  --violet: #6d28d9;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 20px 50px rgba(23, 24, 28, .12);
  --font-display: "Sora", "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter Tight", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --ink-rgb: 23, 24, 28;
  --card-shadow: 0 1px 2px rgba(23, 24, 28, .05), 0 14px 30px -18px rgba(23, 24, 28, .18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* jemné „pečatné“ kruhy v pozadí celej stránky (len tmavá téma) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 85% 12%, rgba(var(--gold-rgb), .10) 0, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(var(--gold-rgb), .06) 0, transparent 40%);
}
:root[data-theme="light"] body::before {
  background-image: radial-gradient(rgba(23, 24, 28, .05) .6px, transparent .6px);
  background-size: 5px 5px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 14px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(24px, 2.8vw, 36px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
:root[data-theme="light"] h2 { color: var(--cream); }

/* ---------- verejné stránky (návrh A/B): plagátové nadpisy, široké pásy ---------- */
.verejna main p { margin: 0 0 14px; }
.verejna main h1 { font-size: clamp(44px, 7vw, 104px); text-transform: uppercase; line-height: .95; letter-spacing: -.03em; }
:root[data-theme="light"] .verejna main h1 { text-transform: none; font-size: clamp(46px, 7.4vw, 116px); letter-spacing: -.045em; }
.verejna main h2 { font-size: clamp(32px, 4.2vw, 56px); text-transform: uppercase; }
:root[data-theme="light"] .verejna main h2 { text-transform: none; }
.verejna main h3 { font-size: 24px; }
.lead { font-size: clamp(18px, 1.3vw, 22px); color: var(--text-2); max-width: 70ch; }
.muted { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section.pas { padding: 104px 0; }
section.pas.alt { background: var(--bg-2); }
section.pas.deep { background: var(--bg-3); }

/* ---------- eyebrow (malý popisok nad nadpisom) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.eyebrow .dot { display: none; }
.eyebrow a { color: inherit; }
:root[data-theme="light"] .eyebrow { font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; }

/* ---------- tlačidlá (prepisujú AINO) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto;
  padding: 14px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: .02em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap; text-decoration: none; box-shadow: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold, .btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover, .btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); width: auto; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(4px); }
:root[data-theme="light"] .btn { border-radius: var(--radius-sm); text-transform: none; font-weight: 700; letter-spacing: -.01em; }
:root[data-theme="light"] .btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--text); }
:root[data-theme="light"] .btn-outline { border-color: var(--text); }
.link-btn { color: var(--text-2); font-weight: 700; font-size: 15px; }
.link-btn:hover { color: var(--gold-2); }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
:root[data-theme="light"] .site-header { border-bottom: 2px solid var(--text); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.1; }
.logo:hover { color: var(--cream); }
:root[data-theme="light"] .logo { text-transform: none; color: var(--text); font-size: 21px; letter-spacing: -.03em; }
.logo .mark { width: 40px; height: 40px; color: var(--gold); flex: none; background: currentColor; -webkit-mask: url(../img/znak.svg) center / contain no-repeat; mask: url(../img/znak.svg) center / contain no-repeat; }
.logo small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: var(--text-2); font-weight: 700; font-size: 15px; padding: 10px 13px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-2); background: var(--panel-strong); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gold); }

/* ---------- hero úvodnej stránky ---------- */
.hero { position: relative; min-height: min(calc(100vh - 78px), 860px); display: grid; align-items: center; padding: 72px 0 96px; overflow: hidden; background: var(--bg-3); }
.hero::before {
  /* veľká „pečať“ – sústredné kruhy za fotografiou */
  content: ""; position: absolute; right: -14vw; top: -18vh; width: 64vw; height: 64vw; max-width: 1100px; max-height: 1100px; pointer-events: none;
  background: radial-gradient(circle, transparent 0 58%, rgba(var(--gold-rgb), .10) 58.5% 59.5%, transparent 60% 70%, rgba(var(--gold-rgb), .07) 70.5% 71.5%, transparent 72% 84%, rgba(var(--gold-rgb), .05) 84.5% 85.5%, transparent 86%);
}
:root[data-theme="light"] .hero { border-bottom: 2px solid var(--text); }
:root[data-theme="light"] .hero::before { display: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.hero h1 .accent { color: var(--gold); display: block; }
:root[data-theme="light"] .hero h1 .accent { display: inline; }
.hero .slogan { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); color: var(--cream); margin: 10px 0 18px; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 620px; }
.hero-art::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-strong); border-radius: 24px; pointer-events: none; }
.hero-art img { position: relative; display: block; width: 100%; max-height: 720px; object-fit: cover; object-position: center 45%; border-radius: 24px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
:root[data-theme="light"] .hero-art::before { display: none; }
:root[data-theme="light"] .hero-art img { border-radius: 0; border: 2px solid var(--text); box-shadow: 12px 12px 0 var(--gold); }
/* fotografia podľa témy: kostolík za súmraku (tmavá) / radnica v slnečné ráno (svetlá) */
.foto-svetla { display: none !important; }
:root[data-theme="light"] .foto-tmava { display: none !important; }
:root[data-theme="light"] .foto-svetla { display: block !important; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-badges span::before { content: "✔"; color: var(--gold); margin-right: 8px; font-weight: 900; }

/* ---------- pásik s číslami ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- karty ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mriezka { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-strong); }
:root[data-theme="light"] .card:hover { box-shadow: var(--shadow); }
.card .tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.card .tag.outline { background: transparent; color: var(--gold); border: 1px solid var(--line-strong); }
:root[data-theme="light"] .card .tag { font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; border-radius: 0; }
.card h3 { font-size: 26px; }
.card .problem { color: var(--muted); font-style: italic; border-left: 3px solid var(--line-strong); padding-left: 14px; margin: 0 0 18px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-top: 10px; }

/* zoznam s fajkou ako na hlasovacom lístku */
.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 40px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border: 2px solid var(--gold); border-radius: 6px; }
.checks li::after { content: "✔"; position: absolute; left: 4px; top: 0; font-size: 17px; font-weight: 900; color: var(--gold); }

/* ---------- 3 kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding: 32px 28px 28px; border-top: 2px solid var(--line-strong); }
.step .num { font-family: var(--font-display); font-size: clamp(56px, 6vw, 88px); font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -.04em; }
.step h3 { margin-top: 10px; }
.note { font-size: 15px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 32px; }

/* ---------- cenník (dáta z API AINO a BOZP Manažéra) ---------- */
.prepinac { display: inline-flex; gap: 6px; margin: 8px 0 28px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); }
.prepinac button { border: 0; background: transparent; color: var(--text-2); font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 10px 26px; border-radius: 999px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; }
.prepinac button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.cennik-skupina { margin-top: 36px; }
.cennik-skupina > h3 { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-family: var(--font-display); font-size: clamp(36px, 3.4vw, 50px); font-weight: 900; color: var(--cream); line-height: 1; margin: 10px 0 4px; letter-spacing: -.03em; white-space: nowrap; }
.price-card .price small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-card .price.na-vyziadanie { font-size: clamp(26px, 2.4vw, 34px); }
.price-card .per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.price-card .checks { flex: 1; }
.price-card .btn { align-self: flex-start; }
.price-card.featured { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.price-card.featured h3, .price-card.featured .price, .price-card.featured .per, .price-card.featured .checks li, .price-card.featured p, .price-card.featured .price small { color: var(--ink); }
.price-card.featured .tag { background: var(--ink); color: var(--gold); }
.price-card.featured .checks li::before { border-color: var(--ink); }
.price-card.featured .checks li::after { color: var(--ink); }
.price-card.featured .btn-gold { background: var(--ink); color: var(--gold); border-color: var(--ink); }
:root[data-theme="light"] .price-card { border-top: 6px solid var(--gold); }
:root[data-theme="light"] .price-card.featured { background: var(--cream); border-color: var(--cream); border-top-color: var(--gold); }
:root[data-theme="light"] .price-card.featured h3, :root[data-theme="light"] .price-card.featured .price, :root[data-theme="light"] .price-card.featured .per, :root[data-theme="light"] .price-card.featured .checks li, :root[data-theme="light"] .price-card.featured p, :root[data-theme="light"] .price-card.featured .price small { color: #fff; }
:root[data-theme="light"] .price-card.featured .tag { background: var(--gold); color: #fff; }
:root[data-theme="light"] .price-card.featured .checks li::before { border-color: #fff; }
:root[data-theme="light"] .price-card.featured .checks li::after { color: #ffb08f; }
:root[data-theme="light"] .price-card.featured .btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.cennik-vypadok { padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); }
.pricing-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.pricing-foot b { font-family: var(--font-display); font-size: 22px; }

/* ---------- pás pre nových starostov ---------- */
.band { background: var(--gold); color: var(--ink); padding: 80px 0; }
.band .eyebrow { color: var(--ink); }
.band .eyebrow::before { background: var(--ink); }
.verejna main .band h2 { color: var(--ink); }
/* samosprávy regiónu — odkazy na ich oficiálne weby, v páse farbou textu s podčiarknutím (tmavá aj svetlá téma) */
.band .region-zoznam a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: opacity .15s ease; }
.band .region-zoznam a:hover, .band .region-zoznam a:focus-visible { opacity: .7; }
.band .lead { color: var(--ink); opacity: .85; }
.band-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: center; }
.band .checks li { color: var(--ink); }
.band .checks li::before { border-color: var(--ink); }
.band .checks li::after { color: var(--ink); }
.band .btn-gold { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.band .card { background: rgba(0, 0, 0, .08); border-color: rgba(0, 0, 0, .2); }
.band .card h4, .band .card p { color: var(--ink); }
.band .card .big { color: var(--ink); }
.countdown { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 32px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); font-weight: 900; color: var(--gold); line-height: 1; }
.countdown span { display: block; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; }
.countdown p { color: var(--text-2); margin-top: 18px; }
:root[data-theme="light"] .countdown { background: var(--bg); color: var(--text); border: 3px solid var(--text); transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--cream); }

/* ---------- FAQ ---------- */
.faq { max-width: 1120px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--cream); }
:root[data-theme="light"] .faq summary { color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 28px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 18px; max-width: 70ch; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--panel-strong); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); font-weight: 900; flex: none; }
.contact-info b { display: block; font-family: var(--font-display); font-size: 17px; }
.contact-info a { color: var(--text); }
form.contact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
form.contact .full { grid-column: 1 / -1; }
form.contact input, form.contact textarea, form.contact select { width: 100%; background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); padding: 13px 14px; font: inherit; font-size: 16px; }
form.contact input:focus, form.contact textarea:focus, form.contact select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .btn { grid-column: 1 / -1; justify-self: start; }
form.contact .gdpr { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
form.contact .produkt { grid-column: 1 / -1; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--panel-strong); border-radius: var(--radius-sm); margin: 0; }
:root[data-theme="light"] form.contact { border: 2px solid var(--text); box-shadow: 8px 8px 0 var(--cream); }

/* ---------- podstránky (návrh A) ---------- */
.page-hero { background: var(--bg-3); padding: 88px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10vw; top: -40%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 60px rgba(var(--gold-rgb), .03), 0 0 0 140px rgba(var(--gold-rgb), .02); }
:root[data-theme="light"] .page-hero { border-bottom: 2px solid var(--text); }
:root[data-theme="light"] .page-hero::after { display: none; }
.verejna main .page-hero h1 { font-size: clamp(38px, 5.4vw, 76px); }
.page-hero .quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); color: var(--cream); border-left: 4px solid var(--gold); padding-left: 20px; max-width: 46ch; margin: 24px 0 0; line-height: 1.3; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.role b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--cream); margin-bottom: 6px; }
.role span { color: var(--muted); font-size: 15px; }
.timeline { position: relative; display: grid; margin-top: 32px; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.tl { position: relative; padding: 0 0 36px 72px; }
.tl .dot { position: absolute; left: 8px; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.tl b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--cream); }
.tl .when { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.bonus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bonus .card { text-align: center; }
.bonus .card .big { font-family: var(--font-display); font-size: 44px; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.cta-final { text-align: center; }
.verejna main .cta-final h2 { font-size: clamp(36px, 5vw, 72px); }
.cta-final .lead { margin: 0 auto 24px; }
.cta-final .btn { margin: 8px; }
.checklist-box { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }

/* ---------- pätička ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--text-2); font-size: 15px; }
:root[data-theme="light"] .site-footer { background: #4a2b4f; color: #f3e9ef; border-top: 2px solid var(--text); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid h4 { color: var(--cream); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--gold-2); }
:root[data-theme="light"] .footer-grid h4, :root[data-theme="light"] .site-footer .logo { color: #fff; }
:root[data-theme="light"] .footer-grid a, :root[data-theme="light"] .footer-brand p, :root[data-theme="light"] .footer-bottom { color: #e6d6e1; }
:root[data-theme="light"] .site-footer .logo .mark { color: #ffb08f; }
.footer-brand p { max-width: 36ch; color: var(--muted); margin-top: 16px; }
.partner::before { content: "↗ "; color: var(--gold); }
.footer-bottom { max-width: var(--max); margin: 48px auto 0; padding: 22px 24px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-version { font-family: var(--font-mono); color: var(--gold); letter-spacing: .06em; text-align: center; }
:root[data-theme="light"] .footer-version { color: #ffb08f; }
.footer-right { text-align: right; }
.footer-credit { grid-column: 1 / -1; text-align: center; margin-top: 6px !important; }
.footer-credit a { color: var(--gold); }
.prepinac-temy { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.prepinac-temy:hover { border-color: var(--gold); color: var(--gold-2); }
:root[data-theme="light"] .prepinac-temy { color: #f3e9ef; border-color: rgba(255, 255, 255, .4); }

/* ---------- komponenty aplikácie v téme ---------- */
.page-header { padding: 64px 24px 12px; }
.auth-card, .fcard, .recenzia-card { background: var(--panel-solid); }
.form-field input, .form-field select, .form-field textarea { background: var(--input-bg); color: var(--text); border-color: var(--line); }
.user-menu-dropdown { background: var(--panel-solid); }
.status-badge--new { color: var(--gold-2); }

/* ---------- responzivita ---------- */
@media (max-width: 1200px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; flex-direction: column; background: var(--panel-solid); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 1024px) {
  .hero-grid, .band-grid, .contact-grid, .checklist-box { grid-template-columns: 1fr; }
  .steps, .roles, .bonus { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-art { justify-self: center; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section.pas { padding: 72px 0; }
  .header-actions .btn, .header-actions .link-btn { display: none; }
  .grid-2, .steps, .roles, .bonus, .footer-grid, form.contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 56px 0 64px; }
  .hero-art { order: -1; max-width: 420px; }
  .hero-art img { max-height: 520px; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .btn-lg { width: 100%; }
}

/* ---------- týždenný prehľad zadarmo (reklama, lišta noviniek, odber) ---------- */
.badge-free { display: inline-block; vertical-align: middle; font-family: var(--font-display); font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 6px 10px; border-radius: 999px; }
:root[data-theme="light"] .badge-free { font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; border-radius: 0; }
h1 .badge-free, h2 .badge-free { font-size: 14px; margin-left: 10px; transform: translateY(-.3em); }
.main-nav a.nav-prehlad { color: var(--gold-2); }
.main-nav a.nav-prehlad .badge-free { font-size: 10px; padding: 4px 7px; margin-left: 4px; }

/* ---------- menu na dva riadky + odznak digitalizácie (cesta starostu) ---------- */
.main-nav { flex-direction: column; align-items: flex-end; gap: 2px; }
.nav-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav-row-hl a { padding-top: 6px; padding-bottom: 6px; }
.main-nav a.nav-cesta { color: var(--cream); }
.badge-digital { display: inline-block; vertical-align: middle; margin-left: 4px; font-family: var(--font-display); font-weight: 800; font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--cream); padding: 4px 7px; border-radius: 999px; }
:root[data-theme="light"] .badge-digital { font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; border-radius: 0; }
@media (min-width: 1201px) {
  .header-inner { height: auto; min-height: 78px; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 1200px) {
  .main-nav { align-items: stretch; }
  .nav-row { flex-direction: column; justify-content: flex-start; }
  .nav-row-hl { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
}

.novinka-lista { position: relative; background: var(--gold); color: var(--ink); }
.novinka-zavreta .novinka-lista { display: none; }
.novinka-lista a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 56px; color: var(--ink); font-weight: 700; font-size: 15px; text-align: center; }
.novinka-lista a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 4px; }
.novinka-lista .badge-free { background: var(--ink); color: var(--gold); }
.novinka-zavriet { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.novinka-zavriet:hover, .novinka-zavriet:focus-visible { background: rgba(0, 0, 0, .12); }

.prehlad-box { border-color: var(--gold); box-shadow: 0 0 0 1px var(--line-strong), var(--card-shadow); }
.prehlad-box h2 { font-size: clamp(28px, 3.4vw, 44px); }
.prehlad-box .more { display: inline-block; margin-top: 4px; color: var(--gold-2); font-weight: 700; }
.prehlad-box-akcia { display: grid; gap: 20px; }
.prehlad-cta { display: grid; gap: 12px; justify-items: start; }
.cta-final .prehlad-cta { justify-items: center; }
.prehlad-cta .btn { margin: 0; }
.prehlad-zapnuty { font-weight: 800; color: var(--ok); margin: 0; }
:root[data-theme="light"] .prehlad-zapnuty { color: #1f7a4d; }
.prehlad-mam-konto { margin: 0; color: var(--text-2); font-size: 15px; }
.prehlad-zapnut { display: grid; gap: 14px; max-width: 520px; }
.cta-final .prehlad-zapnut { text-align: left; }
.prehlad-suhlas { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; line-height: 1.5; cursor: pointer; }
.prehlad-suhlas input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.prehlad-suhlas a { color: var(--gold-2); }

.prehlad-odber { border: 1px solid var(--line-strong) !important; border-radius: var(--radius-sm); padding: 18px 20px 20px !important; background: var(--panel); }
.prehlad-odber legend { padding: 0 8px; }
.prehlad-odber .form-hint { margin: 0 0 14px; font-size: .9rem; }
.prehlad-odber--zvyraznene { border: 2px solid var(--gold) !important; box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .18); }

.prehlad-ukazka-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.prehlad-ukazka { margin: 0; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.prehlad-ukazka-hlavicka { padding: 16px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.prehlad-ukazka-hlavicka span { color: var(--muted); font-size: 13px; }
.prehlad-ukazka-hlavicka b { color: var(--cream); font-family: var(--font-display); }
:root[data-theme="light"] .prehlad-ukazka-hlavicka b { color: var(--text); }
.prehlad-ukazka-cast { padding: 18px 22px; }
.prehlad-ukazka-cast + .prehlad-ukazka-cast { border-top: 1px dashed var(--line-strong); }
.prehlad-ukazka-cast--obec { background: rgba(var(--gold-rgb), .08); }
.verejna main .prehlad-ukazka-cast h3 { font-size: 17px; margin: 0 0 10px; color: var(--gold-2); }
.prehlad-ukazka-cast ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prehlad-ukazka-cast li { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.prehlad-ukazka-cast em { color: var(--muted); font-style: normal; font-size: 13px; white-space: nowrap; }
.prehlad-stitok { display: inline-block; min-width: 86px; margin-right: 10px; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--gold-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.prehlad-ukazka figcaption { padding: 10px 22px 14px; color: var(--muted); font-size: 13px; }
.prehlad-prihlasit { margin-top: 36px; display: grid; gap: 12px; }
.prehlad-stitok.vystraha--zlta { color: #a16207; border-color: #ca8a04; }
.prehlad-stitok.vystraha--oranzova { color: #c2410c; border-color: #ea580c; }
.prehlad-stitok.vystraha--cervena { color: #b91c1c; border-color: #dc2626; }

@media (max-width: 1024px) {
  .prehlad-ukazka-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .novinka-lista a { justify-content: flex-start; text-align: left; padding: 10px 52px 10px 16px; font-size: 14px; }
  .novinka-lista .arrow, .novinka-lista .novinka-detail { display: none; }
  .prehlad-box { padding: 24px 18px; }
  h1 .badge-free, h2 .badge-free { margin-left: 0; display: inline-block; }
  .prehlad-stitok { min-width: 0; }
  .prehlad-ukazka-cast em { white-space: normal; }
  .grid-3 { grid-template-columns: 1fr; }
}
