/* ═══════════════════════════════════════════════════
   CORENUTRITION — Premium Coaching
   Archetype: Editorial Dark Warm
   v=20260612
═══════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─── */
:root {
  --bg:         #0a0a08;
  --bg2:        #111110;
  --bg3:        #181816;
  --navy:       #0b1020;
  --text:       #f2ede4;
  --mute:       rgba(242,237,228,0.62);
  --soft:       rgba(242,237,228,0.38);
  --gold:       #c9a220;
  --gold-60:    rgba(201,162,32,0.70);
  --gold-30:    rgba(201,162,32,0.35);
  --gold-10:    rgba(201,162,32,0.12);
  --line:       rgba(201,162,32,0.22);
  --line-dim:   rgba(201,162,32,0.10);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE ─── */
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-30); }

/* ─── OFFER BAR ─── */
.offer-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 0.5px solid var(--line);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem;
}

.offer-text {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  color: rgba(242,237,228,0.80);
  white-space: nowrap;
}

.offer-timer {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.offer-digit {
  background: var(--gold-10);
  border: 0.5px solid var(--gold-30);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.9rem;
  padding: 0.05rem 0.4rem;
  min-width: 1.8rem;
  text-align: center;
  line-height: 1.5;
}

.offer-sep {
  color: var(--gold-30);
  font-weight: 700;
  font-size: 0.8rem;
}

.offer-cta {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.25rem 0.8rem;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s;
}

.offer-cta:hover { opacity: 0.85; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  height: 58px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(10,10,8,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid var(--line-dim);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img,
.nav-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-logo-text em { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-back {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--soft);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--text); }

.nav-cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 98px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0f1528 0%, #0a0a08 45%, #12100a 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 75% at 70% 50%, rgba(201,162,32,0.12) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(201,162,32,0.015) 3px, rgba(201,162,32,0.015) 4px
  );
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,16,32,0.88) 0%,
    rgba(10,10,8,0.68) 100%
  );
  z-index: 2;
}

.hero-grad-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-accent-line {
  position: absolute;
  top: 0; right: 15%;
  width: 0.5px;
  height: 55%;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  opacity: 0.2;
  z-index: 3;
  pointer-events: none;
}

.hero-wm {
  position: absolute;
  right: -40px;
  bottom: -20px;
  font-family: var(--serif);
  font-size: clamp(160px, 20vw, 300px);
  font-weight: 300;
  color: rgba(201,162,32,0.03);
  letter-spacing: -10px;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 820px;
  padding: 0 5vw 6vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-10);
  border: 0.5px solid var(--gold-30);
  padding: 7px 18px;
  margin-bottom: 2.5rem;
}

.hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: var(--sans);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 0.92;
  color: var(--text);
  letter-spacing: -2px;
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-h1 em {
  color: var(--gold);
  font-style: italic;
}

/* Saltos de línea responsive */
.br-mobile { display: none; }
.br-desktop { display: inline; }

.hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--mute);
  max-width: 480px;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.55s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

.btn-primary {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.85rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover { opacity: 0.88; }

.btn-ghost {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  border-bottom: 0.5px solid rgba(242,237,228,0.25);
  padding-bottom: 2px;
  transition: color 0.2s;
  background: none;
}

.btn-ghost:hover { color: var(--text); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero-scroll-hint span {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--soft);
  text-transform: uppercase;
}

.scroll-line {
  width: 0.5px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-30), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); transform-origin: top; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── PROOF/VIDEO SECTION ─── */
.proof-sec {
  background: var(--bg);
  padding: 80px 5vw;
  text-align: center;
}

.proof-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.proof-label::before,
.proof-label::after {
  content: '';
  width: 40px;
  height: 0.5px;
  background: var(--gold-30);
}

.video-frame {
  position: relative;
  max-width: 680px;
  margin: 0 auto 3rem;
  background: #1a1a18;
  border: 0.5px solid var(--line);
  cursor: pointer;
  overflow: hidden;
}

.video-frame video,
.video-frame .video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  background: linear-gradient(135deg, #111110 0%, #0f1528 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(201,162,32,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}

.video-play-btn::after {
  content: '';
  border-left: 20px solid var(--bg);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 5px;
}

.video-frame:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--soft);
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.proof-cta-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ─── STATS ─── */
.stats-sec {
  background: var(--bg2);
  border-top: 0.5px solid var(--line-dim);
  border-bottom: 0.5px solid var(--line-dim);
  padding: 60px 5vw;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem 3rem;
  border-right: 0.5px solid var(--line-dim);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stat-value span { color: var(--gold); }

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ─── SECTION SHELL ─── */
.sec {
  padding: 100px 5vw;
  border-bottom: 0.5px solid var(--line-dim);
}

.sec-dark {
  background: var(--bg2);
  padding: 100px 5vw;
  border-bottom: 0.5px solid var(--line-dim);
}

.sec-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sec-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 0.5px;
  background: var(--gold-30);
}

.sec-h {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.sec-h em { color: var(--gold); font-style: italic; }

.sec-sub {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mute);
  max-width: 480px;
  margin-bottom: 3.5rem;
}

/* ─── PROGRAMS ─── */
.programs-sec {
  background: var(--bg);
  padding: 100px 5vw;
  border-bottom: 0.5px solid var(--line-dim);
}

.programs-header {
  text-align: center;
  margin-bottom: 4rem;
}

.programs-header .sec-label {
  justify-content: center;
}

.programs-header .sec-label::after { display: none; }

.programs-header .sec-h {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  letter-spacing: -2px;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: var(--line-dim);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.prog-card {
  background: var(--navy);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  transition: background 0.3s;
  border: 0.5px solid transparent;
}

.prog-card:hover { background: #0f1830; }

.prog-card--featured {
  background: linear-gradient(160deg, #1a1200, rgba(201,162,32,0.28) 60%, #13110a);
  border-top: 2px solid var(--gold);
  z-index: 2;
}

.prog-card--featured:hover {
  background: linear-gradient(160deg, #1e1400, rgba(201,162,32,0.35) 60%, #161200);
}

.prog-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 1rem;
  white-space: nowrap;
}

.prog-plan {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.prog-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.prog-line {
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.5;
  margin: 1rem 0 1.25rem;
}

.prog-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold-60);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.prog-desc {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--mute);
  margin-bottom: 1.75rem;
}

.prog-what {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-60);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.prog-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.prog-list li {
  font-size: 0.78rem;
  color: rgba(242,237,228,0.65);
  line-height: 2;
  padding-left: 1.2rem;
  position: relative;
}

.prog-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.prog-card--featured .prog-list li { color: rgba(242,237,228,0.75); }

.prog-cta {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  transition: opacity 0.2s;
  font-weight: 500;
}

.prog-cta--ghost {
  color: var(--text);
  border: 0.5px solid rgba(242,237,228,0.25);
}

.prog-cta--ghost:hover {
  background: rgba(242,237,228,0.05);
}

.prog-cta--primary {
  background: var(--gold);
  color: var(--bg);
}

/* ─── PRICING CARDS (new layout) ─── */
.programs-grid--pricing {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 1px;
  background: var(--line-dim);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.prog-card--pricing {
  background: var(--bg2);
  padding: 3rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
  border: 1px solid rgba(242,237,228,0.15);
}

.prog-card--pricing:hover { background: #131311; }

.prog-card--pricing-feat {
  background: #080806;
  padding-top: 4.5rem;
  border: 1px solid rgba(242,237,228,0.55);
}

.prog-card--pricing-feat:hover { background: #0c0c08; }

.prog-badge-elite {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  white-space: nowrap;
}

.prog-plan-num {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--soft);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.prog-plan-num--gold { color: var(--gold); }

.prog-name-pricing {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.prog-duration-txt {
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.prog-pricing-block { margin-bottom: 1.5rem; }

.prog-price-orig {
  font-size: 0.8rem;
  color: var(--soft);
  text-decoration: line-through;
  margin-bottom: 0.35rem;
}

.prog-price-main {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prog-price-sym {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  margin-right: 0.15rem;
  align-self: flex-start;
  padding-top: 0.6rem;
}

.prog-price-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}

.prog-price-num--lg {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.prog-price-per {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mute);
  margin-left: 0.3rem;
  align-self: flex-end;
  padding-bottom: 0.35rem;
}

.prog-price-once {
  font-size: 0.72rem;
  color: var(--mute);
}

.prog-savings-txt {
  color: #22c55e;
  font-weight: 600;
}

.prog-hr {
  border: none;
  border-top: 0.5px solid var(--line-dim);
  margin: 1.5rem 0;
}

.prog-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.feat-yes,
.feat-no {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.feat-yes { color: var(--text); }

.feat-no {
  color: var(--soft);
  text-decoration: line-through;
  text-decoration-color: rgba(242,237,228,0.2);
}

.feat-check {
  color: var(--gold);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.feat-cross {
  color: rgba(220,38,38,0.55);
  font-size: 0.72rem;
  flex-shrink: 0;
  text-decoration: none;
}

.prog-cta-pricing {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid;
  margin-top: auto;
}

.prog-cta-pricing--ghost {
  color: var(--text);
  border-color: rgba(242,237,228,0.55);
  background: transparent;
}

.prog-cta-pricing--ghost:hover {
  background: rgba(242,237,228,0.06);
  border-color: rgba(242,237,228,0.85);
  color: var(--text);
}

.prog-cta-pricing--primary {
  color: var(--text);
  border-color: rgba(242,237,228,0.55);
  background: transparent;
}

.prog-cta-pricing--primary:hover {
  background: rgba(242,237,228,0.06);
  border-color: rgba(242,237,228,0.85);
}

.prog-cta--primary:hover { opacity: 0.88; }

/* ─── PHILOSOPHY ─── */
.philosophy-sec {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.philosophy-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,162,32,0.06) 0%, transparent 65%);
}

.philosophy-inner {
  position: relative;
  z-index: 2;
  padding: 100px 5vw;
  max-width: 860px;
}

.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 2.5rem;
}

.philosophy-quote em {
  color: var(--gold);
  font-style: italic;
}

.philosophy-body {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--mute);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.philosophy-blockquote {
  border-left: 2px solid var(--gold-30);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  max-width: 540px;
}

.philosophy-blockquote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(242,237,228,0.75);
  line-height: 1.65;
}

.philosophy-blockquote cite {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.75rem;
  font-style: normal;
}

/* ─── FOUNDER ─── */
.founder-sec {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--line-dim);
}

.founder-sec::before {
  content: 'CORE';
  position: absolute;
  right: -60px;
  bottom: -40px;
  font-family: var(--serif);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 300;
  color: rgba(201,162,32,0.025);
  letter-spacing: -8px;
  pointer-events: none;
  line-height: 1;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.founder-photo-col {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.founder-photo-col img.founder-main-img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
}

.founder-photo-col:hover img.founder-main-img {
  transform: scale(1.04);
}

.hola-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 150px;
  background: #e8111a;
  box-shadow: 0 12px 48px rgba(0,0,0,0.7);
  z-index: 10;
}

.hola-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 10px;
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
}

.hola-header::before { content: '≡'; font-size: 0.85rem; }

.hola-badge-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hola-caption {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-align: center;
  padding: 6px;
  background: #c40d14;
  text-transform: uppercase;
}

.founder-text-col {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.founder-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.founder-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 2rem;
}

.fn-white { color: #fff; display: block; }
.fn-gold { color: var(--gold); display: block; font-style: italic; }

.founder-bio {
  font-size: 0.84rem;
  color: var(--mute);
  line-height: 1.85;
  margin-bottom: 1rem;
  max-width: 440px;
}

.founder-bio a { color: var(--gold); }
.founder-bio strong { color: var(--text); }

.founder-creds {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.founder-creds li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--mute);
}

.founder-creds li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ─── METHOD ─── */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5px;
  background: var(--line-dim);
  margin-top: 3rem;
}

.method-item {
  background: var(--bg2);
  padding: 40px 36px;
  display: flex;
  gap: 1.5rem;
  transition: background 0.25s;
}

.method-item:hover { background: var(--bg3); }

.method-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-30);
  line-height: 1;
  min-width: 3rem;
  flex-shrink: 0;
}

.method-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.method-desc {
  font-size: 0.82rem;
  color: var(--mute);
  line-height: 1.75;
}

/* ─── RESULTS MARQUEE ─── */
.results-sec {
  background: var(--bg);
  padding: 100px 0 60px;
  overflow: hidden;
}

.results-header {
  text-align: center;
  padding: 0 5vw 4rem;
}

.results-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--text);
}

.results-title em {
  color: var(--gold);
  font-style: italic;
  display: block;
}

.results-sub {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 1rem;
}

.marquee-outer {
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}

.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-outer::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.marquee-outer::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.marquee-track.row1 { animation: marqueeLeft 35s linear infinite; }
.marquee-track.row2 { animation: marqueeRight 38s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-img {
  width: 220px;
  height: 290px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
  border: 0.5px solid var(--line-dim);
  filter: grayscale(0.2);
  transition: filter 0.3s;
}

.marquee-img:hover { filter: none; }

.results-cta {
  text-align: center;
  padding: 3rem 5vw 0;
}

/* ─── TESTIMONIALS ─── */
.testi-sec {
  background: var(--bg);
  padding: 100px 5vw;
  border-top: 0.5px solid var(--line-dim);
}

.testi-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testi-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--text);
}

.testi-title em { color: var(--gold); font-style: italic; display: block; }

.tv-grid-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.tv-grid-2 {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.tv-grid-2 .tv-wrap { flex: 1; max-width: 200px; }

.tv-wrap {
  position: relative;
  background: #1a1a18;
  overflow: hidden;
  border: 0.5px solid var(--line-dim);
  cursor: pointer;
}

.tv-wrap video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.tv-wrap.tv-landscape video { aspect-ratio: 16/9; }
.tv-wrap:hover video { transform: scale(1.04); }

.tv-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  font-size: 0.72rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,162,32,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.tv-wrap:hover .tv-play { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }

.tv-play::after {
  content: '';
  border-left: 18px solid var(--bg);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}

/* ─── GUARANTEE ─── */
.guarantee-sec {
  background: var(--bg);
  padding: 80px 5vw;
}

.guarantee-box {
  max-width: 600px;
  margin: 0 auto;
  border: 0.5px solid var(--line);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  background: var(--bg2);
}

/* Corner brackets */
.guarantee-box::before,
.guarantee-box::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold-30);
  border-style: solid;
}

.guarantee-box::before {
  top: -1px; left: -1px;
  border-width: 1.5px 0 0 1.5px;
}

.guarantee-box::after {
  bottom: -1px; right: -1px;
  border-width: 0 1.5px 1.5px 0;
}

.guarantee-icon {
  width: 52px;
  height: 52px;
  border: 0.5px solid var(--gold-30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.guarantee-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.guarantee-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.guarantee-text {
  font-size: 0.84rem;
  color: var(--mute);
  line-height: 1.8;
}

.guarantee-text strong { color: var(--text); }

/* ─── FAQ ─── */
.faq-sec {
  background: #f4f0e8;
  padding: 100px 5vw;
  border-top: 0.5px solid rgba(0,0,0,0.08);
}

.faq-sec .sec-label { color: #6b6560; }
.faq-sec .sec-label::after { background: rgba(0,0,0,0.15); }

.faq-sec .sec-h { color: #0d0d0b; }
.faq-sec .sec-h em { color: #8b6a20; }

.faq-sec .sec-sub { color: #6b6560; }

.faq-list {
  max-width: 680px;
  margin-top: 0;
}

.faq-item {
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: #0d0d0b;
  transition: color 0.2s;
}

.faq-q:hover { color: #8b6a20; }

.faq-icon {
  width: 22px;
  height: 22px;
  border: 0.5px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: #6b6560;
  transition: transform 0.3s, background 0.3s;
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: #8b6a20;
  border-color: #8b6a20;
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-a-inner {
  font-size: 0.84rem;
  color: #6b6560;
  line-height: 1.85;
  padding-bottom: 1.5rem;
}

/* ─── FINAL CTA ─── */
.final-cta {
  position: relative;
  background: var(--navy);
  padding: 120px 5vw;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 0.5px solid rgba(201,162,32,0.05);
  pointer-events: none;
}

.final-cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px; height: 1000px;
  border-radius: 50%;
  border: 0.5px solid rgba(201,162,32,0.03);
  pointer-events: none;
}

.final-cta-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 auto 2.5rem;
  opacity: 0.4;
}

.final-cta-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--gold-60);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.final-cta-h {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.final-cta-h em { color: var(--gold); font-style: italic; }

.final-cta-sub {
  font-size: 0.88rem;
  color: var(--soft);
  max-width: 440px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.final-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text);
  background: rgba(201,162,32,0.12);
  border: 0.5px solid var(--gold-30);
  padding: 0.5rem 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.final-scarcity::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.45rem;
  animation: pulseDot 2s infinite;
}

.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.final-reassurance {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--soft);
  margin-top: 0.75rem;
}

/* ─── BANNER ─── */
.banner {
  background: var(--gold);
  padding: 16px 5vw;
  text-align: center;
}

.banner p {
  font-family: var(--serif);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--bg);
  font-style: italic;
}

.banner p strong { font-style: normal; font-weight: 600; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 0.5px solid var(--line-dim);
  padding: 48px 5vw;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--mute);
  text-transform: uppercase;
}

.footer-brand em { color: var(--gold); font-style: italic; }

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--soft);
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text); }

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-back {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--soft);
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-back:hover { color: var(--text); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* CRITICAL: split-text elements must not start invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,8,0.98);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: 1fr; }
  .programs-grid--pricing { grid-template-columns: 1fr; }
  .prog-card--featured { border-top: 2px solid var(--gold); }
  .prog-badge { position: static; transform: none; display: inline-block; margin-bottom: 0.5rem; }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo-col { min-height: 380px; }
  .founder-text-col { padding: 56px 5vw; }
  .founder-name { font-size: 4rem; }
  .method-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: row; flex-wrap: wrap; }
  .stat-item { flex: 1 1 30%; }
}

@media (max-width: 768px) {
  .offer-bar .offer-text .hide-mobile { display: none; }
  .offer-bar { gap: 0.5rem; padding: 0 0.75rem; }
  .offer-digit { font-size: 0.72rem; min-width: 1.4rem; padding: 0.04rem 0.25rem; }

  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-back { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .br-mobile { display: inline; }
  .br-desktop { display: none; }

  .hero { padding-top: 110px; }
  .hero-content { padding: 0 6vw 8vh; }
  .hero-badge { margin-bottom: 2rem; }
  .hero-h1 { font-size: clamp(2.7rem, 11vw, 4.5rem); letter-spacing: -1px; margin-bottom: 1.6rem; }
  .hero-sub { font-size: 0.95rem; line-height: 1.9; margin-bottom: 2.6rem; }

  .sec { padding: 92px 6vw; }
  .sec-dark { padding: 92px 6vw; }
  .sec-h { margin-bottom: 1.2rem; }
  .sec-sub { margin-bottom: 2.4rem; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer-right { justify-content: center; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }

  .guarantee-box { padding: 40px 24px; }

  .tv-grid-1 { grid-template-columns: 1fr; }
  .tv-grid-2 { flex-wrap: wrap; }
  .tv-grid-2 .tv-wrap { max-width: none; flex: 0 0 calc(50% - 5px); }

  .proof-sec { padding: 84px 6vw; }
  .results-sec { padding: 90px 0 56px; }
  .marquee-img { width: 160px; height: 210px; }

  .philosophy-inner { padding: 96px 6vw; }
  .philosophy-quote { font-size: clamp(2rem, 7vw, 3rem); }

  .final-cta { padding: 100px 6vw; }
  .final-cta-h { font-size: clamp(2.4rem, 8vw, 4rem); }

  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 0.5px solid var(--line-dim); padding: 1.5rem 2rem; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2.75rem; letter-spacing: -0.5px; line-height: 1; }
  .offer-bar { height: 38px; }
  nav { top: 38px; }
  .hero { padding-top: 104px; }
  .offer-cta { font-size: 0.52rem; padding: 0.2rem 0.6rem; }
  .faq-sec { padding: 88px 6vw; }
  .testi-sec { padding: 88px 6vw; }
  .hola-badge { width: 120px; }
}

@media (max-width: 360px) {
  .hero-h1 { font-size: 2.4rem; }
}

/* ─── HERO: ocultar elementos de video eliminados ─── */
.hero-video-bg, .hero-overlay { display: none; }

/* ─── GUARANTEE ICON: más grande ─── */
.guarantee-icon {
  width: 80px;
  height: 80px;
}
.guarantee-icon svg { width: 40px; height: 40px; stroke-width: 1.2; }

/* ─── FINAL CTA LOGO TEXT ─── */
.final-cta-logo-text {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  color: rgba(242,237,228,0.25);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}
.final-cta-logo-text em { color: var(--gold-60); font-style: italic; }

/* ─── SCARCITY BAR ─── */
.scarcity-bar {
  padding: 11px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  transition: background 0.8s ease, border-color 0.8s ease;
  /* Default: 5 cupos — verde */
  background: rgba(21,128,61,0.08);
  border-bottom: 0.5px solid rgba(21,128,61,0.30);
}

.scarcity-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 1.5s ease-in-out infinite;
  transition: background 0.8s ease;
  background: #16a34a;
}

.scarcity-text {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.8s ease;
  color: #15803d;
}

.scarcity-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.8s ease;
  color: #14532d;
}

.scarcity-cta {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.8s ease, opacity 0.2s;
  color: #15803d;
}
.scarcity-cta:hover { opacity: 0.75; }

/* 4 cupos — lima/amarillo-verde */
.scarcity-bar[data-cupos="4"] {
  background: rgba(101,163,13,0.09);
  border-bottom-color: rgba(101,163,13,0.32);
}
.scarcity-bar[data-cupos="4"] .scarcity-pulse  { background: #84cc16; }
.scarcity-bar[data-cupos="4"] .scarcity-text   { color: #4d7c0f; }
.scarcity-bar[data-cupos="4"] .scarcity-text strong { color: #3f6212; }
.scarcity-bar[data-cupos="4"] .scarcity-cta    { color: #4d7c0f; }

/* 3 cupos — ámbar */
.scarcity-bar[data-cupos="3"] {
  background: rgba(217,119,6,0.09);
  border-bottom-color: rgba(217,119,6,0.32);
  animation: amberPulse 3s ease-in-out infinite;
}
.scarcity-bar[data-cupos="3"] .scarcity-pulse  { background: #f59e0b; }
.scarcity-bar[data-cupos="3"] .scarcity-text   { color: #b45309; }
.scarcity-bar[data-cupos="3"] .scarcity-text strong { color: #92400e; }
.scarcity-bar[data-cupos="3"] .scarcity-cta    { color: #b45309; }

/* 2 cupos — naranja */
.scarcity-bar[data-cupos="2"] {
  background: rgba(234,88,12,0.09);
  border-bottom-color: rgba(234,88,12,0.35);
  animation: orangePulse 2.5s ease-in-out infinite;
}
.scarcity-bar[data-cupos="2"] .scarcity-pulse  { background: #f97316; }
.scarcity-bar[data-cupos="2"] .scarcity-text   { color: #c2410c; }
.scarcity-bar[data-cupos="2"] .scarcity-text strong { color: #9a3412; }
.scarcity-bar[data-cupos="2"] .scarcity-cta    { color: #c2410c; }

/* 1 cupo — rojo urgente */
.scarcity-bar[data-cupos="1"] {
  background: rgba(220,38,38,0.10);
  border-bottom-color: rgba(220,38,38,0.35);
  animation: urgentPulse 2s ease-in-out infinite;
}
.scarcity-bar[data-cupos="1"] .scarcity-pulse  { background: #dc2626; }
.scarcity-bar[data-cupos="1"] .scarcity-text   { color: #b91c1c; }
.scarcity-bar[data-cupos="1"] .scarcity-text strong { color: #991b1b; }
.scarcity-bar[data-cupos="1"] .scarcity-cta    { color: #b91c1c; }

@keyframes amberPulse {
  0%, 100% { background: rgba(217,119,6,0.09); }
  50%       { background: rgba(217,119,6,0.15); }
}
@keyframes orangePulse {
  0%, 100% { background: rgba(234,88,12,0.09); }
  50%       { background: rgba(234,88,12,0.16); }
}
@keyframes urgentPulse {
  0%, 100% { background: rgba(220,38,38,0.10); }
  50%       { background: rgba(220,38,38,0.17); }
}

/* ─── RESULTS BANNER — photo wall + overlay + centro ─── */
.results-banner {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* 4 filas de fotos cubriendo el fondo */
.rb-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
}

.rb-track {
  display: flex;
  gap: 4px;
  width: max-content;
  flex: 1;
  min-height: 0;
}

.rb-track--left  { animation: marqueeLeft  30s linear infinite; }
.rb-track--right { animation: marqueeRight 34s linear infinite; }

.rb-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) brightness(0.65);
  display: block;
  flex-shrink: 0;
}

/* Overlay: fade elegante en bordes superior e inferior */
.rb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
  pointer-events: none;
}

/* Texto central — z-index sobre el fondo */
.rb-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 5vw;
  max-width: 900px;
}

.rb-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.rb-line {
  width: 40px;
  height: 0.5px;
  background: var(--gold-30);
  display: block;
  flex-shrink: 0;
}

.rb-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 3rem;
  text-shadow: 0 2px 32px rgba(0,0,0,0.85), 0 0 60px rgba(0,0,0,0.6);
}

.rb-title em {
  color: var(--gold);
  font-style: italic;
  display: block;
}

/* ─── CALCULATOR ─── */
.calc-sec {
  background: #f4f0e8;
  padding: 100px 5vw;
}

.calc-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 4rem;
}

.calc-sec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: #8a8278;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.calc-sec-line {
  width: 40px;
  height: 0.5px;
  background: rgba(0,0,0,0.15);
  display: block;
}

.calc-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -2px;
  color: #0d0d0b;
  margin-bottom: 1rem;
}

.calc-title em {
  color: #8b6a20;
  font-style: italic;
}

.calc-sub {
  font-size: 0.88rem;
  color: #6b6560;
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  margin-bottom: 3rem;
  background: #ede9e0;
  padding: 3rem;
}

.calc-field-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #8a8278;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.calc-field-value {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: #0d0d0b;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(0,0,0,0.18);
  outline: none;
  margin: 0.5rem 0 0;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0d0d0b;
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0d0d0b;
  cursor: pointer;
  border: none;
}

.calc-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #a09890;
  margin-top: 0.3rem;
}

.calc-toggle-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.calc-toggle {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  color: #6b6560;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.calc-toggle.active {
  background: #0d0d0b;
  color: #f4f0e8;
  border-color: #0d0d0b;
}

.calc-toggle:hover:not(.active) {
  border-color: #0d0d0b;
  color: #0d0d0b;
}

/* Calculator output */
.calc-output {
  background: var(--navy);
  padding: 60px 48px;
  text-align: center;
  border: 0.5px solid var(--line);
}

.calc-out-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold-60);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.calc-weeks-box {
  background: var(--bg3);
  padding: 2rem;
  margin-bottom: 1rem;
}

.calc-weeks-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  transition: all 0.4s var(--ease-out);
}

.calc-weeks-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.calc-macros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dim);
  margin-bottom: 2.5rem;
}

.calc-macro {
  background: var(--bg3);
  padding: 1.5rem 1rem;
}

.calc-macro-val {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  transition: all 0.35s var(--ease-out);
}

.calc-macro-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.calc-motivation {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--mute);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.calc-motivation strong { color: var(--gold); }

.calc-plan-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text);
  border: 0.5px solid rgba(242,237,228,0.25);
  padding: 0.8rem 1.8rem;
  text-transform: uppercase;
  transition: background 0.2s;
  text-decoration: none;
}

.calc-plan-btn:hover { background: rgba(242,237,228,0.05); }

.calc-disclaimer {
  font-size: 0.65rem;
  color: var(--soft);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ─── WHATSAPP FAB ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 400;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ─── SOCIAL PROOF TOAST ─── */
.proof-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 500;
  background: rgba(10,10,8,0.96);
  border: 0.5px solid var(--line);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 290px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: all;
}

.proof-toast.is-visible {
  opacity: 1;
  transform: none;
}

.pt-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-10);
  border: 0.5px solid var(--gold-30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.pt-text {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}

.pt-text strong { font-weight: 600; }
.pt-text span { color: var(--mute); font-size: 0.64rem; display: block; }

.pt-close {
  background: none;
  border: none;
  color: var(--soft);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
  transition: color 0.2s;
}
.pt-close:hover { color: var(--text); }

/* ─── RESPONSIVE NUEVOS ─── */
@media (max-width: 1024px) {
  .calc-form { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rb-title { font-size: clamp(2.8rem, 10vw, 5rem); letter-spacing: -1px; }
  .rb-track img { min-height: 25vw; }
  .rb-center { padding: 4rem 5vw; }
  .calc-sec { padding: 70px 5vw; }
  .calc-form { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .calc-output { padding: 40px 24px; }
  .calc-macros { grid-template-columns: repeat(2, 1fr); }
  .scarcity-bar { gap: 0.5rem; }
  .proof-toast { left: 1rem; bottom: 1rem; max-width: 260px; }
}

@media (max-width: 480px) {
  .calc-form { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
  .calc-macros { grid-template-columns: repeat(2, 1fr); }
  .rb-track img { min-height: 22vw; }
  .scarcity-cta { display: none; }
}
