/* ==========================================================
   TercerEstrella — style.css
   ========================================================== */

/* Focus visible para navegación por teclado */
:focus-visible {
  outline: 3px solid #C0A24A;
  outline-offset: 3px;
  border-radius: 4px;
}

:root {
  --celeste: #74ACDF;
  --blanco: #FFFFFF;
  --dorado: #C0A24A;
  --azul-profundo: #0A3D7C;
  --azul-noche: #1A1A2E;
  --gris-claro: #F5F5F5;
  --gris-borde: #E5E5E8;
  --texto-tenue: #6b6b76;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur: 700ms;

  --max: 1240px;

  --font-head: "Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--azul-noche);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----- typography ----- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dorado);
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow.on-light { color: var(--azul-profundo); }

/* ----- container ----- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(72px, 10vw, 128px);
  position: relative;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0;
  background: var(--azul-noche);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 400ms ease;
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.pre-star {
  width: 56px; height: 56px;
  color: var(--dorado);
  animation: pulseStar 800ms var(--ease) infinite alternate;
}
@keyframes pulseStar {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}
.pre-word {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 4px;
  font-size: 14px;
}
.pre-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  border-radius: 2px;
}
.pre-bar > span {
  display: block; height: 100%; width: 0%;
  background: var(--celeste);
  animation: preFill 1200ms var(--ease) forwards;
}
@keyframes preFill { to { width: 100%; } }

/* ===== NAVBAR ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.nav.is-scrolled {
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: 2px; font-size: 14px;
  color: var(--blanco);
  text-transform: uppercase;
}
.brand-star { color: var(--dorado); width: 18px; height: 18px; }
.nav-links {
  display: flex; gap: 36px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--blanco);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--dorado);
  transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
/* ===== DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: 5px;
}
.nav-dropdown > a::before {
  content: "▾";
  font-size: 10px;
  margin-left: 2px;
  transition: transform 200ms;
}
.nav-dropdown:hover > a::before { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--azul-noche);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 8px 8px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 150ms, color 150ms;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-badge {
  font-size: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: auto;
}
.badge-nacional { background: var(--celeste); color: #fff; }
.badge-premium { background: var(--dorado); color: var(--azul-noche); }

.nav-cta {
  background: var(--azul-profundo);
  color: var(--blanco);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.05em;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 200ms ease, transform 200ms ease;
}
.nav-cta:hover { background: var(--celeste); transform: translateY(-1px); }
.nav-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-burger span { width: 22px; height: 2px; background: var(--blanco); transition: 250ms; }

/* mobile nav */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--azul-noche);
  z-index: 99;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  opacity: 0; pointer-events: none;
  transform: translateY(-20px);
  transition: 400ms var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-head);
  color: var(--blanco);
  font-size: 32px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-menu .nav-cta { font-size: 16px; padding: 16px 36px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--azul-profundo); color: var(--blanco);
  box-shadow: 0 6px 24px -10px rgba(10, 61, 124, 0.7);
}
.btn-primary { transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease, color 150ms ease; }
.btn-primary:hover { background: #082f60; transform: scale(1.02); box-shadow: 0 12px 30px -10px rgba(10, 61, 124, 0.55); }
.btn-secondary {
  background: transparent; color: var(--blanco);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--blanco); }
.btn-light {
  background: var(--blanco); color: var(--azul-noche);
}
.btn-light { transition: background 150ms ease, transform 150ms ease, color 150ms ease; }
.btn-light:hover { background: #e6e6e6; color: var(--azul-noche); transform: scale(1.02); }
.btn-secondary { transition: background 150ms ease, transform 150ms ease, border-color 150ms ease; }
.btn-secondary:hover { transform: scale(1.02); }
.btn-ghost-dark { transition: background 150ms ease, color 150ms ease, transform 150ms ease; }
.btn-ghost-dark:hover { transform: scale(1.02); }
.nav-cta { transition: background 150ms ease, transform 150ms ease; }
.nav-cta:hover { background: #082f60; transform: scale(1.02); }
.btn-ghost-dark {
  background: transparent; color: var(--azul-noche);
  border: 1px solid var(--azul-noche);
}
.btn-ghost-dark:hover { background: var(--azul-noche); color: var(--blanco); }
.btn-arrow { transition: transform 200ms ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== HERO ===== */
.hero {
  background: var(--azul-noche);
  color: var(--blanco);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: 120px; padding-bottom: 80px;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(26, 26, 46, 0.5);
  z-index: 1;
  pointer-events: none;
}
#scene3d {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero h1 {
  color: var(--blanco);
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.hero h1 .accent { color: var(--dorado); display: inline-block; }
.hero-sub {
  margin-top: 28px;
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-badges {
  margin-top: 44px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .check { color: var(--dorado); font-weight: 700; }

/* hero visual right side: jersey placeholder card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(116, 172, 223, 0.06) 0 12px,
      rgba(116, 172, 223, 0.02) 12px 24px
    ),
    rgba(255,255,255,0.02);
  border-radius: 4px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: "Camiseta · render 3D";
  position: absolute; top: 16px; left: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 18%;
  background: radial-gradient(circle, rgba(116,172,223,0.18), transparent 70%);
}
.hero-visual .floating-star {
  position: relative; z-index: 2;
  width: 72px; height: 72px;
  color: var(--dorado);
  animation: floatY 3s var(--ease) infinite alternate;
  filter: drop-shadow(0 12px 30px rgba(192, 162, 74, 0.35));
}
@keyframes floatY {
  from { transform: translateY(-10px); }
  to   { transform: translateY(10px); }
}

/* ===== HERO SECUNDARIO ===== */
.hero2 {
  background: var(--blanco);
}
.hero2 .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero2 h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-top: 8px;
}
.hero2 p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--texto-tenue);
  max-width: 480px;
}
.hero2 .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero2-art {
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(10, 61, 124, 0.04) 0 14px,
      rgba(10, 61, 124, 0.01) 14px 28px
    ),
    var(--gris-claro);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero2-art::before {
  content: "Foto producto · placeholder";
  position: absolute; top: 16px; left: 16px;
  font-family: ui-monospace, monospace; font-size: 11px;
  color: var(--azul-profundo); letter-spacing: 0.06em; opacity: 0.6;
}
.hero2-art .big-star {
  width: 30%; color: var(--celeste);
  filter: drop-shadow(0 16px 40px rgba(116,172,223,0.35));
}

/* ===== SELECTOR DE CAMISETAS ===== */
.selector { background: var(--gris-claro); padding: 56px 0; }
.sel-head { margin-bottom: 32px; }
.sel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.sel-card {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--texto);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.sel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px -12px rgba(10,61,124,0.18);
}
.sel-card-prem { border-color: rgba(192,162,74,0.35); }
.sel-card-prem:hover { box-shadow: 0 20px 48px -12px rgba(192,162,74,0.25); }
.sel-photo {
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
.sel-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #E8EEF5;
}
.sel-photo-dark.sel-photo-placeholder { background: #1e2235; }
.sel-ph-icon { width: 64px; height: 64px; color: var(--celeste); opacity: 0.25; }
.sel-photo-dark .sel-ph-icon { color: var(--dorado); }
.sel-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-head); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; font-weight: 600;
}
.badge-nac { background: var(--celeste); color: #fff; }
.badge-prem { background: var(--dorado); color: var(--azul-noche); }
.sel-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sel-name {
  font-family: var(--font-head); font-size: 20px;
  font-weight: 700; letter-spacing: 0.02em; color: var(--azul-noche);
}
.sel-desc { font-size: 14px; color: var(--texto-tenue); line-height: 1.5; flex: 1; }
.sel-rating { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.sel-stars { color: var(--dorado); font-size: 13px; letter-spacing: 1px; }
.sel-score { font-size: 13px; font-weight: 700; color: var(--azul-noche); }
.sel-foot {
  display: flex; flex-direction: column;
  gap: 12px; margin-top: 12px;
}
.sel-price {
  font-family: var(--font-head); font-size: 24px;
  font-weight: 700; color: var(--azul-profundo);
}
.sel-price-prem { color: var(--dorado); }
.sel-cta {
  display: block; text-align: center;
  background: var(--azul-profundo); color: #fff;
  font-family: var(--font-head); font-size: 14px;
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  padding: 13px 0; border-radius: 8px;
  transition: background 180ms ease, transform 180ms ease;
}
.sel-card:hover .sel-cta { background: var(--azul-noche); transform: none; }
.sel-cta-prem { background: var(--dorado); color: var(--azul-noche); }
.sel-card-prem:hover .sel-cta { background: #a8893e; }

/* --- Mini carrusel selector --- */
.sel-carousel { overflow: hidden; }
.sel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center center;
  background: #ffffff;
  opacity: 0; transition: opacity 500ms ease;
}
.sel-slide.active { opacity: 1; }
.sel-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 180ms ease;
  z-index: 5; color: var(--azul-noche);
}
.sel-carousel:hover .sel-arr { opacity: 1; }
.sel-arr:hover { background: #fff; }
.sel-arr-l { left: 10px; }
.sel-arr-r { right: 10px; }
.sel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 5;
}
.sel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5); transition: background 200ms;
}
.sel-dot.active { background: #fff; }

/* ===== CALIDAD (legacy, no longer used) ===== */
.calidad { background: var(--gris-claro); }
.section-head {
  max-width: 720px; margin-bottom: 64px;
}
.section-head .sub {
  margin-top: 18px; color: var(--texto-tenue); font-size: 17px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  padding: 36px 32px 32px;
  border-radius: 4px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease);
  transform-style: preserve-3d;
  position: relative;
}
.card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -20px rgba(10, 61, 124, 0.22);
  border-color: var(--celeste);
}
.card-icon {
  width: 48px; height: 48px;
  color: var(--celeste);
  margin-bottom: 28px;
}
.card h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px; color: var(--texto-tenue);
  line-height: 1.6;
  margin: 0;
}
.card-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-head);
  font-size: 14px; color: var(--gris-borde);
  letter-spacing: 0.1em;
}

/* ===== FEATURE CARDS (photo + text) ===== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.06), 0 8px 24px -16px rgba(0,0,0,0.08);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px -4px rgba(10,61,124,0.10), 0 24px 48px -20px rgba(10,61,124,0.22);
}
.feature-photo {
  aspect-ratio: 4 / 3;
  background: #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.feature-photo::before,
.feature-photo::after {
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.06);
}
.feature-photo::before {
  inset: 0;
  background: linear-gradient(135deg, transparent calc(50% - 1px), rgba(0,0,0,0.06) 50%, transparent calc(50% + 1px)),
              linear-gradient(45deg,  transparent calc(50% - 1px), rgba(0,0,0,0.06) 50%, transparent calc(50% + 1px));
}
.feature-photo-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A8A8A;
  background: rgba(232,232,232,0.92);
  padding: 8px 14px;
  border-radius: 999px;
}
.feature-body {
  padding: 28px 28px 32px;
  flex: 1;
}
.feature-body h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  font-weight: 700;
}
.feature-body p {
  font-size: 15px;
  color: var(--texto-tenue);
  line-height: 1.6;
  margin: 0;
}

/* ===== STATS ===== */
.stats {
  background: var(--celeste);
  color: var(--blanco);
  text-align: center;
  padding-block: 56px;
}
.stats .section-head { margin-inline: auto; text-align: center; }
.stats h2 { color: var(--blanco); }
.stats .eyebrow { color: var(--blanco); opacity: 0.8; }
.stats .sub { color: rgba(255,255,255,0.85); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  padding-block: 8px;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.stat {
  padding: 32px 16px;
  position: relative;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.18); }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat-num .suffix { font-size: 0.5em; vertical-align: super; opacity: 0.85; margin-left: 2px; }
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.stat-live {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 11px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.04em;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.stats .btn { margin-top: 56px; }

/* ===== DETALLES ===== */
.detalles { background: var(--blanco); }
.detalles-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px; flex-wrap: wrap;
}
.detalles-head .sub { color: var(--texto-tenue); margin-top: 14px; max-width: 460px; }
.carousel-controls { display: flex; gap: 8px; }
.car-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--azul-noche);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: 200ms ease;
  color: var(--azul-noche);
}
.car-btn:hover { background: var(--azul-noche); color: var(--blanco); }
.car-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel::-webkit-scrollbar { display: none; }
.car-item {
  flex: 0 0 calc((100% - 60px) / 4);
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(26,26,46,0.04) 0 10px,
      rgba(26,26,46,0.01) 10px 20px
    ),
    var(--gris-claro);
  scroll-snap-align: start;
  border-radius: 4px;
  position: relative;
  display: flex; align-items: end;
  padding: 20px;
  transition: transform 300ms var(--ease);
}
.car-item:hover { transform: translateY(-4px); }
.car-item .tag {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--azul-profundo); opacity: 0.65;
  text-transform: uppercase;
}
.car-item::before {
  content: ""; position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px;
  background: var(--celeste);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
  opacity: 0.45;
}

/* ===== TICKER ===== */
.ticker {
  background: var(--azul-noche);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tickerScroll 25s linear infinite;
  white-space: nowrap;
  padding-left: 32px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--celeste);
}
.ticker-item::first-letter { color: var(--dorado); }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
}
.testimonios { background: var(--gris-claro); padding-block: 56px 64px; }
.testimonios > .container { padding-bottom: 0; }

.marquee-wrap {
  position: relative;
  margin-top: 32px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--gris-claro), rgba(245,245,245,0)); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--gris-claro), rgba(245,245,245,0)); }
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  animation: marqueeLTR 35s linear infinite;
}
.marquee-track.is-paused { animation-play-state: paused; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLTR {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee .t-card {
  flex: 0 0 380px;
  width: 380px;
  height: 290px;
}
@media (max-width: 600px) {
  .marquee .t-card { flex: 0 0 300px; width: 300px; height: 300px; }
  .marquee::before, .marquee::after { width: 60px; }
}
.t-grid { display: none; }

.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--azul-noche);
  border: 1px solid var(--gris-borde);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(10, 61, 124, 0.25);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.marquee-arrow:hover { background: var(--azul-noche); color: var(--blanco); transform: translateY(-50%) scale(1.05); }
.marquee-prev { left: 24px; }
.marquee-next { right: 24px; }
@media (max-width: 600px) {
  .marquee-prev { left: 8px; }
  .marquee-next { right: 8px; }
  .marquee-arrow { width: 40px; height: 40px; }
}
.t-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  padding: 36px 32px 32px;
  border-radius: 4px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.t-card { transition: transform 200ms ease, box-shadow 200ms ease; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -20px rgba(10, 61, 124, 0.22); }
.t-stars { color: var(--dorado); letter-spacing: 4px; font-size: 16px; }
.t-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--azul-noche);
  margin: 0;
}
.t-foot {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gris-borde);
}
.avatar-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
  background: var(--celeste);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--celeste);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.t-name { font-weight: 600; font-size: 14px; }
.t-loc { font-size: 13px; color: var(--texto-tenue); }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--azul-noche); color: var(--blanco);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final h2 {
  color: var(--blanco);
  font-size: clamp(40px, 6vw, 72px);
}
.cta-final .sub {
  color: rgba(255,255,255,0.88);
  margin-top: 22px;
  max-width: 600px; margin-inline: auto;
  font-size: 17px;
}
.cta-final .ctas {
  margin-top: 44px;
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.cta-final .float-star {
  position: absolute;
  width: 110px; height: 110px;
  color: var(--dorado);
  opacity: 0.4;
}
.cta-final .float-star.s1 { top: 14%; left: 8%; animation: spinCW 20s linear infinite; }
.cta-final .float-star.s2 { bottom: 18%; right: 10%; width: 80px; animation: spinCCW 20s linear infinite; }
@keyframes spinCW  { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

/* ===== FAQ ===== */
.faq { background: var(--blanco); padding-block: 64px; }
.faq .faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--gris-borde);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--gris-borde); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--azul-noche);
  cursor: pointer;
  padding: 0;
}
.faq-q .plus {
  width: 22px; height: 22px;
  position: relative; flex: 0 0 22px;
  transition: transform 300ms var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--azul-noche);
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: opacity 200ms; }
.faq-item.is-open .faq-q .plus { transform: rotate(180deg); }
.faq-item.is-open .faq-q .plus::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease);
}
.faq-a-inner {
  padding-top: 14px;
  color: var(--texto-tenue);
  font-size: 16px; line-height: 1.6;
  max-width: 640px;
}
.faq-cta { margin-top: 40px; display: inline-flex; }

/* ===== BOTÓN RESEÑA ===== */
.btn-resena {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--azul-profundo);
  color: var(--azul-profundo); font-family: var(--font-head);
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 12px 28px; border-radius: 8px;
  cursor: pointer; transition: all 180ms ease;
}
.btn-resena:hover { background: var(--azul-profundo); color: #fff; }

/* ===== FLUJO DE COMPRA ===== */
.flujo { background: var(--blanco); }
.flujo-head { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: 48px; }
.flujo-head h2 { margin-top: 8px; }
.flujo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.flujo-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.flujo-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px; top: 44px;
  font-size: 22px;
  color: var(--gris-borde);
  font-weight: 300;
}
.flujo-num {
  font-family: var(--font-head);
  font-size: 72px; font-weight: 700;
  color: var(--azul-profundo);
  opacity: 0.07; line-height: 1;
  margin-bottom: -20px;
}
.flujo-icon {
  width: 56px; height: 56px;
  background: var(--gris-claro);
  border: 1px solid var(--gris-borde);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--azul-profundo);
  position: relative; z-index: 1;
}
.flujo-step h3 { font-size: 18px; margin-bottom: 10px; color: var(--azul-noche); }
.flujo-step p { font-size: 14px; color: var(--texto-tenue); line-height: 1.65; max-width: 240px; margin-inline: auto; }
@media (max-width: 768px) {
  .flujo-steps { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .flujo-step:not(:last-child)::after { display: none; }
  .flujo-step {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; padding: 0 4px;
  }
  .flujo-num { font-size: 20px; margin-bottom: -2px; align-self: center; opacity: 0.06; }
  .flujo-icon { width: 42px; height: 42px; margin: 0 auto 6px; }
  .flujo-step h3 { font-size: 13px; margin-bottom: 0; line-height: 1.25; }
  .flujo-step p { display: none; }
  .flujo-head { margin-bottom: 16px; }
  .flujo-head h2 { font-size: 22px; }
  .sel-head { display: none; }
}

/* ===== SORTEO ===== */
.sorteo-section { background: var(--azul-noche); padding: 56px 0; }
.sorteo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sorteo-tag { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dorado); display: block; margin-bottom: 16px; }
.sorteo-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.sorteo-desc { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.sorteo-desc strong { color: var(--dorado); }
.sorteo-rules { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sorteo-rules li { color: rgba(255,255,255,0.65); font-size: 14px; }
.sorteo-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(192,162,74,0.3); border-radius: 16px; padding: 36px; text-align: center; }
.sorteo-card-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.sorteo-card-num { font-family: var(--font-head); font-size: 56px; font-weight: 700; color: var(--dorado); line-height: 1; margin-bottom: 20px; }
.sorteo-bar-wrap { background: rgba(255,255,255,0.1); border-radius: 999px; height: 8px; margin-bottom: 10px; overflow: hidden; }
.sorteo-bar-fill { background: linear-gradient(90deg, var(--celeste), var(--dorado)); height: 100%; border-radius: 999px; transition: width 800ms ease; }
.sorteo-bar-texto { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.sorteo-card-prize { font-size: 13px; color: var(--dorado); font-weight: 600; padding-top: 16px; border-top: 1px solid rgba(192,162,74,0.2); }
.sorteo-ganador { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
.sorteo-ganador-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.sorteo-ganador-nombre { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; }
.sorteo-ganador-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ===== MODAL RESEÑA ===== */
.resena-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 250ms ease; }
.resena-overlay.open { opacity: 1; pointer-events: auto; }
.resena-modal { background: #fff; border-radius: 16px; padding: 40px 36px; width: 100%; max-width: 520px; position: relative; transform: translateY(16px); transition: transform 250ms ease; }
.resena-overlay.open .resena-modal { transform: translateY(0); }
.resena-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 20px; cursor: pointer; color: #999; }
.resena-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--azul-noche); margin-bottom: 6px; }
.resena-sub { font-size: 14px; color: var(--texto-tenue); margin-bottom: 20px; }
.resena-stars { display: flex; gap: 6px; margin-bottom: 20px; }
.r-star { font-size: 32px; color: #ddd; cursor: pointer; transition: color 120ms; }
.r-star.active { color: var(--dorado); }
.resena-form { display: flex; flex-direction: column; gap: 12px; }
.resena-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.resena-input { border: 1.5px solid var(--gris-borde); border-radius: 8px; padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--texto); outline: none; width: 100%; }
.resena-input:focus { border-color: var(--celeste); }
.resena-textarea { resize: vertical; min-height: 100px; }
.resena-foto-wrap { margin: 12px 0 6px; }
.resena-foto-label { display: flex; align-items: center; gap: 8px; cursor: pointer; border: 1.5px dashed var(--gris-borde); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--texto-tenue); transition: border-color 200ms, color 200ms; }
.resena-foto-label:hover { border-color: var(--celeste); color: var(--celeste); }
.resena-foto-label svg { flex-shrink: 0; }
.resena-foto-aviso { font-size: 11px; color: #bbb; margin-top: 6px; line-height: 1.5; }
.resena-submit { background: var(--azul-profundo); color: #fff; border: none; border-radius: 8px; padding: 14px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; text-transform: uppercase; transition: background 180ms; }
.resena-submit:hover { background: var(--azul-noche); }
.resena-gracias { display: none; text-align: center; padding: 20px 0; }
.resena-gracias h4 { font-family: var(--font-head); font-size: 22px; color: var(--azul-noche); margin: 12px 0 8px; }
.resena-gracias p { font-size: 14px; color: var(--texto-tenue); }
@media (max-width: 768px) {
  .sorteo-grid { grid-template-columns: 1fr; gap: 40px; }
  .resena-modal { padding: 32px 20px; margin: 16px; }
  .resena-row { grid-template-columns: 1fr; }
}

/* ===== CONTACTO ===== */
.contacto {
  background: var(--azul-noche); color: var(--blanco);
  padding: 56px 0 32px;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto h2 { color: var(--blanco); }
.contacto .sub { color: rgba(255,255,255,0.72); margin-top: 14px; font-size: 16px; max-width: 400px; }
.contact-options { display: flex; flex-direction: column; gap: 16px; }
.contact-row {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: 250ms ease;
}
.contact-row:hover { border-color: var(--dorado); background: rgba(255,255,255,0.02); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(116,172,223,0.18);
  color: var(--celeste);
  flex: 0 0 44px;
}
.contact-row.wpp .contact-icon { background: rgba(37, 211, 102, 0.18); color: #25D366; }
.contact-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.contact-value { font-family: var(--font-head); font-size: 18px; letter-spacing: 0.02em; margin-top: 2px; }
.contact-go {
  margin-left: auto; color: var(--dorado);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.contact-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid var(--dorado);
  color: var(--dorado);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); animation: pulseDot 1.6s var(--ease) infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }

/* ===== FOOTER ===== */
.footer { background: var(--azul-noche); color: var(--blanco); padding-block: 28px 32px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 56px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
}
.trust-item svg { color: var(--celeste); width: 22px; height: 22px; flex: 0 0 22px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  font-size: 13px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.78); font-size: 14px; transition: 200ms; }
.footer a:hover { color: var(--dorado); }
.footer-brand .brand { color: var(--blanco); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 260px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  transition: 200ms;
}
.socials a:hover { background: var(--dorado); color: var(--azul-noche); border-color: var(--dorado); }
.socials svg { width: 16px; height: 16px; }

.legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}
.legal-links { display: flex; gap: 24px; }

/* ===== FLOATING UI ===== */
.wpp-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: 400ms var(--ease);
}
.wpp-float.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.wpp-float:hover { transform: translateY(-2px) scale(1.05); }
.wpp-float svg { width: 28px; height: 28px; }

.sticky-cta {
  display: none;
}
.sticky-cta.is-hidden { display: none !important; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--celeste);
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 200ms ease, height 200ms ease, background 200ms;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 500ms; }

/* Section-level reveal: any <section> auto-reveals on enter */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
section.is-in, section.hero { opacity: 1; transform: none; }

/* Trust badges slide in from left */
.trust-item {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.trust-row.is-in .trust-item { opacity: 1; transform: translateX(0); }
.trust-row.is-in .trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-row.is-in .trust-item:nth-child(2) { transition-delay: 150ms; }
.trust-row.is-in .trust-item:nth-child(3) { transition-delay: 300ms; }
.trust-row.is-in .trust-item:nth-child(4) { transition-delay: 450ms; }

/* Navbar smooth blur */
.nav { transition: background 400ms ease, backdrop-filter 400ms ease, border-color 400ms ease; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero2 .container { grid-template-columns: 1fr; gap: 48px; }
  .faq .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .car-item { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .cards-3, .t-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  /* Hero mobile */
  .hero { min-height: 75vh; padding-top: 90px; padding-bottom: 48px; }

  /* Ajuste de alturas por sección para que entren en pantalla */
  .selector { padding: 28px 0; }
  .sel-carousel-wrap { position: relative; margin-top: 12px; }
  .sel-photo { aspect-ratio: 3/2; }
  .flujo { padding-block: 28px; }
  .flujo-head { margin-bottom: 16px; }
  .stats { padding-block: 36px; }
  .testimonios { padding-block: 28px 32px; }
  .testimonios .sub { display: none; }
  .testimonios h2 { font-size: 20px; }
  .testimonios .section-head { margin-bottom: 16px; }

  /* Mobile: carrusel horizontal */
  .sel-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    margin-top: 0;
  }
  .sel-grid::-webkit-scrollbar { display: none; }
  .sel-grid .sel-card {
    flex: 0 0 90%;
    min-width: 90%;
    scroll-snap-align: start;
    margin-right: 0;
  }
  /* Flechas superpuestas sobre el carrusel */
  .sel-mobile-arrow {
    position: absolute; top: 35%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.92);
    color: var(--azul-profundo); font-size: 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 180ms; z-index: 5;
  }
  .sel-arr-l { left: 10px; }
  .sel-arr-r { right: 10px; }
  /* Dots debajo */
  .sel-mobile-dots {
    display: flex; justify-content: center;
    gap: 8px; margin-top: 14px;
  }
  .sel-mobile-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gris-borde); border: none; cursor: pointer;
    transition: background 200ms, transform 200ms; padding: 0;
  }
  .sel-mobile-dot.active { background: var(--azul-profundo); transform: scale(1.3); }
  .stats-row { padding: 0; }
  .stat { padding: 20px 8px; }
  .stat-num { font-size: clamp(26px, 7vw, 40px); }
  .stat-label { font-size: 11px; margin-top: 6px; letter-spacing: 0.08em; }
  .stat-live { font-size: 10px; margin-top: 4px; }
  .car-item { flex: 0 0 calc((100% - 20px) / 2); }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer { padding-block: 16px 24px; }
  .trust-row { margin-bottom: 32px; }
  .legal { flex-direction: column; align-items: flex-start; }
  .detalles-head { flex-direction: column; align-items: flex-start; }

  /* Testimonios mobile */
  .testimonios { padding-block: 40px 44px; }

  /* Sorteo mobile */
  .sorteo-section { padding: 32px 0; }
  .sorteo-grid { gap: 20px; }
  .sorteo-desc { display: none; }
  .sorteo-rules { gap: 6px; }
  .sorteo-rules li { font-size: 13px; }
  .sorteo-title { font-size: clamp(18px, 5vw, 24px); margin-bottom: 10px; }
  .sorteo-tag { margin-bottom: 8px; }
  .sorteo-card { padding: 18px 16px; }
  .sorteo-card-num { font-size: 34px; margin-bottom: 12px; }
  .sorteo-card-label { font-size: 11px; margin-bottom: 8px; }
  .sorteo-bar-texto { font-size: 12px; margin-bottom: 12px; }
  .sorteo-card-prize { font-size: 12px; padding-top: 12px; }
  .sorteo-ganador { margin-top: 12px; padding-top: 12px; }
  .sorteo-ganador-nombre { font-size: 15px; }

  /* FAQ mobile */
  .faq { padding-block: 40px; }
  .faq .faq-grid { gap: 16px; }
  .faq-item { padding: 16px 0; }
  .faq-q { font-size: 16px; }
  .faq-a-inner { font-size: 14px; }
  .faq h2 { font-size: 22px; }
  .faq-cta { display: none; }

  /* Contacto mobile */
  .contacto { padding: 40px 0; }
  .contact-row { padding: 14px 16px; gap: 12px; }
  .contact-icon { width: 36px; height: 36px; flex: 0 0 36px; }
  .contact-value { font-size: 15px; }

  .cta-final { padding-block: 56px; }
  .cta-final h2 { font-size: 32px; }
  .cta-final .ctas { flex-direction: column; width: 100%; }
  .cta-final .ctas .btn { justify-content: center; }

  .sticky-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--azul-profundo);
    color: var(--blanco);
    text-align: center;
    padding: 16px;
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    letter-spacing: 0.08em; text-transform: uppercase;
    z-index: 80;
    box-shadow: 0 -10px 28px -10px rgba(0,0,0,0.4);
  }
  body { padding-bottom: 60px; }
  .wpp-float { bottom: 76px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 44px; }
  .hero-ctas .btn, .hero2 .ctas .btn, .cta-final .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .car-item { flex: 0 0 80%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > *, section, .trust-item { opacity: 1 !important; transform: none !important; }
  .marquee-ltr, .marquee-rtl, .marquee-track { animation: none !important; }
  .cta-final .float-star { animation: none !important; }
}
