/* ============================================
   MEDEUS — лендінг «Діагностика та відновлення»
   Стиль: quiet luxury / soft structuralism
   ============================================ */

/* ---------- Базове ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

section { padding-block: var(--section-pad); position: relative; }
.section-alt { background: var(--bg-alt); }

/* Зерно поверх усього — фізична фактура паперу */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Типографіка ---------- */
h1, h2, h3 { font-weight: 800; }

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .012em;
  line-height: .96;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); margin-bottom: .5em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-h3); line-height: 1.25; }

.accent { color: var(--accent); }
.accent-light { color: var(--accent-2); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--accent);
  border: 1px solid var(--accent-25);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  margin-bottom: 22px;
}
.eyebrow.center { display: flex; width: fit-content; margin-inline: auto; }
.eyebrow-light { color: #cfc4ff; border-color: rgba(154, 59, 255, .4); }

.section-lead {
  font-size: var(--text-lead);
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-lead strong { color: var(--ink); font-weight: 600; }
.section-lead.center { margin-inline: auto; text-align: center; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 18px 26px;
  background: var(--ink); color: #fff;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  box-shadow: var(--shadow-accent);
  padding: 10px 18px;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }

.btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform 300ms var(--ease-out), background 300ms var(--ease-out);
}
.btn-primary:hover .btn-ico { transform: translate(2px, -2px) scale(1.05); background: rgba(255, 255, 255, .24); }

.btn-sm { padding: 12px 20px; font-size: .9rem; background: var(--accent); box-shadow: var(--shadow-accent); }
.btn-sm:hover { background: var(--accent-deep); }
.btn-wide { width: 100%; justify-content: center; }

.circle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--ink-10);
  color: var(--ink);
  background: var(--bg);
  transition: transform var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.circle-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.circle-btn:active { transform: scale(.95); }

.link-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--accent);
  border-bottom: 1px solid var(--accent-25);
  padding-bottom: 4px;
  transition: gap var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}
.link-cta:hover { gap: 16px; border-color: var(--accent); }

/* ---------- Подвійна рамка (double-bezel) ---------- */
.bezel {
  background: var(--ink-04);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-shell);
  padding: var(--bezel-pad);
}
.bezel-core {
  background: var(--bg);
  border-radius: var(--r-core);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6);
  height: 100%;
}
.bezel-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.bezel-dark .bezel-core { background: #0d0b16; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .08); }

/* ---------- Шапка ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(var(--container-max), calc(100% - 24px));
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--ink-06);
  box-shadow: 0 8px 40px -16px rgba(10, 10, 15, .12);
  transition: box-shadow 400ms var(--ease-out);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 22px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand-text {
  font-size: .66rem; line-height: 1.3; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; font-size: .95rem; transition: color var(--dur-ui) ease; margin-inline: 6px; }
.nav-phone:hover { color: var(--accent); }
.nav-msgr { width: 40px; height: 40px; background: transparent; }

/* Бургер (мобайл) */
.nav-burger {
  display: none;
  position: relative; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--ink-10);
  flex: none;
}
.nav-burger span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform 300ms var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { bottom: 18px; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Повноекранне мобільне меню */
.nav-menu {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(250, 250, 252, .88);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--container-pad) 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 350ms var(--ease-out), visibility 0s linear 350ms;
}
body.menu-open .nav-menu {
  opacity: 1; visibility: visible;
  transition: opacity 350ms var(--ease-out);
}
.nav-menu-links { display: flex; flex-direction: column; gap: 6px; }
.nav-menu-links a {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .015em;
  font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.25;
  transform: translateY(16px); opacity: 0;
  transition: transform 450ms var(--ease-out), opacity 450ms var(--ease-out), color var(--dur-ui) ease;
}
.nav-menu-links a:active { color: var(--accent); }
.nav-menu-cta { color: var(--accent); }
body.menu-open .nav-menu-links a { transform: translateY(0); opacity: 1; }
body.menu-open .nav-menu-links a:nth-child(1) { transition-delay: 60ms; }
body.menu-open .nav-menu-links a:nth-child(2) { transition-delay: 100ms; }
body.menu-open .nav-menu-links a:nth-child(3) { transition-delay: 140ms; }
body.menu-open .nav-menu-links a:nth-child(4) { transition-delay: 180ms; }
body.menu-open .nav-menu-links a:nth-child(5) { transition-delay: 220ms; }
body.menu-open .nav-menu-links a:nth-child(6) { transition-delay: 260ms; }
body.menu-open .nav-menu-links a:nth-child(7) { transition-delay: 300ms; }
body.menu-open .nav-menu-links a:nth-child(8) { transition-delay: 340ms; }
.nav-menu-contacts {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--ink-10);
}
.nav-menu-contacts > a { font-weight: 600; font-size: 1.15rem; }
.nav-menu-msgrs { display: flex; gap: 10px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--section-pad) * .45 + 64px); padding-bottom: calc(var(--section-pad) * .5); }

.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title { margin: 0 0 20px; }
.hero-title .line { display: block; }
.line-accent { color: var(--accent); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-chip {
  display: inline-flex; align-items: center;
  background: var(--accent-08);
  border: 1px solid var(--accent-25);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
}

.hero-slogan {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .015em; line-height: .98;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-sub { font-size: 1.05rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 30px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-messengers { display: flex; gap: 10px; }

.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink-faint); font-size: var(--text-small); }
.hero-trust li { display: flex; align-items: center; gap: 12px; }
.hero-trust li:not(:last-child)::after { content: '·'; color: var(--ink-10); }

.hero-media { position: relative; }
.hero-media .bezel-core { aspect-ratio: 4 / 4.6; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media-chip {
  position: absolute; left: 22px; bottom: 22px;
  font-size: .78rem; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: var(--r-pill); padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .5);
}

/* ---------- Сітки-сплiти ---------- */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* ---------- Симптоми ---------- */
.symptom-list { display: flex; flex-direction: column; }
.symptom-list li {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 4px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 500;
  border-bottom: 1px solid var(--ink-06);
}
.symptom-list li:first-child { border-top: 1px solid var(--ink-06); }
.symptom-check { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent-25); display: grid; place-items: center; }
.symptom-check path { stroke: var(--accent); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Рішення / карта здоров'я ---------- */
.split-grid--media-left .healthcard-wrap { order: -1; }
.healthcard { max-width: 470px; margin-inline: auto; box-shadow: var(--shadow-float); }
.healthcard-core { padding: 30px 28px; }
.healthcard-head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--ink-06); }
.healthcard-title { font-weight: 600; font-size: 1.02rem; }
.healthcard-sub { font-size: .8rem; color: var(--ink-faint); }
.healthcard-rows { padding-block: 10px; }
.healthcard-rows li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; font-size: .95rem; font-weight: 500;
  border-bottom: 1px dashed var(--ink-06);
}
.healthcard-rows em { margin-left: auto; font-style: normal; font-size: .82rem; color: var(--ink-faint); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-ok { background: #3ecf6e; }
.dot-warn { background: var(--warn); }
.healthcard-plan {
  margin-top: 18px; padding: 16px 18px;
  background: var(--accent-08); border-radius: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.healthcard-plan p { font-weight: 600; color: var(--accent); }
.healthcard-plan span { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Що входить ---------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}
.card-core { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.card-media {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 8;
  margin-bottom: 12px;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--accent); letter-spacing: .08em;
}
.card-what { font-weight: 600; color: var(--accent); font-size: .92rem; }
.card-core > p:last-child { color: var(--ink-soft); font-size: .95rem; }

.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink-10);
}
.stat { padding: 28px 12px 0; text-align: center; border-left: 1px solid var(--ink-06); }
.stat:first-child { border-left: none; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--ink);
}
.stat-label { font-size: .85rem; color: var(--ink-faint); }

/* ---------- iSyncWave (темна) ---------- */
.ai { background: var(--dark); color: #fff; overflow: clip; }
.ai h2 { color: #fff; }
.ai .section-lead { color: rgba(255, 255, 255, .66); }
.ai .section-lead strong { color: #fff; }

.ai-orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.ai-orb-1 { width: 480px; height: 480px; background: rgba(85, 61, 226, .34); top: -140px; right: -80px; }
.ai-orb-2 { width: 420px; height: 420px; background: rgba(154, 59, 255, .22); bottom: -160px; left: -100px; }

.ai-media { max-width: 480px; margin-inline: auto; }
.ai-media .bezel-core { aspect-ratio: 4 / 4.9; }
.ai-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.ai-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ai-stat {
  flex: 1 1 130px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  border-radius: 18px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.ai-stat strong { font-size: 1.05rem; font-weight: 600; }
.ai-stat span { font-size: .8rem; color: rgba(255, 255, 255, .55); }

.ai-unique {
  margin-top: 26px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  color: #cfc4ff;
}
.ai-unique::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.ai-note { margin-top: 14px; font-size: .82rem; color: rgba(255, 255, 255, .4); max-width: 46ch; }

/* ---------- Як проходить ---------- */
.timeline { position: relative; max-width: 760px; margin: clamp(40px, 5vw, 64px) auto 0; }
.timeline-line {
  position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: var(--ink-06); border-radius: 2px;
}
.timeline-line span {
  display: block; width: 100%; height: 100%;
  background: var(--accent); border-radius: 2px;
  transform-origin: top; transform: scaleY(0);
}
.steps { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 48px); }
.step { display: flex; gap: 26px; position: relative; }
.step-num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  background: var(--bg); color: var(--accent);
  border: 1.5px solid var(--accent-25);
  position: relative; z-index: 1;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); max-width: 52ch; }

/* ---------- Порівняння ---------- */
.compare-grid { max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; }
.compare-row {
  display: grid; grid-template-columns: 1fr 1fr 1.15fr;
  gap: 14px; align-items: stretch;
  padding-block: 7px;
}
.compare-head { padding-bottom: 14px; }
.cmp-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-faint); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  padding-inline: 20px;
}
.cmp-label-medeus { color: var(--ink); }
.cmp-k {
  font-weight: 600; font-size: .97rem;
  display: flex; align-items: center;
}
.cmp-o, .cmp-m {
  border-radius: 16px; padding: 16px 20px;
  font-size: .95rem;
  display: flex; align-items: center;
}
.cmp-o { background: var(--bg); color: var(--ink-soft); border: 1px solid var(--ink-06); }
.cmp-none { color: var(--ink-faint); }
.cmp-m {
  background: var(--accent-08); color: var(--ink); font-weight: 600;
  border: 1px solid var(--accent-15);
  gap: 10px;
}
.cmp-m::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; }

/* ---------- Лікарі ---------- */
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: clamp(40px, 5vw, 64px);
}
.doctor-core { display: flex; flex-direction: column; }
.doctor-photo { overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 700ms var(--ease-out); }
.doctor:hover .doctor-photo img { transform: scale(1.04); }
.doctor .doctor-photo { aspect-ratio: 3 / 3.4; }
.doctor-info { padding: 24px 26px 28px; }
.doctor-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.doctor-role { font-size: .9rem; color: var(--accent); font-weight: 500; margin-bottom: 10px; }
.doctor-cred { font-size: .82rem; color: var(--ink-faint); line-height: 1.55; }

/* ---------- Ціна ---------- */
.price-container { display: flex; flex-direction: column; align-items: center; }
.price-card { max-width: 720px; width: 100%; margin-top: clamp(40px, 5vw, 56px); box-shadow: var(--shadow-float); }
.price-core { padding: clamp(30px, 4vw, 48px); }

.price-includes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
  padding-bottom: 30px; border-bottom: 1px solid var(--ink-06);
}
.price-includes li { display: flex; gap: 10px; font-size: .95rem; font-weight: 500; align-items: baseline; }
.price-includes li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }

.price-row { display: flex; flex-direction: column; padding-block: 28px; }
.price-old { font-size: 1.1rem; color: var(--ink-faint); }
.price-old s { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.price-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.price-new { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; }
.price-new em { font-style: normal; font-size: .45em; font-weight: 700; }
.price-note { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.price-badge {
  background: var(--warn); color: var(--ink);
  border-radius: var(--r-pill); padding: 10px 18px;
  font-weight: 600; font-size: .9rem;
  flex: none;
}

.risk-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 30px; }
.risk-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); font-size: .95rem; }
.risk-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; }

.slots-note { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--ink-faint); }

/* ---------- Відгуки ---------- */
.reviews-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: clamp(40px, 5vw, 56px) max(calc((100vw - var(--container-max)) / 2 + var(--container-pad)), var(--container-pad)) 24px;
  scroll-padding-inline: max(calc((100vw - var(--container-max)) / 2 + var(--container-pad)), var(--container-pad));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; }
.review-core { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.review-text { color: var(--ink-soft); font-size: .96rem; }
.review-author { font-weight: 600; margin-top: auto; }
.review-author::before { content: '— '; color: var(--accent); }

/* ---------- Що після ---------- */
.after-lead { margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 720px; margin-inline: auto; }
.chips li {
  border: 1px solid var(--accent-25); color: var(--ink);
  background: var(--bg);
  border-radius: var(--r-pill); padding: 11px 20px;
  font-size: .92rem; font-weight: 500;
}
.quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.35;
  text-align: center; max-width: 26ch; margin: clamp(56px, 7vw, 88px) auto 0;
  color: var(--ink);
}
.quote .tail { display: block; margin-top: 18px; font-size: .55em; color: var(--accent); }
.quote .w { opacity: .12; }

/* ---------- Розвінчування страхів (темна) ---------- */
.fears { background: var(--dark); color: #fff; overflow: clip; }
.fears h2 { color: #fff; }
.fears-metaphor {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.4;
  text-align: center; max-width: 30ch; margin: clamp(28px, 4vw, 44px) auto clamp(48px, 6vw, 72px);
  color: rgba(255, 255, 255, .55);
}
.fears-metaphor span { display: block; color: #fff; }
.fears-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fear-core { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.fear-q { font-weight: 600; font-size: 1.08rem; color: #fff; line-height: 1.4; }
.fear-a { font-size: .93rem; color: rgba(255, 255, 255, .6); line-height: 1.65; }

/* ---------- Підготовка ---------- */
.prep-list { counter-reset: prep; display: flex; flex-direction: column; }
.prep-list li {
  counter-increment: prep;
  display: flex; align-items: baseline; gap: 22px;
  padding: 20px 4px; border-bottom: 1px solid var(--ink-06);
  color: var(--ink-soft);
}
.prep-list li:first-child { border-top: 1px solid var(--ink-06); }
.prep-list li::before {
  content: counter(prep, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--accent); flex: none;
}
.prep-list strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 820px; }
.faq-list { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--ink-06);
  border-radius: 18px; padding: 0 26px;
  transition: border-color var(--dur-ui) ease;
}
.faq-item[open] { border-color: var(--accent-25); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 1.02rem;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 250ms var(--ease-out);
  margin-right: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding-bottom: 24px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Фінальна форма ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #f2f0fc 100%); }
.contact-container { max-width: 680px; }
.contact-card { margin-top: clamp(36px, 4vw, 52px); box-shadow: var(--shadow-float); }
.contact-core { padding: clamp(28px, 4vw, 44px); }

.quiz-label { font-weight: 600; margin-bottom: 14px; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.quiz-chip {
  border: 1px solid var(--ink-10); border-radius: var(--r-pill);
  padding: 11px 18px; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  transition: all var(--dur-ui) var(--ease-out);
}
.quiz-chip:hover { border-color: var(--accent); color: var(--accent); }
.quiz-chip.selected {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent);
}
.quiz-chip:active { transform: scale(.97); }

.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field input {
  font: inherit; font-size: 16px;
  border: none; border-radius: 14px;
  background: var(--bg-alt);
  padding: 16px 18px;
  color: var(--ink);
  outline: none;
  border: 1.5px solid transparent;
  transition: border-color var(--dur-ui) ease, background var(--dur-ui) ease;
}
.field input:focus { border-color: var(--accent); background: #fff; }
.field input::placeholder { color: var(--ink-faint); }

.form-submit { justify-content: center; }
.form-submit.loading { opacity: .7; pointer-events: none; }
.form-submit.success { background: #2eae5c; }
.form-note { text-align: center; font-size: .85rem; color: var(--ink-faint); margin-top: 14px; }

.contact-alt { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--ink-06); text-align: center; }
.contact-alt > span { font-size: .85rem; color: var(--ink-faint); }
.contact-alt-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 12px; }
.contact-alt-row a { font-weight: 600; font-size: .95rem; transition: color var(--dur-ui) ease; }
.contact-alt-row a:hover { color: var(--accent); }

/* ---------- Футер ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .8); padding-top: clamp(56px, 7vw, 88px); overflow: clip; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand p { margin-top: 16px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); max-width: 24ch; }
.footer-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .4); margin-bottom: 12px; }
.footer-col a { transition: color var(--dur-ui) ease; line-height: 1.8; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 26px; font-size: .82rem; color: rgba(255, 255, 255, .45);
}
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(0.85rem, 4vw, 3.6rem); line-height: .9; text-align: center;
  color: rgba(255, 255, 255, .09);
  white-space: nowrap;
  padding-bottom: 20px;
  letter-spacing: .01em;
}

/* ---------- Sticky-бар (мобайл) ---------- */
.sticky-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: none; gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--ink-06);
  box-shadow: 0 12px 48px -12px rgba(10, 10, 15, .25);
  transform: translateY(130%);
  transition: transform 450ms var(--ease-out);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-cta { flex: 1; padding: 15px 18px; justify-content: center; }
.sticky-bar .circle-btn { width: 50px; height: 50px; flex: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-media .bezel-core { aspect-ratio: 16 / 10; }
  .split-grid { grid-template-columns: 1fr; align-items: start; }
  .split-grid--media-left .healthcard-wrap { order: 1; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .fears-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .nav-brand-text { display: none; }
  .nav-phone { display: none; }
  .nav-msgr { display: none; }
  .nav-actions .btn-sm { display: none; }
  .nav-burger { display: block; }
  .sticky-bar .circle-btn { width: 46px; height: 46px; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-top: 20px; margin-bottom: 16px; }
  .stat:nth-child(3) { border-left: none; }
  .doctors-grid { grid-template-columns: 1fr; }
  .price-includes { grid-template-columns: 1fr; }
  .form-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-bar { display: flex; }
  .footer { padding-bottom: 92px; }

  /* Порівняння: вертикальні картки без таблиці */
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding-block: 14px; }
  .compare-row:not(.compare-head) { border-top: 1px solid var(--ink-06); }
  .cmp-k { font-size: 1.02rem; }
  .cmp-o::before { content: 'Звичайний чекап · '; color: var(--ink-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-right: 6px; }
  .cmp-o, .cmp-m { display: block; padding: 12px 16px; }
  .cmp-m::before { content: '✓ Medeus · '; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn-primary { width: 100%; }
  .hero-messengers { justify-content: center; width: 100%; }
  .hero-trust { justify-content: center; }
  .price-row { align-items: center; text-align: center; }
  .price-main { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

/* ---------- Доступність ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (hover: none) {
  .doctor:hover .doctor-photo img { transform: none; }
}
