/* ============================================================
   Edad Biológica — Zentum landing
   Layered on colors_and_type.css (design-system tokens)
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zentum-bg-canvas);
  color: var(--zentum-fg-1);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.section--tint { background: var(--zentum-bg-tint); }
.section--cream { background: #FCFAF6; }

.eyebrow {
  font-family: var(--zentum-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zentum-blue-600);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--zentum-blue-400);
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
h1 { font-family: var(--zentum-font-display); }
.h-display {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--zentum-blue-900);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--zentum-blue-900);
  margin: 0;
  text-wrap: balance;
}
.lede {
  font-family: var(--zentum-font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--zentum-fg-4);
  margin: 18px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--zentum-font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  border-radius: var(--zentum-radius-lg);
  padding: 16px 26px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary {
  background: var(--zentum-grad-cta);
  color: #fff;
  box-shadow: 0 2px 0 rgba(224,101,26,.25), 0 8px 20px -8px rgba(248,127,46,.6);
}
.btn--primary:hover {
  background: var(--zentum-grad-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(224,101,26,.3), 0 14px 28px -8px rgba(248,127,46,.65);
}
.btn--primary:active { transform: scale(.98); }
.btn--ghost {
  background: transparent;
  color: var(--zentum-blue-700);
  border-color: var(--zentum-blue-150);
}
.btn--ghost:hover { border-color: var(--zentum-blue-400); background: rgba(99,151,214,.07); }
.btn--ghost:active { transform: scale(.98); }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* Accessibility — visible keyboard focus on all interactive elements */
.btn:focus-visible,
.header-nav a:focus-visible,
.footer-col a:focus-visible,
.faq-item summary:focus-visible,
.wa-float:focus-visible {
  outline: 3px solid var(--zentum-blue-400);
  outline-offset: 3px;
  border-radius: var(--zentum-radius-md);
}
.closing .btn--ghost:focus-visible,
.wa-float:focus-visible { outline-color: #fff; }

/* ---------- Mid-page CTA band ---------- */
.midcta-section { padding-block: 28px; }
.midcta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--zentum-grad-footer);
  border-radius: var(--zentum-radius-2xl);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.midcta::after {
  content: "";
  position: absolute; right: -90px; top: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,151,214,.35), transparent 70%);
}
.midcta-copy { position: relative; z-index: 1; }
.midcta-line {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.22;
  letter-spacing: -.025em;
  color: #fff;
}
.midcta-price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.midcta-price .price-now { font-size: 32px; color: #fff; }
.midcta-price .price-was { font-size: 18px; color: var(--zentum-blue-200); }
.midcta-cta { display: flex; gap: 12px; position: relative; z-index: 1; flex-wrap: wrap; }
.midcta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.midcta .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding-inline: 16px;
}
.header-pill {
  max-width: 1180px;
  margin-inline: auto;
  height: 76px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  box-shadow: var(--zentum-shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 26px;
}
.header-pill .logo { height: 26px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-family: var(--zentum-font-ui);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--zentum-fg-4);
  transition: color .15s ease;
}
.header-nav a:hover { color: var(--zentum-blue-700); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; font-size: 14.5px; border-radius: var(--zentum-radius-md); }
.header-price {
  font-family: var(--zentum-font-ui);
  font-size: 13px;
  color: var(--zentum-fg-4);
}
.header-price s { color: var(--zentum-fg-5); }
.header-price b { color: var(--zentum-blue-900); font-weight: 700; }
@media (max-width: 860px) {
  .header-nav, .header-price { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 70px; padding-bottom: 96px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% 6%, rgba(143,184,240,.28), transparent 60%),
    radial-gradient(700px 500px at 2% 90%, rgba(240,247,255,.9), transparent 55%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 { margin-top: 4px; }
.hero .lede { margin-top: 22px; }

.price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 30px;
}
.price-now {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: 46px;
  letter-spacing: -0.03em;
  color: var(--zentum-blue-900);
  line-height: 1;
}
.price-was {
  font-family: var(--zentum-font-display);
  font-size: 24px;
  color: var(--zentum-fg-5);
  text-decoration: line-through;
  text-decoration-color: var(--zentum-orange-500);
}
.price-tag {
  font-family: var(--zentum-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--zentum-orange-600);
  background: var(--zentum-orange-100);
  padding: 6px 12px;
  border-radius: var(--zentum-radius-pill);
}
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--zentum-font-body);
  font-size: 14px;
  color: var(--zentum-fg-4);
}
.hero-trust svg { width: 17px; height: 17px; color: var(--zentum-status-inrange); flex: none; }

/* Hero card */
.hero-visual { position: relative; }
.helix {
  position: absolute;
  right: -40px; top: -60px;
  width: 260px; height: 460px;
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}
.bioage-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  box-shadow: var(--zentum-shadow-pop);
  padding: 28px;
  max-width: 440px;
  margin-left: auto;
}
.bioage-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bioage-title { font-family: var(--zentum-font-display); font-weight: 600; font-size: 19px; color: var(--zentum-fg-1); }
.chip-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--zentum-font-body); font-weight: 600; font-size: 12px;
  color: var(--zentum-status-inrange);
  background: var(--zentum-status-inrange-bg);
  padding: 5px 11px; border-radius: var(--zentum-radius-pill);
}
.chip-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zentum-status-inrange); }
.bioage-sub { font-family: var(--zentum-font-body); font-size: 13.5px; color: var(--zentum-fg-4); margin-top: 2px; }
.bioage-num {
  font-family: var(--zentum-font-display);
  font-weight: 500;
  font-size: 128px;
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--zentum-blue-900);
  margin: 14px 0 2px;
}
.bioage-num .bioage-unit { font-size: 30px; color: var(--zentum-fg-5); letter-spacing: -.02em; }
.bioage-foot {
  display: flex; align-items: center; gap: 18px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--zentum-border-divider);
}
.bioage-stat .k { font-family: var(--zentum-font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--zentum-fg-5); }
.bioage-stat .v { font-family: var(--zentum-font-display); font-weight: 600; font-size: 22px; color: var(--zentum-fg-2); margin-top: 3px; }
.bioage-delta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--zentum-font-body); font-weight: 600; font-size: 13px;
  color: var(--zentum-status-inrange);
  background: var(--zentum-status-inrange-bg);
  padding: 8px 13px; border-radius: var(--zentum-radius-md);
}
.bioage-delta svg { width: 16px; height: 16px; }

/* ---------- Compare (qué es) ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 8px;
}
.compare-tile {
  background: #fff;
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  box-shadow: var(--zentum-shadow-card);
  padding: 36px 34px;
}
.compare-tile.alt { background: var(--zentum-blue-900); border-color: transparent; }
.compare-tile .ct-label {
  font-family: var(--zentum-font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--zentum-fg-5);
}
.compare-tile.alt .ct-label { color: var(--zentum-blue-200); }
.compare-tile .ct-num {
  font-family: var(--zentum-font-display); font-weight: 500;
  font-size: 92px; line-height: .95; letter-spacing: -.045em;
  color: var(--zentum-fg-2); margin: 10px 0 4px;
}
.compare-tile.alt .ct-num { color: #fff; }
.compare-tile .ct-desc { font-family: var(--zentum-font-body); font-size: 15px; color: var(--zentum-fg-4); line-height: 1.5; }
.compare-tile.alt .ct-desc { color: var(--zentum-blue-150); }
.compare-vs {
  font-family: var(--zentum-font-display); font-weight: 700; font-size: 18px;
  color: var(--zentum-blue-400);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--zentum-blue-150);
  display: grid; place-items: center; background: #fff;
}
.phenoage-note {
  margin-top: 36px;
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-lg); padding: 20px 22px;
  max-width: 760px;
}
.phenoage-note svg { width: 22px; height: 22px; color: var(--zentum-blue-600); flex: none; margin-top: 1px; }
.phenoage-note p { font-family: var(--zentum-font-body); font-size: 15px; color: var(--zentum-fg-4); line-height: 1.55; }
.phenoage-note b { color: var(--zentum-fg-1); font-weight: 600; }

/* ---------- Por qué importa ---------- */
.belief {
  background: var(--zentum-blue-900);
  border-radius: var(--zentum-radius-2xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.belief::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,151,214,.35), transparent 70%);
}
.belief-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; position: relative; z-index: 1; }
.belief .eyebrow { color: var(--zentum-blue-200); }
.belief .eyebrow::before { background: var(--zentum-blue-300); }
.belief h2 {
  font-family: var(--zentum-font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em;
  color: #fff; margin: 0; text-wrap: balance;
}
.belief h2 em { font-style: normal; color: var(--zentum-blue-300); }
.belief-lede { font-family: var(--zentum-font-body); font-size: 17px; line-height: 1.6; color: var(--zentum-blue-150); margin-top: 22px; }
.belief-points { display: flex; flex-direction: column; gap: 22px; }
.belief-point { display: flex; gap: 16px; }
.belief-point .icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(143,184,240,.16);
  display: grid; place-items: center;
}
.belief-point .icon svg { width: 21px; height: 21px; color: var(--zentum-blue-200); }
.belief-point h4 { font-family: var(--zentum-font-display); font-weight: 600; font-size: 17px; color: #fff; margin: 2px 0 5px; }
.belief-point p { font-family: var(--zentum-font-body); font-size: 14.5px; line-height: 1.5; color: var(--zentum-blue-150); }

/* ---------- Biomarcadores ---------- */
.marquee-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.marquee-card {
  background: #fff;
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-lg);
  padding: 22px 20px;
  box-shadow: var(--zentum-shadow-card);
  position: relative;
}
.marquee-card.feature { background: var(--zentum-blue-900); border-color: transparent; }
.marquee-card .mc-tag {
  font-family: var(--zentum-font-ui); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--zentum-blue-600);
}
.marquee-card.feature .mc-tag { color: var(--zentum-blue-200); }
.marquee-card .mc-name {
  font-family: var(--zentum-font-display); font-weight: 600; font-size: 18px;
  color: var(--zentum-fg-1); margin-top: 10px; letter-spacing: -.02em;
}
.marquee-card.feature .mc-name { color: #fff; }
.marquee-card .mc-desc { font-family: var(--zentum-font-body); font-size: 13px; line-height: 1.45; color: var(--zentum-fg-4); margin-top: 8px; }
.marquee-card.feature .mc-desc { color: var(--zentum-blue-150); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  padding: 26px 28px;
}
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-head .icon {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--zentum-bg-tint); display: grid; place-items: center;
}
.cat-head .icon svg { width: 19px; height: 19px; color: var(--zentum-blue-600); }
.cat-head h4 { font-family: var(--zentum-font-display); font-weight: 600; font-size: 17px; color: var(--zentum-fg-1); }
.cat-head .count { margin-left: auto; font-family: var(--zentum-font-ui); font-size: 12px; color: var(--zentum-fg-5); }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-list li {
  list-style: none;
  font-family: var(--zentum-font-body); font-size: 13px; font-weight: 500;
  color: var(--zentum-fg-7);
  background: var(--zentum-bg-tint);
  border: 1px solid var(--zentum-border-input);
  padding: 6px 12px; border-radius: var(--zentum-radius-pill);
  cursor: default;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
/* All biomarkers share one look; hover paints them in brand blue. */
.cat-list li:hover {
  background: var(--zentum-blue-600);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(16,113,182,.5);
}
.bio-total {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}
.bio-total .n {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 108px);
  letter-spacing: -.05em;
  color: var(--zentum-blue-900);
  line-height: .85;
}
.bio-total .t {
  font-family: var(--zentum-font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--zentum-fg-2);
  max-width: 14ch;
  text-wrap: balance;
}

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: var(--zentum-radius-lg);
  background: #fff; border: 1px solid var(--zentum-border-hairline);
  box-shadow: var(--zentum-shadow-card);
  display: grid; place-items: center; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.step-num svg { width: 24px; height: 24px; color: var(--zentum-blue-600); }
.step-idx {
  font-family: var(--zentum-font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; color: var(--zentum-blue-400); text-transform: uppercase;
}
.step h4 { font-family: var(--zentum-font-display); font-weight: 600; font-size: 19px; color: var(--zentum-fg-1); margin: 8px 0 8px; letter-spacing: -.02em; }
.step p { font-family: var(--zentum-font-body); font-size: 14.5px; line-height: 1.5; color: var(--zentum-fg-4); }
.steps::before {
  content: "";
  position: absolute; top: 26px; left: 52px; right: 52px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--zentum-blue-150) 0 8px, transparent 8px 16px);
  z-index: 0;
}

/* ---------- Por qué Zentum ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  background: #fff; border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl); padding: 28px 26px;
}
.why-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--zentum-bg-tint); display: grid; place-items: center; margin-bottom: 18px;
}
.why-card .icon svg { width: 22px; height: 22px; color: var(--zentum-blue-600); }
.why-card h4 { font-family: var(--zentum-font-display); font-weight: 600; font-size: 18px; color: var(--zentum-fg-1); margin: 0 0 8px; letter-spacing: -.02em; }
.why-card p { font-family: var(--zentum-font-body); font-size: 14px; line-height: 1.5; color: var(--zentum-fg-4); }

/* ---------- Claim — más que un examen ---------- */
.claim { max-width: 1000px; }
.claim .eyebrow { margin-bottom: 24px; }
.claim-text {
  font-family: var(--zentum-font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -.032em;
  color: var(--zentum-blue-900);
  text-wrap: balance;
}
.claim-text .hl {
  color: var(--zentum-blue-600);
  background: linear-gradient(180deg, transparent 62%, rgba(99,151,214,.25) 62%);
  padding: 0 .04em;
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 820px; }
.faq-item {
  background: #fff; border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-lg); overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--zentum-shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  font-family: var(--zentum-font-display); font-weight: 600; font-size: 17px;
  color: var(--zentum-fg-1); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-icon {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--zentum-bg-tint); display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease;
}
.faq-item summary .q-icon svg { width: 16px; height: 16px; color: var(--zentum-blue-600); }
.faq-item[open] summary .q-icon { transform: rotate(45deg); background: var(--zentum-blue-600); }
.faq-item[open] summary .q-icon svg { color: #fff; }
.faq-item .faq-body { padding: 0 24px 24px; }
.faq-item .faq-body p { font-family: var(--zentum-font-body); font-size: 15px; line-height: 1.6; color: var(--zentum-fg-4); max-width: 64ch; }

/* ---------- CTA final band ---------- */
.closing {
  background: var(--zentum-grad-footer);
  position: relative;
  overflow: hidden;
  padding-block: 96px;
}
.closing-inner { position: relative; z-index: 2; text-align: center; }
.closing .eyebrow { color: var(--zentum-blue-200); justify-content: center; }
.closing .eyebrow::before { background: var(--zentum-blue-300); }
.closing h2 {
  font-family: var(--zentum-font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.03em;
  color: #fff; margin: 0 auto; max-width: 16ch; text-wrap: balance;
}
.closing .price-block { justify-content: center; margin-top: 30px; }
.closing .price-now { color: #fff; }
.closing .price-was { color: var(--zentum-blue-200); }
.closing-cta { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.closing .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.closing .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.closing-tagline {
  font-family: var(--zentum-font-display); font-weight: 600; font-style: italic;
  font-size: 22px; color: var(--zentum-blue-150); margin-top: 44px; letter-spacing: -.01em;
}

/* ---------- Footer ---------- */
.footer { background: var(--zentum-blue-900); padding-top: 0; }
.footer-wave { width: 100%; height: 56px; display: block; }
.footer-inner { padding: 56px 0 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-logo { height: 30px; width: auto; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--zentum-font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--zentum-blue-200);
  margin: 0 0 14px;
}
.footer-col a {
  display: block; font-family: var(--zentum-font-body); font-size: 14px;
  color: var(--zentum-blue-150); margin-bottom: 10px; transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-legal {
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--zentum-font-ui); font-size: 11.5px; line-height: 1.6;
  letter-spacing: .02em; text-transform: uppercase;
  color: rgba(255,255,255,.6); max-width: 880px;
}
.footer-copy { margin-top: 18px; font-family: var(--zentum-font-ui); font-size: 12px; color: rgba(255,255,255,.5); text-transform: none; letter-spacing: 0; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none;
  gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--zentum-border-divider);
}
.mobile-cta .btn { flex: 1; padding: 14px 16px; font-size: 15px; }
.mobile-cta .btn--ghost { flex: 0 0 56px; }

/* ---------- Reveal animation ----------
   Content is visible by default. The hidden start-state only applies once
   JS has confirmed support and added `.js-reveal` to <html>, so the page
   is never permanently blank if the observer never fires (no-JS, backgrounded
   tab, reduced-capability webviews). */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* Hard floor: force-visible with NO transition, so a throttled/paused opacity
   transition (background tab, embeds, low-power webviews) can never strand
   content at opacity:0. Applied by JS shortly after each element is revealed. */
.js-reveal .reveal.shown { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .bioage-card { margin-inline: auto; }
  .helix { right: 0; }
  .belief-grid { grid-template-columns: 1fr; gap: 36px; }
  .belief { padding: 44px 32px; }
  .marquee-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 18px; }
  .section { padding-block: 56px; }
  .compare { grid-template-columns: 1fr; gap: 16px; }
  .compare-vs { margin-inline: auto; }
  .marquee-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .bioage-num { font-size: 104px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
  .hero-cta .btn { flex: 1; }
  .midcta { padding: 32px 24px; gap: 24px; }
  .midcta-cta { width: 100%; }
  .midcta-cta .btn { flex: 1; }
}

/* ============================================================
   Tweakable behaviors
   ============================================================ */

/* Secondary CTA — "link" (visually quieter) variant */
.btn--aslink {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--zentum-fg-4);
  font-weight: 500;
  padding-inline: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--zentum-border-strong);
}
.btn--aslink:hover { color: var(--zentum-blue-700); transform: none; box-shadow: none; text-decoration-color: var(--zentum-blue-400); }
.btn--aslink svg { width: 17px; height: 17px; }

/* Bio-age card — negative / alert state */
.bioage-card { transition: box-shadow .45s ease, border-color .45s ease; }
.bioage-card.negative { border-color: rgba(226,94,62,.35); box-shadow: 0 12px 32px -8px rgba(226,94,62,.28), 0 4px 8px rgba(226,94,62,.1); }
#bioVal, .bioage-num .bioage-unit { transition: color .45s ease; }
.bioage-card.negative #bioVal { color: var(--zentum-status-outrange); }
.bioage-num, .chip-status, .bioage-sub, .bioage-delta { transition: color .35s ease, background .35s ease; }
.chip-status.is-alert { color: var(--zentum-status-outrange); background: var(--zentum-status-outrange-bg); }
.chip-status.is-alert .dot { background: var(--zentum-status-outrange); }
.bioage-delta.is-alert { color: var(--zentum-status-outrange); background: var(--zentum-status-outrange-bg); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 75;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: none;            /* shown via tweak */
  align-items: center; justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .2s ease;
}
.wa-float.on { display: inline-flex; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px -6px rgba(37,211,102,.6); }
.wa-float:active { transform: scale(.96); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 600px) { .wa-float { bottom: 84px; right: 16px; width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-float .wa-pulse { animation: none; } }

/* ---------- Tweaks panel ---------- */
.tw-panel {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 200;
  width: 296px;
  display: none;
  background: #fff;
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  box-shadow: var(--zentum-shadow-pop);
  font-family: var(--zentum-font-body);
  overflow: hidden;
}
.tw-panel.open { display: block; }
.tw-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--zentum-border-divider);
  cursor: grab;
}
.tw-head.grabbing { cursor: grabbing; }
.tw-head .tw-title { font-family: var(--zentum-font-display); font-weight: 700; font-size: 15px; color: var(--zentum-blue-900); letter-spacing: -.01em; }
.tw-head .tw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zentum-orange-500); }
.tw-close { margin-left: auto; width: 26px; height: 26px; border: none; background: var(--zentum-bg-page); border-radius: 8px; cursor: pointer; color: var(--zentum-fg-4); display: grid; place-items: center; }
.tw-close:hover { background: var(--zentum-border-divider); color: var(--zentum-fg-1); }
.tw-close svg { width: 15px; height: 15px; }
.tw-body { padding: 6px 16px 18px; max-height: 78vh; overflow-y: auto; }
.tw-section { font-family: var(--zentum-font-ui); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--zentum-fg-5); margin: 18px 0 10px; }
.tw-row { margin-bottom: 14px; }
.tw-label { font-size: 13px; font-weight: 500; color: var(--zentum-fg-1); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tw-val { font-family: var(--zentum-font-ui); font-size: 12px; color: var(--zentum-fg-4); }

/* segmented */
.tw-seg { display: flex; gap: 4px; margin-top: 8px; background: var(--zentum-bg-page); padding: 4px; border-radius: var(--zentum-radius-md); }
.tw-seg button {
  flex: 1; border: none; background: transparent; cursor: pointer;
  font-family: var(--zentum-font-body); font-size: 12.5px; font-weight: 500; color: var(--zentum-fg-4);
  padding: 7px 8px; border-radius: 8px; transition: all .15s ease;
}
.tw-seg button.active { background: #fff; color: var(--zentum-blue-900); box-shadow: var(--zentum-shadow-card); font-weight: 600; }

/* toggle */
.tw-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.tw-switch { width: 40px; height: 24px; border-radius: 999px; background: var(--zentum-border-strong); position: relative; transition: background .2s ease; flex: none; }
.tw-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tw-toggle.on .tw-switch { background: var(--zentum-orange-500); }
.tw-toggle.on .tw-switch::after { transform: translateX(16px); }

/* slider */
.tw-slider { width: 100%; margin-top: 10px; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: var(--zentum-border-strong); cursor: pointer; }
.tw-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--zentum-orange-500); box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: pointer; }
.tw-slider::-moz-range-thumb { width: 18px; height: 18px; border: none; border-radius: 50%; background: var(--zentum-orange-500); box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: pointer; }
.tw-slider:disabled { opacity: .4; cursor: not-allowed; }

/* ============================================================
   LEAD CAPTURE MODAL (pop-up antes del checkout)
   ============================================================ */
.lead-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: var(--zentum-bg-overlay);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lead-overlay.open { opacity: 1; visibility: visible; }

.lead-modal {
  position: relative;
  width: 100%; max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--zentum-bg-card);
  border: 1px solid var(--zentum-border-hairline);
  border-radius: var(--zentum-radius-xl);
  box-shadow: var(--zentum-shadow-pop);
  padding: 36px 32px 28px;
  transform: translateY(16px) scale(.98);
  transition: transform .28s cubic-bezier(0.4,0,0.2,1);
}
.lead-overlay.open .lead-modal { transform: translateY(0) scale(1); }

.lead-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: none; background: var(--zentum-bg-input);
  border-radius: var(--zentum-radius-pill); cursor: pointer;
  color: var(--zentum-fg-4); transition: background .15s ease, color .15s ease;
}
.lead-close:hover { background: var(--zentum-border-divider); color: var(--zentum-fg-1); }
.lead-close svg { width: 18px; height: 18px; }

.lead-head { margin-bottom: 22px; padding-right: 28px; }
.lead-eyebrow {
  font-family: var(--zentum-font-ui);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--zentum-orange-500);
}
.lead-title {
  font-family: var(--zentum-font-display);
  font-weight: 700; font-size: 25px; line-height: 1.12; letter-spacing: -.025em;
  color: var(--zentum-fg-1); margin: 10px 0 8px;
}
.lead-sub {
  font-family: var(--zentum-font-body);
  font-size: 14.5px; line-height: 1.5; color: var(--zentum-fg-4);
}

.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field label {
  font-family: var(--zentum-font-ui);
  font-size: 13px; font-weight: 600; color: var(--zentum-fg-3);
}
.lead-field label .lead-opt {
  font-weight: 500; color: var(--zentum-fg-5);
}
.lead-field input {
  font-family: var(--zentum-font-body);
  font-size: 15px; color: var(--zentum-fg-1);
  background: #fff;
  border: 1.5px solid var(--zentum-border-input);
  border-radius: var(--zentum-radius-md);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-field input::placeholder { color: var(--zentum-fg-5); }
.lead-field input:focus {
  outline: none;
  border-color: var(--zentum-blue-400);
  box-shadow: 0 0 0 3px rgba(99,151,214,.18);
}
.lead-field input.is-invalid { border-color: var(--zentum-status-outrange); }
.lead-field input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(248,127,46,.18); }
.lead-error {
  font-family: var(--zentum-font-ui);
  font-size: 12px; color: var(--zentum-status-outrange); min-height: 0;
}
.lead-error:empty { display: none; }

.lead-form .btn--block { margin-top: 6px; }
.lead-skip {
  align-self: center;
  background: none; border: none; cursor: pointer;
  font-family: var(--zentum-font-body); font-size: 14px; font-weight: 500;
  color: var(--zentum-fg-4); padding: 6px 10px; margin-top: 2px;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .15s ease;
}
.lead-skip:hover { color: var(--zentum-blue-700); }

.lead-trust {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--zentum-border-divider);
  font-family: var(--zentum-font-body); font-size: 12.5px; color: var(--zentum-fg-5);
}
.lead-trust svg { width: 15px; height: 15px; flex: none; color: var(--zentum-status-inrange); }

/* intl-tel-input — adaptación al estilo Zentum */
.lead-field .iti { width: 100%; }
.lead-field .iti__selected-flag { border-radius: var(--zentum-radius-md) 0 0 var(--zentum-radius-md); }
.lead-field .iti--separate-dial-code .iti__selected-dial-code {
  font-family: var(--zentum-font-body); font-size: 15px; color: var(--zentum-fg-2);
}
.lead-field .iti__country-list {
  font-family: var(--zentum-font-body); font-size: 14px;
  border: 1px solid var(--zentum-border-input);
  border-radius: var(--zentum-radius-md);
  box-shadow: var(--zentum-shadow-pop);
}
.lead-field .iti__country.iti__highlight { background: var(--zentum-bg-tint); }
