/* ==========================================================================
   Implant Stomatologiya — premium design system
   Palette: navy #101F38 · gold #C5A46D · light #F7F8FA · white · slate #36465C
   ========================================================================== */

:root {
    --navy: #101F38;
    --navy-2: #172A4B;
    --navy-3: #0A1527;
    --navy-glass: rgba(16, 31, 56, .72);
    --gold: #C5A46D;
    --gold-2: #E3C994;
    --gold-3: #A8874F;
    --gold-soft: #F6EFE2;
    --gold-grad: linear-gradient(135deg, #E7CF9E 0%, #C5A46D 45%, #A8874F 100%);
    --soft: #F7F8FA;
    --white: #FFFFFF;
    --slate: #36465C;
    --muted: #6B7A90;
    --line: #E6E9EF;
    --line-dark: rgba(255, 255, 255, .1);
    --ok: #2E9B6A;
    --danger: #D14B4B;

    --font-head: 'Jost', 'Segoe UI', sans-serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;
    --r-xl: 40px;

    --sh-sm: 0 2px 10px rgba(16, 31, 56, .06);
    --sh: 0 18px 50px -18px rgba(16, 31, 56, .22);
    --sh-lg: 0 40px 90px -30px rgba(16, 31, 56, .38);
    --sh-gold: 0 14px 34px -12px rgba(197, 164, 109, .65);

    --ease: cubic-bezier(.22, .8, .24, 1);
    --container: 1240px;
    --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy); }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; flex-shrink: 0; }
.ic-xs { width: 15px; height: 15px; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 34px; height: 34px; }
.ic-xl { width: 52px; height: 52px; }
.star { color: var(--gold); fill: var(--gold); }
.star--off { color: #D6DBE3; fill: #D6DBE3; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: 13px; font-weight: 500;
    letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3);
    margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-grad); }
.eyebrow--light { color: var(--gold-2); }

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 64px 0 100px; }
.section--soft { background: var(--soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section__title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.02em; max-width: 720px; }
.section__lead { margin-top: 14px; color: var(--muted); max-width: 560px; font-size: 17px; }
.center-cta { text-align: center; margin-top: 44px; }
.muted-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; position: relative; padding-bottom: 4px; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold-grad); transform: scaleX(.35); transform-origin: left; transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--sm { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
    --bh: 50px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--bh); padding: 0 26px; border-radius: 999px;
    font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 58px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: var(--navy); box-shadow: var(--sh-gold); }
.btn--gold::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(197,164,109,.8); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--sh); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: var(--soft); color: var(--navy); }
.btn--ghost:hover { background: var(--gold-soft); }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold-2); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading span { opacity: .4; }
.btn.is-loading::after { content: ''; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: all .3s var(--ease); background: #fff; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-nav { display: flex; gap: 10px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-3); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.chip--link { transition: background .25s, color .25s; }
.chip--link:hover { background: var(--navy); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-3); color: rgba(255,255,255,.66); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.topbar__branches { display: flex; align-items: center; gap: 28px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.topbar__right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; min-width: 0; transition: color .2s; }
.topbar__branch { font-weight: 600; color: rgba(255,255,255,.88); }
.topbar__landmark { overflow: hidden; text-overflow: ellipsis; opacity: .7; }
.topbar__landmark::before { content: "·"; margin-right: 7px; opacity: .6; }
.topbar__link:hover .topbar__branch { color: var(--gold-2); }
.topbar__hours { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex-shrink: 0; }
.topbar__link:hover { color: var(--gold-2); }
.topbar .ic { color: var(--gold); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { opacity: .75; transition: opacity .2s, color .2s; }
.topbar__social a:hover { opacity: 1; color: var(--gold-2); }
.topbar__social .ic { color: currentColor; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 90; background: var(--navy); transition: background .35s, box-shadow .35s, height .35s; }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(197,164,109,.35), transparent); }
.header.is-scrolled { background: var(--navy-glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 10px 40px -10px rgba(0,0,0,.45); }
.header__in { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.header__logo { flex-shrink: 0; }
.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { display: flex; align-items: center; gap: 10px; color: #fff; line-height: 1.2; }
.header__phone small { display: block; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.header__phone b { font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.header__phone-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(197,164,109,.45); color: var(--gold); position: relative; }
.header__phone-ico::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(197,164,109,.35); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.header__cta { --bh: 46px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; height: 46px; }
.logo--light .logo__tooth { stroke: #fff; }
.logo--dark .logo__tooth { stroke: var(--navy); }
.logo__gold { stroke: var(--gold); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 500; font-size: 21px; letter-spacing: .34em; margin-right: -.34em; }
.logo__sub { font-family: var(--font-head); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; margin-top: 7px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--gold-2); }
.logo--dark .logo__name { color: var(--navy); }
.logo--dark .logo__sub { color: var(--slate); }

/* Nav */
.nav { margin-left: 12px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 12px; color: rgba(255,255,255,.82); font-weight: 600; font-size: 14.5px; position: relative; transition: color .25s; }
.nav__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 24px; height: 1.5px; background: var(--gold-grad); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link .ic { transition: transform .3s; opacity: .7; }
.has-mega:hover .nav__link .ic { transform: rotate(180deg); }

.mega {
    position: absolute; top: calc(100% - 8px); left: -40px; width: 760px;
    display: grid; grid-template-columns: 1fr 230px; gap: 0;
    background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
    overflow: hidden;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 18px; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .25s; }
.mega__item:hover { background: var(--soft); }
.mega__item b { display: block; color: var(--navy); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mega__item small { color: var(--muted); font-size: 12.5px; }
.mega__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s; }
.mega__item:hover .mega__ico { background: var(--navy); color: var(--gold-2); }
.mega__aside { background: var(--navy); color: rgba(255,255,255,.75); padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; position: relative; overflow: hidden; }
.mega__aside::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.35), transparent 70%); }
.mega__aside p { font-size: 14px; position: relative; }

/* Language */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 13px; border: 1px solid rgba(255,255,255,.18); transition: border-color .25s; }
.lang__btn:hover { border-color: var(--gold); }
.lang__btn .ic-sm { color: var(--gold); }
.lang__menu { list-style: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; background: #fff; border-radius: 16px; box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 700; color: var(--navy); font-size: 14px; }
.lang__menu a span { font-weight: 500; color: var(--muted); }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--soft); }
.lang__menu a.is-active { box-shadow: inset 3px 0 0 var(--gold); }

/* Burger + drawer */
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(3) { width: 13px; align-self: center; transform: translateX(-3.5px); }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer::before { content: ''; position: absolute; inset: 0; background: rgba(5,12,24,.6); opacity: 0; transition: opacity .4s; backdrop-filter: blur(4px); }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--navy); color: #fff; padding: 22px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 22px; transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; }
.drawer__panel::before { content: ''; position: absolute; width: 380px; height: 380px; right: -160px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.22), transparent 70%); pointer-events: none; }
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-family: var(--font-head); font-size: 24px; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateX(20px); transition: color .2s; }
.drawer__nav a .ic { color: var(--gold); }
.drawer__nav a.is-active { color: var(--gold-2); }
.drawer.is-open .drawer__nav a { animation: slideIn .5s var(--ease) forwards; animation-delay: calc(.08s + var(--i) * .045s); }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.drawer__langs { display: flex; gap: 8px; }
.drawer__langs a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line-dark); font-weight: 700; }
.drawer__langs a.is-active { background: var(--gold-grad); color: var(--navy); border-color: transparent; }
.drawer__contacts { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.drawer__phone { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 18px; }
.drawer__social { display: flex; gap: 8px; }
.drawer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 70px 0 150px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero__orb--1 { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(197,164,109,.28), transparent 65%); animation: float 14s ease-in-out infinite; }
.hero__orb--2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(70,110,180,.35), transparent 65%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid rgba(197,164,109,.4); background: rgba(197,164,109,.08); color: var(--gold-2); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(197,164,109,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(197,164,109,0); } }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); color: #fff; font-weight: 400; letter-spacing: -.025em; line-height: 1.04; margin: 26px 0 24px; }
.hero__title em { font-style: italic; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__lead { font-size: 18px; color: rgba(255,255,255,.72); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 460px; }
.hero__trust small { color: rgba(255,255,255,.6); font-size: 13.5px; }
.stars-line { display: flex; align-items: center; gap: 2px; }
.stars-line b { margin-left: 8px; color: #fff; }
.avatars { display: flex; }
.avatars img, .avatars span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); margin-left: -12px; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--navy); background: var(--gold-grad); }
.avatars span:nth-child(2n) { background: linear-gradient(135deg, #e9edf4, #b9c3d3); }
.avatars > :first-child { margin-left: 0; }

/* Hero visual */
.hero__visual { position: relative; }
.hv { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; display: grid; place-items: center; }
.hv__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(197,164,109,.3); }
.hv__ring--1 { inset: 4%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.08), rgba(255,255,255,.01) 60%); box-shadow: inset 0 0 80px rgba(197,164,109,.08); }
.hv__ring--2 { inset: -6%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: rotate 60s linear infinite; }
.hv__ring--2::before { content: ''; position: absolute; width: 12px; height: 12px; top: 50%; left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
@keyframes rotate { to { transform: rotate(360deg); } }
.hv__art { position: relative; width: 66%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.hv__art .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .3s forwards; }
.hv__art .draw--2 { animation-delay: .9s; }
.hv__art .draw--3 { animation-delay: 1.3s; }
.hv__art .threads path, .hv__art .tip { opacity: 0; transform: translateX(-14px); animation: thread .7s var(--ease) forwards; }
.hv__art .threads path:nth-child(1) { animation-delay: 1.6s; }
.hv__art .threads path:nth-child(2) { animation-delay: 1.75s; }
.hv__art .threads path:nth-child(3) { animation-delay: 1.9s; }
.hv__art .threads path:nth-child(4) { animation-delay: 2.05s; }
.hv__art .tip { animation-delay: 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes thread { to { opacity: 1; transform: none; } }
.hv__photo { position: relative; width: 82%; aspect-ratio: 4/5; border-radius: 220px 220px 32px 32px; overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid rgba(197,164,109,.35); }
.hv__photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); line-height: 1.2; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 500; }
.float-card small { color: rgba(255,255,255,.65); font-size: 12.5px; }
.float-card__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.float-card__ico--gold { background: var(--gold-grad); color: var(--navy); }
.float-card--a { top: 10%; left: -4%; }
.float-card--b { top: 44%; right: -6%; animation-delay: -2s; }
.float-card--c { bottom: 6%; left: 4%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats */
.stats-wrap { position: relative; z-index: 3; margin-top: -78px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 34px 10px; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); }
.stat { text-align: center; padding: 6px 16px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line); }
.stat b { font-family: var(--font-head); font-size: clamp(34px, 3.4vw, 50px); font-weight: 400; color: var(--navy); letter-spacing: -.02em; }
.stat > span { font-family: var(--font-head); font-size: 32px; color: var(--gold); margin-left: 2px; }
.stat small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-grid--home { grid-template-columns: 1.15fr 1fr 1fr; }
.svc-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
    border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }

/* Media */
.svc-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: visible; background: linear-gradient(160deg, #F4F6F9, #E6EAF0); }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.svc-card__media::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(to top, rgba(16,31,56,.28), rgba(16,31,56,0) 45%); pointer-events: none; transition: opacity .5s; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__media--ph { background: radial-gradient(circle at 75% 20%, rgba(197,164,109,.35), transparent 55%), linear-gradient(150deg, var(--navy-2), var(--navy)); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.svc-card__media--ph::before { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(197,164,109,.35); box-shadow: 0 0 0 30px rgba(197,164,109,.06), 0 0 0 60px rgba(197,164,109,.035); }
.svc-card__art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-2); }
.svc-card__art .ic { width: 86px; height: 86px; stroke-width: 1.1; opacity: .9; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__art .ic { transform: scale(1.08) rotate(-4deg); }
.svc-card__ico {
    position: absolute; left: 24px; bottom: 0; transform: translateY(50%); z-index: 2;
    width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
    background: var(--gold-grad); color: var(--navy); box-shadow: 0 0 0 5px #fff, 0 12px 24px -10px rgba(168,135,79,.8);
    transition: transform .5s var(--ease);
}
.svc-card__ico .ic { width: 28px; height: 28px; }
.svc-card:hover .svc-card__ico { transform: translateY(50%) rotate(-6deg); }

/* Body */
.svc-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 44px 26px 24px; }
.svc-card__title { font-size: 22px; line-height: 1.2; transition: color .3s; }
.svc-card:hover .svc-card__title { color: var(--gold-3); }
.svc-card__text { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc-card__price { font-weight: 800; color: var(--navy); }
.svc-card__price small { font-weight: 500; color: var(--gold-3); font-size: 13px; }
.svc-card__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); transition: all .5s var(--ease); }
.svc-card:hover .svc-card__go { background: var(--gold-grad); color: var(--navy); transform: rotate(45deg); }

/* Hero card — full-bleed image with navy overlay */
.svc-card--hero { grid-row: span 2; min-height: 560px; border: 0; background: var(--navy); }
.svc-card--hero .svc-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.svc-card--hero .svc-card__media img, .svc-card--hero .svc-card__media::after { border-radius: 0; }
.svc-card--hero .svc-card__media::after { background: linear-gradient(to top, rgba(10,21,39,.96) 0%, rgba(16,31,56,.78) 38%, rgba(16,31,56,.08) 72%); }
.svc-card--hero .svc-card__ico { top: 26px; bottom: auto; transform: none; box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); width: 64px; height: 64px; }
.svc-card--hero:hover .svc-card__ico { transform: rotate(-6deg); }
.svc-card--hero .svc-card__body { position: relative; z-index: 1; margin-top: auto; flex: 0; padding: 30px; }
.svc-card--hero .svc-card__title { color: #fff; font-size: 34px; font-weight: 400; }
.svc-card--hero:hover .svc-card__title { color: var(--gold-2); }
.svc-card--hero .svc-card__text { color: rgba(255,255,255,.78); font-size: 16px; flex: 0; max-width: 440px; }
.svc-card--hero .svc-card__price { color: #fff; }
.svc-card--hero .svc-card__price small { color: var(--gold-2); }
.svc-card--hero .svc-card__foot { border-color: rgba(255,255,255,.18); }
.svc-card--hero .svc-card__go { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }

/* "Also" strip under home grid */
.svc-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--soft); }
.svc-more__label { font-weight: 700; color: var(--muted); font-size: 14px; margin-right: 4px; }
.svc-more__item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); transition: all .3s var(--ease); }
.svc-more__item .ic { color: var(--gold-3); }
.svc-more__item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.svc-more__all { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.svc-more__all .ic { transition: transform .3s var(--ease); }
.svc-more__all:hover .ic { transform: translateX(4px); }

/* ---------- About ---------- */
.about__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about__img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-lg); aspect-ratio: 4/5; object-fit: cover; }
.about__art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.about__tile { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh); }
.about__tile small { font-size: 14.5px; line-height: 1.5; }
.about__tile--navy { grid-row: span 2; background: var(--navy); color: #fff; justify-content: flex-end; min-height: 420px; position: relative; overflow: hidden; }
.about__tile--navy::before { content: ''; position: absolute; inset: auto -40% -30% auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.4), transparent 70%); }
.about__tile--navy .ic { color: var(--gold); margin-bottom: auto; }
.about__tile--navy b { font-family: var(--font-head); font-size: 72px; font-weight: 400; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__tile--navy small { color: rgba(255,255,255,.7); position: relative; }
.about__tile--gold { background: var(--gold-grad); color: var(--navy); }
.about__tile--white { background: #fff; color: var(--slate); }
.about__tile--white .ic { color: var(--gold-3); }
.about__text { font-size: 17px; color: var(--muted); margin: 18px 0 36px; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.adv { display: flex; gap: 16px; }
.adv__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--gold-3); box-shadow: var(--sh-sm); flex-shrink: 0; border: 1px solid var(--line); }
.adv h3 { font-size: 18px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.adv p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Horizontal scroller ---------- */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 26px; margin: -6px -2px 0; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll__item { scroll-snap-align: start; min-width: 0; }
.hscroll[data-scroller="results"], .hscroll[data-scroller="reviews"] { grid-auto-columns: calc((100% - 44px) / 3); }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ba-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); height: 100%; transition: box-shadow .4s, transform .4s var(--ease); }
.ba-card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.ba-card.is-hidden { display: none; }
.ba { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, #e9edf3, #d7dde7); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); z-index: 2; pointer-events: none; }
.ba__tag--before { left: 14px; background: rgba(16,31,56,.7); color: #fff; }
.ba__tag--after { right: 14px; background: rgba(255,255,255,.85); color: var(--navy); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.25); }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--gold-grad); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); border: 3px solid #fff; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + .ba__handle, .ba:focus-within .ba__handle span { outline: 2px solid var(--gold); }
.ba-card__body { padding: 20px 22px 24px; }
.ba-card__body h3 { font-size: 19px; margin: 10px 0 6px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.ba-card__body p { font-size: 14px; color: var(--muted); }

/* ---------- Doctors ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.doc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--sh-sm); transition: box-shadow .45s, transform .45s var(--ease); }
.doc-card:hover { box-shadow: var(--sh); transform: translateY(-5px); }
.doc-card__photo { position: relative; aspect-ratio: 4/4.6; overflow: hidden; background: linear-gradient(160deg, #EEF1F6, #DCE2EB); display: block; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.doc-card:hover .doc-card__photo img { transform: scale(1.05); }
.doc-card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #fff 0%, transparent 60%), linear-gradient(160deg, #EEF1F6, #D5DCE7); }
.doc-card__ph svg { position: absolute; bottom: 0; width: 78%; fill: rgba(16,31,56,.12); }
.doc-card__ph b { position: relative; z-index: 1; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-family: var(--font-head); font-size: 28px; font-weight: 500; letter-spacing: .06em; box-shadow: 0 0 0 8px rgba(255,255,255,.6); margin-bottom: 20%; }
.doc-card__ph--lg b { width: 130px; height: 130px; font-size: 42px; }
.doc-card__exp { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(16,31,56,.82); backdrop-filter: blur(8px); color: rgba(255,255,255,.8); font-size: 12.5px; }
.doc-card__exp b { color: var(--gold-2); font-size: 14px; }
.doc-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.doc-card__body h3 { font-size: 20px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.doc-card__body h3 a:hover { color: var(--gold-3); }
.doc-card__body p { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; flex: 1; }
.doc-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Reviews ---------- */
.rev-card { position: relative; height: 100%; display: flex; flex-direction: column; gap: 18px; padding: 30px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.rev-card:hover { box-shadow: var(--sh); border-color: transparent; }
.rev-card__top { display: flex; justify-content: space-between; align-items: center; }
.rev-card__quote { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.rev-card__quote .ic { fill: var(--gold); stroke: none; }
.rev-card__stars { display: flex; gap: 2px; }
.rev-card__text { font-size: 15.5px; color: var(--slate); flex: 1; }
.rev-card__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.3; }
.rev-card__author img, .rev-card__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.rev-card__avatar { display: grid; place-items: center; background: var(--gold-grad); color: var(--navy); font-weight: 800; }
.rev-card__author b { display: block; color: var(--navy); }
.rev-card__author small { color: var(--muted); font-size: 13px; }
.rev-card__video { position: relative; margin: -30px -30px 0; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.rev-card__video img { width: 100%; height: 100%; object-fit: cover; }
.rev-card__video span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(16,31,56,.35); transition: background .3s; }
.rev-card__video:hover span { background: rgba(16,31,56,.55); }

.rating-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 30px 36px; border-radius: var(--r-lg); background: var(--navy); color: rgba(255,255,255,.75); margin-bottom: 40px; position: relative; overflow: hidden; }
.rating-bar::after { content: ''; position: absolute; width: 300px; height: 300px; left: -100px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.3), transparent 70%); }
.rating-bar__score { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.rating-bar__score b { font-family: var(--font-head); font-size: 56px; font-weight: 400; color: #fff; line-height: 1; }
.rating-bar__score span { display: flex; gap: 2px; }
.rating-bar__score small { font-size: 13px; }
.masonry { columns: 3 320px; column-gap: 24px; }
.masonry__item { break-inside: avoid; margin-bottom: 24px; }

.review-form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--r-xl); overflow: hidden; margin-top: 60px; box-shadow: var(--sh); }
.review-form-wrap__intro { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.review-form-wrap__intro h2 { color: #fff; font-size: 34px; }
.review-form { background: #fff; padding: 44px 48px; }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { cursor: pointer; color: #D6DBE3; transition: transform .2s, color .2s; }
.rate-input label .ic { width: 32px; height: 32px; fill: currentColor; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: var(--gold); }
.rate-input label:hover { transform: scale(1.15); }

/* ---------- Branches ---------- */
.branches { display: grid; grid-template-columns: 420px 1fr; gap: 24px; min-height: 520px; }
.branches__list { display: flex; flex-direction: column; gap: 16px; }
.branch { position: relative; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: all .4s var(--ease); }
.branch:hover { border-color: rgba(197,164,109,.6); }
.branch.is-active { border-color: var(--navy); box-shadow: var(--sh); background: var(--navy); color: rgba(255,255,255,.8); }
.branch.is-active h3 { color: #fff; }
.branch.is-active .ic { color: var(--gold); }
.branch.is-active .branch__num { color: var(--gold-2); border-color: rgba(197,164,109,.5); }
.branch.is-active .btn--outline { border-color: rgba(255,255,255,.3); color: #fff; }
.branch.is-active .btn--navy { background: var(--gold-grad); color: var(--navy); }
.branch.is-active .btn--ghost { background: rgba(255,255,255,.08); color: #fff; }
.branch.is-active a { color: #fff; }
.branch__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.branch__num { font-family: var(--font-head); font-size: 14px; letter-spacing: .1em; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-3); }
.branch h3 { font-size: 22px; }
.branch__info { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.branch__info li { display: flex; gap: 10px; }
.branch__info .ic { color: var(--gold-3); margin-top: 2px; }
.branch__info small { display: block; opacity: .7; font-size: 13px; }
.branch__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.branches__map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(135deg, #E9EDF3, #D9DFE8); box-shadow: var(--sh); min-height: 420px; }
.branches__map-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-3); animation: bob 3s ease-in-out infinite; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; visibility: hidden; transition: opacity .5s; z-index: 1; filter: saturate(.85) contrast(1.02); }
.map.is-active { opacity: 1; visibility: visible; }

/* ---------- Articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .45s, transform .45s var(--ease); }
.post-card:hover { box-shadow: var(--sh); transform: translateY(-5px); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; display: block; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-2); position: relative; overflow: hidden; }
.post-card__ph::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(197,164,109,.35); box-shadow: 0 0 0 30px rgba(197,164,109,.06), 0 0 0 60px rgba(197,164,109,.04); }
.post-card__ph--0 { background: radial-gradient(circle at 70% 20%, #24406c, var(--navy)); }
.post-card__ph--1 { background: radial-gradient(circle at 30% 30%, #2a3d5c, var(--navy-3)); }
.post-card__ph--2 { background: var(--gold-grad); color: var(--navy); }
.post-card__ph--2::before { border-color: rgba(16,31,56,.2); box-shadow: 0 0 0 30px rgba(16,31,56,.05); }
.post-card__ph .ic { position: relative; width: 64px; height: 64px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.post-card__body h3 { font-size: 21px; line-height: 1.3; }
.post-card__body h3 a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.post-card__body h3 a:hover { background-size: 100% 1.5px; }
.post-card__body p { color: var(--muted); font-size: 14.5px; flex: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__intro .btn { margin-top: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.acc { background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .35s, border-color .35s; }
.acc[open] { box-shadow: var(--sh); border-color: transparent; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; font-weight: 700; color: var(--navy); font-size: 17px; }
.acc summary::-webkit-details-marker { display: none; }
.acc__plus { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); flex-shrink: 0; transition: background .3s, transform .4s var(--ease); }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__plus { background: var(--gold-grad); transform: rotate(180deg); }
.acc[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { padding: 0 26px 24px; color: var(--muted); animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

main { position: relative; }
/* ---------- Page head ---------- */
.pagehead { position: relative; background: var(--navy); color: #fff; padding: 46px 0 64px; overflow: hidden; }
.pagehead__deco { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% -10%, rgba(197,164,109,.3), transparent 45%), radial-gradient(circle at 0% 120%, rgba(60,100,170,.3), transparent 45%); }
.pagehead__deco::after { content: ''; position: absolute; right: 6%; top: 50%; width: 260px; height: 260px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(197,164,109,.25); box-shadow: 0 0 0 40px rgba(197,164,109,.04), 0 0 0 80px rgba(197,164,109,.025); }
.pagehead .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }
.crumbs__sep { opacity: .4; }
.pagehead__title { color: #fff; font-size: clamp(34px, 4.6vw, 58px); font-weight: 400; letter-spacing: -.02em; margin-top: 18px; max-width: 820px; }
.pagehead__lead { color: rgba(255,255,255,.7); font-size: 17.5px; margin-top: 14px; max-width: 640px; }
.pagehead:has(+ .svc-hero) { padding-bottom: 0; background: transparent; position: absolute; left: 0; right: 0; z-index: 2; }
.pagehead:has(+ .svc-hero) .pagehead__deco { display: none; }
.pagehead + .svc-hero { padding-top: 96px; }

/* ---------- Service page ---------- */
.svc-hero { background: var(--navy); color: #fff; padding: 20px 0 80px; position: relative; overflow: hidden; }
.svc-hero::before { content: ''; position: absolute; right: -10%; top: -30%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.2), transparent 60%); }
.svc-hero__in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.svc-hero__ico { width: 84px; height: 84px; border-radius: 26px; background: var(--gold-grad); color: var(--navy); display: grid; place-items: center; box-shadow: var(--sh-gold); }
.svc-hero__ico .ic { width: 42px; height: 42px; }
.svc-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); font-weight: 400; letter-spacing: -.02em; margin: 26px 0 16px; }
.svc-hero p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 620px; }
.svc-hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.svc-hero__price { line-height: 1.25; padding-left: 28px; border-left: 1px solid var(--line-dark); }
.svc-hero__price small { display: block; color: rgba(255,255,255,.55); font-size: 13px; }
.svc-hero__price b { font-family: var(--font-head); font-size: 26px; font-weight: 500; color: var(--gold-2); }
.svc-hero__media { position: relative; max-width: 460px; width: 100%; justify-self: end; }
.svc-hero__media::before { content: ""; position: absolute; inset: -14px; border-radius: 250px 250px 44px 44px; border: 1px solid rgba(197,164,109,.45); pointer-events: none; }
.svc-hero__frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: 240px 240px 34px 34px; overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(197,164,109,.35), transparent 55%), linear-gradient(160deg, var(--navy-2), var(--navy-3)); box-shadow: var(--sh-lg); }
.svc-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,21,39,.35), transparent 40%); pointer-events: none; }
.svc-hero__art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-2); }
.svc-hero__art .ic { width: 140px; height: 140px; stroke-width: 1; }
.svc-hero__chip { position: absolute; left: -26px; bottom: 40px; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); color: rgba(255,255,255,.8); font-size: 13.5px; animation: bob 6s ease-in-out infinite; }
.svc-hero__chip .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--gold-grad); color: var(--navy); }
.svc-hero__chip b { color: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 500; }

.layout-side { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.layout-side__main { min-width: 0; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.book-card { background: var(--navy); color: rgba(255,255,255,.75); padding: 32px; border-radius: var(--r-lg); position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.book-card::before { content: ''; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.4), transparent 70%); }
.book-card > * { position: relative; }
.book-card h3 { color: #fff; font-size: 24px; margin-bottom: 18px; }
.book-card__phone { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.book-card__phone small { display: block; font-size: 13px; margin-bottom: 6px; }
.book-card__phone a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 800; font-size: 20px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .ic { color: var(--gold); width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(197,164,109,.15); }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.side-nav h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; font-weight: 500; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--navy); transition: background .25s; }
.side-nav a span { flex: 1; }
.side-nav a .ic-sm { color: var(--gold-3); }
.side-nav a .ic-xs { opacity: .4; transition: transform .3s, opacity .3s; }
.side-nav a:hover { background: var(--soft); }
.side-nav a:hover .ic-xs { opacity: 1; transform: translateX(3px); }

.block { margin-top: 56px; }
.block__title { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 22px; }
.block__title .ic { color: var(--gold-3); }

/* Prose */
.prose { font-size: 17px; color: var(--slate); line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.5em; }
.prose a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8874F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; position: relative; padding: 16px 18px 16px 66px; background: var(--soft); border-radius: 16px; font-weight: 600; color: var(--navy); }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-family: var(--font-head); font-size: 14px; }
.prose blockquote { margin: 1.5em 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 16px 16px 0; font-style: italic; }
.prose img { border-radius: var(--r); }

/* ---------- Prices ---------- */
.price-table { display: flex; flex-direction: column; }
.price-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-weight: 600; color: var(--navy); line-height: 1.35; }
.price-row__name small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.price-row__dots { flex: 1; min-width: 20px; border-bottom: 1.5px dotted #CBD2DD; transform: translateY(4px); }
.price-row__val { font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row__add { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; position: relative; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy); transition: all .3s var(--ease); }
.price-row__add:hover { border-color: var(--gold); background: var(--gold-soft); }
.price-row__add--ghost { border-color: transparent; pointer-events: none; }
.price-row__add .ic-on { display: none; }
.ic-plus::before, .ic-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; transform: translate(-50%, -50%); }
.ic-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.price-row.is-added .price-row__add { background: var(--navy); border-color: var(--navy); color: var(--gold-2); }
.price-row.is-added .price-row__add .ic-on { display: block; }
.price-row.is-added .ic-plus { display: none; }
.price-row.is-hidden { display: none; }
.price-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.price-search { position: relative; margin-bottom: 18px; }
.price-search .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.price-search .input { padding-left: 52px; height: 58px; border-radius: 999px; background: var(--soft); border-color: transparent; }
.price-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.price-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 28px 14px; margin-bottom: 22px; }
.price-group.is-hidden { display: none; }
.price-group__head { display: flex; align-items: center; gap: 14px; padding: 18px 0 12px; border-bottom: 1px solid var(--line); }
.price-group__head h2 { font-size: 22px; flex: 1; }
.price-group__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); }
.estimate { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--line); }
.estimate__head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--navy); color: rgba(255,255,255,.65); }
.estimate__head h3 { color: #fff; font-size: 20px; }
.estimate__head small { font-size: 13px; }
.estimate__head > div { flex: 1; }
.estimate__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--gold-grad); color: var(--navy); display: grid; place-items: center; }
.estimate__toggle { display: none; color: #fff; }
.estimate__body { padding: 20px 24px 24px; }
.estimate__list { list-style: none; display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto; margin-bottom: 18px; }
.estimate__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.estimate__list li span { flex: 1; color: var(--navy); font-weight: 600; line-height: 1.3; }
.estimate__list li b { white-space: nowrap; font-size: 13px; color: var(--slate); }
.estimate__empty { color: var(--muted); font-size: 14px !important; justify-content: center; text-align: center; padding: 16px 0; border: 1.5px dashed var(--line); border-radius: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; font-weight: 800; color: var(--navy); }
.qty output { min-width: 18px; text-align: center; font-weight: 700; font-size: 13px; }
.estimate__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); margin-bottom: 14px; }
.estimate__total small { color: var(--muted); }
.estimate__total b { font-family: var(--font-head); font-size: 24px; font-weight: 500; color: var(--navy); text-align: right; }
.estimate__clear { display: block; margin: 12px auto 0; font-size: 13px; color: var(--muted); text-decoration: underline; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--slate); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Doctor profile ---------- */
.doc-profile { display: grid; grid-template-columns: 440px 1fr; gap: 70px; align-items: start; }
.doc-profile__photo { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4/5; border-radius: 220px 220px var(--r-xl) var(--r-xl); overflow: hidden; background: linear-gradient(160deg, #EEF1F6, #D5DCE7); box-shadow: var(--sh-lg); }
.doc-profile__photo::after { content: ''; position: absolute; inset: 12px; border-radius: 210px 210px 30px 30px; border: 1px solid rgba(197,164,109,.5); pointer-events: none; }
.doc-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-profile__name { font-size: clamp(36px, 4.4vw, 56px); font-weight: 400; letter-spacing: -.02em; }
.doc-profile__facts { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0; }
.doc-profile__facts > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: var(--r); background: var(--soft); min-width: 150px; }
.doc-profile__facts b { font-family: var(--font-head); font-size: 36px; font-weight: 400; color: var(--navy); line-height: 1; }
.doc-profile__facts .ic { color: var(--gold-3); width: 34px; height: 34px; }
.doc-profile__facts small { color: var(--muted); font-size: 13.5px; }
.doc-profile .block__title { margin-top: 40px; }
.doc-profile__cta { margin-top: 40px; }
.timeline { list-style: none; position: relative; padding-left: 28px; display: grid; gap: 16px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--gold), transparent); }
.timeline li { position: relative; font-weight: 600; color: var(--navy); }
.timeline li::before { content: ''; position: absolute; left: -28px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }

/* ---------- Contacts ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-lg); background: var(--soft); transition: background .3s, transform .4s var(--ease); }
a.contact-card:hover { background: var(--gold-soft); transform: translateY(-3px); }
.contact-card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); margin-bottom: 14px; }
.contact-card small { color: var(--muted); font-size: 13px; }
.contact-card b { color: var(--navy); font-size: 16px; line-height: 1.35; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.social-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 13px; color: var(--navy); transition: background .25s, color .25s; }
.social-pill:hover { background: var(--navy); color: var(--gold-2); }

/* ---------- Booking ---------- */
.booking-page { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.booking-page__form { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 44px; border: 1px solid var(--line); }
.booking-page__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.flow { list-style: none; counter-reset: f; display: grid; gap: 22px; margin-top: 10px; }
.flow li { counter-increment: f; position: relative; padding-left: 58px; line-height: 1.4; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(197,164,109,.5); color: var(--gold-2); font-family: var(--font-head); }
.flow b { display: block; color: #fff; }
.flow small { font-size: 13.5px; }

.steps { list-style: none; display: flex; gap: 10px; margin-bottom: 34px; }
.steps__item { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 14px; color: var(--muted); transition: all .35s var(--ease); }
.steps__item span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: var(--font-head); color: var(--navy); flex-shrink: 0; }
.steps__item.is-active { background: var(--navy); color: #fff; }
.steps__item.is-active span { background: var(--gold-grad); }
.steps__item.is-done span { background: var(--navy); color: var(--gold-2); }
.bstep { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.bstep.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.bstep__title { font-family: var(--font-head); font-size: 22px; color: var(--navy); margin: 0 0 16px; padding: 0; }
.bstep__title ~ .bstep__title { margin-top: 32px; }
.bstep__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.choice-grid { display: grid; gap: 12px; }
.choice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid--4 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); transition: all .3s var(--ease); line-height: 1.35; }
.choice__box b { color: var(--navy); font-size: 14.5px; }
.choice__box small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choice__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--gold-3); flex-shrink: 0; transition: all .3s; }
.choice--tile .choice__box { flex-direction: column; align-items: flex-start; gap: 12px; }
.choice:hover .choice__box { border-color: rgba(197,164,109,.6); }
.choice input:checked + .choice__box { border-color: var(--navy); background: var(--navy); box-shadow: var(--sh); }
.choice input:checked + .choice__box b { color: #fff; }
.choice input:checked + .choice__box small { color: rgba(255,255,255,.6); }
.choice input:checked + .choice__box .choice__ico { background: var(--gold-grad); color: var(--navy); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day, .slot, .seg__opt { position: relative; cursor: pointer; }
.day input, .slot input, .seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: flex; flex-direction: column; align-items: center; padding: 12px 0; border-radius: 16px; border: 1.5px solid var(--line); line-height: 1.2; transition: all .3s; }
.day small { font-size: 12px; color: var(--muted); }
.day b { font-family: var(--font-head); font-size: 24px; font-weight: 500; color: var(--navy); }
.day input:checked + span { background: var(--navy); border-color: var(--navy); }
.day input:checked + span small { color: var(--gold-2); }
.day input:checked + span b { color: #fff; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot span { display: block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: all .3s; }
.slot input:checked + span { background: var(--gold-grad); border-color: transparent; color: var(--navy); }
.day input:focus-visible + span, .slot input:focus-visible + span, .seg__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg__opt { flex: 1; min-width: 140px; }
.seg__opt span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--slate); transition: all .3s; text-align: center; }
.seg__opt input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg__opt input:checked + span .ic { color: var(--gold); }
.summary { display: none; background: var(--soft); border-radius: 16px; padding: 16px 20px; margin-top: 8px; font-size: 14px; }
.summary.is-filled { display: grid; gap: 6px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary b { color: var(--navy); text-align: right; }

/* Forms */
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field > label, .field__label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.input { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .25s, box-shadow .25s; font-size: 15px; color: var(--navy); }
textarea.input { height: auto; padding: 14px 18px; resize: vertical; min-height: 56px; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101F38' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197,164,109,.18); }
.input::placeholder { color: #A3AEBF; }
.field.has-error .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(209,75,75,.1); }
.field__err { color: var(--danger); font-size: 12.5px; min-height: 0; }
.field__err:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bform { position: relative; }
.bform__privacy { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.45; }
.bform__privacy .ic { color: var(--ok); flex-shrink: 0; }
.bform__done { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; z-index: 5; animation: fadeIn .4s; }
.bform__done h3 { font-size: 28px; }
.bform__done p { color: var(--muted); max-width: 380px; margin-bottom: 10px; }
@keyframes fadeIn { from { opacity: 0; } }
.done-check svg { width: 96px; height: 96px; }
.done-check circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.done-check path { fill: none; stroke: var(--navy); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s var(--ease) .6s forwards; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.form-msg.is-ok { background: rgba(46,155,106,.1); color: var(--ok); }
.form-msg.is-err { background: rgba(209,75,75,.08); color: var(--danger); }

/* Modal */
.modal { padding: 0; border: 0; background: transparent; max-width: 960px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow: visible; }
.modal::backdrop { background: rgba(5,12,24,.66); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .4s; }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.modal__card { display: grid; grid-template-columns: 330px 1fr; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); max-height: calc(100dvh - 32px); }
.modal__aside { background: var(--navy); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
.modal__aside::before { content: ''; position: absolute; width: 360px; height: 360px; left: -140px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.35), transparent 70%); }
.modal__aside-in { position: relative; padding: 36px 32px; height: 100%; display: flex; flex-direction: column; gap: 16px; }
.modal__aside h2 { color: #fff; font-size: 30px; margin-top: 30px; }
.modal__aside p { font-size: 14.5px; }
.modal__aside .ticks { margin: 6px 0 0; }
.modal__phone { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 800; font-size: 18px; }
.modal__body { position: relative; padding: 40px 40px 32px; overflow-y: auto; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); z-index: 6; transition: background .25s, transform .4s var(--ease); }
.modal__close:hover { background: var(--gold-soft); transform: rotate(90deg); }
.modal__head-mobile { display: none; }
body.modal-open { overflow: hidden; }

/* ---------- Article ---------- */
.article { max-width: 820px; }
.article__head h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 400; letter-spacing: -.02em; margin: 18px 0; }
.article__meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.article__meta > * { display: inline-flex; gap: 6px; align-items: center; }
.article__cover { margin: 36px 0; }
.article__cover img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh); }
.article__lead { font-size: 20px; color: var(--navy); line-height: 1.6; margin: 30px 0; padding-left: 22px; border-left: 3px solid var(--gold); }
.article__share { display: flex; align-items: center; gap: 10px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.article__share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); transition: background .25s, color .25s; }
.article__share a:hover { background: var(--navy); color: var(--gold-2); }
.article__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; padding: 30px 34px; border-radius: var(--r-lg); background: var(--navy); color: rgba(255,255,255,.7); }
.article__cta h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }

/* ---------- Pager / empty ---------- */
.pager { list-style: none; display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span { min-width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-weight: 700; color: var(--navy); transition: all .25s; padding: 0 6px; }
.pager a:hover { border-color: var(--gold); }
.pager .active a { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .disabled span { opacity: .35; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); display: grid; place-items: center; gap: 14px; }
.empty .ic { color: var(--gold); }

/* ---------- Error ---------- */
.error-page { background: var(--navy); color: rgba(255,255,255,.72); padding: 110px 0 130px; text-align: center; position: relative; overflow: hidden; }
.error-page::before { content: ''; position: absolute; left: 50%; top: 30%; width: 700px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(197,164,109,.18), transparent 60%); }
.error-page__in { position: relative; }
.error-page__code { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--font-head); font-size: clamp(110px, 18vw, 200px); line-height: 1; color: #fff; font-weight: 400; }
.error-page__tooth { width: .75em; height: .75em; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy); animation: bob 3s ease-in-out infinite; }
.error-page__tooth .ic { width: 55%; height: 55%; }
.error-page h1 { color: #fff; font-size: 38px; margin: 26px 0 12px; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; padding: 0 0 0; background: linear-gradient(var(--white) 50%, var(--navy) 50%); }
.is-home .cta-band, .section--soft + .cta-band { background: linear-gradient(var(--soft) 50%, var(--navy) 50%); }
.cta-band__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 52px 56px; border-radius: var(--r-xl); background: var(--gold-grad); overflow: hidden; box-shadow: var(--sh-lg); }
.cta-band__in::before { content: ''; position: absolute; right: 22%; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(16,31,56,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.08), 0 0 0 80px rgba(255,255,255,.05); }
.cta-band__text { position: relative; }
.cta-band__text .eyebrow { color: var(--navy); }
.cta-band__text .eyebrow::before { background: var(--navy); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 42px); }
.cta-band p { color: rgba(16,31,56,.75); margin-top: 8px; max-width: 520px; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--gold { background: var(--navy); color: #fff; box-shadow: 0 16px 34px -12px rgba(16,31,56,.6); }
.cta-band .btn--ghost-light { border-color: rgba(16,31,56,.35); color: var(--navy); }
.cta-band .btn--ghost-light:hover { background: rgba(255,255,255,.3); }

.footer { position: relative; background: var(--navy); color: rgba(255,255,255,.62); padding: 90px 0 30px; overflow: hidden; font-size: 14.5px; }
.footer__glow { position: absolute; width: 700px; height: 700px; right: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(197,164,109,.16), transparent 65%); pointer-events: none; }
.footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.3fr; gap: 50px; }
.footer__brand p { margin: 22px 0; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #fff; transition: all .3s var(--ease); }
.footer__social a:hover { background: var(--gold-grad); color: var(--navy); transform: translateY(-3px); border-color: transparent; }
.footer h3 { color: #fff; font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.footer__col ul { list-style: none; display: grid; gap: 11px; }
.footer__col a { transition: color .2s, padding .3s var(--ease); }
.footer__col li a:hover { color: var(--gold-2); padding-left: 6px; }
.footer__branch { display: grid; gap: 7px; margin-bottom: 22px; }
.footer__branch b { color: #fff; font-weight: 700; }
.footer__branch > span, .footer__branch > a { display: flex; gap: 8px; align-items: flex-start; }
.footer__branch .ic { color: var(--gold); margin-top: 3px; }
.footer__branch a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer__note { opacity: .6; }

/* ---------- Mobile bottom bar ---------- */
.mbar { display: none; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .rv { opacity: 1; transform: none; }
    .hv__art .draw { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
    .header__phone { display: none; }
}
@media (max-width: 1240px) {
    .header__phone small { display: none; }
    .nav__link { padding: 0 9px; font-size: 14px; }
    .header__phone-ico { display: none; }
}
@media (max-width: 1100px) {
    :root { --header-h: 74px; }
    .nav, .header__phone, .topbar__hours { display: none; }
    .burger { display: flex; }
    .hero__in { grid-template-columns: 1fr; text-align: left; }
    .hero__visual { max-width: 480px; width: 100%; margin: 20px auto 0; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid--home { grid-template-columns: 1fr 1fr; }
    .svc-card--hero { grid-row: auto; grid-column: span 2; min-height: 440px; }
    .about__in, .faq { grid-template-columns: 1fr; gap: 50px; }
    .faq__intro { position: static; }
    .hscroll { grid-auto-columns: calc((100% - 44px) / 3); }
    .hscroll[data-scroller="results"], .hscroll[data-scroller="reviews"] { grid-auto-columns: calc((100% - 22px) / 2); }
    .doc-grid { grid-template-columns: repeat(3, 1fr); }
    .ba-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
    .branches { grid-template-columns: 1fr; }
    .branches__map { min-height: 380px; }
    .layout-side, .price-layout, .booking-page { grid-template-columns: 1fr; }
    .sticky-card, .booking-page__aside { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .doc-profile { grid-template-columns: 1fr; gap: 40px; }
    .doc-profile__photo { position: relative; top: 0; max-width: 400px; width: 100%; margin: 0 auto; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .svc-hero__in { grid-template-columns: 1fr; }
    .svc-hero__media { justify-self: center; max-width: 380px; margin-top: 10px; }
    .svc-hero__chip { left: -6px; }
    .rating-bar { grid-template-columns: auto 1fr; }
    .rating-bar .btn { grid-column: span 2; justify-self: start; }
    .review-form-wrap { grid-template-columns: 1fr; }
    .estimate { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 70; transform: translateY(calc(100% - 90px)); transition: transform .5s var(--ease); }
    .estimate.is-open { transform: none; }
    .estimate__toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .3s; }
    .estimate.is-open .estimate__toggle { transform: rotate(180deg); }
    .estimate:not(.has-items) { display: none; }
    .price-layout__aside { height: 0; }
}

@media (max-width: 1100px) {
    .mbar {
        display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 4px;
        position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80;
        background: rgba(16,31,56,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 6px;
        box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
    }
    .mbar__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 6px; border-radius: 16px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 600; }
    .mbar__item .ic { color: var(--gold-2); width: 21px; height: 21px; }
    .mbar__item:active { background: rgba(255,255,255,.06); }
    .mbar__cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; background: var(--gold-grad); color: var(--navy); font-size: 12px; font-weight: 800; }
    .mbar__cta .ic { width: 21px; height: 21px; }
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .is-home .cta-band, .cta-band { }
}

@media (max-width: 760px) {
    :root { --header-h: 66px; }
    body { font-size: 15.5px; }
    .container { padding: 0 18px; }
    .topbar { display: none; }
    .header__cta, .lang { display: none; }
    .logo__mark { width: 40px; height: 40px; }
    .logo__name { font-size: 18px; }
    .logo__sub { font-size: 9.5px; }
    .section { padding: 72px 0; }
    .section--tight { padding: 40px 0 70px; }
    .section__head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
    .section__head .carousel-nav { display: none; }
    .hero { padding: 40px 0 120px; }
    .hero__title { margin: 20px 0 18px; }
    .hero__lead { font-size: 16.5px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__trust { margin-top: 32px; }
    .float-card { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 14px; }
    .float-card b { font-size: 16px; }
    .float-card small { font-size: 11px; }
    .float-card__ico { width: 34px; height: 34px; border-radius: 10px; }
    .float-card__ico .ic { width: 18px; height: 18px; }
    .float-card--a { left: 0; }
    .float-card--b { right: 0; }
    .stats-wrap { margin-top: -70px; }
    .stats { grid-template-columns: 1fr 1fr; padding: 16px 0; border-radius: var(--r); }
    .stat { padding: 16px 8px; }
    .stat + .stat::before { display: none; }
    .stat:nth-child(odd) { border-right: 1px solid var(--line); }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stat > span { font-size: 24px; }
    .stat small { font-size: 12.5px; }
    .svc-grid, .ba-grid, .ba-grid--2, .post-grid, .doc-grid--3 { grid-template-columns: 1fr; }
    .svc-card--hero { grid-column: auto; min-height: 460px; }
    .svc-grid--home { grid-template-columns: 1fr; }
    .svc-card__body { padding: 40px 20px 20px; }
    .svc-card--hero .svc-card__body { padding: 22px; }
    .svc-card--hero .svc-card__title { font-size: 28px; }
    .svc-more { padding: 16px; }
    .svc-more__all { margin-left: 0; width: 100%; justify-content: center; padding-top: 8px; }
    .doc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .doc-card__body { padding: 16px; }
    .doc-card__body h3 { font-size: 16.5px; }
    .doc-card__body p { font-size: 13px; margin-bottom: 12px; }
    .doc-card__actions { flex-direction: column; align-items: stretch; }
    .doc-card__actions .link-arrow { justify-content: center; }
    .doc-card__exp { left: 8px; bottom: 8px; padding: 5px 10px; font-size: 11px; }
    .hscroll, .hscroll[data-scroller="results"], .hscroll[data-scroller="reviews"] { grid-auto-columns: 84%; gap: 14px; margin: 0 -18px; padding: 6px 18px 20px; scroll-padding: 0 18px; }
    .hscroll[data-scroller="doctors"] { grid-auto-columns: 62%; }
    .adv-grid { grid-template-columns: 1fr; gap: 18px; }
    .about__art { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about__tile { padding: 20px; }
    .about__tile--navy { min-height: 300px; }
    .about__tile--navy b { font-size: 54px; }
    .about__tile small { font-size: 13px; }
    .branch { padding: 22px; }
    .branches__map { min-height: 320px; border-radius: var(--r-lg); }
    .acc summary { padding: 18px 20px; font-size: 15.5px; }
    .acc__body { padding: 0 20px 20px; }
    .pagehead { padding: 30px 0 44px; }
    .pagehead__deco::after { width: 180px; height: 180px; right: -60px; }
    .cta-band__in { flex-direction: column; align-items: flex-start; padding: 36px 26px; border-radius: var(--r-lg); }
    .cta-band__actions { width: 100%; }
    .cta-band__actions .btn { flex: 1 1 100%; }
    .footer { padding: 64px 0 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom { flex-direction: column; margin-top: 40px; }
    .grid-2 { grid-template-columns: 1fr; }
    .choice-grid--2, .choice-grid--4 { grid-template-columns: 1fr 1fr; }
    .choice-grid--2 { grid-template-columns: 1fr; }
    .choice--tile .choice__box { padding: 14px; }
    .booking-page__form { padding: 24px 18px; border-radius: var(--r-lg); }
    .steps__item { flex-direction: column; gap: 6px; padding: 10px 6px; font-size: 12px; text-align: center; }
    .bstep__nav .btn { flex: 1; padding: 0 14px; }
    .contact-cards { grid-template-columns: 1fr; }
    .rating-bar { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
    .rating-bar .btn { grid-column: auto; }
    .review-form-wrap__intro, .review-form { padding: 30px 22px; }
    .masonry { columns: 1; }
    .price-group { padding: 6px 18px 10px; }
    .price-row { flex-wrap: wrap; gap: 6px 12px; padding: 14px 0; }
    .price-row__name { flex: 1 1 calc(100% - 50px); }
    .price-row__dots { display: none; }
    .price-row__val { order: 3; flex: 1; color: var(--gold-3); }
    .price-row__add { order: 2; }
    .article__cta { flex-direction: column; align-items: flex-start; padding: 26px; }
    .svc-hero__price { padding-left: 0; border-left: 0; }
    .doc-profile__facts > div { flex: 1; min-width: 0; padding: 14px; }
    /* Modal → bottom sheet */
    .modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 94dvh; }
    .modal__card { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; max-height: 94dvh; }
    .modal[open] { animation: sheetIn .5s var(--ease); }
    @keyframes sheetIn { from { transform: translateY(100%); } }
    .modal__aside { display: none; }
    .modal__body { padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
    .modal__body::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: -12px auto 16px; }
    .modal__head-mobile { display: block; margin-bottom: 20px; }
    .modal__head-mobile h2 { font-size: 26px; }
    .modal__close { top: 16px; right: 16px; }
    .input { height: 50px; font-size: 16px; }
}

@media (max-width: 380px) {
    .doc-grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 36px; }
}

@media print {
    .topbar, .header, .mbar, .cta-band, .footer, .modal, .drawer { display: none !important; }
    .rv { opacity: 1; transform: none; }
}

/* Header: telefon raqami topbar'da, header'da faqat ikonka-tugma (keng ekranlarda) */
.topbar__phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; white-space: nowrap; }
.topbar__phone:hover { color: var(--gold-2); }
.header__phone > span:last-child { display: none; }
@media (min-width: 1500px) { .header__phone > span:last-child { display: block; } .header__phone-ico { display: grid !important; } }
@media (max-width: 1700px) { .topbar__landmark { display: none; } }
@media (max-width: 1240px) { .topbar__branches .topbar__link:nth-child(2) { display: none; } }
