/* ============================================================
   NuAnce — Aligners landing
   Brand palette from nuance-smile.ru (Figma): blue + neutral
   Type: Lato (body) + Inter (UI)
   ============================================================ */

:root {
  --bg-1: #FFFFFF;
  --bg-2: #F9F9F9;
  --bg-3: #F3F3F3;
  --ink-1: #0E0E0E;
  --ink-2: #373737;
  --ink-3: #727272;
  --accent: #2A6ADB;            /* NuAnce brand blue */
  --accent-hover: #1F55B8;      /* darker blue on hover */
  --accent-soft: #E1EAFA;       /* blue tint */
  --accent-soft-2: #D4E1F8;     /* deeper blue tint */
  --accent-2: #2A6ADB;          /* unified — was sage */
  --accent-3: #1F55B8;          /* deeper blue */
  --accent-slate: #081326;      /* deep navy */
  --line: #ECECEC;
  --line-soft: #F9F9F9;
  --error: #C8553C;

  --serif: "Inter", "Lato", -apple-system, sans-serif;
  --sans: "Inter", "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --r-card: 16px;
  --r-btn: 12px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(28, 28, 26, 0.04), 0 4px 16px rgba(28, 28, 26, 0.04);
  --shadow-card: 0 1px 2px rgba(28, 28, 26, 0.05), 0 12px 32px rgba(28, 28, 26, 0.06);
  --shadow-pop: 0 8px 32px rgba(28, 28, 26, 0.12), 0 24px 64px rgba(28, 28, 26, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bg-1);
  color: var(--ink-1);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

/* ---------- Type ---------- */
.h1 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 56ch;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16px; }
}

section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.alt-bg { background: var(--bg-2); }
.dark-bg {
  background: var(--accent-slate);
  color: #FFFFFF;
}
.dark-bg .lead { color: rgba(239, 233, 221, 0.78); }
.dark-bg .eyebrow { color: rgba(239, 233, 221, 0.6); }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head .lead { margin-top: 8px; }
/* Centered section heads: keep h2 centered, but break long paragraphs left-aligned to avoid orphan-word last lines like "— начинаем." */
.section-head .section-lead { max-width: 60ch; margin: 16px auto 0; text-align: left; text-wrap: pretty; }
@media (max-width: 720px) {
  .section-head .section-lead { text-align: left; max-width: 100%; padding: 0 4px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 240ms ease, transform 240ms ease, color 240ms ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(31, 47, 22, 0.15), 0 8px 24px rgba(42, 106, 219, 0.30);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-1);
  padding: 16px 24px;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); }
.btn-dark {
  background: var(--accent-2);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-1); }
.btn-sm { padding: 12px 18px; font-size: 13px; }

/* arrow */
.arrow::after {
  content: "→";
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 4px;
  transition: transform 240ms ease;
}
.btn:hover .arrow::after,
.arrow:hover::after { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background 240ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex; align-items: center;
}
.logo img { height: 32px; width: auto; display: block; }
.footer .logo img { filter: brightness(0) invert(1); }
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--ink-1); position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--ink-1); }
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 56px 0 96px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(42, 106, 219, 0.12);
  color: var(--accent-3);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(42, 106, 219, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 106, 219, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(42, 106, 219, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 106, 219, 0); }
}
.hero h1 { margin-top: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--accent-3);
  font-weight: 500;
}
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 52ch; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }
.hero-channels {
  display: flex; align-items: center; gap: 18px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-channels strong { color: var(--ink-1); font-weight: 600; }
.hero-channels a { color: var(--ink-1); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hero-channels a:hover { color: var(--accent-3); border-bottom-color: var(--accent); }

.hero-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero-signals { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.signal {
  display: flex; flex-direction: column; gap: 4px;
}
.signal-num {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}
.signal-num em { font-style: italic; color: var(--accent-3); font-weight: 500; }
.signal-label { font-size: 12px; color: var(--ink-2); line-height: 1.3; letter-spacing: 0.01em; }

/* HERO image card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d2c2 0%, #b8b09c 100%);
  box-shadow: var(--shadow-card);
}
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
/* ---------- Rich placeholders (clinic-styled SVG illustrations) ---------- */
.placeholder-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 12px;
  text-align: center;
}
.placeholder-img > svg { width: 100%; height: 100%; display: block; }
.placeholder-img .ph-label {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(28,28,26,0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.placeholder-img.stripes {
  background: linear-gradient(160deg, #efe9dd 0%, #e0d6c2 60%, #c9bca0 100%);
}
.placeholder-img.warm {
  background: linear-gradient(160deg, #f3e4d4 0%, #e2c4ac 60%, #c89a82 100%);
}
.placeholder-img.sage {
  background: linear-gradient(160deg, #d9e3c9 0%, #a3bd86 60%, #6d8a55 100%);
}
.placeholder-img.slate {
  background: linear-gradient(160deg, #6b7682 0%, #3a4651 100%);
  color: rgba(255,255,255,0.85);
}
.placeholder-img.dark {
  background: linear-gradient(160deg, #2a3340 0%, #1c2733 100%);
}

/* Decorative SVG layers */
.ph-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, transparent 30%, rgba(0,0,0,0.12) 100%); pointer-events: none; z-index: 1; }
.ph-grain { position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Floating chip on hero image */
.hero-chip {
  position: absolute;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  color: var(--ink-1);
  max-width: 240px;
}
.hero-chip-1 {
  top: 32px; left: -24px;
}
.hero-chip-2 {
  bottom: 32px; right: -24px;
}
@media (max-width: 720px) {
  .hero-chip-1 { left: 12px; top: 16px; }
  .hero-chip-2 { right: 12px; bottom: 16px; }
}
.hero-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.hero-chip strong { font-weight: 600; }
.hero-chip .chip-sub { color: var(--ink-2); font-size: 12px; margin-top: 2px; }

/* ---------- TRUST STRIP ---------- */
.trust {
  background: var(--bg-2);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 980px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
}
@media (max-width: 480px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}
.trust-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 8px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 980px) {
  .trust-item { border-left: 0; padding-left: 0; }
}
.trust-num {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.trust-label {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ---------- WHY (PAS) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.why-num {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  font-weight: 500;
}
.why-card h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 24px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0;
}
.why-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.why-quote {
  margin-top: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-1);
}
.why-quote-by {
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.disclaimer {
  margin-top: 12px;
  background: rgba(42, 106, 219, 0.08);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  border-radius: 0 8px 8px 0;
}

/* ---------- PATHWAY (timeline) ---------- */
.pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.pathway::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%; right: 8%;
  height: 1px;
  background: var(--line);
}
@media (max-width: 980px) {
  .pathway { grid-template-columns: 1fr; gap: 16px; }
  .pathway::before { display: none; }
}
.path-step {
  display: flex; flex-direction: column;
  gap: 14px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) { .path-step { padding: 0; flex-direction: row; align-items: flex-start; gap: 20px; } }
.path-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-weight: 500;
  font-size: 24px;
  color: var(--accent-3);
  flex-shrink: 0;
}
.alt-bg .path-num { background: var(--bg-1); }
.path-step h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 20px;
  line-height: 1.2;
}
.path-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 600;
}
.path-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.path-include {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 32px;
}
@media (max-width: 720px) { .path-include { grid-template-columns: 1fr; } }
.path-include h5 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--ink-1);
}
.path-include h5.no { color: var(--ink-2); }
.path-include p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ---------- DOCTOR ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .doctor-grid { grid-template-columns: 1fr; gap: 40px; } }
.doctor-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.doctor-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.doctor-name { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.doctor-role { font-size: 14px; color: var(--accent-3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 8px; }
.doctor-bio { margin-top: 20px; color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.doctor-creds { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.doctor-creds li {
  display: flex; gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-1);
}
.doctor-creds li::before {
  content: "";
  width: 10px; height: 10px;
  margin-top: 8px;
  flex-shrink: 0;
  background: var(--accent);
  transform: rotate(45deg);
}
.doctor-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.doctor-stats .stat-num { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 36px; line-height: 1; letter-spacing: -0.01em; }
.doctor-stats .stat-num em { font-style: italic; color: var(--accent-3); }
.doctor-stats .stat-label { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.promise {
  margin-top: 32px;
  background: var(--accent-2);
  color: rgba(239, 233, 221, 0.92);
  padding: 24px 28px;
  border-radius: var(--r-card);
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  position: relative;
}
.promise::before {
  content: "“";
  font-family: var(--serif);
  position: absolute;
  top: -4px; left: 16px;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
}
.promise span { display: block; padding-left: 32px; }

/* ---------- SYSTEMS TABLE ---------- */
.systems-tabs {
  display: flex; gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.systems-tabs::-webkit-scrollbar { display: none; }
.sys-tab {
  flex: 1;
  padding: 24px 20px;
  text-align: left;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 200px;
  transition: background 200ms ease, border-color 200ms ease;
  position: relative;
}
.sys-tab:hover { background: rgba(42, 106, 219, 0.06); }
.sys-tab.active {
  border-bottom-color: var(--accent);
  background: rgba(42, 106, 219, 0.06);
}
.sys-tab .sys-tab-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.sys-tab .sys-tab-from { font-size: 13px; color: var(--ink-2); }
.sys-tab.active .sys-tab-from { color: var(--accent-3); font-weight: 600; }
.sys-tab .sys-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(42, 106, 219, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.systems-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.systems-table th, .systems-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.systems-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  width: 26%;
}
.systems-table td.col-active { background: rgba(42, 106, 219, 0.06); position: relative; }
.systems-table .price-row td { padding-top: 28px; padding-bottom: 28px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.005em; }
.systems-table .price-row th { font-family: var(--sans); font-size: 12px; }
.systems-table .check { color: var(--accent-3); font-weight: 700; }
.systems-table .check-strong { color: var(--ink-1); font-weight: 600; }
.systems-not {
  margin-top: 40px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 32px;
}
.systems-not h5 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.systems-not ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.systems-not li { font-size: 14px; line-height: 1.5; color: var(--ink-2); padding-left: 24px; position: relative; }
.systems-not li::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .systems-table thead { display: none; }
  .systems-table, .systems-table tbody, .systems-table tr, .systems-table td { display: block; width: 100%; }
  .systems-table tr { padding: 0; border-bottom: 1px solid var(--line); }
  .systems-table td { border: 0; padding: 6px 16px; }
  .systems-table td:first-child { font-weight: 600; padding-top: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
}

/* ---------- CASES ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.alt-bg .case-card { background: var(--bg-1); }
.case-photos {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #1c1c1a;
}
.case-photos.single { display: block; aspect-ratio: 16 / 10; }
.case-photos.single > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-photos > div { position: relative; overflow: hidden; }
.case-photos .ph-label { position: absolute; top: 12px; left: 12px; }
.case-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--bg-1);
  transform: translateX(-1px);
  z-index: 2;
}
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.case-tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-3); font-weight: 600;
  background: rgba(42, 106, 219, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}
.case-name { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 24px; letter-spacing: -0.005em; line-height: 1.1; margin: 0; }
.case-line { font-size: 14px; color: var(--ink-2); }
.case-line strong { color: var(--ink-1); font-weight: 600; }
.case-quote {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  margin-top: 4px;
  color: var(--ink-1);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.case-stats { display: flex; gap: 18px; padding-top: 8px; }
.case-stat { display: flex; flex-direction: column; gap: 2px; }
.case-stat-num { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 22px; line-height: 1; }
.case-stat-label { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- PRICING ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.alt-bg .price-card { background: var(--bg-1); }
.price-card.featured {
  background: var(--accent-slate);
  color: #FFFFFF;
  border-color: var(--accent-2);
  box-shadow: var(--shadow-card);
  transform: scale(1.02);
}
@media (max-width: 980px) { .price-card.featured { transform: none; } }
.price-card.featured .price-amount,
.price-card.featured .price-name { color: #fff; }
.price-card.featured .price-sub,
.price-card.featured .price-includes,
.price-card.featured .price-monthly,
.price-card.featured .price-fit { color: rgba(239, 233, 221, 0.78); }
.price-card.featured .price-includes li::before { background: var(--accent); }
.price-card.featured hr { border-color: rgba(239, 233, 221, 0.15); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
}
.price-name {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink-1);
}
.price-sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: -6px;
}
.price-amount {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount .from { font-size: 13px; font-family: var(--sans); color: var(--ink-2); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.price-card.featured .price-amount .from { color: rgba(239, 233, 221, 0.6); }
.price-monthly { font-size: 13px; color: var(--ink-2); }
.price-monthly strong { color: var(--ink-1); font-weight: 600; }
.price-card.featured .price-monthly strong { color: #fff; }
.price-includes { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-includes li { font-size: 13px; line-height: 1.5; padding-left: 22px; position: relative; }
.price-includes li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-fit { font-size: 12px; line-height: 1.5; color: var(--ink-3); padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.price-card.featured .price-fit { border-top-color: rgba(239, 233, 221, 0.15); }

/* Calculator */
.calc {
  margin-top: 64px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.alt-bg .calc { background: var(--bg-1); }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; } }
.calc h3 { margin-bottom: 8px; }
.calc-eyebrow { color: var(--accent-3); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.calc-row { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.calc-row-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.calc-row-label strong { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 22px; letter-spacing: -0.005em; }
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-1);
  box-shadow: 0 2px 6px rgba(42, 106, 219, 0.4);
  cursor: pointer;
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-1);
  box-shadow: 0 2px 6px rgba(42, 106, 219, 0.4);
  cursor: pointer;
}
.calc-radio { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.calc-radio button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all 200ms ease;
}
.calc-radio button.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}
.calc-result {
  background: var(--accent-2);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.calc-result-num {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #fff;
}
.calc-result-num small { font-family: var(--sans); font-size: 16px; color: rgba(239, 233, 221, 0.7); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.calc-result-label { font-size: 13px; color: rgba(239, 233, 221, 0.78); letter-spacing: 0.04em; }
.calc-result-row { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(239, 233, 221, 0.15); font-size: 13px; color: rgba(239, 233, 221, 0.78); }
.calc-result-row strong { color: #fff; font-weight: 600; }
.calc-bank { font-size: 11px; color: var(--ink-3); margin-top: 16px; letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.alt-bg .faq-item { background: var(--bg-1); }
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.faq-q {
  padding: 24px 28px;
  display: flex; justify-content: space-between; gap: 24px;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-1);
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: all 240ms ease;
}
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); }
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink-1);
  transition: all 240ms ease;
}
.faq-toggle::before { top: 50%; left: 7px; right: 7px; height: 1.5px; transform: translateY(-50%); }
.faq-toggle::after { left: 50%; top: 7px; bottom: 7px; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-toggle::before, .faq-item.open .faq-toggle::after { background: #fff; }
.faq-item.open .faq-toggle::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 28px 24px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 75ch; }

/* ---------- QUIZ FORM ---------- */
.quiz-section {
  background: var(--accent-slate);
  color: #FFFFFF;
}
.quiz-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .quiz-grid { grid-template-columns: 1fr; gap: 40px; } }
.quiz-section .h2 { color: #fff; }
.quiz-section .lead { color: rgba(239, 233, 221, 0.78); }
.quiz-side-list { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.quiz-side-list li { font-size: 14px; padding-left: 28px; position: relative; line-height: 1.5; color: rgba(239, 233, 221, 0.85); }
.quiz-side-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.quiz-card {
  background: var(--bg-1);
  color: var(--ink-1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-pop);
  min-height: 520px;
  display: flex; flex-direction: column;
}
@media (max-width: 720px) { .quiz-card { padding: 28px 24px; min-height: 540px; } }
.quiz-progress {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.quiz-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 400ms ease;
}
.quiz-progress-step { font-size: 12px; color: var(--ink-2); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.quiz-step-title { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 28px; line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
  transition: all 200ms ease;
  background: transparent;
  text-align: left;
}
.quiz-option:hover { border-color: var(--accent); background: rgba(42, 106, 219, 0.05); }
.quiz-option.selected { border-color: var(--accent); background: rgba(42, 106, 219, 0.10); }
.quiz-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  flex-shrink: 0;
  position: relative;
  transition: all 200ms ease;
}
.quiz-check.box { border-radius: 5px; }
.quiz-option.selected .quiz-check {
  background: var(--accent); border-color: var(--accent);
}
.quiz-option.selected .quiz-check::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -65%) rotate(-45deg);
}
.quiz-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: auto; padding-top: 24px;
}
.quiz-back {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 12px 4px;
}
.quiz-back:hover { color: var(--ink-1); }
.quiz-back:disabled { opacity: 0.3; cursor: not-allowed; }

.quiz-fields { display: flex; flex-direction: column; gap: 16px; }
.quiz-field { display: flex; flex-direction: column; gap: 6px; }
.quiz-field label {
  font-size: 12px; color: var(--ink-2); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.quiz-field input {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-1);
  background: #fff;
  transition: border-color 200ms ease;
}
.quiz-field input:focus { outline: none; border-color: var(--accent); }
.quiz-field input::placeholder { color: var(--ink-3); }
.quiz-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.quiz-checkbox input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.quiz-checkbox a { text-decoration: underline; color: var(--ink-1); }

.quiz-confirm { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.quiz-confirm-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(42, 106, 219, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.quiz-confirm-icon::after {
  content: "";
  width: 28px; height: 14px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: translateY(-3px) rotate(-45deg);
}
.quiz-confirm h3 { font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em; font-size: 30px; margin: 0; line-height: 1.15; }
.quiz-confirm p { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 42ch; margin: 0; }

.quiz-fallback {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: rgba(239, 233, 221, 0.7);
}
.quiz-fallback a { color: #fff; border-bottom: 1px solid rgba(42, 106, 219, 0.7); padding-bottom: 1px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink-1);
  color: rgba(239, 233, 221, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer .logo { color: #fff; }
.footer h6 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 233, 221, 0.5);
  margin: 0 0 18px;
}
.footer ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-disc {
  font-size: 12px;
  color: rgba(239, 233, 221, 0.45);
  line-height: 1.6;
  padding-top: 32px;
  border-top: 1px solid rgba(239, 233, 221, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer-disc p { margin: 0; max-width: 70ch; }
@media (max-width: 720px) { .footer-disc { flex-direction: column; } }

/* ---------- MOBILE STICKY CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  background: var(--bg-1);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-pop);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 50;
  transform: translateY(120%);
  transition: transform 320ms ease;
  border: 1px solid var(--line);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 14px 16px; font-size: 12px; flex: 1; justify-content: center; }
.sticky-cta .icon-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-1);
  flex-shrink: 0;
}
.sticky-cta .icon-btn:hover { background: var(--accent); color: #fff; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
}

/* ---------- Pathway visual ---------- */
.pathway-visual {
  margin: 0 0 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28,28,26,0.12);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.pathway-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .pathway-visual { aspect-ratio: 1 / 1; } }

/* ---------- Lifestyle bleed ---------- */
.lifestyle-bleed {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
  background: #1c1c1a;
  display: block;
}
.lifestyle-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lifestyle-bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,0.4), transparent 50%);
}
.lifestyle-quote {
  position: absolute; bottom: 48px; left: 0; right: 0;
  color: #fff;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}
.lifestyle-quote .attribution {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 16px;
  opacity: 0.7;
}
.scan-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(28, 39, 51, 0.25);
  background: #1c2733;
}
.scan-visual svg, .scan-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

.systems-hero {
  margin: 0 auto 48px;
  max-width: 980px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.systems-hero img { display: block; width: 100%; height: auto; }

/* ---------- Tech section ---------- */
.tech-section { background: var(--bg-1); position: relative; }

.clincheck-frame {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 64px -16px rgba(20, 30, 50, 0.22), 0 8px 24px -8px rgba(20, 30, 50, 0.10);
  border: 1px solid var(--line);
  background: #fff;
}
.clincheck-chrome {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f6f7f9 0%, #eef0f3 100%);
  border-bottom: 1px solid #e3e6ea;
}
.cc-dots { display: flex; gap: 6px; }
.cc-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d8dbe0;
}
.cc-dots span:nth-child(1) { background: #ff5f57; }
.cc-dots span:nth-child(2) { background: #ffbd2e; }
.cc-dots span:nth-child(3) { background: #28c840; }
.cc-tab {
  flex: 1; text-align: center;
  font-size: 12px; color: #586273;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.cc-actions { display: flex; }
.cc-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(135, 169, 107, 0.15);
  color: var(--accent-3);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.clincheck-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.clincheck-caption {
  padding: 16px 24px;
  background: #fafbfc;
  border-top: 1px solid #e3e6ea;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  text-align: center;
}
.clincheck-caption strong { color: var(--ink-1); font-weight: 600; }

.tech-features-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .tech-features-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-features-row { grid-template-columns: 1fr; } }

.tech-feat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 12px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .tech-grid { grid-template-columns: 1fr; gap: 40px; } }
.tech-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 480px) { .tech-features { grid-template-columns: 1fr; } }
.tech-feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.tech-feature h5 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin: 0 0 8px;
}
.tech-feature p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.tech-feature strong { color: var(--ink-1); }
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mini icons (inline SVG sized) ---------- */
.icon { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; fill: none; }
.icon-lg { width: 24px; height: 24px; }


/* =============================================================
   PARTS-EXTRAS — TG buttons, Reassurance, LeadMagnet, Clinic,
   BeforeAfter, ExitIntent
   ============================================================= */

/* TG button */
.btn-tg {
  background: #229ED9;
  color: #fff;
  border: 1px solid #229ED9;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-tg:hover { background: #1c89ba; transform: translateY(-1px); border-color: #1c89ba; }
.btn-tg svg { display: block; }

.cta-duo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- REASSURANCE ---------- */
.reassurance { padding: 96px 0; background: var(--bg-2); position: relative; }
.reassurance::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}
.reassurance-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 56px; }
.reassurance-head .h2 em { font-style: italic; color: var(--accent-3); font-weight: 500; }
.reassurance-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 980px) { .reassurance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reassurance-grid { grid-template-columns: 1fr; } }
.reassurance-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.reassurance-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.reass-icon {
  width: 48px; height: 48px; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.reass-icon svg { width: 100%; height: 100%; }
.reassurance-card h4 {
  font-family: var(--sans); font-weight: 500; font-size: 19px;
  letter-spacing: -0.01em; line-height: 1.25; margin: 0;
}
.reassurance-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.reassurance-card p strong { color: var(--ink-1); font-weight: 600; }
.reass-meta {
  margin-top: auto; padding-top: 12px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-3); font-weight: 600;
  border-top: 1px dashed var(--line);
}

.reassurance-quote {
  margin-top: 56px;
  background: var(--accent-slate);
  color: #fff;
  border-radius: var(--r-card);
  padding: 56px clamp(28px, 6vw, 80px);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  max-width: 980px; margin-left: auto; margin-right: auto;
}
.reassurance-quote .rq-mark {
  position: absolute; top: -8px; left: 28px;
  font-family: var(--serif); font-style: italic;
  font-size: 140px; line-height: 1; color: var(--accent);
}
.reassurance-quote p {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5; margin: 0; max-width: 60ch;
}
.reassurance-quote .rq-by {
  font-size: 13px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
}

/* ---------- LEAD MAGNET ---------- */
.leadmag {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--accent-soft) 100%);
  position: relative; overflow: hidden;
}
.leadmag::before {
  content: ""; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,106,219,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.leadmag-grid {
  display: grid; grid-template-columns: 0.8fr 1fr; gap: 80px; align-items: center;
  position: relative;
}
@media (max-width: 980px) { .leadmag-grid { grid-template-columns: 1fr; gap: 48px; } }

.leadmag-cover { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.leadmag-book {
  position: relative;
  width: 320px; max-width: 100%;
  aspect-ratio: 3 / 4;
  perspective: 1200px;
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.leadmag-book:hover { transform: rotate(0deg) scale(1.02); }
.leadmag-book-pages {
  position: absolute; inset: 4px -2px 4px 0;
  background: linear-gradient(90deg, transparent 0%, transparent 96%, #d8d2c4 96%, #efe9db 99%, #c4bda9 100%);
  border-radius: 3px 6px 6px 3px;
  z-index: 1;
}
.leadmag-book-cover {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-slate) 0%, #14213d 100%);
  border-radius: 4px 8px 8px 4px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  color: #efe9dd;
  z-index: 2;
  box-shadow:
    -2px 0 0 rgba(0,0,0,0.3) inset,
    8px 8px 24px rgba(28,28,26,0.18),
    16px 24px 56px rgba(28,28,26,0.16);
  border-left: 3px solid var(--accent);
}
.leadmag-book-eyebrow {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.leadmag-book-title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1.15;
  margin-top: 14px;
}
.leadmag-book-sub {
  font-size: 13px; color: rgba(239,233,221,0.65); margin-top: 12px; line-height: 1.4;
}
.leadmag-book-meta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(239,233,221,0.55);
}
.leadmag-book-author {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: rgba(239,233,221,0.85);
}
.leadmag-stamp {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-3); font-weight: 600;
  border: 1px dashed var(--accent);
  padding: 8px 14px; border-radius: 4px;
}

.leadmag-form-wrap { display: flex; flex-direction: column; gap: 18px; }
.leadmag-bullets { padding: 0; margin: 8px 0 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.leadmag-bullets li {
  position: relative; padding-left: 28px; font-size: 15px; line-height: 1.55; color: var(--ink-2);
}
.leadmag-bullets li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.leadmag-bullets li strong { color: var(--ink-1); font-weight: 600; }
.leadmag-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.leadmag-fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
@media (max-width: 560px) { .leadmag-fields { grid-template-columns: 1fr; } }
.leadmag-fields input {
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 16px 18px;
  font-family: inherit; font-size: 15px;
  background: #fff;
  color: var(--ink-1);
  transition: border-color .2s ease;
}
.leadmag-fields input:focus { outline: none; border-color: var(--accent); }
.leadmag-form .btn { align-self: flex-start; }
.leadmag-fineprint { font-size: 12px; color: var(--ink-3); line-height: 1.5; max-width: 56ch; }
.leadmag-done {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  margin-top: 12px;
}
.leadmag-done-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.leadmag-done h4 { font-family: var(--sans); font-weight: 500; font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.leadmag-done p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ---------- CLINIC LOCATION ---------- */
.clinic { padding: 96px 0; }
.clinic-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
@media (max-width: 980px) { .clinic-grid { grid-template-columns: 1fr; gap: 40px; } }
.clinic-photo {
  aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow-card);
}
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clinic-addr { font-size: 18px; color: var(--ink-2); line-height: 1.55; margin: 24px 0 0; }
.clinic-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .clinic-stats { grid-template-columns: 1fr; gap: 16px; } }
.clinic-stats .stat-num {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em; line-height: 1.1;
}
.clinic-stats .stat-num em { font-style: italic; color: var(--accent-3); }
.clinic-stats .stat-label { font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.clinic-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Yandex.Maps link affordances */
.signal-link { color: inherit; text-decoration: none; cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.signal-link:hover { opacity: .82; transform: translateY(-1px); }
.signal-link:hover .signal-num em { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.trust-item-link { color: inherit; text-decoration: none; cursor: pointer; transition: opacity .18s ease; }
.trust-item-link:hover { opacity: .75; }
.trust-item-link:hover .trust-num { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stat-link { color: inherit; text-decoration: none; cursor: pointer; display: block; transition: opacity .18s ease, transform .18s ease; }
.stat-link:hover { opacity: .82; transform: translateY(-1px); }
.stat-link:hover .stat-num em { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Good Place 2026 award */
.clinic-award { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px; background: var(--accent-soft); border-radius: 12px; border: 1px solid var(--line); }
.award-laurel { font-size: 28px; line-height: 1; flex: 0 0 auto; filter: saturate(1.1); }
.award-title { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink-1); letter-spacing: -0.01em; }
.award-sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }

/* ---------- BEFORE/AFTER SLIDER ---------- */
.ba-section { padding: 96px 0; background: var(--bg-2); }
.ba-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 24px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  margin-top: 48px;
  background: #000;
  box-shadow: var(--shadow-card);
  touch-action: none;
}
.ba-after, .ba-before, .ba-before-inner { position: absolute; inset: 0; }
.ba-after svg, .ba-before-inner svg { display: block; width: 100%; height: 100%; }
.ba-before {
  overflow: hidden;
  border-right: 2px solid #fff;
  box-shadow: 4px 0 16px rgba(0,0,0,0.18);
}
.ba-before-inner { width: 100vw; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 0;
  z-index: 4;
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
}
.ba-handle-line {
  flex: 1; width: 2px; background: rgba(255,255,255,0.85);
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}
.ba-handle-knob {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-slate);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  flex-shrink: 0;
  margin: 8px 0;
  transform: translateX(-50%);
  position: relative; left: 1px;
}
.ba-label {
  position: absolute; top: 20px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,0.92);
  color: var(--accent-slate);
  padding: 8px 14px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}
.ba-label-l { left: 24px; }
.ba-label-r { right: 24px; }

/* ---------- EXIT INTENT MODAL ---------- */
.exit-modal-back {
  position: fixed; inset: 0;
  background: rgba(8, 19, 38, 0.72);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: exitFade .25s ease;
}
@keyframes exitFade { from { opacity: 0; } to { opacity: 1; } }
.exit-modal {
  background: #fff;
  border-radius: 20px;
  padding: 48px clamp(28px, 4vw, 48px) 36px;
  max-width: 560px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-pop);
  animation: exitPop .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes exitPop { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.exit-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background .2s ease;
}
.exit-close:hover { background: var(--bg-3); }
.exit-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-3); font-weight: 700;
}
.exit-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.01em;
  line-height: 1.15; margin: 12px 0 0;
}
.exit-sub { color: var(--ink-2); margin: 16px 0 0; font-size: 15px; line-height: 1.55; }
.exit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.exit-tg {
  display: inline-block; margin-top: 18px;
  font-size: 13px; color: var(--accent-3); font-weight: 600;
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 2px;
}
.exit-tg:hover { border-bottom-color: var(--accent); }

/* ---------- PRICING DETAILS expansion ---------- */
.price-details {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 980px) { .price-details { grid-template-columns: 1fr; } }
.price-detail-col {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
}
.price-detail-col.warn { border-color: rgba(200,85,60,0.25); background: linear-gradient(180deg, #fff 0%, #fff8f5 100%); }
.price-detail-col h4 {
  font-family: var(--sans); font-weight: 500; font-size: 18px;
  letter-spacing: -0.01em; margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.price-detail-col h4 .pd-mark {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.price-detail-col.ok h4 .pd-mark { background: var(--accent); color: #fff; }
.price-detail-col.warn h4 .pd-mark { background: var(--error); color: #fff; }
.pd-list { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pd-list li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.pd-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-list .pd-name { flex: 1; font-size: 14px; color: var(--ink-1); line-height: 1.5; }
.pd-list .pd-name span { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.pd-list .pd-price {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  color: var(--accent-3); white-space: nowrap;
}
.price-detail-col.warn .pd-price { color: var(--error); }
