[hidden] { display: none !important; }
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f3f6fd;
  --ink: #262626;
  --muted: #5f6475;
  --line: #e3e6ef;
  --accent: #35439a;
  --accent-hover: #283478;
  --accent-soft: #e4edff;
  --dark: #1f2a6b;
  --gold: #f2b01e;
  --heading: #0044aa;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -24px rgba(38, 50, 120, .2);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 800; }
h2, .title { font-size: clamp(1.45rem, 2.6vw, 2.15rem); text-transform: uppercase; color: var(--heading); letter-spacing: .01em; font-weight: 700; line-height: 1.2; margin: 0; }
h3 { font-size: 1.2rem; }
em { font-style: normal; color: var(--accent); }
p { margin: 0; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ico { width: 26px; height: 26px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 15px 28px; font-weight: 700; font-size: .98rem; transition: .2s ease; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; font-size: .95rem; }
.link-btn:hover { text-decoration: underline; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); font-size: 1.1rem; transition: .2s; }
.round:hover { border-color: var(--accent); color: var(--accent); }

/* header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: #fff; }
.logo__mark .ico { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-size: 1.3rem; letter-spacing: -.02em; }
.logo__text small { font-size: .72rem; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-inline: auto; font-weight: 600; font-size: .95rem; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s; }
.nav a:hover::after { right: 0; }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; flex-direction: column; font-weight: 800; text-align: right; line-height: 1.2; }
.header__phone small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__lead { font-size: 1.14rem; color: var(--muted); margin: 22px 0 32px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__team { display: flex; align-items: center; gap: 16px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.hero__team b { color: var(--ink); }
.avatars { display: flex; }
.avatars > * { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -12px; object-fit: cover; display: grid; place-items: center; background: linear-gradient(135deg, #dfe7fb, #b3c3ef); color: var(--accent-hover); font-weight: 800; font-size: .8rem; }
.avatars > :first-child { margin-left: 0; }
.hero__visual { position: relative; aspect-ratio: 4 / 4.4; }
.hero__img, .hero__art { width: 100%; height: 100%; border-radius: 36px; object-fit: cover; }
.hero__art { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #f7f9ff 0%, #dbe5fb 50%, #aebfeb 100%); overflow: hidden; position: relative; }
.hero__art::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); }
.hero__art::after { content: ''; position: absolute; inset: 24%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); }
.hero__tooth { width: 58%; position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(53, 67, 154, .25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.chip { position: absolute; z-index: 2; background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .88rem; line-height: 1.25; }
.chip--rating { top: 9%; left: -6%; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip--rating b { font-size: 1.7rem; line-height: 1; }
.chip--rating span { color: var(--gold); letter-spacing: 2px; }
.chip--rating small { color: var(--muted); }
.chip--safe { bottom: 9%; right: -4%; font-weight: 700; }
.chip--safe .ico { color: var(--accent); width: 32px; height: 32px; }
.promo { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 20px 28px; font-weight: 600; }
.promo .ico { color: var(--gold); }
.promo span { flex: 1; min-width: 200px; }
.promo .link-btn { color: #c3cdff; }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow { color: #c3cdff; }
.section--dark em { color: #c3cdff; }
.section--dark .section__note { color: rgba(255, 255, 255, .65); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row > div:first-child { max-width: 720px; }
.section__note { color: var(--muted); max-width: 360px; font-size: .95rem; }

/* advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); transition: .25s; }
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.adv .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.adv h3 { margin-bottom: 10px; }
.adv p { color: var(--muted); font-size: .95rem; }

/* services */
.popular { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.pop { background: var(--surface); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pop__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.pop p { color: var(--muted); font-size: .92rem; flex: 1; }
.pop__price { font-size: 1.35rem; font-weight: 800; margin-top: 8px; }
.pricelist { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: .92rem; transition: .2s; }
.tab .ico { width: 18px; height: 18px; }
.tab:hover { border-color: var(--accent); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.tab-panel__desc { color: var(--muted); margin-bottom: 8px; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-row { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row h4 { font-size: 1.05rem; font-weight: 700; }
.price-row p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.price-row__price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.pricelist__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; color: var(--muted); }

/* doctors */
.slider-nav { display: flex; gap: 10px; }
.doc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.doc-track::-webkit-scrollbar { display: none; }
.doc { scroll-snap-align: start; cursor: pointer; outline: none; }
.doc__photo { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--tint); }
.doc__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.doc:hover .doc__img, .doc:focus-visible .doc__img { transform: scale(1.04); }
.doc__img--ph, .mdoc__img--ph { display: grid; place-items: center; background: radial-gradient(100% 80% at 30% 0%, #f2f5ff, #c4d1f3 70%, #97aae0); }
.doc__img--ph span, .mdoc__img--ph span { font-weight: 700; font-size: 4rem; color: rgba(255, 255, 255, .95); text-shadow: 0 10px 30px rgba(53, 67, 154, .35); }
.doc__exp { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; }
.doc h3 { margin-bottom: 4px; }
.doc__pos { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }

/* stats */
.stats { background: var(--accent); color: #fff; padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.stat span { opacity: .8; font-size: .95rem; }

/* works */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.work__body { padding: 24px 26px 28px; }
.work__body h3 { margin: 10px 0 6px; font-size: 1.3rem; }
.work__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.work__meta span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(195, 205, 255, .16); color: #c3cdff; }
.work__doc { color: rgba(255, 255, 255, .6); font-size: .9rem; margin-bottom: 14px; }
.section--dark .link-btn { color: #c3cdff; }
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #26327a; user-select: none; --pos: 50%; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer img, .compare__layer .ph { width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-weight: 800; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.compare__label { position: absolute; top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(31, 42, 107, .75); color: #fff; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.compare__label--l { left: 14px; } .compare__label--r { right: 14px; }
.ph { display: grid; place-content: center; justify-items: center; gap: 10px; font-size: .85rem; font-weight: 600; }
.ph__ico { width: 64px; height: 64px; }
.ph--before { background: linear-gradient(135deg, #d9cfbd, #bfae93); color: #7a6a52; }
.ph--after { background: linear-gradient(135deg, #f7f9ff, #dce5fb); color: var(--accent); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption span { color: var(--muted); }

/* cta + forms */
.cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); background: var(--surface); border-radius: 32px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); }
.cta__text > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 26px; max-width: 30em; }
.cta__phone { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; }
.form input, .form textarea { font: inherit; font-size: 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--bg); color: var(--ink); resize: vertical; transition: .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form input.is-invalid { border-color: #c2483d; }
.form__note { font-size: .76rem; color: var(--muted); text-align: center; }
.form__status { font-weight: 600; text-align: center; min-height: 1em; }
.form__status.ok { color: var(--accent); } .form__status.err { color: #c2483d; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border-radius: var(--radius-sm); padding: 0 26px; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); position: relative; transition: .25s; }
.qa summary span::before, .qa summary span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); }
.qa summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: .25s; }
.qa[open] summary span::after { transform: translate(-50%, -50%); }
.qa p { color: var(--muted); padding-bottom: 22px; }

/* contacts */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--tint); }

/* footer */
.footer { background: var(--dark); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.logo--light .logo__text b { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .55); }
.footer__license { margin-top: 16px; font-size: .8rem; opacity: .6; }
.footer nav, .footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__contact a { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; opacity: .6; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 25, 60, .6); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__box { position: relative; background: var(--surface); border-radius: 28px; width: min(960px, 100%); max-height: calc(100dvh - 32px); overflow: auto; animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.modal--narrow .modal__box { width: min(480px, 100%); }
.mbook { padding: 40px 32px 32px; }
.mbook h3 { font-size: 1.6rem; margin-bottom: 8px; }
.mbook > p:not(.eyebrow) { color: var(--muted); margin-bottom: 22px; }
.mdoc { display: grid; grid-template-columns: .85fr 1.15fr; }
.mdoc__photo { min-height: 100%; }
.mdoc__img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.mdoc__body { padding: 44px 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mdoc__body .eyebrow { margin: 0; }
.mdoc__body h3 { font-size: 1.9rem; }
.mdoc__body > p:not(.eyebrow) { color: var(--muted); }
.mdoc__facts { margin: 0; display: grid; gap: 12px; width: 100%; }
.mdoc__facts div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.mdoc__facts dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.mdoc__facts dd { margin: 2px 0 0; font-weight: 600; }
.mwork .compare { aspect-ratio: 16 / 9; }
.mwork__body { padding: 28px 36px 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mwork__body h3 { font-size: 1.6rem; }
.mwork__body > p { color: var(--muted); }
.mwork .work__meta span { background: var(--accent-soft); color: var(--accent); }
.mwork .work__doc { color: var(--muted); margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__tooth { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: .9rem; }
  .header__phone small { display: none; }
  .doc-track { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 960px) {
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; margin: 0; z-index: -1; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-open .nav { transform: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .hero__grid, .cta, .faq, .contacts { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .adv-grid, .popular { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid, .reviews { grid-template-columns: 1fr; }
  .doc-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .mdoc { grid-template-columns: 1fr; }
  .mdoc__img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .adv-grid, .popular { grid-template-columns: 1fr; }
  .doc-track { grid-auto-columns: 78%; }
  .header__cta .btn { display: none; }
  .chip--rating { left: 8px; } .chip--safe { right: 8px; }
  .price-row { flex-direction: column; gap: 6px; }
  .mdoc__body, .mwork__body { padding: 28px 22px; }
  .btn { white-space: normal; text-align: center; }
}

/* ---------- «Очарование» ---------- */
.logo__img { height: 50px; width: auto; }
.section--dark h2 { color: #fff; }
.section--dark em { color: #c3cdff; }
.hero h1 { color: var(--ink); }
.section__head h2, .section__head .title { margin-top: 0; }
.section--compact { padding-block: clamp(48px, 6vw, 80px); }
.section--compact .title { margin-bottom: 36px; }

/* рейтинги */
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rating { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(24px, 3vw, 44px) clamp(20px, 4vw, 56px); border-radius: 8px; background: linear-gradient(100deg, #f2f2f2 0%, #e4edff 100%); transition: transform .25s, box-shadow .25s; }
a.rating:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rating__img { width: clamp(64px, 6vw, 94px); height: auto; border-radius: 16px; flex: none; }
.rating__value { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; color: #262a4f; line-height: 1.2; }
.rating__name { font-weight: 600; font-size: 1.05rem; color: #262a4f; margin-top: 4px; }
.rating__note { font-size: .8rem; color: var(--muted); margin-top: 2px; }

/* отзывы Яндекса */
.ya-reviews { position: relative; height: 760px; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.ya-reviews iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.ya-reviews__link { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 10px; color: #b3b3b3; }

/* адреса клиник */
#contacts .title { margin-bottom: 36px; }
.contacts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: stretch; }
.contacts__list { display: flex; flex-direction: column; gap: 12px; }
.clinic { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); transition: .2s; }
.clinic:hover { border-color: var(--accent); }
.clinic.is-active { background: linear-gradient(100deg, #f2f2f2 0%, #e4edff 100%); border-color: transparent; }
.clinic__name { font-size: 1.08rem; color: var(--heading); }
.clinic__address { font-weight: 500; }
.clinic__metro { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.clinic__metro i { width: 10px; height: 10px; border-radius: 50%; background: #d6083b; }
.clinic__details { display: none; flex-direction: column; gap: 6px; padding: 4px 24px 10px; font-weight: 600; }
.clinic__details.is-active { display: flex; animation: fade .3s ease; }
.clinic__details a:hover { color: var(--accent); }
.clinic__details span { font-weight: 500; color: var(--muted); }
.contacts .socials { margin-top: 8px; }
.map { position: relative; min-height: 460px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; border: 0; display: none; }
.map iframe.is-active { display: block; }

@media (max-width: 960px) {
  .ratings { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .ya-reviews { height: 640px; }
  .logo__img { height: 42px; }
}
.reviews-panel.is-active { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 24px; align-items: start; }
.reviews-aside { position: sticky; top: 100px; background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.reviews-aside img { border-radius: 14px; margin-bottom: 8px; }
.reviews-aside__title { font-weight: 700; font-size: 1.15rem; color: var(--heading); }
.reviews-aside p:not(.reviews-aside__title) { color: var(--muted); }
.reviews-aside__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
@media (max-width: 960px) { .reviews-panel.is-active { grid-template-columns: 1fr; } .reviews-aside { position: static; } }

/* акции */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.promo-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.promo-card__img { aspect-ratio: 16 / 9; background: var(--tint); }
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card__note { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
.promo-card h3 { font-size: 1.25rem; color: var(--heading); }
.promo-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.promo-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.promo-card__price { font-size: 1.2rem; font-weight: 800; }

/* дипломы и лицензии */
.ico--sm { width: 16px; height: 16px; }
.doc__docs { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.docs { width: 100%; }
.docs__title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.docs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.docs__grid--wide { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.docs__item { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; text-align: left; transition: .2s; }
.docs__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.docs__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.docs__item span { font-size: .75rem; color: var(--muted); padding: 0 8px 8px; }
.footer__licenses { display: inline-flex; align-items: center; gap: 8px; color: #c3cdff; margin-top: 14px; }
.mlic { padding: 40px; }
.mlic h3 { font-size: 1.5rem; color: var(--heading); margin-bottom: 8px; }
.mlic__note { color: var(--muted); margin-bottom: 22px; }

/* просмотр во весь экран */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 16, 40, .93); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: clamp(16px, 4vw, 48px); }
.lightbox img { grid-column: 2; max-width: 100%; max-height: calc(100dvh - 160px); margin: 0 auto; object-fit: contain; border-radius: 10px; background: #fff; }
.lightbox__caption { grid-column: 1 / -1; text-align: center; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 960px) {
  .promos { grid-template-columns: 1fr; }
  .mlic { padding: 28px 22px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; }
}

/* меню стало длиннее — не даём пунктам переноситься */
.nav a { white-space: nowrap; }
.header__phone { white-space: nowrap; }
@media (max-width: 1320px) { .nav { gap: 18px; font-size: .92rem; } .header__inner { gap: 18px; } }
@media (max-width: 1150px) { .header__phone small { display: none; } }
@media (max-width: 1050px) and (min-width: 961px) { .nav { gap: 14px; font-size: .88rem; } .header__cta .btn { display: none; } }
@media (max-width: 960px) { .nav a { white-space: normal; } }
