/* ============================================================
   FORGE — Box de Entrenamiento Funcional / CrossFit
   Paleta: dark + volt (lima eléctrica) + ember (fuego)
   ============================================================ */
:root {
  --bg: #0a0a0c;
  --bg-soft: #111114;
  --surface: #16161b;
  --surface-2: #1c1c22;
  --line: #2a2a31;
  --text: #f5f5f4;
  --muted: #9b9ba3;
  --volt: #d7ff2e;
  --volt-soft: #e9ff86;
  --ember: #ff5a1f;
  --ember-soft: #ff8a3c;
  --ok: #57d98a;
  --err: #ff6b5e;
  --radius: 16px;
  --maxw: 1200px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.8);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--volt); color: #0a0a0c; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.02;
  text-transform: uppercase;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 12vw, 140px) 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .26em; font-size: .72rem;
  color: var(--volt); font-weight: 700; margin-bottom: 14px;
}

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap; font-family: inherit;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-volt { background: var(--volt); color: #0a0a0c; box-shadow: 0 10px 30px -10px rgba(215,255,46,.5); }
.btn-volt:hover { background: var(--volt-soft); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(215,255,46,.6); }
.btn-ghost { border-color: var(--line); color: var(--text); transition: all .25s var(--ease); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(215,255,46,.3); }

/* ===================== NAV ===================== */
header.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(10,10,12,.6);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
header.nav.scrolled { background: rgba(10,10,12,.92); box-shadow: 0 10px 30px -16px rgba(0,0,0,.8); border-bottom-color: var(--line); }
#top, #inicio, #clases, #empezar, #planes, #instalaciones, #testimonios, #faq, #contacto { scroll-margin-top: 80px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: .08em; color: var(--text); }
.logo-mark { width: 30px; height: 30px; color: var(--volt); }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: .92rem; }
.nav-links a { color: var(--muted); transition: color .2s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--volt); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 90px); }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 82% 18%, rgba(215,255,46,.16), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); }
.hero h1 em { color: var(--volt); font-style: normal; }
.hero .lead { color: var(--muted); max-width: 48ch; margin: 22px 0 30px; font-size: 1.06rem; }
.hero .lead b { color: var(--text); }
.hero-social-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 20px 0; font-size: .95rem; color: var(--muted); }
.hero-social-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-social-proof strong { color: var(--volt); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 26px; color: var(--muted); font-size: .88rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(22,22,27,0.6); border-radius: 8px; border: 1px solid rgba(215,255,46,.15); }
.hero-trust li:first-child { background: rgba(255,90,31,.08); border-color: rgba(255,90,31,.25); color: var(--text); font-weight: 600; padding: 0; transition: background .25s, border-color .25s; }
.hero-trust li:first-child a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; }
.hero-trust li:first-child:hover { background: rgba(255,90,31,.16); border-color: var(--ember); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); animation: live 2s infinite; }
@keyframes live { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero-media { position: relative; }
.hero-card {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface);
  --mx: 50%; --my: 50%;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(215,255,46,.22), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.hero-card:hover::before { opacity: 1; }
.hero-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.badge-free {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  background: var(--volt); color: #0a0a0c; font-weight: 800; font-size: .74rem; letter-spacing: .06em;
  padding: 8px 13px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 10px 24px -8px rgba(215,255,46,.6);
}
.hero-card-foot { display: flex; gap: 14px; padding: 16px 20px; background: rgba(10,10,12,.6); border-top: 1px solid var(--line); position: relative; z-index: 3; }
.stat-mini { display: flex; flex-direction: column; }
.stat-mini strong { font-family: 'Anton', sans-serif; font-size: 1.5rem; color: var(--volt); line-height: 1; }
.stat-mini span { font-size: .74rem; color: var(--muted); }

/* ===================== MARQUEE ===================== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 22px; align-items: center; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: 'Anton', sans-serif; font-size: 1.15rem; letter-spacing: .04em; color: var(--text); text-transform: uppercase; }
.marquee-track i { color: var(--volt); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ===================== STATS ===================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; }
.stat { padding: 38px 8px; text-align: center; }
.stat .num { font-family: 'Anton', sans-serif; font-size: clamp(2.4rem, 5.5vw, 3.8rem); color: var(--volt); display: block; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .82rem; letter-spacing: .04em; margin-top: 6px; display: block; }

/* ===================== SECTION HEAD ===================== */
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.04rem; }

/* ===================== CARDS (clases + testimonios) ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden;
  --mx: 50%; --my: 50%;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(215,255,46,.14), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); border-color: rgba(215,255,46,.45); background: var(--surface-2); }
.card.featured { border-color: var(--volt); }
.card.featured .tag { background: rgba(215,255,46,.1); }
.card .ico { color: var(--volt); margin-bottom: 16px; display: inline-flex; }
.card .ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--muted); font-size: .94rem; margin: 10px 0 18px; }
.card .tag { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(215,255,46,.3); padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.card .badge { position: absolute; top: 12px; right: 12px; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--volt); color: #0a0a0c; box-shadow: 0 4px 12px -4px rgba(215,255,46,.4); }

/* ===================== CARRUSEL DE CLASES ===================== */
.cards-carousel { position: relative; }
.cards-carousel .cards {
  display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.cards-carousel .cards::-webkit-scrollbar { display: none; }
.cards-carousel .cards .card {
  flex: 0 0 auto; width: min(82vw, 340px); scroll-snap-align: start;
}
.cards-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(10,10,12,.72); backdrop-filter: blur(8px); color: var(--text);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center; cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.cards-nav:hover { background: var(--volt); color: #0a0a0c; border-color: var(--volt); transform: translateY(-50%) scale(1.06); }
.cards-nav.prev { left: -8px; }
.cards-nav.next { right: -8px; }
.cards-progress { height: 3px; background: var(--line); margin-top: 24px; border-radius: 3px; overflow: hidden; }
.cards-progress-bar { height: 100%; width: 0%; background: var(--volt); border-radius: 3px; }
@media (max-width: 720px) {
  .cards-nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .cards-nav.prev { left: 2px; }
  .cards-nav.next { right: 2px; }
}

/* ===================== HORARIO ===================== */
.horario {
  margin-top: 56px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; transition: border-color .3s, background .3s;
}
.horario:hover { border-color: rgba(215,255,46,.4); background: var(--surface-2); }
.horario-ico { color: var(--volt); display: inline-flex; flex: 0 0 auto; }
.horario-ico svg { width: 34px; height: 34px; }
.horario-txt { flex: 1 1 260px; }
.horario-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--muted); font-weight: 700; }
.horario-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 34px; margin: 10px 0 6px; }
.horario-list li { display: flex; flex-direction: column; }
.horario-dia { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--muted); font-weight: 700; }
.horario-hrs { font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: .02em; color: var(--volt); line-height: 1.2; }
.horario-sub { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.horario .btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .horario { padding: 22px; gap: 16px; }
  .horario .btn { width: 100%; }
}

/* ===================== CÓMO EMPEZAR ===================== */
.section-soft { background: var(--bg-soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(215,255,46,.4); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -28px; width: 28px; height: 1px; background: var(--line); }
.step-num { font-family: 'Anton', sans-serif; font-size: 2.4rem; color: var(--volt); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* ===================== PLANES ===================== */
.plan { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.plan .sec-head.center { text-align: center; }
.plan-toggle {
  display: flex; gap: 4px; padding: 5px; width: max-content; margin: -14px auto 38px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.plan-toggle-btn {
  border: 0; background: none; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--muted); padding: 9px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s;
}
.plan-toggle-btn:hover { color: var(--text); }
.plan-toggle-btn.is-active { background: var(--volt); color: #0a0a0c; }
.plan-save { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: rgba(215,255,46,.16); color: var(--volt); }
.plan-toggle-btn.is-active .plan-save { background: rgba(10,10,12,.14); color: #0a0a0c; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(215,255,46,.4); box-shadow: 0 20px 60px -16px rgba(215,255,46,.25); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plan-card.popular { border-color: var(--volt); box-shadow: 0 24px 80px -20px rgba(215,255,46,.35); background: var(--surface-2); transform: scale(1.02); }
@media (max-width: 980px) { .plan-card.popular { transform: scale(1); } }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--volt); color: #0a0a0c; font-weight: 800; font-size: .72rem; letter-spacing: .06em;
  padding: 8px 18px; border-radius: 999px; text-transform: uppercase; box-shadow: 0 8px 24px -6px rgba(215,255,46,.4);
}
.plan-card header { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.plan-card h3 { font-size: 1.8rem; }
.plan-sub { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.price { font-family: 'Anton', sans-serif; font-size: 2.8rem; color: var(--text); margin-top: 12px; line-height: 1; }
.price-val { display: inline-block; }
.price-val.is-new { animation: price-in .25s var(--ease); }
@keyframes price-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.price .cur { font-size: 1.4rem; color: var(--muted); vertical-align: super; margin-right: 2px; }
.price .per { font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan-feat { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; flex: 1; }
.plan-feat li { position: relative; padding-left: 28px; color: var(--muted); font-size: .95rem; }
.plan-feat li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(215,255,46,.16); border: 1px solid rgba(215,255,46,.4);
}
.plan-feat li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px;
  border-left: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(-45deg);
}
.plan-cta { width: 100%; }
.plan-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .96rem; }
.plan-note b { color: var(--volt); }
.plan-extra { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.plan-extra .plan-note { margin-top: 0; }
.plan-badge {
  display: inline-flex; align-items: center; font-size: .82rem; font-weight: 600; color: var(--volt);
  border: 1px solid rgba(215,255,46,.3); background: rgba(215,255,46,.08); padding: 7px 16px; border-radius: 999px;
}

/* ===================== FRANJA CTA / CONVENIOS ===================== */
.cta-band {
  margin-top: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(215,255,46,.10), rgba(255,90,31,.08));
  border: 1px solid rgba(215,255,46,.28);
}
.cta-band-txt { flex: 1 1 320px; }
.cta-band h3 { font-size: 1.8rem; }
.cta-band p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.convenio {
  margin-top: 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: border-color .3s, background .3s;
}
.convenio:hover { border-color: rgba(215,255,46,.4); background: var(--surface-2); }
.convenio-ico { color: var(--volt); display: inline-flex; flex: 0 0 auto; }
.convenio-ico svg { width: 32px; height: 32px; }
.convenio-txt { flex: 1 1 320px; }
.convenio-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.convenio-txt p:last-child { color: var(--muted); font-size: .94rem; }

/* ===================== GOOGLE REVIEWS ===================== */
.g-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 28px; }
.g-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.g-logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Anton', sans-serif; font-size: 1.9rem; letter-spacing: .02em; }
.g-mark { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Anton', sans-serif; font-size: 1.1rem; color: #fff; background: #4285f4; border-radius: 4px; }
.g-score .num { font-family: 'Anton', sans-serif; font-size: 2.6rem; color: var(--text); }
.g-stars { letter-spacing: 1px; }
.g-meta { color: var(--muted); font-size: .86rem; }
.g-cta { flex: none; }
.reviews-grid { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 0; margin: -8px; }
.reviews-grid::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(85vw, 380px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.review:hover { border-color: rgba(215,255,46,.45); transform: translateY(-6px); box-shadow: 0 12px 36px -12px rgba(215,255,46,.2); }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #0a0a0c; background: linear-gradient(135deg, var(--volt), var(--volt-soft)); }
.review-name { font-weight: 600; font-size: .95rem; }
.review-stars { color: var(--volt); letter-spacing: 1px; font-size: .85rem; }
.review-date { color: var(--muted); font-size: .74rem; margin-left: auto; }
.review-text { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-top: 12px; }

/* ===================== SHOWCASE / GALLERY ===================== */
.showcase { position: relative; }
.showcase-track {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-item {
  position: relative; flex: 0 0 auto; width: min(74vw, 420px); aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); background: var(--surface);
}
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.78)); }
.showcase-item figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: .95rem; font-weight: 600; }
.showcase-nav {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,12,.72);
  backdrop-filter: blur(8px); color: var(--text); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transition: background .25s, border-color .25s, opacity .25s, transform .2s;
}
.showcase:hover .showcase-nav { opacity: 1; }
.showcase-nav:hover { background: var(--volt); color: #0a0a0c; border-color: var(--volt); transform: translateY(-50%) scale(1.06); }
.showcase-nav.prev { left: -8px; }
.showcase-nav.next { right: -8px; }
.showcase-progress { height: 3px; background: var(--line); margin-top: 24px; border-radius: 3px; overflow: hidden; }
.showcase-progress-bar { height: 100%; width: 0%; background: var(--volt); border-radius: 3px; }

/* ===================== FAQ ===================== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: 18px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(215,255,46,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--volt); font-family: 'Anton', sans-serif; font-size: 1.4rem; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { font-size: .96rem; }
.faq-body b { color: var(--text); }

/* ===================== CONTACTO ===================== */
.contact { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.contact-copy .lead { color: var(--muted); margin: 16px 0 26px; font-size: 1.04rem; }
.contact-info { list-style: none; display: grid; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: .98rem; }
.contact-info svg { width: 22px; height: 22px; color: var(--volt); flex: none; }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.form-fields { display: grid; gap: 16px; padding: 32px; }
.form-fields[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 7px; letter-spacing: .02em; font-weight: 500; }
.field label .opt { color: var(--line); }
.input-wrap { position: relative; }
.field-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s; }
.input-wrap:focus-within .field-icon { color: var(--volt); }
.field-icon svg { width: 18px; height: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px 13px 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field textarea { padding-left: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(215,255,46,.15), 0 4px 16px -4px rgba(215,255,46,.25); background: rgba(22,22,27,0.8); }
.field input.invalid, .field select.invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255,107,94,.15); }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239b9ba3' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-error { color: var(--err); font-size: .88rem; background: rgba(255,107,94,.1); border: 1px solid rgba(255,107,94,.3); border-radius: 10px; padding: 10px 14px; }
.form-error[hidden] { display: none; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit[disabled] { opacity: .6; cursor: not-allowed; }
.form-fineprint { font-size: .76rem; color: var(--muted); text-align: center; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 28px; }
.form-success[hidden] { display: none; }
.success-check {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(215,255,46,.15); color: var(--volt);
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; border: 1px solid rgba(215,255,46,.4);
  animation: pop-in .4s var(--ease);
}
.form-success h3 { font-size: 1.7rem; }
.form-success p { color: var(--muted); font-size: .95rem; max-width: 36ch; }
.form-success .btn { margin-top: 8px; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-soft); }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.foot-brand { max-width: 320px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-brand .muted { color: var(--muted); font-size: .9rem; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h4 { font-family: 'Inter', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--volt); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }
.foot-bottom a { color: var(--muted); transition: color .2s; }
.foot-bottom a:hover { color: var(--volt); }

/* ===================== LEGAL (privacidad.html) ===================== */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 20px; display: grid; gap: 8px; }
.legal b { color: var(--text); }
.legal a:not(.btn) { color: var(--volt); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: .88rem; margin-top: 10px; }
.legal-warn {
  margin: 26px 0 8px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,90,31,.08); border: 1px solid rgba(255,90,31,.3);
  color: var(--muted); font-size: .94rem;
}
.legal-warn strong { display: block; color: var(--ember-soft); margin-bottom: 6px; }
.legal-note { font-size: .9rem; padding-left: 14px; border-left: 2px solid var(--line); }
.legal-back { margin-top: 40px; }

/* ===================== WHATSAPP FLOTANTE ===================== */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.6);
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: .55;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ===================== MOTION / REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.cards .card.reveal:nth-child(2) { transition-delay: .08s; }
.cards .card.reveal:nth-child(3) { transition-delay: .16s; }
.cards .card.reveal:nth-child(4) { transition-delay: .24s; }
.cards .card.reveal:nth-child(5) { transition-delay: .32s; }
.cards .card.reveal:nth-child(6) { transition-delay: .4s; }
.cards .card.reveal:nth-child(7) { transition-delay: .48s; }
.cards .card.reveal:nth-child(8) { transition-delay: .56s; }
.cards .card.reveal:nth-child(9) { transition-delay: .64s; }
.stats .stat.reveal:nth-child(2) { transition-delay: .08s; }
.stats .stat.reveal:nth-child(3) { transition-delay: .16s; }
.stats .stat.reveal:nth-child(4) { transition-delay: .24s; }
.plans .plan-card.reveal:nth-child(2) { transition-delay: .1s; }
.plans .plan-card.reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .dot-live, .whatsapp-float::before, .price-val.is-new { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-card.popular { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-links.show {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav-links.show li { padding: 13px 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav-cta .btn { padding: 11px 18px; font-size: .85rem; }
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .showcase-nav { display: none; }
  .showcase-item { width: 80vw; }
  .foot-grid { flex-direction: column; }
  .foot-bottom { flex-direction: column; }
  .cta-band { padding: 26px 22px; }
  .cta-band .btn { width: 100%; }
  .convenio { padding: 22px; }
  .convenio .btn { width: 100%; }
  .plan-toggle-btn { padding: 9px 16px; font-size: .85rem; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
}
