/* ==========================================================================
   Lékař v okolí – adresář lékařů
   Vzhled navazuje na web Praktik Modřany: pastelové nebe (levandule → modrá),
   jemné vlnky, skleněné karty, oblá tlačítka s přechodem magenta → modrá.
   Hlavní prvek: mapa ČR z mléčného skla s tečkami ordinací.
   Čitelnost pro seniory: Atkinson Hyperlegible, velké klikací plochy.
   ========================================================================== */
:root {
  --ink: #141b3c; --ink-2: #434a70; --muted: #6b7196; --bg: #f5f6fa; --surface: #fff; --line: #e1e3ef;
  --lilac: #b9a7f5; --soft: #eef0ff; --ok: #1f8a5b; --ok-soft: #e3f4ec; --warn: #9a5b00; --warn-soft: #fff1d6;
  --grad: linear-gradient(100deg, #b63f95 0%, #8a4fc0 45%, #5560d8 100%);
  --sky: radial-gradient(900px 620px at 82% 18%, rgba(255, 255, 255, .75), transparent 62%), radial-gradient(700px 500px at 0% 100%, rgba(242, 196, 236, .45), transparent 65%), linear-gradient(118deg, #e7dfff 0%, #dde5ff 46%, #cfe7ff 100%);
  --r: 16px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(20, 27, 60, .05), 0 10px 30px rgba(76, 88, 170, .08);
  --shadow-up: 0 2px 4px rgba(20, 27, 60, .05), 0 18px 44px rgba(76, 88, 170, .16);
  --max: 1200px;
  --font: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.55; overflow-x: clip; -webkit-text-size-adjust: 100%; }
a { color: #4a52c4; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #8a4fc0; outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { padding-top: 40px; padding-bottom: 80px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: var(--c, #5560d8); }

/* ---------- pruh nahoře + hlavička ---------- */
.ribbon { background: #1d1d2b; color: #efeefa; font-size: .82rem; text-align: center; padding: 7px 14px; }
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid rgba(20, 27, 60, .07); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; display: block; filter: drop-shadow(0 6px 14px rgba(110, 80, 200, .28)); }
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo b { font-size: 1.18rem; letter-spacing: -.02em; }
.logo small { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 10px 14px; border-radius: 12px; }
.nav a:hover { background: var(--soft); }
.nav a.pro { color: #fff; background: var(--grad); border-radius: 999px; padding: 10px 20px; margin-left: 8px; box-shadow: 0 8px 20px rgba(85, 96, 216, .25); }
.nav a.pro:hover { filter: brightness(1.07); }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, filter .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-grad { color: #fff; background: var(--grad); box-shadow: 0 12px 30px rgba(85, 96, 216, .26), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-grad:hover { box-shadow: 0 16px 40px rgba(85, 96, 216, .36), inset 0 1px 0 rgba(255, 255, 255, .25); filter: brightness(1.05); }
.btn-line { color: var(--ink); background: rgba(255, 255, 255, .7); border: 1.5px solid var(--lilac); }
.btn-line:hover { background: #fff; border-color: #8a7ae6; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- úvod ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%); }
.waves path { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 44px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-pre { font-weight: 700; color: var(--ink-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.03; max-width: 9em; margin-bottom: .35em; }
.hero .lead { max-width: 30em; }

/* vyhledávání */
.finder { margin-top: 30px; }
.search { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border-radius: 24px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 24px 60px rgba(76, 88, 170, .18), inset 0 1px 0 #fff; }
.search:focus-within { box-shadow: 0 24px 60px rgba(76, 88, 170, .22), 0 0 0 4px rgba(138, 79, 192, .18); }
.search > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 1.12rem; min-height: 54px; border: 0; background: transparent; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; }
.search input::placeholder { color: #8086a8; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.near-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; min-height: 54px; padding: 0 20px; border: 0; border-radius: 18px; background: var(--grad); color: #fff; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px rgba(85, 96, 216, .25); }
.near-btn:hover { filter: brightness(1.07); }
.near-btn svg { width: 20px; height: 20px; flex: none; }

/* návrhy při psaní */
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 27, 60, .18), 0 0 0 1px rgba(20, 27, 60, .05); max-height: min(60vh, 440px); overflow: auto; }
.sug li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.sug li[aria-selected="true"], .sug li:hover { background: var(--soft); }
.sug .si { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: #5560d8; flex: none; }
.sug .si svg { width: 18px; height: 18px; }
.sug .si .dot { width: 12px; height: 12px; }
.sug b { display: block; font-weight: 700; }
.sug small { display: block; color: var(--muted); font-size: .85rem; }
.sug .sg { padding: 8px 12px 4px; font-size: .8rem; font-weight: 700; color: var(--muted); cursor: default; }
.sug .sg:hover { background: none; }
.sug mark { background: none; color: #8a4fc0; font-weight: 800; }

/* filtry */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chips button { font: inherit; font-weight: 700; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(185, 167, 245, .8); background: rgba(255, 255, 255, .6); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s, border-color .15s, color .15s; }
.chips button:hover { background: #fff; }
.chips button span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button[aria-pressed="true"] span { color: #c5c9e8; }
.chips-sm { margin-top: 10px; }
.chips-sm button { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.chips-sm button::before { content: ''; width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid currentColor; opacity: .55; }
.chips-sm button[aria-pressed="true"]::before { opacity: 1; background: #fff; box-shadow: inset 0 0 0 3px var(--ink); }

/* mapa z mléčného skla */
.hero-map { position: relative; border-radius: 30px; background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 30px 80px rgba(76, 88, 170, .18), inset 0 1px 0 rgba(255, 255, 255, .95); overflow: hidden; }
#cz { width: 100%; aspect-ratio: 1.45; display: block; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
#cz.dragging { cursor: grabbing; }
.map-ctl { position: absolute; right: 14px; top: 14px; display: none; flex-direction: column; gap: 6px; }
.map-ctl button { width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .85); color: var(--ink); font: 700 1.4rem/1 var(--font); cursor: pointer; box-shadow: 0 8px 20px rgba(76, 88, 170, .16); }
.map-ctl button:disabled { color: #b8bbd3; }
@media (hover: none) { .map-ctl { display: flex; } }
.map-reset { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .88); color: var(--ink); cursor: pointer; box-shadow: 0 10px 24px rgba(76, 88, 170, .18); }
.map-reset:hover { background: #fff; }
.map-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 18px 12px; font-size: .85rem; color: var(--ink-2); text-align: center; pointer-events: none; }
.map-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(20, 27, 60, .86); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; pointer-events: none; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.map-msg.on { opacity: 1; }
.map-tip { position: absolute; pointer-events: none; background: rgba(20, 27, 60, .92); color: #fff; padding: 9px 13px; border-radius: 12px; font-size: .88rem; max-width: 270px; transform: translate(-50%, calc(-100% - 12px)); z-index: 2; box-shadow: 0 10px 24px rgba(20, 27, 60, .25); }

/* ---------- výsledky ---------- */
.results-wrap { padding-top: 36px; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.res-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.sort { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.sort button { font: inherit; font-weight: 700; font-size: .92rem; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); cursor: pointer; }
.sort button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.res-note { margin: -4px 0 14px; color: var(--warn); background: var(--warn-soft); padding: 10px 14px; border-radius: 12px; }
.hint { color: var(--muted); }
.more-wrap { display: flex; justify-content: center; margin-top: 20px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid > .hint { grid-column: 1 / -1; }
.card { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 20px 22px 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c, #5560d8); }
.card:hover, .card.hot { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.card b { font-size: 1.1rem; line-height: 1.25; letter-spacing: -.01em; margin-top: 4px; }
.card .addr { color: var(--ink-2); font-size: .95rem; }
.card .doc { font-size: .9rem; color: var(--ink-2); }
.card .meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .84rem; margin-top: 6px; }
.card .meta .ok { color: var(--ok); font-weight: 700; }
.card .meta .ok::before { content: '✓ '; }
.card .dist { position: absolute; right: 18px; top: 18px; font-weight: 800; font-size: .92rem; color: #4a52c4; background: var(--soft); padding: 3px 10px; border-radius: 999px; }
.card.partner { box-shadow: 0 0 0 2px rgba(138, 79, 192, .35), var(--shadow); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; padding-right: 70px; }
.tag { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--c, #5560d8); background: rgba(85, 96, 216, .1); background: color-mix(in srgb, var(--c, #5560d8) 12%, white); }
.tag.verified { --c: #1f8a5b; }
.tag.partner { color: #fff; background: var(--grad); }
.tag.accept { --c: #1f8a5b; }
.tag.noaccept { --c: #9a5b00; }
.count { font-size: .9rem; font-weight: 700; color: var(--ink-2); vertical-align: middle; background: var(--soft); border-radius: 999px; padding: 2px 11px; margin-left: 8px; letter-spacing: 0; }

/* ---------- kraje a obce ---------- */
.kraje-wrap { padding-top: 44px; padding-bottom: 20px; }
.kraje { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kraj { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 104px; padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.kraj b { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.2; }
.kraj span { color: var(--muted); font-size: .92rem; }
.kraj:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.obce { columns: 4 210px; column-gap: 28px; }
.obce a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); break-inside: avoid; }
.obce a:hover { color: #4a52c4; }
.obce a span { color: var(--muted); font-variant-numeric: tabular-nums; }
section + section { margin-top: 44px; }
section h2 .dot { margin-right: 10px; vertical-align: middle; width: 12px; height: 12px; }

.pro-teaser { padding-top: 40px; padding-bottom: 80px; }
.pro-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 40px 44px; border-radius: 30px; background: var(--sky); box-shadow: var(--shadow); flex-wrap: wrap; }
.pro-card p { color: var(--ink-2); max-width: 42em; margin: 0; }

/* ---------- hlavička podstránek ---------- */
.page-head { background: var(--sky); padding: 40px 0 44px; }
.page-head-big { padding: 64px 0; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin-bottom: 0; }
.page-head .actions { margin-bottom: 0; }
.crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); }

/* ---------- detail ordinace ---------- */
.typ { display: flex; gap: 6px; margin: 0 0 12px; flex-wrap: wrap; }
.typ .tag { font-size: .85rem; padding: 4px 12px; }
.lekar { font-size: 1.1rem; margin: 0 0 4px; }
.addr-big { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.box { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px 26px; margin-bottom: 18px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { width: 120px; }
.hours small { display: block; color: var(--muted); }
.hours .src-tag { font-size: .8rem; color: var(--ok); font-weight: 700; }
.empty { background: rgba(255, 255, 255, .55); box-shadow: none; border: 1.5px dashed #c9c4ea; }
.empty p { margin: 0; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts > div { font-size: .95rem; word-break: break-word; }
.facts span { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.notice { border-radius: 18px; padding: 16px 20px; margin-bottom: 18px; background: var(--warn-soft); color: #5c3a00; }
.notice b { display: block; margin-bottom: 2px; }
.accept-box { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.accept-box.yes { background: var(--ok-soft); color: var(--ok); }
.accept-box.no { background: var(--warn-soft); color: var(--warn); }
.accept-box::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.map-box { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); min-height: 290px; display: grid; place-items: center; align-content: center; gap: 12px; padding: 20px; box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.claim { margin-top: 18px; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.claim::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--grad); opacity: .45; filter: blur(30px); }
.claim > * { position: relative; z-index: 1; }
.claim p { color: #c9cdea; }
.near { margin-top: 48px; }
.src { margin-top: 32px; font-size: .88rem; color: var(--muted); }

/* ---------- pro lékaře ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { box-shadow: 0 0 0 2px #8a4fc0, var(--shadow-up); }
.plan ul { padding-left: 20px; margin: 0 0 22px; flex: 1; }
.plan li { margin-bottom: 7px; }
.plan .btn { align-self: flex-start; }
.plan-tag { font-weight: 700; color: #8a4fc0; margin: 0 0 8px; }
.benefits { margin-top: 64px; }
.ben-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.ben { background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.ben b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.ben p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.queue { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--soft); border-radius: var(--r-lg); padding: 30px; flex-wrap: wrap; margin-top: 56px; }
.queue p { margin: 0; max-width: 46em; }
.lead-form { scroll-margin-top: 100px; margin-top: 56px; }
.lead-form label { display: grid; gap: 6px; font-weight: 700; margin-bottom: 16px; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 400; min-height: 52px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfbfe; color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: #8a7ae6; box-shadow: 0 0 0 4px rgba(138, 79, 192, .14); background: #fff; }
.lead-form textarea { min-height: 96px; }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.lead-form .check input { min-height: 0; width: 22px; height: 22px; flex: none; accent-color: #8a4fc0; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 700; margin: 12px 0 0; }
.form-msg.err { color: #b3261e; } .form-msg.ok { color: var(--ok); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; }
.prose .lead-form { margin-top: 20px; }

/* ---------- podpora ---------- */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.mail-big { display: inline-block; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 800; margin: 2px 0 14px; word-break: break-all; }
.contact-card ul { padding-left: 20px; color: var(--ink-2); }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: #8a4fc0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--ink-2); }

/* ---------- patička ---------- */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: .94rem; }
.foot .wrap:first-child { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--ink-2); margin: 8px 0 0; }
.logo-foot svg { width: 34px; height: 34px; }
.foot-small { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 1000px) {
  .hero-grid, .detail, .support { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 28px; padding-top: 40px; padding-bottom: 44px; }
  .hero h1 { max-width: none; }
  .grid, .plans, .ben-grid { grid-template-columns: 1fr 1fr; }
  .kraje { grid-template-columns: 1fr 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .foot .wrap:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { font-size: 16.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .ribbon { font-size: .76rem; }
  .top .wrap { min-height: 62px; gap: 8px; }
  .logo svg { width: 36px; height: 36px; }
  .logo small { display: none; }
  .logo b { font-size: 1.08rem; }
  .nav a { padding: 9px 10px; }
  .nav a.n-hide { display: none; }
  .nav a.pro { padding: 9px 16px; margin-left: 2px; }
  .hero h1 { font-size: 2.35rem; }
  .search { flex-wrap: wrap; padding: 8px; border-radius: 22px; }
  .search > svg { margin-left: 10px; }
  .search input { flex: 1 1 calc(100% - 50px); min-height: 50px; font-size: 1.06rem; }
  .near-btn { flex: 1 1 100%; justify-content: center; min-height: 50px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 2px 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .hero-map { margin: 0 -6px; border-radius: 24px; }
  #cz { aspect-ratio: 1.15; }
  .grid, .plans, .ben-grid, .foot .wrap:first-child, .lead-form .two { grid-template-columns: 1fr; }
  .kraje { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kraj { min-height: 92px; padding: 14px 16px; }
  .actions .btn { flex: 1 1 auto; }
  .box { padding: 20px; }
  .pro-card { padding: 28px 24px; }
}
