/* ===== Ryvo Landing — Theme tokens ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-card: #ffffff;
  --bg-card-2: #f1f2f8;
  --fg: #0b0b1a;
  --fg-soft: #4a4a63;
  --fg-mute: #7a7a92;
  --border: #e6e7ef;
  --border-strong: #d6d8e2;
  --pill-bg: #eee7ff;
  --pill-fg: #5e3df9;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-border: #d6d8e2;
  --btn-secondary-fg: #0b0b1a;
  --shadow-card: 0 2px 10px rgba(15, 20, 60, 0.05), 0 12px 36px rgba(15, 20, 60, 0.05);
  --shadow-cta: 0 14px 40px rgba(70, 60, 250, 0.25);
  --wave-opacity: 0.6;
  --hero-glow: radial-gradient(60% 80% at 85% 50%, rgba(122, 88, 252, 0.10), transparent 60%);

  /* Ryvo brand (logo gradients) */
  --brand-blue: #2a6ffc;
  --brand-violet: #6e4ffc;
  --brand-magenta: #b32bfa;
  --brand-grad: linear-gradient(95deg, #2a6ffc 0%, #5e4dfa 45%, #a138fd 100%);
  --brand-grad-soft: linear-gradient(95deg, #3f7bff 0%, #7a5cff 50%, #b76aff 100%);
  --hero-grad-text: linear-gradient(95deg, #2a6ffc 0%, #6e4ffc 50%, #b32bfa 100%);

  /* Feature accents (per Olympus brief) */
  --c-indigo: #6366F1;   /* data / seguridad */
  --c-purple: #A855F7;   /* pactos */
  --c-gold:   #D4A017;   /* cápsulas */
  --c-green:  #22C55E;   /* portabilidad / success */
  --c-orange: #FB923C;   /* rachas */
  --c-red:    #EF4444;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #06060e;
  --bg-soft: #0a0a18;
  --bg-card: #11121f;
  --bg-card-2: #161728;
  --fg: #ffffff;
  --fg-soft: #b9bccd;
  --fg-mute: #7e8195;
  --border: #1c1d33;
  --border-strong: #262844;
  --pill-bg: rgba(110, 79, 252, 0.18);
  --pill-fg: #b4a3ff;
  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-border: rgba(255, 255, 255, 0.12);
  --btn-secondary-fg: #ffffff;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-cta: 0 14px 40px rgba(70, 60, 250, 0.45);
  --wave-opacity: 1;
  --hero-glow: radial-gradient(60% 70% at 85% 50%, rgba(122, 88, 252, 0.35), transparent 60%);
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  transition: background-color 320ms ease, color 320ms ease;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ===== Layout ===== */
.page {
  position: relative;
  min-height: 100vh;
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
  position: relative;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  height: 36px;
}
.logo img { height: 100%; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  padding: 8px 2px;
  position: relative;
  transition: color 160ms ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active {
  color: var(--brand-violet);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 2px;
  background: var(--brand-violet);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--brand-violet);
  color: var(--brand-violet);
  font-weight: 600;
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease;
}
.nav-cta:hover {
  background: var(--brand-violet);
  color: #fff;
}
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  display: inline-grid;
  place-items: center;
  color: var(--fg);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}
.theme-toggle:hover { transform: rotate(15deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
  min-height: 600px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
}
.hero-waves {
  position: absolute;
  right: -8%;
  top: 0;
  height: 100%;
  width: 80%;
  opacity: var(--wave-opacity);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pill svg { width: 14px; height: 14px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.hero h1 .gradient {
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 420px;
  margin: 0 0 36px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(70, 60, 250, 0.5); }
.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
  border: 1px solid var(--btn-secondary-border);
}
.btn svg { width: 18px; height: 18px; }

.stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0b0b14;
  color: #fff;
  border-radius: 12px;
  padding: 8px 18px 8px 14px;
  border: 1px solid #1f1f30;
  min-width: 158px;
  transition: transform 160ms ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .sub { font-size: 10px; line-height: 1; opacity: 0.85; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.store-badge .name { font-size: 17px; font-weight: 700; line-height: 1.15; margin-top: 2px; }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }

/* Phones area */
.phones-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

/* ===== Features ===== */
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px);
}
.section-title .gradient {
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, border-color 220ms ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--brand-violet);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(110, 79, 252, 0.18), rgba(179, 43, 250, 0.10));
  border: 1px solid rgba(110, 79, 252, 0.18);
}
[data-theme="dark"] .feature-icon {
  background: linear-gradient(160deg, rgba(110, 79, 252, 0.25), rgba(179, 43, 250, 0.12));
  border: 1px solid rgba(110, 79, 252, 0.30);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  max-width: 220px;
  margin-inline: auto;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 50%, rgba(110, 79, 252, 0.12), transparent 60%);
  pointer-events: none;
}
[data-theme="dark"] .cta-section::before {
  background: radial-gradient(80% 100% at 100% 50%, rgba(110, 79, 252, 0.18), transparent 60%);
}
.cta-section h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.cta-section h2 .gradient {
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-section p {
  position: relative;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 380px;
  margin: 0 0 28px;
}
.cta-section .stores { position: relative; }
.cta-mark {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 220px;
}
.cta-mark img { width: 100%; max-width: 320px; }

/* ===== Footer ===== */
.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-mute);
}
.footer .logo { height: 28px; }
.footer-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-copy { color: var(--fg-mute); }
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a {
  color: var(--fg-soft);
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}
.footer-legal a:hover { color: var(--brand-violet); }
.footer-sep { color: var(--fg-mute); opacity: 0.6; }
.socials {
  display: flex;
  gap: 14px;
  justify-self: end;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--fg-soft);
  transition: color 160ms ease, border-color 160ms ease;
}
.socials a:hover { color: var(--brand-violet); border-color: var(--brand-violet); }
.socials svg { width: 16px; height: 16px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .phones-wrap { order: -1; min-height: 460px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; }
  .cta-mark { min-height: 160px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-self: center; }
}

/* ============================================================
   ADDITIONS — Trust strip, accents per feature, Spotlights
   ============================================================ */

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 3vw, 36px);
  margin: 0 0 clamp(48px, 6vw, 80px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-soft);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  justify-self: center;
  display: none;
}

/* Per-feature accent colors */
.feature[data-accent="purple"] .feature-icon {
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.18), rgba(168, 85, 247, 0.06));
  border-color: rgba(168, 85, 247, 0.25);
}
.feature[data-accent="gold"] .feature-icon {
  background: linear-gradient(160deg, rgba(212, 160, 23, 0.20), rgba(212, 160, 23, 0.06));
  border-color: rgba(212, 160, 23, 0.30);
}
.feature[data-accent="green"] .feature-icon {
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.06));
  border-color: rgba(34, 197, 94, 0.28);
}
.feature[data-accent="indigo"] .feature-icon {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.06));
  border-color: rgba(99, 102, 241, 0.30);
}
.feature[data-accent="orange"] .feature-icon {
  background: linear-gradient(160deg, rgba(251, 146, 60, 0.20), rgba(251, 146, 60, 0.06));
  border-color: rgba(251, 146, 60, 0.30);
}
.feature[data-accent="purple"]:hover { border-color: var(--c-purple); }
.feature[data-accent="gold"]:hover { border-color: var(--c-gold); }
.feature[data-accent="green"]:hover { border-color: var(--c-green); }
.feature[data-accent="indigo"]:hover { border-color: var(--c-indigo); }
.feature[data-accent="orange"]:hover { border-color: var(--c-orange); }

/* Spotlight section (Pactos / Cápsulas / Modo entrenador) */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
}
.spotlight.reversed { grid-template-columns: 1.05fr 1fr; }
.spotlight.reversed .sp-visual { order: -1; }
.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sp-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.sp-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
  margin: 0 0 22px;
  max-width: 460px;
}
.sp-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.sp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}
.sp-bullets b {
  font-weight: 600;
  color: var(--fg);
}
.sp-bullets span {
  color: var(--fg-soft);
}
.sp-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  margin-top: 1px;
  background: currentColor;
  opacity: 1;
}
.sp-check svg { width: 14px; height: 14px; }
.sp-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pacto card */
.pacto-card {
  width: min(100%, 460px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.pacto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 50% 0%, rgba(168, 85, 247, 0.12), transparent 60%);
  pointer-events: none;
}
.pacto-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pacto-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-purple);
}
.pacto-stake {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--c-purple);
}
.pacto-vs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pacto-user { text-align: center; }
.pacto-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a6ffc, #b32bfa);
  margin: 0 auto 8px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--border);
}
.pacto-user.alt .pacto-avatar { background: linear-gradient(135deg, #A855F7, #FB923C); }
.pacto-name { font-size: 13px; font-weight: 600; }
.pacto-progress-text { font-size: 11px; color: var(--fg-mute); margin-top: 2px; }
.pacto-vs-divider {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-mute);
  background: var(--bg-card-2);
  border-radius: 999px;
  padding: 4px 10px;
}
.pacto-bars {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.pacto-bar-track {
  height: 6px;
  border-radius: 99px;
  background: var(--bg-card-2);
  overflow: hidden;
}
.pacto-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-purple), #d36bff);
}
.pacto-outcomes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.pacto-outcome {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--bg-card-2);
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: var(--fg-soft);
}
.pacto-outcome b { display: block; font-size: 12px; color: var(--fg); margin-bottom: 2px; }
.pacto-outcome.win { color: var(--c-green); }
.pacto-outcome.win b { color: var(--c-green); }
.pacto-outcome.mixed { color: var(--c-orange); }
.pacto-outcome.mixed b { color: var(--c-orange); }
.pacto-outcome.lose { color: var(--c-red); }
.pacto-outcome.lose b { color: var(--c-red); }
.pacto-foot {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--fg-mute);
}
.pacto-days { font-weight: 700; color: var(--fg); }

/* Cápsula card */
.capsula-card {
  width: min(100%, 380px);
  aspect-ratio: 5/6;
  background: linear-gradient(160deg, #1a1424 0%, #25182f 100%);
  border-radius: 24px;
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(212, 160, 23, 0.15), 0 0 0 1px rgba(212, 160, 23, 0.25);
}
.capsula-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(212, 160, 23, 0.30), transparent 60%),
    radial-gradient(40% 30% at 70% 100%, rgba(168, 85, 247, 0.20), transparent 70%);
}
.capsula-corner-1, .capsula-corner-2, .capsula-corner-3, .capsula-corner-4 {
  position: absolute;
  width: 30px; height: 30px;
  border: 1.5px solid var(--c-gold);
  opacity: 0.5;
}
.capsula-corner-1 { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.capsula-corner-2 { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.capsula-corner-3 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.capsula-corner-4 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.cap-eyebrow {
  position: relative;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.cap-seal {
  position: relative;
  margin: auto;
  width: 100px; height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(212, 160, 23, 0.30), rgba(212, 160, 23, 0.05) 70%);
  border: 1.5px solid rgba(212, 160, 23, 0.6);
  display: grid; place-items: center;
}
.cap-seal svg { width: 38px; height: 38px; color: var(--c-gold); }
.cap-countdown {
  position: relative;
  text-align: center;
  margin-top: 22px;
}
.cap-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f4c449, var(--c-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cap-num-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.cap-foot {
  position: relative;
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.55);
}
.cap-foot strong { color: #fff; font-weight: 600; }

/* Trainer card (modo entrenador) */
.trainer-card {
  width: min(100%, 480px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.trainer-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(99, 102, 241, 0.10), transparent 60%);
  pointer-events: none;
}
.trainer-head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.trainer-title { font-size: 14px; font-weight: 700; }
.trainer-sub { font-size: 11px; color: var(--fg-mute); margin-top: 2px; }
.trainer-pill {
  font-size: 11px; font-weight: 600;
  color: var(--c-indigo);
  background: rgba(99, 102, 241, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
}
.trainer-clients {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.client-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg-card-2);
}
.client-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.client-info { min-width: 0; }
.client-name { font-size: 13px; font-weight: 600; }
.client-meta { font-size: 11px; color: var(--fg-mute); margin-top: 2px; }
.client-state {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.client-state.ok { color: var(--c-green); background: rgba(34, 197, 94, 0.12); }
.client-state.warn { color: var(--c-orange); background: rgba(251, 146, 60, 0.14); }
.client-state.risk { color: var(--c-red); background: rgba(239, 68, 68, 0.14); }
.trainer-foot {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--fg-soft);
}
.trainer-foot strong { color: var(--c-indigo); font-weight: 700; }

/* Section title smaller variant */
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-indigo);
  margin: clamp(48px, 6vw, 80px) 0 14px;
}
.section-eyebrow + .section-title { margin-top: 0; }

@media (max-width: 980px) {
  .trust-strip { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .spotlight, .spotlight.reversed { grid-template-columns: 1fr; }
  .spotlight.reversed .sp-visual { order: 0; }
  .sp-visual { min-height: 260px; }
}
/* ===== Phone Mockup styles ===== */
.phones-wrap {
  position: relative;
  perspective: 1500px;
}
.phone {
  position: absolute;
  width: 260px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}
.phone-bezel {
  background: linear-gradient(160deg, #2a2a35 0%, #0c0c14 50%, #1a1a25 100%);
  border-radius: 38px;
  padding: 5px;
  position: relative;
  box-shadow:
    inset 0 0 0 1.5px #3a3a4a,
    inset 0 0 0 2.5px #0a0a12,
    inset 0 1px 2px rgba(255,255,255,0.08);
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #06060c;
  border-radius: 999px;
  z-index: 5;
}
.phone-screen {
  background: #0a0a18;
  border-radius: 33px;
  aspect-ratio: 9 / 19.5;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Status bar */
.screen-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.status-right {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 12px;
  position: relative;
}
.screen-header-logo { height: 22px; width: auto; }
.hdr-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

/* === Map phone === */
.phone-map { left: 6%; top: 4%; z-index: 2; transform: rotate(-3deg); }
.phone-map .phone-screen {
  background: linear-gradient(180deg, #0e1224 0%, #16182e 100%);
}
.map-area {
  flex: 1;
  position: relative;
  margin: 0 14px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 50%, rgba(110, 79, 252, 0.10), transparent 70%),
    linear-gradient(180deg, #131730 0%, #1a1d3a 100%);
  color: rgba(255,255,255,0.35);
}
.map-grid, .map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-grid line {
  stroke: currentColor;
  stroke-width: 0.5;
  opacity: 0.5;
}
.map-pin {
  position: absolute;
  width: 22px; height: 22px;
  margin-left: -11px; margin-top: -11px;
}
.pin-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(110, 79, 252, 0.25);
  display: grid;
  place-items: center;
  position: relative;
}
.pin-dot::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e4ffc, #b32bfa);
  box-shadow: 0 0 12px rgba(110, 79, 252, 0.8);
}
.pin-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a6ffc, #6e4ffc);
  display: grid;
  place-items: center;
  box-shadow: 0 0 14px rgba(110, 79, 252, 0.8);
}
.pin-arrow svg { width: 12px; height: 12px; }

/* === Workout content === */
.workout-meta {
  padding: 8px 18px 6px;
}
.workout-sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.workout-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.workout-progress {
  padding: 4px 18px 10px;
}
.wp-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.wp-time { color: rgba(255,255,255,0.85); font-weight: 600; }
.wp-bar { height: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.wp-fill {
  height: 100%;
  background: linear-gradient(90deg, #2a6ffc, #6e4ffc, #b32bfa);
  border-radius: 99px;
}
.exercise-list {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}
.exercise-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(20, 22, 44, 0.55);
  border: 1px solid rgba(255,255,255,0.05);
}
.exercise-card.active {
  border-color: rgba(110, 79, 252, 0.5);
  background: rgba(110, 79, 252, 0.10);
}
.exercise-card.done { opacity: 0.55; }
.ex-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.exercise-card.done .ex-check {
  background: linear-gradient(135deg, #2a6ffc, #6e4ffc);
  border-color: transparent;
}
.exercise-card.done .ex-check svg { width: 14px; height: 14px; }
.ex-active-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e4ffc, #b32bfa);
  box-shadow: 0 0 8px rgba(110, 79, 252, 0.8);
}
.ex-body { flex: 1; min-width: 0; }
.ex-name { font-size: 12px; font-weight: 600; color: #fff; }
.ex-meta { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 1px; }
.ex-count {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums;
}
.ex-done { color: #fff; font-weight: 700; }
.ex-slash { margin: 0 1px; opacity: 0.5; }
.workout-cta { margin: 10px 14px 14px; }

/* (legacy trip-card kept in case) */
.trip-card {
  margin: 12px 14px 14px;
  padding: 12px 14px 14px;
  border-radius: 18px;
  background: rgba(20, 22, 44, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
}
.trip-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(95deg, #2a6ffc, #6e4ffc 50%, #b32bfa);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(110, 79, 252, 0.45);
}
.trip-cta-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
}
.trip-cta-icon svg { width: 10px; height: 10px; }

/* === Stats phone === */
.phone-stats { right: 4%; top: 12%; z-index: 1; transform: rotate(4deg); }
.phone-stats .phone-screen {
  background: linear-gradient(180deg, #0e1224 0%, #16182e 100%);
}
.stats-header {
  justify-content: space-between;
  padding: 16px 22px 4px;
}
.stats-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.stats-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Fitness ID hero */
.fid-hero {
  margin: 8px 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110, 79, 252, 0.20), rgba(179, 43, 250, 0.10));
  border: 1px solid rgba(110, 79, 252, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}
.fid-avatar { position: relative; flex-shrink: 0; }
.fid-avatar svg { display: block; }
.fid-level {
  position: absolute;
  bottom: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a6ffc, #b32bfa);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #0e1224;
}
.fid-text { flex: 1; min-width: 0; }
.fid-rank { font-size: 15px; font-weight: 700; }
.fid-xp { font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.fid-xp-bar {
  margin-top: 6px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.fid-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #2a6ffc, #b32bfa);
}

/* Fitness ID stat row */
.fid-stats {
  padding: 12px 16px 6px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.fid-stat {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(20, 22, 44, 0.55);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.fid-stat-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fid-stat-value .unit { font-size: 11px; font-weight: 500; opacity: 0.7; margin-left: 1px; }
.fid-stat-label { font-size: 9px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Fitness ID chart */
.fid-chart {
  padding: 10px 16px 14px;
  margin-top: auto;
}
.fid-chart-label { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  height: 80px;
}
.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.bar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #b32bfa 0%, #6e4ffc 50%, #2a6ffc 100%);
  min-height: 4px;
}
.bar-label { font-size: 9px; color: rgba(255,255,255,0.45); }

/* legacy stats card kept (unused now) */
.stats-cards {
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 22, 44, 0.7);
  border: 1px solid rgba(110, 79, 252, 0.18);
}
.stat-label { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.stat-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stat-value .unit { font-size: 13px; font-weight: 500; opacity: 0.7; margin-left: 2px; }
.stats-chart {
  padding: 10px 14px 14px;
  margin-top: auto;
  color: #fff;
}
.stats-chart svg { width: 100%; height: auto; display: block; }

/* Light mode: phones stay dark (real device look) — that's intentional in references */
/* But add a subtle outer ring for separation */
[data-theme="light"] .phone { filter: drop-shadow(0 24px 36px rgba(15, 20, 60, 0.18)); }

/* Responsive */
@media (max-width: 980px) {
  .phone { width: 220px; }
  .phone-map { left: 6%; top: 0; }
  .phone-stats { right: 6%; top: 8%; }
}
@media (max-width: 560px) {
  .phone { width: 180px; }
}
/* ============================================================
   ANIMATIONS — Ryvo Landing
   Premium, subtle, spring-feel. Respects prefers-reduced-motion.
   ============================================================ */

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ---------- Hero text staggered entrance ---------- */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-pill   { animation: hero-fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-line-1 { animation: hero-fade-up 800ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-line-2 { animation: hero-fade-up 800ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-line-3 { animation: hero-fade-up 800ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-lead   { animation: hero-fade-up 700ms 380ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-ctas   { animation: hero-fade-up 700ms 480ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-stores { animation: hero-fade-up 700ms 560ms cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ---------- Phones float in + idle floating ---------- */
@keyframes phone-in-left {
  from { opacity: 0; transform: rotate(-3deg) translate(-30px, 30px); }
  to   { opacity: 1; transform: rotate(-3deg) translate(0, 0); }
}
@keyframes phone-in-right {
  from { opacity: 0; transform: rotate(4deg) translate(30px, 30px); }
  to   { opacity: 1; transform: rotate(4deg) translate(0, 0); }
}
@keyframes phone-float-left {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes phone-float-right {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-10px); }
}
.phone-map {
  animation:
    phone-in-left 900ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both,
    phone-float-left 6s 1100ms ease-in-out infinite;
}
.phone-stats {
  animation:
    phone-in-right 900ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both,
    phone-float-right 7s 1220ms ease-in-out infinite;
}

/* ---------- Hero waves shimmer ---------- */
@keyframes wave-drift {
  0%   { opacity: var(--wave-opacity); transform: translateX(0); }
  50%  { opacity: calc(var(--wave-opacity) * 0.85); transform: translateX(-10px); }
  100% { opacity: var(--wave-opacity); transform: translateX(0); }
}
.hero-waves {
  animation: wave-drift 8s ease-in-out infinite;
}

/* ---------- Pill gentle glow ---------- */
@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 79, 252, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(110, 79, 252, 0.10); }
}
.pill { animation: pill-glow 4s ease-in-out infinite; }

/* ---------- Primary button shimmer on hover ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* ---------- Feature card subtle lift ---------- */
.feature {
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 260ms ease,
              box-shadow 260ms ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 26px 50px rgba(0,0,0,0.35);
}
.feature .feature-icon {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* ---------- Pacto bar fill (animated in-view) ---------- */
.pacto-bar-fill {
  width: 0 !important;
  transition: width 1200ms 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible .pacto-bar-fill[data-progress="100"] { width: 100% !important; }
.is-visible .pacto-bar-fill[data-progress="50"]  { width: 50%  !important; }
.is-visible .pacto-bar-fill[data-progress="75"]  { width: 75%  !important; }

/* ---------- Cápsula breathing ---------- */
@keyframes capsule-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.0); }
  50%      { transform: scale(1.04); box-shadow: 0 0 32px 4px rgba(212, 160, 23, 0.25); }
}
.cap-seal { animation: capsule-breathe 3.5s ease-in-out infinite; }

/* ---------- CTA mark pulse ---------- */
@keyframes mark-pulse {
  0%, 100% { transform: translateY(0) rotate(0); filter: drop-shadow(0 0 0 rgba(122, 88, 252, 0)); }
  50%      { transform: translateY(-6px) rotate(-1deg); filter: drop-shadow(0 20px 28px rgba(122, 88, 252, 0.35)); }
}
.cta-mark img { animation: mark-pulse 5s ease-in-out infinite; }

/* ---------- Trust counter brand-pop on visibility ---------- */
@keyframes counter-pop {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.trust-strip.is-visible .trust-num {
  animation: counter-pop 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.trust-strip.is-visible .trust-item:nth-child(2) .trust-num { animation-delay: 120ms; }
.trust-strip.is-visible .trust-item:nth-child(3) .trust-num { animation-delay: 240ms; }

/* ---------- Sticky CTA bar (slides in on scroll) ---------- */
.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 20px 50px rgba(15, 20, 60, 0.18);
  font-size: 14px;
  font-weight: 600;
  z-index: 80;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-bar.is-shown {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-bar .sb-text { color: var(--fg); }
.sticky-bar .sb-mute { color: var(--fg-mute); font-weight: 500; }
.sticky-bar .btn {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 999px;
}
[data-theme="dark"] .sticky-bar {
  background: rgba(20, 22, 44, 0.92);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.10);
}

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--fg);
}
.menu-toggle span {
  width: 16px; height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 240ms ease, opacity 200ms ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(2.8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-2.8px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 90px 32px 32px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
}

/* ---------- "Cómo funciona" — 3 steps ---------- */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.how-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-magenta));
  opacity: 0.7;
}
.how-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.how-num span {
  color: var(--brand-violet);
  font-size: 30px;
  letter-spacing: -0.02em;
  vertical-align: middle;
  margin-right: 8px;
  font-weight: 600;
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.how-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0;
}

/* ---------- Specs strip ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 0;
  margin-bottom: clamp(40px, 6vw, 80px);
  box-shadow: var(--shadow-card);
}
.spec {
  text-align: center;
  padding: 8px 14px;
  border-right: 1px solid var(--border);
}
.spec:last-child { border-right: 0; }
.spec-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.spec-label {
  font-size: 12px;
  line-height: 1.35;
  color: var(--fg-soft);
}

/* ---------- Streak mini-card ---------- */
.streak-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(95deg, rgba(251, 146, 60, 0.10), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(251, 146, 60, 0.20);
  border-radius: 22px;
  margin-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.streak-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 100% 50%, rgba(251, 146, 60, 0.18), transparent 60%);
  pointer-events: none;
}
[data-theme="dark"] .streak-card {
  background: linear-gradient(95deg, rgba(251, 146, 60, 0.10), rgba(168, 85, 247, 0.06));
}
.streak-flame {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(251, 146, 60, 0.30), rgba(239, 68, 68, 0.15));
  border: 1px solid rgba(251, 146, 60, 0.35);
  display: grid;
  place-items: center;
}
.streak-flame svg { width: 32px; height: 32px; color: var(--c-orange); }
.streak-text { position: relative; }
.streak-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 4px;
}
.streak-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.streak-desc {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.5;
}
.streak-bonus {
  position: relative;
  display: flex;
  gap: 10px;
}
.streak-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  min-width: 64px;
}
.streak-pill-days {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.streak-pill-bonus {
  font-size: 11px;
  color: var(--c-orange);
  font-weight: 600;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.is-open { border-color: var(--brand-violet); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-card-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 240ms ease, background 200ms ease;
}
.faq-q-icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-q-icon {
  transform: rotate(45deg);
  background: var(--brand-violet);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a-inner {
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .how { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); padding: 12px 0; }
  .spec { padding: 12px; border-right: 0; border-bottom: 1px solid var(--border); }
  .spec:nth-last-child(-n+2) { border-bottom: 0; }
  .streak-card { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .streak-flame { margin: 0 auto; }
  .streak-bonus { justify-content: center; flex-wrap: wrap; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone-map, .phone-stats { transform: rotate(-3deg); animation: none; }
  .phone-stats { transform: rotate(4deg); }
}

/* ---------- Smooth scroll ---------- */
html { scroll-behavior: smooth; }
