/* Manrope (SIL Open Font License), găzduit local: fără cereri către Google. */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Astralis Dent: site-ul public. Un singur fișier, fără framework.
   Paletă: petrol adânc + turcoazul din logo + ceață rece; auriul-stea doar pentru „ore libere” și note. */
:root {
    --ink: #0F3A40;
    --ink-2: #0A2B30;
    --teal: #0DB8B6;
    --teal-d: #067370;
    --teal-soft: #D7F0EF;
    --mist: #EEF6F5;
    --paper: #FFFFFF;
    --line: #D3E4E2;
    --text: #15282B;
    --muted: #4E6A6A;
    --star: #F2B544;
    --danger: #B4372A;
    --ok: #1F7A4D;
    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --r-lg: 22px;
    --r: 14px;
    --r-sm: 10px;
    --wrap: 1200px;
    --hdr: 76px;
    --shadow: 0 18px 40px -24px rgba(10, 43, 48, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }
.muted, .hint { color: var(--muted); }
.hint { font-size: .9rem; margin-top: .5rem; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.link { color: var(--teal-d); font-weight: 700; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font: 700 .97rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-solid { background: var(--teal-d); color: #fff; }
.btn-solid:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-soft); color: var(--ink); }
.btn-line-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-line-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Bara de sus + antet */
.topbar { background: var(--ink-2); color: #CFE3E1; font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar-info svg { width: 15px; height: 15px; color: var(--teal); }
.topbar a:hover { color: #fff; }
.lang { display: inline-flex; gap: .15rem; }
.lang a { color: #CFE3E1; text-decoration: none; font-weight: 700; padding: .2rem .45rem; border-radius: 6px; font-size: .8rem; }
.lang a.is-on { background: var(--teal); color: var(--ink-2); }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.hdr-nav { display: flex; gap: .25rem; margin-left: auto; }
.hdr-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .75rem; border-radius: 999px; }
.hdr-nav a:hover { background: var(--mist); color: var(--ink); }
.hdr-nav a.is-on { color: var(--teal-d); background: var(--mist); }
.hdr-act { display: flex; align-items: center; gap: .6rem; }
.hdr-call { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); align-items: center; justify-content: center; color: var(--ink); }
.hdr-call svg { width: 20px; height: 20px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: var(--hdr) 0 0 0; background: #fff; z-index: 75; overflow-y: auto; padding: 1rem 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav > a:not(.btn) { padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 700; }
.drawer-foot { display: grid; gap: .75rem; margin-top: 1.5rem; }
.drawer-foot .lang a { color: var(--ink); border: 1.5px solid var(--line); padding: .45rem .8rem; font-size: .9rem; }
.drawer-foot .lang a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

body.menu-open .mbar, body.menu-open .chat, body.menu-open .cookie { display: none !important; }

/* Secțiuni */
.sec { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.sec-tint { background: var(--mist); }
.sec-ink { background: var(--ink); color: #D5E7E5; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-top0 { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.sec-head > div { max-width: 640px; }
.sec-head p { color: var(--muted); margin: .75rem 0 0; font-size: 1.05rem; }
.sec-ink .sec-head p { color: #A9C6C4; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #D5E7E5; overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #B9D4D2; margin: 1.25rem 0 2rem; }
.hero-act { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 2.25rem 0 0; padding: 0; list-style: none; color: #A9C6C4; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal); }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo { position: absolute; inset: 0 0 150px 16%; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--ink-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.orbit { position: absolute; inset: -6% -14% -2% -10%; width: 124%; height: 108%; pointer-events: none; z-index: 1; overflow: visible; }
.orbit path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: orbit 1.6s .2s cubic-bezier(.65, 0, .35, 1) forwards; }
.orbit .orbit-star { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; animation: star .5s 1.55s ease-out forwards; }
@keyframes orbit { to { stroke-dashoffset: 0; } }
@keyframes star { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }

/* Panoul „Primele ore libere” */
.board { position: absolute; left: 0; bottom: 0; z-index: 2; width: min(350px, 70%); background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.1rem 1.1rem .9rem; }
.board-head { margin-bottom: .55rem; }
.board-head h2 { font-size: 1rem; letter-spacing: 0; display: inline-flex; align-items: center; gap: .5rem; }
.board-head h2::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 4px rgba(242, 181, 68, .25); }
.board-head p { margin: .2rem 0 0 1.05rem; font-size: .78rem; color: var(--muted); }
.board-list { list-style: none; }
.board-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .55rem .35rem; border-top: 1px solid var(--line); text-decoration: none; color: inherit; border-radius: 8px; }
.board-row:hover { background: var(--mist); }
.board-when { display: flex; flex-direction: column; line-height: 1.15; }
.board-time { font-weight: 800; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.board-day { font-size: .75rem; color: var(--muted); }
.board-who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.board-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-role { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-go { font-size: .8rem; font-weight: 700; color: var(--teal-d); }
.board-empty { font-size: .9rem; color: var(--muted); padding: .5rem 0; }
.board-all { display: block; text-align: center; padding: .6rem 0 .1rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .88rem; text-decoration: none; }

/* Direcții (servicii) */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.dir { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.dir-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.dir-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dir:hover .dir-img img { transform: scale(1.04); }
.dir-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.dir-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.dir h3 a { color: inherit; text-decoration: none; }
.dir h3 a::after { content: ""; position: absolute; inset: 0; }
.dir-more { margin-top: auto; padding-top: .5rem; font-weight: 700; font-size: .9rem; color: var(--teal-d); }

/* Pagina Servicii: rânduri alternante */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc-img { order: 2; }
.svc-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .9rem; }
.svc p { color: var(--muted); max-width: 62ch; }
.svc-act { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }

/* Despre (prima pagină) */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { color: var(--muted); font-size: 1.05rem; margin: 1rem 0 1.5rem; }
.values { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; margin: 1.5rem 0 2rem; }
.values li { padding-left: 1.6rem; position: relative; }
.values li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 14px; background: var(--teal); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.values strong { display: block; color: var(--ink); }
.values span { color: var(--muted); font-size: .93rem; }
.sec-ink .values strong { color: #fff; }
.sec-ink .values span { color: #A9C6C4; }

/* Medici */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.doc { position: relative; display: flex; flex-direction: column; }
.doc-photo { display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: color-mix(in srgb, var(--doc, var(--teal)) 18%, #fff); margin-bottom: .9rem; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-mono { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: 800; font-size: 2.4rem; color: var(--doc, var(--teal-d)); }
.doc-name { font-size: 1.08rem; }
.doc-name a { color: inherit; text-decoration: none; }
.doc-name a::after { content: ""; position: absolute; inset: 0; }
.doc-role { color: var(--muted); font-size: .9rem; margin: .25rem 0 .6rem; }
.doc-next { position: relative; z-index: 1; align-self: flex-start; display: inline-block; font-size: .82rem; color: var(--ink); text-decoration: none; background: #FFF6E3; border: 1px solid #F4DDA5; padding: .3rem .65rem; border-radius: 999px; }
.doc-next::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--star); margin-right: .4rem; vertical-align: middle; }
.doc-next:hover { border-color: var(--star); color: var(--ink); }
.doc-meta { font-size: .82rem; color: var(--muted); }

/* Pași */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.5rem 1.4rem 1.6rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); }
.steps li::before { content: counter(s); display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal); color: var(--ink-2); font-weight: 800; margin-bottom: 1rem; }
.steps strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: .35rem; }
.steps span { color: #A9C6C4; font-size: .95rem; }

/* Recenzii */
.quotes { columns: 3 280px; column-gap: 1.25rem; }
.quote { break-inside: avoid; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.4rem; }
.quote-stars { color: var(--star); letter-spacing: .1em; font-size: .95rem; margin-bottom: .5rem; }
.quote blockquote { margin: 0 0 1rem; font-size: .98rem; line-height: 1.65; }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--teal-d); border-bottom: 2.5px solid var(--teal-d); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 1.2rem; color: var(--muted); }

/* Card contact */
.contact-card { background: var(--ink); color: #D5E7E5; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.contact-card h3 { color: #fff; margin-bottom: 1.1rem; font-size: 1.3rem; }
.contact-list { list-style: none; display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; align-items: start; }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); margin-top: .15rem; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--teal); }
.contact-list small { display: block; color: #A9C6C4; font-size: .8rem; }
.contact-act { display: grid; gap: .6rem; }

/* Banda CTA */
.cta-band { background: var(--teal); color: var(--ink-2); position: relative; overflow: hidden; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.cta-band h2 { color: var(--ink-2); max-width: 22ch; }
.cta-band p { margin: .5rem 0 0; font-weight: 600; }
.cta-act { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-solid { background: var(--ink); }
.cta-band .btn-solid:hover { background: var(--ink-2); }
.cta-band .btn-ghost { border-color: var(--ink); }

/* Antet de pagină */
.page-head { background: var(--mist); padding: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); max-width: 22ch; }
.page-head .lead { margin-top: 1rem; }
.crumbs { font-size: .88rem; margin-bottom: .75rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Prețuri */
.prices-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.cat-nav { position: sticky; top: calc(var(--hdr) + 20px); display: flex; flex-direction: column; gap: .15rem; }
.cat-nav a { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .8rem; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; }
.cat-nav a span { color: var(--muted); font-weight: 500; }
.cat-nav a:hover, .cat-nav a.is-on { background: var(--mist); color: var(--teal-d); }
.price-tools { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.75rem; }
.price-search { position: relative; flex: 1 1 280px; }
.price-search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.price-search input { width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 2.75rem; border: 1.5px solid var(--line); border-radius: 999px; font: 500 1rem var(--font); color: var(--text); background: #fff; }
.price-search input:focus { outline: none; border-color: var(--teal-d); box-shadow: 0 0 0 3px var(--teal-soft); }
.price-note { display: flex; gap: .85rem; background: #FFF6E3; border: 1px solid #F4DDA5; border-radius: var(--r); padding: 1rem 1.15rem; margin-bottom: 2rem; font-size: .95rem; }
.price-note svg { width: 22px; height: 22px; color: #B07A0F; flex-shrink: 0; margin-top: .1rem; }
.price-cat { margin-bottom: 2.75rem; scroll-margin-top: calc(var(--hdr) + 20px); }
.price-cat > h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.price-sub { font-size: .95rem; color: var(--teal-d); margin: 1.5rem 0 .2rem; font-weight: 800; }
.price-list { list-style: none; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem 1.25rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.price-name { font-weight: 600; }
.price-desc { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; margin-top: .15rem; }
.price-sum { font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.price-ask { font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--mist); padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.price-book { font-size: .85rem; font-weight: 700; white-space: nowrap; }
.price-book-none { width: 0; }
.price-empty { padding: 2rem 0; color: var(--muted); }

/* Pagina medicului */
.doc-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.doc-hero .doc-photo { margin: 0; }
.doc-bio { color: var(--muted); margin-top: 1rem; max-width: 62ch; }
.doc-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.h-sm { font-size: 1.3rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.chips a:hover { border-color: var(--teal-d); color: var(--teal-d); }
.week { margin: 0; }
.week div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.week dt { font-weight: 600; }
.week dd { margin: 0; font-variant-numeric: tabular-nums; }
.week .is-off { color: var(--muted); }
.cases { display: grid; gap: 1.75rem; }
.case h3 { font-size: 1rem; margin-bottom: .75rem; }
.case-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.case-imgs button { padding: 0; border: 0; background: var(--mist); border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 4 / 3; }
.case-imgs img { width: 100%; height: 100%; object-fit: cover; }
.case-imgs span { position: absolute; left: .4rem; bottom: .4rem; background: rgba(10, 43, 48, .78); color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .45rem; border-radius: 6px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 25, 28, .88); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r); margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: center; gap: .6rem; margin-top: .75rem; }

/* Galerie (Despre noi): mozaic pe desktop, carusel glisant pe telefon */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem .95rem; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(to top, rgba(10, 43, 48, .85), rgba(10, 43, 48, 0)); pointer-events: none; }
.g-big figcaption { font-size: 1.15rem; padding: 3rem 1.4rem 1.25rem; }
.lightbox-cap { color: #fff; text-align: center; font-weight: 700; margin: .75rem 0 0; }
.brands { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.brands li { padding: .5rem 1rem; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 999px; font-weight: 700; color: #fff; font-size: .92rem; }
.wide-photo { border-radius: var(--r-lg); overflow: hidden; margin-top: 2.5rem; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 35%; }

/* Contacte */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--mist); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.hours { white-space: pre-line; }
.map-gate { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 2rem; background: linear-gradient(135deg, #EEF6F5, #D7F0EF); }
.map-gate > svg { width: 40px; height: 40px; color: var(--teal-d); }
.map-gate p { margin: 0; max-width: 42ch; }

/* 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-step { margin: 0; border: 1px solid var(--line); background: #fff; border-radius: var(--r-lg); padding: 1.35rem 1.35rem 1.6rem; min-width: 0; }
.bk-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; padding: 0; }
.bk-step legend + * { clear: both; }
.bk-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 800; }
.field { width: 100%; font: 500 1rem/1.4 var(--font); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .8rem .95rem; min-height: 50px; }
.field:focus { outline: none; border-color: var(--teal-d); box-shadow: 0 0 0 3px var(--teal-soft); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal-d) 50%), linear-gradient(135deg, var(--teal-d) 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; position: relative; }
.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: 700; font-size: .95rem; }
.pick-doc-in small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.pick-doc input:checked + .pick-doc-in { border-color: var(--teal-d); background: var(--mist); box-shadow: inset 0 0 0 1px var(--teal-d); }
.pick-doc input:focus-visible + .pick-doc-in { outline: 3px solid var(--teal); outline-offset: 2px; }
.pick-mono { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: var(--doc, var(--teal-d)); background: color-mix(in srgb, var(--doc, var(--teal)) 16%, #fff); }
.pick-any { color: var(--muted); background: var(--mist); }
.days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .75rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.day { scroll-snap-align: start; flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .7rem .25rem; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; font-family: var(--font); color: var(--text); }
.day-w { font-size: .8rem; color: var(--muted); }
.day-n { font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.day-f { font-size: .74rem; color: var(--teal-d); font-weight: 700; 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(--teal); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: .5rem; margin-top: .5rem; }
.slots .hint { grid-column: 1 / -1; }
.slot { min-height: 46px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); font: 700 1rem/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text); cursor: pointer; }
.slot:hover { border-color: var(--teal-d); }
.slot.is-on { background: var(--teal-d); border-color: var(--teal-d); 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: 700; color: var(--ink); }
.lbl-wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.captcha { background: var(--mist); border-radius: var(--r); padding: 1rem 1.1rem; }
.captcha .lbl { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem; }
.captcha-q { display: inline-block; padding: .2rem .65rem; border-radius: 8px; background: #fff; border: 1.5px solid var(--line); font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.captcha-row { display: flex; gap: .6rem; margin-top: .55rem; }
.captcha-in { max-width: 140px; font-size: 1.15rem; font-weight: 800; text-align: center; }
.captcha-new { min-height: 50px; }
.captcha .hint { margin: .5rem 0 0; font-size: .85rem; }
.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(--teal-d); flex-shrink: 0; }
.bk-sum { position: sticky; top: calc(var(--hdr) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; min-width: 0; }
.bk-sum h2 { font-size: 1.15rem; 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: 700; }
.bk-err { background: #FBEDE9; color: var(--danger); border-radius: var(--r-sm); padding: .75rem .9rem; font-size: .9rem; margin-bottom: 1rem; }
.done { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 3rem); max-width: 720px; }
.done h2 { margin-bottom: .5rem; }
.done-mark { width: 54px; height: 54px; margin-bottom: 1.25rem; }
.done-mark circle { fill: var(--teal-soft); }
.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: 700; text-align: right; }
.done-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }
.h-md { font-size: 1.6rem; margin-bottom: 1rem; }
.note { background: var(--mist); border-radius: var(--r-sm); padding: .9rem 1rem; }
.note-ok { background: #E3F3EA; color: var(--ok); }

/* Blog, pagini */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: #fff; }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.prose h3 { margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.5rem; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mist); color: var(--ink); font-weight: 800; white-space: nowrap; }
.prose code { font-size: .88em; background: var(--mist); padding: .1rem .35rem; border-radius: 5px; word-break: break-all; }
.prose h3 { font-size: 1.1rem; }
.pager { margin-top: 2rem; }
.pager nav { display: flex; gap: .5rem; }

/* Subsol */
.ftr { background: var(--ink-2); color: #A9C6C4; padding: clamp(3rem, 5vw, 4.5rem) 0 0; font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.ftr-logo img { width: 230px; height: auto; margin-bottom: 1rem; }
.ftr-h { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.ftr a { color: #DDEDEB; text-decoration: none; }
.ftr a:hover { color: var(--teal); }
.ftr-list { list-style: none; display: grid; gap: .55rem; }
.ftr-tel { display: block; font-size: 1.15rem; font-weight: 800; color: #fff !important; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom)); font-size: .85rem; }
.ftr-credit { margin-left: .75rem; white-space: nowrap; }
.ftr-credit a { color: var(--teal); font-weight: 700; }
.ftr-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Cookie */
.cookie { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(440px, calc(100% - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; font-size: .9rem; }
.cookie-act { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.cookie-act .btn { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }

/* Bara de acțiuni pe telefon */
.mbar { display: none; }

/* Chat */
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70; font-family: var(--font); }
.chat-fab { display: inline-flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.3rem 0 1.05rem; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: .98rem; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(10, 43, 48, .7); position: relative; }
.chat-fab:hover { background: var(--ink-2); }
.chat-fab svg { width: 26px; height: 26px; color: var(--teal); }
.chat-fab .chat-ico-x { display: none; }
.chat.open .chat-fab .chat-ico-msg { display: none; }
.chat.open .chat-fab .chat-ico-x { display: block; }
.chat-dot { position: absolute; top: 6px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--star); border: 2px solid var(--ink); }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .25); }
.chat-panel { position: absolute; right: 0; bottom: 72px; width: 390px; height: min(600px, calc(100dvh - 120px)); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(10, 43, 48, .55); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; background: var(--ink); color: #fff; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-avatar svg { width: 22px; height: 22px; color: var(--ink-2); }
.chat-head-t { flex: 1; min-width: 0; line-height: 1.25; }
.chat-head-t strong { display: block; font-size: 1rem; }
.chat-head-t span { font-size: .8rem; color: #A9C6C4; display: inline-flex; align-items: center; gap: .4rem; }
.chat-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.chat-x svg { width: 20px; height: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; background: var(--mist); display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.chat-msg { display: flex; flex-direction: column; max-width: 86%; }
.chat-msg.visitor { align-self: flex-end; align-items: flex-end; }
.chat-msg.system { align-self: center; max-width: 92%; }
.chat-who { font-size: .72rem; color: var(--muted); margin: 0 .5rem .2rem; font-weight: 700; }
.chat-bubble { padding: .65rem .9rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: .94rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg.visitor .chat-bubble { background: var(--teal-d); color: #fff; border-color: var(--teal-d); border-bottom-right-radius: 4px; }
.chat-msg.ai .chat-bubble, .chat-msg.agent .chat-bubble { border-bottom-left-radius: 4px; }
.chat-msg.system .chat-bubble { background: transparent; border: 0; text-align: center; color: var(--muted); font-size: .82rem; padding: .2rem .5rem; }
.chat-msg.pending { opacity: .6; }
.chat-time { font-size: .68rem; color: var(--muted); margin: .2rem .5rem 0; }
.chat-typing { display: inline-flex; gap: 4px; padding: .8rem .9rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .25rem 0 .1rem; }
.chat-quick button, .chat-quick a { border: 1.5px solid var(--teal-d); background: #fff; color: var(--teal-d); border-radius: 999px; padding: .4rem .8rem; font-size: .84rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.chat-quick button:hover, .chat-quick a:hover { background: var(--teal-d); color: #fff; }
.chat-contact { padding: .8rem 1rem; border-top: 1px solid var(--line); background: #FFF9EC; display: grid; gap: .5rem; }
.chat-contact p { margin: 0; font-size: .85rem; font-weight: 600; }
.chat-contact input { width: 100%; min-height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .5rem .7rem; font: 500 .95rem var(--font); }
.chat-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.chat-contact button { min-height: 42px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .75rem calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 22px; padding: .7rem 1rem; font: 500 16px/1.4 var(--font); max-height: 120px; min-height: 46px; }
.chat-form textarea:focus { outline: none; border-color: var(--teal-d); }
.chat-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal-d); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.chat-send:disabled { opacity: .5; }
.chat-send svg { width: 20px; height: 20px; }
.chat-err { padding: .5rem 1rem; background: #FBEDE9; color: var(--danger); font-size: .85rem; }
.chat-human { display: flex; justify-content: center; padding: .35rem 0 0; }
.chat-human button { border: 0; background: none; color: var(--teal-d); font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chat-hp { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hdr-nav a { padding: .5rem .55rem; font-size: .9rem; }
    .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    :root { --hdr: 68px; }
    .hdr-nav, .hdr-cta, .topbar-hide { display: none; }
    .burger, .hdr-call { display: inline-flex; }
    .hdr-act { margin-left: auto; }
    .brand img { height: 36px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero h1 { max-width: 20ch; }
    .hero-visual { min-height: 0; display: grid; gap: 0; }
    .hero-photo { position: relative; inset: auto; aspect-ratio: 4 / 3; border-radius: 160px 160px var(--r-lg) var(--r-lg); margin: 0 0 0 6%; }
    .board { position: relative; width: 100%; margin-top: -3.5rem; }
    .orbit { inset: -4% -10% auto -6%; height: 70%; }
    .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about, .faq-grid, .doc-detail, .bk, .contacts, .svc { grid-template-columns: minmax(0, 1fr); }
    .svc:nth-child(even) .svc-img { order: 0; }
    .bk-sum { position: static; }
    .prices-layout { grid-template-columns: minmax(0, 1fr); }
    .cat-nav { position: sticky; top: var(--hdr); z-index: 5; flex-direction: row; overflow-x: auto; gap: .4rem; background: #fff; padding: .6rem 0; margin: 0 -1.25rem; padding-inline: 1.25rem; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .cat-nav::-webkit-scrollbar { display: none; }
    .cat-nav a { flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 999px; white-space: nowrap; padding: .45rem .85rem; }
    .cat-nav a span { display: none; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
    .g-big { grid-row: span 1; }
    .doc-hero { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 720px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .wrap, .narrow { width: min(100% - 2rem, var(--wrap)); }
    .topbar { display: none; }
    .hero-act .btn, .cta-act .btn { flex: 1 1 100%; }
    .hero-facts { gap: .4rem 1.25rem; font-size: .9rem; }
    .dirs { grid-template-columns: minmax(0, 1fr); }
    .values { grid-template-columns: minmax(0, 1fr); }
    .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .85rem; }
    .doc-name { font-size: .98rem; }
    .doc-role { font-size: .82rem; }
    .doc-next { font-size: .74rem; padding: .25rem .5rem; }
    .fields { grid-template-columns: minmax(0, 1fr); }
    .bk-step { padding: 1.1rem 1rem 1.3rem; }
    .price-row { grid-template-columns: minmax(0, 1fr) auto; }
    .price-book { grid-column: 1 / -1; justify-self: start; }
    .price-book-none { display: none; }
    .doc-hero { grid-template-columns: minmax(0, 1fr); }
    .doc-hero .doc-photo { max-width: 240px; }
    .gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1rem; padding: 0 1rem .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .gallery::-webkit-scrollbar { display: none; }
    .g-item, .g-big, .g-wide { flex: 0 0 82%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
    .g-big figcaption { font-size: 1rem; padding: 2.2rem 1.1rem .95rem; }
    .ftr-grid { grid-template-columns: minmax(0, 1fr); }
    .map, .map iframe { min-height: 320px; }
    .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
    .prose thead { display: none; }
    .prose tr { border: 1px solid var(--line); border-radius: var(--r); padding: .6rem .85rem; margin-bottom: .75rem; background: #fff; }
    .prose td { border: 0; padding: .2rem 0; }
    .prose td:first-child { font-weight: 800; color: var(--ink); }
    .prose td:nth-child(3), .prose td:nth-child(4) { font-size: .85rem; color: var(--muted); }
    .prose code { word-break: normal; }
    .map-gate { min-height: 320px; }
    .wide-photo img { aspect-ratio: 4 / 3; }
    .cookie { bottom: calc(76px + env(safe-area-inset-bottom)); left: .75rem; width: calc(100% - 1.5rem); }
    .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: #fff; border-top: 1px solid var(--line); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); }
    .mbar .btn { min-height: 48px; padding: .6rem .5rem; }
    .cat-nav { margin: 0 -1rem; padding-inline: 1rem; }
    .hero-photo { aspect-ratio: 5 / 4; }
    .board { margin-top: -2.5rem; }
    .chat { right: .9rem; bottom: calc(80px + env(safe-area-inset-bottom)); }
    .chat-fab { height: 54px; width: 54px; padding: 0; justify-content: center; }
    .chat-fab-label { display: none; }
    .chat.open { inset: 0; right: 0; bottom: 0; }
    .chat.open .chat-fab { display: none; }
    .chat-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
}
@media (max-width: 380px) {
    .docs { grid-template-columns: minmax(0, 1fr); }
    .brand img { height: 28px; }
    .hdr-in { gap: .6rem; }
    .hdr-act { gap: .4rem; }
    .hdr-call, .burger { width: 40px; height: 40px; }
    .burger span { left: 10px; right: 10px; }
    .burger span:first-child { top: 14px; } .burger span:last-child { top: 23px; }
    .burger[aria-expanded="true"] span:first-child, .burger[aria-expanded="true"] span:last-child { top: 18.5px; }
    .board-row { grid-template-columns: 60px minmax(0, 1fr); }
    .board-go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .orbit path { stroke-dashoffset: 0; }
    .orbit .orbit-star { opacity: 1; }
    .done-mark path { stroke-dashoffset: 0; }
}
@media print {
    .hdr, .topbar, .ftr, .chat, .mbar, .cookie, .cta-band { display: none !important; }
}
