/* =====================================================================
   ТОКЕНЫ — корпоративная палитра «Лазурит»
   (тёмно-синий #002345, фирменный синий #2559B6 и оттенки, золото #DC933C)
===================================================================== */
:root {
  /* Brand */
  --brand-navy:      #002345;
  --brand-navy-80:   #0B2A4B;
  --brand-navy-60:   #234368;

  --brand-blue:      #2559B6;
  --brand-blue-600:  #1E4A9E;
  --brand-blue-50:   #E8EEF9;
  --brand-blue-100:  #D0D8EC;

  --brand-gold:      #DC933C;
  --brand-gold-600:  #C27D2A;
  --brand-gold-100:  #F9E6CE;
  --brand-gold-50:   #FFF6EC;

  --brand-red:       #D23A3A;

  /* Neutrals */
  --c-text:     #0F1F34;
  --c-text-2:   #2E3E54;
  --c-muted:    #5A6A7D;
  --c-muted-2:  #7A8A9D;
  --c-line:     #DCE5EF;
  --c-line-2:   #C2D1E0;
  --c-bg:       #F2F6F9;
  --c-bg-2:     #E8EFF6;
  --c-white:    #FFFFFF;

  /* Back-compat (панель tweaks / инлайновые color: var(--c-*)) */
  --c-azure:    var(--brand-blue);
  --c-azure-dark: var(--brand-blue-600);
  --c-navy:     var(--brand-navy);
  --c-gold:     var(--brand-gold);
  --c-gold-light: var(--brand-gold-50);
  --c-red:      var(--brand-red);

  /* Typography */
  --f-head:   'Montserrat', sans-serif;
  --f-body:   'Montserrat', sans-serif;
  --f-narrow: 'Montserrat', sans-serif;

  /* Radius */
  --r:    10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadows with navy tint */
  --shadow-xs: 0 1px 2px rgba(0,35,69,.06);
  --shadow-sm: 0 2px 6px rgba(0,35,69,.06), 0 6px 18px rgba(0,35,69,.05);
  --shadow-md: 0 6px 24px rgba(0,35,69,.10);
  --shadow-lg: 0 14px 50px rgba(0,35,69,.14);
  --shadow-blue: 0 12px 36px rgba(37, 89, 182, 0.28);
  --shadow-gold: 0 14px 40px rgba(220,147,60,.35);

  /* Motion */
  --t-fast: .18s cubic-bezier(.2,.7,.2,1);
  --t:      .28s cubic-bezier(.2,.7,.2,1);
  --t-slow: .55s cubic-bezier(.2,.7,.2,1);

  --transition: var(--t);

  /* Фикс. шапка: выше по вертикали — см. .header__inner; на ≤1100px переопределяется ниже */
  --header-offset: 118px;
}

/* 2026 All-on-4 hero redesign — intentionally scoped to the first section. */
.lazurit-landing .hero {
  min-height: 0;
  padding: 18px 0 28px;
  color: #102c78;
  background: #fff;
}
.lazurit-landing .hero__inner--new {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #dce6f5;
  border-radius: 18px;
  background: linear-gradient(110deg,#fff 0%,#f8fbff 52%,#eef6ff 100%);
  box-shadow: 0 18px 48px rgba(23,62,125,.09);
}
.lazurit-landing .hero__inner--new .hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: none;
  padding: 48px 24px 42px 48px;
}
.lazurit-landing .hero__inner--new .hero__title {
  margin: 0 0 20px;
  color: #112f80;
  font-size: clamp(2rem,3.1vw,3.45rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.lazurit-landing .hero__inner--new .hero__sub {
  margin: 0 0 24px;
  color: #18356f;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}
.hero__benefits { display:grid; gap:13px; margin:0 0 22px; padding:0; list-style:none; color:#17356e; font-size:.92rem; font-weight:600; }
.hero__benefits li { display:flex; align-items:center; gap:10px; }
.hero__benefits li span { display:grid; place-items:center; width:19px; height:19px; flex:0 0 19px; border:2px solid #ff6400; border-radius:50%; color:#ff6400; font-size:11px; font-weight:900; }
.hero__fixed { display:grid; gap:2px; margin:0 0 24px; color:#17356e; font-size:1.25rem; font-weight:700; line-height:1.3; }
.hero__fixed strong { color:#ff6400; font-size:1.35em; }
.hero__fixed span { display:block; }
.hero__main-cta { display:block; width:min(100%,290px); text-align:center; background:#ff6400 !important; border-color:#ff6400 !important; box-shadow:0 10px 24px rgba(255,100,0,.2); }
.hero__free-note { margin:15px 0 0; color:#17356e; font-size:.78rem; font-weight:700; }
.hero__condition-note { margin:6px 0 0; color:#7c8799; font-size:.64rem; font-weight:500; line-height:1.4; }
.lazurit-landing .hero__inner--new .hero__visual { position:relative; min-height:520px; overflow:hidden; }
.hero__new-photo { width:100%; height:100%; object-fit:cover; object-position:54% center; }
.hero__new-price { position:absolute; left:50%; bottom:28px; display:grid; min-width:360px; padding:25px 32px; transform:translateX(-50%); border:1px solid rgba(255,255,255,.8); border-radius:20px; background:rgba(255,255,255,.91); box-shadow:0 12px 30px rgba(20,45,85,.15); backdrop-filter:blur(8px); text-align:center; }
.hero__new-price span { padding-bottom:14px; border-bottom:1px solid #1856bb; color:#173b8f; font-size:1.25rem; font-weight:800; line-height:1.25; text-transform:uppercase; }
.hero__new-price strong { padding-top:14px; color:#ff5700; font-size:2.1rem; line-height:1.15; }
.hero__new-price strong small { color:#173b8f; font-size:.55em; }
.lazurit-landing .hero__inner--new .hero__offer,
.lazurit-landing .hero__inner--new .hero__stat-grid { display:none; }
@media (max-width: 800px) {
  .lazurit-landing .hero { padding:10px 0 20px; }
  .lazurit-landing .hero__inner--new { grid-template-columns:1fr; }
  .lazurit-landing .hero__inner--new .hero__content { padding:32px 22px 26px; }
  .lazurit-landing .hero__inner--new .hero__title { font-size:clamp(1.8rem,8vw,2.6rem); }
  .lazurit-landing .hero__inner--new .hero__visual { min-height:340px; }
  .hero__fixed { font-size:1rem; }
  .hero__new-price { bottom:16px; width:calc(100% - 32px); min-width:0; padding:16px 18px; }
  .hero__new-price span { padding-bottom:10px; font-size:1rem; }
  .hero__new-price strong { font-size:1.45rem; }
}

/* =====================================================================
   RESET + BASE
===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; font-family: var(--f-body); }
::selection { background: var(--brand-blue-100); color: var(--brand-navy); }

/* =====================================================================
   ТИПОГРАФИКА
===================================================================== */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-navy); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); color: var(--brand-blue); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--brand-navy); }
h4 { font-size: 1.05rem; font-weight: 600; color: var(--brand-navy); }
p { font-size: 1rem; }
strong { font-weight: 700; color: var(--c-text); }

/* =====================================================================
   УТИЛИТЫ
===================================================================== */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  position: relative;
}
.section {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0;
  scroll-margin-top: var(--header-offset);
}
.section--sm { padding: clamp(32px, 4vw, 56px) 0; }
.section--light { background: var(--c-white); }
.section--dark {
  background: linear-gradient(180deg, #EAF1F8 0%, #F2F6F9 100%);
}
.section--gold {
  background:
    radial-gradient(60% 60% at 10% 20%, rgba(220,147,60,.08) 0%, transparent 60%),
    radial-gradient(50% 50% at 90% 90%, rgba(37,89,182,.12) 0%, transparent 55%),
    #FFFBF5;
}
.section--teal { background: var(--c-bg); }

/* Ленты-разделители (декоративная волна SVG) */
.section--wave::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 40px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0,40 C240,0 480,40 720,20 C960,0 1200,40 1440,20 L1440,40 Z' fill='black'/></svg>") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0,40 C240,0 480,40 720,20 C960,0 1200,40 1440,20 L1440,40 Z' fill='black'/></svg>") center/100% 100% no-repeat;
}

/* Section header (центр/лево) */
.section-header { text-align: center; max-width: 820px; margin: 0 auto clamp(22px, 3.2vw, 42px); }
.section-header--left { text-align: left; margin: 0 0 40px; max-width: 760px; }
.section-header h2 { margin-top: 0; line-height: 1.12; letter-spacing: -0.03em; }
.section-header__sub {
  margin: 16px auto 0;
  max-width: 900px;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: var(--c-muted);
  line-height: 1.7;
}
.section-header--left .section-header__sub { margin-left: 0; margin-right: 0; }
/* CTA в секциях (как «Перезвоните мне» в шапке) */
.section__cta {
  text-align: center;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.section-header .section__cta { margin-top: clamp(16px, 2vw, 24px); }
/* Кнопка под плашками Яндекс / 2ГИС / ПроДокторов */
.section__cta--after-reviews-badges { margin-top: clamp(28px, 3.2vw, 44px); }

/* =====================================================================
   КНОПКИ
===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--r-full);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  letter-spacing: 0.005em;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-white);
  color: var(--c-text);
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(37,89,182,.55);
  outline-offset: 3px;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  transition: transform var(--t-slow), opacity var(--t);
  opacity: 0;
  transform: translateY(100%);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Основной (синий) — на ховере становится золотым, как на старом сайте */
.btn--primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,89,182,.28);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #E8A14A 0%, var(--brand-gold) 55%, #C27D2A 100%);
  box-shadow: 0 16px 34px rgba(220,147,60,.40);
  color: #fff;
}

/* Золотой (акцентная CTA) — на ховере становится синим, как «Записаться» на старом сайте */
.btn--gold {
  background: linear-gradient(135deg, #E8A14A 0%, var(--brand-gold) 50%, #C27D2A 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  box-shadow: 0 16px 40px rgba(37,89,182,.38);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--brand-navy);
  border: 1.5px solid var(--c-line-2);
}
.btn--outline:hover { border-color: var(--brand-navy); background: var(--brand-blue-50); }

/* Герой: вторичная CTA — горчично-золотая, наведение — синий */
.btn--secondary-mustard {
  background: linear-gradient(180deg, #E8A84A 0%, #C07A28 100%);
  color: #fff;
  border: 1px solid rgba(194, 125, 42, 0.9);
  box-shadow: 0 4px 16px rgba(194, 125, 42, 0.22);
}
.btn--secondary-mustard:hover {
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: #fff;
  border-color: var(--brand-blue-600);
  box-shadow: 0 8px 28px rgba(37, 89, 182, 0.3);
}

.btn--outline-white {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--outline-white:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

.btn--lg { padding: 16px 30px; font-size: 0.98rem; }
.btn--full { width: 100%; }
.btn--tel { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.btn__ic { flex-shrink: 0; opacity: .85; }

/* =====================================================================
   ШАПКА
===================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(220,229,239,.55);
  transition: box-shadow var(--t), background var(--t), border-color var(--t);
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(220,229,239,.85);
  box-shadow: 0 1px 0 rgba(0,35,69,.04), 0 10px 30px rgba(0,35,69,.07);
}
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px 0 18px;
  min-height: 84px;
}
.header__logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 0; }
.header__logo-img {
  display: block; height: 56px; width: auto; max-width: min(280px, 52vw);
  object-fit: contain; object-position: left center; flex-shrink: 0;
}
/* Контакты: телефоны столбиком; адрес + часы — столбиком */
.header__bar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 200px;
  min-width: 0;
  gap: 8px clamp(14px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--brand-blue);
  line-height: 1.38;
}
.header__bar-li { display: flex; align-items: center; max-width: 100%; }
.header__bar-li--phones { align-items: flex-start; align-self: center; }
.header__phone-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.32;
}
.header__phone-stack .header__bar-item { gap: 10px; }
.header__phone-stack .header__bar-ic { width: 20px; height: 20px; }
.header__bar-li--meta { align-items: flex-start; align-self: center; }
.header__meta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.34;
}
.header__meta-stack .header__bar-item { gap: 9px; }
.header__meta-stack .header__bar-ic { width: 20px; height: 20px; }
.header__bar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast);
  color: inherit;
}
a.header__bar-item:hover { color: var(--brand-blue-600); }
.header__bar-item--static { pointer-events: none; user-select: none; }
.header__bar-ic {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: var(--brand-gold);
}
.header__bar-ic svg { display: block; width: 100%; height: 100%; }
.header__bar-text { text-align: left; white-space: nowrap; }
.header__bar-text--address {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .header__bar-text:not(.header__bar-text--address) {
    white-space: normal;
  }
}

/* Brief section: patient reviews + Yandex rating. */
.brief-reviews {
  padding: 40px 0 44px;
  background: #fff;
}
.brief-prices > .container,
.brief-reviews > .container { max-width: 1560px; }
.brief-reviews__head { margin-bottom: 22px; }
.brief-reviews__head h2 { margin: 0 0 5px; color: #153b91; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.brief-reviews__head p { margin: 0; color: #657591; font-size: .72rem; font-weight: 600; }
.brief-reviews__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(235px, 1.05fr);
  gap: 14px;
  align-items: stretch;
}
.brief-reviews__content { min-width: 0; }
.brief-reviews__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.brief-review-card,
.brief-rating {
  padding: 22px 20px;
  border: 1px solid #e1e8f3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 62, 125, .06);
}
.brief-review-card { display: flex; min-height: 250px; flex-direction: column; }
.brief-review-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.brief-review-card__meta strong { color: #173b8f; font-size: .86rem; }
.brief-review-card__meta small { color: #8190a8; font-size: .68rem; }
.brief-review-card__stars { margin: 12px 0 11px; color: #ff6900; font-size: 1rem; letter-spacing: 2px; }
.brief-review-card > p { margin: 0; color: #435879; font-size: .79rem; line-height: 1.55; }
.brief-review-card__link { margin-top: auto; padding-top: 14px; color: #1853b4; font-size: .73rem; font-weight: 750; }
.brief-rating { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fbff; text-align: center; }
.brief-rating > img { width: min(100%, 180px); height: auto; margin-bottom: 25px; }
.brief-rating__score { color: #173b8f; font-size: 2rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.brief-rating__score span { color: #ff6900; font-size: .9rem; letter-spacing: 1px; vertical-align: middle; }
.brief-rating p { margin: 12px 0 0; color: #28467e; font-size: .72rem; font-weight: 650; line-height: 1.5; }
@media (max-width: 1050px) {
  .brief-reviews__layout { grid-template-columns: 1fr; }
  .brief-rating { min-height: 230px; }
}
@media (max-width: 580px) {
  .brief-reviews__cards { grid-template-columns: 1fr; }
  .brief-review-card { min-height: 0; }
  .brief-review-card__link { margin-top: 16px; }
  .brief-rating { min-height: 230px; }
}

/* Brief final CTA; keeps the original booking form contract and JS hooks. */
.brief-final-cta {
  padding: clamp(36px, 4vw, 64px) 0 clamp(48px, 6vw, 88px);
  background: #f8fbff;
}
.brief-final-cta > .container { max-width: 1780px; padding-right: clamp(16px,2.5vw,44px); padding-left: clamp(16px,2.5vw,44px); }
.brief-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(440px, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px,4vw,68px);
  align-items: center;
  min-height: 450px;
  padding: clamp(46px,5vw,74px) clamp(36px,5vw,74px);
  border: 1px solid #dfe8f4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 62, 125, .07);
}
.brief-final-cta__copy h2 { margin: 0 0 34px; color: #153b91; font-size: clamp(1.28rem, 1.8vw, 2.25rem); line-height: 1.45; text-transform: uppercase; }
.brief-final-cta__copy h2 span { display: block; white-space: nowrap; }
.brief-final-cta__copy p { margin: 0; color: #102d66; font-size: clamp(.95rem,1.3vw,1.3rem); font-weight: 500; line-height: 1.55; }
.brief-final-cta__form .lazurit-booking__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr)) minmax(160px, .95fr);
  gap: 20px;
  align-items: end;
}
.brief-final-cta__form .form-group { margin: 0; }
.brief-final-cta__form .form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.brief-final-cta__form .form-input {
  width: 100%;
  height: 86px;
  padding: 0 26px;
  border: 1px solid #cbd9eb;
  border-radius: 16px;
  color: #273f67;
  background: #fff;
  font: inherit;
  font-size: 1.1rem;
}
.brief-final-cta__form .form-input:focus { border-color: #1c59ba; outline: 2px solid rgba(28,89,186,.12); }
.brief-final-cta__submit {
  height: 86px;
  border-radius: 999px !important;
  border-color: #ff6500 !important;
  color: #fff !important;
  background: #ff6500 !important;
  font-size: 1.12rem;
}
.brief-final-cta__form .form-agree {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: #7b899d;
  font-size: .75rem;
  line-height: 1.6;
}
@media (max-width: 1050px) {
  .brief-final-cta__inner { grid-template-columns: 1fr; gap: 24px; }
  .brief-final-cta__copy h2 span { white-space: normal; }
}
@media (max-width: 850px) {
  .brief-final-cta__form .lazurit-booking__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-final-cta__submit { width: 100%; }
}
@media (max-width: 520px) {
  .brief-final-cta__inner { padding: 24px 18px; }
  .brief-final-cta__form .lazurit-booking__form { grid-template-columns: 1fr; }
  .brief-final-cta__form .form-agree { grid-column: auto; }
  .brief-final-cta__copy h2 { font-size: 1.45rem; }
  .brief-final-cta__copy p br { display: none; }
  .brief-final-cta__form .form-input, .brief-final-cta__submit { height: 62px; }
}

/* Brief section: free CT + three clinical cases. */
#diagnostics {
  padding-top: 34px;
  padding-bottom: 42px;
  background: #fff;
}
.kt-cases {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.kt-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .95fr) minmax(190px, 1.05fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce6f5;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: 0 10px 30px rgba(23, 62, 125, .07);
}
.kt-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 10px 24px 26px;
}
.kt-card h2,
.cases-block h2 {
  margin: 0 0 20px;
  color: #153b91;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.25;
}
.kt-card h2 em { color: #ff6400; font-style: normal; }
.kt-card__list {
  display: grid;
  gap: 13px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: #28467e;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.35;
}
.kt-card__list li { display: flex; align-items: flex-start; gap: 8px; }
.kt-card__list span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  border: 1.5px solid #2160c4;
  border-radius: 50%;
  color: #2160c4;
  font-size: 9px;
  font-weight: 800;
}
.kt-card__button {
  align-self: flex-start;
  margin-top: auto;
  padding: 13px 17px;
  border-color: #ff6400 !important;
  background: #ff6400 !important;
  font-size: .76rem;
  white-space: nowrap;
}
.kt-card__photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 61% center;
}
.cases-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.cases-block__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  flex: 1;
}
.brief-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 62, 125, .07);
}
.brief-case__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #edf2f7;
  cursor: zoom-in;
}
.brief-case__image::after { position:absolute; right:10px; bottom:10px; display:grid; width:34px; height:34px; place-items:center; border-radius:50%; color:#fff; background:rgba(13,61,145,.82); box-shadow:0 4px 12px rgba(0,0,0,.18); content:"+"; font-size:1.4rem; font-weight:500; opacity:0; transform:scale(.85); transition:opacity .2s ease,transform .2s ease; }
.brief-case__image:hover::after, .brief-case__image:focus-visible::after { opacity:1; transform:scale(1); }
.brief-case__image:focus-visible { outline:3px solid #ff6400; outline-offset:-3px; }
.brief-case__image img { display: block; width: 100%; height: 100%; object-fit: contain; transition:transform .25s ease; }
.brief-case__image:hover img { transform:scale(1.025); }

.case-lightbox { position:fixed; z-index:100000; inset:0; display:grid; place-items:center; padding:clamp(18px,4vw,54px); }
.case-lightbox[hidden] { display:none; }
.case-lightbox__backdrop { position:absolute; inset:0; border:0; background:rgba(5,18,43,.88); cursor:zoom-out; }
.case-lightbox__dialog { position:relative; z-index:1; display:grid; max-width:min(1100px,92vw); max-height:90vh; place-items:center; }
.case-lightbox__image { display:block; max-width:100%; max-height:88vh; border-radius:14px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.45); object-fit:contain; }
.case-lightbox__close { position:absolute; top:-18px; right:-18px; display:grid; width:44px; height:44px; place-items:center; border:2px solid rgba(255,255,255,.8); border-radius:50%; color:#fff; background:#123b91; box-shadow:0 6px 18px rgba(0,0,0,.3); cursor:pointer; font-size:1.7rem; line-height:1; }
.case-lightbox__close:focus-visible { outline:3px solid #ff6400; outline-offset:3px; }
html.case-lightbox-open { overflow:hidden; }
@media (max-width:520px) { .case-lightbox__close { top:-14px; right:-8px; } }
.brief-case__label {
  position: static;
  display: block;
  padding: 7px 6px;
  color: #fff;
  background: #ff6400;
  font-size: .61rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.brief-case__label--before {
  background: #1752b6;
}

/* Brief section: All-on-4 benefits and indications. */
.a4-audience {
  padding: 38px 0 44px;
  background: #f8fbff;
}
.a4-audience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 54px;
  align-items: center;
}
.a4-audience h2 {
  margin: 0 0 24px;
  color: #153b91;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.25;
}
.a4-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.a4-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 142px;
  padding: 18px 10px;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  color: #173b8f;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 62, 125, .06);
  text-align: center;
}
.a4-benefit-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  color: #1952b6;
}
.a4-benefit-card__icon svg { width: 100%; height: 100%; }
.a4-benefit-card strong { font-size: .68rem; line-height: 1.45; }
.a4-fit-block { padding-left: 8px; }
.a4-fit-list {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #28467e;
  font-size: .83rem;
  font-weight: 600;
}
.a4-fit-list li { display: flex; align-items: center; gap: 12px; }
.a4-fit-list span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1.7px solid #1b57ba;
  border-radius: 50%;
  color: #1b57ba;
  font-size: 11px;
  font-weight: 900;
}
@media (max-width: 1050px) {
  .a4-audience__grid { grid-template-columns: 1fr; gap: 34px; }
  .a4-fit-block { padding-left: 0; }
}
@media (max-width: 760px) {
  .a4-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a4-benefit-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .a4-benefits-grid { grid-template-columns: 1fr; }
  .a4-benefit-card:last-child { grid-column: auto; }
  .a4-benefit-card { min-height: 124px; }
}

/* Brief section: digital treatment planning and implant surgeons. */
.a4-planning {
  padding: 38px 0 44px;
  background: #fff;
}
.a4-planning > .container {
  max-width: 1840px;
  padding-right: clamp(10px, 1.5vw, 28px);
  padding-left: clamp(10px, 1.5vw, 28px);
}
.a4-planning__grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: 22px;
  align-items: stretch;
}
.a4-plan-block,
.a4-team-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid #e1e8f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 62, 125, .07);
}
.a4-planning h2 {
  margin: 0 0 22px;
  color: #153b91;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
  min-height: 2.5em;
}
.a4-plan-block__body {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(220px, 1.1fr);
  min-height: 500px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  flex: 1;
}
.a4-plan-block__content {
  display: flex;
  flex-direction: column;
  padding: 12px 20px 0 0;
}
.a4-plan-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #294779;
  font-size: .78rem;
}
.a4-plan-list li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0 18px; border-bottom: 1px solid #dce6f3; }
.a4-plan-list li > span { color: #ff6900; font-size: 2rem; font-weight: 900; line-height: 1; }
.a4-plan-list strong { display: block; color: #173b8f; font-size: .88rem; line-height: 1.3; }
.a4-plan-list small { display: block; margin-top: 7px; color: #294779; font-size: .72rem; font-weight: 500; line-height: 1.45; }
.a4-plan-block__footer { margin-top: auto; padding-top: 18px; color: #173b8f; }
.a4-plan-block__footer > strong { display: block; font-size: .87rem; }
.a4-plan-block__footer p {
  margin: 7px 0 0;
  color: #294779;
  font-size: .72rem;
  line-height: 1.5;
}
.a4-plan-block__body > img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 58% center;
}
.a4-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}
.a4-team-card { min-width: 0; overflow: hidden; border: 1px solid #e1e8f3; border-radius: 14px; color: inherit; background:#fff; box-shadow:0 8px 24px rgba(23,62,125,.07); text-decoration: none; }
.a4-team-card:focus-visible { outline: 3px solid #ff6900; outline-offset: 5px; border-radius: 12px; }
.a4-team-card__photo {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 0;
  background: #eef4f8;
  box-shadow: 0 8px 22px rgba(23, 62, 125, .08);
}
.a4-team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.a4-team-card__name {
  display: block;
  min-height: 62px;
  padding: 15px 14px 7px;
  color: #173b8f;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.a4-team-card:hover .a4-team-card__name { text-decoration: underline; }
.a4-team-card small {
  display: block;
  margin: 0 14px;
  padding: 12px 0 16px;
  border-top: 2px solid #ff6900;
  color: #647492;
  font-size: .63rem;
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 1400px) {
  .a4-planning__grid { grid-template-columns: 1fr; gap: 38px; }
  .a4-planning h2 { min-height: 0; }
  .a4-plan-block__body { grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr); }
  .a4-team-card__name { font-size: .82rem; }
  .a4-team-card small { font-size: .7rem; }
}
@media (max-width: 850px) {
  .a4-plan-block__body { grid-template-columns: 1fr; }
  .a4-plan-block__body > img { height: 360px; min-height: 0; }
  .a4-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .a4-plan-block, .a4-team-block { padding: 24px 20px; }
  .a4-plan-block__content { min-height: 0; padding: 0; }
  .a4-plan-block__body > img { height: 260px; min-height: 0; }
  .a4-team-grid { gap: 10px; }
  .a4-team-card__name { font-size: .65rem; }
}
@media (max-width: 450px) {
  .a4-team-grid { grid-template-columns: 1fr; gap: 24px; }
  .a4-team-card__photo { aspect-ratio: 4 / 4.5; }
  .a4-team-card__name { min-height: 0; font-size: .78rem; }
}

/* Treatment stages. */
.treatment-steps { padding: 48px 0; background: #f7faff; }
.treatment-steps > .container { max-width: 1560px; }
.treatment-steps__header { margin-bottom: 26px; text-align: center; }
.treatment-steps__header h2 { margin: 0; color: #123b91; font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.08; text-transform: uppercase; }
.treatment-steps__header h2 em { color: #ff6400; font-style: normal; }
.treatment-steps__divider { display: flex; align-items: center; gap: 26px; width: min(100%, 980px); margin: 16px auto 0; color: #1762dc; }
.treatment-steps__divider::before, .treatment-steps__divider::after { height: 1px; flex: 1; content: ""; background: #75a9f2; }
.treatment-steps__divider svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2; }
.treatment-stage { margin-bottom: 14px; padding: 22px 28px 25px; border: 1px solid #e4ebf5; border-radius: 16px; background: #fff; box-shadow: 0 9px 25px rgba(23,62,125,.06); }
.treatment-stage__header { display: flex; align-items: center; gap: 28px; margin-bottom: 16px; }
.treatment-stage__number { display: grid; width: 74px; height: 58px; flex: 0 0 74px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#1765dc,#082979); box-shadow: inset 0 1px rgba(255,255,255,.3); font-size: 2rem; font-weight: 800; }
.treatment-stage__header h3 { margin: 0; color: #123b91; font-size: 1.2rem; }
.treatment-stage__header p { margin: 3px 0 0; color: #526b98; font-size: .86rem; }
.treatment-stage__flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 46px; }
.treatment-step { position: relative; display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 20px; align-items: center; min-width: 0; }
.treatment-step__visual { width: 130px; height: 130px; border-radius: 50%; background-image: url('../img/treatment-steps-sprite.png'); background-repeat: no-repeat; background-size: 300% 300%; box-shadow: inset 0 0 0 1px #e2ebf6; }
.treatment-step__visual--1 { background-position: 0 0; }
.treatment-step__visual--2 { background-position: 50% 0; }
.treatment-step__visual--3 { background-position: 100% 0; }
.treatment-step__visual--4 { background-position: 0 50%; }
.treatment-step__visual--5 { background-position: 50% 50%; }
.treatment-step__visual--6 { background-position: 100% 50%; }
.treatment-step__visual--7 { background-position: 0 100%; }
.treatment-step__visual--8 { background-position: 50% 100%; }
.treatment-step__visual--9 { background-position: 100% 100%; }
.treatment-step__copy h4 { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; color: #123b91; font-size: .92rem; line-height: 1.35; }
.treatment-step__copy h4 i { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 2px solid #1870ee; border-radius: 50%; color: #1870ee; font-size: .72rem; font-style: normal; }
.treatment-step__copy p { margin: 0; color: #415e91; font-size: .79rem; line-height: 1.55; }
.treatment-step__arrow { position: absolute; z-index: 2; top: 50%; right: -35px; display: grid; width: 40px; height: 40px; place-items: center; transform: translateY(-50%); border-radius: 50%; color: #fff; background: #0c4bb8; box-shadow: 0 5px 13px rgba(12,75,184,.25); font-size: 2rem; line-height: 1; }
.treatment-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 70px; width: min(100%,1320px); margin: 14px auto 0; padding: 22px 55px; border: 1px solid #e4ebf5; border-radius: 16px; background: #fff; box-shadow: 0 9px 25px rgba(23,62,125,.06); }
.treatment-benefit { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.treatment-benefit svg { width: 86px; padding: 16px; border-radius: 50%; fill: none; stroke: #123b91; stroke-width: 3; background: #eaf2ff; }
.treatment-benefit h3 { margin: 0 0 8px; color: #123b91; font-size: 1rem; }
.treatment-benefit p { margin: 0; color: #415e91; font-size: .78rem; line-height: 1.55; }
.treatment-benefit--orange svg { stroke: #ff6400; background: #fff0e7; }
@media (max-width: 1150px) {
  .treatment-stage__flow { gap: 26px; }
  .treatment-step { grid-template-columns: 90px 1fr; gap: 13px; }
  .treatment-step__visual { width: 90px; height: 90px; }
  .treatment-step__arrow { right: -24px; width: 34px; height: 34px; }
}
@media (max-width: 850px) {
  .treatment-stage__flow { grid-template-columns: 1fr; gap: 24px; }
  .treatment-step { grid-template-columns: 100px 1fr; }
  .treatment-step__visual { width: 100px; height: 100px; }
  .treatment-step__arrow { top: auto; right: auto; bottom: -29px; left: 34px; transform: rotate(90deg); }
  .treatment-benefits { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
}
@media (max-width: 520px) {
  .treatment-steps__header h2 { font-size: 1.8rem; }
  .treatment-stage { padding: 20px 16px; }
  .treatment-stage__header { gap: 14px; }
  .treatment-stage__number { width: 58px; height: 50px; flex-basis: 58px; font-size: 1.5rem; }
  .treatment-step { grid-template-columns: 72px 1fr; gap: 12px; }
  .treatment-step__visual { width: 72px; height: 72px; }
  .treatment-step__arrow { left: 20px; }
  .treatment-benefit { grid-template-columns: 68px 1fr; gap: 15px; }
  .treatment-benefit svg { width: 66px; padding: 12px; }
}

/* Brief section: tariffs and fixed-price offer. */
.brief-prices {
  padding: 38px 0 20px;
  background: #f8fbff;
}
.brief-prices__grid {
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(420px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}
.brief-prices__tariffs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  align-content: start;
}
.brief-tariff {
  min-height: 285px;
  padding: 18px 22px 16px;
  border: 1px solid #e0e8f4;
  border-radius: 14px;
  color: #173b8f;
  background: #fff;
  box-shadow: 0 9px 26px rgba(23, 62, 125, .06);
}
.brief-tariff h2 {
  margin: 0 0 5px;
  font-size: 1.4rem;
  text-align: center;
}
.brief-tariff__jaw {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 26px;
  margin-bottom: 6px;
}
.brief-tariff__jaw span {
  width: 13px;
  height: 20px;
  border: 1.5px solid #5d83cd;
  border-radius: 45% 45% 55% 55%;
  transform: rotate(6deg);
}
.brief-tariff__jaw span:nth-child(even) { transform: rotate(-6deg); }
.brief-tariff__jaw--six { gap: 3px; }
.brief-tariff__jaw--six span { width: 11px; }
.brief-tariff__price {
  margin: 0 -4px 13px;
  padding: 8px 7px;
  border-radius: 8px;
  color: #1954b7;
  background: #eef5ff;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.brief-tariff h3 { margin: 0 0 8px; font-size: .82rem; }
.brief-tariff ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #334f7d; font-size: .78rem; font-weight: 600; }
.brief-tariff li { display: flex; gap: 7px; }
.brief-tariff li span { color: #1754b8; font-weight: 900; }
.brief-price-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 36px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #d5232b 0%, #b41322 100%);
  box-shadow: 0 12px 30px rgba(172, 21, 35, .2);
  text-align: center;
}
.brief-price-offer h2 { margin: 0 0 11px; color: #fff; font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.2; }
.brief-price-offer p { margin: 0 0 16px; font-size: .75rem; }
.brief-price-offer s { margin-bottom: 3px; font-size: .9rem; font-weight: 650; }
.brief-price-offer > strong { color: #fff; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.1; }
.brief-price-offer small { margin: 10px 0 19px; font-size: .66rem; font-weight: 600; line-height: 1.5; }
.brief-price-offer__button { width: min(100%, 390px); padding: 14px 22px; border-color: #ff7108 !important; color: #fff !important; background: #ff7108 !important; font-size: .82rem; }
.brief-prices__note { grid-column: 1 / -1; margin: 10px 0 0; color: #536987; font-size: .68rem; text-align: center; }
@media (max-width: 980px) {
  .brief-prices__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brief-prices__tariffs { grid-template-columns: 1fr; gap: 12px; }
  .brief-prices__note { grid-column: auto; }
  .brief-price-offer { padding: 28px 20px; }
  .brief-tariff { min-height: 0; }
}
.brief-case > strong { display: block; padding: 13px 13px 4px; color: #173b8f; font-size: .78rem; }
.brief-case > p { min-height: 52px; margin: 0; padding: 0 13px 13px; color: #4a6085; font-size: .68rem; line-height: 1.4; }
.brief-case > p b { color: #233d6d; }
@media (max-width: 1050px) {
  .kt-cases { grid-template-columns: 1fr; }
  .kt-card { grid-template-columns: 1.1fr .9fr; }
  .kt-card__photo { min-height: 330px; }
}
@media (max-width: 680px) {
  #diagnostics { padding-top: 22px; }
  .kt-card { grid-template-columns: 1fr; }
  .kt-card__content { padding: 24px 20px; }
  .kt-card__photo { height: 260px; min-height: 0; object-position: center; }
  .cases-block__grid { grid-template-columns: 1fr; }
  .brief-case { display: block; }
  .brief-case__image { aspect-ratio: 1 / 1; }
  .brief-case > strong { align-self: end; padding: 16px 16px 4px; }
  .brief-case > p { padding: 0 16px 16px; }
}
.header__right { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; gap: 14px; margin-left: auto; }
.header__btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 700;
  padding: 17px 32px; border-radius: var(--r-full);
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #E8A14A 0%, var(--brand-gold) 55%, #C27D2A 100%);
  color: #fff;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t);
  box-shadow: 0 6px 18px rgba(220,147,60,.38);
}
.header__btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  box-shadow: 0 10px 28px rgba(37,89,182,.40);
}

@media (max-width: 1100px) {
  .header__logo { order: 1; }
  .header__right { order: 2; }
  .header__bar-list {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(220, 229, 239, 0.65);
    gap: 10px 16px;
    /* Не переносить блок телефонов под блок адреса — иначе получается 4 строки по высоте */
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .header__bar-li--phones { flex-shrink: 0; }
  .header__bar-li--meta {
    flex: 1 1 0;
    min-width: 0;
  }
  :root { --header-offset: 158px; }
}
@media (max-width: 860px) {
  .header__inner { min-height: 0; padding: 12px 0 14px; }
  .header__bar-list {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    gap: 3px 10px;
    line-height: 1.22;
    padding-top: 10px;
    margin-top: 4px;
  }
  .header__phone-stack,
  .header__meta-stack {
    gap: 2px;
    line-height: 1.2;
  }
  .header__phone-stack .header__bar-item,
  .header__meta-stack .header__bar-item {
    gap: 6px;
  }
  .header__phone-stack .header__bar-ic,
  .header__meta-stack .header__bar-ic {
    width: 15px;
    height: 15px;
  }
  /* Адрес чуть компактнее номеров и часов, чтобы «г. Обнинск, ул. …» оставался в одну строку */
  .header__bar-text--address {
    font-size: clamp(0.62rem, 2.85vw, 0.8rem);
    letter-spacing: -0.025em;
  }
  .header__right {
    display: flex;
    align-self: center;
    margin-left: auto;
  }
  .header__btn {
    font-size: clamp(0.72rem, 2.9vw, 0.86rem);
    font-weight: 700;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(220, 147, 60, 0.34);
  }
}
@media (max-width: 480px) {
  .header__logo-img { height: 44px; max-width: min(200px, 48vw); }
  .header__btn {
    padding: 9px 12px;
    font-size: clamp(0.68rem, 3.1vw, 0.8rem);
  }
  :root { --header-offset: 168px; }
}
@media (max-width: 400px) {
  :root { --header-offset: 182px; }
}

/* =====================================================================
   ГЕРОЙ
===================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-offset) + 2px) 0 clamp(40px, 5.5vw, 72px);
  overflow: hidden;
  background: linear-gradient(180deg, #EAF4F8 0%, #F5FAFC 50%, #FFFFFF 100%);
  isolation: isolate;
}
@media (min-width: 1101px) {
  .hero {
    padding-top: var(--header-offset);
  }
}
@media (max-width: 900px) {
  .hero {
    /* Чуть выше первый экран под фиксированной шапкой (телефон / узкая колонка героя) */
    padding-top: calc(var(--header-offset) - 14px);
  }
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero__bg::before, .hero__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
  animation: heroBlob 16s ease-in-out infinite alternate;
}
.hero__bg::before {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(37,89,182,.55) 0%, rgba(37,89,182,0) 70%);
}
.hero__bg::after {
  width: 520px; height: 520px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(37,89,182,.40) 0%, rgba(37,89,182,0) 70%);
  animation-duration: 22s;
}
@keyframes heroBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}
/* Тонкая сетка точек на фоне */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,35,69,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
  opacity: .55; pointer-events: none; z-index: 0;
}

.hero .container { position: relative; z-index: 2; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  /* Десктоп: верх левой колонки (eyebrow) совпадает с верхом оффера справа */
  align-items: start;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37,89,182,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(37,89,182,.05); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-narrow);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-navy);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  padding: 8px 16px 8px 12px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37,89,182,.25);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero__title {
  color: var(--brand-navy);
  margin-bottom: 16px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding: 0 2px;
}

/* Плашка под заголовком: одна горчично-золотая гамма, мягкий фон */
.hero__tagline {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
  max-width: 100%;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff8ef;
  background-image: linear-gradient(180deg, #fffaf4 0%, #fff0dc 100%);
  border: 1px solid rgba(194, 125, 42, 0.28);
  box-shadow: 0 2px 14px rgba(120, 72, 18, 0.07);
}
/* Единый цвет текста обеих строк (токен бренда) */
.hero__tagline-line1,
.hero__tagline-line2 {
  color: var(--brand-gold-600);
}
.hero__tagline-line1 {
  display: block;
  width: 100%;
  padding: 11px 18px 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(220, 147, 60, 0.14) 0%, rgba(220, 147, 60, 0) 100%);
  border-bottom: 1px solid rgba(194, 125, 42, 0.14);
}
.hero__tagline-line2 {
  display: block;
  width: 100%;
  padding: 9px 18px 12px;
  font-weight: 600;
  font-size: 0.95em;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.4;
  background: transparent;
}
.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: var(--c-text-2);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 560px;
}
.hero__ctas {
  display: flex;
  gap: 10px 12px;
  flex-wrap: nowrap;
  align-items: center;
}
@media (max-width: 1100px) {
  .hero__ctas .btn--lg { padding: 14px 16px; font-size: 0.9rem; }
}

/* Правый блок-оффер: карточка со спецпредложением + плитки */
.hero__visual { display: flex; flex-direction: column; gap: 18px; position: relative; }

/* 4 плитки под оффером */
.hero__stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hero__stat {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #FAFCFF 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 14px 16px 16px;
  text-align: left;
  box-shadow: var(--shadow-xs), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
  isolation: isolate;
}
.hero__stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stat-accent, linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue) 100%));
  border-radius: var(--r-md) var(--r-md) 0 0;
  z-index: 1;
}
.hero__stat::after {
  content: '';
  position: absolute; top: 10px; right: 8px;
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 89, 182, 0.1) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__stat:hover {
  transform: translateY(-2px);
  border-color: var(--brand-blue-100);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.hero__stat-ic {
  position: relative;
  z-index: 2;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--icon-bg, #fff);
  color: var(--icon-fg, var(--brand-blue-600));
  border: 1px solid var(--icon-brd, var(--brand-blue-100));
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 35, 69, 0.06);
}
.hero__stat:nth-child(1)::before {
  background: linear-gradient(90deg, #E5A13B 0%, #C27D2A 100%);
}
.hero__stat:nth-child(2)::before {
  background: linear-gradient(90deg, #2559B6 0%, #1E4A9E 100%);
}
.hero__stat:nth-child(3)::before {
  background: linear-gradient(90deg, #3D7BC9 0%, #2559B6 100%);
}
.hero__stat:nth-child(4)::before {
  background: linear-gradient(90deg, #0B2A4B 0%, #2559B6 100%);
}
.hero__stat:nth-child(1)::after {
  background: radial-gradient(circle, rgba(220, 147, 60, 0.12) 0%, transparent 70%);
}
.hero__stat:nth-child(2)::after {
  background: radial-gradient(circle, rgba(37, 89, 182, 0.15) 0%, transparent 70%);
}
.hero__stat:nth-child(3)::after {
  background: radial-gradient(circle, rgba(37, 89, 182, 0.1) 0%, transparent 70%);
}
.hero__stat:nth-child(1) .hero__stat-ic { --icon-bg: #FFF6EC; --icon-fg: #B86E1E; --icon-brd: #F5D9B3; }
.hero__stat:nth-child(2) .hero__stat-ic { --icon-bg: #E8EEF9; --icon-fg: #1E4A9E; --icon-brd: #D0D8EC; }
.hero__stat:nth-child(3) .hero__stat-ic { --icon-bg: #E8EEF9; --icon-fg: #2559B6; --icon-brd: #C9D4EC; }
.hero__stat:nth-child(4) .hero__stat-ic { --icon-bg: #E8EEF9; --icon-fg: #0B2A4B; --icon-brd: #C9D4EC; }
.hero__stat-ic svg { width: 16px; height: 16px; display: block; }
.hero__stat-num {
  position: relative; z-index: 2;
  display: block;
  font-family: var(--f-head);
  font-size: 1.15rem; font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.hero__stat-r5 {
  font-size: 0.78em; color: var(--c-muted-2); font-weight: 600; letter-spacing: 0.02em;
}
.hero__stat-txt {
  position: relative; z-index: 2;
  font-size: 0.76rem;
  color: var(--c-muted);
  line-height: 1.35;
}
/* Сноска к «1 место» — сразу под подписью рейтинга */
.hero__stat-footnote {
  position: relative; z-index: 2;
  margin: 4px 0 0;
  margin-bottom: 0;
  padding: 0;
  font-size: 0.6rem;
  color: var(--c-muted-2);
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-weight: 400;
}

@media (max-width: 900px) and (min-width: 641px) {
  .hero__stat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 380px) {
  .hero__stat-grid { grid-template-columns: 1fr; }
}
.hero__offer {
  position: relative;
  /* Верхняя полоса — слой в background: обрезается вместе с border-radius, не вылезает за рамку */
  background-color: #fff;
  background-image:
    linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue) 50%, var(--brand-gold) 100%),
    radial-gradient(80% 60% at 100% 0%, rgba(37,89,182,.14) 0%, transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(220,147,60,.10) 0%, transparent 60%);
  background-size: 100% 5px, auto, auto;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat;
  /* Полоса — в padding-box, по внутренней дуге скругления; остальные слои — на всю карточку */
  background-clip: padding-box, border-box, border-box;
  background-origin: padding-box, border-box, border-box;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 44px 36px 44px;
  box-shadow: 0 26px 64px rgba(0,35,69,.16);
  text-align: center;
  overflow: visible;
}
.hero__offer-lead {
  position: relative; z-index: 1;
  font-size: 1.08rem; font-weight: 700; color: var(--brand-navy);
  line-height: 1.4; margin-bottom: 14px; padding-top: 2px;
}
.hero__offer-detail {
  position: relative; z-index: 1;
  font-size: 0.88rem; color: var(--c-muted);
  line-height: 1.55; margin-bottom: 28px;
  max-width: 380px; margin-left: auto; margin-right: auto;
}
.hero__offer-mis {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--brand-navy);
}
.hero__price-wrap {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 6px 4px;
}
/* Мягкое «свечение» за ценой: тот же скруглённый прямоугольник, без вращающейся кривой */
.hero__price-burst {
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg,
    rgba(37, 89, 182, 0.38) 0%,
    rgba(37, 89, 182, 0.28) 45%,
    rgba(220, 147, 60, 0.32) 100%);
  border-radius: calc(var(--r-lg) + 6px);
  filter: blur(16px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero__price-tag {
  position: relative; z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-head);
  padding: 16px 34px 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow:
    0 18px 44px rgba(0,35,69,.32),
    inset 0 0 0 1px rgba(255,255,255,.12);
  font-variant-numeric: tabular-nums;
}
.hero__price-old {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  text-decoration: line-through;
  opacity: 0.78;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.hero__price-current {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}
.hero__price-tag::before {
  content: '';
  position: absolute; top: -14px; right: -14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--brand-gold) 0%, var(--brand-gold-600) 100%);
  box-shadow: 0 10px 24px rgba(220,147,60,.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2l2.9 6 6.6.7-5 4.6 1.5 6.7L12 16.8 6 20l1.5-6.7-5-4.6 6.6-.7z'/></svg>") center/22px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2l2.9 6 6.6.7-5 4.6 1.5 6.7L12 16.8 6 20l1.5-6.7-5-4.6 6.6-.7z'/></svg>") center/22px no-repeat;
  transform: rotate(-6deg);
}

@media (max-width: 900px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .hero__content,
  .hero__visual {
    display: contents;
  }
  /* Мобильный порядок: оффер с ценой → «Стоматология…» → заголовок и текст имплантации → кнопки → плитки */
  .hero__offer {
    order: 1;
    width: 100%;
    padding: 32px 22px;
  }
  .hero__eyebrow {
    order: 2;
    align-self: center;
    margin-bottom: 0;
  }
  .hero__title { order: 3; }
  .hero__tagline { order: 4; }
  .hero__sub { order: 5; }
  .hero__ctas {
    order: 6;
    width: 100%;
  }
  .hero__stat-grid {
    order: 7;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .hero__ctas .btn,
  .hero__ctas .btn--lg {
    justify-content: center;
    white-space: normal;
    text-align: center;
    width: 100%;
  }
}

/* =====================================================================
   БЛОК 2: ДИАГНОСТИКА + ИИ (ДИАГНОКАТ)
===================================================================== */
/* Две независимые колонки: minmax(0) убирает наезд текста на соседнюю ячейку */
.diag__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 3.5vw, 48px);
  align-items: start;
  width: 100%;
}
.diag__grid > .reveal { min-width: 0; }
.diag__col--visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  /* Выровнять визуал с заголовком слева */
  margin-top: clamp(-4px, -0.4vw, -12px);
}
.diag__col--visual .diag__badge:not(.diag__badge--in-mascot) { align-self: flex-start; }
.diag__col--text h2 { margin: 0; }
.diag__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 22px;
}
.diag__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-blue-50) 100%);
  border: 1px solid var(--brand-blue-100);
  border-left: 4px solid var(--brand-blue-600);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.diag__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-blue-100);
}
.diag__item-ic {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 74, 158, 0.3);
}
.diag__item-ic svg { width: 20px; height: 20px; display: block; }
.diag__item-text { flex: 1; min-width: 0; }
.diag__visual {
  position: relative;
  background: transparent;
  border-radius: 0;
  min-height: 0;
  display: block;
  margin: 0;
  color: var(--c-text);
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}
.diag__badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #fff 0%, var(--brand-blue-50) 100%);
  color: var(--brand-navy);
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--brand-blue-100);
  font-family: var(--f-narrow); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  box-shadow: 0 2px 10px rgba(37, 89, 182, 0.1);
}
.diag__badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37,89,182,.25);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.diag__badge svg { color: var(--brand-blue); }
/* Плашка по центру иллюстрации, поверх вуали (::after = z-index 1) */
.diag__badge.diag__badge--in-mascot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  justify-content: center;
  margin: 0;
  text-align: center;
  border-radius: var(--r-full);
  border: 1px solid var(--brand-blue-100);
  box-shadow:
    0 4px 20px rgba(0, 35, 69, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  padding: 12px 22px;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .diag__badge.diag__badge--in-mascot {
    white-space: normal;
    max-width: calc(100% - 20px);
    padding: 10px 14px;
    font-size: 0.65rem;
  }
}

/* Визуал Диагнокат: фото / иллюстрация */
.diag__scan {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  line-height: 0;
  background: var(--c-line);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.85) inset,
    0 24px 60px -12px rgba(37, 89, 182, 0.28),
    0 12px 32px -8px rgba(0, 35, 69, 0.22);
  border: 1px solid var(--brand-blue-100);
}
.diag__scan::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.diag__scan-img {
  width: 100%;
  height: auto;
  min-height: min(480px, 55vh);
  max-height: min(620px, 72vh);
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transform: scale(1.01);
  transform-origin: center center;
  transition: transform 0.5s var(--t-slow);
}
.diag__scan:hover .diag__scan-img {
  transform: scale(1.04);
}
.diag__mascot-img-wrap {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(480px, 58vh);
  padding: 16px 20px 24px;
  line-height: 0;
  overflow: hidden;
  transition: transform 0.5s var(--t-slow);
}
/* Вуаль поверх иллюстрации (как .promo__visual::after) — мягкий градиент, стык с фоном карточки */
.diag__mascot-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.32) 28%,
    rgba(244, 249, 253, 0.38) 52%,
    rgba(255, 255, 255, 0.68) 100%
  );
}
.diag__scan--mascot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  min-height: min(500px, 60vh);
  padding: 0;
  line-height: 0;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(37, 89, 182, 0.06) 0%, transparent 55%),
    linear-gradient(165deg, #fbfdff 0%, var(--brand-blue-50) 40%, #f0f4f8 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 16px 40px -14px rgba(37, 89, 182, 0.18),
    0 8px 24px -10px rgba(0, 35, 69, 0.12);
}
.diag__scan-img--mascot {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(620px, 65vh);
  min-height: 0;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center center;
  transform: none;
  flex: 0 1 auto;
}
.diag__scan--mascot:hover .diag__mascot-img-wrap {
  transform: scale(1.02);
  transform-origin: center center;
}
.diag__scan--mascot:hover .diag__scan-img--mascot {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .diag__scan .diag__scan-img,
  .diag__scan:hover .diag__scan-img,
  .diag__scan--mascot:hover .diag__mascot-img-wrap { transform: none; transition: none; }
}

/* Final hero geometry: the supplied photo is the complete right panel. */
.lazurit-landing #hero .hero__inner--new {
  gap: 0;
  align-items: stretch;
}
.lazurit-landing #hero {
  padding-top: calc(var(--header-offset) + 18px);
}
.lazurit-landing #hero .hero__visual {
  display: block;
  align-self: stretch;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.lazurit-landing #hero .hero__new-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 800px) {
  .lazurit-landing #hero { padding-top: calc(var(--header-offset) + 10px); }
  .lazurit-landing #hero .hero__visual { min-height: 360px; }
}

/* Trust strip below the new hero. */
.trust-strip {
  padding: 0 0 28px;
  background: #fff;
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #dce6f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 62, 125, .07);
}
.trust-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 22px 18px;
  color: #173b8f;
}
.trust-strip__item + .trust-strip__item {
  border-left: 1px solid #e7edf6;
}
.trust-strip__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #174db3;
}
.trust-strip__icon svg { width: 100%; height: 100%; }
.trust-strip__item > span:last-child { display: grid; gap: 4px; }
.trust-strip__item strong { font-size: .82rem; line-height: 1.3; }
.trust-strip__item small { color: #45618f; font-size: .72rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__item { justify-content: flex-start; }
  .trust-strip__item:nth-child(3) { border-left: 0; }
  .trust-strip__item:nth-child(n+3) { border-top: 1px solid #e7edf6; }
}
@media (max-width: 520px) {
  .trust-strip { padding-bottom: 18px; }
  .trust-strip__inner { grid-template-columns: 1fr; }
  .trust-strip__item { padding: 16px 20px; }
  .trust-strip__item + .trust-strip__item { border-left: 0; border-top: 1px solid #e7edf6; }
  .trust-strip__icon { width: 32px; height: 32px; flex-basis: 32px; }
}

@media (max-width: 900px) {
  .diag__scan-img {
    min-height: min(360px, 50vh);
    max-height: min(520px, 65vh);
  }
  .diag__mascot-img-wrap {
    min-height: min(400px, 52vh);
    padding: 12px 16px 20px;
  }
  .diag__scan--mascot {
    min-height: min(420px, 55vh);
  }
  .diag__scan-img--mascot {
    max-height: min(520px, 60vh);
  }
}
@media (max-width: 860px) {
  .diag__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* =====================================================================
   БЛОК 3: ТРИ ШАГА
===================================================================== */
.steps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #FBFDFF 100%), #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 36px 28px 30px;
  box-shadow: 0 10px 28px rgba(0,35,69,.08);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
  isolation: isolate;
}
.step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  transform: scaleX(.25); transform-origin: left;
  transition: transform var(--t-slow);
}
.step::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(37,89,182,.10) 0%, transparent 70%);
  z-index: -1;
  transition: transform var(--t-slow);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,35,69,.12); border-color: var(--brand-blue-100); }
.step:hover::before { transform: scaleX(1); }
.step:hover::after { transform: scale(1.2); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: #fff;
  font-family: var(--f-head);
  font-size: 1.25rem; font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(37,89,182,.3);
  letter-spacing: -0.02em;
}
.step__title { font-size: 1.05rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 10px; line-height: 1.3; }
.step__text { font-size: 0.93rem; color: var(--c-muted); line-height: 1.6; }

@media (max-width: 860px) {
  .steps__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* =====================================================================
   БЛОК 4: ALL-ON-4 / ALL-ON-6
===================================================================== */
/* All-on-4/6: H2 по центру; две колонки «одной высоты»; CTA в левой с кнопкой на ширину панели */
/* Доп. воздух снизу до блока срочности (перекрывает только padding-bottom у .section). */
#allon.section { padding-bottom: clamp(44px, 5.5vw, 72px); }
/* Якорь «Узнать подробнее» — заголовок секции All-on-4/6 под фикс. шапкой */
#allon-head { scroll-margin-top: calc(var(--header-offset) + 8px); }
.allon__layout { display: flex; flex-direction: column; gap: 0; }
/* Как у .section-header: заголовок по центру */
.allon__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(20px, 2.8vw, 32px);
}
.allon__head h2 { margin: 0; }
.allon__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.allon__row > .allon__col { min-width: 0; display: flex; flex-direction: column; }
/* Левая колонка: панель + кнопка на всю ширину, колонка = высоте сетки */
.allon__left-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  justify-content: flex-start;
}
.allon__left-cta {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}
/* Правая колонка: две карточки на всю высоту слева, делят пространство поровну */
.allon__col--right { min-height: 0; }
.allon__col--right .allon__cards {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.allon__col--right .allon__card { flex: 1 1 0; min-height: 0; }
/* — «Что вы получаете»: панель + карточки-позиции */
.allon__benefits {
  margin: 0 0 0;
  padding: 22px 20px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 252, 0.9) 100%),
    linear-gradient(0deg, rgba(37, 89, 182, 0.07) 0%, transparent 60%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: 0 10px 40px rgba(0, 35, 69, 0.07);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.allon__benefits::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Как плашки в блоке «Диагнокат» */
.allon__benefits-title {
  position: relative; z-index: 2;
  margin: 0 0 16px 0;
  font-family: var(--f-head);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--brand-navy);
}
.allon__benefits-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 2;
}
.allon__benefit {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  margin: 0; padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-blue-50) 100%);
  border: 1px solid var(--brand-blue-100);
  border-left: 4px solid var(--brand-blue-600);
  border-radius: 12px;
  font-size: 0.98rem; font-weight: 600; color: var(--c-text);
  line-height: 1.3;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.allon__benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-blue-100);
}
/* Единый акцент, как у .diag__item-ic */
.allon__benefit-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 0.9rem; font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  box-shadow: 0 4px 12px rgba(30, 74, 158, 0.3);
}
.allon__benefit-text { flex: 1; min-width: 0; }
.allon__cards { display: flex; flex-direction: column; gap: 20px; position: relative; }
.allon__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 28px 28px 26px;
  box-shadow: 0 12px 30px rgba(0,35,69,.08);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.allon__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  transform: scaleX(.3); transform-origin: left;
  transition: transform var(--t-slow);
}
.allon__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,35,69,.12); border-color: var(--brand-blue-100); }
.allon__card:hover::before { transform: scaleX(1); }

/* All-on-4 — золотая ветка */
.allon__card--4 {
  border: 1.5px solid var(--brand-gold-100);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(220,147,60,.10) 0%, transparent 55%),
    #fff;
  box-shadow: 0 14px 32px rgba(220,147,60,.20);
}
.allon__card--4::before {
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-gold-600) 100%);
  transform: scaleX(1);
}
.allon__card--4 .allon__card-badge {
  background: linear-gradient(135deg, #E8A14A 0%, var(--brand-gold) 50%, #C27D2A 100%);
  color: #fff;
}
.allon__card--4 .allon__card-icons {
  background: var(--brand-gold-50);
  border-color: var(--brand-gold-100);
}
.allon__card--4 .allon__card-icons span {
  background: linear-gradient(180deg, #E8A14A 0%, var(--brand-gold) 100%);
  box-shadow: 0 2px 4px rgba(220,147,60,.3);
}
.allon__card--4 .allon__card-price {
  background: linear-gradient(135deg, #E8A14A 0%, var(--brand-gold) 50%, #C27D2A 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220,147,60,.32);
  border: 1px solid rgba(255,255,255,.2);
}
.allon__card--4 .allon__card-price span { color: rgba(255,255,255,.9); }

/* All-on-6 — синяя ветка */
.allon__card--6 {
  border: 1.5px solid rgba(37,89,182,.25);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(37,89,182,.10) 0%, transparent 55%),
    #fff;
  box-shadow: 0 14px 36px rgba(37,89,182,.16);
}
.allon__card--6::before {
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  transform: scaleX(1);
}
.allon__card--6 .allon__card-badge {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
  color: #fff;
}
.allon__card--6 .allon__card-icons {
  background: var(--brand-blue-50);
  border-color: var(--brand-blue-100);
}
.allon__card--6 .allon__card-icons span {
  background: linear-gradient(180deg, var(--brand-blue-600) 0%, var(--brand-blue) 100%);
  box-shadow: 0 2px 4px rgba(37,89,182,.25);
}
.allon__card--6 .allon__card-price {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,35,69,.22);
}
.allon__card--6 .allon__card-price span { color: rgba(255,255,255,.75); }

.allon__card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 12px;
}
.allon__card-badge {
  display: inline-block;
  color: #fff;
  font-family: var(--f-narrow);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-full);
}
.allon__card-icons {
  display: inline-flex; gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-full);
}
.allon__card-icons span {
  width: 10px; height: 14px;
  border-radius: 3px 3px 50% 50% / 3px 3px 100% 100%;
  display: block;
}
.allon__card-title { font-family: var(--f-head); font-size: 1.35rem; font-weight: 800; color: var(--brand-navy); margin-bottom: 4px; letter-spacing: -0.01em; }
/* Без flex:1 — иначе блок описания тянется на высоту карточки и строка «клеится» к визуалу рядом с ценой */
.allon__card-desc { font-size: 0.95rem; color: var(--c-muted); margin-bottom: 0; line-height: 1.45; }
/* Мелко на месте бывшей строки «несъёмный протез…» */
.allon__card-desc--surgical {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted-2);
  line-height: 1.35;
  margin: 2px 0 10px;
  letter-spacing: 0.02em;
}
.allon__card-price {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--f-head);
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.02em;
  padding: 10px 18px;
  border-radius: var(--r);
  font-variant-numeric: tabular-nums;
  color: var(--brand-navy);
  background: var(--c-bg);
}
.allon__card-price span {
  font-size: 0.78rem; font-weight: 500;
  margin-left: 4px;
}

@media (max-width: 860px) {
  .allon__row { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .allon__col--right .allon__cards { min-height: 0; flex: none; }
  .allon__col--right .allon__card { flex: 0 0 auto; }
  .allon__left-stack { min-height: 0; }
}

/* =====================================================================
   БЛОК 5: СРОЧНОСТЬ
===================================================================== */
.urgency {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(210,58,58,.07) 0%, transparent 60%),
    linear-gradient(180deg, #FFF6F4 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.urgency::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-gold) 100%);
}
.urgency__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: stretch; }
.urgency__grid > .reveal { display: flex; flex-direction: column; }
.urgency__headline {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  text-align: center;
  font-family: var(--f-head);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #B02A2A 100%);
  border-radius: var(--r);
  box-shadow: 0 12px 30px rgba(210,58,58,.30);
}
.urgency__promo {
  font-size: 1.05rem; font-weight: 600; color: var(--brand-navy);
  margin-bottom: 8px; line-height: 1.5;
}
.urgency__package {
  font-size: 0.92rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 12px;
}
.urgency__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 4px;
  font-family: var(--f-head);
  letter-spacing: -0.02em;
  padding: 12px 22px 14px;
  background: #fff;
  border: 2px solid var(--brand-navy);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.urgency__price-old {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--c-muted);
  text-decoration: line-through;
  line-height: 1.15;
}
.urgency__price-new {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}
.urgency__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 0;
}
.urgency__item {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.9rem; color: var(--c-text); line-height: 1.5;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--brand-red);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}
.urgency__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.urgency__item::before {
  content: '';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--brand-red) 0%, #B02A2A 100%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01' stroke='white' stroke-width='1' fill='white'/></svg>") center/18px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01' stroke='white' stroke-width='1' fill='white'/></svg>") center/18px no-repeat;
  box-shadow: 0 6px 14px rgba(210,58,58,.25);
}

@media (max-width: 720px) {
  .urgency__list { grid-template-columns: 1fr; }
}
.urgency__cta-box {
  background:
    linear-gradient(168deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(232, 238, 249, 0.72) 40%,
      rgba(0, 35, 69, 0.42) 100%),
    url("../img/_DSC7716.jpg") center/cover no-repeat;
  border: 1px solid var(--brand-blue-100);
  border-radius: var(--r-xl);
  /* Контент у верхнего края, не по центру картинки */
  padding: 22px 32px 40px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 35, 69, 0.12);
  color: var(--brand-navy);
  position: relative; overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 300px;
  height: 100%;
  isolation: isolate;
}
.urgency__cta-box::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
  z-index: 2;
}
.urgency__cta-box::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.urgency__cta-box .urgency__cta-text,
.urgency__cta-box .btn { position: relative; z-index: 1; }
.urgency__cta-text {
  position: relative;
  font-family: var(--f-head);
  font-size: 1.3rem; font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 22px; line-height: 1.35;
  margin-top: 2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (max-width: 860px) { .urgency__grid { grid-template-columns: 1fr; gap: 24px; } }

/* =====================================================================
   БЛОК: ДО/ПОСЛЕ
===================================================================== */
.before-after__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
  align-items: start;
}
.ba-card {
  min-width: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,35,69,.08);
  border: 1px solid var(--c-line);
  background: #fff;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  isolation: isolate;
}
.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-blue-100); }
.ba-card--image .ba-card__full {
  line-height: 0;
  background: #E9F1F7;
  overflow: hidden;
  position: relative;
}
.ba-card--image .ba-card__full::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(0,35,69,.25) 100%);
  opacity: 0; transition: opacity var(--t);
  pointer-events: none;
}
.ba-card:hover .ba-card__full::after { opacity: 1; }
.ba-card--image .ba-card__full img {
  position: relative; z-index: 0;
  width: 100%; height: auto; display: block;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.ba-card:hover .ba-card__full img { transform: scale(1.05); }
@media (max-width: 1200px) {
  .before-after__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .before-after__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .before-after__grid { grid-template-columns: 1fr; }
}
.ba-card__label {
  position: absolute;
  left: 12px;
  z-index: 3;
  font-family: var(--f-narrow);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(0,35,69,.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  pointer-events: none;
  line-height: 1.2;
}
.ba-card__label--after { top: 12px; }
.ba-card__label--before { bottom: 12px; }

/* =====================================================================
   БЛОК: ВРАЧИ
===================================================================== */
.doctors__grid {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
}
.doctor-card {
  flex: 1 1 calc((100% - 88px) / 5);
  min-width: 200px; max-width: 240px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,35,69,.08);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  isolation: isolate;
  position: relative;
}
.doctor-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
  z-index: 3;
  opacity: .85;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-blue-100); }
.doctor-card__photo {
  background: var(--c-bg);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.doctor-card__photo::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,35,69,.55) 100%);
  opacity: 0; transition: opacity var(--t);
}
.doctor-card:hover .doctor-card__photo::after { opacity: 1; }
.doctor-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.doctor-card:hover .doctor-card__photo img { transform: scale(1.05); }
.doctor-card__info {
  padding: 20px 18px 22px;
  border-top: 1px solid var(--c-line);
  background: #fff;
  position: relative;
}
.doctor-card__name {
  font-family: var(--f-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doctor-card__name-first,
.doctor-card__name-last {
  display: block;
}
.doctor-card__spec { font-size: 0.8rem; color: var(--c-muted); line-height: 1.5; }

@media (max-width: 1100px) {
  .doctor-card { flex-basis: calc((100% - 44px) / 3); max-width: 260px; }
}
@media (max-width: 700px) {
  .doctor-card { flex-basis: calc((100% - 22px) / 2); max-width: none; }
}
@media (max-width: 520px) {
  .doctor-card { flex: 1 1 100%; max-width: 340px; }
}

/* =====================================================================
   БЛОК: ОТЗЫВЫ
===================================================================== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
  margin-top: 24px;
}
.review-card {
  position: relative;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(37,89,182,.06) 0%, transparent 48%),
    #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: 0 12px 32px rgba(0,35,69,.08);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
  isolation: isolate;
}
.review-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
  opacity: .8;
  z-index: 2;
}
.review-card::before {
  content: '“';
  position: absolute; top: -16px; right: 14px;
  font-family: Georgia, serif;
  font-size: 8rem; line-height: 1; color: rgba(37,89,182,.08);
  pointer-events: none; user-select: none;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-blue-100); }
.review-card__stars {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--brand-gold-600);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.review-card__stars::before {
  content: '';
  width: 86px; height: 14px;
  background: var(--brand-gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 14'><g fill='white'><path d='M7 0l1.8 4.2 4.5.4-3.4 3 1 4.4L7 9.8 3.1 12l1-4.4L.7 4.6l4.5-.4z'/><path d='M25 0l1.8 4.2 4.5.4-3.4 3 1 4.4L25 9.8 21.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M43 0l1.8 4.2 4.5.4-3.4 3 1 4.4L43 9.8 39.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M61 0l1.8 4.2 4.5.4-3.4 3 1 4.4L61 9.8 57.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M79 0l1.8 4.2 4.5.4-3.4 3 1 4.4L79 9.8 75.1 12l1-4.4-3.4-3 4.5-.4z'/></g></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 14'><g fill='white'><path d='M7 0l1.8 4.2 4.5.4-3.4 3 1 4.4L7 9.8 3.1 12l1-4.4L.7 4.6l4.5-.4z'/><path d='M25 0l1.8 4.2 4.5.4-3.4 3 1 4.4L25 9.8 21.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M43 0l1.8 4.2 4.5.4-3.4 3 1 4.4L43 9.8 39.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M61 0l1.8 4.2 4.5.4-3.4 3 1 4.4L61 9.8 57.1 12l1-4.4-3.4-3 4.5-.4z'/><path d='M79 0l1.8 4.2 4.5.4-3.4 3 1 4.4L79 9.8 75.1 12l1-4.4-3.4-3 4.5-.4z'/></g></svg>") center/contain no-repeat;
}
.review-card__text {
  position: relative;
  font-size: 0.95rem; color: var(--c-text);
  line-height: 1.7; flex: 1; font-style: italic;
}
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700;
  color: #fff; font-size: 0.95rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,89,182,.25);
}
.review-card__name { font-size: 0.9rem; font-weight: 700; color: var(--brand-navy); }
.review-card__source { font-size: 0.74rem; color: var(--c-muted); margin-top: 2px; }
.reviews__logos {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.reviews__logo-badge {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  padding: 10px 22px;
  font-family: var(--f-narrow);
  font-size: 0.85rem; font-weight: 700;
  color: var(--brand-navy);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t), border-color var(--t);
  text-decoration: none;
  cursor: default;
}
a.reviews__logo-badge { cursor: pointer; }
.reviews__logo-badge:hover { transform: translateY(-2px); border-color: var(--brand-blue); }
a.reviews__logo-badge:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
.reviews__logo-badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue);
}

/* =====================================================================
   БЛОК: АКЦИЯ
===================================================================== */
.promo__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: center; }
.promo__items { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 12px; }
/* Как остальные плашки, но в фирменном синем (оттенки --brand-blue) */
.promo__item {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.98rem; font-weight: 600; line-height: 1.3; color: var(--c-text);
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-blue-50) 100%);
  border: 1px solid var(--brand-blue-100);
  border-left: 4px solid var(--brand-blue-600);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.promo__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--brand-blue-100); }
.promo__check {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 74, 158, 0.32);
  overflow: visible;
}
.promo__check svg {
  display: block;
  width: 20px; height: 20px;
  color: #fff;
  flex-shrink: 0;
  overflow: visible;
}
.promo__disclaimer {
  font-size: 0.78rem; color: var(--c-muted);
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--brand-blue-100);
  line-height: 1.5;
}
.promo__visual {
  position: relative;
  background: var(--c-bg);
  border: 1px solid var(--brand-blue-100);
  border-radius: var(--r-xl);
  padding: 44px 30px 40px;
  text-align: center;
  color: var(--brand-navy);
  box-shadow: 0 18px 40px rgba(0, 35, 69, 0.09);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(300px, 44vw, 420px);
}
/* Полоска: фирменный синий */
.promo__visual::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  pointer-events: none;
}
/* Фото + вуаль для читаемости плашек и подписи */
.promo__visual::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.45) 32%,
      rgba(244, 249, 253, 0.35) 52%,
      rgba(255, 255, 255, 0.78) 100%
    ),
    url("../img/_DSC7995.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.promo__visual > * { position: relative; z-index: 1; }

.promo__medal {
  position: relative;
  width: 180px; height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background:
    conic-gradient(from 0deg, var(--brand-gold) 0deg, #F3B860 45deg, var(--brand-gold-600) 90deg, #F3B860 135deg, var(--brand-gold) 180deg, #F3B860 225deg, var(--brand-gold-600) 270deg, #F3B860 315deg, var(--brand-gold) 360deg);
  box-shadow:
    0 24px 60px rgba(220,147,60,.40),
    inset 0 0 0 1px rgba(255,255,255,.3);
}
.promo__medal--sm {
  width: 130px; height: 130px;
  margin: -40px 0 0 auto;
  transform: translateX(-8px) rotate(6deg);
  z-index: 2;
  background:
    conic-gradient(from 0deg, var(--brand-blue) 0deg, #4A6FC9 45deg, var(--brand-blue-600) 90deg, #4A6FC9 135deg, var(--brand-blue) 180deg, #4A6FC9 225deg, var(--brand-blue-600) 270deg, #4A6FC9 315deg, var(--brand-blue) 360deg);
  box-shadow: 0 18px 46px rgba(37, 89, 182, 0.38), inset 0 0 0 1px rgba(255,255,255,.3);
}
.promo__medal-ring {
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.55);
  animation: rotateRing 22s linear infinite;
}
.promo__medal-inner {
  position: relative; z-index: 1;
  width: 80%; height: 80%;
  border-radius: 50%;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: inset 0 4px 12px rgba(220,147,60,.18);
  padding: 6px;
}
.promo__medal--sm .promo__medal-inner { box-shadow: inset 0 4px 12px rgba(37, 89, 182, 0.22); }
.promo__medal-pct {
  font-family: var(--f-head);
  font-size: 1.9rem; font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.promo__medal-pct b { font-weight: 900; }
.promo__medal-pct span { font-size: 1.1rem; color: var(--brand-gold-600); margin-left: 2px; }
.promo__medal-pct--free {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: uppercase;
}
.promo__medal--sm .promo__medal-pct { font-size: 1.4rem; }
.promo__medal--sm .promo__medal-pct span { color: var(--brand-blue-600); font-size: 0.85rem; }
.promo__medal-label {
  font-family: var(--f-narrow);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-muted);
  line-height: 1.2;
}
.promo__medal--sm .promo__medal-label { font-size: 0.52rem; }

.promo__visual-title {
  position: relative;
  font-family: var(--f-head);
  font-size: 1.35rem; font-weight: 800;
  margin-top: 28px; margin-bottom: 6px; line-height: 1.3;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}
.promo__visual-text {
  position: relative; font-size: 0.92rem; color: var(--c-muted);
  font-weight: 500; letter-spacing: 0.02em;
}

@media (max-width: 860px) { .promo__grid { grid-template-columns: 1fr; gap: 26px; } }

/* =====================================================================
   БЛОК: ЦЕНА «ПОД КЛЮЧ»
===================================================================== */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 14px 34px rgba(0,35,69,.08);
  margin: 28px 0 20px;
  background: #fff;
}
.price-table thead tr {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0B3566 100%);
}
.price-table th {
  padding: 16px 20px; text-align: left;
  font-family: var(--f-narrow);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border-bottom: none;
}
.price-table tbody tr { transition: background var(--t-fast); }
.price-table tbody tr:nth-child(even) { background: var(--c-bg); }
.price-table tbody tr:hover { background: var(--brand-blue-50); }
.price-table td {
  padding: 18px 20px; font-size: 0.95rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td:first-child { font-weight: 700; color: var(--brand-navy); }
.price-table td:last-child {
  font-family: var(--f-head); font-size: 1.02rem; font-weight: 800;
  color: var(--brand-navy);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.price-table th:last-child { text-align: right; }

.price-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 28px;
  margin-bottom: 20px;
}
.price-table-scroll:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: var(--r);
}
.price-table-scroll .price-table {
  margin-top: 0;
  margin-bottom: 0;
  min-width: 540px;
}

@media (max-width: 600px) {
  .price-table { font-size: 0.85rem; }
  .price-table th, .price-table td { padding: 14px 14px; }
  .price-table td:last-child { font-size: 1rem; }
}
@media (max-width: 480px) {
  .price-table td:last-child {
    white-space: normal;
    text-align: right;
  }
}

/* =====================================================================
   БЛОК: ГАРАНТИИ
===================================================================== */
.guarantee-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.guarantee-section::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 8% 0%, rgba(37, 89, 182, 0.08) 0%, transparent 55%),
    radial-gradient(55% 70% at 100% 100%, rgba(220, 147, 60, 0.10) 0%, transparent 55%);
  pointer-events: none;
}
.guarantee-section .section-header { margin-bottom: clamp(20px, 3vw, 32px); }
.guarantees__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 0;
}
.guarantee-card {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 30px 28px 28px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.86) 100%);
  border: 1px solid rgba(208, 216, 236, 0.85);
  backdrop-filter: blur(6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 18px 44px rgba(0, 35, 69, 0.10);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.guarantee-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.guarantee-card__bg-num {
  position: absolute;
  right: -14px; bottom: -36px;
  font-family: var(--f-head);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(37,89,182,.08) 0%, rgba(37,89,182,.02) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.guarantee-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 26px 60px rgba(0, 35, 69, 0.16);
  border-color: var(--brand-blue-100);
}
/* Верхний блок одной высоты — цифры «год/года» и плашки на одной линии в ряду */
.guarantee-card__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 auto;
  min-height: clamp(116px, 21vw, 140px);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.guarantee-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 16px;
  margin-bottom: 0;
  position: relative; z-index: 1;
}
.guarantee-card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--c-white);
  box-shadow: 0 10px 22px rgba(37,89,182,.32);
  flex: 0 0 auto;
}
.guarantee-card__icon svg { width: 26px; height: 26px; }
.guarantee-card--gold .guarantee-card__icon {
  background: linear-gradient(140deg, var(--brand-gold-600) 0%, var(--brand-gold) 100%);
  box-shadow: 0 10px 22px rgba(220,147,60,.36);
}
.guarantee-card--gold .guarantee-card__bg-num {
  background: linear-gradient(180deg, rgba(220,147,60,.16) 0%, rgba(220,147,60,.04) 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
.guarantee-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-top: 2px;
  text-align: left;
  font-family: var(--f-head);
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
  line-height: 1.28;
  position: relative; z-index: 1;
}
.guarantee-card__divider {
  width: 36px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
  margin: 18px 0 0;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.guarantee-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  flex: 0 1 auto;
  margin-top: auto;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.guarantee-card__period {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--f-head);
  color: var(--brand-navy);
  position: relative; z-index: 1;
  margin-top: 0;
}
.guarantee-card__period-num {
  font-size: 3rem; font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand-blue-600) 0%, var(--brand-blue) 60%, var(--brand-gold) 130%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.guarantee-card--gold .guarantee-card__period-num {
  background: linear-gradient(135deg, var(--brand-gold-600) 0%, var(--brand-gold) 50%, var(--brand-blue) 130%);
  -webkit-background-clip: text;
          background-clip: text;
}
.guarantee-card__period-unit {
  font-size: 1.05rem; font-weight: 700;
  color: var(--c-text-2);
  text-transform: lowercase;
  letter-spacing: 0;
}
.guarantee-card__note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: var(--brand-blue-50);
  border: 1px solid var(--brand-blue-100);
  color: var(--brand-blue-600);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em;
  position: relative; z-index: 1;
  align-self: flex-start;
}
.guarantee-card__note svg { width: 14px; height: 14px; flex: 0 0 auto; }
.guarantee-card--gold .guarantee-card__note {
  background: var(--brand-gold-50);
  border-color: var(--brand-gold-100);
  color: var(--brand-gold-600);
}
.guarantee-card__footnote {
  margin: 10px 0 0;
  padding: 0 2px 0 0;
  font-size: 0.72rem;
  line-height: 1.38;
  color: var(--c-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}
/* Та же высота, что у сноски, без текста для ровных плашек в третьей колонке */
.guarantee-card__footnote--spacer {
  visibility: hidden;
  user-select: none;
  pointer-events: none;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .guarantees__grid { grid-template-columns: 1fr 1fr; }
  .guarantee-card__bg-num { font-size: 9rem; }
}
@media (max-width: 640px) {
  .guarantees__grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .guarantee-card { padding: 26px 22px 24px; }
  .guarantee-card__period-num { font-size: 2.6rem; }
}

/* =====================================================================
   ФИНАЛЬНЫЙ CTA
===================================================================== */
.final-cta {
  background: linear-gradient(180deg, #F8FAFD 0%, #F0F4F8 100%);
  color: var(--c-text);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--c-line);
}
.final-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
  pointer-events: none;
}
.final-cta::after { display: none; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Больше воздуха между текстом слева и формой справа */
  column-gap: clamp(40px, 9vw, 120px);
  row-gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.final-cta__title { font-size: clamp(1.55rem, 3vw, 2.15rem); color: var(--brand-blue); margin-bottom: 26px; line-height: 1.28; }
/* Воздух между строками заголовка — примерно как между абзацом и кнопками */
.final-cta__title-line2 { display: inline-block; margin-top: 0.42em; white-space: nowrap; }
@media (max-width: 400px) {
  .final-cta__title-line2 { white-space: normal; }
}
.final-cta__text { color: var(--c-muted); margin-bottom: 26px; font-size: 1rem; line-height: 1.7; }
.final-cta__inner > .reveal { min-width: 0; }
.final-cta__tels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}
.final-cta .final-cta__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--c-line-2);
  color: var(--brand-navy);
  border-radius: var(--r);
  box-shadow: 0 1px 3px rgba(0,35,69,.04);
}
.final-cta .final-cta__tel:hover {
  background: var(--brand-blue-50);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.final-cta .final-cta__tel svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.final-cta__form {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  box-shadow: 0 12px 40px rgba(0,35,69,.08);
  color: var(--c-text);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-offset) + 16px);
}
.final-cta__form::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
  z-index: 2;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  background: var(--c-bg);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 0.96rem;
  color: var(--c-text);
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form-input::placeholder { color: var(--c-muted-2); }
.form-input:hover { background: #F7FAFD; }
.form-input:focus {
  border-color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,89,182,.15);
}
.form-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.form-segmented__opt {
  position: relative;
  display: block;
  cursor: pointer;
}
.form-segmented__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.form-segmented__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-bg);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  padding: 12px 10px;
  font-family: var(--f-body);
  font-size: 0.96rem;
  color: var(--c-text);
  transition: border-color var(--t), background var(--t), color var(--t), box-shadow var(--t);
}
.form-segmented__opt:hover span { background: #F7FAFD; }
.form-segmented__opt input:focus-visible + span {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37,89,182,.15);
}
.form-segmented__opt input:checked + span {
  background: #fff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 600;
}
.form-agree {
  font-size: 0.72rem; color: var(--c-muted); margin-top: 14px; line-height: 1.55;
}
.form-agree a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) { .final-cta__inner { grid-template-columns: 1fr; gap: 36px; } }

@media (max-width: 480px) {
  .final-cta__form { padding: 26px 20px; }
  .final-cta .final-cta__tel { white-space: normal; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .reviews__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =====================================================================
   ПОДВАЛ
===================================================================== */
.footer {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(37,89,182,.08) 0%, transparent 55%),
    linear-gradient(180deg, #1C3E68 0%, #153356 100%);
  color: rgba(255,255,255,.78);
  padding: 44px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue) 50%, var(--brand-gold) 100%);
  opacity: .9;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 32px; margin-bottom: 28px;
}
.footer__brand { display: block; margin-bottom: 8px; }
.footer__brand-logo {
  display: block;
  width: 240px;
  max-width: 78vw;
  height: auto;
  object-fit: contain;
}
.footer__brand:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 4px; border-radius: 4px; }
.footer__brand-tagline { font-size: 0.82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.footer__contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; font-size: 0.92rem;
  color: rgba(255,255,255,.85);
}
.footer__contact-item a { color: #fff !important; transition: color var(--t-fast); }
.footer__contact-item a:hover { color: var(--brand-blue) !important; }
.footer__contact-item svg { color: var(--brand-blue); flex-shrink: 0; }
.footer__heading {
  font-family: var(--f-narrow);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.footer__schedule { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,.85); }
.footer__schedule strong { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 0.78rem;
}
.footer__legal { color: rgba(255,255,255,.5); font-size: 0.72rem; line-height: 1.65; }
.footer__links-sep {
  color: rgba(255, 255, 255, .38);
  user-select: none;
}
.footer__links { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--brand-blue); }

@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .urgency__cta-box {
    padding: 18px 20px 32px;
    min-height: 260px;
  }
}

/* ——— Модальное окно заявки (финальный CTA) ——— */
html.lazurit-modal-open { overflow: hidden; }
.lazurit-booking { position: relative; }
.lazurit-honeypot {
  clip: rect(0, 0, 0, 0); overflow: hidden; position: absolute; width: 1px;
  height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; pointer-events: none;
}

.lazurit-modal.is-open {
  display: flex !important;
  position: fixed; inset: 0; z-index: 980;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(14px, 3vw, 28px);
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .lazurit-modal.is-open { align-items: center; padding: 28px 16px; }
}

.lazurit-modal[hidden]:not(.is-open) { display: none !important; }

.lazurit-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 35, 69, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lazurit-modal__panel {
  position: relative; z-index: 2;
  width: min(420px, 100%);
  padding: clamp(26px, 4vw, 34px);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7fafd 100%);
  border: 1px solid rgba(37, 89, 182, .2);
  box-shadow: 0 22px 56px rgba(0, 35, 69, .32), 0 0 0 1px rgba(255,255,255,.5) inset;
  animation: lazurit-modal-in .32s cubic-bezier(.2,.9,.2,1);
}

@keyframes lazurit-modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lazurit-modal__close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 0; cursor: pointer; background: transparent; color: var(--brand-blue-600);
  transition: background var(--t-fast), color var(--t-fast);
}
.lazurit-modal__close:hover {
  background: var(--brand-blue-50); color: var(--brand-blue);
}

.lazurit-modal__heading {
  margin: 0 36px 12px 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
}

.lazurit-modal.lazurit-modal--error .lazurit-modal__heading {
  color: var(--brand-red);
}

.lazurit-modal__body { margin-bottom: 20px; }
.lazurit-modal__body .lazurit-modal__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--brand-navy-60);
}

.lazurit-modal__btn { width: 100%; justify-content: center; }

.lazurit-booking__submit[disabled] {
  opacity: .68; cursor: wait;
}

/* Внутренние страницы (Политика, Лицензия…) */
body.lazurit-inner .lazurit-inner-main {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  background: radial-gradient(circle at 18% -10%, rgba(37, 89, 182, .08), transparent 40%),
    linear-gradient(to bottom, #f5f9ff 0%, #fff 280px);
  min-height: 45vh;
}
.lazurit-inner-article__header { margin-bottom: 1.5rem; }
.lazurit-inner-article__title {
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-dark);
}
.lazurit-inner-article__content {
  font-size: 1rem;
  line-height: 1.76;
  color: var(--c-dark);
}
.lazurit-legal .lazurit-inner-article__content.lazurit-legal__body {
  color: var(--c-text);
}
.lazurit-inner-article__content h2 {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--c-dark);
}
.lazurit-inner-article__content ul { margin: 0.85rem 0 1rem 1.2rem; }
.lazurit-inner-article__content li { margin-bottom: 0.35rem; }
.lazurit-inner-article__content p { margin: 0 0 1rem; }

/* Юридические документы (политика, согласие на обработку ПД) */
.lazurit-legal__article { max-width: 840px; }
.lazurit-legal__header .lazurit-inner-article__title { color: var(--brand-blue); }
.lazurit-legal__body .lazurit-legal__document {
  background: #fff;
  border: 1px solid rgba(220, 229, 239, 0.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  padding: clamp(22px, 4vw, 38px);
}
.lazurit-legal__body .lazurit-legal__document--policy {
  border-top: 3px solid rgba(37, 89, 182, 0.14);
}
.lazurit-legal__body .lazurit-legal__document--consent {
  border-top: 3px solid rgba(37, 89, 182, 0.14);
}
.lazurit-legal__subtitle {
  font-family: var(--f-head);
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
}
.lazurit-legal__body .lazurit-legal__document .lazurit-legal__h2 {
  margin: 1.65rem 0 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 229, 239, 0.75);
  font-family: var(--f-head);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.lazurit-legal__body .lazurit-legal__document .lazurit-legal__h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.lazurit-legal__body .lazurit-legal__p,
.lazurit-legal__body .lazurit-legal__clause {
  margin: 0 0 0.72rem;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--c-text);
}
.lazurit-legal__body .lazurit-legal__clause {
  padding-left: 0.15rem;
  border-left: 3px solid var(--brand-blue-100);
  padding-left: 0.85rem;
  margin-bottom: 0.55rem;
  color: var(--c-text-2);
}
.lazurit-legal__body .lazurit-legal__p--strong { font-weight: 700; color: var(--brand-navy); }
.lazurit-legal__body .lazurit-legal__p--note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(194, 125, 42, 0.35);
  font-size: 0.92rem;
  color: var(--c-muted);
}
.lazurit-legal__body .lazurit-legal__document a {
  color: var(--brand-blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lazurit-legal__body .lazurit-legal__document a:hover { color: var(--brand-blue); }
.lazurit-legal__ul {
  margin: 0.35rem 0 1rem 1.15rem;
  padding: 0;
}
.lazurit-legal__body .lazurit-legal__ul li {
  margin-bottom: 0.45rem;
  line-height: 1.72;
  color: var(--c-text);
}
.lazurit-legal__download-wrap {
  margin-top: clamp(1.1rem, 2.8vw, 1.75rem);
}
.lazurit-legal__download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 1.35rem;
}

/* =====================================================================
   Cookie-уведомление: фиксированная плашка снизу.
===================================================================== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 970;
  background: rgba(37, 89, 182, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 18px 0;
  box-shadow: 0 -8px 30px rgba(0, 35, 69, 0.18);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  padding-right: 36px;
}
.cookie-bar__text {
  flex: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}
.cookie-bar__text a {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.cookie-bar__text a:hover { color: var(--brand-gold-100); }
.cookie-bar__ok {
  flex-shrink: 0;
  min-width: 140px;
}
.cookie-bar__close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
}
.cookie-bar__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.cookie-bar__close:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .cookie-bar { padding: 16px 0 18px; }
  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-right: 0;
  }
  .cookie-bar__text { font-size: 0.88rem; padding-right: 32px; }
  .cookie-bar__ok { width: 100%; min-width: 0; }
  .cookie-bar__close { top: 0; right: 4px; }
}

/* =====================================================================
   .reveal — метка в разметке. Анимация по скроллу убрана, чтобы весь контент
   был виден в браузере, в PDF/PNG и на любом размере окна.
===================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    scroll-behavior: auto !important;
  }
  .hero__bg::before, .hero__bg::after,
  .diag__badge::before,
  .hero__eyebrow::before,
  .guarantee-card__icon::after { animation: none !important; }
}
