:root {
  --brand-cyan: #1aa9dc;
  --brand-cyan-deep: #087da8;
  --brand-slate: #66717c;
  --ink: #1f2328;
  --muted: #687681;
  --line: #d7e4e9;
  --surface: #eef8fc;
  --surface-strong: #dff2f9;
  --white: #ffffff;
  --dark: #17222c;
  --page: min(1220px, calc(100% - 56px));
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
}


* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.page-shell { width: var(--page); margin: 0 auto; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; transform: translateY(-180%); padding: 10px 14px; border-radius: 10px; color: var(--white); background: var(--dark); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.top-frost { position: fixed; z-index: 15; inset: 0 0 auto; height: 170px; pointer-events: none; opacity: calc(var(--hero-progress, 0) * .94); background: linear-gradient(180deg, rgba(239,248,252,.72) 0%, rgba(239,248,252,.52) 26%, rgba(239,248,252,.28) 56%, rgba(239,248,252,0) 100%); box-shadow: 0 14px 34px rgba(21,61,76,.08); backdrop-filter: blur(calc(var(--hero-progress, 0) * 18px)) saturate(1.08); -webkit-backdrop-filter: blur(calc(var(--hero-progress, 0) * 18px)) saturate(1.08); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.92) 31%, rgba(0,0,0,.58) 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.92) 31%, rgba(0,0,0,.58) 60%, transparent 100%); transition: opacity .28s ease-out; }
.top-frost::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,.46), transparent 67%); opacity: .65; }
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; width: var(--page); min-height: 92px; margin: 0 auto; color: var(--white); }
.brand { display: inline-flex; align-items: center; width: 134px; height: 58px; overflow: hidden; border-radius: 11px; background: var(--white); }
.brand { position: relative; }
.brand::after { content: "Э В Е Р Е С Т\A stomatology"; display: none; white-space: pre; color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-align: center; }
.brand img.image-missing { display: none; }
.brand:has(img.image-missing)::after { display: block; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 40px; font-size: 14px; font-weight: 560; }
.desktop-nav a, .phone-link { opacity: .87; transition: opacity .2s ease; }
.desktop-nav a:hover, .phone-link:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; }
.phone-link { white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; color: currentColor; padding: 10px 0 10px 10px; }
.menu-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; border-radius: 10px; background: currentColor; transition: transform .2s ease; }
.mobile-menu { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid rgba(26,169,220,.45); outline-offset: 3px; }
.button-small { min-height: 43px; padding: 0 18px; font-size: 13px; }
.button-primary { color: var(--white); background: var(--brand-cyan); box-shadow: 0 12px 28px rgba(26,169,220,.28); }
.button-primary:hover { background: #0897ca; }
.button-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.15); }
.button-light { color: var(--dark); background: var(--white); }
.button-light:hover { background: #e5f4fa; }
.button-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.button-dark { color: var(--white); background: var(--dark); }
.button-dark:hover { background: #2a3945; }
.button-white { color: var(--dark); background: var(--white); }
.button-white:hover { background: #e8f5f9; }

.hero { position: relative; min-height: min(840px, 94vh); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--dark); }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { transform-origin: 50% 35%; will-change: transform; }
.hero-media { background: radial-gradient(circle at 76% 30%, rgba(115,218,243,.68), transparent 25%), linear-gradient(135deg, #6c8d9d, #1e3c4e 58%, #0b202e); }
.hero-media img { object-fit: cover; object-position: 53% center; filter: saturate(.9) contrast(.94); }
.hero-shade { background: linear-gradient(90deg, rgba(11,27,37,.84) 0%, rgba(11,27,37,.56) 45%, rgba(11,27,37,.10) 100%), linear-gradient(0deg, rgba(8,18,25,.72) 0%, rgba(8,18,25,.04) 58%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 180px; padding-right: 90px; padding-bottom: 54px; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 20px; color: var(--brand-cyan-deep); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #b9ebfb; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 780px; margin-bottom: 25px; font-size: clamp(46px, 7vw, 90px); font-weight: 670; }
h1 em, h2 span { color: var(--brand-cyan); font-style: normal; }
.hero h1 em { color: #b7ebfb; }
.hero-lead { max-width: 500px; margin-bottom: 32px; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.45; white-space: pre-line; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.hero-phone { display: none; align-items: center; gap: 8px; padding: 0 10px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600; }
.phone-dot { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.phone-dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.hero-note { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(11,27,37,.32); backdrop-filter: blur(10px); font-size: 12px; white-space: nowrap; }
.status-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: #6de1a9; box-shadow: 0 0 0 5px rgba(109,225,169,.14); }
.hero-note-divider { width: 1px; height: 14px; background: rgba(255,255,255,.34); }
.hero-scroll { position: absolute; z-index: 2; right: 16px; bottom: 52px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { display: block; width: 1px; height: 52px; background: rgba(255,255,255,.6); }

.section-pad { padding: 125px 0; }
.section-tint { background: var(--surface); }
.section-dark { color: var(--white); background: var(--dark); }
.section-blue { color: var(--dark); background: #cfeef8; }
h2 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 68px); font-weight: 660; }
h3 { letter-spacing: -.025em; }
.lead { max-width: 580px; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.36; letter-spacing: -.02em; }
.text-cyan { color: var(--brand-cyan); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-cyan-deep); font-size: 14px; font-weight: 750; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-note { max-width: 270px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 120px; }
.intro h2 { max-width: 470px; }
.intro-body { max-width: 570px; padding-top: 30px; }
.intro-body p:not(.lead) { max-width: 480px; margin-bottom: 34px; color: var(--muted); }
.intro-points { display: grid; gap: 18px; margin: 28px 0 30px; }
.intro-points div { padding-top: 16px; border-top: 1px solid var(--line); }
.intro-points dt { color: var(--ink); font-size: 16px; font-weight: 650; }
.intro-points dd { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.benefits { padding-bottom: 105px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 38px; border-top: 1px solid var(--line); }
.benefit-item { min-width: 0; }
.benefit-icon { display: grid; width: 60px; height: 60px; margin-bottom: 22px; place-items: center; border: 1px solid var(--line); border-radius: 18px; color: var(--brand-cyan-deep); background: var(--surface); }
.benefit-icon svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit-item h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.2; font-weight: 650; }
.benefit-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.consultation { padding-bottom: 105px; }
.consultation-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 75px; align-items: center; padding: 54px; border-radius: var(--radius-lg); color: var(--white); background: var(--dark); }
.consultation-copy { min-width: 0; }
.consultation-copy h2 { max-width: 490px; margin-bottom: 32px; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; }
.consultation-copy h2 span { color: #a4eafa; }
.consultation-action p { max-width: 330px; margin: 16px 0 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.5; }
.consultation-list { display: grid; gap: 25px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.consultation-list li { display: flex; gap: 16px; align-items: flex-start; }
.consultation-list li + li { padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); }
.consultation-list svg { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: #a4eafa; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.consultation-list h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.consultation-list p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.55; }
#callback { scroll-margin-top: 36px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 310px; display: flex; flex-direction: column; padding: 24px 25px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(26,169,220,.6); box-shadow: 0 18px 40px rgba(32,74,89,.10); }
.service-card-featured { color: var(--white); border-color: transparent; background: var(--dark); }
.service-card-muted { color: var(--muted); border-style: dashed; background: transparent; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.service-index { color: var(--brand-cyan); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.service-card-featured .service-index { color: #8ee5fb; }
.service-arrow, .service-lock { color: var(--brand-slate); font-size: 22px; font-weight: 300; }
.service-card-featured .service-arrow { color: var(--white); }
.service-lock { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 13px; font-size: 25px; line-height: 1.12; }
.service-card p { max-width: 260px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.service-card-featured p { color: rgba(255,255,255,.65); }
.service-price { margin-top: auto; color: var(--ink); font-size: 16px; font-weight: 800; }
.service-card-featured .service-price { color: #98eaff; }
.service-price-muted { color: var(--muted); font-size: 12px; letter-spacing: .08em; }

.promo-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.promo-intro p:not(.eyebrow) { max-width: 330px; margin-bottom: 32px; color: var(--muted); }
.promo-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.promo-card { display: flex; min-height: 340px; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.promo-card-blue { border-color: transparent; color: var(--white); background: var(--brand-cyan); }
.promo-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 76px; }
.promo-tag { color: var(--brand-cyan-deep); font-size: 34px; font-weight: 720; letter-spacing: -.06em; }
.promo-card-blue .promo-tag { color: var(--white); }
.promo-date { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.promo-card-blue .promo-date { color: rgba(255,255,255,.78); }
.promo-card h3 { max-width: 250px; margin-bottom: 13px; font-size: 23px; line-height: 1.12; }
.promo-card p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.promo-card-blue p { color: rgba(255,255,255,.78); }
.promo-foot { margin-top: auto; color: var(--brand-slate); font-size: 11px; }
.promo-card-blue .promo-foot { color: rgba(255,255,255,.72); }

.doctor-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 95px; align-items: center; }
.doctor-copy { order: 1; }
.doctor-photo-wrap { order: 2; }
.doctor-photo-wrap { position: relative; max-width: 470px; }
.doctor-photo { width: 100%; aspect-ratio: .81; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); background: #f3e8e8; }
.photo-caption { position: absolute; right: 16px; bottom: 16px; left: 16px; display: block; padding: 11px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: rgba(255,255,255,.84); background: rgba(23,34,44,.42); backdrop-filter: blur(10px); font-size: 11px; }
.doctor-copy h2 { margin-bottom: 14px; }
.doctor-copy h2 span { color: #9ce7fb; }
.doctor-role { margin-bottom: 38px; color: #9ce7fb; font-size: 16px; }
.doctor-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 34px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.2); }
.doctor-facts span { display: block; margin-bottom: 9px; color: rgba(255,255,255,.48); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.doctor-facts strong { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 550; line-height: 1.5; }
.doctor-text { max-width: 540px; color: rgba(255,255,255,.68); font-size: 15px; }
.doctor-copy .button { margin-top: 17px; }
.doctor-carousel { position: relative; }
.doctor-carousel-track { position: relative; display: grid; overflow: hidden; }
.doctor-carousel-slide { display: grid; grid-area: 1 / 1; opacity: 0; pointer-events: none; transform: translateX(100%); visibility: hidden; transition: transform .78s cubic-bezier(.16,1,.3,1), opacity .62s ease, visibility 0s linear .78s; }
.doctor-carousel-slide.is-active { opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; transition-delay: 0s; }
.doctor-carousel-slide.is-leaving { opacity: 0; transform: translateX(-100%); visibility: visible; transition-delay: 0s; }
.doctor-carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 30px; color: rgba(255,255,255,.68); font-size: 11px; }
.doctor-carousel-controls[hidden] { display: none; }
.doctor-carousel-controls button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); background: transparent; font-size: 19px; transition: background .2s ease, border-color .2s ease; }
.doctor-carousel-controls button:hover, .doctor-carousel-controls button:focus-visible { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: reduce) {
  .doctor-carousel-slide { transition: none; }
}

.principles-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); }
.principles-grid article { min-height: 230px; padding: 25px; background: var(--white); }
.principle-number { color: var(--brand-cyan); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.principles-grid h3 { margin: 68px 0 10px; font-size: 22px; }
.principles-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.price-list { border-top: 1px solid var(--line); }
.price-list a { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 20px; min-height: 72px; border-bottom: 1px solid var(--line); font-size: 16px; transition: padding .2s ease, color .2s ease; }
.price-list a:hover { padding: 0 12px; color: var(--brand-cyan-deep); }
.price-list strong { font-size: 15px; white-space: nowrap; }
.price-arrow { color: var(--brand-cyan); font-size: 20px; }
.fine-print { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 14px; }
.gallery-grid figure { position: relative; min-height: 390px; overflow: hidden; margin: 0; border-radius: var(--radius-md); background: var(--surface); }
.gallery-grid figure:has(img.image-missing) { background: linear-gradient(145deg,#d3edf3,#7fb7c4); }
.gallery-grid img.image-missing { display: none; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; bottom: 16px; left: 16px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: var(--white); background: rgba(23,34,44,.42); backdrop-filter: blur(8px); font-size: 11px; }
.gallery-main { min-height: 490px !important; }

.review-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.reviews-invitation { max-width: 760px; margin-bottom: 0; }
.reviews-heading { margin-bottom: 34px; }
.review-summary { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 14px; margin-bottom: 48px; }
.review-rating-card, .review-average { min-height: 172px; padding: 22px 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.review-rating-card { display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 12px; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.review-rating-card:hover { transform: translateY(-4px); border-color: rgba(26,169,220,.55); box-shadow: 0 14px 30px rgba(32,74,89,.10); }
.review-source { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 750; }
.review-source-icon { display: inline-grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: var(--white); font-size: 15px; font-weight: 850; line-height: 1; }
.review-source-yandex { background: #ff4c3b; }
.review-source-2gis { background: #32a32d; }
.review-source-vk { width: 31px; background: #1687f7; font-size: 10px; letter-spacing: -.08em; }
.review-rating-card strong { color: var(--ink); font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.review-stars { color: #ffb21a; font-size: 18px; letter-spacing: .08em; line-height: 1; text-shadow: 0 1px 0 rgba(190,114,0,.18); }
.review-rating-card small { align-self: end; color: var(--brand-cyan-deep); font-size: 11px; font-weight: 750; }
.review-average { display: flex; flex-direction: column; justify-content: space-between; color: var(--white); border-color: transparent; background: var(--dark); }
.review-average .eyebrow { margin-bottom: 0; }
.review-average strong { font-size: 48px; letter-spacing: -.06em; line-height: 1; }
.review-average p:last-child { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; }
.review-empty { min-height: 255px; display: flex; flex-direction: column; justify-content: center; padding: 36px; border: 1px dashed #a6c7d1; border-radius: var(--radius-md); background: rgba(255,255,255,.55); }
.review-mark { margin-bottom: 14px; color: var(--brand-cyan); font-family: Georgia, serif; font-size: 70px; line-height: .7; }
.review-empty p { max-width: 420px; margin-bottom: 18px; font-size: 18px; letter-spacing: -.02em; }
.review-empty span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--brand-cyan); font-size: 24px; font-weight: 300; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 640px; margin: 0 0 23px; color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.contact-copy h2 { margin-bottom: 42px; }
.contact-copy h2 span { color: var(--brand-cyan-deep); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 40px; margin-bottom: 38px; }
.contact-details span { display: block; margin-bottom: 7px; color: var(--brand-slate); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { font-size: 15px; font-weight: 600; line-height: 1.45; }
.contact-details em { color: var(--brand-slate); font-size: 12px; font-style: normal; font-weight: 500; }
.contact-details a { text-decoration: underline; text-decoration-color: rgba(31,35,40,.22); text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-map { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.map-card { position: relative; min-height: 410px; overflow: hidden; border-radius: var(--radius-lg); background: #bfe3e9; }
.map-grid { position: absolute; inset: -20%; opacity: .45; background: repeating-linear-gradient(30deg, transparent 0 32px, rgba(255,255,255,.44) 33px 35px), repeating-linear-gradient(118deg, transparent 0 70px, rgba(98,164,177,.24) 71px 74px), linear-gradient(135deg,#e9f8fa,#8bcfd8); transform: rotate(-8deg) scale(1.15); }
.map-frame { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { position: absolute; z-index: 2; top: 48%; left: 49%; display: grid; width: 52px; height: 52px; place-items: center; border: 8px solid rgba(255,255,255,.65); border-radius: 50% 50% 50% 3px; color: var(--white); background: var(--brand-cyan); box-shadow: 0 10px 25px rgba(31,117,138,.35); font-size: 24px; transform: rotate(-45deg); }
.map-pin::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--white); }
.map-label { position: absolute; z-index: 2; bottom: 17px; left: 17px; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 13px; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); }
.map-label span { color: var(--brand-cyan-deep); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.map-label strong { font-size: 12px; }
.map-link { align-self: flex-end; margin-top: 13px; color: var(--brand-cyan-deep); font-size: 13px; font-weight: 700; }

.callback-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding: 56px; border-radius: var(--radius-lg); background: var(--dark); color: var(--white); }
.callback-card h2 { margin-bottom: 17px; }
.callback-card h2 span { color: #a4eafa; }
.callback-card > div > p:not(.eyebrow) { max-width: 390px; margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }
.callback-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.callback-form label:not(.consent) { display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; }
.callback-form input:not([type="checkbox"]) { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid rgba(255,255,255,.21); border-radius: 12px; color: var(--white); background: rgba(255,255,255,.08); outline: 0; }
.callback-form input:not([type="checkbox"])::placeholder { color: rgba(255,255,255,.36); }
.callback-form input:not([type="checkbox"]):focus { border-color: #a4eafa; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.56); font-size: 11px; }
.consent input { margin-top: 3px; accent-color: var(--brand-cyan); }
.callback-form .button { justify-self: start; }
.callback-form .button[aria-busy="true"] { cursor: wait; opacity: .72; }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: -3px 0 0; color: #9ae7bf; font-size: 12px; }
.form-status a { color: #b9ebfb; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 50px 0 25px; color: rgba(255,255,255,.72); background: var(--dark); }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr .8fr; gap: 30px; align-items: center; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand-footer { width: 116px; height: 48px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 25px; font-size: 12px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-cta { justify-self: end; display: flex; flex-direction: column; gap: 3px; text-align: right; }
.footer-cta span { color: rgba(255,255,255,.43); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-cta a { color: var(--white); font-size: 16px; font-weight: 650; }
.footer-disclaimer { margin-top: 24px; margin-bottom: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.65; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255,255,255,.42); font-size: 10px; }

.mobile-actions { display: none; }
.cookie-banner { position: fixed; z-index: 30; right: 18px; bottom: 18px; display: none; align-items: center; gap: 14px; max-width: 480px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 16px 40px rgba(31,68,82,.18); backdrop-filter: blur(15px); }
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.cookie-banner .button { min-height: 36px; padding: 0 13px; font-size: 11px; }
.cookie-banner a { color: var(--brand-cyan-deep); font-size: 11px; font-weight: 700; white-space: nowrap; }

@media (max-width: 1020px) {
  :root { --page: min(100% - 40px, 760px); }
  .desktop-nav, .header-actions { display: none; }
  .site-header { min-height: 78px; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; z-index: 18; inset: 0; display: flex; visibility: hidden; flex-direction: column; gap: 18px; padding: 110px 30px 30px; color: var(--ink); background: var(--white); opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-menu > a { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
  .mobile-menu-actions { display: grid; gap: 10px; margin-top: auto; }
  .hero { min-height: 780px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 45px; padding-right: 0; padding-bottom: 48px; }
  .hero-note { font-size: 11px; }
  .hero-scroll { display: none; }
  .intro-grid, .promo-layout, .doctor-grid, .review-layout, .faq-layout, .contact-grid, .callback-card { grid-template-columns: 1fr; gap: 48px; }
  .review-summary { grid-template-columns: repeat(2, 1fr); }
  .review-average { grid-column: 1 / -1; }
  .intro-body { padding-top: 0; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
  .consultation-card { grid-template-columns: 1fr; gap: 38px; padding: 42px; }
  .consultation-copy h2 { max-width: 600px; }
  .consultation-action { display: flex; align-items: center; gap: 22px; }
  .consultation-action .button { flex-shrink: 0; }
  .consultation-action p { margin: 0; }
  #callback { scroll-margin-top: 24px; }
  .doctor-grid { gap: 52px; }
  .doctor-photo-wrap { max-width: 500px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { grid-row: span 2; }
  .contact-map { min-height: 380px; }
  .callback-form { max-width: 600px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cta { justify-self: start; text-align: left; }
  .footer-bottom { flex-wrap: wrap; }
  main { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-actions { position: fixed; z-index: 25; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; border: 1px solid rgba(133,190,207,.36); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(24,78,95,.18); backdrop-filter: blur(16px); }
  .mobile-actions a { display: flex; min-height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 5px 4px; color: var(--brand-slate); font-size: 10px; font-weight: 750; }
  .mobile-actions a + a { border-left: 1px solid var(--line); }
  .mobile-action-icon { width: 20px; height: 20px; fill: none; stroke: var(--brand-cyan-deep); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .mobile-action-icon-dikidi { fill: var(--brand-cyan-deep); stroke: none; }
  .mobile-action-icon-vk { stroke-width: 1.4; }
  .site-footer { padding-bottom: 100px; }
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .desktop-nav { gap: 18px; margin-right: 20px; font-size: 13px; }
  .header-actions { gap: 12px; font-size: 12px; }
  .header-actions .phone-link { display: none; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 32px); --radius-lg: 24px; --radius-md: 18px; }
  .brand { width: 112px; height: 48px; }
  .hero { min-height: 720px; }
  .hero-media { transform: none !important; }
  .top-frost { height: 112px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero-content { padding-top: 145px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 340px); }
  .hero-actions .button, .hero-phone { display: inline-flex; justify-content: center; width: 100%; }
  .hero-note { align-items: flex-start; border-radius: 16px; flex-wrap: wrap; white-space: normal; }
  .hero-note-divider { display: none; }
  .section-pad { padding: 85px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 35px; }
  h2 { font-size: clamp(36px, 11vw, 49px); }
  .intro-grid { gap: 32px; }
  .benefits, .consultation { padding-bottom: 85px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
  .benefit-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
  .benefit-icon { grid-row: span 2; width: 52px; height: 52px; margin-bottom: 0; border-radius: 16px; }
  .benefit-icon svg { width: 31px; height: 31px; }
  .benefit-item h3 { margin-bottom: 8px; font-size: 19px; }
  .benefit-item p { font-size: 14px; }
  .consultation-card { gap: 32px; padding: 30px 22px; }
  .consultation-copy h2 { margin-bottom: 24px; font-size: clamp(30px, 8.2vw, 40px); }
  .consultation-action { display: block; }
  .consultation-action .button { width: 100%; }
  .consultation-action p { margin-top: 14px; }
  .consultation-list { gap: 22px; }
  .consultation-list li { gap: 12px; }
  .consultation-list li + li { padding-top: 22px; }
  .consultation-list h3 { font-size: 19px; }
  .service-grid, .promo-list, .principles-grid, .gallery-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .promo-card { min-height: 300px; }
  .promo-card-top { margin-bottom: 54px; }
  .doctor-facts, .contact-details { grid-template-columns: 1fr; gap: 21px; }
  .doctor-photo { aspect-ratio: .9; }
  .doctor-carousel-controls { justify-content: flex-start; }
  .principles-grid { gap: 1px; }
  .principles-grid article { min-height: 190px; }
  .principles-grid h3 { margin-top: 48px; }
  .price-list a { grid-template-columns: 1fr auto 16px; gap: 12px; min-height: 72px; font-size: 14px; }
  .price-list strong { font-size: 13px; }
  .gallery-grid figure, .gallery-main { min-height: 260px !important; }
  .review-layout, .faq-layout, .contact-grid { gap: 34px; }
  .review-summary { grid-template-columns: 1fr; }
  .review-average { grid-column: auto; }
  .map-card { min-height: 310px; }
  .callback-card { padding: 30px 22px; gap: 30px; }
  .callback-form { grid-template-columns: 1fr; }
  .consent, .form-status { grid-column: auto; }
  .callback-form .button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-cta { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .cookie-banner { right: 12px; bottom: 78px; left: 12px; flex-wrap: wrap; }
  .cookie-banner p { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-media { transform: none !important; }
}

/* Secondary pages and CMS surfaces */
.inner-header { position: relative; width: 100%; min-height: 82px; padding: 0 max(28px, calc((100% - 1220px) / 2)); color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.inner-header .brand { border: 1px solid var(--line); }
.inner-header .desktop-nav { margin-left: auto; }
.inner-header .desktop-nav a { color: var(--ink); }
.inner-header .phone-link { color: var(--ink); }
.inner-header .button-primary { color: var(--white); }
.inner-back { display: none; color: var(--brand-cyan-deep); font-size: 13px; font-weight: 750; }
.inner-hero { padding: 105px 0 95px; color: var(--white); background: linear-gradient(120deg, rgba(12,31,42,.95), rgba(19,94,113,.88)), url('C:/Users/GAME/Desktop/2.jpg') center/cover; }
.inner-hero h1 { margin-bottom: 22px; font-size: clamp(46px, 6vw, 78px); }
.inner-hero h1 em { color: #a2e8fa; font-style: normal; }
.inner-hero p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.72); font-size: 17px; }
.breadcrumb { display: flex; gap: 9px; margin-bottom: 26px; color: var(--brand-cyan-deep); font-size: 12px; font-weight: 700; }
.inner-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.content-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.content-card h3 { margin-bottom: 14px; font-size: 22px; }
.content-card p { color: var(--muted); }
.content-card + .content-card { margin-top: 14px; }
.service-detail { max-width: 810px; }
.service-detail h1 { color: var(--ink); font-size: clamp(42px, 6vw, 72px); }
.service-detail .service-lead { max-width: 670px; margin-bottom: 34px; color: var(--muted); font-size: 20px; }
.service-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.meta-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-slate); font-size: 11px; font-weight: 750; }
.service-detail h2 { margin-top: 50px; font-size: 38px; }
.service-detail ul { padding-left: 20px; color: var(--muted); }
.service-detail li { margin: 8px 0; }
.service-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.side-card { position: sticky; top: 25px; padding: 28px; border-radius: var(--radius-md); background: var(--surface); }
.side-card .service-price { margin-bottom: 18px; font-size: 26px; }
.side-card h3 { margin-bottom: 10px; font-size: 19px; }
.side-card p { color: var(--muted); font-size: 13px; }
.side-card .button { width: 100%; margin-top: 8px; }
.notice { padding: 15px 17px; border-left: 3px solid var(--brand-cyan); border-radius: 0 12px 12px 0; color: var(--muted); background: var(--surface); font-size: 13px; }
.simple-table { width: 100%; border-collapse: collapse; }
.simple-table th, .simple-table td { padding: 17px 0; border-bottom: 1px solid var(--line); text-align: left; }
.simple-table th { color: var(--brand-slate); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.simple-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-item { min-height: 180px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius-md); background: var(--surface); }
.doc-item span { display: inline-flex; margin-bottom: 45px; color: var(--brand-cyan-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.doc-item h3 { margin-bottom: 6px; font-size: 17px; }
.doc-item p { margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 1020px) {
  .inner-header { width: 100%; padding: 0 20px; }
  .inner-header .desktop-nav, .inner-header .header-actions { display: none; }
  .inner-header .inner-back { display: inline-flex; margin-left: auto; margin-right: 18px; }
  .inner-section-grid { grid-template-columns: 1fr; gap: 28px; }
  .side-card { position: static; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .inner-hero { padding: 75px 0 65px; }
  .inner-hero h1 { font-size: 45px; }
  .doc-grid { grid-template-columns: 1fr; }
  .content-card { padding: 24px; }
  .simple-table th, .simple-table td { padding: 14px 0; font-size: 13px; }
  .simple-table th:nth-child(2), .simple-table td:nth-child(2) { text-align: right; }
}

/* The live VK feed is a separate section; existing button styles are retained. */
.news { border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.news-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.news-copy { max-width: 380px; }
.news-copy h2 { font-size: clamp(38px, 4.5vw, 62px); }
.news-copy p:not(.eyebrow):not(.lead) { margin-bottom: 28px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.news-copy .lead { margin-bottom: 18px; }
.news-feed-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.news-source { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); font-size: 13px; font-weight: 650; }
.news-source-dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--brand-cyan); }
.news-source-label { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 500; }
.news-status { margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#vk-news-feed, #vk-news-feed iframe { width: 100% !important; max-width: 100%; }
#vk-news-feed:empty { min-height: 420px; background: var(--surface); border-radius: 12px; }
#vk-news-feed iframe { display: block; border: 0; }
.news-fallback { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.news-fallback a { color: var(--brand-cyan-deep); text-decoration: underline; text-underline-offset: 3px; }
.news-retry { margin-top: 4px; }
@media (max-width: 1020px) {
  .news-layout { grid-template-columns: 1fr; gap: 32px; }
  .news-copy { max-width: 580px; }
  .mobile-menu { overflow-y: auto; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .mobile-menu-actions { flex-shrink: 0; }
}
@media (max-width: 620px) {
  .news-feed-card { padding: 12px; }
  .news-source { gap: 8px; font-size: 12px; }
  .news-source-label { font-size: 10px; }
  .mobile-menu { gap: 10px; }
  .mobile-menu > a { padding-bottom: 10px; font-size: 24px; }
}
