/* ============================================================
   Современная Терапия — Design System
   Primary #58A45E · Secondary #00473C
   Type: Onest (display) + Golos Text (body)
   ============================================================ */

:root {
  /* Brand */
  --primary:      #58A45E;
  --primary-600:  #4A9150;
  --primary-700:  #3C7A41;
  --secondary:    #00473C;   /* deep green — dark sections, headings */
  --secondary-700:#003A31;

  /* Ink & neutrals (green-leaning) */
  --ink:    #11251F;
  --body:   #3D514A;
  --muted:  #6B7C74;
  --line:   #E4EDE5;
  --line-2: #D6E4D8;

  /* Surfaces */
  --bg:        #FFFFFF;
  --bg-soft:   #F4F8F3;
  --bg-mint:   #E9F3EA;
  --bg-cream:  #FBFCF9;
  --tint:      rgba(88,164,94,.10);

  /* Effects */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(0,71,60,.05), 0 2px 8px rgba(0,71,60,.04);
  --shadow:    0 4px 14px rgba(0,71,60,.07), 0 18px 40px -18px rgba(0,71,60,.18);
  --shadow-lg: 0 8px 24px rgba(0,71,60,.10), 0 40px 80px -32px rgba(0,71,60,.30);

  --maxw: 1480px;
  --gut: clamp(20px, 3vw, 48px);

  /* Tweakable accents */
  --accent: var(--primary);
  --font-display: "Onest", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;

  /* Icon masks (used by ::before clovers, checks, etc. on every page) */
  --clover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35 35'%3E%3Cpath d='M8.4 0.8c1.6-0.5 2.9-0.3 3.9 0.7c1 1 2.2 3.8 2.9 6.7c0.5 2.1 1.1 5.8-0.3 7.2c-1.5 1.5-5.1 0.8-7.2 0.3C4.8 14.9 2 13.7 1 12.7c-1-1-1.2-2.3-0.7-3.9C1.1 6.4 5.6 1.8 8.4 0.8z'/%3E%3Cpath d='M26.6 0.8c-1.6-0.5-2.9-0.3-3.9 0.7c-1 1-2.2 3.8-2.9 6.7c-0.5 2.1-1.1 5.8 0.3 7.2c1.5 1.5 5.1 0.8 7.2 0.3c2.9-0.7 5.7-1.9 6.7-2.9c1-1 1.2-2.3 0.7-3.9C33.9 6.4 29.4 1.8 26.6 0.8z'/%3E%3Cpath d='M8.4 34.2c1.6 0.5 2.9 0.3 3.9-0.7c1-1 2.2-3.8 2.9-6.7c0.5-2.1 1.1-5.8-0.3-7.2c-1.5-1.5-5.1-0.8-7.2-0.3c-2.9 0.7-5.7 1.9-6.7 2.9c-1 1-1.2 2.3-0.7 3.9C1.1 28.6 5.6 33.2 8.4 34.2z'/%3E%3Cpath d='M26.6 34.2c-1.6 0.5-2.9 0.3-3.9-0.7c-1-1-2.2-3.8-2.9-6.7c-0.5-2.1-1.1-5.8 0.3-7.2c1.5-1.5 5.1-0.8 7.2-0.3c2.9 0.7 5.7 1.9 6.7 2.9c1 1 1.2 2.3 0.7 3.9C33.9 28.6 29.4 33.2 26.6 34.2z'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--primary-700);
  font-family: var(--font-body);
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: var(--accent);
  -webkit-mask: var(--clover) center/contain no-repeat;
  mask: var(--clover) center/contain no-repeat;
}
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 18px; }
.section-head .lead { margin-top: 18px; font-size: clamp(17px,1.6vw,20px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--primary-700); background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--secondary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 20px 34px; font-size: 17px; }
.link-soft {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--primary-700);
}
.link-soft .arr { transition: transform .2s ease; }
.link-soft:hover .arr { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  height: 76px;
}
.nav .logo { height: 32px; width: auto; flex: none; justify-self: start; }
.nav-links { display: flex; justify-content: center; gap: clamp(18px, 2vw, 36px); }
.nav-cta { padding: 12px 22px; font-size: 15px; flex: none; justify-self: end; }
.nav-links a {
  font-size: 15.5px; font-weight: 500; color: var(--body);
  padding: 6px 0; position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--primary-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transition: right .28s cubic-bezier(.2,.7,.3,1);
}
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--primary-700); font-weight: 600; }
.nav-links a.active::after { right: 0; }

/* dropdown submenus */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-top { display: inline-flex; align-items: center; gap: 5px; }
.nav-chev { opacity: .6; transition: transform .25s ease; }
.nav-item:hover .nav-chev { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 252px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 48px -16px rgba(16,40,34,.28);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 70;
}
.nav-sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 14px; }
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
.nav-sub a { display: flex; flex-direction: column; gap: 1px; padding: 9px 14px; border-radius: 11px; white-space: nowrap; }
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: var(--bg-mint); color: var(--ink); }
.nav-sub a span { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.nav-sub a small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
/* scroll progress */
.scroll-prog { position: absolute; left: 0; bottom: -1px; height: 2.5px; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width .1s linear; z-index: 2; }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px,6vw,72px); padding-bottom: clamp(40px,6vw,80px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 6%, var(--bg-mint), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, var(--bg-soft), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; }
.hero h1 { font-size: clamp(32px, 3.2vw, 48px); max-width: 19ch; }
.hero .sub { margin-top: 16px; font-size: clamp(17px,1.5vw,20px); color: var(--body); max-width: 540px; }
.accent { color: var(--primary); }
.hero-price {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 20px; max-width: 560px;
  padding: 18px 22px; border-radius: var(--r);
  background: linear-gradient(120deg, var(--bg-mint), var(--bg-soft));
  border: 1px solid var(--line-2);
}
.hp-main { display: flex; align-items: center; gap: 14px; }
.hp-amount {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 40px);
  color: var(--secondary); letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
}
.hp-label { font-size: 14.5px; color: var(--body); max-width: 190px; line-height: 1.35; }
.hp-note {
  font-size: 13.5px; font-weight: 600; color: var(--primary-700);
  padding-left: 18px; border-left: 2px solid var(--line-2); line-height: 1.35; flex: 1; min-width: 160px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; align-items: center; }
.hero-assure {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px;
  font-size: 15px; color: var(--muted);
}
.hero-assure span { display: inline-flex; align-items: center; gap: 8px; }
.hero-assure span::before {
  content: ""; width: 17px; height: 17px; flex: none;
  background: var(--primary);
  -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat;
}

/* hero visual */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  width: 62%; aspect-ratio: 1; right: -6%; top: -7%;
  background: var(--accent);
  -webkit-mask: var(--clover) center/contain no-repeat; mask: var(--clover) center/contain no-repeat;
  opacity: .10; transform: rotate(8deg);
}
.hero-visual::after {
  content: ""; position: absolute; z-index: 0;
  width: 30%; aspect-ratio: 1; left: -5%; bottom: 16%;
  background: var(--secondary);
  -webkit-mask: var(--clover) center/contain no-repeat; mask: var(--clover) center/contain no-repeat;
  opacity: .07; transform: rotate(-14deg);
}
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; background: var(--bg-mint);
  outline: 8px solid #fff; outline-offset: 0;
}
.hero-photo img { transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.hero-visual:hover .hero-photo img { transform: scale(1.04); }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line);
}
.float-card .ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--tint); display: grid; place-items: center; color: var(--primary-700);
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { font-family: var(--font-display); color: var(--ink); font-size: 16px; display: block; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-1 { top: 7%; left: -34px; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-2 { bottom: 9%; right: -28px; animation: floaty 6s ease-in-out infinite 3s; z-index: 2; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .float-1, .float-2 { animation: none; } }

/* metrics band */
.metrics {
  margin-top: clamp(40px,5vw,64px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-cream);
  display: grid; grid-template-columns: repeat(4,1fr);
  overflow: hidden;
}
.metric { padding: 30px 30px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric b {
  font-family: var(--font-display); color: var(--secondary);
  font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em;
  display: block; line-height: 1;
}
.metric span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* ============================================================
   WHAT IS / VS OFFLINE
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.compare-card { border-radius: var(--r-lg); padding: clamp(28px,3vw,40px); border: 1px solid var(--line); }
.compare-card.online { background: var(--secondary); color: #cfe6d6; border-color: transparent; }
.compare-card.online h3 { color: #fff; }
.compare-card.offline { background: var(--bg-soft); }
.compare-card h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.compare-card .tag {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.online .tag { background: rgba(255,255,255,.14); color: #bfe6c8; }
.offline .tag { background: var(--bg-mint); color: var(--primary-700); }
.compare-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.compare-card li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.compare-card li::before {
  content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px;
  -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat;
}
.online li { color: #d7ecdc; } .online li::before { background: #7fd592; }
.offline li { color: var(--body); } .offline li::before { background: var(--primary); -webkit-mask: var(--info) center/contain no-repeat; mask: var(--info) center/contain no-repeat; }
.compare-note { margin-top: 18px; font-size: 14px; }
.online .compare-note { color: #9fccaa; } .offline .compare-note { color: var(--muted); }

/* ============================================================
   SITUATIONS
   ============================================================ */
.situations { background: var(--bg-soft); }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 52px; }
.sit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.sit-card .ic { width: 50px; height: 50px; border-radius: 15px; background: var(--bg-mint);
  display: grid; place-items: center; color: var(--primary-700); margin-bottom: 18px; }
.sit-card .ic svg { width: 26px; height: 26px; }
.sit-card h3 { font-size: 19px; }
.sit-card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.serv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.serv-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; background: #fff;
  color: inherit; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.serv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.serv-card:hover .link-soft { color: var(--primary-700); }
.serv-card:hover .link-soft .arr { transform: translateX(4px); }
.serv-card .ph { aspect-ratio: 16/10; background: var(--bg-mint); position: relative; }
.serv-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff; color: var(--primary-700); font-weight: 600; font-size: 13px;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.serv-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.serv-body h3 { font-size: 21px; }
.serv-body p { margin-top: 10px; font-size: 15.5px; color: var(--muted); flex: 1; }
.serv-body .link-soft { margin-top: 20px; }
.serv-foot { margin-top: 40px; display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--secondary); color: #cfe6d6; }
.why .section-head h2 { color: #fff; }
.why .eyebrow { color: #8fd29c; }
.why .eyebrow::before { background: #8fd29c; }
.why .section-head .lead { color: #a9ccb2; }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 52px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-lg); padding: 30px 32px; }
.why-card .num { font-family: var(--font-display); font-size: 14px; color: #7fd592; font-weight: 700; letter-spacing: .05em; }
.why-card h3 { color: #fff; font-size: 22px; margin-top: 12px; }
.why-card p { margin-top: 12px; color: #b9d6c0; font-size: 16px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 56px; }
.step { position: relative; padding-right: 28px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 56px; right: 8px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 14px);
}
.step .n {
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  display: grid; place-items: center; position: relative; z-index: 2;
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.step h3 { font-size: 19px; margin-top: 24px; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--muted); padding-right: 12px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews { background: var(--bg-soft); }
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; }
.rev-card .quote-mark { font-family: var(--font-display); font-size: 56px; line-height: 0; color: var(--primary); opacity: .28; height: 38px; margin-bottom: 6px; }
.rev-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); flex: 1; }
.rev-author { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.rev-author image-slot, .rev-author .av { width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--bg-mint); }
.rev-author .av { display: grid; place-items: center; border: 1px solid var(--line-2); }
.rev-author .av::before { content: ""; width: 26px; height: 26px; background: var(--primary); -webkit-mask: var(--clover) center/contain no-repeat; mask: var(--clover) center/contain no-repeat; }
.rev-author b { font-family: var(--font-display); color: var(--ink); font-size: 15.5px; display: block; }
.rev-author small { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 860px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 26px 48px 26px 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px,2vw,21px); color: var(--ink);
  position: relative; display: block;
}
.faq-q::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%);
  background: var(--primary-700);
  -webkit-mask: var(--plus) center/contain no-repeat; mask: var(--plus) center/contain no-repeat;
  transition: transform .3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 60px 28px 0; color: var(--body); font-size: 17px; }

/* ============================================================
   BOOKING + FINAL CTA
   ============================================================ */
.cta-final { position: relative; overflow: hidden; padding-block: clamp(36px,4.5vw,64px) clamp(64px,9vw,120px); }
.cta-box {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-700));
  border-radius: var(--r-xl); padding: clamp(44px,5.5vw,84px) clamp(32px,5vw,72px); color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: var(--primary); opacity: .14; border-radius: 50%; filter: blur(8px);
}
.cta-box::after {
  content: ""; position: absolute; left: -80px; bottom: -90px; width: 280px; height: 280px;
  background: var(--primary); opacity: .1; border-radius: 50%; filter: blur(8px);
}
.cta-box > div { position: relative; z-index: 2; max-width: 720px; }
.cta-box h2 { color: #fff; font-size: clamp(28px,3.6vw,44px); }
.cta-box .sub { margin-top: 18px; color: #b9d6c0; font-size: clamp(16px,1.6vw,19px); line-height: 1.55; }
.cta-box .eyebrow { color: #8fd29c; justify-content: center; } .cta-box .eyebrow::before { background: #8fd29c; }

.cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(28px,3.5vw,40px); }
.cta-book { display: inline-flex; align-items: center; gap: 10px; padding-inline: 38px; font-size: 17px; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.cta-book .ext { width: 18px; height: 18px; }
.cta-alt { color: #cfe6d6; font-size: 15px; font-weight: 500; transition: color .2s ease; }
.cta-alt:hover { color: #fff; }
.cta-steps { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: clamp(30px,4vw,44px); padding-top: clamp(26px,3vw,34px); border-top: 1px solid rgba(255,255,255,.16); width: 100%; max-width: 720px; }
.cta-steps span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: #d6ebdb; }
.cta-steps span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; flex: none; }
@media (max-width: 640px) { .cta-steps { flex-direction: column; align-items: flex-start; max-width: 320px; margin-inline: auto; } }

.book-form { background: #fff; border-radius: var(--r-lg); padding: 30px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.book-form h3 { font-size: 20px; }
.book-form .field, .contact-form-card .field { margin-top: 16px; }
.book-form label, .contact-form-card label { display: block; font-size: 13.5px; font-weight: 600; color: var(--body); margin-bottom: 7px; }
.book-form input, .book-form textarea, .contact-form-card input, .contact-form-card textarea {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--bg-cream); transition: border-color .2s ease;
}
.book-form input:focus, .book-form textarea:focus, .contact-form-card input:focus, .contact-form-card textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.book-form textarea, .contact-form-card textarea { resize: vertical; min-height: 84px; }
.book-form .btn { width: 100%; margin-top: 20px; }
.book-form .fine, .contact-form-card .fine { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--secondary); color: #a9c6ba; padding-block: clamp(56px,7vw,88px) 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo { height: 30px; margin-bottom: 20px; }
.foot-about { font-size: 15px; line-height: 1.6; color: #9dbcb0; max-width: 320px; }
.foot-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.foot-col a, .foot-col p { display: block; font-size: 15.5px; color: #a9c6ba; margin-bottom: 12px; }
.foot-col a:hover { color: #fff; }
@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
}
.foot-legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-legal .disclaimer { font-size: 13px; color: #88a89c; max-width: 760px; line-height: 1.55; }
.foot-legal .copy { font-size: 13px; color: #7b9b8f; }
.foot-bottom { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.foot-policy { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.foot-policy a { font-size: 13px; color: #88a89c; }
.foot-policy a:hover { color: #fff; }
@media (max-width: 720px) {
  .foot-bottom { align-items: flex-start; text-align: left; }
  .foot-policy { align-items: flex-start; flex-direction: row; gap: 18px; flex-wrap: wrap; }
}

/* ============================================================
   LEGAL / ARTICLE PAGES (privacy, offer)
   ============================================================ */
.legal { padding-block: clamp(28px,4vw,52px) clamp(56px,7vw,96px); }
.legal-body { max-width: 860px; }
.legal-updated { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--muted); background: var(--bg-mint); padding: 7px 14px; border-radius: 999px; }
.legal-body h2 { font-family: var(--font-display); font-size: clamp(20px,2.4vw,26px); line-height: 1.25; color: var(--ink); margin-top: clamp(36px,4vw,52px); padding-top: 22px; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 28px; }
.legal-body p { font-size: 16px; line-height: 1.7; color: var(--ink-soft, #3a4a44); margin-top: 14px; }
.legal-body ul { margin-top: 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-body li { font-size: 16px; line-height: 1.65; color: var(--ink-soft, #3a4a44); }
.legal-body a { color: var(--primary-700, #2f7d3a); font-weight: 600; word-break: break-word; }
.legal-body a:hover { text-decoration: underline; }
.legal-req { margin-top: clamp(36px,4vw,52px); padding: 26px 28px; background: var(--bg-mint); border-radius: var(--r-lg); }
.legal-req p { font-size: 15px; line-height: 1.65; margin-top: 8px; }
.legal-req p:first-child { margin-top: 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards-4, .metrics { grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric { border-top: 1px solid var(--line); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 36px 0; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  .nav { display: flex; justify-content: space-between; height: 64px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .float-1 { left: 0; } .float-2 { right: 0; }
  .compare, .why-grid, .cta-box { grid-template-columns: 1fr; }
  .serv-grid, .rev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .cards-4, .serv-grid, .rev-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-left: 0 !important; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
}
/* Phones: force any multi-column section grid to a single column,
   overriding per-page inline grid-template-columns overrides. */
@media (max-width: 600px) {
  .cards-4, .inc-grid, .sit-3, .cond-grid, .price-grid,
  .pub-grid, .feat-strip, .steps, .steps-3 {
    grid-template-columns: 1fr !important;
  }
}

/* mobile menu */
.m-menu { position: fixed; inset: 0; z-index: 80; background: var(--bg); padding: 20px var(--gut) calc(28px + env(safe-area-inset-bottom)); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.m-menu.open { transform: none; }
.m-menu .m-top { display: flex; justify-content: space-between; align-items: center; height: 50px; flex: none; }
.m-menu nav { display: flex; flex-direction: column; margin-top: 18px; }
.m-item { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-link { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); padding: 15px 0; flex: 1; }
.m-link.active { color: var(--primary-700); }
.m-acc { background: none; border: 0; padding: 14px 4px 14px 16px; color: var(--ink); display: grid; place-items: center; cursor: pointer; align-self: stretch; }
.m-acc .nav-chev { width: 18px; height: 18px; opacity: .65; transition: transform .25s ease; }
.m-item.open .m-acc .nav-chev { transform: rotate(180deg); }
.m-sub { display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.m-sub a { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--body); padding: 11px 0 11px 18px; border-top: 1px solid var(--line); }
.m-sub a:first-child { border-top: 0; }
.m-item.open .m-sub { padding-bottom: 10px; }
.m-menu .btn { margin-top: 26px; flex: none; }

/* sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  background: var(--accent); color: #fff; text-align: center;
  font-weight: 600; font-size: 16px; padding: 16px; border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(0,71,60,.5);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.mobile-cta.show { transform: none; }
@media (max-width: 900px) {
  .mobile-cta { display: block; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px,6vw,72px) clamp(40px,5vw,64px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 80% at 92% 0%, var(--bg-mint), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, var(--bg-soft), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -40px; top: -30px;
  width: 280px; height: 280px; background: var(--accent); opacity: .07; transform: rotate(10deg);
  -webkit-mask: var(--clover) center/contain no-repeat; mask: var(--clover) center/contain no-repeat;
}
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--primary-700); }
.crumbs span { opacity: .5; }
.page-hero h1 { font-size: clamp(32px, 3.8vw, 48px); max-width: 17ch; }
.page-hero .lead { margin-top: 20px; font-size: clamp(17px,1.6vw,20px); color: var(--body); max-width: 620px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.page-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-meta span::before { content:""; width:17px;height:17px;flex:none;background:var(--primary);-webkit-mask:var(--check) center/contain no-repeat;mask:var(--check) center/contain no-repeat; }

/* sticky anchor tabs */
.svc-tabs { position: sticky; top: 76px; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px) saturate(1.4); border-bottom: 1px solid var(--line); }
.svc-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.svc-tabs .wrap::-webkit-scrollbar { display: none; }
.svc-tab { white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--body); padding: 9px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.svc-tab:hover { background: var(--bg-soft); color: var(--primary-700); }
.svc-tab.active { background: var(--tint); color: var(--primary-700); }

/* service rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; padding-block: clamp(56px,7vw,96px); border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.svc-row:first-of-type { border-top: 0; }
.svc-media { position: relative; }
.svc-media .frame { position: relative; z-index: 1; aspect-ratio: 5/4; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow-lg); outline: 8px solid #fff; }
.svc-media .frame img, .svc-media .frame image-slot { width: 100%; height: 100%; object-fit: cover; }
.svc-media::before { content:""; position:absolute; z-index:0; width:46%; aspect-ratio:1; right:-5%; top:-8%; background:var(--accent); opacity:.10; transform:rotate(8deg); -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-row:nth-child(even) .svc-media::before { left:-5%; right:auto; transform:rotate(-12deg); }
.svc-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--primary); letter-spacing: .06em; }
.svc-content h2 { font-size: clamp(26px,3vw,38px); margin-top: 10px; }
.svc-intro { margin-top: 16px; font-size: 17px; color: var(--body); }
.svc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; color: var(--body); }
.svc-list li::before { content:""; width: 22px; height: 22px; flex: none; margin-top: 1px; background: var(--primary); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.svc-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.svc-price { display: flex; align-items: baseline; gap: 8px; }
.svc-price b { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--secondary); }
.svc-price small { font-size: 14px; color: var(--muted); }

/* checkup highlight */
.checkup { background: var(--secondary); color: #cfe6d6; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.checkup::after { content:""; position:absolute; right:-60px; bottom:-60px; width:340px; height:340px; background:var(--primary); opacity:.12; -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; transform:rotate(-8deg); }
.checkup-inner { padding: clamp(36px,5vw,64px); position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,3vw,48px) clamp(32px,4vw,64px); align-items: start; }
.checkup .svc-num { color: #7fd592; }
.checkup h2 { color: #fff; font-size: clamp(28px,3vw,40px); margin-top: 10px; max-width: 16ch; }
.checkup .svc-intro { color: #b9d6c0; max-width: 540px; }
.checkup-main { display: flex; flex-direction: column; height: 100%; }
.checkup-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checkup-list li { display: flex; gap: 12px; font-size: 16.5px; color: #d7ecdc; }
.checkup-list li::before { content:""; width: 22px; height: 22px; flex: none; margin-top: 1px; background: #7fd592; -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.checkup-steps { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; height: 100%; }
.checkup-steps h4 { color: #fff; font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 20px; }
.checkup-step { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.checkup-step:first-of-type { border-top: 0; padding-top: 0; }
.checkup-step .cs-n { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.checkup-step p { font-size: 15.5px; color: #d7ecdc; line-height: 1.45; align-self: center; }
.checkup-foot-note { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #9fccaa; line-height: 1.5; }
/* full-width pricing + CTA bar */
.checkup-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 10px; padding-top: clamp(28px,3vw,40px); border-top: 1px solid rgba(255,255,255,.12); }
.checkup-tiers { display: flex; gap: 14px; flex-wrap: wrap; }
.tier { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 14px 22px; min-width: 150px; }
.tier-age { display: block; font-size: 13.5px; color: #9fccaa; margin-bottom: 4px; }
.tier b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.4vw,28px); color: #fff; letter-spacing: -0.02em; }
.checkup-cta .btn { flex: none; }
.checkup .svc-foot { margin-top: 30px; }
.checkup-price { color: #fff; }
.checkup-price b { color: #fff; }
.checkup-price small { color: #9fccaa; }

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; gap: 32px; }
  .svc-row:nth-child(even) .svc-media { order: -1; }
  .svc-media { max-width: 480px; }
  .checkup-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-tabs { top: 0; }
}

/* ============================================================
   CONSULTATION DETAIL PAGE
   ============================================================ */
.cons-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; margin-top: 8px; }
.cons-hero-grid .page-hero-meta { margin-top: 28px; }
.cons-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.cons-visual { position: relative; }
.cons-visual::before { content:""; position:absolute; z-index:0; width:54%; aspect-ratio:1; right:-5%; top:-8%; background:var(--accent); opacity:.10; transform:rotate(8deg); -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; }
.cons-photo { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow-lg); outline: 8px solid #fff; }
.cons-photo img, .cons-photo image-slot { width: 100%; height: 100%; object-fit: cover; }

/* includes cards */
.inc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 52px; }
.inc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; transition: transform .2s ease, box-shadow .2s ease; }
.inc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.inc-card .ic { width: 50px; height: 50px; border-radius: 15px; background: var(--bg-mint); display: grid; place-items: center; color: var(--primary-700); margin-bottom: 18px; }
.inc-card .ic svg { width: 26px; height: 26px; }
.inc-card h3 { font-size: 20px; }
.inc-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.inc-card li { display: flex; gap: 10px; font-size: 15.5px; color: var(--body); line-height: 1.45; }
.inc-card li::before { content:""; width: 19px; height: 19px; flex: none; margin-top: 2px; background: var(--primary); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }

/* conditions / symptoms chips */
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.cond-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; }
.cond-card h3 { font-size: 19px; display: flex; align-items: center; gap: 12px; }
.cond-card h3 .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--tint); display: grid; place-items: center; color: var(--primary-700); flex: none; }
.cond-card h3 .ci svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip { font-size: 14.5px; color: var(--secondary); background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 15px; line-height: 1.2; transition: background .15s ease, border-color .15s ease; }
.cond-card:hover .chip { border-color: var(--line-2); }
.chip:hover { background: var(--bg-mint); border-color: var(--primary); }

/* situation cards */
.sit-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.case-card .quote { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--primary-700); margin-bottom: 12px; }
.case-card h3 { font-size: 18px; margin-bottom: 10px; }
.case-card p { font-size: 15px; color: var(--muted); }

/* doctor card */
.doc-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px,4vw,56px); align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,3vw,44px); }
.doc-photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow); }
.doc-photo img, .doc-photo image-slot { width: 100%; height: 100%; object-fit: cover; }
.doc-info .svc-num { color: var(--primary); }
.doc-info h3 { font-size: clamp(24px,2.6vw,32px); margin-top: 8px; }
.doc-role { color: var(--primary-700); font-weight: 600; font-size: 16px; margin-top: 6px; }
.doc-info p { margin-top: 16px; color: var(--body); font-size: 16px; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

@media (max-width: 900px) {
  .cons-hero-grid { grid-template-columns: 1fr; }
  .cons-visual { order: -1; max-width: 440px; }
  .inc-grid, .cond-grid, .sit-3 { grid-template-columns: 1fr; }
  .doc-card { grid-template-columns: 1fr; }
  .doc-photo { max-width: 320px; }
}

/* ============================================================
   DOCTORS PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 52px; }
.team-card { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.team-photo { position: relative; background: var(--bg-mint); overflow: hidden; }
.team-photo img, .team-photo image-slot { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-body { padding: 28px 30px; display: flex; flex-direction: column; }
.team-role { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--primary-700); background: var(--tint); padding: 6px 12px; border-radius: 999px; }
.team-body h3 { font-size: 21px; margin-top: 14px; }
.team-body p { font-size: 15px; color: var(--muted); margin-top: 12px; flex: 1; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.team-tags .chip { font-size: 13px; padding: 6px 12px; }
.team-foot { margin-top: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

@media (max-width: 1080px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .team-card { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 4/3; }
}

/* ============================================================
   SINGLE DOCTOR PROFILE PAGE
   ============================================================ */
.prof-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: center; margin-top: 8px; }
.prof-visual { position: relative; }
.prof-visual::before { content:""; position:absolute; z-index:0; width:52%; aspect-ratio:1; left:-6%; bottom:-8%; background:var(--accent); opacity:.10; transform:rotate(-10deg); -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; }
.prof-photo { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow-lg); outline: 8px solid #fff; }
.prof-photo img, .prof-photo image-slot { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.prof-role { color: var(--primary-700); font-weight: 600; font-size: clamp(16px,1.7vw,19px); margin-top: 14px; }
.prof-contact { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.prof-contact a { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--body); font-size: 15.5px; }
.prof-contact a:hover { color: var(--primary-700); }
.prof-contact .ci { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--primary-700); }
.prof-contact .ci svg { width: 18px; height: 18px; }
.prof-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.prof-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* about: photo + accordion */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,5vw,64px); align-items: start; margin-top: 52px; }
.about-photo { position: relative; }
.about-photo .frame { aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow); outline: 7px solid #fff; }
.about-photo .frame img, .about-photo .frame image-slot { width: 100%; height: 100%; object-fit: cover; }
.about-acc .faq-item:first-child { border-top: 1px solid var(--line); }

/* education timeline */
.edu-list { display: grid; gap: 18px; margin-top: 52px; }
.edu-item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; align-items: start; transition: transform .2s ease, box-shadow .2s ease; }
.edu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.edu-year { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--primary); letter-spacing: -0.01em; }
.edu-year span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 4px; }
.edu-item h3 { font-size: 19px; }
.edu-item p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* additional courses card */
.courses-card { background: var(--secondary); color: #cfe6d6; border-radius: var(--r-xl); padding: clamp(32px,4vw,52px); margin-top: 52px; position: relative; overflow: hidden; }
.courses-card::after { content:""; position:absolute; right:-50px; bottom:-50px; width:280px; height:280px; background:var(--primary); opacity:.12; -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; transform:rotate(-8deg); }
.courses-card .eyebrow { color: #8fd29c; } .courses-card .eyebrow::before { background: #8fd29c; }
.courses-card h2 { color: #fff; font-size: clamp(24px,2.8vw,34px); margin-top: 12px; max-width: 20ch; }
.courses-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; position: relative; z-index: 1; }
.courses-list li { display: flex; gap: 12px; font-size: 15.5px; color: #d7ecdc; line-height: 1.4; }
.courses-list li::before { content:""; width: 20px; height: 20px; flex: none; margin-top: 2px; background: #7fd592; -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.courses-list li b { color: #fff; font-weight: 600; }

@media (max-width: 900px) {
  .prof-hero-grid { grid-template-columns: 1fr; }
  .prof-visual { order: -1; max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .courses-list { grid-template-columns: 1fr; }
  .edu-item { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================================
   CONTACTS PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,4vw,56px); margin-top: 52px; align-items: stretch; }
.contact-info { display: grid; gap: 16px; grid-auto-rows: min-content; align-content: start; }
.contact-row { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.contact-row .ci { width: 54px; height: 54px; flex: none; border-radius: 16px; background: var(--bg-mint); display: grid; place-items: center; color: var(--primary-700); }
.contact-row .ci svg { width: 26px; height: 26px; }
.contact-row small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact-row b, .contact-row a { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 19px; letter-spacing: -0.01em; }
.contact-row a:hover { color: var(--primary-700); }
.contact-row:has(.addr-note) { align-items: flex-start; }
.contact-row .addr-note { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 400; font-family: var(--font-body); color: var(--muted); line-height: 1.5; letter-spacing: normal; max-width: 420px; }
.contact-note { margin-top: 22px; background: var(--secondary); color: #cfe6d6; border-radius: var(--r-lg); padding: 28px 30px; position: relative; overflow: hidden; }
.contact-note::after { content:""; position:absolute; right:-30px; bottom:-30px; width:150px; height:150px; background:var(--primary); opacity:.14; -webkit-mask:var(--clover) center/contain no-repeat; mask:var(--clover) center/contain no-repeat; transform:rotate(-8deg); }
.contact-note b { font-family: var(--font-display); color: #fff; font-size: 18px; display: block; position: relative; z-index: 1; }
.contact-note p { color: #b9d6c0; font-size: 15px; margin-top: 10px; position: relative; z-index: 1; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,3vw,40px); box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 23px; }
.contact-form-card .form-sub { color: var(--muted); font-size: 15px; margin-top: 8px; margin-bottom: 8px; }
.contact-book { display: flex; flex-direction: column; justify-content: flex-start; }
.contact-right { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.contact-right .contact-note { flex: 1 1 auto; margin-top: 0; display: flex; flex-direction: column; justify-content: center; }
.contact-book .cta-book { margin-top: 22px; box-shadow: var(--shadow); }
.contact-book .cta-book .ext { width: 17px; height: 17px; }
.contact-book-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.contact-book-steps li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; color: var(--body); font-weight: 500; }
.contact-book-steps li b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--tint); color: var(--primary-700); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.contact-book .fine { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.contact-book .fine a { color: var(--primary-700); font-weight: 600; }

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

/* ============================================================
   DOCTOR EXTRAS: achievement banner, publications, media
   ============================================================ */
.feat-banner { display: flex; gap: 26px; align-items: center; background: var(--tint); border: 1px solid var(--line-2); border-left: 5px solid var(--primary); border-radius: var(--r-lg); padding: 26px 30px; margin-top: 8px; }
.feat-banner .fb-badge { width: 66px; height: 66px; flex: none; border-radius: 18px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.feat-banner .fb-badge svg { width: 34px; height: 34px; }
.feat-banner .fb-text { flex: 1; min-width: 0; }
.feat-banner .fb-text .eyebrow { margin-bottom: 8px; }
.feat-banner h3 { font-size: clamp(18px,2vw,22px); line-height: 1.32; color: var(--ink); }
.feat-banner p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.feat-banner .btn { flex: none; }
@media (max-width: 760px) { .feat-banner { flex-direction: column; align-items: flex-start; gap: 18px; } }

.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.pub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; display: flex; gap: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.pub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pub-card .pub-n { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--primary); flex: none; line-height: 1.05; }
.pub-card h4 { font-size: 15.5px; line-height: 1.4; color: var(--ink); font-weight: 600; }
.pub-card p { font-size: 13.5px; color: var(--muted); margin-top: 9px; line-height: 1.45; }
@media (max-width: 760px) { .pub-grid { grid-template-columns: 1fr; } }

.media-list { margin-top: 44px; border-top: 1px solid var(--line); }
.media-link { display: flex; align-items: center; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: clamp(15px,1.7vw,17px); transition: color .2s ease, padding-left .2s ease; }
.media-link:hover { color: var(--primary-700); padding-left: 10px; }
.media-link .ml-src { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; }
.media-link .arr { color: var(--primary); font-size: 18px; flex: none; }
@media (max-width: 620px) { .media-link .ml-src { display: none; } }

/* ============================================================
   CHECKUP PAGE
   ============================================================ */
.feat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 44px; }
.feat-strip .fs-item { display: flex; flex-direction: column; gap: 12px; }
.feat-strip .fs-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; color: var(--primary-700); }
.feat-strip .fs-ic svg { width: 25px; height: 25px; }
.feat-strip h4 { font-size: 16.5px; }
.feat-strip p { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 820px) { .feat-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-strip { grid-template-columns: 1fr; } }

.vac-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,64px); align-items: center; }
.vac-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.vac-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--body); line-height: 1.4; }
.vac-list li::before { content: ""; width: 23px; height: 23px; flex: none; margin-top: 1px; background: var(--primary); -webkit-mask: var(--info) center/contain no-repeat; mask: var(--info) center/contain no-repeat; }
.vac-photo { position: relative; }
.vac-photo .frame { aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-mint); box-shadow: var(--shadow-lg); outline: 8px solid #fff; }
.vac-photo .frame img, .vac-photo .frame image-slot { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .vac-grid { grid-template-columns: 1fr; } .vac-photo { max-width: 420px; } }

.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,3vw,38px) clamp(24px,2.5vw,32px); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card .pc-badge { display: inline-block; align-self: flex-start; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.price-card .pc-name { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-700); }
.price-card .pc-prices { display: flex; gap: 28px; margin: 20px 0 2px; flex-wrap: wrap; }
.price-card .pc-prices div { display: flex; flex-direction: column; gap: 3px; }
.price-card .pc-prices span { font-size: 12.5px; color: var(--muted); }
.price-card .pc-prices b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.4vw,27px); color: var(--ink); letter-spacing: -0.01em; }
.price-card p { color: var(--body); font-size: 14.5px; line-height: 1.5; margin-top: 16px; flex: 1; }
.price-card .btn { margin-top: 26px; width: 100%; }
.price-card.featured { background: var(--secondary); border-color: var(--secondary); box-shadow: var(--shadow-lg); }
.price-card.featured .pc-name { color: #8fd29c; }
.price-card.featured .pc-prices b { color: #fff; }
.price-card.featured .pc-prices span, .price-card.featured p { color: #cfe6d6; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* checkup — single price block */
.price-duo { max-width: 680px; margin: 48px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(30px,4vw,48px); text-align: center; }
.pd-tiers { display: flex; align-items: stretch; justify-content: center; gap: clamp(20px,4vw,52px); }
.pd-tier { display: flex; flex-direction: column; gap: 8px; }
.pd-age { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.pd-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,52px); color: var(--secondary); letter-spacing: -0.02em; line-height: 1; }
.pd-div { width: 1px; background: var(--line); align-self: stretch; }
.pd-list { list-style: none; padding: 0; margin: clamp(28px,3vw,38px) 0 0; display: grid; gap: 13px; text-align: left; max-width: 480px; margin-inline: auto; }
.pd-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--body); line-height: 1.45; }
.pd-list li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--tint) var(--check) center/13px no-repeat; }
.price-duo .btn { margin-top: clamp(28px,3vw,36px); }
.pd-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 18px; max-width: 460px; margin-inline: auto; }
@media (max-width: 460px) { .pd-tiers { flex-direction: column; gap: 18px; } .pd-div { width: 60px; height: 1px; align-self: center; } }

.steps.steps-3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 860px) { .steps.steps-3 { grid-template-columns: 1fr; } }

/* ============================================================
   FIT FIRST SCREEN ON LAPTOPS (desktop only)
   Cap hero photo size so the first block fits viewport height.
   ============================================================ */
@media (min-width: 901px) {
  .hero { padding-top: clamp(22px,2.6vw,38px); padding-bottom: clamp(26px,2.8vw,42px); }
  .page-hero { padding-block: clamp(26px,3vw,44px) clamp(26px,3vw,42px); }
  .metrics { margin-top: clamp(22px,2.6vw,34px); }

  .hero-grid, .cons-hero-grid, .prof-hero-grid { align-items: center; }

  /* width cap → height follows the 4/5 aspect ratio */
  .hero-visual { width: 100%; max-width: clamp(360px, 31vw, 430px); justify-self: end; }
  .cons-visual, .prof-visual { width: 100%; max-width: clamp(370px, 33vw, 450px); justify-self: end; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .hero-visual { max-width: clamp(320px, 27vw, 380px); }
  .cons-visual, .prof-visual { max-width: clamp(330px, 29vw, 400px); }
}
