/* ==========================================================================
   Site-ul public al clinicii
   Paleta: emailul dintelui (enamel) + albastru-verde de uniforma medicala.
   Tipografie: Unbounded (titluri, cifrele orelor) + Onest (text). Ambele cu chirilice.
   Elementul-semnatura: panoul "Primele ore libere" (ore reale din agenda).
   ========================================================================== */

:root {
    --enamel: #F6F8F7;
    --paper: #FFFFFF;
    --ink: #0F2B33;
    --scrub: #1D6B73;
    --scrub-dk: #14525A;
    --mint: #C7EBDD;
    --mint-soft: #E7F5EF;
    --shade: #EADFC8;
    --line: #D9E2E0;
    --muted: #556B70;
    --danger: #B4381F;

    --display: 'Unbounded', 'Onest', system-ui, sans-serif;
    --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 28px;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--enamel); color: var(--ink); font: 400 17px/1.6 var(--text); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.125rem; }
.h-sm { font-size: 1.25rem; margin-bottom: 1.1rem; }
.h-md { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--scrub); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; margin-top: 1rem; }
.muted, .hint { color: var(--muted); }
.hint { font-size: .9rem; margin-top: .5rem; }
.link { color: var(--scrub); font-weight: 600; text-underline-offset: 3px; }

/* --- Butoane --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--scrub); color: #fff; }
.btn-solid:hover { background: var(--scrub-dk); }
.btn-solid:disabled { background: #9DB4B6; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); }
.btn-danger { background: var(--danger); color: #fff; }

/* --- Antet --- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(246, 248, 247, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; fill: var(--scrub); flex-shrink: 0; }
.brand-light .brand-mark { fill: var(--mint); }
.hdr-nav { display: flex; gap: 1.5rem; margin-left: 1rem; }
.hdr-nav a { text-decoration: none; font-weight: 500; color: var(--muted); padding: .3rem 0; border-bottom: 2px solid transparent; }
.hdr-nav a:hover, .hdr-nav a.is-on { color: var(--ink); border-color: var(--scrub); }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.hdr-tel { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { font: 600 .8rem/1 var(--text); padding: .4rem .55rem; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang a.is-on { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); background: var(--enamel); height: calc(100vh - 72px); height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.drawer nav { display: flex; flex-direction: column; padding-top: 1rem; padding-bottom: 2rem; }
.drawer nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.25rem/1.2 var(--display); }
.drawer .btn { margin-top: 1.5rem; }

/* --- Hero --- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 15ch; }
.hero-act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2.75rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 560px; }
.hero-facts dt { font-size: .875rem; color: var(--muted); margin-bottom: .25rem; }
.hero-facts dd { margin: 0; font-weight: 500; }

/* --- Panoul cu ore libere (elementul-semnatura) --- */
.board { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 1.75rem 1.5rem 1.25rem; box-shadow: 0 30px 60px -30px rgba(15, 43, 51, .55); }
.board-head h2 { font-size: 1.25rem; }
.board-head p { font-size: .875rem; color: #A9C3C4; margin-top: .35rem; }
.board-empty { margin-top: 1.25rem; color: #D5E4E4; }
.board-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.board-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem .75rem .9rem 1rem; margin: 0 -.5rem; border-radius: 0 var(--r) var(--r) 0; border-left: 4px solid var(--mint); text-decoration: none; transition: background-color .15s; }
.board-list li + li .board-row { margin-top: .4rem; }
.board-list li:nth-child(2) .board-row { border-left-color: #A8DCCB; }
.board-list li:nth-child(3) .board-row { border-left-color: var(--shade); }
.board-list li:nth-child(4) .board-row { border-left-color: #D9CBAE; }
.board-list li:nth-child(5) .board-row { border-left-color: #C9B894; }
.board-row:hover, .board-row:focus-visible { background: rgba(255, 255, 255, .07); }
.board-when { display: flex; flex-direction: column; }
.board-time { font: 500 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.board-day { font-size: .8rem; color: #A9C3C4; margin-top: .3rem; }
.board-who { min-width: 0; }
.board-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-role { display: block; font-size: .85rem; color: #A9C3C4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-go { font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--mint); padding: .45rem .8rem; border-radius: 999px; }
.board-all { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--mint); font-weight: 600; text-decoration: none; text-align: center; }
.board-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Sectiuni --- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-top0 { padding-top: 0; }
.sec-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.sec-head p { color: var(--muted); max-width: 46ch; }
.sec-more { margin-top: 2rem; }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .9rem; margin-bottom: .75rem; }
.crumbs a { color: var(--muted); }

/* --- Lista de preturi --- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.doc-detail .prices { grid-template-columns: 1fr; }
.price-group h3 { font: 600 1rem/1.3 var(--text); color: var(--scrub); padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.price-group ul { list-style: none; margin: 0; padding: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: .9rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.price-name { font-weight: 500; }
.price-desc { display: block; font-size: .9rem; color: var(--muted); margin-top: .2rem; }
.price-dur { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.price-sum { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; min-width: 6.5rem; }
.price-book { font-size: .85rem; font-weight: 600; color: var(--scrub); text-decoration: none; padding: .25rem .6rem; border-radius: 999px; border: 1px solid transparent; }
.price-book:hover { border-color: var(--scrub); }

/* --- Medici --- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.5rem 1.75rem; }
.doc-photo { display: block; aspect-ratio: 4 / 5; border-radius: 120px 120px var(--r) var(--r); background: color-mix(in srgb, var(--doc, var(--scrub)) 12%, var(--enamel)); overflow: hidden; position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 500 3rem/1 var(--display); color: color-mix(in srgb, var(--doc, var(--scrub)) 55%, var(--ink)); }
.doc-name { margin-top: 1rem; font-size: 1.125rem; }
.doc-name a { text-decoration: none; }
.doc-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc-role { color: var(--muted); margin-top: .25rem; }
.doc-meta { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.doc-next { display: inline-block; margin-top: .75rem; font-size: .9rem; text-decoration: none; background: var(--mint-soft); border: 1px solid var(--mint); color: var(--ink); padding: .45rem .75rem; border-radius: var(--r-sm); }
.doc-next:hover { border-color: var(--scrub); }
.doc-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.doc-photo-lg { width: 100%; }
.doc-bio { margin-top: 1.25rem; max-width: 62ch; }
.doc-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3.5rem; }
.week { margin: 0; }
.week div { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.week dt { font-weight: 500; }
.week dd { margin: 0; font-variant-numeric: tabular-nums; }
.week .is-off { color: var(--muted); }

/* --- Despre / pasi --- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.about-text { margin-top: 1.25rem; font-size: 1.125rem; max-width: 56ch; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 500 1.4rem/1 var(--display); color: var(--scrub); }

/* --- Recenzii, FAQ --- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.quote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--mint); }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote figcaption { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.faq-wrap { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--scrub); border-bottom: 2px solid var(--scrub); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 1.25rem; color: var(--muted); max-width: 70ch; }

.cta-band { background: var(--scrub); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* --- Programare --- */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
.bk-main { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.bk-sum { min-width: 0; }
.bk-step { margin: 0; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); padding: 1.25rem 1.25rem 1.5rem; min-width: 0; }
.bk-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; font: 500 1.05rem/1.2 var(--display); margin-bottom: 1rem; padding: 0; }
.bk-step legend + * { clear: both; }
.bk-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 .85rem/1 var(--text); }
.field { width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75rem .9rem; }
.field:focus { outline: none; border-color: var(--scrub); box-shadow: 0 0 0 3px var(--mint); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--scrub) 50%), linear-gradient(135deg, var(--scrub) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.pick-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.pick-doc { cursor: pointer; }
.pick-doc[hidden] { display: none; }
.pick-doc input { position: absolute; opacity: 0; pointer-events: none; }
.pick-doc-in { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); height: 100%; }
.pick-doc-in strong { display: block; font-weight: 600; font-size: .95rem; }
.pick-doc-in small { display: block; color: var(--muted); font-size: .8rem; }
.pick-doc input:checked + .pick-doc-in { border-color: var(--scrub); background: var(--mint-soft); }
.pick-doc input:focus-visible + .pick-doc-in { outline: 3px solid var(--scrub); outline-offset: 2px; }
.pick-mono { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; font: 600 .85rem/1 var(--display); color: var(--doc, var(--scrub)); background: color-mix(in srgb, var(--doc, var(--scrub)) 16%, #fff); }
.pick-any { color: var(--muted); background: var(--enamel); }
.days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .75rem; scroll-snap-type: x proximity; }
.day { scroll-snap-align: start; flex: 0 0 74px; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .65rem .25rem; border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--r-sm); cursor: pointer; font-family: var(--text); color: var(--ink); }
.day-w { font-size: .8rem; color: var(--muted); }
.day-n { font: 500 1.35rem/1.1 var(--display); }
.day-f { font-size: .75rem; color: var(--scrub); font-weight: 600; white-space: nowrap; }
.day:disabled { opacity: .45; cursor: not-allowed; }
.day:disabled .day-f { color: var(--muted); }
.day.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.is-on .day-w, .day.is-on .day-f { color: var(--mint); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; margin-top: .5rem; }
.slots .hint { grid-column: 1 / -1; }
.slot { padding: .65rem 0; border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--r-sm); font: 600 1rem/1 var(--text); font-variant-numeric: tabular-nums; color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--scrub); }
.slot.is-on { background: var(--scrub); border-color: var(--scrub); color: #fff; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lbl { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 600; }
.lbl-wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--scrub); flex-shrink: 0; }
.bk-sum { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.bk-sum h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.bk-sum dl { margin: 0 0 1.25rem; }
.bk-sum dl div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.bk-sum dt { font-size: .8rem; color: var(--muted); }
.bk-sum dd { margin: .15rem 0 0; font-weight: 600; }
.bk-err { background: #FBEDE9; color: var(--danger); border-radius: var(--r-sm); padding: .75rem .9rem; font-size: .9rem; margin-bottom: 1rem; }

.done { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 3rem); max-width: 720px; }
.done-mark { width: 52px; height: 52px; margin-bottom: 1.25rem; }
.done-mark circle { fill: var(--mint); }
.done-mark path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-dl { margin: 1.5rem 0; }
.done-dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.done-dl dt { color: var(--muted); }
.done-dl dd { margin: 0; font-weight: 600; text-align: right; }
.done-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }
.note { padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--enamel); margin-bottom: 1rem; }
.note-ok { background: var(--mint-soft); }

/* --- Blog / pagini --- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 2.5rem; }
.post-card { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: .4rem 0 .6rem; }
.post-card a { text-decoration: none; }
.post-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { color: var(--muted); }
.post-meta { font-size: .85rem; color: var(--muted); }
.pager { margin-top: 2.5rem; }
.pager nav { display: flex; gap: 1rem; }
.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
.prose h3 { margin: 1.75rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose a { color: var(--scrub); }

/* --- Subsol --- */
.ftr { background: var(--ink); color: #D5E4E4; padding-top: 3.5rem; margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.ftr .brand { color: #fff; }
.ftr-h { font: 600 .95rem/1.3 var(--text); color: #fff; margin-bottom: .9rem; }
.ftr-addr { margin-top: 1rem; }
.ftr-tel { display: block; margin-top: .75rem; font: 500 1.3rem/1.2 var(--display); color: #fff; text-decoration: none; }
.ftr-link { display: block; margin-top: .4rem; color: var(--mint); }
.ftr-list { list-style: none; margin: 0; padding: 0; }
.ftr-list li { margin-bottom: .45rem; }
.ftr-list a { text-decoration: none; }
.ftr-list a:hover { color: #fff; text-decoration: underline; }
.ftr-map iframe { width: 100%; height: 220px; border: 0; border-radius: var(--r); filter: grayscale(.3); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #93AFB1; }
.ftr-legal { display: flex; gap: 1.25rem; }
.ftr-legal a { color: #93AFB1; }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(15, 43, 51, .45); padding: 1rem 1.15rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 280px; }
.cookie a { color: var(--scrub); }
.cookie-act { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie .btn { padding: .55rem 1rem; font-size: .9rem; }

/* --- Responsive --- */
img, video, iframe, table { max-width: 100%; }
.prose, .post-body { overflow-wrap: anywhere; }
.prose table, .post-body table { display: block; overflow-x: auto; }
@media (max-width: 1080px) {
    .hdr-nav, .hdr-tel { display: none; }
    .burger { display: inline-flex; }
}
@media (max-width: 960px) {
    .hero-grid, .about, .doc-detail, .bk { grid-template-columns: minmax(0, 1fr); }
    .bk-sum { position: static; }
    .prices { grid-template-columns: 1fr; }
    .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hdr-cta { display: none; }
    .hdr-in { height: 64px; gap: .75rem; }
    .drawer { height: calc(100vh - 64px); height: calc(100dvh - 64px); }
    .hero-facts, .fields { grid-template-columns: 1fr; }
    .doc-hero { grid-template-columns: 1fr; }
    .doc-photo-lg { max-width: 240px; }
    .price-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .3rem; }
    .price-dur { grid-column: 1; grid-row: 2; }
    .price-book { grid-column: 2; grid-row: 2; justify-self: end; }
    .board-row { grid-template-columns: 78px minmax(0, 1fr); }
    .board-go { display: none; }
    .ftr-grid { grid-template-columns: 1fr; }
    .cookie { left: 10px; right: 10px; bottom: 10px; padding: .9rem; }
    .cookie p { flex-basis: 100%; }
    .cookie-act { width: 100%; }
    .cookie-act .btn { flex: 1 1 auto; }
    .bk-step { padding: 1rem .9rem 1.2rem; }
    .hero-act .btn { width: 100%; }
    .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
    .doc-mono { font-size: 2rem; }
    .doc-name { font-size: 1rem; }
    .doc-role, .doc-meta, .doc-next { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .done-mark path { stroke-dashoffset: 0; }
}
