/* =========================================================
   BELOZUBKA — Dental clinic landing
   Aesthetic: soft pastel bento, inspired by Docthea design
   ========================================================= */

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

:root {
  /* Pastel palette extracted from reference */
  --c-pink:    #F6D8D2;
  --c-pink-2:  #EEC6BD;
  --c-peach:   #FCE6D4;
  --c-cream:   #FFF3E3;
  --c-lilac:   #E6DEF1;
  --c-lilac-2: #D4C7E8;
  --c-mint:    #DCEFE4;

  --c-bg:      #FAFAF7;
  --c-surface: #FFFFFF;
  --c-ink:     #1A1B2E;
  --c-ink-2:   #2D2E45;
  --c-muted:   #6C6D7E;
  --c-line:    #EDECEA;

  --c-accent:  #E68975;   /* warm coral — single accent */

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --shadow-sm: 0 2px 10px rgba(26,27,46,0.04);
  --shadow:    0 10px 40px rgba(26,27,46,0.06);

  --container: 1240px;
}

html { scroll-behavior: smooth; }

/* Respect reduced-motion preference for animations and smooth scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Global focus-visible ring (a11y) */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link — visible on focus only */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--dark {
  background: var(--c-ink);
  color: #fff;
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,27,46,0.25); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid rgba(26,27,46,0.15);
}
.btn--ghost:hover { background: rgba(26,27,46,0.05); }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* ============ PILLS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(26,27,46,0.06);
  color: var(--c-ink);
  margin-bottom: 20px;
}
.pill--white {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pill--soft {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,247,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}

/* Offset anchor targets so sticky header doesn't cover them */
section[id],
header[id] {
  scroll-margin-top: 88px;
}
.anchor-target {
  display: block;
  position: relative;
  top: -88px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--c-ink);
}
.logo__mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-pink), var(--c-lilac));
  display: grid; place-items: center;
  color: var(--c-ink);
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: 40px;
  font-size: 15px;
  color: var(--c-ink-2);
}
.nav a { transition: color .2s; }
.nav a:hover { color: var(--c-accent); }

/* ── Dropdown menu ─────────────────────────────────────────── */
.nav__has-drop {
  position: relative;
}
/* invisible bridge that fills the gap between trigger and dropdown,
   so hover stays active while the mouse travels through the gap */
.nav__has-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 18px; /* must be >= gap (14px) + some buffer */
  background: transparent;
}
.nav__drop-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  transition: color .2s;
}
.nav__drop-trigger:hover { color: var(--c-accent); }
.nav__drop-arrow {
  transition: transform .2s ease;
  flex-shrink: 0;
  opacity: .55;
}
.nav__has-drop:hover .nav__drop-arrow,
.nav__has-drop.is-open .nav__drop-arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.nav__drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(26,27,46,0.13), 0 2px 8px rgba(26,27,46,0.06);
  padding: 10px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}
/* small arrow pointer */
.nav__drop::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  rotate: 45deg;
  box-shadow: -2px -2px 4px rgba(26,27,46,0.05);
}
.nav__has-drop:hover .nav__drop,
.nav__has-drop.is-open .nav__drop {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__drop-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 1px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background .15s;
  color: var(--c-ink);
}
.nav__drop-item:hover {
  background: #FAFAF7;
  color: var(--c-ink);
}
.nav__drop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  grid-row: span 2;
  align-self: center;
  flex-shrink: 0;
}
.nav__drop-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.2;
  grid-column: 2;
}
.nav__drop-sub {
  font-size: 12px;
  color: #9A9BAC;
  grid-column: 2;
  line-height: 1.2;
}

.header__cta {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
.header__phone {
  font-weight: 600;
  font-size: 15px;
}
.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  transition: background .2s;
}
.burger:hover { background: rgba(26,27,46,0.05); }
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--c-ink);
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--c-ink);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1.1s ease, transform 5.2s ease;
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.03);
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Скрим: слева плотный → справа прозрачный */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10, 9, 20, 0.82) 0%,
    rgba(10, 9, 20, 0.58) 38%,
    rgba(10, 9, 20, 0.22) 68%,
    rgba(10, 9, 20, 0.08) 100%
  );
  pointer-events: none;
}

.hero__scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 9, 20, 0.16) 0%,
    rgba(10, 9, 20, 0.02) 45%,
    rgba(10, 9, 20, 0.28) 100%
  );
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}
.hero__right { /* намеренно пуст — за ним видео */ }

.hero__left {
  display: flex;
  flex-direction: column;
}

/* Pill на тёмном фоне */
.pill--badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
  padding: 10px 18px 10px 10px;
  font-weight: 500;
  gap: 10px;
}
.pill__drop {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(240,138,93,0.28);
  display: grid; place-items: center;
}

.hero__title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 6.8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 20px 0 28px;
  color: #fff;
}
.hero__accent {
  font-style: italic;
  color: var(--c-accent);
  display: inline-block;
}
.hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  max-width: 420px;
  margin: 0 0 40px;
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ SECTION HEAD ============ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--c-ink);
}

/* ============ BENTO ============ */
.benefits { padding: 40px 0 56px; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 20px;
}
.bento__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .3s ease;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.bento__card:hover { transform: translateY(-4px); }

/* Row 1 — stat card with image */
.bento--stat {
  grid-column: span 2;
  /* Единый градиент на всю карточку — без разделителей */
  background:
    radial-gradient(ellipse at 78% 28%, rgba(255,255,255,0.50) 0%, transparent 48%),
    linear-gradient(150deg, var(--c-pink) 0%, var(--c-peach) 55%, #f0c8bb 100%);
  border: 0;
  padding: 0;
  flex-direction: row;
  align-items: stretch;
}
.bento--stat__visual {
  flex: 1.1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento--stat__imgplace {
  flex: 1;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Люди-иконка */
.people-icon {
  width: 85%;
  max-width: 200px;
  height: auto;
  display: block;
  animation: sway 5s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes sway {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Row 1 — white card */
.bento--white {
  grid-column: span 1;
  background: #fff;
  justify-content: space-between;
}

/* Row 1 — accent (yellow-ish cream) card */
.bento--accent {
  grid-column: span 1;
  background: var(--c-cream);
  border: 0;
  justify-content: space-between;
}

/* Row 2 — dark card */
.bento--dark {
  grid-column: span 2;
  background: var(--c-ink);
  color: #fff;
  border: 0;
  justify-content: space-between;
}
.bento--dark p { color: rgba(255,255,255,0.72); }

/* Row 2 — equipment card with image+CTA */
.bento--equip {
  grid-column: span 1;
  padding: 0;
  border: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255,255,255,0.45) 0%, transparent 55%),
    linear-gradient(135deg, var(--c-lilac) 0%, var(--c-pink) 100%);
}
.bento--equip__content {
  margin-top: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.08), transparent);
}
.bento--equip h3 { margin: 0; color: var(--c-ink); }
.bento--equip .btn { align-self: flex-start; }

.bento__big {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-ink);
}
.bento__lbl {
  font-size: 15px;
  color: var(--c-ink);
  margin: 12px 0 0;
  font-weight: 500;
  max-width: 200px;
}
.bento__card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bento__card p {
  color: var(--c-muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}
.bento__more {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  align-self: flex-start;
  transition: gap .2s;
}
.bento__more:hover { opacity: 0.7; }
.bento__more--light { color: #fff; }

/* ── Tooltips ──────────────────────────────────────────────── */
.tip-wrap { display: inline-block; cursor: default; }
/* .tip — только хранилище текста, визуально скрыт */
.tip { display: none; }

/* Плавающий тултип, крепится к <body> через JS */
#floating-tip {
  position: absolute;
  top: 0; left: 0;
  width: 268px;
  background: var(--c-ink);
  color: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(26,27,46,0.22);
  white-space: normal;
}
#floating-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* стрелка */
#floating-tip::after {
  content: '';
  position: absolute;
  left: 20px;
  border: 6px solid transparent;
}
#floating-tip.arrow-down::after {
  top: 100%;
  border-top-color: var(--c-ink);
}
#floating-tip.arrow-up::after {
  bottom: 100%;
  border-bottom-color: var(--c-ink);
}
/* светлый вариант */
#floating-tip.tip--light {
  background: #fff;
  color: var(--c-ink);
  box-shadow: 0 12px 32px rgba(26,27,46,0.14);
}
#floating-tip.tip--light.arrow-down::after { border-top-color: #fff; }
#floating-tip.tip--light.arrow-up::after  { border-bottom-color: #fff; }

/* ============ SERVICES ============ */
.services { padding: 56px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card__ico {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid; place-items: center;
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.service-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-weight: 600;
  font-size: 15px;
}
.service-card__foot .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  display: grid; place-items: center;
  transition: transform .25s;
}
.service-card:hover .arrow { transform: translateX(4px); }

/* ============ ABOUT ============ */
.about { padding: 56px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;       /* clips slider to rounded rect — keeps corners on every slide */
  aspect-ratio: 4 / 5;
}

/* ── Slider ──────────────────────────────────────── */
.about__slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.about__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.about__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* arrow buttons */
.about__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.88);
  color: var(--c-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,27,46,0.14);
  transition: background .18s, transform .18s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.about__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.about__arrow--prev { left: 16px; }
.about__arrow--next { right: 16px; }

/* dot indicators */
.about__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.about__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.about__dot--active {
  background: #fff;
  transform: scale(1.35);
}
.about__dot:hover:not(.about__dot--active) { background: rgba(255,255,255,0.7); }
.about__badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: #fff;
  border-radius: 22px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
}
.about__badge-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__badge-lbl {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 4px;
}
.lead {
  font-size: 18px;
  color: var(--c-ink-2);
  margin: 24px 0;
  max-width: 520px;
}
.about__list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.about__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  font-size: 15.5px;
}
.about__list li:last-child { border-bottom: 1px solid var(--c-line); }
.about__list span {
  font-family: 'Fraunces', serif;
  color: var(--c-accent);
  font-weight: 600;
  min-width: 28px;
}
.about__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ DOCTORS ============ */
.doctors { padding: 56px 0; }
.doctors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.doctor-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform .25s;
}
.doctor-card:hover { transform: translateY(-4px); }
.doctor-card__photo {
  width: 100%;
  height: clamp(220px, 21vw, 280px);
  object-fit: cover;
  object-position: center top;
  display: block;
}
.doctor-card__body { padding: 22px; }
.doctor-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.spec {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.doctor-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
}
.doctor-card__meta a {
  font-weight: 600;
  color: var(--c-accent);
}
.doctor-card__meta a:hover { text-decoration: underline; }

/* ============ OFFERS ============ */
.offers { padding: 56px 0; }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-card--pink  { background: linear-gradient(160deg, var(--c-pink), var(--c-peach)); }
.offer-card--lilac { background: linear-gradient(160deg, var(--c-lilac), var(--c-cream)); }
.offer-card--peach { background: linear-gradient(160deg, var(--c-peach), var(--c-pink)); }
.offer-card__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-ink);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
}
.offer-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.offer-card p {
  color: var(--c-ink-2);
  font-size: 14.5px;
  margin: 0 0 28px;
  flex: 1; /* растягивает описание, прижимая футер к низу */
}
.offer-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.offer-card__foot > div { display: flex; flex-direction: column; }
.offer-card__foot s { color: var(--c-muted); font-size: 13px; }
.offer-card__foot strong {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
}

/* ============ REVIEWS ============ */
.reviews { padding: 56px 0; }
.reviews__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
  color: var(--c-muted);
}
.stars { color: var(--c-accent); font-size: 18px; letter-spacing: 2px; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review__stars { color: var(--c-accent); letter-spacing: 2px; font-size: 14px; }
.review p {
  margin: 0;
  font-size: 15px;
  color: var(--c-ink-2);
  flex: 1;
}
.review footer {
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.review strong { font-weight: 600; font-size: 14px; }
.review span { color: var(--c-muted); }

/* ============ BOOKING ============ */
.booking { padding: 40px 0 80px; }
.booking__grid {
  background: linear-gradient(135deg, var(--c-lilac) 0%, var(--c-pink) 50%, var(--c-peach) 100%);
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.booking__left .section-title { margin-top: 8px; }
.booking__checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.booking__checks li {
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  color: var(--c-ink-2);
}
.booking__checks li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l4 4 10-10' stroke='%231a1b2e' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.booking__form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.booking__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
}
.booking__form input,
.booking__form select {
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-bg);
  transition: border-color .2s, background .2s;
}
.booking__form input:focus,
.booking__form select:focus {
  outline: none;
  border-color: var(--c-ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230,137,117,0.25);
}
.booking__agree {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 12px !important;
  color: var(--c-muted);
}
.booking__agree input { margin-top: 3px; }
.booking__agree a { text-decoration: underline; color: var(--c-ink-2); }
.booking__status {
  margin: 6px 0 0;
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 600;
}

/* ============ CONTACTS ============ */
.contacts { padding: 56px 0; }
.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contacts__item {
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}
.contacts__item:last-of-type { border-bottom: 1px solid var(--c-line); }
.contacts__label {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.contacts__value {
  font-size: 17px;
  font-weight: 500;
}
.contacts__value.link:hover { color: var(--c-accent); }
.muted { color: var(--c-muted); font-weight: 400; font-size: 14px; }
.contacts__msg {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.msg-btn {
  padding: 12px 20px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.msg-btn:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.contacts__map {
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 460px;
  position: relative;
  background: linear-gradient(135deg, var(--c-mint), var(--c-peach));
}
.contacts__map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity .25s ease;
}
.contacts__map.is-loaded .contacts__map-iframe {
  opacity: 1;
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  color: var(--c-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.34)),
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.55), transparent 34%);
  transition: opacity .25s, visibility .25s;
}
.map-overlay__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
}
.map-overlay__sub {
  color: var(--c-ink-2);
  font-size: 15px;
}
.map-overlay__hint {
  margin-top: 14px;
  background: rgba(26,27,46,0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
  transition: transform .2s, box-shadow .2s;
}
.contacts__map:hover .map-overlay__hint {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,27,46,0.2);
}
.contacts__map.is-interactive .map-overlay {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
/* ============ FAQ ============ */
.faq { padding: 56px 0 80px; }
.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 4px 24px;
  margin-bottom: 12px;
  border: 1px solid var(--c-line);
  transition: all .2s;
}
.faq details[open] {
  background: linear-gradient(135deg, #fff, var(--c-cream));
  border-color: transparent;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-ink);
  position: relative;
  flex-shrink: 0;
  transition: transform .3s;
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: #fff;
}
.faq__plus::before { width: 12px; height: 2px; }
.faq__plus::after  { width: 2px; height: 12px; transition: transform .3s; }
.faq details[open] .faq__plus::after { transform: rotate(90deg); }
.faq details p {
  margin: 0 0 20px;
  color: var(--c-ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo--light { color: #fff; }
.logo--light .logo__mark {
  background: linear-gradient(135deg, var(--c-pink), var(--c-lilac));
  color: var(--c-ink);
}
.footer__col--brand p {
  margin: 16px 0 0;
  max-width: 300px;
  font-size: 14px;
}
.footer__col h4 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color .2s;
}
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal a:hover { color: #fff; }

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  background: var(--c-ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 100px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(26,27,46,0.3);
  transition: transform .25s;
}
.sticky-cta:hover { transform: scale(1.05); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    margin-left: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(26,27,46,0.13);
    z-index: 60;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav--open { display: flex; }
  .nav a,
  .nav__drop-trigger {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }
  .nav a:hover,
  .nav__drop-trigger:hover { background: #FAFAF7; }
  .nav__has-drop { position: static; }
  .nav__has-drop::after { display: none; }
  .nav__drop {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    margin: 0;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }
  .nav__drop::before { display: none; }
  .nav__has-drop:hover .nav__drop,
  .nav__has-drop.is-open .nav__drop {
    display: flex;
    transform: none;
  }
  .burger { display: flex; }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento--stat, .bento--dark { grid-column: span 2; }
  .bento--stat { flex-direction: row; }
  .bento--white, .bento--accent, .bento--equip { grid-column: span 1; }

  .services__grid, .doctors__grid, .reviews__grid, .offers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero__grid,
  .about__grid,
  .booking__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }
  .hero__left { padding: 20px 0; }
  .booking__grid { padding: 36px 28px; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 60px; }
  .header__phone { display: none; }
}

@media (max-width: 600px) {
  :root {
    --mobile-header-height: 52px;
    --mobile-browser-chrome-buffer: 96px;
  }
  .container { padding: 0 16px; }
  .hero {
    min-height: calc(100svh - var(--mobile-header-height) + var(--mobile-browser-chrome-buffer));
    height: calc(100svh - var(--mobile-header-height) + var(--mobile-browser-chrome-buffer));
    align-items: flex-start;
  }
  @supports (height: 100lvh) {
    .hero {
      min-height: calc(100lvh - var(--mobile-header-height) + var(--mobile-browser-chrome-buffer));
      height: calc(100lvh - var(--mobile-header-height) + var(--mobile-browser-chrome-buffer));
    }
  }
  .hero__slide img {
    object-position: 70% center;
  }
  .hero__scrim {
    background: linear-gradient(
      to right,
      rgba(10, 9, 20, 0.78) 0%,
      rgba(10, 9, 20, 0.54) 54%,
      rgba(10, 9, 20, 0.22) 100%
    );
  }
  .hero__scrim::after {
    background: linear-gradient(
      to bottom,
      rgba(10, 9, 20, 0.1) 0%,
      rgba(10, 9, 20, 0.02) 38%,
      rgba(10, 9, 20, 0.34) 100%
    );
  }
  .hero__grid {
    min-height: 100%;
    height: 100%;
    padding-top: clamp(54px, 10svh, 76px);
    padding-bottom: max(96px, calc(28px + env(safe-area-inset-bottom)));
    align-content: center;
  }
  .hero__left {
    padding: 0;
  }
  .pill--badge {
    display: none;
  }
  .hero__sub {
    display: none;
  }
  .hero__ctas .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .bento { grid-template-columns: 1fr; }
  .bento--stat, .bento--dark, .bento--white, .bento--accent, .bento--equip { grid-column: span 1; }
  .bento--stat { flex-direction: column; min-height: 360px; }
  .bento--stat__imgplace { min-height: 180px; }
  .services__grid, .doctors__grid, .offers__grid, .reviews__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__title {
    font-size: clamp(40px, 11.4vw, 44px);
    margin: 18px 0 22px;
    letter-spacing: -0.02em;
  }
  .section-title { font-size: 34px; }
  .booking__grid { padding: 28px 20px; }
  .booking__form { padding: 24px; }
  .prices-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sticky-cta span { display: none; }
  .sticky-cta { padding: 14px; }
}
