/* ============================================
   УЛЫБКА — Warm Modern Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Colors — Warm palette */
  --ink: #1A2332;
  --ink-secondary: #4A5568;
  --ink-muted: #8896A6;
  --surface: #FFFFFF;
  --bg: #FAFBFC;
  --bg-warm: #F5F0EB;
  --bg-section: #F0F4F8;
  --accent: #1B7FA3;
  --accent-hover: #15688A;
  --accent-soft: #E8F4F8;
  --accent-pale: rgba(27,127,163,0.06);
  --warm: #C4956A;
  --warm-soft: #FFF8F0;
  --border: rgba(0,0,0,0.06);
  --success: #2D8B5F;
  --white: #FFFFFF;
  --on-accent: #FFFFFF;

  /* Shadows — soft, natural */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Spacing */
  --container: 1160px;
  --gutter: 24px;
}

/* ============================================
   Reset
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ============================================
   NAV — Clean, minimal, premium
   ============================================ */

.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav-wrap.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
  letter-spacing: 0.005em;
}

.nav-links a:hover { color: var(--ink); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-phone:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-accent {
  height: 42px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  border-radius: var(--r-md);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,127,163,0.25);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-large {
  height: 54px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: var(--r-md);
}

.btn-large svg {
  width: 18px; height: 18px;
  transition: transform 0.3s ease;
}

.btn-large:hover svg {
  transform: translateX(4px);
}

/* Mobile burger */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-burger span {
  width: 20px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   HERO — Warm split, editorial
   ============================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-micro {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Hero image */
.hero-image {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating card */
.hero-float {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-y 5s ease-in-out infinite;
  z-index: 2;
}

.hero-float-icon {
  width: 40px; height: 40px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-float-icon svg { width: 20px; height: 20px; }

.hero-float-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-float-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.hero-float-label {
  font-size: 12px;
  color: var(--ink-muted);
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   STATS — Clean horizontal strip
   ============================================ */

.stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* ============================================
   BEFORE-AFTER Section
   ============================================ */

.ba-section {
  padding: 100px 0;
  background: var(--bg-warm);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ba-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ba-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ba-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ba-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 400px;
}

.ba-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.ba-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.ba-feature-check {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ba-feature-check svg {
  width: 14px; height: 14px;
  color: white;
}

/* Before/After Slider */
.ba-slider-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: ew-resize;
  box-shadow: var(--shadow-xl);
  -webkit-user-select: none;
  user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-after {
  z-index: 1;
}

.ba-img-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  transition: transform 0.2s ease;
}

.ba-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-handle svg {
  width: 20px; height: 20px;
  color: var(--ink);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--r-full);
}

.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

/* ============================================
   STEPS — Timeline
   ============================================ */

.steps {
  padding: 100px 0;
  background: var(--bg);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 20px;
  font-feature-settings: "tnum";
  color: var(--accent);
  opacity: 0.2;
}

.step-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* Connector line between steps */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

/* ============================================
   DOCTOR — Profile card
   ============================================ */

.doctor {
  padding: 100px 0;
  background: var(--bg-warm);
}

.doctor-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.doctor-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-info {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.doctor-spec {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

.doctor-stats-row {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4px 0;
}

.doctor-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doctor-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  font-feature-settings: "tnum";
}

.doctor-stat-label {
  font-size: 12px;
  color: var(--ink-muted);
}

.doctor-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 420px;
}

/* ============================================
   PRICES — Clean table
   ============================================ */

.prices {
  padding: 100px 0;
  background: var(--bg);
}

.price-table {
  max-width: 720px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  transition: background 0.2s ease;
}

.price-row:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.price-row-alt {
  background: var(--bg);
}

.price-row-highlight {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}

.price-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.price-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: rgba(27,127,163,0.1);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.price-value {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  font-feature-settings: "tnum";
}

.price-free {
  color: var(--success);
}

/* ============================================
   REVIEWS — Card grid
   ============================================ */

.reviews {
  padding: 100px 0;
  background: var(--bg-section);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: #D97706;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-secondary);
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.review-source {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ============================================
   FORM — CTA Section
   ============================================ */

.cta-form {
  padding: 100px 0;
  background: var(--bg-warm);
}

.form-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 56px;
  box-shadow: var(--shadow-lg);
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.form-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.form-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.form-benefits svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.form-fields {
  display: flex;
  flex-direction: column;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.input-group input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input::placeholder {
  color: var(--ink-muted);
}

.input-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,127,163,0.12);
  background: var(--surface);
}

.btn-full {
  width: 100%;
}

.form-note {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 40px 0;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
}

.form-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.form-success p {
  font-size: 15px;
  color: var(--ink-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--white);
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-logo-mark svg {
  width: 20px;
  height: 20px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 24px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 280px;
}

.footer-map iframe {
  display: block;
  border: none;
  min-height: 280px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
.reveal-d5 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float, .hero-badge::before { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-frame { aspect-ratio: 3/4; max-width: 400px; margin: 0 auto; }
  .hero-float { left: auto; right: -16px; bottom: 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item::after { display: none; }

  .ba-grid { grid-template-columns: 1fr; gap: 48px; }

  .steps-timeline { grid-template-columns: repeat(2, 1fr); }
  .step-item:not(:last-child)::after { display: none; }

  .doctor-card { grid-template-columns: 1fr; gap: 0; }
  .doctor-photo { aspect-ratio: 16/9; max-height: 360px; }
  .doctor-info { padding: 40px; }

  .reviews-grid { grid-template-columns: 1fr 1fr; }

  .form-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }

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

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .nav-wrap { padding: 12px 16px; }
  .nav-phone { display: none; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 8vw, 40px); }
  .hero-float { display: none; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .btn-large { width: 100%; height: 50px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 28px; }

  .ba-section { padding: 64px 0; }
  .ba-slider-wrap { aspect-ratio: 1/1; }

  .steps { padding: 64px 0; }
  .steps-timeline { grid-template-columns: 1fr; gap: 16px; }
  .step-item { padding: 24px 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
  .step-number { margin-bottom: 0; font-size: 28px; }

  .doctor { padding: 64px 0; }
  .doctor-info { padding: 28px; }
  .doctor-stats-row { gap: 20px; }

  .prices { padding: 64px 0; }
  .price-row { padding: 16px 20px; flex-wrap: wrap; gap: 8px; }
  .price-value { font-size: 18px; }

  .reviews { padding: 64px 0; }
  .reviews-grid { grid-template-columns: 1fr; }

  .cta-form { padding: 64px 0; }
  .form-card { padding: 28px; gap: 32px; }
  .form-title { font-size: 24px; }

  .footer { padding: 48px 0 0; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
