/* iroom.cz – společný vzhled celého webu: paleta, písmo, hlavička, lišta modelů, obsahové stránky.
   Jeden design pro všechny stránky; vychází ze schváleného návrhu ceníku (komponenty ceníku a rezervace
   jsou v cenik.css a používají stejnou paletu --ir-*). */
:root {
  --ir-page: #f5f7f5; --ir-surface: #ffffff; --ir-text: #172a25; --ir-muted: #5b6d65; --ir-line: #dfe6e1; --ir-soft: #edf2ee;
  --ir-green: #127853; --ir-mint: #e9f8ef; --ir-action: #32cc95; --ir-ink: #103a2c; --ir-danger: #b3261e;
  --ir-shadow: #15362206; --ir-shadow-bar: #15362207;
  /* obecné názvy pro obsahové stránky */
  --bg: var(--ir-surface);        /* karty, hlavička, bílé pruhy */
  --surface: var(--ir-page);      /* pozadí stránky */
  --surface-2: var(--ir-soft);
  --line: var(--ir-line);
  --ink: var(--ir-text);
  --ink-2: var(--ir-text);
  --muted: var(--ir-muted);
  --brand: var(--ir-action);
  --brand-ink: var(--ir-green);
  --brand-soft: var(--ir-mint);
  --on-brand: var(--ir-ink);
  --star: #f2b632;
  --radius: 12px;
  --radius-sm: 9px;
  --radius-lg: 16px;
  --shadow: 0 7px 22px var(--ir-shadow);
  --maxw: 1086px;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ir-page: #141b19; --ir-surface: #1d2622; --ir-text: #eff7f1; --ir-muted: #aabdb3; --ir-line: #3a4a41; --ir-soft: #27362e;
    --ir-green: #72deb0; --ir-mint: #243e30; --ir-danger: #ffb4ab; --ir-shadow: #00000020; --ir-shadow-bar: #00000025;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ir-page: #141b19; --ir-surface: #1d2622; --ir-text: #eff7f1; --ir-muted: #aabdb3; --ir-line: #3a4a41; --ir-soft: #27362e;
  --ir-green: #72deb0; --ir-mint: #243e30; --ir-danger: #ffb4ab; --ir-shadow: #00000020; --ir-shadow-bar: #00000025;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }   /* místo pro posuvník vždy: krátké stránky (např. prázdný magazín) se neposouvají o jeho šířku */
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 15px/1.5 var(--body); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 650; text-wrap: balance; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -1.1px; }
h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.5px; }
h3 { font-size: 16px; line-height: 1.3; }
p { margin: 0; max-width: 68ch; }
a { color: var(--brand-ink); }
.wrap { width: min(100% - 64px, var(--maxw)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--brand-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 17px; border: 1px solid transparent; border-radius: 10px; font: 650 14px/1.2 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn svg { flex: none; width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(.95); }
.btn-ghost { border-color: var(--line); background: var(--bg); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Hlavička: stejná na všech stránkách, liší se jen hlavní akce (svoz / rezervace na stránkách ceníku) */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { display: block; width: auto; height: 40px; }
.logo .logo-dark { display: none; }
.nav { display: flex; gap: 20px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--brand-ink); }
.nav a[aria-current] { box-shadow: 0 2px 0 var(--brand); }
.nav small, .nav-info, .nav-jen-menu, .menu-btn, .menu-backdrop { display: none; }
.header-cta { display: flex; align-items: center; gap: 19px; }
.phone { font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .nav { gap: 14px; } .header-cta { gap: 12px; } }

/* Mobil a užší tablety: logo + hlavní akce + tlačítko menu; .nav se rozbalí pod hlavičkou (hranice 960 px – sedm položek se vedle loga níž nevejde) */
@media (max-width: 960px) {
  .header .phone { display: none; }
  .header-cta { gap: 10px; }
  .header-cta .btn { min-height: 40px; padding: 10px 12px; font-size: 12px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px 0 13px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 14px var(--body); cursor: pointer; }
  .menu-ico { position: relative; width: 16px; height: 12px; }
  .menu-ico i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-ico i:nth-child(1) { top: 0; }
  .menu-ico i:nth-child(2) { top: 5px; }
  .menu-ico i:nth-child(3) { top: 10px; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

  html.js .nav { display: none; position: absolute; z-index: 1; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 17px 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 32, 46, .14); max-height: calc(100dvh - 64px - 76px); overflow-y: auto; overscroll-behavior: contain; font-size: 17px; }
  html.js .header[data-open] .nav { display: flex; }
  html.js .nav a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); box-shadow: none; }
  html.js .nav a::after { content: "›"; grid-column: 2; grid-row: 1 / span 2; font-size: 22px; font-weight: 400; color: var(--muted); }
  html.js .nav a[aria-current] span { color: var(--brand-ink); }
  html.js .nav small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
  html.js .nav-info { display: block; padding-top: 14px; font-size: 13px; font-weight: 400; color: var(--muted); }
  html.js .nav-info a { display: inline; padding: 0; border: 0; font-weight: 650; }
  html.js .nav-info a::after { content: none; }
  .header[data-open] .menu-backdrop { display: block; position: fixed; inset: 64px 0 0; background: rgba(10, 18, 26, .45); }
  html.menu-open { overflow: hidden; }

  /* bez JS: menu jako posuvný řádek pod logem */
  html:not(.js) .header .wrap { height: auto; flex-wrap: wrap; padding-block: 10px; gap: 8px 16px; }
  html:not(.js) .nav { order: 3; width: 100%; overflow-x: auto; white-space: nowrap; gap: 18px; padding-bottom: 2px; }
  html:not(.js) .nav-jen-menu { display: inline; }
}
@media (max-width: 760px) { .wrap { width: min(100% - 44px, var(--maxw)); } }
@media (max-width: 620px) { .wrap { width: min(100% - 34px, var(--maxw)); } }
@media (max-width: 480px) {
  .menu-btn { padding: 0 12px; }
  .menu-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 350px) {
  .logo img { height: 32px; }
  .header-cta .btn svg { display: none; }
}

/* Lišta modelů pod hlavičkou (na všech stránkách, odkazy jako na starém webu). Nevejde-li se, posouvá se do strany. */
.lista { background: var(--bg); border-bottom: 1px solid var(--line); }
.lista .wrap { display: flex; align-items: center; gap: 14px; }
.lista-h { flex: none; display: grid; font-size: 11px; font-weight: 650; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.lista-h b { font-weight: 750; color: var(--ink); }
.lista-box { position: relative; flex: 1; min-width: 0; }
.lista-scroll { position: relative; display: flex; gap: 2px; padding-block: 7px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.lista-scroll::-webkit-scrollbar { display: none; }
.lista-scroll a { flex: 1 0 42px; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 5px 1px 4px; border-radius: 8px; font-size: 11px; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.lista-scroll img { height: 40px; width: auto; }
.lista-scroll a:hover { background: var(--surface-2); color: var(--brand-ink); }
.lista-scroll a[aria-current] { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-ink); }
.lista-scroll .lista-vse { flex-basis: 62px; align-content: center; color: var(--brand-ink); }
/* šipky a zeslabené okraje přidává JS jen na straně, kam se dá posunout */
.lista-sipka { display: none; position: absolute; z-index: 1; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); font: 700 17px/1 var(--body); cursor: pointer; box-shadow: var(--shadow); }
.lista-sipka-vlevo { left: -6px; }
.lista-sipka-vpravo { right: -6px; }
.lista-vlevo .lista-scroll { mask-image: linear-gradient(to right, transparent, #000 44px); }
.lista-vpravo .lista-scroll { mask-image: linear-gradient(to left, transparent, #000 44px); }
.lista-vlevo.lista-vpravo .lista-scroll { mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
@media (hover: hover) {
  .lista-vlevo .lista-sipka-vlevo, .lista-vpravo .lista-sipka-vpravo { display: block; }
}
@media (max-width: 640px) {
  .lista .wrap { gap: 10px; }
  .lista-scroll a { flex-basis: 46px; }
  .lista-scroll img { height: 36px; }
}

/* Drobky */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 16px 0; font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); }
.crumbs span[aria-current] { font-weight: 600; color: var(--ink); }

/* Úvod stránky */
.hero { padding-block: 30px 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.hero-copy { display: grid; gap: 16px; }
.hero h1 { font-size: clamp(30px, 3.4vw, 40px); }
.lede { font-size: 16px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cta-note { font-size: 12px; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 4px; font-size: 13px; color: var(--muted); }
.trust b { color: var(--ink); }
.trust .star { color: var(--star); }
.page-head { display: grid; gap: 10px; padding-block: 30px 26px; }
.crumbs + .page-head, .wrap:has(> .crumbs) + .page-head { padding-top: 18px; }
.hero-simple { display: grid; gap: 14px; padding-block: 28px 10px; }

/* Karta s postupem (Jak svoz probíhá) */
.steps { display: grid; gap: 15px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.steps h2 { font-size: 17px; letter-spacing: -.3px; }
.step { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; }
.step-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 650; }
.step h3 { font-size: 14px; }
.step p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.steps .fine { padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Sekce: obsah na pozadí stránky, .alt = bílý pruh */
section.block { padding-block: 36px; }
section.block.alt { border-block: 1px solid var(--line); background: var(--bg); }
section.block[id] { scroll-margin-top: 44px; }   /* kotva (#cenik): začátek sekce nesmí skončit pod přilepenou hlavičkou */
.section-head { display: grid; gap: 6px; margin-bottom: 18px; }
.section-head p { color: var(--muted); }

/* Stránka města: modely + ceník se svozem */
.models { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: 600 13px var(--body); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--brand-ink); }
.chip[aria-current], .chip[aria-pressed="true"] { border-color: var(--brand-ink); background: var(--brand-soft); color: var(--brand-ink); }
.price-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.price-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-card th, .price-card td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-card thead th { border-top: 0; background: var(--surface-2); font-size: 11px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.price-card td.price { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.price-foot a { font-weight: 600; }
@media (max-width: 640px) {
  .price-card thead { display: none; }
  .price-card tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .price-card td { padding: 0; border: 0; }
}

/* Lokální sekce */
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.local-copy { display: grid; gap: 14px; }
.local-copy ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.route { display: grid; gap: 14px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.route-line { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.route-dot { display: grid; justify-items: center; width: 18px; }
.route-dot i { display: block; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--brand-ink); }
.route-dot b { display: block; flex: 1; width: 1px; min-height: 26px; background: var(--line); }
.route-line p, .route > p { font-size: 13px; color: var(--muted); }
.route-line strong { font-size: 14px; color: var(--ink); }
.nearby { display: flex; flex-wrap: wrap; gap: 7px; }
.nearby a { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nearby a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.local-copy h3 { margin-bottom: 8px; }
@media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; } }

/* Proč my */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.why div { display: grid; gap: 4px; align-content: start; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.alt .why div { background: var(--surface-2); border-color: transparent; }
.why b { font-size: 15px; font-weight: 650; }
.why span { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .why { grid-template-columns: repeat(2, 1fr); } }

/* Časté otázky */
.faq { display: grid; gap: 9px; max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 15px; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 650; color: var(--brand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; font-size: 14px; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact .card { display: grid; gap: 8px; align-content: start; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); font-size: 14px; }
.contact .card h3 { font-size: 17px; letter-spacing: -.3px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; gap: 12px; } }

/* Formuláře (svoz, rezervace bez JS) */
.form { display: grid; gap: 16px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: 400 16px var(--body); }
.field textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; gap: 10px; align-items: start; font-size: 13px; }
.agree input { margin-top: 3px; }
.form-note { font-size: 11px; color: var(--muted); }
/* rekapitulace oprav vybraných v ceníku (formulář svozu a rezervace) */
.order-vyber { display: grid; gap: 9px; padding: 15px 17px; border-radius: var(--radius); background: var(--surface-2); font-size: 14px; }
.order-vyber-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order-vyber-h a { font-size: 13px; font-weight: 600; }
.order-vyber ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.order-vyber li, .order-vyber-soucet { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; max-width: none; }
.order-vyber li span:last-child, .order-vyber-soucet b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-vyber-soucet { padding-top: 9px; border-top: 1px solid var(--line); }
.order-vyber-soucet b { font-size: 17px; font-weight: 650; }
.form ul.error { margin: 0; padding-left: 18px; }
.success { padding: 14px 16px; border: 1px solid var(--brand-ink); border-radius: 10px; background: var(--brand-soft); }
/* Děkovací stav po odeslání svozu / rezervace */
.thanks { display: grid; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.thanks-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; }
.thanks-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); }
.thanks-ico svg { width: 28px; height: 28px; }
.thanks-head h2 { font-size: 22px; }
.thanks-head p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.thanks-cislo { display: grid; gap: 3px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); }
.thanks-cislo span { font-size: 11px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.thanks-cislo strong { font-size: 32px; line-height: 1.1; letter-spacing: -.6px; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.thanks-cislo small { margin-top: 4px; font-size: 13px; color: var(--muted); }
.thanks-next h3 { margin-bottom: 10px; }
.thanks-next ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.thanks-next li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.thanks-next li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23127853' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.thanks-cta { padding-top: 4px; }
.thanks-mag { margin-left: auto; font-size: 14px; }
.step-n.is-done { background: var(--brand-ink); color: var(--bg); }
.step-n.is-done svg { width: 13px; height: 13px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thanks-next li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2372deb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] .thanks-next li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2372deb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l3.8 3.8L18 8'/%3E%3C/svg%3E"); }
@media (max-width: 480px) { .thanks { padding: 20px; gap: 18px; } .thanks-cislo strong { font-size: 27px; } .thanks-mag { margin-left: 0; } }
.error { font-size: 12px; color: var(--ir-danger); }
.hp-web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { margin-block: 12px; padding: 11px 14px; border: 1px solid var(--brand-ink); border-radius: 10px; background: var(--brand-soft); font-size: 13px; }
.order-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 25px; align-items: start; padding-block: 0 40px; }
.order-side { display: grid; gap: 12px; position: sticky; top: 80px; padding-top: 30px; }
.order-side .route { box-shadow: none; }
@media (max-width: 860px) {
  .order-page { grid-template-columns: 1fr; }
  .order-side { position: static; padding-top: 0; }
}
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } .form { padding: 18px; } }

/* Regiony */
.cols-list { columns: 3; column-gap: 24px; font-size: 14px; }
.cols-list a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink); break-inside: avoid; }
.cols-list a:hover { color: var(--brand-ink); }
@media (max-width: 860px) { .cols-list { columns: 2; } }
@media (max-width: 480px) { .cols-list { columns: 1; } }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 7px; }
.region-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.region-grid a span { font-size: 12px; font-weight: 400; color: var(--muted); }
.region-grid a:hover { border-color: var(--brand-ink); }
.prose { display: grid; gap: 12px; max-width: 68ch; }
.prose ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }

/* Patička + spodní lišta na mobilu (stránky ceníku mají místo ní vlastní lištu s vybranou opravou) */
footer { padding-block: 26px calc(90px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
footer nav a { font-weight: 600; text-decoration: none; color: var(--ink); }
/* patička: kontakt + „Často hledáte“ (odkazy na největší města, jako na starém webu) */
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.footer-cols > div { display: grid; gap: 4px; align-content: start; }
.footer-cols p { max-width: none; }
.footer-h { font-size: 14px; font-weight: 650; color: var(--ink); }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr; } }
.mobile-bar { display: none; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 13px 17px calc(13px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); box-shadow: 0 -5px 20px var(--ir-shadow-bar); }
.mobile-bar .btn { flex: 1; }
@media (max-width: 860px) { .mobile-bar { display: flex; } }
@media (min-width: 861px) { footer { padding-bottom: 26px; } }

@media (max-width: 760px) { h1 { font-size: 30px; } }
@media (max-width: 620px) {
  h1, .hero h1 { font-size: 28px; }
  .lede { font-size: 14px; }
  section.block { padding-block: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .chip, .btn { transition: background .15s, border-color .15s, color .15s, filter .15s; }
  .menu-ico i { transition: transform .18s, opacity .18s, top .18s; }
  html.js .header[data-open] .nav { animation: menu-in .16s ease-out; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(5px); } }

/* Stránka obce: svoz v kostce, tipy, vzdálenosti sousedů */
.local-side { display: grid; gap: 14px; align-content: start; }
.fakta { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.fakta h3 { margin-bottom: 10px; font-size: 16px; }
.fakta dl { display: grid; margin: 0; }
.fakta dl > div { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.fakta dl > div:first-child { border-top: 0; padding-top: 0; }
.fakta dt { color: var(--muted); }
.fakta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fakta-zdroj { margin-top: 10px; font-size: 11px; color: var(--muted); }
.local-copy .tipy { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.nearby-km a { display: inline-flex; align-items: baseline; gap: 6px; }
.nearby-km small, .nearby-km span { font-size: 11px; font-weight: 400; color: var(--muted); }
.nearby-km .nearby-up { background: var(--surface-2); }

/* Stránka obce: doporučení, srovnání, odhad, ukázky cen */
.local-copy > div { display: grid; gap: 12px; align-content: start; }
.doporuceni { padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--brand-soft); font-size: 14px; }
.cmp-tab { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.cmp-tab th, .cmp-tab td { padding: 9px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-tab thead th { border-top: 0; padding-top: 0; font-size: 11px; font-weight: 650; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.cmp-tab tbody th { width: 22%; font-weight: 600; color: var(--muted); }
.cmp-tab td:last-child { font-weight: 600; color: var(--brand-ink); }
.odhad-tab dl > div { grid-template-columns: 9.4em minmax(0, 1fr); }
.odhad-tab dd small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--muted); }
.zdroje { display: grid; gap: 6px; margin: 0; padding-left: 20px; font-size: 13px; color: var(--muted); }
.local-copy h3 { margin-top: 6px; }
.ukazky td:first-child { font-weight: 600; }
.ukazky td:first-child a { color: var(--ink); }
.ukazky-card { margin-top: 18px; }
.ukazky-card h3 { padding: 14px 16px 10px; font-size: 16px; }
.zdroje-box summary { font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.zdroje-box .zdroje { margin-top: 8px; }

/* Obec očima iPhonu: časová osa, rodáci */
.osa { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.osa li { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.osa li:first-child { border-top: 0; padding-top: 0; }
.osa b { font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.local-copy .rodaci li::marker { color: var(--brand-ink); }


/* Textové stránky převzaté ze starého webu (služby, o nás, aktuality, tipy a triky): obsah je HTML z tabulky stranka */
.clanek { display: grid; gap: 12px; max-width: 760px; font-size: 15px; }
.clanek::after { content: ""; display: block; clear: both; }
.clanek h2 { margin-top: 10px; font-size: 18px; }
.clanek ul { display: grid; gap: 5px; margin: 0; padding-left: 20px; }
.clanek img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.clanek p { max-width: none; }
.clanek-dalsi { margin-top: 22px; font-size: 14px; }
.clanek h3 { margin-top: 6px; font-size: 16px; }
.clanek ol { display: grid; gap: 5px; margin: 0; padding-left: 22px; }
.clanek blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--brand, #32cc95); background: var(--surface-2); border-radius: var(--radius-sm); }
.clanek .table-wrap { overflow-x: auto; }
.clanek table { border-collapse: collapse; min-width: 100%; font-size: 14px; }
.clanek th, .clanek td { padding: 8px 10px; border-bottom: 1px solid var(--line, #e5e7eb); text-align: left; }
.clanek-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.clanek-foto { max-width: 760px; margin: 0 0 20px; }
.clanek-foto img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.clanek-foto figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.clanky article.s-fotkou { grid-template-columns: 200px 1fr; grid-template-rows: auto auto 1fr; column-gap: 18px; }
.clanky article.s-fotkou > * { grid-column: 2; }
.clanky article.s-fotkou .clanky-foto { grid-column: 1; grid-row: 1 / span 3; }
.clanky-foto img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 600px) { .clanky article.s-fotkou { grid-template-columns: 1fr; } .clanky article.s-fotkou > *, .clanky article.s-fotkou .clanky-foto { grid-column: 1; grid-row: auto; } }
.strankovani { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; font-size: 14px; color: var(--muted); }
.clanek-archiv { max-width: 760px; margin-bottom: 18px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; color: var(--muted); }
.clanky { display: grid; gap: 24px; }
.clanky article { display: grid; gap: 8px; max-width: 760px; }
.clanky h2 { font-size: 18px; }
.clanky h2 a { text-decoration: none; color: var(--ink); }
.clanky h2 a:hover { color: var(--brand-ink); }
.clanky time { margin-right: 6px; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .clanek img[style*="float"] { float: none !important; display: block; margin: 0 0 8px !important; } }

/* Logo v tmavém režimu webu (stejná pravidla jako barvy výše) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-light { display: none; } :root:not([data-theme="light"]) .logo .logo-dark { display: block; } }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }

/* Magazín (/magazin/): rubriky, hlavní článek, mřížka karet, výzva ke svozu, návody ze servisu */
.mag-head { display: grid; gap: 4px; padding-bottom: 22px; }
.mag-head .page-head { padding-bottom: 14px; }
.mag-head .crumbs { padding-top: 0; }
.mag-rubriky { display: flex; flex-wrap: wrap; gap: 8px; }
.mag-rubriky .chip small { margin-left: 5px; font-size: 11px; font-weight: 600; color: var(--muted); }
.mag-rubriky .chip[aria-current] small { color: inherit; }
.mag .wrap { display: grid; gap: 34px; }
.mag-karta { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: 0 1px 0 var(--ir-shadow); }
.mag-karta:hover { border-color: var(--brand-ink); }
.mag-foto { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.mag-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mag-karta:hover .mag-foto img { transform: scale(1.03); }
.mag-foto-nahrada { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); color: var(--brand-ink); }
.mag-foto-nahrada svg { width: 42px; height: 42px; opacity: .6; }
.mag-text { display: grid; gap: 8px; align-content: start; padding: 16px 18px 20px; }
.mag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.mag-meta time { font-weight: 600; font-variant-numeric: tabular-nums; }
.mag-rubrika { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 22px; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; text-decoration: none; }
.mag-rubrika:hover { text-decoration: underline; }
.mag-karta h2, .mag-karta h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.3px; }
.mag-karta h2 a, .mag-karta h3 a { color: var(--ink); text-decoration: none; }
.mag-karta h2 a::after, .mag-karta h3 a::after { content: ""; position: absolute; inset: 0; }   /* celá karta je odkaz */
.mag-karta:hover h2 a, .mag-karta:hover h3 a { color: var(--brand-ink); }
.mag-perex { max-width: none; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mag-cist { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 650; color: var(--brand-ink); }
.mag-cist svg { width: 16px; height: 16px; }
/* hlavní článek + dva vedle */
.mag-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; }
.mag-hlavni { grid-template-rows: auto 1fr; }
.mag-hlavni .mag-foto { aspect-ratio: 2 / 1; }
.mag-hlavni .mag-text { padding: 22px 26px 26px; gap: 10px; }
.mag-hlavni h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.7px; }
.mag-hlavni .mag-perex { font-size: 15px; -webkit-line-clamp: 3; }
.mag-vedle { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.mag-vedle .mag-karta { grid-template-columns: minmax(0, 42%) 1fr; grid-template-rows: none; }
.mag-vedle .mag-foto { aspect-ratio: auto; height: 100%; min-height: 150px; }
.mag-vedle .mag-text { padding: 16px 18px; }
.mag-vedle .mag-perex { -webkit-line-clamp: 3; }
.mag-vedle h3 { font-size: 16px; }
/* mřížka */
.mag-sekce { display: grid; gap: 16px; }
.mag-nadpis { font-size: 19px; }
.mag-mrizka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mag-svoz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); font-size: 14px; }
.mag-svoz > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.mag-svoz strong { font-weight: 650; }
.mag-svoz span { color: var(--muted); }
.mag-svoz-akce { display: flex; flex-wrap: wrap; gap: 8px; }
.mag-top-sam { grid-template-columns: minmax(0, 1fr); }
.mag-top-sam .mag-hlavni .mag-foto { aspect-ratio: 5 / 2; }
@media (max-width: 600px) { .mag-svoz { padding: 14px 16px; } .mag-svoz-akce { width: 100%; } .mag-svoz-akce .btn { flex: 1; justify-content: center; } }
.mag .strankovani { max-width: none; }
.mag-prazdno { color: var(--muted); }
/* návody ze servisu */
.mag-navody .wrap { display: grid; gap: 20px; }
.mag-sekce-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.mag-sekce-head > div { display: grid; gap: 4px; }
.mag-sekce-head h2 { font-size: 23px; }
@media (max-width: 920px) {
  .mag-top { grid-template-columns: 1fr; }
  .mag-vedle { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .mag-vedle .mag-karta { grid-template-columns: none; grid-template-rows: auto 1fr; }
  .mag-vedle .mag-foto { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .mag-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mag-vedle, .mag-mrizka { grid-template-columns: 1fr; gap: 16px; }
  .mag-top { gap: 16px; }
  .mag-hlavni h2 { font-size: 22px; }
  .mag-hlavni .mag-text { padding: 18px 18px 20px; }
  .mag-rubriky { margin-inline: -4px; padding-inline: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mag-rubriky .chip { flex: none; }
}
/* článek: rubrika v záhlaví, další čtení jako karty */
.clanek-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.clanek-dalsi-karty { margin-top: 30px; display: grid; gap: 14px; }
.clanek-dalsi-karty h2 { font-size: 19px; }
/* O nás: tři fotky servisu v textu stránky */
.clanek .onas-fotky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0; }
.clanek .onas-fotky figure { margin: 0; }
.clanek .onas-fotky img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.clanek .onas-fotky figcaption { margin-top: 5px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .clanek .onas-fotky { grid-template-columns: 1fr 1fr; } .clanek .onas-fotky figure:last-child { grid-column: 1 / -1; } }
/* autor článku: řádek v záhlaví + box „O autorovi“ pod textem */
.autor-foto { flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.autor-radek { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; font-size: 13px; }
.autor-radek div { display: grid; line-height: 1.3; }
.autor-radek strong { font-weight: 650; }
.autor-radek span { color: var(--muted); }
.autor-aktualizace { margin-left: auto; font-size: 12px; }
.autor-box { display: flex; gap: 18px; align-items: flex-start; max-width: 760px; margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.autor-box h2 { margin: 2px 0 0; font-size: 17px; }
.autor-box p { margin-top: 6px; font-size: 14px; }
.autor-box .autor-role { margin-top: 0; font-size: 13px; color: var(--muted); }
.autor-box .autor-odkazy { font-size: 13px; }
@media (max-width: 600px) {
  .autor-box { padding: 16px; gap: 14px; }
  .autor-box .autor-foto { width: 56px; height: 56px; }
  .autor-aktualizace { margin-left: 0; flex-basis: 100%; }
}
