/* ===========================================================
   VARIABLES DE MARCA
   =========================================================== */
:root {
  /* === The Power Peach Project — Brandbook 2025 === */
  --peach:   #e85b06;   /* naranja principal */
  --apricot: #e67300;   /* naranja secundario */
  --saffron: #d85137;   /* terracota / acento */
  --camel:   #e6dcc1;   /* crema claro */
  --sand:    #e2c37b;   /* arena dorado */

  /* Alias que ya usa el resto del CSS/JS (mantiene compatibilidad) */
  --neon:   var(--apricot);   /* antes verde neón → ahora naranja */
  --neon-2: var(--sand);
  --black:  #1a1206;          /* marrón muy oscuro cálido en vez de negro puro */
  --grey:   #b8a888;          /* gris cálido / camel apagado */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fuentes display de alto impacto (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&family=Anton&family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&display=swap');

* { box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  font-family: 'Archivo', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Ocultar barra de scroll (mantiene el scroll funcional) */
html { scrollbar-width: none; }            /* Firefox */
body { -ms-overflow-style: none; }         /* IE/Edge antiguo */
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* Chrome/Safari */

.font-display { font-family: 'Anton', 'Archivo', sans-serif; font-weight: 400; letter-spacing: -0.02em; }

/* Menú hamburguesa (3 rayitas) */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; width: 26px; background: #1a1206; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

/* Carrito con contador */
.cart-btn {
  position: relative; color: #1a1206;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count {
  position: absolute; top: 2px; right: -4px;
  font-size: 0.6rem; font-weight: 700; color: #1a1206;
}

/* Logo del nav — imagen recoloreada a naranja mediante máscara */
.site-logo {
  display: block;
  width: 360px;          /* más grande */
  height: 96px;
  background-color: #e84c8a;   /* rosado del logo Confident */
  -webkit-mask: url('assets/logo.webp') left center / contain no-repeat;
          mask: url('assets/logo.webp') left center / contain no-repeat;
}
@media (max-width: 768px) {
  .site-logo { width: 160px; height: 44px; }
}
.text-neon { color: var(--neon); }
.bg-neon  { background: var(--neon); }
.border-neon { border-color: var(--neon); }

/* ===========================================================
   HERO — Canvas sticky a pantalla completa
   El wrap es sticky: mientras el navegador recorre .hero-spacer,
   el canvas permanece pegado en viewport. ScrollTrigger usa esa
   ventana de scroll para animar los fragmentos del casco.
   =========================================================== */
.hero-canvas-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') center center / cover no-repeat;
  z-index: 0;
}

#hero { background: #f4efe8; }   /* evita la franja negra del body en el hueco */

/* Hero con 3 fotos en fila */
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;      /* las tres del mismo tamaño */
  gap: 16px;
  align-items: center;
  min-height: 100vh;
  padding: 4vh 2vw;                        /* margen para que no lleguen al borde */
  background: #f4efe8;
}
.hero-photo {
  aspect-ratio: 3 / 4;                     /* mantiene proporción vertical */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 22px;                     /* esquinas redondeadas en todos los lados */
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.hero-photo--mid {
  background-position: center;
}

/* Texto y botón sobre cada foto */
.hero-photo { position: relative; }
.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 6% 12%;
  border-radius: inherit;
}
.photo-weeks {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.photo-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.photo-btn {
  margin-top: 1.4rem;
  display: inline-block;
  background: var(--apricot);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.photo-btn:hover { background: var(--peach); transform: translateY(-2px); }

/* Pestañas: ocultas en PC */
.hero-tabs { display: none; }

@media (max-width: 768px) {
  /* En móvil, el relleno superior del hero deja sitio al header (fondo claro) */
  #hero { padding-top: 58px; }

  /* Pestañas visibles en móvil */
  .hero-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0;
  }
  .hero-tabs button {
    padding: 0.9rem 0.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #9a8f80;
    background: #ece5da;
    border: none;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
  }
  .hero-tabs button.is-active {
    background: var(--apricot);
    color: #fff;
  }

  /* En móvil: una sola foto a la vez (la activa) */
  .hero-gallery {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    min-height: auto;
  }
  .hero-photo { display: none; }
  .hero-photo.is-active {
    display: block;
    width: 88%;               /* más pequeña, con margen a los lados */
    margin: 0 auto;
    aspect-ratio: 2 / 3;      /* proporción real → se ve completa, sin recorte */
    background-size: contain;
    background-color: #f4efe8;
    border-radius: 0;
    box-shadow: none;
  }
  /* Overlay más compacto para que salga completo dentro de la foto */
  .photo-overlay { padding-bottom: 4%; }
  .photo-weeks { font-size: 0.72rem; margin-bottom: 0.35rem; }
  .photo-title { font-size: 2rem; }
  .photo-btn { margin-top: 1rem; padding: 0.6rem 1.4rem; font-size: 0.78rem; }
}

/* --- Escena "alejarse a la cara" --- */
#helmet-canvas { display: none; }   /* desactivamos el casco 3D en el hero */

/* Badge sobre la cabeza de la modelo */
.hero-badge {
  position: absolute;
  top: 12vh;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
  border: 1px solid rgba(230, 115, 0, 0.5);
  background: rgba(244, 239, 232, 0.75);
  backdrop-filter: blur(4px);
  color: #e67300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
@media (max-width: 768px) {
  .hero-badge { font-size: 0.55rem; padding: 0.4rem 0.8rem; white-space: normal; text-align: center; width: 80vw; }
}

.face-scene {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #f4efe8;              /* fondo cálido crema para las letras */
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ftext {
  position: absolute;
  left: 0;
  width: 100%;
  white-space: nowrap;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(3rem, 9vw, 9rem);
  z-index: 1;
}
.ftext span { display: inline-block; }
.ftext-1 { top: 30%; color: var(--apricot); }
.ftext-2 { top: 50%; color: #d99a5b; }

.face-card {
  position: relative;
  z-index: 2;
  width: min(34vw, 420px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.25);
}
.face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 15%;   /* enfoca la cara de la modelo */
  transform: scale(1.5);      /* zoom a la cara */
}
@media (max-width: 768px) {
  .face-card { width: 62vw; }
  .face-img { object-position: 50% 12%; }
}
/* Foto nítida sobre fondo blanco — sin oscurecido */

/* Marca de agua repetida en banda horizontal.
   mix-blend-multiply: se ve sobre el blanco y desaparece sobre la modelo,
   que se mantiene nítida en HD (no tocamos la foto). */
.hero-watermark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 34vh;
  z-index: 0;
  pointer-events: none;
  background:
    url('assets/watermark.webp') left 14vw center / auto 100% no-repeat,
    url('assets/watermark.webp') right 14vw center / auto 100% no-repeat;
  opacity: 0.45;
  mix-blend-mode: multiply;
}

/* En móvil la modelo ocupa casi todo el ancho: dejamos UNA sola marca
   de agua centrada y más pequeña, así no se montan ni invaden la figura. */
@media (max-width: 768px) {
  /* Foto vertical específica para móvil (la de PC no se toca) */
  .hero-bg {
    background-image: url('assets/hero-mobile.webp');
  }
  /* Marca de agua en móvil: dos a los lados, a la altura del torso superior */
  .hero-watermark {
    display: block;
    top: 30%;
    height: 14vh;
    background:
      url('assets/watermark.webp') left 9vw center / auto 100% no-repeat,
      url('assets/watermark.webp') right 4vw center / auto 100% no-repeat;
    opacity: 0.45;
  }
}

#helmet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Altura del scroll del hero = duración de la explosión del casco */
.hero-spacer { height: 350vh; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  pointer-events: none;
  z-index: 2;
}

.hero-kicker {
  color: var(--neon);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 11vw, 11rem);
  line-height: 0.86;
  text-transform: uppercase;
}
/* Máscara para el revelado línea por línea */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; transform: translateY(110%); }

/* Firma SVG */
.signature {
  position: absolute;
  bottom: 8vh;
  right: 6vw;
  width: min(38vw, 420px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(223,255,0,0.35));
}

/* ===========================================================
   FOOTER (Confident)
   =========================================================== */
.site-footer { background: #f4efe8; padding: 8vh 6vw 4vh; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem;
}
.footer-brand .site-logo { background-color: var(--apricot); }
.footer-desc { margin-top: 1.2rem; max-width: 22rem; color: #6b5f52; font-size: 0.9rem; line-height: 1.6; }
.footer-cols { display: flex; gap: 4rem; }
.footer-col-title { font-weight: 700; color: #1a1206; margin-bottom: 1rem; }
.footer-cols ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-cols a { color: #6b5f52; font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-cols a:hover { color: var(--apricot); }
.footer-copy {
  max-width: 1100px; margin: 4vh auto 0;
  color: #9a8f80; font-size: 0.78rem;
}

@media (max-width: 768px) {
  .footer-cols { gap: 2rem; flex-wrap: wrap; }
}

/* ===========================================================
   PREGUNTAS FRECUENTES (acordeón)
   =========================================================== */
.faq-section { background: #fff; padding: 4vh 6vw 8vh; }
.faq-heading {
  text-align: center; font-family: 'Playfair Display', serif; font-weight: 700;
  color: #1a1206; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 2vh;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { padding: 1.3rem 0; border-bottom: 1px solid rgba(26,18,6,0.1); }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: #1a1206;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--apricot); font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.9rem; color: #6b5f52; line-height: 1.65; }

/* ===========================================================
   FRANJA CRONÓMETRO HASTA SEPTIEMBRE
   =========================================================== */
.deadline-band {
  background: var(--apricot);    /* naranja */
  color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.2rem 2rem;
  padding: 1.1rem 6vw;
}
.deadline-label {
  text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 700; font-size: 0.85rem;
}
.deadline-timer { display: flex; gap: 1.4rem; }
.dl-box { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.dl-box span {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.5rem; line-height: 1;
}
.dl-box small {
  margin-top: 0.2rem; font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.15em; opacity: 0.85;
}

/* ===========================================================
   FRANJA MARQUEE
   =========================================================== */
.marquee-band {
  background: #e84c8a;    /* rosado del logo */
  overflow: hidden;
  padding: 1.5rem 0;      /* franja más gruesa */
}
.marquee-track {
  display: flex; width: max-content; white-space: nowrap;
  animation: marquee-band-scroll 22s linear infinite;
}
.marquee-track span {
  color: #fff; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.95rem;
}
@keyframes marquee-band-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   GUÍA DE NUTRICIÓN (grid de tarjetas)
   =========================================================== */
/* Modal de la guía de nutrición */
.nutguide-modal {
  position: fixed; inset: 0; z-index: 3000;
  background: #ece5da; overflow-y: auto;
  padding: 8vh 6vw; display: none;
}
.nutguide-modal.is-open { display: block; }
.nutguide-close {
  position: fixed; top: 1.2rem; right: 1.4rem; z-index: 10;
  width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer;
  background: #1a1206; color: #fff; font-size: 1.1rem;
}
.nutguide-inner { max-width: 1100px; margin: 0 auto; }
.nutguide-title {
  text-align: center; font-family: 'Playfair Display', serif; font-weight: 700;
  color: #1a1206; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 4vh;
}
.pillar-card--link { cursor: pointer; }
.pillar-link-cue {
  display: inline-block; margin-top: 0.8rem; color: var(--apricot);
  font-weight: 700; font-size: 0.85rem;
}

.nutguide-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.nut-card {
  background: #faf6ef; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
}
.nut-img { width: 100%; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.nut-body { padding: 1.3rem 1.4rem 1.6rem; }
.nut-body h3 { font-size: 1.5rem; color: #1a1206; font-weight: 700; margin-bottom: 0.4rem; }
.nut-body p { color: #6b5f52; font-size: 0.95rem; line-height: 1.45; }

.nut-banner {
  display: flex; align-items: center; justify-content: center;
  max-width: 1100px; margin: 1.4rem auto 0;
  min-height: 200px; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center;
  position: relative; text-align: center;
}
.nut-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.nut-banner span {
  position: relative; z-index: 1; color: #fff; font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem); padding: 0 1rem;
}

@media (max-width: 768px) {
  .nutguide-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   TRANSFORMACIONES REALES
   =========================================================== */
.results-section { background: #f4efe8; padding: 5vh 6vw 5vh; text-align: center; }
.results-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  color: #1a1206; font-size: clamp(2rem, 5vw, 3.4rem);
}
.results-sub { color: #6b5f52; margin-top: 0.8rem; }
.results-grid {
  margin: 6vh auto 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.result-card {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}
.results-note {
  margin-top: 5vh; color: #1a1206; font-weight: 600; font-size: 1.05rem;
}
.results-countdown {
  margin-top: 1.6rem;
  display: flex; justify-content: center; gap: 1.6rem;
}

@media (max-width: 768px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .results-countdown { gap: 1rem; }
}

/* ===========================================================
   POWER PEACH PROJECT — qué incluye
   =========================================================== */
.ppp-section { background: #ffffff; padding: 6vh 6vw 2vh; }
.ppp-header { text-align: center; max-width: 700px; margin: 0 auto; }
.ppp-logo { display: block; width: min(340px, 70%); height: auto; margin: 0 auto 2rem; }
.ppp-eyebrow {
  color: #e84c8a; text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.72rem; font-weight: 700; margin-bottom: 1rem;
}
.ppp-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  color: var(--apricot); font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.ppp-sub {
  color: #c76a94;
  max-width: 42rem; margin: 1rem auto 0; line-height: 1.6;
  font-size: 1.15rem;
}

/* Tabla "Qué recibes / Qué resultado te da" */
.ppp-table {
  max-width: 900px; margin: 2.5vh auto 0;
  border: 1px solid rgba(232,76,138,0.18); border-radius: 16px; overflow: hidden;
}
.ppp-thead {
  display: grid; grid-template-columns: 1fr 1.2fr;
  background: linear-gradient(90deg, #e84c8a, #d63a78);
  color: #fff; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.82rem;
}
.ppp-thead span { padding: 1rem 1.4rem; }
.ppp-thead span:first-child { border-right: 1px solid rgba(255,255,255,0.25); }
.ppp-row {
  display: grid; grid-template-columns: 1fr 1.2fr;
  border-top: 1px solid rgba(232,76,138,0.15);
}
.ppp-recibe {
  padding: 1.3rem 1.4rem; font-weight: 700; color: #1a1206;
  border-right: 1px solid rgba(232,76,138,0.15); line-height: 1.35;
}
.ppp-resultado {
  padding: 1.3rem 1.4rem; color: #a05a7a; line-height: 1.5;
}

.ppp-cta { text-align: center; padding: 3vh 6vw 2vh; background: #ffffff; }
.ppp-btn {
  display: inline-block; background: var(--apricot); color: #fff; font-weight: 700;
  padding: 1rem 2.2rem; border-radius: 999px; transition: background 0.3s var(--ease);
}
.ppp-btn:hover { background: var(--peach); }

@media (max-width: 768px) {
  .ppp-thead { font-size: 0.66rem; }
  .ppp-thead span, .ppp-recibe, .ppp-resultado { padding: 0.9rem 0.8rem; }
  .ppp-recibe { font-size: 0.85rem; }
  .ppp-resultado { font-size: 0.8rem; }
}

/* ===========================================================
   BANNER CTA (sustituye a Hall of Fame) — modelo + Peach Project
   =========================================================== */
.cta-band {
  position: relative;
  min-height: 96vh;
  background: url('assets/hero.webp') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.cta-wm {
  position: absolute; inset: 0; pointer-events: none;
  background: url('assets/watermark.webp') center 5% / auto 20vh no-repeat;  /* logo encima de la cabeza */
  opacity: 0.5; mix-blend-mode: multiply;
}
.cta-badge {
  position: absolute; top: 4vh; left: 50%; transform: translateX(-50%);
  white-space: nowrap; z-index: 4;
  border: 1px solid rgba(230,115,0,0.5);
  background: rgba(244,239,232,0.75); backdrop-filter: blur(4px);
  color: #e67300; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 700; padding: 0.5rem 1.1rem; border-radius: 999px;
}
.cta-inner {
  position: relative; z-index: 4; text-align: center;
  width: min(46vw, 620px); padding-bottom: 10vh;
}
.cta-countdown {
  position: static; transform: none;
  justify-content: center; margin-top: 1.6rem;
}
@media (max-width: 768px) {
  .cta-band { background-image: url('assets/hero-mobile.webp'); min-height: 100vh; }
  .cta-wm {
    background: url('assets/watermark.webp') center 4% / auto 11vh no-repeat;
    opacity: 0.4;
  }
  .cta-inner { width: 84vw; }
  .cta-badge { font-size: 0.55rem; padding: 0.4rem 0.8rem; white-space: normal; text-align: center; width: 80vw; }
}

/* Countdown del hero */
.hero-countdown {
  position: absolute;
  bottom: 7vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.6rem;
  z-index: 4;
}
.cd-box { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.cd-box span {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1; color: #1a1206;
}
.cd-box small {
  margin-top: 0.35rem; font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: #9a8f80; font-weight: 700;
}
@media (max-width: 768px) {
  .hero-countdown { bottom: 6vh; gap: 1rem; }
}

/* Bloque de email en el hero (estilo referencia) */
.email-block {
  position: absolute;
  bottom: 22vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(46vw, 620px);
  text-align: center;
  z-index: 4;
}
.email-heading {
  color: var(--apricot);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}
.email-form {
  display: flex;
  gap: 0.7rem;
}
.email-input {
  flex: 1;
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  background: #ffffff;
  color: #1a1206;
  font-size: 1.05rem;
  outline: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.email-input::placeholder { color: #9a9184; }
.email-input:focus { border-color: var(--apricot); }
.email-btn {
  padding: 1.15rem 1.8rem;
  border: none;
  border-radius: 6px;
  background: var(--apricot);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  white-space: nowrap;
}
.email-btn:hover { background: var(--peach); }
.email-note {
  margin-top: 0.9rem;
  color: #4a4038;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .email-block { left: 50%; transform: translateX(-50%); width: 84vw; text-align: center; }
  .email-heading { font-size: 1.5rem; }
}

.scroll-hint {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--grey);
  z-index: 3;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

.hero-race {
  margin-top: 2rem;
  color: var(--grey);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
}

/* ===========================================================
   REVEAL de líneas de texto (STORY)
   =========================================================== */
.reveal-line { display: block; overflow: hidden; }

/* ===========================================================
   MESSAGE FROM LANDO — pin a pantalla completa
   =========================================================== */
.message-pin {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #f4efe8;              /* blanco suave cálido (no cansa la vista) */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3vh 0 3vh;               /* pegada a las franjas */
}
/* ===========================================================
   CARRUSEL de pilares — pasa una a una, resalta la central
   =========================================================== */
.pillars-arrow {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: #fff; color: var(--apricot);
  border: 1px solid rgba(26,18,6,0.1); border-radius: 999px;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pillars-arrow:hover { background: var(--apricot); color: #fff; }
.pillars-arrow--prev { left: 3vw; }
.pillars-arrow--next { right: 3vw; }
@media (max-width: 768px) {
  .pillars-arrow { width: 40px; height: 40px; font-size: 1.3rem; }
  .pillars-arrow--prev { left: 2vw; }
  .pillars-arrow--next { right: 2vw; }
}

.pillars-track {
  display: flex;
  width: 100%;
  align-self: stretch;      /* que no se encoja al ancho del contenido */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 3vh max(6vw, calc(50% - 240px));   /* huecos para centrar la 1ª y última */
  margin-top: 4vh;
  scrollbar-width: none;
}
.pillars-track::-webkit-scrollbar { display: none; }

.pillar-card {
  flex: 0 0 auto;
  width: 480px;
  max-width: 82vw;
  scroll-snap-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  opacity: 0.35;
  transform: scale(0.86);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.pillar-desc { flex: 1 1 auto; }   /* empuja el botón al fondo → botones alineados */
.pillar-card.is-center { opacity: 1; transform: scale(1); }

.pillar-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.pillar-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #1a1206;
  margin-top: 1.4rem;
}
.pillar-desc {
  color: #6b5f52;
  max-width: 30rem;
  margin: 0.8rem auto 0;
  line-height: 1.6;
  font-size: 0.98rem;
}
.pillar-btn {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--apricot);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.pillar-btn:hover { background: var(--peach); }

@media (max-width: 768px) {
  .pillar-card { width: 78vw; }
}

/* Bloque de texto centrado (estilo editorial) */
.msg-block {
  max-width: 900px;
  padding: 0 6vw;
  text-align: center;
}
.msg-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.msg-line-1 { display: block; color: #1a1206; font-weight: 700; }
.msg-line-2 { display: block; color: var(--peach); font-style: italic; font-weight: 700; }
.msg-lead {
  margin: 1.8rem auto 0;
  max-width: 620px;
  color: #2a2018;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
}
.msg-lead em { color: var(--peach); font-style: italic; }
.msg-desc {
  margin: 1.4rem auto 0;
  max-width: 560px;
  color: #6b5f52;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ===========================================================
   EL MÉTODO — fondo blanco, 12 semanas / 3 fases
   =========================================================== */
#method { background: #f4efe8; }
.method-inner { max-width: 1100px; margin: 0 auto; padding: 5vh 6vw 5vh; }
.method-eyebrow {
  color: #e84c8a; text-transform: uppercase;
  letter-spacing: 0.35em; font-size: 0.72rem; font-weight: 700; margin-bottom: 1.6rem;
}
.method-title {
  font-family: 'Playfair Display', serif;
  color: #1a1206; font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem); line-height: 1.05;
}
.method-title .reveal-line { display: block; }

.method-grid {
  margin-top: 4vh;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.method-col { text-align: left; }
.method-pill {
  display: block; width: 62%; height: 10px;
  background: #e84c8a; border-radius: 999px; margin-bottom: 1.6rem;
}
.method-phase {
  font-family: 'Playfair Display', serif; font-weight: 700;
  color: #e84c8a; font-size: 1.9rem; line-height: 1.05; margin-bottom: 0.4rem;
}
.method-weeks {
  display: block; color: #e84c8a; font-weight: 600;
  font-size: 1rem; margin-bottom: 1.2rem;
}
.method-img {
  width: 100%; aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border-radius: 18px; margin-bottom: 1rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
.method-desc { color: #8a7256; font-size: 1.05rem; line-height: 1.55; }

@media (max-width: 768px) {
  .method-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  /* En móvil: las 3 columnas juntas y compactas, que quepan en una pantalla */
  .method-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .method-pill { height: 6px; width: 70%; margin-bottom: 0.7rem; }
  .method-phase { font-size: 1rem; line-height: 1.05; }
  .method-weeks { font-size: 0.68rem; margin-bottom: 0.6rem; }
  .method-img { border-radius: 10px; margin-bottom: 0.7rem; }
  .method-desc { font-size: 0.7rem; line-height: 1.4; }
}

/* ===========================================================
   ON / OFF TRACK split panels
   =========================================================== */
.split-panel {
  display: block; padding: 14vh 6vw; min-height: 60vh;
  transition: background .4s var(--ease);
}
.split-panel:hover { background: #141414 !important; }
.split-cta { display:inline-block; margin-top: 2rem; color: var(--grey); font-size:.75rem; letter-spacing:.2em; text-transform:uppercase; }
.split-panel:hover .split-cta { color: var(--neon); }

/* ===========================================================
   STORE dorado
   =========================================================== */
.store-gold {
  background: linear-gradient(135deg, var(--peach), var(--sand) 45%, var(--apricot));
}

/* ===========================================================
   SOCIAL tiles
   =========================================================== */
.social-tile {
  aspect-ratio: 1; display:grid; place-items:center;
  background:#141414; border:1px solid rgba(255,255,255,0.08); border-radius:8px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.social-tile span { font-family:'Anton'; letter-spacing:.15em; color:var(--grey); }
.social-tile:hover { transform: translateY(-6px); border-color: var(--neon); }
.social-tile:hover span { color: var(--neon); }

/* Partner cells */
.partner-cell {
  aspect-ratio: 16/9; display:grid; place-items:center; background:#0d0d0d;
  font-family:'Archivo'; font-weight:900; letter-spacing:.15em; color:#555; font-size:.8rem;
  transition: color .3s var(--ease);
}
.partner-cell:hover { color: var(--neon); }

/* ===========================================================
   GALLERY — pin + collage asimétrico
   =========================================================== */
.gallery-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.gallery-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.collage { position: absolute; inset: 0; z-index: 2; }

.ph {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  aspect-ratio: 3 / 4;
  transform: rotate(var(--r));
  background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  will-change: transform, opacity;
}
.ph span { font-family: 'Anton'; font-size: 2rem; color: rgba(223,255,0,0.4); }
/* Placeholder: sustituye el gradiente por background-image cuando tengas fotos */

/* ===========================================================
   HALL OF FAME — tarjetas con perspectiva para tilt 3D
   =========================================================== */
#hall-grid { perspective: 1000px; }

.helmet-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 0%, #1c1c1c, #0d0d0d);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s var(--ease);
  cursor: pointer;
}
.helmet-card:hover { border-color: var(--neon); }

.helmet-card .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(223,255,0,0.18), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.helmet-card:hover .glow { opacity: 1; }

.helmet-card .orb {
  position: absolute;
  left: 50%; top: 42%;
  width: 60%; aspect-ratio: 1;
  transform: translate(-50%,-50%) translateZ(40px);
  border-radius: 50%;
  background: conic-gradient(from 200deg, #2a2a2a, var(--neon-2), #2a2a2a, #111);
  box-shadow: inset 0 -20px 40px rgba(0,0,0,0.6), 0 20px 40px rgba(0,0,0,0.5);
}
.helmet-card .meta {
  position: absolute;
  left: 16px; bottom: 14px;
  transform: translateZ(30px);
}
.helmet-card .meta .yr { font-family:'Anton'; font-size: 1.6rem; }
.helmet-card .meta .nm { font-size: .7rem; letter-spacing:.2em; color: var(--grey); text-transform: uppercase; }

@media (max-width: 768px) {
  .signature { width: 55vw; bottom: 14vh; }
  .ph { --w: 40vw !important; }
}
