/* ════════════════════════════════════════════════════════════
   MEDIKA HEALTH CLINIC — Design System (redesign 2026)
   Clean · Modern · Medical teal · Scroll-driven animations
════════════════════════════════════════════════════════════ */
:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #134e4a;
  --mint: #f0fdfa;
  --mint-2: #ccfbf1;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: rgba(13, 148, 136, 0.16);
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --red: #e11d48;
  --amber: #f59e0b;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 118, 110, 0.16);
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; }
::selection { background: var(--teal); color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 110px); }
.section.alt { background: linear-gradient(180deg, var(--mint), #ffffff); }

/* ── Typography ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--mint-2); color: var(--teal-dark);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: 0.35; transform: scale(0.8); } }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.h-display { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h-section { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 14px 0 12px; }
.lead { color: var(--slate); font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 640px; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.tx-teal { color: var(--teal); }
.grad-text {
  background: linear-gradient(120deg, var(--teal), #2dd4bf 60%, var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: #fff; box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(13, 148, 136, 0.45); }
.btn-outline { border: 2px solid var(--line); color: var(--teal-dark); background: #fff; }
.btn-outline:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-wa { background: #16a34a; color: #fff; box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35); }
.btn-wa:hover { transform: translateY(-2px); }

/* ── Scroll progress ── */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--teal), #2dd4bf);
  z-index: 1000; transition: width 0.08s linear;
}

/* ── Topbar (emergency) ── */
.topbar {
  background: var(--teal-deep); color: #d6fff8;
  font-size: 0.8rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; margin-right: 7px; animation: pulse-dot 1.6s infinite; }

/* ── Navbar ── */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(15, 118, 110, 0.08); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff;
}
.brand b { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 0.92rem;
  color: var(--slate); transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--teal-dark); background: var(--mint); }
.nav-links a.active { color: var(--teal-dark); background: var(--mint-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); place-items: center; color: var(--teal-dark); }
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 0; z-index: 950;
  background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(4px);
}
.mobile-menu.open { display: block; }
.mobile-panel {
  position: absolute; top: 0; right: 0; width: min(320px, 86vw); height: 100%;
  background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px;
  animation: slide-in 0.3s ease;
}
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.mobile-panel a { padding: 13px 14px; border-radius: 12px; font-weight: 700; color: var(--ink); }
.mobile-panel a:hover { background: var(--mint); color: var(--teal-dark); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 88% -10%, rgba(45, 212, 191, 0.18), transparent 65%),
    radial-gradient(540px 380px at -8% 14%, rgba(13, 148, 136, 0.12), transparent 60%),
    linear-gradient(180deg, var(--mint), #ffffff 78%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; padding-block: clamp(48px, 7vw, 88px);
}
.hero-copy .h-display b { white-space: nowrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px;
  color: var(--slate); font-size: 0.9rem; font-weight: 600; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--teal); }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 8s ease; }
.float-card {
  position: absolute; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); border: 1px solid var(--line);
  border-radius: 16px; padding: 13px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 11px; font-size: 0.85rem;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid;
  place-items: center; background: var(--mint-2); color: var(--teal-dark); flex: none; }
.float-card b { display: block; font-size: 0.95rem; }
.float-card small { color: var(--muted); }
.fc-1 { top: 8%; left: -7%; animation: floaty 6s ease-in-out infinite; }
.fc-2 { bottom: 9%; right: -6%; animation: floaty 7s ease-in-out 0.8s infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ── Stats strip ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(8px, 2vw, 18px); padding-bottom: clamp(44px, 6vw, 64px);
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow);
}
.stat b { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--teal-dark); letter-spacing: -0.02em; }
.stat > span { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }

/* ── Marquee (mitra/asuransi) ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line);
  background: #fff; padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content;
  animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 800; color: #94a3b8; font-size: 1.05rem;
  letter-spacing: 0.06em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Cards ── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 18px rgba(15, 118, 110, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(13, 148, 136, 0.4); }
.card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--mint-2); color: var(--teal-dark); margin-bottom: 16px;
  transition: transform 0.35s ease;
}
.card:hover .ic { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.92rem; }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  color: var(--teal-dark); font-weight: 700; font-size: 0.9rem; }
.card .more svg { transition: transform 0.25s ease; }
.card:hover .more svg { transform: translateX(4px); }

/* ── Doctor cards ── */
.doc-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.doc-photo { aspect-ratio: 1 / 0.92; overflow: hidden; position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; }
.doc-card:hover .doc-photo img { transform: scale(1.06); }
.doc-spec {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  color: var(--teal-dark); font-size: 0.74rem; font-weight: 800;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em;
}
.doc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doc-body h3 { font-size: 1.08rem; }
.doc-body .exp { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.doc-body .row { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.doc-body .row .btn { padding: 10px 16px; font-size: 0.85rem; border-radius: 11px; flex: 1; }

/* ── Filter chips ── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.fchip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); font-weight: 700; font-size: 0.88rem;
  transition: all 0.25s ease;
}
.fchip:hover { border-color: var(--teal); color: var(--teal-dark); }
.fchip.active { background: var(--teal); border-color: var(--teal); color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; }
.step .num {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--teal), #2dd4bf);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.step p { color: var(--slate); font-size: 0.88rem; }

/* ── Tables (jadwal / harga) ── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 480px; }
.tbl th { text-align: left; background: var(--mint); color: var(--teal-deep);
  font-weight: 800; padding: 14px 18px; }
.tbl td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--slate); }
.tbl tr:hover td { background: #fbfefd; }
.tbl b { color: var(--ink); }

/* ── Accordion (FAQ) ── */
.acc { border: 1px solid var(--line); border-radius: 16px; background: #fff;
  margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.3s ease; }
.acc[open], .acc.open { box-shadow: var(--shadow); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding: 18px 22px; font-weight: 700; text-align: left; color: var(--ink);
}
.acc-head .chev { flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint-2); color: var(--teal-dark);
  transition: transform 0.3s ease; }
.acc.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-body > div { padding: 0 22px 20px; color: var(--slate); font-size: 0.94rem; }

/* ── Testimonials ── */
.tslider { position: relative; max-width: 760px; margin-inline: auto; }
.tslide { display: none; text-align: center; padding: 10px; }
.tslide.on { display: block; animation: fade-up 0.5s ease; }
.tslide blockquote { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600;
  line-height: 1.6; color: var(--ink); }
.tslide .who { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.tslide .who b { color: var(--teal-dark); display: block; font-size: 1rem; }
.stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.tdots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.tdots button { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1;
  transition: all 0.25s ease; }
.tdots button.on { background: var(--teal); width: 26px; border-radius: 999px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* ── BMI / widgets ── */
.widget {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark));
  border-radius: 26px; color: #fff; padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.widget::before { content: ""; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(45, 212, 191, 0.18); }
.widget h3 { font-size: 1.5rem; }
.widget p { color: #bdf3ea; }
.widget label { font-size: 0.82rem; font-weight: 700; color: #d6fff8;
  display: block; margin-bottom: 6px; }
.widget input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 600;
  outline: 2px solid transparent; transition: outline-color 0.2s;
}
.widget input::placeholder { color: rgba(255, 255, 255, 0.5); }
.widget input:focus { outline-color: #2dd4bf; }
.bmi-result { margin-top: 18px; background: rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 16px 18px; display: none; }
.bmi-result.show { display: block; animation: fade-up 0.4s ease; }
.bmi-result b { font-size: 1.5rem; }

/* ── Status open/closed ── */
.status-pill { display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; }
.status-pill.open { background: #dcfce7; color: #15803d; }
.status-pill.closed { background: #fee2e2; color: #b91c1c; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: pulse-dot 1.8s infinite; }

/* ── Forms ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 13px;
  border: 1.5px solid #e2e8f0; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}
.field.full { grid-column: 1 / -1; }

/* ── Booking wizard ── */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); overflow: hidden; }
.wiz-head { display: flex; background: var(--mint); border-bottom: 1px solid var(--line); }
.wiz-tab { flex: 1; text-align: center; padding: 16px 8px; font-size: 0.8rem;
  font-weight: 800; color: var(--muted); position: relative; }
.wiz-tab.on { color: var(--teal-dark); }
.wiz-tab.on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--teal); }
.wiz-body { padding: clamp(22px, 4vw, 38px); }
.wiz-step { display: none; }
.wiz-step.on { display: block; animation: fade-up 0.35s ease; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt {
  border: 1.5px solid #e2e8f0; border-radius: 15px; padding: 16px;
  display: flex; gap: 12px; align-items: center; cursor: pointer;
  transition: all 0.22s ease; background: #fff; text-align: left; width: 100%;
}
.opt:hover { border-color: var(--teal); }
.opt.sel { border-color: var(--teal); background: var(--mint);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1); }
.opt .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-2);
  display: grid; place-items: center; color: var(--teal-dark); flex: none; }
.opt b { display: block; font-size: 0.95rem; }
.opt small { color: var(--muted); }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wiz-summary { background: var(--mint); border-radius: 16px; padding: 20px;
  font-size: 0.95rem; }
.wiz-summary div { display: flex; justify-content: space-between; gap: 14px;
  padding: 7px 0; border-bottom: 1px dashed var(--line); }
.wiz-summary div:last-child { border: 0; }
.wiz-summary span { color: var(--muted); }
.wiz-summary b { text-align: right; }

/* ── CTA band ── */
.cta-band {
  background:
    radial-gradient(420px 220px at 85% 20%, rgba(45, 212, 191, 0.25), transparent 70%),
    linear-gradient(120deg, var(--teal-deep), var(--teal-dark));
  border-radius: 28px; color: #fff; padding: clamp(34px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { color: #bdf3ea; margin-top: 8px; max-width: 480px; }

/* ── Page hero (inner pages) ── */
.page-hero { background:
    radial-gradient(560px 300px at 90% -20%, rgba(45, 212, 191, 0.16), transparent 65%),
    linear-gradient(180deg, var(--mint), #fff);
  padding: clamp(48px, 7vw, 80px) 0 clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.crumbs a:hover { color: var(--teal-dark); }

/* ── Footer ── */
footer { background: var(--teal-deep); color: #b6e9e0; margin-top: clamp(60px, 9vw, 100px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px; padding: clamp(44px, 7vw, 70px) 0 30px; }
footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
footer a { display: block; padding: 5px 0; font-size: 0.9rem; transition: color 0.2s; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0; font-size: 0.82rem; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── Floating buttons ── */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #16a34a; color: #fff; box-shadow: 0 14px 34px rgba(22, 163, 74, 0.45);
  transition: transform 0.25s ease;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-top {
  position: fixed; right: 24px; bottom: 88px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--teal-dark); border: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.25s ease;
}
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top:hover { transform: translateY(-3px); }

/* ── Scroll reveal ── */
.rv { opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-34px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-r { opacity: 0; transform: translateX(34px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rv-l.in, .rv-r.in { opacity: 1; transform: none; }

/* ── Parallax helper ── */
[data-pspeed] { will-change: transform; }

/* ── 404 ── */
.err-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center;
  padding: 70px 20px; }
.err-wrap .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--teal), #2dd4bf);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .fc-1 { left: 2%; } .fc-2 { right: 2%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .steps, .form-grid, .opt-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.85rem; }
  .topbar .container { justify-content: center; text-align: center; }
  .cta-band { text-align: center; justify-content: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv-l, .rv-r { opacity: 1; transform: none; }
}
