/*
  Doctor Kristofovich landing — v18 systemic cleanup
  Structure:
  01 variables/base
  02 header/navigation
  03 hero
  04 problems
  05 benefits
  06 about/services/connection/price
  07 contacts/footer
  08 modals/utilities
  09 responsive
*/

/* 01 variables/base */
:root {
  --font: Inter, Manrope, Arial, sans-serif;
  --ink: #091421;
  --text: #172334;
  --muted: #5f6f82;
  --blue: #0d6bdd;
  --blue-2: #2493f4;
  --cyan: #64c8f4;
  --violet: #6437f1;
  --green: #12b04a;
  --dark: #03101d;
  --navy: #003d77;
  --navy-2: #012f5d;
  --bg: #f6fbff;
  --bg-blue: #eaf7ff;
  --card: rgba(255,255,255,.88);
  --line: rgba(14, 38, 66, .11);
  --shadow-soft: 0 22px 70px rgba(18, 68, 112, .12);
  --shadow-card: 0 20px 54px rgba(31, 83, 128, .13);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --container: 1280px;
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #f7fbff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.is-popover-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.site-shell { min-height: 100vh; background: #f7fbff; overflow: clip; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section-bleed { width: 100%; }

.button {
  --btn-bg: #fff;
  --btn-color: #0b2136;
  --btn-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--btn-shadow);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.button svg { width: 20px; height: 20px; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--primary {
  --btn-bg: linear-gradient(135deg, #1296f1 0%, #0b64d8 58%, #552bf2 100%);
  --btn-color: #fff;
  --btn-shadow: 0 18px 40px rgba(18, 112, 224, .25);
}
.button--ghost {
  --btn-bg: #fff;
  --btn-color: #065dc3;
  border: 1px solid rgba(23, 106, 210, .13);
  box-shadow: 0 12px 26px rgba(38, 76, 112, .07);
}
.button--soft {
  --btn-bg: rgba(255,255,255,.86);
  --btn-color: #0a5ebf;
  border: 1px solid rgba(15, 91, 180, .12);
}
.button--call { --btn-bg: #1689ef; --btn-color: #fff; min-height: 36px; padding: 0 18px; font-size: 14px; }
.button--whatsapp { --btn-bg: var(--green); --btn-color: #fff; min-height: 36px; padding: 0 18px; font-size: 14px; }
.button--max { --btn-bg: #2d6cff; --btn-color: #fff; min-height: 36px; padding: 0 18px; font-size: 14px; }
.button--telegram { --btn-bg: #2493f4; --btn-color: #fff; min-height: 36px; padding: 0 18px; font-size: 14px; }
.section-kicker {
  margin: 0 0 16px;
  color: #0966ca;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .32em;
  font-weight: 900;
}
.section-heading { margin-bottom: 42px; }
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}
.section-heading p:not(.section-kicker) { margin: 16px auto 0; max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.section-heading--center { text-align: center; }
.section-heading--light .section-kicker { color: #2777d3; }

/* 02 header/navigation */
.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 0 0;
  pointer-events: none;
  transition: padding .25s ease, transform .25s ease;
}
.header__inner {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 26px 0 30px;
  border-radius: 0 0 22px 22px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(30, 63, 98, .09);
  pointer-events: auto;
}
.header.is-scrolled { padding-top: 0; }
.header.is-scrolled .header__inner { border-radius: 0 0 20px 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.brand__logo { width: 45px; height: auto; flex: 0 0 auto; }
.brand__text, .brand span { display: block; color: #0b1725; font-weight: 900; font-size: 20px; line-height: 1.05; white-space: nowrap; }
.header .brand__text::after {
  content: 'стоматологическая клиника';
  display: block;
  margin-top: 4px;
  color: #657589;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .02em;
}
.nav { justify-self: center; display: flex; align-items: center; gap: 34px; }
.nav a { color: #192535; font-weight: 700; font-size: 15px; transition: color .2s ease; }
.nav a:hover { color: var(--blue); }
.nav__panel-head, .nav__panel-footer { display: none; }
.header__cta { display: flex; align-items: center; gap: 20px; }
.header__address { position: relative; padding-left: 48px; color: #526277; font-size: 14px; line-height: 1.2; }
.header__address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #edf7ff;
  box-shadow: inset 0 0 0 1px rgba(17, 109, 218, .08);
}
.header__address::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border: 2px solid var(--blue);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
}
.header__cta .button { min-height: 58px; padding-inline: 30px; background: #0b64d8; color: #fff; box-shadow: 0 18px 36px rgba(0, 87, 192, .18); }
.burger { display: none; }
.nav-overlay { display: none; }

/* 03 hero */
.hero {
  position: relative;
  min-height: 860px;
  padding: 130px 0 42px;
  background:
    radial-gradient(circle at 8% 52%, rgba(213,242,255,.95) 0 96px, transparent 97px),
    radial-gradient(circle at 72% 48%, rgba(212,240,255,.74) 0 330px, transparent 332px),
    repeating-radial-gradient(circle at -80px 470px, rgba(35,130,223,.11) 0 1px, transparent 1px 18px),
    linear-gradient(112deg, #fff 0%, #f8fdff 43%, #e7f6ff 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 42%, rgba(255,255,255,.95) 0 72px, transparent 73px), linear-gradient(105deg, transparent 0 49%, rgba(209,235,250,.58) 49.1% 100%);
  opacity: .9;
}
.hero-v8__glow, .hero-v8__tooth-bubble { position: absolute; pointer-events: none; }
.hero-v8__glow--left { left: -80px; top: 260px; width: 420px; height: 420px; border-radius: 50%; background: rgba(238,249,255,.55); }
.hero-v8__glow--doctor { right: 10%; top: 170px; width: 650px; height: 650px; border-radius: 50%; background: rgba(214,239,253,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.65); }
.hero-v8__tooth-bubble { right: 7%; top: 260px; width: 126px; height: 126px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.66); box-shadow: 0 18px 50px rgba(33, 117, 193, .10); color: rgba(255,255,255,.95); }
.hero-v8__tooth-bubble svg { width: 74px; height: 74px; stroke-width: 1.4; filter: drop-shadow(0 10px 24px rgba(33,117,193,.18)); }
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(510px, 620px) minmax(500px, 1fr);
  gap: 70px;
  align-items: center;
  min-height: 610px;
}
.hero__text { padding-top: 30px; }
.hero-v8__eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 10px; border-radius: 999px; background: rgba(255,255,255,.62); box-shadow: 0 12px 34px rgba(44,94,132,.08); color: #1264bd; font-size: 18px; letter-spacing: .02em; text-transform: none; }
.hero-v8__eyebrow span { width: 42px; height: 42px; border-radius: 50%; background: #eaf7ff; box-shadow: 0 12px 30px rgba(25, 122, 223, .16); position: relative; }
.hero-v8__eyebrow span::before { content: ''; position: absolute; inset: 10px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 3.8c2.1 0 3.4 1.4 4.5 1.4s2.4-1.4 4.5-1.4c3.4 0 5.6 2.7 5.6 6.2 0 2.5-1 4.4-1.9 6.3-.8 1.6-1.5 3-1.7 4.7-.1 1.4-.7 2.4-1.8 2.4-1.3 0-1.7-1.4-2.1-3.1-.3-1.2-.7-2.4-1.6-2.4s-1.3 1.2-1.6 2.4c-.4 1.7-.8 3.1-2.1 3.1-1.1 0-1.7-1-1.8-2.4-.2-1.7-.9-3.1-1.7-4.7C2.9 14.4 2 12.5 2 10c0-3.5 2.1-6.2 5.5-6.2Z' fill='none' stroke='%230d6bdd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero h1 { margin: 34px 0 28px; color: var(--ink); font-size: clamp(76px, 7.2vw, 124px); line-height: .90; letter-spacing: -.072em; font-weight: 950; }
.hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }
.hero__lead { margin: 0 0 40px; max-width: 610px; color: #111c2b; font-size: 26px; line-height: 1.35; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__actions .button { min-width: 272px; min-height: 66px; font-size: 18px; }
.hero-v8__secondary { color: #2b3748; }
.hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
.hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
.hero-v8__note { position: absolute; z-index: 3; left: 2%; bottom: 88px; display: flex; align-items: center; gap: 18px; min-width: 320px; padding: 20px 26px; border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 24px 60px rgba(34, 80, 120, .15); backdrop-filter: blur(12px); }
.hero-v8__note-icon { width: 56px; height: 56px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e9f6ff; box-shadow: 0 12px 28px rgba(17, 109, 218, .18); }
.hero-v8__note b, .hero-v8__note small { display: block; }
.hero-v8__note b { color: #111c2b; font-size: 18px; margin-bottom: 6px; }
.hero-v8__note small { color: #66768a; font-size: 15px; }
.hero-v8__facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: -12px; padding: 26px 30px; border-radius: 24px; background: rgba(255,255,255,.90); box-shadow: 0 24px 70px rgba(30, 80, 125, .13); }
.hero-v8__facts article { display: grid; grid-template-columns: 72px 1fr; column-gap: 24px; align-items: center; padding: 8px 26px; border-right: 1px solid var(--line); }
.hero-v8__facts article:last-child { border-right: 0; }
.hero-v8__facts span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #eef8ff; }
.hero-v8__facts b { display: block; color: #111c2b; font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.hero-v8__facts small { display: block; color: #687a8d; font-size: 15px; line-height: 1.45; }

/* 04 problems */
.problems-v8 {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 112px max(32px, calc((100vw - var(--container))/2)) 118px;
  background:
    radial-gradient(circle at 92% 13%, rgba(255,255,255,.96) 0 112px, transparent 113px),
    radial-gradient(circle at 80% 92%, rgba(199,232,249,.68) 0 130px, transparent 132px),
    repeating-radial-gradient(circle at 2% 36%, rgba(24,128,224,.105) 0 1px, transparent 1px 20px),
    linear-gradient(115deg, #fbfeff 0%, #f4fbff 50%, #eaf7ff 100%);
  overflow: hidden;
}
.problems-v8::after {
  content: '';
  position: absolute;
  right: max(28px, calc((100vw - var(--container))/2));
  top: 112px;
  width: 178px;
  height: 220px;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.98) 0 50%, transparent 51%),
    linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.42));
  opacity: .82;
  pointer-events: none;
}
.problems-v8 .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 58px;
  text-align: center;
}
.problems-v8 .section-heading h2 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(48px, 4.9vw, 74px);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.problem-grid-v8 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}
.problem-card-v8 {
  position: relative;
  grid-column: span 4;
  min-height: 214px;
  display: grid;
  grid-template-columns: 1fr 76px;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  padding: 34px 38px 34px;
  border: 1px solid rgba(13, 88, 170, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 22px 54px rgba(30, 86, 132, .10);
  overflow: hidden;
}
.problem-card-v8__num {
  grid-column: 1;
  grid-row: 1;
  display: block;
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 950;
}
.problem-card-v8::before {
  content: '';
  grid-column: 1;
  grid-row: 2;
  display: block;
  width: 46px;
  height: 1px;
  margin: 28px 0 34px;
  background: rgba(12, 55, 100, .24);
}
.problem-card-v8 i {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: start;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #eff8ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 16px 34px rgba(27, 117, 201, .08);
  font-style: normal;
}
.problem-card-v8 i svg,
.problem-card-v8 i img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.problem-card-v8 p {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  margin: 0;
  max-width: 390px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.04em;
}
.problem-card-v8--wide {
  grid-column: span 6;
}
.problem-card-v8--full {
  grid-column: 1 / -1;
  min-height: 168px;
  grid-template-columns: 80px 78px minmax(300px, 1fr) minmax(260px, 400px);
  grid-template-rows: 1fr;
  align-items: center;
  gap: 26px;
  padding: 32px 44px;
}
.problem-card-v8--full .problem-card-v8__num {
  grid-column: 1;
  grid-row: 1;
}
.problem-card-v8--full::before {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 52px 0 0;
}
.problem-card-v8--full i {
  grid-column: 2;
  grid-row: 1;
  position: static;
  justify-self: center;
}
.problem-card-v8--full p {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  max-width: 420px;
}
.problem-card-v8--full em {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 360px);
  height: 118px;
  display: block;
  background:
    radial-gradient(circle at 55% 60%, rgba(92,184,241,.28), transparent 62%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 300 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M134 13c18 0 29 12 36 12s18-12 36-12c32 0 52 25 52 57 0 23-9 40-18 57-7 14-14 27-16 45-2 14-8 24-20 24-15 0-19-15-23-31-3-13-7-25-13-25s-10 12-13 25c-4 16-8 31-23 31-12 0-18-10-20-24-2-18-9-31-16-45-9-17-18-34-18-57 0-32 20-57 52-57Z' transform='translate(-10 -54)' fill='%23fff' stroke='%23d7ecff' stroke-width='3'/%3E%3Cpath d='M170 74l18 18 43-47' fill='none' stroke='%2357b9f3' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / contain no-repeat;
  opacity: .9;
}
/* 05 benefits */
.benefits-v8 {
  position: relative;
  padding: 112px 0 104px;
  background:
    radial-gradient(circle at 91% 18%, rgba(255,255,255,.96) 0 110px, transparent 111px),
    repeating-radial-gradient(circle at 87% 38%, rgba(33,127,220,.12) 0 1px, transparent 1px 18px),
    linear-gradient(115deg, #ffffff 0%, #f3faff 47%, #eaf7ff 100%);
  overflow: hidden;
}
.benefits-v8::before { content: ''; position: absolute; left: -8%; top: 0; width: 56%; height: 100%; background: linear-gradient(115deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.10) 70%); transform: skewX(-11deg); transform-origin: top; }
.benefits-v8 .container { position: relative; z-index: 1; }
.benefits-v8 .section-heading { max-width: 820px; }
.benefits-v8 .section-heading h2 { font-size: clamp(54px, 6.5vw, 94px); }
.benefits-grid-v8 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.benefit-card-v8, .benefit-cta-v8 {
  min-height: 246px;
  padding: 34px 36px;
  border-radius: 20px;
  border: 1px solid rgba(17, 97, 185, .09);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(26, 80, 128, .10);
}
.benefit-card-v8 span, .benefit-cta-v8 span { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 38px; border-radius: 50%; color: var(--blue); background: #eef8ff; }
.benefit-card-v8 span svg, .benefit-cta-v8 span svg { width: 34px; height: 34px; }
.benefit-card-v8 h3, .benefit-cta-v8 h3 { margin: 0 0 14px; color: var(--ink); font-size: 24px; line-height: 1.16; letter-spacing: -.035em; }
.benefit-card-v8 p, .benefit-cta-v8 p { margin: 0; color: #65758a; font-size: 18px; line-height: 1.55; }
.benefit-cta-v8 { background: linear-gradient(135deg, #1c7be4 0%, #4dbdf4 100%); color: #fff; box-shadow: 0 24px 58px rgba(28, 123, 228, .26); }
.benefit-cta-v8 span { color: #fff; background: rgba(255,255,255,.22); }
.benefit-cta-v8 h3, .benefit-cta-v8 p { color: #fff; }
.benefit-cta-v8 .button { margin-top: 30px; width: 100%; min-height: 58px; color: var(--blue); background: #fff; box-shadow: none; }
.benefit-cta-v8 .button em { font-style: normal; }

/* 06 restored lower sections */
.about { padding: 96px 0; display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 72px; align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 0.78; object-fit: cover; object-position: center; border-radius: 28px; box-shadow: var(--shadow-card); }
.about__content h2 { margin: 0 0 28px; color: var(--ink); font-size: clamp(42px, 4vw, 60px); line-height: .95; letter-spacing: -.055em; font-weight: 900; }
.about-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-list p { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); color: #111c2b; font-weight: 800; font-size: 18px; line-height: 1.45; }
.about-list p:last-child { border-bottom: 0; }
.services { padding: 40px 0 96px; }
.services .section-heading { text-align: left; }
.services .section-heading h2 { font-size: clamp(42px, 4.3vw, 64px); }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.service-card { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(28,76,116,.11); border: 1px solid rgba(15,76,140,.08); }
.service-card img { width: 100%; aspect-ratio: 1.08; object-fit: cover; }
.service-card div { padding: 18px 20px 22px; }
.service-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.service-card strong { display: block; color: #111c2b; font-size: 16px; }
.reviews.reviews { padding-bottom: 20px }
.reviews-v8 { padding: 0 0; background: linear-gradient(115deg, #f8fcff 0%, #eef8ff 100%); }
.reviews__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 560px); gap: 72px; align-items: center; }
.reviews__content { max-width: 560px; }
.reviews__content h2 { margin: 0 0 22px; color: var(--ink); font-size: clamp(44px, 4.6vw, 68px); line-height: .96; letter-spacing: -.055em; font-weight: 950; }
.reviews__content p:not(.section-kicker) { margin: 0 0 32px; color: #4f6379; font-size: 16px; line-height: 1.55; }
.reviews__content .button { min-height: 56px; padding-inline: 26px; }
.reviews-widget { position: relative; width: min(560px, 100%); height: 800px; justify-self: end; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(27,76,114,.14); border: 1px solid rgba(17, 85, 160, .10); }
.reviews-widget iframe { width: 100%; height: 100%; border: 0; display: block; }
.reviews-widget > a { box-sizing: border-box; position: absolute; left: 0; bottom: 8px; width: 100%; max-height: 14px; padding: 0 16px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; color: #9aa8b6; text-decoration: none; font-family: "YS Text", Arial, sans-serif; font-size: 10px; line-height: 14px; }
.connection { position: relative; min-height: 430px; overflow: hidden; background: #07162b; }
.connection__slider { position: absolute; inset: 0; }
.connection__slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transform: scale(1.03); transition: opacity 1.2s ease, transform 5s ease; filter: saturate(.75) brightness(.72); }
.connection__slider img.is-active { opacity: 1; transform: scale(1); }
.connection__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,35,.96) 0%, rgba(5,21,48,.88) 48%, rgba(8,30,69,.72) 100%); }
.connection__content { position: relative; z-index: 1; min-height: 430px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 70px; align-items: center; }
.connection__copy h2 { margin: 0 0 26px; max-width: 720px; color: #fff; font-size: clamp(44px, 5.5vw, 72px); line-height: .96; letter-spacing: -.055em; text-transform: uppercase; }
.connection__copy p:not(.section-kicker) { margin: 0; max-width: 560px; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.5; }
.messenger-panel { padding: 20px; border-radius: 24px; background: rgba(255,255,255,.15); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.messenger-card { min-height: 72px; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; width: 100%; padding: 14px 18px; border: 1px solid rgba(255,255,255,.20); border-radius: 18px; background: rgba(255,255,255,.13); color: #fff; text-align: left; }
.messenger-card + .messenger-card { margin-top: 14px; }
.messenger-card img, .messenger-card__icon { grid-row: 1/3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #fff; object-fit: contain; padding: 9px; color: #18b84d; font-weight: 900; }
.messenger-card span:not(.messenger-card__icon) { font-size: 19px; font-weight: 900; }
.messenger-card small { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700; }
.messenger-card--button { border: 1px solid rgba(255,255,255,.20); }
.price { padding: 72px 0; background: #dff3ff; color: var(--ink); }
.price .section-heading h2, .price .section-heading p, .price .section-kicker { color: var(--ink); }
.price .section-kicker { color: #1b74ca; }
.price-list { max-width: 960px; margin: 0 auto; border-top: 1px solid rgba(5,34,60,.18); }
.price-item { border-bottom: 1px solid rgba(5,34,60,.18); }
.price-item__trigger { width: 100%; display: grid; grid-template-columns: 1fr 50px; align-items: center; gap: 20px; min-height: 92px; padding: 18px 0; border: 0; background: transparent; text-align: left; color: var(--ink); }
.price-item__trigger b { display: block; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.price-item__trigger small { display: block; margin-top: 8px; color: #51657a; font-size: 15px; font-weight: 700; }
.price-item__trigger i {
  position: relative;
  justify-self: end;
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 13px;
  background: #06111e;
  color: transparent;
  font-style: normal;
  font-size: 0;
  line-height: 1;
  transition: background .24s ease, box-shadow .24s ease;
}
.price-item__trigger i::before,
.price-item__trigger i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .22s ease;
}
.price-item__trigger i::after { transform: translate(-50%, -50%) rotate(90deg); }
.price-item.is-open .price-item__trigger i { background: var(--blue); box-shadow: 0 12px 28px rgba(27,117,201,.18); }
.price-item.is-open .price-item__trigger i::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.price-item__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.price-item.is-open .price-item__body { max-height: 260px; }
.price-item__body p { margin: 0 80px 22px 0; color: #405267; font-size: 17px; line-height: 1.55; }
.price-item__body .button { margin-bottom: 28px; width: 100%; }

/* 07 contacts/footer */
.contacts-v8 { width: 100%; max-width: none; padding: 72px max(32px, calc((100vw - var(--container))/2)) 56px; background: #f8fcff; }
.contacts-v8__heading h2 { font-size: clamp(48px, 5.4vw, 76px); }
.contacts-v8__heading p { color: #5d6f84; }
.contact-v8-layout { display: grid; grid-template-columns: 430px minmax(0,1fr); gap: 34px; align-items: stretch; max-width: 1220px; margin: 0 auto; }
.contact-info-v8, .map-wrap-v8 { position: relative; min-height: 560px; overflow: hidden; }
.contact-info-v8 { padding: 28px; }
.contact-row-v8 { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-row-v8:first-child { padding-top: 0; }
.contact-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #eef8ff; color: var(--blue); }
.contact-icon svg { width: 28px; height: 28px; }
.contact-row-v8 b { color: var(--ink); font-size: 18px; }
.contact-row-v8 p { margin: 8px 0 0; color: #5c6c80; font-size: 17px; line-height: 1.45; }
.contact-mini-link { display: inline-flex; margin-top: 12px; padding: 9px 14px; border-radius: 8px; background: #eef8ff; color: var(--blue); font-weight: 800; font-size: 13px; }
.contact-phone-v8 { color: var(--blue); font-size: 22px; font-weight: 900; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.contact-help-v8 { margin-top: 22px; display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid rgba(17,85,160,.10); border-radius: 14px; background: #f3f9ff; }
.contact-help-v8 span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #e6f5ff; color: var(--blue); }
.contact-help-v8 b { display: block; color: var(--ink); }
.contact-help-v8 small { display: block; margin-top: 6px; color: #5d6e83; line-height: 1.35; }
.contact-help-v8 .button { margin-top: 8px; min-height: 38px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.map-wrap-v8 { position: relative; min-height: 560px; overflow: hidden; }
.map-wrap-v8 iframe { width: 100%; height: 100%; min-height: 560px; border: 0; filter: saturate(.95) contrast(.96); }
.map-static-v8 { display: none; }
.map-static-v8 span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; box-shadow: 0 14px 34px rgba(13,107,221,.22); }
.map-badge-v8 { position: absolute; z-index: 2; display: grid; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 16px 38px rgba(27,76,114,.14); border: 1px solid rgba(17,85,160,.08); }
.map-badge-v8--top { top: 28px; left: 28px; grid-template-columns: 50px 1fr; gap: 8px 14px; width: 310px; padding: 18px; border-radius: 16px; }
.map-badge-v8 span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #edf8ff; grid-row: span 3; }
.map-badge-v8 b { color: var(--ink); font-size: 16px; line-height: 1.25; }
.map-badge-v8 small, .map-badge-v8 em { color: #5f7084; font-size: 13px; font-style: normal; }
.map-badge-v8 a { padding: 12px 18px; border-radius: 9px; background: #edf8ff; color: var(--blue); font-weight: 800; }
.footer-v8 { padding: 0; background: #003d77; }
.footer-v8__inner { position: relative; display: grid; grid-template-columns: 1.25fr 1.15fr 1fr .95fr 1.2fr; gap: 44px; padding: 54px 60px 34px; border-radius: 30px 30px 0 0; color: #fff; background: linear-gradient(135deg, #002c5b, #064b91); overflow: hidden; }
.footer-v8__inner::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 48%; border: 2px solid rgba(75,176,255,.22); }
.footer-v8__inner > * { position: relative; z-index: 1; }
.footer-v8 h3 { margin: 0 0 20px; font-size: 17px; }
.footer-v8 p, .footer-v8 a, .footer-v8 span { color: rgba(255,255,255,.86); line-height: 1.55; }
.brand--footer { align-items: flex-start; color: #fff; margin-bottom: 22px; }
.brand--footer span { color: #fff; white-space: normal; }
.footer-socials-v8 { display: flex; gap: 10px; margin-top: 26px; }
.footer-socials-v8 a, .footer-v8__contacts a svg, .footer-v8__contacts span svg, .footer-v8__hours svg { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.footer-socials-v8 svg { width: 18px; height: 18px; margin: auto; }
.footer-socials-v8__mark { color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .02em; }
.footer-v8__contacts a, .footer-v8__contacts span { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-bottom: 12px; }
.footer-v8__contacts a svg, .footer-v8__contacts span svg, .footer-v8__hours svg { width: 20px; height: 20px; background: transparent; color: #b8dcff; }
.footer-v8__message { display: inline-flex !important; grid-template-columns: none !important; align-items: center !important; gap: 10px !important; margin-top: 12px; padding: 12px 18px; border-radius: 9px; background: rgba(255,255,255,.13); font-weight: 800; }
.footer-v8__hours div { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; }
.footer-v8__nav a { display: block; margin-bottom: 12px; }
.footer-v8__cta { align-self: start; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #087ce7, #0060c8); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.footer-v8__cta h3 { font-size: 22px; line-height: 1.2; }
.footer-v8__cta .button { width: 100%; margin-top: 18px; color: #0662c8; background: #fff; border-radius: 8px; min-height: 54px; box-shadow: none; font-weight: 700; font-size: 14px; padding: 0 12px }
.footer-v8__bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); opacity:1; display:flex }

/* 08 modals/utilities */
.scroll-top { position: fixed; right: 28px; bottom: 28px; z-index: 900; width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 50%; background: linear-gradient(135deg, #198ff0, #6335ee); color: #fff; box-shadow: 0 18px 40px rgba(26, 115, 224, .24); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .24s ease, transform .24s ease; }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top svg { width: 24px; height: 24px; }
.reveal-section { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal-section.is-visible, .no-reveal .reveal-section { opacity: 1; transform: none; }
.no-reveal main > section { opacity: 1 !important; transform: none !important; }

/* 09 responsive */
@media (max-width: 1280px) {
  :root { --header-h: 76px; }
  .container { width: min(100% - 48px, var(--container)); }
  .header { padding: 14px 0 0; }
  .header__inner { width: min(100% - 48px, 980px); min-height: 72px; grid-template-columns: auto auto; justify-content: space-between; padding: 0 18px 0 22px; border-radius: 18px 18px 0 0; }
  .header__cta { display: none; }
  .burger { z-index: 1100; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 12px 28px rgba(38,70,98,.08); }
  .burger span { grid-area: 1/1; width: 22px; height: 2px; background: #091421; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .burger span:nth-child(1) { transform: translateY(-7px); }
  .burger span:nth-child(3) { transform: translateY(7px); }
  body.is-menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
  body.is-menu-open .burger span:nth-child(2) { opacity: 0; }
  body.is-menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }
  .nav { position: fixed; top: 96px; right: 24px; left: auto; width: min(420px, calc(100vw - 48px)); display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 18px; border-radius: 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); box-shadow: 0 28px 80px rgba(5,30,60,.20); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 16px 18px; border-radius: 14px; background: #eef8ff; font-size: 17px; }
  .nav__panel-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 10px; border-bottom: 1px solid var(--line); }
  .nav__panel-title { font-weight: 900; font-size: 22px; color: var(--ink); }
  .nav__close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eef8ff; font-size: 24px; }
  .nav__panel-footer { display: grid; gap: 12px; margin-top: 4px; }
  .nav__panel-address { color: #34465b !important; background: #f6fbff !important; font-weight: 800 !important; }
  .nav__panel-button { width: 100%; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 990; background: rgba(7,20,34,.24); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  body.is-menu-open .nav-overlay { opacity: 1; pointer-events: auto; }
  .hero { min-height: auto; padding-top: 108px; }
  .hero__content { grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 28px; min-height: 560px; }
  .hero h1 { font-size: clamp(68px, 10vw, 96px); }
  .hero__lead { font-size: 21px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__note { bottom: 64px; left: -10px; transform: scale(.92); }
  .hero-v8__facts { grid-template-columns: 1fr; gap: 0; }
  .hero-v8__facts article { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .hero-v8__facts article:last-child { border-bottom: 0; }
  .problem-grid-v8 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 860px; }
  .problem-card-v8, .problem-card-v8--wide { grid-column: auto; min-height: 198px; }
  .problem-card-v8--full { grid-column: 1 / -1; grid-template-columns: 72px 72px 1fr; min-height: 170px; }
  .problem-card-v8--full p { grid-column: 3; }
  .problem-card-v8--full em { display: none; }
  .benefits-grid-v8 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .connection__content { grid-template-columns: 1fr; gap: 30px; padding-block: 64px; }
  .messenger-panel { max-width: 480px; }
  .contact-v8-layout { grid-template-columns: 1fr; }
  .footer-v8__inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-v8__cta .button { font-size: 16px }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 48px); line-height: 1.02; }
  .section-kicker { font-size: 11px; letter-spacing: .26em; }
  .header { padding-top: 0; }
  .header__inner { width: 100%; border-radius: 0; min-height: 76px; padding: 0 16px; }
  .brand__logo { width: 38px; }
  .brand__text, .brand span { font-size: 19px; }
  .header .brand__text::after { display: none; }
  .nav { top: 84px; right: 12px; left: 12px; width: auto; }
  .hero { padding: 96px 0 36px; min-height: 0; background:
    radial-gradient(circle at 85% 56%, rgba(213,242,255,.78) 0 156px, transparent 157px),
    repeating-radial-gradient(circle at -40px 330px, rgba(35,130,223,.12) 0 1px, transparent 1px 16px),
    linear-gradient(115deg, #fff 0%, #f3fbff 52%, #e7f6ff 100%); }
  .hero::before { opacity: .45; }
  .hero-v8__glow--doctor { top: 520px; left: 50%; right: auto; width: 380px; height: 380px; transform: translateX(-50%); }
  .hero-v8__tooth-bubble { display: none; }
  .hero__content { display: flex; flex-direction: column; gap: 20px; min-height: 0; align-items: stretch; }
  .hero__text { padding-top: 28px; }
  .hero-v8__eyebrow { margin: 0 auto 28px; font-size: 19px; padding: 10px 18px 10px 10px; }
  .hero h1 { margin: 0 0 22px; font-size: clamp(50px, 15vw, 66px); line-height: .92; letter-spacing: -.065em; }
  .hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }
  .hero__lead { max-width: none; margin-bottom: 28px; font-size: 18px; line-height: 1.45; }
  .hero__actions { display: grid; gap: 14px; }
  .hero__actions .button { width: 100%; min-width: 0; min-height: 58px; font-size: 16px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__note { display: none; }
  .hero-v8__facts { order: 3; margin-top: 24px; width: min(100% - 32px, var(--container)); padding: 14px 22px; }
  .hero-v8__facts article { grid-template-columns: 60px 1fr; padding: 18px 0; }
  .hero-v8__facts span { width: 54px; height: 54px; }
  .hero-v8__facts b { font-size: 19px; }
  .hero-v8__facts small { font-size: 15px; }
  .problems-v8, .benefits-v8 { padding: 70px 16px; }
  .problems-v8 { background:
    radial-gradient(circle at 96% 9%, rgba(255,255,255,.92) 0 78px, transparent 79px),
    radial-gradient(circle at 88% 97%, rgba(199,232,249,.62) 0 100px, transparent 101px),
    repeating-radial-gradient(circle at -30px 170px, rgba(24,128,224,.10) 0 1px, transparent 1px 17px),
    linear-gradient(115deg, #fbfeff 0%, #f2fbff 54%, #eaf7ff 100%); }
  .problems-v8::after { display: none; }
  .problems-v8 .section-heading { margin-bottom: 34px; }
  .problems-v8 .section-heading h2 { max-width: 350px; font-size: clamp(34px, 9.6vw, 44px); }
  .problem-grid-v8 { grid-template-columns: 1fr; gap: 16px; max-width: 520px; }
  .problem-card-v8, .problem-card-v8--wide, .problem-card-v8--full {
    grid-column: auto;
    min-height: 142px;
    grid-template-columns: minmax(0,1fr) 58px;
    grid-template-rows: auto auto 1fr;
    gap: 0;
    padding: 22px 24px;
    border-radius: 18px;
  }
  .problem-card-v8__num { font-size: 22px; }
  .problem-card-v8::before { grid-column: 1; grid-row: 2; margin: 18px 0 24px; width: 38px; }
  .problem-card-v8 i,
  .problem-card-v8--full i { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 56px; justify-self: end; }
  .problem-card-v8 i svg,
  .problem-card-v8 i img { width: 30px; height: 30px; }
  .problem-card-v8 p,
  .problem-card-v8--full p { grid-column: 1 / -1; grid-row: 3; align-self: end; font-size: 22px; line-height: 1.25; max-width: none; }
  .problem-card-v8--full em { display: none; }
  .benefits-v8 .section-heading h2 { font-size: clamp(42px, 13vw, 58px); }
  .benefits-grid-v8 { grid-template-columns: 1fr; gap: 16px; }
  .benefit-card-v8, .benefit-cta-v8 { min-height: 0; padding: 28px 30px; }
  .benefit-card-v8 span, .benefit-cta-v8 span { margin-bottom: 34px; }
  .about { padding: 64px 0; grid-template-columns: 1fr; gap: 34px; }
  .about__photo img { aspect-ratio: 1.06; object-position: center 22%; }
  .about__content h2 { font-size: 40px; }
  .about-list p { font-size: 16px; padding: 18px 0; }
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .reviews-v8 { padding: 64px 0; }
  .reviews__inner { grid-template-columns: 1fr; gap: 30px; }
  .reviews__content { max-width: 640px; }
  .reviews__content h2 { font-size: clamp(36px, 10vw, 48px); }
  .reviews__content p:not(.section-kicker) { font-size: 16px; margin-bottom: 24px; }
  .reviews-widget { justify-self: stretch; width: 100%; height: min(720px, 150vw); border-radius: 16px; }
  .service-card img { aspect-ratio: 1.55; max-height: 286px; }
  .connection { min-height: 0; }
  .connection__content { min-height: 0; padding: 54px 0; }
  .connection__copy h2 { font-size: 38px; }
  .connection__copy p:not(.section-kicker) { font-size: 16px; }
  .messenger-panel { padding: 14px; }
  .messenger-card { min-height: 64px; grid-template-columns: 48px 1fr; }
  .price { padding: 64px 0; }
  .price-item__trigger { min-height: 78px; grid-template-columns: minmax(0,1fr) 42px; }
  .price-item__trigger b { font-size: 18px; }
  .price-item__trigger small { font-size: 13px; }
  .price-item__trigger i { width: 38px; height: 38px; border-radius: 11px; }
  .price-item__body p { margin-right: 0; font-size: 15px; }
  .contacts-v8 { padding: 64px 16px 36px; }
  .contact-v8-layout { gap: 20px; }
  .contact-info-v8 { padding: 22px; }
  .contact-row-v8 { grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; }
  .contact-icon { width: 46px; height: 46px; }
  .contact-phone-v8 { font-size: 17px; }
  .contact-help-v8 { grid-template-columns: 44px 1fr; }
  .contact-help-v8 .button { grid-column: 1/-1; width: 100%; }
  .map-wrap-v8, .map-wrap-v8 iframe { min-height: 420px; }
.map-badge-v8 { display: none; }
  .footer-v8 { padding-bottom: 0; }
  .footer-v8__inner { width: 100%; grid-template-columns: 1fr; gap: 26px; padding: 36px 22px 28px; border-radius: 24px 24px 0 0; }
  .footer-v8__cta { padding: 22px; }
  .footer-v8__bottom { flex-direction: column; margin-top: 10px; }
  .scroll-top { right: 18px; bottom: 18px; width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .brand { gap: 12px; }
  .brand__text { font-size: 18px; }
  .hero h1 { font-size: clamp(48px, 15vw, 58px); }
  .hero__lead { font-size: 17px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__facts { width: calc(100% - 28px); }
  .problem-card-v8 p, .problem-card-v8--full p { font-size: 20px; }
  .section-heading h2 { font-size: 34px; }
  .benefits-v8 .section-heading h2 { font-size: 38px; }
  .contact-row-v8 p { font-size: 16px; }
}

/* v15 selector-compatibility correction: fact text must stay in content column */
.hero-v8__facts article b,
.hero-v8__facts article small {
  grid-column: 2;
}
.hero-v8__facts article b { grid-row: 1; align-self: end; }
.hero-v8__facts article small { grid-row: 2; align-self: start; }
.hero-v8__facts article span { grid-row: 1 / span 2; }

@media (max-width: 768px) {
  .hero-v8__facts article b,
  .hero-v8__facts article small { grid-column: 2; }
}


/* 10 v17 cleanup: intermediate header, hero title, article slider, map/footer */
@media (min-width: 1281px) and (max-width: 1679px) {
  .header__inner {
    width: min(100% - 40px, 1320px);
    min-height: 74px;
    grid-template-columns: minmax(230px, auto) minmax(390px, 1fr) auto;
    gap: 18px;
    padding: 0 20px 0 22px;
  }
  .brand { gap: 12px; }
  .brand__logo { width: 40px; }
  .brand__text,
  .brand span { font-size: 18px; }
  .header .brand__text::after { display: none; }
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
  .header__cta { gap: 14px; }
  .header__address { padding-left: 38px; font-size: 13px; }
  .header__address::before { width: 32px; height: 32px; }
  .header__address::after { left: 10px; width: 10px; height: 10px; }
  .header__cta .button { min-height: 50px; padding-inline: 22px; font-size: 15px; }
}

@media (max-width: 1280px) {
  .header__inner { width: min(100% - 48px, 1040px); border-radius: 18px; }
  .hero { padding-top: 118px; }
  .hero h1 { line-height: .92; }
  .hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }
  .nav { z-index: 1105; }
  .burger { position: relative; }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .hero__content {
    grid-template-columns: minmax(420px, 1fr) minmax(330px, 430px);
    min-height: 560px;
    gap: 24px;
  }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__glow--doctor { right: 2%; top: 150px; width: 520px; height: 520px; }
  .hero-v8__note { min-width: 280px; bottom: 54px; left: -18px; padding: 16px 20px; }
  .hero-v8__facts { margin-top: 8px; }
}

/* v17 header/tablet menu: menu below header, header itself stays sharp */
@media (max-width: 1280px) {
  .nav {
    top: 100px;
    right: 24px;
    left: auto;
    width: min(440px, calc(100vw - 48px));
    max-height: calc(100dvh - 120px);
    overflow: auto;
  }
}
@media (max-width: 768px) {
  .header__inner { width: 100%; border-radius: 0; }
  .nav { top: 84px; right: 12px; left: 12px; width: auto; }
}

/* v17 clean hero title spacing */
.hero h1 { text-wrap: balance; }
.hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }

/* v17 map/footer finish */
.map-badge-v8--bottom { display: none; }
.footer-v8 { padding: 0; background: #003d77; }
.footer-v8__inner { margin-bottom: 0; }
body { min-height: 100vh; }
.site-shell { min-height: 100vh; }

/* v17 icon normalization */
.hero-v8__facts span svg,
.problem-card-v8 i svg,
.problem-card-v8 i img,
.benefit-card-v8 span svg,
.benefit-cta-v8 span svg,
.contact-icon svg,
.footer-v8 svg,
.price-item__trigger i::before,
.price-item__trigger i::after {
  stroke-width: 1.9;
}

/* v17 mobile/tablet polish without rewriting restored lower sections */
@media (max-width: 834px) {
  .hero { padding-top: 92px; }
  .hero-v8__eyebrow { margin-left: 0; margin-right: 0; width: fit-content; }
  .hero h1 { max-width: 720px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); bottom: -60px; position:relative; }
  .hero-v8__facts { margin-top: 18px; }
  .problem-card-v8 { box-shadow: 0 16px 42px rgba(30,86,132,.09); }
  .benefit-card-v8,
  .benefit-cta-v8 { border-radius: 18px; }
}

@media (max-width: 420px) {
  .hero { padding-top: 88px; }
  .hero-v8__eyebrow { font-size: 15px; gap: 10px; padding: 8px 14px 8px 8px; }
  .hero-v8__eyebrow span { width: 34px; height: 34px; }
  .hero h1 { font-size: clamp(44px, 14vw, 56px); line-height: .94; margin-bottom: 18px; }
  .hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }
  .hero__lead { font-size: 16px; line-height: 1.46; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); bottom: -60px; position:relative; }
  .hero-v8__facts article { padding: 16px 0; }
  .hero-v8__facts b { font-size: 17px; }
  .hero-v8__facts small { font-size: 14px; }
  .problems-v8 .section-heading h2,
  .benefits-v8 .section-heading h2 { letter-spacing: -.045em; }
}

/* 11 v18 systemic cleanup: icons, tablet layout, reveal, footer */
:root {
  --icon-stroke: 1.9;
}

/* unified SVG system */
.hero__actions .button svg,
.header__cta .button svg { width: 20px; height: 20px; }
.hero-v8__facts span svg { width: 30px; height: 30px; stroke-width: var(--icon-stroke); }
.hero-v8__note-icon svg { width: 28px; height: 28px; stroke-width: var(--icon-stroke); }
.problem-card-v8 i svg,
.problem-card-v8 i img { width: 60px; height: 60px; stroke-width: var(--icon-stroke); }
.benefit-card-v8 span svg,
.benefit-cta-v8 span svg { width: 30px; height: 30px; stroke-width: var(--icon-stroke); }
.contact-icon svg { width: 24px; height: 24px; stroke-width: var(--icon-stroke); }
.footer-v8 svg { stroke-width: var(--icon-stroke); }

/* header location icon: centered SVG pin, no rotated border artifact */
.header__address::before {
  display: grid;
  place-items: center;
  background: #edf7ff url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.2 7-11a7 7 0 1 0-14 0c0 5.8 7 11 7 11Z' fill='none' stroke='%230d6bdd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.4' fill='none' stroke='%230d6bdd' stroke-width='1.9'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.header__address::after { display: none; }

/* hero: stable spacing between actions and facts */
.hero__actions { margin-bottom: 18px; }
.hero-v8__facts { margin-top: 18px; }
.hero-v8__facts span,
.problem-card-v8 i,
.benefit-card-v8 span,
.benefit-cta-v8 span,
.contact-icon { display: grid; place-items: center; }

/* benefits heading does not become four-line monster on intermediate widths */
.benefits-v8 .section-heading h2 { text-wrap: balance; }

/* footer: blue only inside premium card, not outside shell */
.footer-v8 {
  padding: 0;
  background: #f7fbff;
}
.footer-v8__inner {
  background: linear-gradient(135deg, #002c5b 0%, #064b91 100%);
  margin-bottom: 0;
}

/* reveal: production classes for sections and inner elements */
.reveal-section,
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .68s ease, transform .68s ease;
  will-change: opacity, transform;
}
.reveal-section.is-visible,
.reveal-item.is-visible,
.no-reveal .reveal-section,
.no-reveal .reveal-item {
  opacity: 1;
  transform: none;
}
.footer-v8__bottom.reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item:nth-child(2) { transition-delay: .04s; }
.reveal-item:nth-child(3) { transition-delay: .08s; }
.reveal-item:nth-child(4) { transition-delay: .12s; }
.reveal-item:nth-child(5) { transition-delay: .16s; }
.reveal-item:nth-child(6) { transition-delay: .20s; }
.reveal-item:nth-child(7) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* dedicated tablet/intermediate layout */
@media (min-width: 769px) and (max-width: 1280px) {
  :root { --header-h: 78px; }
  .container { width: min(100% - 48px, 1120px); }
  .header__inner { width: min(100% - 40px, 1120px); min-height: 76px; }
  .nav { top: 92px; }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
  }
  .hero__content {
    grid-template-columns: minmax(390px, .94fr) minmax(300px, .78fr);
    gap: 24px;
    min-height: 500px;
    align-items: center;
  }
  .hero__text { padding-top: 8px; }
  .hero-v8__eyebrow { font-size: 16px; padding: 10px 18px 10px 9px; }
  .hero-v8__eyebrow span { width: 38px; height: 38px; }
  .hero h1 {
    margin: 26px 0 22px;
    font-size: clamp(58px, 7.2vw, 86px);
    line-height: .94;
    letter-spacing: -.065em;
  }
  .hero h1 strong { display: block; margin-top: 2px; color: var(--ink); font-size: .82em; letter-spacing: -.04em; }
  .hero__lead { max-width: 520px; margin-bottom: 26px; font-size: clamp(19px, 2.05vw, 22px); line-height: 1.38; }
  .hero__actions { gap: 14px; margin-bottom: 24px; }
  .hero__actions .button { min-width: 220px; min-height: 56px; padding-inline: 22px; font-size: 15px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); bottom: -60px; position:relative;  }
  .hero-v8__glow--doctor { right: 2%; top: 136px; width: 470px; height: 470px; }
  .hero-v8__tooth-bubble { right: 4%; top: 200px; width: 90px; height: 90px; }
  .hero-v8__tooth-bubble svg { width: 54px; height: 54px; }
  .hero-v8__note { min-width: 242px; bottom: 54px; left: -10px; gap: 12px; padding: 14px 16px; border-radius: 16px; }
  .hero-v8__note-icon { width: 48px; height: 48px; }
  .hero-v8__note b { font-size: 15px; }
  .hero-v8__note small { font-size: 13px; }
  .hero-v8__facts {
    width: min(100% - 48px, 1120px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
    padding: 20px 22px;
  }
  .hero-v8__facts article { grid-template-columns: 58px 1fr; column-gap: 14px; padding: 8px 16px; }
  .hero-v8__facts span { width: 52px; height: 52px; }
  .hero-v8__facts span svg { width: 28px; height: 28px; }
  .hero-v8__facts b { font-size: 16px; }
  .hero-v8__facts small { font-size: 13px; line-height: 1.35; }

  .problems-v8 { padding: 88px max(24px, calc((100vw - 1120px)/2)) 92px; }
  .problems-v8 .section-heading { margin-bottom: 42px; }
  .problems-v8 .section-heading h2 { max-width: 720px; font-size: clamp(42px, 5.2vw, 58px); }
  .problem-grid-v8 { max-width: 960px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .problem-card-v8 { grid-column: span 2; min-height: 178px; padding: 26px 28px; grid-template-columns: 1fr 58px; }
  .problem-card-v8--wide { grid-column: span 3; }
  .problem-card-v8--full { grid-column: 1 / -1; min-height: 136px; grid-template-columns: 64px 64px 1fr 240px; padding: 26px 32px; }
  .problem-card-v8 i { width: 56px; height: 56px; }
  .problem-card-v8 i svg,
  .problem-card-v8 i img { width: 60px; height: 60px; }
  .problem-card-v8 p { font-size: 19px; line-height: 1.25; }
  .problem-card-v8::before { margin: 14px 0 14px; }
  .problem-card-v8--full em { width: 240px; height: 94px; }

  .benefits-v8 { padding: 86px 0 88px; }
  .benefits-v8 .section-heading { max-width: 780px; margin-bottom: 38px; }
  .benefits-v8 .section-heading h2 { font-size: clamp(46px, 5.4vw, 64px); line-height: 1.02; }
  .benefits-v8 .section-heading h2 br { display: none; }
  .benefits-grid-v8 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .benefit-card-v8,
  .benefit-cta-v8 { min-height: 212px; padding: 14px 30px 10px; }
  .benefit-card-v8 span,
  .benefit-cta-v8 span { width: 58px; height: 58px; margin-bottom: 28px; }
  .benefit-card-v8 h3,
  .benefit-cta-v8 h3 { font-size: 23px; }
  .benefit-card-v8 p,
  .benefit-cta-v8 p { font-size: 16px; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .service-card img { aspect-ratio: 1.72; max-height: 230px; object-fit: contain; }
  .connection__content { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 34px; }
  .connection__copy h2 { font-size: clamp(46px, 5.3vw, 64px); }
  .contact-v8-layout { grid-template-columns: .8fr 1.2fr; gap: 24px; }
  .contact-info-v8 { padding: 28px; }
  .map-wrap-v8,
  .map-wrap-v8 iframe { width: 100%; height: 100%; min-height: 560px; border: 0; filter: saturate(.95) contrast(.96); }
  .footer-v8__inner { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; padding: 44px 38px 20px; }
  .footer-v8__cta { grid-column: span 1; }
  .footer-v8__bottom { grid-column: 1/-1; }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .hero__content { grid-template-columns: minmax(0, 1fr); min-height: auto; text-align: left; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__note { display: none; }
  .hero-v8__glow--doctor { top: 360px; right: 8%; width: 380px; height: 380px; }
  .hero-v8__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px; }
  .hero-v8__facts article { grid-template-columns: 48px 1fr; padding: 10px 12px; }
  .hero-v8__facts span { width: 44px; height: 44px; }
  .hero-v8__facts span svg { width: 24px; height: 24px; }
  .hero-v8__facts b { font-size: 15px; }
  .hero-v8__facts small { font-size: 12px; }
  .contact-v8-layout { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 900px) {
  .hero-v8__facts { grid-template-columns: 1fr; max-width: 720px; }
  .hero-v8__facts article { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 54px 1fr; }
  .hero-v8__facts article:last-child { border-bottom: 0; }
  .hero-v8__facts span { width: 48px; height: 48px; }
  .hero-v8__facts span svg { width: 26px; height: 26px; }
  .problem-grid-v8 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .problem-card-v8,
  .problem-card-v8--wide { grid-column: auto; }
  .problem-card-v8--full { grid-column: 1 / -1; grid-template-columns: 64px 64px 1fr; }
  .problem-card-v8--full em { display: none; }
}

@media (max-width: 768px) {
  .header__inner { min-height: 72px; }
  .hero { padding-top: 86px; }
  .hero__actions { margin-bottom: 22px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero-v8__facts { margin-top: 22px; }
  .hero-v8__facts span svg { width: 26px; height: 26px; }
  .problems-v8 .section-heading h2,
  .benefits-v8 .section-heading h2 { text-wrap: balance; }
  .benefits-v8 .section-heading h2 { font-size: clamp(34px, 10.5vw, 46px); line-height: 1.04; }
  .benefit-card-v8 span svg,
  .benefit-cta-v8 span svg { width: 28px; height: 28px; }
  .footer-v8 { background: #f7fbff; }
  .footer-v8__inner { border-radius: 24px 24px 0 0; }
}

@media (max-width: 430px) {
  .hero { padding-bottom: 34px; }
  .hero__photo { position: relative; align-self: end; display: flex; justify-content: center; align-items: center; min-height: 700px; }
  .hero__photo::before { content: ''; position: absolute; z-index: 1; width: min(650px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(234,247,255,.95) 48%, rgba(204,234,250,.86) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 34px 90px rgba(28,94,145,.15); }
.hero__photo img { width: min(560px, 92%); height: auto; max-height: 720px; object-fit: contain; object-position: bottom center; z-index: 2; filter: drop-shadow(0 30px 40px rgba(19, 52, 86, .13)); }
  .hero-v8__facts span { width: 50px; height: 50px; }
  .problem-card-v8 i { width: 52px; height: 52px; }
  .problem-card-v8 i svg,
  .problem-card-v8 i img { width: 50px; height: 50px; }
  .footer-v8__cta { padding: 20px; }
}

/* v19 targeted customer fixes */
.footer-v8__contacts a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 768px) {
  .hero h1 strong { color: var(--ink); letter-spacing: -.035em; }
  .hero__photo { min-height: 330px; }
  .hero__photo::before { width: min(360px, 90%); }
  .hero__photo img { width: min(310px, 78%); max-height: 340px; }
  .service-card div { padding: 16px 18px 18px; }
  .service-card img { height: clamp(150px, 36vw, 170px); max-height: 170px; aspect-ratio: auto; object-fit: contain; object-position: center; background: #f6fbff; }
  .service-card h3 { margin-bottom: 8px; font-size: 18px; }
  .service-card strong { font-size: 15px; }
  .map-wrap-v8 iframe { pointer-events: none; }
  .map-static-v8 { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding: 24px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(229,246,255,.72) 62%, rgba(229,246,255,.95) 100%); }
}
@media (max-width: 430px) {
  .hero__photo { min-height: 300px; }
  .hero__photo::before { width: min(320px, 92%); }
  .hero__photo img { width: min(280px, 76%); max-height: 310px; }
}

.footer-v8__contacts .footer-contact.footer-contact--email {
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: normal;
}
.footer-v8-trivia {
  font-size: smaller;
}

/* v20 final overrides: service cards and chair hero */
.service-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.08;
  background: #f6fbff;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
}

.service-card__image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  filter: blur(14px) saturate(1.08);
  opacity: .72;
  transform: scale(1.12);
}

.service-card__image-main {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 24px rgba(19, 52, 86, .08));
}

.hero-v8__glow--doctor {
  right: 2%;
  top: 132px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at 48% 42%, rgba(255,255,255,.78), rgba(212,239,253,.78) 55%, rgba(165,218,247,.52) 100%);
}

.hero__photo {
  min-height: 660px;
  align-self: end;
  transform: translateX(28px);
}

.hero__photo::before {
  width: min(720px, 108%);
  background: radial-gradient(circle at 44% 34%, rgba(255,255,255,.92), rgba(231,247,255,.9) 46%, rgba(191,228,248,.78) 100%);
}

.hero__photo::after {
  content: '';
  position: absolute;
  left: 4%;
  right: -10%;
  bottom: 42px;
  z-index: 1;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(120,195,237,.30), rgba(229,247,255,.56) 55%, transparent 72%);
  transform: rotate(-3deg);
}

.hero__photo img {
  position: relative;
  bottom: auto;
  width: min(900px, 118%);
  height: auto;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  object-fit: cover;
  object-position: 58% 48%;
  z-index: 2;
  opacity: .96;
  filter: brightness(.82) contrast(1.06) saturate(.92) drop-shadow(0 34px 42px rgba(19, 52, 86, .16));
  -webkit-mask-image: radial-gradient(ellipse at 58% 52%, #000 0 70%, rgba(0,0,0,.86) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse at 58% 52%, #000 0 70%, rgba(0,0,0,.86) 82%, transparent 100%);
}

.hero-v8__note {
  display: none;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .service-card__media { aspect-ratio: 1.72; max-height: 230px; }
  .hero__photo { min-height: 520px; transform: translateX(12px); }
  .hero__photo::before { width: min(560px, 98%); }
  .hero__photo::after { bottom: 34px; height: 92px; }
  .hero__photo img { width: min(680px, 112%); max-height: 430px; }
  .hero-v8__glow--doctor { top: 138px; right: -4%; width: 540px; height: 540px; }
}

@media (max-width: 768px) {
  .service-card__media { aspect-ratio: auto; height: clamp(150px, 36vw, 170px); max-height: 170px; }
  .service-card__media img { height: 100%; max-height: none; }
  .service-card__image-bg { filter: blur(12px) saturate(1.08); transform: scale(1.16); opacity: .70; }
  .service-card__image-main { object-fit: contain; }
  .hero__photo { min-height: 300px; transform: none; }
  .hero__photo::before { width: min(390px, 94%); }
  .hero__photo::after { left: 8%; right: 2%; bottom: 20px; height: 58px; }
  .hero__photo img { width: min(440px, 104%); max-height: 260px; border-radius: 22px; }
  .hero-v8__glow--doctor { top: 505px; width: 390px; height: 390px; }
}

@media (max-width: 430px) {
  .hero__photo { min-height: 270px; }
  .hero__photo::before { width: min(330px, 96%); }
  .hero__photo img { width: min(390px, 108%); max-height: 230px; }
}

/* v21 plain full-width hero photo */
.hero {
  min-height: 900px;
  padding: 132px 0 42px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.72) 48%, rgba(255,255,255,.18) 64%, rgba(255,255,255,0) 80%),
    url("../assets/img/doctor-hero-chair.jpg") 112% center / auto 100% no-repeat,
    #eaf6ff;
  isolation: isolate;
}

.hero::before {
  display: none;
}

.hero::after,
.hero-v8__glow,
.hero-v8__tooth-bubble,
.hero__photo::before,
.hero__photo::after,
.hero-v8__note {
  display: none;
}

.hero__photo {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 610px;
}

.hero__text {
  max-width: 660px;
  padding-top: 54px;
}

.hero-v8__eyebrow {
  background: rgba(255,255,255,.78);
}

.hero-v8__facts {
  position: relative;
  z-index: 2;
  margin-top: -4px;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .hero {
    min-height: 760px;
    padding-top: 112px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.60) 64%, rgba(255,255,255,0) 86%),
      url("../assets/img/doctor-hero-chair.jpg") 112% center / auto 100% no-repeat,
      #eaf6ff;
  }

  .hero__content {
    min-height: 500px;
  }

  .hero__text {
    max-width: 560px;
    padding-top: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: 86px 0 34px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.40) 68%, rgba(255,255,255,0) 100%),
      url("../assets/img/doctor-hero-chair.jpg") 58% bottom / cover no-repeat,
      #eaf6ff;
  }

  .hero__content {
    min-height: 0;
  }

  .hero__text {
    max-width: none;
    padding-top: 26px;
  }

  .hero-v8__facts {
    margin-top: 26px;
  }
}

/* v23 legal page and cookie consent */
.legal-page {
  overflow-x: hidden;
  padding: 148px 0 82px;
  background:
    repeating-radial-gradient(circle at -70px 330px, rgba(35,130,223,.10) 0 1px, transparent 1px 18px),
    linear-gradient(112deg, #fff 0%, #f7fcff 48%, #e8f7ff 100%);
}

.legal-page.reveal-section {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

.legal-page__inner {
  max-width: 980px;
}

.legal-page__inner--wide {
  max-width: 1120px;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 800;
}

.legal-page h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 76px);
  line-height: .92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.legal-page__subtitle {
  max-width: 760px;
  margin: -12px 0 30px;
  color: #4f647d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.legal-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(154,190,220,.36);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(14,63,107,.12);
}

.legal-card--document {
  max-width: 100%;
  padding: clamp(22px, 4vw, 54px);
  overflow: hidden;
}

.legal-card h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
}

.requisites-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.requisites-list div {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(154,190,220,.28);
}

.requisites-list dt {
  color: #6d7f95;
  font-weight: 800;
}

.requisites-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.requisites-list a {
  color: var(--blue);
}

.legal-document {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: inherit;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 650;
  line-height: 1.72;
}

.legal-document h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.22;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 22px;
}

.legal-document__lead {
  font-weight: 800;
}

.legal-footer {
  grid-template-columns: 1.2fr 1.2fr 1fr;
}

.footer-v8__bottom {
  align-items: center;
  flex-wrap: wrap;
}

.footer-v8__bottom span {
  order: 1;
}

.footer-v8__bottom a {
  order: 2;
}

.cookie-popover {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(520px, calc(100vw - 48px));
  padding: 20px;
  border: 1px solid rgba(154,190,220,.40);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(5,34,64,.20);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .25s ease, transform .25s ease;
}

.cookie-popover.is-visible {
  opacity: 1;
  transform: none;
}

.cookie-popover[hidden] {
  display: none;
}

.cookie-popover h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.cookie-popover p {
  margin: 0;
  color: #5d7088;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-popover__button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1597f4, #3647f3);
  box-shadow: 0 14px 30px rgba(21,101,230,.24);
  font-weight: 900;
}

.cookie-popover__button:hover {
  transform: translateY(-1px);
}

@media (max-width: 834px) {
  .legal-page {
    padding: 112px 0 56px;
  }

  .legal-page h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .legal-page__subtitle {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .requisites-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .legal-document {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.62;
  }

  .legal-document p,
  .legal-document h2 {
    max-width: calc(100vw - 78px);
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }

  .cookie-popover {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-popover__button {
    width: 100%;
  }
}

/* v22 hero: transparent chair cutout */
.hero {
  min-height: 900px;
  padding: 132px 0 42px;
  background:
    radial-gradient(circle at 8% 52%, rgba(213,242,255,.95) 0 96px, transparent 97px),
    radial-gradient(circle at 73% 48%, rgba(212,240,255,.74) 0 330px, transparent 332px),
    repeating-radial-gradient(circle at -80px 470px, rgba(35,130,223,.11) 0 1px, transparent 1px 18px),
    linear-gradient(112deg, #fff 0%, #f8fdff 43%, #e7f6ff 100%);
}

.hero::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 42%, rgba(255,255,255,.95) 0 72px, transparent 73px),
    linear-gradient(105deg, transparent 0 49%, rgba(209,235,250,.58) 49.1% 100%);
  opacity: .9;
}

.hero-v8__glow,
.hero-v8__tooth-bubble {
  display: block;
}

.hero__photo {
  position: absolute;
  right: calc((100vw - var(--container)) / 2 - 250px);
  bottom: 105px;
  z-index: 1;
  display: block;
  width: min(1220px, 73vw);
  min-height: 0;
  transform: none;
  pointer-events: none;
}

.hero__photo::before,
.hero__photo::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero__photo::before {
  left: 8%;
  right: 2%;
  bottom: 0;
  z-index: 0;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(55,141,205,.28), rgba(166,219,248,.30) 42%, transparent 72%);
  filter: blur(8px);
  transform: translateY(18px) rotate(-2deg);
}

.hero__photo::after {
  inset: -7% -3% 5% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 43%, rgba(255,255,255,.72), rgba(218,242,255,.70) 52%, rgba(167,220,249,.30) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.68);
}

.hero__photo img {
  position: relative;
  right: 1vw;
  bottom: 24px;
  z-index: 1;
  display: block;
  width: 60vw;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center bottom;
  opacity: 1;
  filter: drop-shadow(0 34px 34px rgba(35,84,124,.18)) drop-shadow(0 12px 18px rgba(35,84,124,.10));
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-photo-mob {
  display: none !important;
}

@media (max-width: 1281px)
{
  .hero__photo img {
    width: 70vw;
    right: 4vw;
    bottom: 48px;
  }
}

@media (max-width: 1051px)
{
  .hero__photo img {
    width: 100vw;
    right: 1vw;
    bottom: 18px;
  }
}

@media (max-width: 901px)
{
  .hero__photo img {
    width: 100vw;
    right: 1vw;
    bottom: 200px;
  }
}

@media (max-width: 769px)
{
  .hero__photo {
    height: 0;
  }

  .hero__photo img {
    width: 100vw;
    right: -20vw;
    bottom: 0;
  }

  .hero-photo-mob {
    display: block !important;
  }

  .hero-photo-desktop {
    display: none !important;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(510px, 620px) minmax(500px, 1fr);
  gap: 70px;
  min-height: 610px;
}

.hero__text {
  max-width: none;
  padding-top: 30px;
}

.hero-v8__facts {
  position: relative;
  z-index: 3;
  margin-top: -12px;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .hero {
    min-height: 760px;
    padding-top: 112px;
    background:
      radial-gradient(circle at 8% 52%, rgba(213,242,255,.95) 0 96px, transparent 97px),
      radial-gradient(circle at 73% 48%, rgba(212,240,255,.74) 0 280px, transparent 282px),
      repeating-radial-gradient(circle at -80px 470px, rgba(35,130,223,.11) 0 1px, transparent 1px 18px),
      linear-gradient(112deg, #fff 0%, #f8fdff 43%, #e7f6ff 100%);
  }

  .hero__photo {
    right: max(12px, calc((100vw - 1120px) / 2 - 22px));
    bottom: 118px;
    width: min(620px, 50vw);
  }

  .hero__content {
    grid-template-columns: minmax(390px, .94fr) minmax(300px, .78fr);
    gap: 24px;
    min-height: 500px;
  }

  .hero__text {
    max-width: 560px;
    padding-top: 34px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: 86px 0 34px;
    background:
      radial-gradient(circle at 85% 56%, rgba(213,242,255,.78) 0 156px, transparent 157px),
      repeating-radial-gradient(circle at -40px 330px, rgba(35,130,223,.12) 0 1px, transparent 1px 16px),
      linear-gradient(115deg, #fff 0%, #f3fbff 52%, #e7f6ff 100%);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
  }

  .hero__text {
    max-width: none;
    padding-top: 26px;
  }

  .hero__photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 470px);
    margin: 18px auto 0;
  }

  .hero__photo::after {
    inset: 2% 6% 8%;
  }

  .hero__photo::before {
    left: 12%;
    right: 12%;
    bottom: 4%;
    height: 46px;
  }

  .hero-v8__facts {
    margin-top: 24px;
  }
}

/* v24 legal document mobile guard */
@media (max-width: 834px) {
  .legal-page h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  .legal-card--document {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    overflow: hidden !important;
  }

  .legal-document,
  .legal-document p,
  .legal-document h2 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
}
