/* OneDayCare prototyp: šalvěj, jedle, měď, jedno písmo Oddval (Light a Regular), záloha Sora */
:root {
  --len: #F6F3EE;
  --mlha: #E4EAE5;
  --salvej: #AEBDB1;
  --salvej-tmava: #7F9A86;
  --jedle: #12302A;
  --jedle-hluboka: #0d2621;
  --med: #A4542F;
  --med-tmava: #8a4424;
  --text-2: #2c4741;
  --text-3: #3b5650;
  --linka: #e3ddd3;
  --linka-2: #d9d4cb;
  --bila: #ffffff;
  --ortho: #002E87;
  --a-orto: #B07A3B;
  --a-cevni: #4F7C8A;
  --a-chir: #5E7E6B;
  --a-est: #B5786E;
  --font: 'Oddval', 'Sora', system-ui, sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
  --maxw: 1280px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--len); color: var(--jedle); font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--med); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--med); }
.eyebrow.dark { color: var(--jedle); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex-shrink: 0; }
.dot.orto { background: var(--a-orto); } .dot.cevni { background: var(--a-cevni); } .dot.chir { background: var(--a-chir); } .dot.est { background: var(--a-est); }

/* Tlačítka: kapitálky */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; font-family: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .2s; }
.btn-med { background: var(--med); color: var(--bila); }
.btn-med:hover { background: var(--med-tmava); }
.btn-jedle { background: var(--jedle); color: var(--bila); }
.btn-jedle:hover { background: #1c4239; }
.btn:active { transform: translateY(1px); }
.link-arrow { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* Horní lišta a hlavička */
.topbar { background: var(--jedle); color: var(--mlha); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar strong { color: var(--bila); font-weight: 400; }
.topbar .sep { color: #4f6d61; padding-inline: 8px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(246,243,238,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linka); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { display: flex; flex-direction: column; gap: 2px; }
.brand-name b { font-weight: 400; font-size: 16px; letter-spacing: 0.1em; }
.brand-name small { font-size: 10px; font-weight: 400; letter-spacing: 0.14em; color: var(--text-3); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav > .item { position: relative; }
.nav > .item > a, .nav > .item > button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav > .item > a:hover, .nav > .item > button:hover { color: var(--med); }
.nav > .item.is-link { display: inline-flex; align-items: center; gap: 4px; }
.nav > .item.is-link > .dd-caret { padding: 10px 0 10px 2px; }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.item.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 240px; background: var(--bila); border: 1px solid var(--linka); box-shadow: 0 20px 50px rgba(18,48,42,.14); padding: 14px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown.mega { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 26px 8px; left: 50%; width: 1000px; translate: -50% 0; }
.dropdown.mega > div { display: flex; flex-direction: column; padding: 0 22px; border-left: 1px solid var(--linka); }
.dropdown.mega > div:first-child { border-left: 0; }
.item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 10px; border-radius: 0; font-size: 15px; line-height: 1.35; }
.dropdown a:hover { background: var(--len); color: var(--med); }
.dropdown h4 { margin: 0 0 6px; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; color: var(--text-3); display: flex; align-items: center; gap: 8px; padding-left: 10px; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.header-cta { display: inline-flex; }

/* Mobilní menu */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--len); padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px); overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 6px; }
.mnav.open { transform: none; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mnav details { border-bottom: 1px solid var(--linka); }
.mnav summary, .mnav > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 20px; font-weight: 400; cursor: pointer; list-style: none; }
.mnav > a { border-bottom: 1px solid var(--linka); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details a { display: block; padding: 10px 0 10px 14px; font-size: 16px; color: var(--text-2); }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--mlha); font-family: inherit; font-size: 22px; color: var(--jedle); cursor: pointer; }

/* Hero */
.hero { position: relative; z-index: 5; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-block: 72px 96px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 32ch; }
.cvt { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; position: relative; max-width: 460px; }
.cvt label { font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
.cvt-btn { width: 100%; min-height: 62px; border-radius: 999px; border: 1.5px solid var(--med); background: transparent; padding: 0 26px; display: flex; justify-content: space-between; align-items: center; font-family: inherit; font-size: 18px; font-weight: 300; color: var(--jedle); cursor: pointer; transition: background .2s; }
.cvt-btn:hover, .cvt-btn[aria-expanded="true"] { background: var(--bila); }
.cvt-btn svg { transition: transform .25s; }
.cvt-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.cvt-panel { position: absolute; top: calc(100% + 12px); left: 0; width: min(860px, calc(100vw - 2 * var(--gutter))); background: var(--bila); box-shadow: 0 24px 60px rgba(18,48,42,.18); padding: 30px 34px 22px; z-index: 40; display: flex; flex-direction: column; gap: 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.cvt-panel.open { opacity: 1; visibility: visible; transform: none; }
.cvt-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.cvt-group h4 { margin: 0 0 8px; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.cvt-group a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #efebe4; font-size: 17px; transition: color .15s, padding .15s; }
.cvt-group a:hover { color: var(--med); padding-left: 4px; }
.cvt-group a .soon { font-size: 11px; letter-spacing: 0.08em; color: var(--text-3); text-transform: uppercase; }
.cvt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--len); padding: 14px 18px; font-size: 15px; color: var(--text-3); }
.cvt-foot b { color: var(--jedle); font-weight: 400; }
.sheet-head { display: none; }
.backdrop { position: fixed; inset: 0; background: rgba(13,38,33,.55); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.backdrop.open { opacity: 1; visibility: visible; }

.hero-media { position: relative; justify-self: end; width: min(480px, 100%); }
.hero-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tint { position: absolute; background: var(--salvej-tmava); mix-blend-mode: multiply; opacity: .75; }
.hero-media .tint { left: 38%; top: 62%; width: 33%; height: 45%; animation: tintIn 1s .35s cubic-bezier(.2,.7,.2,1) both; }
.outline { position: absolute; pointer-events: none; z-index: 0; }
.outline { animation: olIn 1.8s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero .outline { right: -120px; top: -40px; width: min(900px, 80vw); height: auto; }
.pp-hero .outline { left: -280px; right: auto; top: 280px; width: 820px; }
@keyframes olIn { from { transform: scale(.94) rotate(-6deg); opacity: .3; } to { transform: none; opacity: 1; } }

@keyframes tintIn { from { transform: translateY(40px); opacity: .2; } to { transform: none; opacity: .75; } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .06s; } .hero-text > *:nth-child(3) { animation-delay: .12s; } .hero-text > *:nth-child(4) { animation-delay: .18s; }

/* Odhalení při scrollu: výchozí stav je viditelný, JS jen přidá pohyb */
.js .reveal-pending { transform: translateY(28px); opacity: .001; }
.reveal-in { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; transform: none; opacity: 1; }

/* Sekce */
section { position: relative; }
.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 54px); }
.sec-head p { max-width: 46ch; color: var(--text-2); }
.sec-head.stack { flex-direction: column; align-items: flex-start; gap: 16px; }
.bg-salvej { background: var(--salvej); }
.bg-mlha { background: var(--mlha); }
.bg-jedle { background: var(--jedle); color: var(--bila); }
.bg-jedle .sec-head p, .bg-jedle .muted { color: #c9d4cb; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

.branch { background: var(--len); display: flex; flex-direction: column; }
.branch img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .6s; }
.branch .ph { overflow: hidden; }
.branch:hover img { transform: scale(1.03); }
.branch-body { padding: 30px 36px 34px; display: flex; flex-direction: column; gap: 14px; }
.branch-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.branch-title h3 { font-size: 32px; font-weight: 400; }
.tag { font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--jedle); white-space: nowrap; }
.tag.fill { background: var(--jedle); color: var(--bila); }
.tag.soft { border: 0; background: var(--mlha); }
.branch .meta { color: var(--text-2); }

.card { background: var(--bila); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,48,42,.08); }
.card h3 { font-size: 26px; font-weight: 400; }
.card p { color: var(--text-2); font-size: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.endorse { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--linka); display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--text-3); flex-wrap: wrap; }
.endorse svg { width: 170px; height: auto; }

.proc-col h3 { font-size: 13px; font-weight: 400; letter-spacing: .14em; display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--jedle); }
.proc-col a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #c9d4cb; font-size: 19px; transition: color .15s; }
.proc-col a:hover { color: var(--med); }
/* Řádky zákroků zarovnané napříč sloupci: každý sloupec je podmřížka přes všechny řádky. */
@media (min-width: 1141px) {
  .proc-grid { row-gap: 0; }
  .proc-grid > .proc-col { display: grid; grid-template-rows: subgrid; grid-row: span var(--proc-rows, 6); align-content: start; }
  .proc-grid > .proc-col a { align-items: flex-start; }
}

.why { border-top: 1px solid var(--jedle); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.why b { font-weight: 400; font-size: 21px; }
.why span { color: var(--text-2); font-size: 16px; }
.step b { display: block; font-size: 44px; font-weight: 300; color: var(--salvej); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 21px; font-weight: 400; margin-bottom: 8px; }

.review { margin: 0; background: var(--bila); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 21px; line-height: 1.45; color: var(--jedle); }
.review figcaption { font-size: 14px; color: var(--text-3); letter-spacing: .02em; }
.review figcaption b { font-weight: 400; color: var(--jedle); }
.placeholder { min-height: 120px; border: 1px dashed #b9c4bb; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 15px; padding: 20px; text-align: center; }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.faq details { border-bottom: 1px solid #b9c4bb; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--text-2); max-width: 60ch; }

/* Formulář */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact-line { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.contact-line small { color: var(--salvej); letter-spacing: .12em; font-size: 13px; font-weight: 400; }
form.f { background: var(--len); color: var(--jedle); padding: 34px; display: flex; flex-direction: column; gap: 14px; }
form.f.dark { background: var(--jedle); color: var(--bila); }
.f .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.f label.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-3); }
.f.dark label.fld { color: #c9d4cb; }
.f input[type=text], .f input[type=tel], .f input[type=email], .f select { height: 50px; border: 1px solid var(--linka-2); background: var(--bila); padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--jedle); border-radius: 0; }
.f.dark input[type=text], .f.dark input[type=tel], .f.dark input[type=email], .f.dark select { border-color: #3b5a50; background: var(--len); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg label { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--linka-2); background: var(--bila); cursor: pointer; font-size: 16px; color: var(--jedle); }
.seg input { accent-color: var(--med); }
.seg label:has(input:checked) { background: var(--jedle); color: var(--bila); border-color: var(--jedle); }
.f.dark .seg label { background: transparent; border-color: #4f6d61; color: var(--bila); }
.f.dark .seg label:has(input:checked) { background: var(--salvej); color: var(--jedle); border-color: var(--salvej); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.f.dark .check { color: #c9d4cb; }
.check input { accent-color: var(--med); width: 18px; height: 18px; }
.f .btn { min-height: 56px; margin-top: 4px; }
.f .ok { display: none; padding: 14px 16px; background: var(--mlha); color: var(--jedle); font-size: 15px; }
.f.sent .ok { display: block; }
.f .err { color: var(--med); font-size: 14px; min-height: 1em; }

/* Patička */
.footer { background: var(--jedle-hluboka); color: #c9d4cb; font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px; }
.footer h4 { margin: 0 0 12px; color: var(--bila); font-weight: 400; font-size: 15px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: var(--bila); }
.footer .brand-name b { color: var(--bila); }
.proto-note { background: var(--med); color: var(--bila); font-size: 13px; text-align: center; padding: 8px 16px; }

/* Podstránka problému */
.crumbs { font-size: 14px; color: var(--text-3); }
.crumbs a:hover { color: var(--med); }
.pp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; padding-block: 48px 88px; }
.pp-hero h1 { font-size: clamp(42px, 5.4vw, 76px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 42px; padding: 0 18px; border: 1px solid var(--linka-2); background: var(--bila); border-radius: 999px; display: inline-flex; align-items: center; font-size: 15px; }
.pp-photo { position: relative; overflow: hidden; }
.pp-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 62%; }
.pp-photo .tint { background: var(--a-orto); opacity: .6; left: 50%; top: 55%; width: 26%; height: 50%; }
.sticky-form { position: sticky; top: 108px; }
.step-card { background: var(--len); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-card b { font-size: 34px; font-weight: 300; color: var(--a-chir); }
.step-card h3 { font-size: 21px; font-weight: 400; }
.step-card p { color: var(--text-2); font-size: 16px; }

@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap, .pp-hero .wrap, .order, .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-media { justify-self: stretch; width: 100%; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero .outline { right: -200px; top: auto; bottom: -80px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sticky-form { position: static; }
  .topbar .mail { display: none; }
  /* Co vás trápí jako spodní panel */
  .cvt-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 82vh; max-height: 82dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transform: translateY(100%); padding: 14px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 75; }
  .cvt-panel.open { transform: none; }
  .cvt-groups { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* Hlavička listu s křížkem zůstává nahoře i při posouvání; dvh počítá s lištami Safari na iPhonu. */
  .sheet-head { display: flex; flex-direction: column; gap: 10px; position: sticky; top: -14px; margin-top: -14px; padding-top: 14px; padding-bottom: 6px; background: var(--bila); z-index: 2; }
  .sheet-head .grab { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: #c9c3b8; }
  .sheet-head .row { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 400; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .f .row { grid-template-columns: minmax(0, 1fr); }
  .footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .header-cta { display: none; }
  .branch-body { padding: 24px; }
  form.f { padding: 24px; }
  .topbar .wrap { justify-content: center; font-size: 13px; }
  .topbar .wrap > div:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal-pending { transform: none; opacity: 1; }
}

/* Podstránka zákroku */
.zk .wrap { }
.zk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding-block: 48px 88px; }
.zk-grid .hero-text h1 { font-size: clamp(42px, 5.4vw, 76px); }
.zk-media { position: relative; }
.zk-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zk-media .tint { left: 46%; top: 58%; width: 30%; height: 48%; opacity: .62; animation: tintIn 1s .35s cubic-bezier(.2,.7,.2,1) both; }
.zk-media.chir .tint { background: var(--a-chir); } .zk-media.orto .tint { background: var(--a-orto); } .zk-media.cevni .tint { background: var(--a-cevni); }
.cta-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.chips-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 400; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about p.body { font-size: 18px; color: var(--text-2); max-width: 60ch; margin-top: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checks li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #c9d4cb; font-size: 19px; }
.checks li svg { flex-shrink: 0; }
.stay { margin-top: 24px; background: var(--bila); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { min-height: 48px; padding: 0 20px; border: 1px solid var(--jedle); display: inline-flex; align-items: center; gap: 10px; font-size: 16px; transition: background .2s, color .2s; }
.related a:hover { background: var(--jedle); color: var(--bila); }
@media (max-width: 860px) {
  .zk-grid, .about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .zk-media img { aspect-ratio: 4 / 3; }
}

/* Zákrok: rozbalovací seznam problémů + velký křížek přes dvě sekce */
.sympt { max-width: 520px; border-top: 1px solid var(--linka-2); border-bottom: 1px solid var(--linka-2); }
.sympt summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.sympt summary::-webkit-details-marker { display: none; }
.sympt .plus { position: relative; width: 34px; height: 34px; flex: none; border: 1.5px solid var(--med); border-radius: 999px; transition: transform .25s, background .2s; }
.sympt .plus::before, .sympt .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--med); transform: translate(-50%, -50%); }
.sympt .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.sympt[open] .plus { transform: rotate(45deg); background: var(--bila); }
.sympt summary:hover .plus { background: var(--bila); }
.sympt ul { margin: 0; padding: 0 0 16px; list-style: none; display: grid; gap: 0; }
.sympt li { padding: 10px 0 10px 20px; position: relative; font-size: 17px; border-top: 1px solid #efebe4; }
.sympt li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; background: var(--salvej-tmava); transform: translateY(-50%); }
.sympt[open] ul { animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
.zk-page { position: relative; overflow-x: clip; }
.zk-page > section > .wrap { position: relative; z-index: 2; }
.zk-ol { position: absolute; left: 0; right: 0; top: 0; height: 2200px; overflow: hidden; pointer-events: none; z-index: 1; }
.zk-ol .outline { right: -560px; top: 360px; width: 1500px; left: auto; }
@media (max-width: 900px) { .zk-ol .outline { right: -420px; top: 620px; width: 1000px; } }

/* Video mezi úvodem a pobočkami */
.vid-sec { padding-block: 0 clamp(64px, 8vw, 104px); }
.vid { position: relative; background: var(--jedle); aspect-ratio: 16 / 9; overflow: hidden; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-sound { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(18,48,42,.72); color: #fff; font: inherit; font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.vid-sound:hover { background: var(--med); }
.vid-sound .on { display: none; } .vid-sound[aria-pressed="true"] .on { display: inline; } .vid-sound[aria-pressed="true"] .off { display: none; }
@media (max-width: 700px) { .vid-sec .wrap { padding-inline: 0; } .vid-sound { right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .vid video { animation: none; } }

.amb-vid { margin-top: 40px; }
.vid-home { padding-top: 0; }
@media (max-width: 700px) { .vid-home .wrap { padding-inline: 0; } }
.endorse.inv { margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); justify-content: flex-start; color: #c9d4cb; }
.endorse.inv svg { width: 150px; }
@media (max-width: 700px) { .amb-vid { margin-inline: calc(-1 * var(--gutter)); } }
.hero-media img { height: auto; }

/* ===== WordPress šablona: doplňky k prototypu ===== */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--jedle); color: var(--bila); padding: 12px 18px; }
.skip:focus { left: 8px; top: 8px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mnav .mnav-cta { margin-top: 18px; border: 0; justify-content: center; font-size: 14px; }
.crumbs b { font-weight: 400; color: var(--jedle); }
.eyebrow-dot { display: flex; align-items: center; gap: 10px; }
.head-stack { display: flex; flex-direction: column; gap: 12px; }
.hero .lead.lead-wide { max-width: 40ch; }
.hero .lead.lead-zk { max-width: 44ch; }
.h2-faq { font-size: clamp(34px, 4vw, 54px); }
.h2-order { font-size: clamp(36px, 4.4vw, 58px); }
.h2-related { font-size: clamp(28px, 3vw, 40px); }
.order-info { display: flex; flex-direction: column; gap: 18px; }
.faq-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stay .dot { margin-top: 8px; }
.contact-line a:hover, .branch-body p a:hover, .card p a:hover { color: var(--med); }
.bg-jedle .contact-line a:hover { color: var(--salvej); }
.pp-photo.chir .tint { background: var(--a-chir); } .pp-photo.cevni .tint { background: var(--a-cevni); }
.endorse a { display: inline-flex; }
.footer-claim { margin-top: 12px; line-height: 1.6; }
.footer-contact span { display: block; }
.footer-contact .fc-name { padding: 12px 0 4px; color: var(--bila); }
.footer-contact h4 + .fc-name { padding-top: 4px; }
.footer-contact span a { display: inline; padding: 0; }
.footer-contact .fc-gdpr { margin-top: 10px; }

/* Formulář */
.f .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f .fld-set { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-3); }
.f .fld-set legend { padding: 0; margin-bottom: 6px; }
.f .row.row-1 { grid-template-columns: minmax(0, 1fr); }
.f .f-title { font-size: 30px; line-height: 1.15; }
.f .f-text { font-size: 15px; color: var(--text-3); }
.f.dark .f-text { color: #c9d4cb; }
.f .f-hint { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.f.dark .f-hint { color: #9fb2a4; }
.f .f-note { font-size: 14px; color: var(--salvej-tmava); text-align: center; }
.f.dark .f-note { color: var(--salvej); }
.f.dark .check.extra { color: #E4EAE5; }
.f .check a { text-decoration: underline; text-underline-offset: 3px; }
.f.sending .btn { opacity: .6; cursor: progress; }
.f.sent .btn, .f.sent .f-hint { display: none; }
.f .btn:disabled { cursor: default; }
.f select, .f.dark select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%2312302A' stroke-width='1.5'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }

/* Horní lišta s pobočkami zůstává vidět i na mobilu */
@media (max-width: 560px) { .topbar .wrap > div:only-child { display: block; } }

/* Obecná stránka */
.pg-hero { padding-block: 48px 56px; border-bottom: 1px solid var(--linka); }
.pg-hero .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pg-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 20ch; }
.pg-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 60ch; }
.pg-404 { padding-block: 96px 120px; border-bottom: 0; }
.pg-body { padding-block: clamp(48px, 6vw, 80px); }
.detail { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.prose { max-width: 72ch; color: var(--text-2); font-size: 18px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--jedle); margin-top: 44px; font-weight: 400; line-height: 1.15; }
.prose h3 { font-size: 23px; color: var(--jedle); margin-top: 36px; font-weight: 400; line-height: 1.2; }
.prose h4 { font-size: 19px; color: var(--jedle); margin: 28px 0 0; font-weight: 400; }
.prose > :first-child { margin-top: 0; }
.prose strong, .prose b { font-weight: 400; color: var(--jedle); }
.prose a { color: var(--med); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--med-tmava); }
.prose ul, .prose ol { margin: 18px 0 0; padding: 0; list-style: none; }
.prose li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--linka); }
.prose li:last-child { border-bottom: 1px solid var(--linka); }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; background: var(--salvej-tmava); }
.prose ol { counter-reset: odc; }
.prose ol > li { counter-increment: odc; padding-left: 36px; }
.prose ol > li::before { content: counter(odc, decimal-leading-zero); position: absolute; left: 0; top: 10px; color: var(--med); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--linka); vertical-align: top; }
.prose th { font-weight: 400; color: var(--jedle); }
.prose img { height: auto; }
.bg-mlha .prose li, .bg-mlha .prose li:last-child { border-color: #c9d4cb; }
.jobs { margin-top: 36px; }
.prose + .jobs { margin-top: 48px; }
.back { margin-top: 40px; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; }

/* Formulář na stránce problému leží nad podkladovým obrysem */
.sticky-form { z-index: 2; }
@media (max-width: 860px) { .sticky-form { position: relative; } }
.footer-contact span { overflow-wrap: anywhere; }

/* ===== Weby zubní kliniky a estetiky (rozložení podle webů DKI, barvy OneDayCare) ===== */
.site-stomatologie { --tint: #DCEAE8; --tint-linka: #bfd6d3; --a-site: #3F8C8A; }
.site-estetika { --tint: #EFE6DC; --tint-linka: #dccdbb; --a-site: #B08A63; }
.site-stomatologie .bg-mlha, .site-estetika .bg-mlha { background: var(--tint); }
.topbar-hub a { opacity: .85; }
.topbar-hub a:hover { opacity: 1; color: var(--bila); }
.dropdown .dd-all { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--linka); margin-bottom: 6px; padding-bottom: 12px; }
.btn-line { background: transparent; color: var(--jedle); border: 1px solid var(--jedle); }
.btn-line:hover { background: var(--jedle); color: var(--bila); }

.ob-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--jedle); color: var(--bila); overflow: hidden; }
.ob-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ob-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,38,33,.82) 0%, rgba(13,38,33,.5) 48%, rgba(13,38,33,.12) 100%); }
.ob-hero .wrap { position: relative; z-index: 2; padding-block: 120px 88px; }
.ob-hero-text { max-width: 720px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ob-hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.ob-hero h1 { font-size: clamp(42px, 5.6vw, 80px); }
.ob-hero p { font-size: clamp(17px, 1.5vw, 21px); color: #E4EAE5; max-width: 46ch; }

.ob-about { overflow: hidden; }
.ob-about .hero-bg .outline { left: -260px; top: -120px; width: 760px; right: auto; }
.ob-about .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ob-about h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; max-width: 22ch; }
.ob-about p { margin-top: 26px; font-size: 19px; color: var(--text-2); max-width: 58ch; }
.ob-about .ob-note { font-size: 15px; color: var(--text-3); padding-top: 22px; border-top: 1px solid var(--linka-2); }

.ob-offer-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.ob-offer-head h2 { font-size: clamp(34px, 4vw, 54px); max-width: 14ch; }
.ob-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ob-card { background: var(--len); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: transform .25s, box-shadow .25s, background .25s; }
.ob-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,48,42,.1); background: var(--bila); }
.ob-card h2, .ob-card h3 { font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.ob-card p { color: var(--text-2); font-size: 16px; }
.ob-num { font-size: 13px; letter-spacing: .12em; color: var(--a-site, var(--med)); align-self: flex-end; }
.ob-more { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--linka); }
.ob-card:hover .ob-more { color: var(--med); }

.ob-quality .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.ob-quality-head { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; position: sticky; top: 130px; }
.ob-quality h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; }
.ob-points { background: var(--jedle); color: var(--bila); padding: 14px 40px; }
.ob-point { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ob-point:last-child { border-bottom: 0; }
.ob-point b { display: block; font-weight: 400; font-size: 13px; letter-spacing: .12em; color: var(--salvej); margin-bottom: 10px; }
.ob-point h3 { font-size: 23px; font-weight: 400; margin-bottom: 8px; }
.ob-point p { color: #c9d4cb; font-size: 16px; }

.ob-branch { border: 1px solid rgba(255,255,255,.18); padding: 34px 36px; display: flex; flex-direction: column; gap: 14px; }
.ob-branch h3 { font-size: 30px; font-weight: 400; }
.ob-branch p { color: #c9d4cb; }
.ob-branch p a:hover { color: var(--bila); }
.ob-branch small { display: block; font-size: 12px; letter-spacing: .12em; color: var(--salvej); margin-bottom: 4px; }
.ob-branch .link-arrow { margin-top: 8px; color: var(--bila); }
.bg-mlha .contact-line small { color: var(--text-3); }
.bg-mlha .order-info p { color: var(--text-2); }
.bg-mlha form.f { background: var(--bila); }

/* Detail služby nebo ošetření */
.sl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: start; }
.sl-grid > .prose:only-child { grid-column: 1 / -1; }
.sl-prices { background: var(--jedle); color: var(--bila); padding: 32px; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.sl-prices h2 { font-size: 26px; font-weight: 400; }
.sl-prices dl { margin: 0; }
.sl-prices dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 16px; }
.sl-prices dt { color: #c9d4cb; }
.sl-prices dd { margin: 0; white-space: nowrap; }
.prose .note { font-size: 15px; color: var(--text-3); }
.prose table td:last-child, .prose table th:last-child { text-align: right; white-space: nowrap; padding-right: 0; }

@media (max-width: 1140px) { .ob-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .ob-hero { min-height: 520px; }
  .ob-hero .wrap { padding-block: 96px 56px; }
  .ob-hero::after { background: linear-gradient(0deg, rgba(13,38,33,.88) 0%, rgba(13,38,33,.45) 70%, rgba(13,38,33,.2) 100%); }
  .ob-about .wrap, .ob-quality .wrap, .sl-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ob-quality-head, .sl-prices { position: static; }
  .ob-points { padding: 6px 24px; }
  .ob-cards { grid-template-columns: minmax(0, 1fr); }
  .ob-card { min-height: 0; }
  .ob-branch { padding: 26px 24px; }
}
@media (max-width: 560px) { .topbar-hub { display: none; } }

/* Pobočky: adresa a odkaz v obou kartách ve stejné výšce. */
#pobocky .grid-2 { align-items: stretch; }
.branch-body { flex: 1; }
.branch .meta { flex-grow: 1; }
/* Odborné ambulance s fotkou. */
.amb-card { padding: 0; overflow: hidden; }
.amb-card .ph { overflow: hidden; }
.amb-card .ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.amb-card:hover .ph img { transform: scale(1.03); }
.amb-card .card-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 30px; }
.amb-card .card-body p { flex-grow: 1; }
/* Formulář: poznámka k pobočce Litoměřice. */
.f-hint { margin: -4px 0 0; font-size: 14px; color: var(--text-2); }
.f.dark .f-hint { color: #c9d4cb; }
/* Odborné ambulance: víc místa pod štítky, titulky na dva řádky, odkaz níž a zarovnaný. */
.amb-card .tags { margin-bottom: 8px; }
.amb-card h3 { line-height: 1.15; min-height: 2.3em; }
.amb-card .link-arrow { margin-top: 12px; }
