/* ==========================================================================
   ZAFFIRO CLINIC - Volnewmer landing
   Дизайн-система: премиум-минимализм. Сапфир (Zaffiro) + тёплый нейтрал + золото.
   ========================================================================== */

/* --- Tokens --- */
:root {
  /* Цвета — тёплая нейтральная палитра ZAFFIRO (взято с zaffiroclinic.ru) */
  --ink: #232323;
  --ink-soft: #57514b;
  --ink-mute: #6e6862;

  /* «тёмный/акцентный» (имена сохранены, значения — тёплый графит) */
  --sapphire: #2a2622;
  --sapphire-deep: #1b1815;
  --sapphire-tint: #f1e9df;

  /* «акцент» — тёплая бронза/песок вместо золота */
  --gold: #b0936e;
  --gold-deep: #7d6243;
  --gold-soft: #e3d4c0;

  --cream: #f9f5f2;
  --surface: #ffffff;
  --surface-2: #f1e9df;
  --line: #e9e0d5;
  --line-strong: #d8ccbc;

  --ok: #2f7d5b;
  --err: #c0492f;

  /* Типографика — как на zaffiroclinic.ru */
  --font-display: "Tenor Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Радиусы и тени */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(20, 23, 28, 0.06);
  --shadow-md: 0 14px 40px rgba(17, 42, 80, 0.10);
  --shadow-lg: 0 30px 70px rgba(17, 42, 80, 0.16);

  /* Раскладка */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset / base --- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input,
textarea,
select { font-family: inherit; font-size: inherit; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--sapphire);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--sapphire-deep);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
}

.h1 { font-size: clamp(1.85rem, 3.8vw, 3rem); }
.h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }

p { color: var(--ink-soft); }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(28px, 4vw, 60px); }
.section--tight { padding-block: clamp(22px, 3vw, 44px); }
.section--cream { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }
.section--sapphire {
  background: linear-gradient(160deg, var(--sapphire-deep), var(--sapphire));
  color: #fff;
}
.section--sapphire h1,
.section--sapphire h2,
.section--sapphire h3 { color: #fff; }
.section--sapphire p { color: rgba(255, 255, 255, 0.82); }

.section-head { max-width: 720px; margin-bottom: clamp(16px, 2.8vw, 30px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  text-align: center;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(35, 33, 30, 0.22);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #000;
  box-shadow: 0 16px 34px rgba(35, 33, 30, 0.32);
}

.btn--light {
  background: #fff;
  color: var(--sapphire-deep);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

/* --- Header --- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.header.is-scrolled {
  background: rgba(249, 245, 242, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.logo__sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}
.nav__link:hover { color: var(--sapphire); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s;
}
.header__phone:hover { color: var(--sapphire); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  background: rgba(255,255,255,0.7);
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: 0.3s var(--ease);
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(16px, 3vw, 34px));
  padding-bottom: clamp(26px, 4vw, 48px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 85% -10%, var(--sapphire-tint), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--surface));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: stretch;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.hero__badge b { color: var(--sapphire); }
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47,125,91,0.18);
}
.hero h1 { margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero__lead { margin-bottom: 18px; max-width: 540px; }

.hero__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff, var(--sapphire-tint));
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero__offer--dual {
  align-items: stretch;
  gap: 12px;
}
.hero__deal {
  flex: 1 1 185px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(176,141,87,0.32);
}
.hero__deal-title {
  display: block;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.hero__deal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.hero__deal-price .now {
  font-family: var(--font-body);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--ink);
}
.hero__deal-price .old {
  color: var(--ink-mute);
  font-size: 0.92rem;
  text-decoration: line-through;
}
.hero__offer--dual .hero__offer-gift {
  flex-basis: 100%;
  padding-left: 0;
  padding-top: 12px;
  border-left: 0;
  border-top: 1px solid var(--gold-soft);
}
.hero__offer-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero__offer-price .now {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.hero__offer-price .old {
  font-size: 1.1rem;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.hero__offer-gift {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding-left: 22px;
  border-left: 1px solid var(--gold-soft);
}
.hero__offer-gift b { color: var(--gold-deep); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__cta-note { font-size: 0.86rem; color: var(--ink-mute); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__trust svg { color: var(--gold-deep); flex: none; }

.hero__media {
  position: relative;
  align-self: stretch;
  display: flex;
  min-height: 460px;
}
.hero__media picture {
  display: flex;
  width: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero__media-tag {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
.hero__media-tag .ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sapphire-tint);
  display: grid; place-items: center;
  color: var(--sapphire);
  flex: none;
}
.hero__media-tag .t { font-size: 0.8rem; color: var(--ink-mute); line-height: 1.3; }
.hero__media-tag .t b { display: block; font-size: 0.98rem; color: var(--ink); }

/* --- Promo bar --- */
.promo {
  background: linear-gradient(135deg, var(--sapphire-deep), var(--sapphire));
  color: #fff;
}
.promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding-block: 26px;
}
.promo__text { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.promo__text .big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
}
.promo__text .big b { color: var(--gold-soft); }
.promo__text .small { color: rgba(255,255,255,0.78); font-size: 0.92rem; max-width: 360px; }

/* --- Trust-полоса под hero --- */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
}
.trust-strip__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-strip__list svg { color: var(--gold-deep); flex: none; }
.trust-strip__note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin-top: 12px;
}

/* --- Шаги «как проходит» (split-список) --- */
.how-steps { counter-reset: hs; margin-top: 22px; display: grid; gap: 16px; }
.how-steps li {
  position: relative;
  padding-left: 48px;
  min-height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}
.how-steps li::before {
  counter-increment: hs;
  content: counter(hs);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sapphire);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}
.how-steps b { color: var(--ink); font-weight: 600; }

/* --- Generic feature grid --- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card__ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--sapphire-tint);
  display: grid; place-items: center;
  color: var(--sapphire);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

/* --- Split (technology) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split--rev .split__media { order: -1; }
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.split__media.contain {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 48px);
}
.split__media.contain img { box-shadow: none; }

/* секция «как проходит»: фото и текст равной высоты (приём как в hero) */
#how .split { align-items: stretch; }
#how .split__media {
  position: relative;
  align-self: stretch;
  min-height: 440px;
}
#how .split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.device-showcase {
  position: relative;
  display: grid;
  gap: 14px;
}
.device-showcase__main {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.device-showcase__label {
  position: absolute;
  left: 18px;
  top: 18px;
  max-width: min(280px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.device-showcase__label span {
  display: block;
  color: var(--ink-mute);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.device-showcase__label b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}
.device-showcase__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.device-showcase__thumbs figure {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.device-showcase__thumbs img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: none;
  border-radius: 0;
}
.device-showcase__thumbs figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.5));
}
.device-showcase__thumb--tips::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 48%);
}
.device-showcase__thumbs figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}
.device-showcase__thumb--tips figcaption {
  top: 10px;
  right: auto;
  bottom: auto;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(32, 29, 26, 0.68);
}

.device-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.device-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
}
.device-facts b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.device-facts span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}
/* 5-я карточка одна в ряду — растягиваем на всю ширину, чтобы справа не пустовало */
.device-facts > div:nth-child(5) { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .device-facts { grid-template-columns: 1fr; }
  .device-facts > div:nth-child(5) { grid-column: auto; }
}
.device-note {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tech-list { margin-top: 20px; display: grid; gap: 13px; }
.tech-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tech-list .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sapphire);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.tech-list .txt b { display: block; color: var(--ink); margin-bottom: 2px; }
.tech-list .txt span { font-size: 0.95rem; color: var(--ink-soft); }

/* --- Zones --- */
.zone {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--ink);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.zone img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.zone:hover img { transform: scale(1.06); }
.zone__overlay {
  position: relative;
  z-index: 1;
  padding: 26px;
  width: 100%;
  background: linear-gradient(to top, rgba(8,16,32,0.85) 8%, rgba(8,16,32,0.15) 70%, transparent);
  color: #fff;
}
.zone__overlay .tip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  margin-bottom: 12px;
}
.zone__overlay h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.zone__overlay p { color: rgba(255,255,255,0.86); font-size: 0.92rem; line-height: 1.4; min-height: 3.9rem; }

/* --- Steps --- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-body);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; }

/* --- Result visuals --- */
.effect-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: clamp(14px, 2vw, 22px);
}
.effect-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  min-height: 240px;
}
.effect-card--wide { grid-row: span 2; }
.effect-card:nth-child(4) { grid-column: span 2; }
.effect-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.effect-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.58)),
    linear-gradient(90deg, rgba(0,0,0,0.36), rgba(0,0,0,0));
}
.effect-card__overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}
.effect-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--sapphire);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.effect-card h3 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.effect-card p {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}
.effect-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.effect-notes div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
}
.effect-notes b {
  flex: none;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--gold-soft);
}
.effect-notes span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.35;
}

/* --- Pricing --- */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
}
.price-card--offer {
  background: linear-gradient(165deg, var(--sapphire-deep), var(--sapphire));
  color: #fff;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card--offer::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(176,141,87,0.4), transparent 70%);
}
.price-card--offer .tag {
  display: inline-block;
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.price-card--offer h3 { color: #fff; }
.price-card--offer > * {
  position: relative;
  z-index: 1;
}
.price-offer-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 16px;
}
.price-offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.1);
}
.price-offer-row span {
  color: rgba(255,255,255,0.78);
  font-weight: 700;
}
.price-offer-row strong {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}
.price-offer-row s {
  grid-column: 2;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-align: right;
}
.price-offer-row--super {
  position: relative;
  border-color: var(--gold);
  background: rgba(176, 147, 110, 0.22);
}
.price-offer-row--super::after {
  content: "Супер-цена";
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.price-card--offer .big-price {
  display: flex; align-items: baseline; gap: 14px;
  margin: 18px 0 6px;
}
.price-card--offer .big-price .now { font-family: var(--font-body); font-size: 3.2rem; font-weight: 700; }
.price-card--offer .big-price .unit { font-size: 1rem; opacity: 0.85; }
.price-card--offer .big-price .old { font-size: 1.3rem; text-decoration: line-through; opacity: 0.6; }
.price-card--offer .gift {
  margin: 16px 0 24px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}
.price-card--offer .gift b { color: var(--gold-soft); }

.ptable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ptable th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); font-weight: 700; padding-bottom: 12px; }
.ptable td { padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.ptable td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.ptable tr td:first-child { color: var(--ink-soft); }
.price-note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-mute); }

/* --- FAQ --- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: var(--ink);
}
.faq__q .pm {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  position: relative;
  transition: 0.3s;
}
.faq__q .pm::before,
.faq__q .pm::after {
  content: ""; position: absolute; background: var(--sapphire);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq__q .pm::before { width: 13px; height: 2px; }
.faq__q .pm::after { width: 2px; height: 13px; transition: 0.3s; }
.faq__item.is-open .pm { border-color: var(--sapphire); background: var(--sapphire-tint); }
.faq__item.is-open .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.faq__item.is-open .faq__a { max-height: 600px; }
.faq__a-inner { padding: 0 4px 26px; }
.faq__a p { font-size: 0.98rem; }

/* --- Clinic / about --- */
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.clinic-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.clinic-facts { display: grid; gap: 18px; margin-top: 26px; }
.clinic-facts li { display: flex; gap: 14px; align-items: flex-start; }
.clinic-facts .ic { color: var(--gold-deep); flex: none; margin-top: 2px; }
.clinic-facts b { display: block; }
.clinic-facts span { font-size: 0.95rem; color: var(--ink-soft); }

/* --- Lead form --- */
.lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.form-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 42px);
}
.form-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.form-card .sub { font-size: 0.96rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus { outline: none; border-color: var(--sapphire); background: #fff; }
.field input.invalid { border-color: var(--err); background: #fdf3f1; }
.field .err-msg { display: none; color: var(--err); font-size: 0.82rem; margin-top: 6px; }
.field.has-error .err-msg { display: block; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--sapphire); }
.consent a { color: var(--sapphire); text-decoration: underline; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.smart-captcha:empty { display: none; }
.captcha-note { margin: 12px 0 0; font-size: 0.72rem; line-height: 1.4; text-align: center; color: var(--ink-mute); }
.captcha-note a { color: var(--ink-mute); text-decoration: underline; }

.form-msg { margin-top: 14px; font-size: 0.92rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

.lead-info .h2 { color: #fff; }
.lead-info ul { display: grid; gap: 16px; margin-top: 24px; }
.lead-info li { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,0.9); font-weight: 600; }
.lead-info .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: grid; place-items: center; flex: none;
  color: var(--gold-soft);
}

/* --- Footer --- */
.footer {
  background: #1b1815;
  color: rgba(255,255,255,0.7);
  padding-top: clamp(50px, 7vw, 84px);
  font-size: 0.93rem;
}
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__top .logo__name { color: #fff; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer__map {
  border: 0;
  width: 100%;
  height: 200px;
  border-radius: var(--r-sm);
  filter: grayscale(0.2);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-block: 26px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a { text-decoration: underline; }
.disclaimer {
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-top: 28px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* --- Sticky mobile CTA --- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
}
.mobile-cta .btn { flex: 1; padding: 14px; }
.mobile-cta .btn--call {
  flex: none;
  width: 52px;
  background: var(--sapphire);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

/* --- Mobile nav drawer --- */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--cream);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.4s var(--ease), visibility 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.nav-drawer.is-open { clip-path: inset(0); visibility: visible; pointer-events: auto; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-drawer .btn { margin-top: 24px; }
.nav-drawer__contact { margin-top: auto; padding-top: 24px; font-weight: 700; font-size: 1.2rem; }

/* --- Reveal animation --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* --- Медицинский дисклеймер (ч.7 ст.24 ФЗ «О рекламе») --- */
.med-warning {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 14px;
}
.section--sapphire .med-warning { color: rgba(255, 255, 255, 0.7); }
.disclaimer__warning {
  display: block;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.hero__offer-unit { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* --- Cookie-уведомление --- */
.cookie {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 95;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 680px;
  margin-inline: auto;
}
.cookie a { color: var(--gold-soft); text-decoration: underline; }
.cookie p { color: rgba(255, 255, 255, 0.8); margin: 0; flex: 1; min-width: 180px; }
.cookie button {
  flex: none;
  background: #fff; color: var(--ink);
  padding: 8px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.82rem;
}
.cookie[hidden] { display: none; }

/* --- Модальное окно записи --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 24, 21, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 32px);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal.is-open .modal__card { transform: none; }

/* компактные интервалы внутри модалки, чтобы помещалось без прокрутки */
.modal__card .field { margin-bottom: 12px; }
.modal__card .consent { margin: 2px 0 14px; }
.modal__card .form-msg { margin-top: 10px; }
.modal__card .med-warning { margin-top: 10px; font-size: 0.78rem; }
/* экран успеха внутри модалки */
.is-hidden-success { display: none !important; }
.modal__success { text-align: center; padding: 14px 4px 4px; animation: vnFadeIn .25s ease; }
.modal__success-icon {
  width: 66px; height: 66px; margin: 4px auto 16px;
  border-radius: 50%; background: #e3f3ea; color: #2e7d52;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; line-height: 1; font-weight: 700;
}
.modal__success h3 { margin: 0 0 10px; }
.modal__success p { color: #6f675e; margin: 0 auto 20px; max-width: 320px; line-height: 1.5; }
@keyframes vnFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* запасной скролл только на очень низких экранах */
@media (max-height: 640px) {
  .modal__card { max-height: 90vh; overflow-y: auto; }
}
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.6rem; line-height: 1;
  color: var(--ink-mute);
  background: var(--surface-2);
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--line-strong); color: var(--ink); }
.modal__sub { font-size: 0.95rem; color: var(--ink-soft); margin: 6px 0 14px; }
.modal__deal {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--surface-2), var(--sapphire-tint));
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
}
.modal__deal-now { font-family: var(--font-body); font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.modal__deal-old { font-size: 1.15rem; color: var(--ink-mute); text-decoration: line-through; }
.modal__deal-tag { flex-basis: 100%; font-size: 0.84rem; color: var(--gold-deep); font-weight: 600; }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__card { transition: opacity 0.2s linear; }
}

/* --- Responsive --- */
@media (max-width: 1000px) {
  .nav, .header__phone, .header__actions .btn--primary { display: none; }
  .burger { display: block; }
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 380px; margin-inline: auto; min-height: 0; display: block; }
  .hero__media img { height: auto; aspect-ratio: 128 / 85; max-height: 38vh; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  #how .split__media { min-height: 300px; }
  .pricing { grid-template-columns: 1fr; }
  .lead-wrap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .effect-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .effect-card--wide,
  .effect-card:nth-child(4) {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .clinic-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero__media-tag { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .hero__offer {
    flex-direction: row;
    align-items: stretch;
    gap: 7px;
    padding: 8px;
    margin-bottom: 16px;
  }
  .hero__offer-gift {
    padding-left: 0;
    border-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--gold-soft);
    width: 100%;
  }
  .hero__offer--dual .hero__offer-gift {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .hero__deal {
    width: auto;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 8px;
  }
  .hero__deal-title {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
  }
  .hero__deal-price { flex-wrap: nowrap; gap: 2px 5px; }
  .hero__deal-price .now { font-size: clamp(0.96rem, 4.2vw, 1.12rem); }
  .hero__deal-price .old { font-size: 0.68rem; }
  .price-card { padding: 24px; }
  .price-card--offer .tag {
    font-size: 0.68rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }
  .price-offer-list {
    gap: 10px;
    margin: 16px 0 14px;
  }
  .price-offer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 12px;
  }
  .price-offer-row span { font-size: 0.92rem; }
  .price-offer-row strong { font-size: 1.35rem; }
  .price-offer-row s {
    grid-column: 2;
    text-align: right;
    font-size: 0.82rem;
  }
  .promo__inner { flex-direction: column; align-items: flex-start; }
  .device-showcase { gap: 10px; }
  .device-showcase__label {
    left: 12px;
    top: 12px;
    padding: 10px 12px;
  }
  .device-showcase__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .device-showcase__thumbs figure { min-height: 128px; }
  .device-showcase__thumbs figcaption { font-size: 0.78rem; }
  .device-facts { grid-template-columns: 1fr; }
  .device-facts div { padding: 14px; }
  .effect-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .effect-card,
  .effect-card--wide,
  .effect-card:nth-child(4) {
    grid-column: auto;
    min-height: 300px;
  }
  .effect-card img { aspect-ratio: 4 / 3; }
  .effect-card__overlay { left: 16px; right: 16px; bottom: 16px; }
  .effect-notes { grid-template-columns: 1fr; }
  .effect-notes div { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
