/* =========================================================
   STRONGFIT PERÚ — Estilos
   Paleta tomada del logo: negro profundo + naranja fuego
   ========================================================= */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f2ed;
  --muted: #a8a19a;
  --orange: #ff5a14;
  --orange-2: #e74c10;
  --ember: #ff8a3d;
  --gold: #ffb347;
  --blood: #a72107;
  --wa: #1fbe5a;
  --wa-2: #25d366;

  --fire: linear-gradient(100deg, #ffb347 0%, #ff8a3d 30%, #ff5a14 60%, #e74c10 100%);
  --fire-h: linear-gradient(135deg, #ff6a1a 0%, #e74c10 55%, #b8300a 100%);

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #000; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Grano sutil sobre toda la página */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- Tipografía utilitaria ---------- */
.text-fire {
  font-style: normal;
  background: var(--fire);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange);
  animation: fireShift 6s ease-in-out infinite alternate;
}

@keyframes fireShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--fire);
}

.hero__kicker::before { display: none; }

.pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 20, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 20, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 90, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 20, 0); }
}

/* ---------- Botones ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 10px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}

.btn > * { position: relative; z-index: 2; pointer-events: none; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn:hover::after { transform: translateX(120%); }

.btn .ico { transition: transform 0.35s var(--ease); }
.btn:hover .ico use[href="#i-arrow"] { transform: none; }
.btn:hover svg:has(use[href="#i-arrow"]) { transform: translateX(4px); }

.btn--sm { --pad-y: 11px; --pad-x: 18px; font-size: 0.95rem; }
.btn--lg { --pad-y: 19px; --pad-x: 32px; font-size: 1.15rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--fire-h);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 20, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 18px 44px -10px rgba(255, 90, 20, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover { border-color: var(--orange); color: #fff; background: rgba(255, 90, 20, 0.1); }

.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.75);
}

.btn--wa:hover { background: var(--wa-2); box-shadow: 0 18px 40px -12px rgba(37, 211, 102, 0.9); }

.btn--dark {
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.9);
}

.btn--dark:hover { background: #000; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: all;
}

.preloader__curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #050505;
  z-index: 0;
  transition: transform 1s var(--ease-in-out);
}

.preloader__curtain--top { top: 0; }
.preloader__curtain--bottom { bottom: 0; }

.preloader__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  transition: opacity 0.4s, transform 0.6s var(--ease);
}

.preloader__logo {
  position: relative;
  width: min(220px, 50vw);
  aspect-ratio: 560 / 430;
}

.preloader__logo img { width: 100%; height: 100%; object-fit: contain; }

.preloader__ghost { opacity: 0.12; filter: grayscale(1); }

.preloader__logo::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(closest-side, rgba(255, 90, 20, 0.28), transparent);
  animation: halo 2s ease-in-out infinite;
}

.preloader__fill {
  position: absolute;
  inset: 0;
  clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0);
}

.preloader__count {
  font-family: var(--f-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.preloader__label {
  font-family: var(--f-cond);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

body.is-loaded .preloader { pointer-events: none; }
body.is-loaded .preloader__inner { opacity: 0; transform: scale(0.92); }
body.is-loaded .preloader__curtain--top { transform: translateY(-101%); transition-delay: 0.25s; }
body.is-loaded .preloader__curtain--bottom { transform: translateY(101%); transition-delay: 0.25s; }
.preloader.is-gone { display: none; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .has-cursor input, .has-cursor select, .has-cursor textarea { cursor: text; }
  .has-cursor select { cursor: pointer; }

  .cursor {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9995;
    pointer-events: none;
  }

  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .cursor__dot {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--orange);
  }

  .cursor__ring {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 1.5px solid rgba(255, 138, 61, 0.7);
    transition: opacity 0.3s, width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.35s, border-color 0.35s;
  }

  .cursor.is-visible .cursor__dot,
  .cursor.is-visible .cursor__ring { opacity: 1; }

  .cursor.is-hover .cursor__ring {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    background: rgba(255, 90, 20, 0.12);
    border-color: var(--orange);
  }

  .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-text .cursor__dot,
  .cursor.is-text .cursor__ring { opacity: 0; }
}

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--fire);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(255, 90, 20, 0.8);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  --nav-h: 66px;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav__brand img {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 90, 20, 0.45));
  transition: transform 0.5s var(--ease);
}

.nav__brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__brand b { font-weight: 400; color: var(--orange); }

.nav__links {
  display: flex;
  gap: 6px;
}

.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 242, 237, 0.75);
  transition: color 0.3s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active { color: #fff; }

.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; gap: 10px; }

.nav__burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  z-index: 1002;
}

.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }

.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 30px) 28px 40px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 90, 20, 0.25), transparent 50%),
    #080808;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
  visibility: hidden;
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 44px) 38px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
}

.mobile-menu__links { display: grid; gap: 4px; }

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.6s var(--ease), color 0.3s;
}

.mobile-menu__links a i {
  font-family: var(--f-cond);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.mobile-menu__links a:active { color: var(--orange); }

.menu-open .mobile-menu__links a { opacity: 1; transform: none; }
.menu-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.3s; }
.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.35s; }
.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.4s; }
.menu-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.45s; }
.menu-open .mobile-menu__links a:nth-child(6) { transition-delay: 0.5s; }

.mobile-menu__foot .btn { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__glow {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 45%, rgba(255, 90, 20, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(167, 33, 7, 0.25), transparent 70%);
}

.hero__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero__bigword {
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: -4vw;
  translate: -50% 0;
  font-family: var(--f-display);
  font-size: 30vw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}

.hero__kicker {
  margin-bottom: 26px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  color: var(--text);
  letter-spacing: 0.16em;
  font-size: 0.85rem;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8.2vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}

.hero__title .line__in {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
}

body.is-loaded .hero__title .line__in { transform: none; }
body.is-loaded .hero__title .line:nth-child(1) .line__in { transition-delay: 0.55s; }
body.is-loaded .hero__title .line:nth-child(2) .line__in { transition-delay: 0.65s; }
body.is-loaded .hero__title .line:nth-child(3) .line__in { transition-delay: 0.75s; }
body.is-loaded .hero__title .line:nth-child(4) .line__in { transition-delay: 0.85s; }

.hero__lead {
  max-width: 540px;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 36px;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
}

.hero__proof li {
  display: grid;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
}

.hero__proof b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
}

.hero__proof small {
  font-family: var(--f-cond);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Visual del hero */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  perspective: 900px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.2s var(--ease) 0.5s, transform 1.4s var(--ease) 0.5s;
}

body.is-loaded .hero__visual { opacity: 1; transform: none; }

.hero__ring {
  position: absolute;
  inset: 0;
  animation: spin 28s linear infinite;
}

.hero__ring svg { width: 100%; height: 100%; overflow: visible; }

.hero__ring text {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 10.6px;
  letter-spacing: 3.6px;
  fill: rgba(246, 242, 237, 0.55);
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero__halo {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 20, 0.35) 0%, rgba(255, 90, 20, 0.08) 45%, transparent 70%);
  animation: halo 4s ease-in-out infinite;
}

.hero__halo::before,
.hero__halo::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 138, 61, 0.25);
  animation: spin 40s linear infinite reverse;
}

.hero__halo::after {
  inset: -6%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
  animation: none;
}

@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.07); opacity: 1; }
}

.hero__logo {
  position: relative;
  width: 52%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(255, 90, 20, 0.45)) drop-shadow(0 0 2px rgba(255, 90, 20, 0.6));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.hero__chip b { color: var(--ember); font-weight: 800; }
.hero__chip .ico { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--fire-h); color: #fff; }
.hero__chip--a { top: 16%; left: -4%; animation: float 5s ease-in-out infinite -1s; }
.hero__chip--b { bottom: 14%; right: -2%; animation: float 5.5s ease-in-out infinite -2.5s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: var(--f-cond);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll i {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--line-2);
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--orange);
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollLine { to { top: 110%; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  z-index: 2;
  margin: -30px -2vw 0;
  padding: 22px 0;
  background: var(--fire-h);
  transform: rotate(-2deg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(255, 90, 20, 0.6);
}

.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.06) 0 14px, transparent 14px 28px);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__group span {
  padding: 0 26px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: #0b0b0b;
  white-space: nowrap;
}

.marquee__group i {
  font-style: normal;
  font-size: 1.4rem;
  color: #fff;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECCIONES GENÉRICAS
   ========================================================= */
.section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .kicker { justify-content: center; }

.section__title {
  margin: 18px 0 20px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.section__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 600px;
}

.section__head--center .section__lead { margin-inline: auto; }

/* Reveal genérico */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

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

/* En el hero, el texto aparece después del título */
.hero .reveal { transition-delay: calc(0.9s + var(--d, 0) * 0.12s); }

/* Texto dividido por palabras */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* espacio extra arriba para que no se corten las tildes (Á, É, Ó...) */
  padding: 0.16em 0.02em 0.06em;
  margin: -0.16em -0.02em -0.06em;
}

.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}

.split.is-in .w > span { transform: none; }

/* =========================================================
   STATS
   ========================================================= */
.stats {
  padding: clamp(90px, 10vw, 130px) 0 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  position: relative;
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.stat:last-child { border-right: 0; }

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 90, 20, 0.12), transparent 70%);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

.stat:hover::before { transform: none; }

.stat__num {
  position: relative;
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1;
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  position: relative;
  display: block;
  margin: 10px 0 6px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat p { position: relative; color: var(--muted); font-size: 0.98rem; }

/* =========================================================
   DISCIPLINAS
   ========================================================= */
.filters {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}

.filter {
  position: relative;
  z-index: 2;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s;
}

.filter:hover { color: #fff; }
.filter.is-active { color: #fff; }

.filters__pill {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 10px;
  background: var(--fire-h);
  box-shadow: 0 8px 24px -8px rgba(255, 90, 20, 0.8);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease), top 0.5s var(--ease);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  grid-auto-flow: dense;
  gap: 18px;
}

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 90, 20, 0.16), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface) 60%, #0e0e0e);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 0.45s var(--ease), scale 0.45s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.92) 8%, rgba(7, 7, 7, 0.35) 55%, rgba(7, 7, 7, 0.1));
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 90, 20, 0.55);
  box-shadow: 0 30px 60px -30px rgba(255, 90, 20, 0.45);
}

.card--xl { grid-column: span 2; grid-row: span 2; }
.card--tall { grid-row: span 2; }

.card__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.85) contrast(1.1) brightness(0.7);
  transform: scale(1.04);
  transition: transform 1s var(--ease), filter 0.8s;
}

.card:hover .card__media { transform: scale(1.12); filter: grayscale(0) contrast(1.05) brightness(0.75); }

.card__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 110, 40, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover .card__glow { opacity: 1; }

.card__num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

.card__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  color: var(--orange);
  opacity: 0.9;
  filter: drop-shadow(0 0 14px rgba(255, 90, 20, 0.45));
  transition: transform 0.7s var(--ease);
}

.card:hover .card__icon { transform: rotate(-12deg) scale(1.12); }

.card--xl .card__icon,
.card--tall .card__icon { width: 92px; height: 92px; }

.card.has-img .card__icon { width: 44px; height: 44px; opacity: 1; }

/* Marca de agua gigante en las tarjetas grandes */
.card__mark {
  position: absolute;
  z-index: -1;
  left: 22px;
  top: 50px;
  font-family: var(--f-display);
  font-size: clamp(8rem, 16vw, 15rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 90, 20, 0.35);
  pointer-events: none;
  transition: transform 0.9s var(--ease), -webkit-text-stroke-color 0.5s;
}

.card__mark small {
  display: block;
  margin-top: 4px;
  font-size: 0.22em;
  letter-spacing: 0.08em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}

.card:hover .card__mark { transform: translateX(10px); -webkit-text-stroke-color: rgba(255, 90, 20, 0.7); }

.card--tall .card__mark {
  top: 64px;
  left: 18px;
  font-size: clamp(4.5rem, 7vw, 6rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.card--tall:hover .card__mark { transform: rotate(180deg) translateY(10px); }
.card.has-img .card__mark { opacity: 0.5; }

.card__body {
  position: relative;
  transform: translateZ(40px);
}

.card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 90, 20, 0.14);
  border: 1px solid rgba(255, 90, 20, 0.3);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}

.card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card--xl h3 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
.card--tall h3 { font-size: 2.3rem; }

.card p { color: rgba(246, 242, 237, 0.72); font-size: 0.98rem; line-height: 1.5; }
.card--xl p { font-size: 1.1rem; max-width: 420px; }

.card.is-hiding { opacity: 0; scale: 0.92; }
.card.is-hidden { display: none; }

/* Tarjeta CTA */
.card--cta {
  justify-content: space-between;
  background: var(--fire-h);
  border-color: transparent;
  color: #0a0a0a;
}

.card--cta::before { background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 14px); }
.card--cta::after { display: none; }

.card--cta h3 { color: #0a0a0a; font-size: 2rem; }
.card--cta p { color: rgba(10, 10, 10, 0.75); font-weight: 500; }

.card--cta .card__arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  transition: transform 0.5s var(--ease);
}

.card--cta:hover .card__arrow { transform: rotate(-45deg) scale(1.1); }
.card--cta:hover { box-shadow: 0 30px 60px -25px rgba(255, 90, 20, 0.8); }

/* =========================================================
   POR QUÉ
   ========================================================= */
.why {
  background:
    radial-gradient(ellipse 50% 50% at 0% 50%, rgba(255, 90, 20, 0.08), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.why__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.why__meter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  font-family: var(--f-display);
}

.why__meter-num { font-size: 3.2rem; line-height: 1; color: var(--orange); min-width: 2ch; }
.why__meter-total { font-size: 1.2rem; color: var(--muted); }

.why__meter-bar {
  position: relative;
  flex: 1;
  max-width: 220px;
  height: 2px;
  background: var(--line-2);
  overflow: hidden;
}

.why__meter-bar i {
  position: absolute;
  inset: 0;
  background: var(--fire);
  transform-origin: 0 50%;
  transform: scaleX(0.2);
  transition: transform 0.6s var(--ease);
}

.why__logo {
  width: 60%;
  max-width: 300px;
  margin-top: 50px;
  opacity: 0.08;
  filter: grayscale(1);
  transition: opacity 0.6s, filter 0.6s;
}

.why__sticky:hover .why__logo { opacity: 0.25; filter: none; }

.why__list { display: grid; gap: 0; }

.why__item {
  position: relative;
  padding: 44px 0 44px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.28;
  transition: opacity 0.6s var(--ease);
}

.why__item:first-child { padding-top: 10px; }

.why__item.is-active { opacity: 1; }

.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease);
}

.why__item.is-active::before { transform: scaleX(1); }

.why__idx {
  display: block;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 12px;
}

.why__item h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why__item p { color: var(--muted); font-size: 1.08rem; max-width: 520px; }

/* =========================================================
   TEXTO GIGANTE
   ========================================================= */
.bigtext {
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
  display: grid;
  gap: 0.5vw;
}

.bigtext__row {
  display: flex;
  gap: 4vw;
  width: max-content;
  font-family: var(--f-display);
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}

.bigtext__row .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

.bigtext__row--fire span:not(.outline) {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bigtext__row--fire .outline { -webkit-text-stroke-color: rgba(255, 90, 20, 0.55); }

/* =========================================================
   QUIZ
   ========================================================= */
.quiz {
  padding-bottom: clamp(60px, 7vw, 90px);
  background:
    radial-gradient(closest-side at 50% 45%, rgba(255, 90, 20, 0.09), transparent);
}

.plans { padding-top: clamp(60px, 7vw, 90px); }

.quiz__options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.goal {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  text-align: center;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
}

.goal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fire-h);
  opacity: 0;
  transition: opacity 0.4s;
}

.goal > * { position: relative; }

.goal .ico {
  width: 52px;
  height: 52px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 90, 20, 0.12);
  color: var(--orange);
  transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease);
}

.goal b {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.goal small { color: var(--muted); font-size: 0.92rem; transition: color 0.4s; }

.goal:hover { transform: translateY(-6px); border-color: rgba(255, 90, 20, 0.5); }
.goal:hover .ico { transform: scale(1.1) rotate(-8deg); }

.goal.is-active {
  border-color: transparent;
  box-shadow: 0 24px 50px -20px rgba(255, 90, 20, 0.8);
  transform: translateY(-6px);
}

.goal.is-active::before { opacity: 1; }
.goal.is-active .ico { background: rgba(0, 0, 0, 0.2); color: #fff; }
.goal.is-active small { color: rgba(255, 255, 255, 0.85); }

.quiz__result {
  position: relative;
  min-height: 260px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}

.quiz__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  color: var(--muted);
  font-family: var(--f-cond);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz__empty img { width: 90px; opacity: 0.25; filter: grayscale(1); animation: float 4s ease-in-out infinite; }

.quiz__panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  animation: panelIn 0.7s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.quiz__panel h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 10px 0 14px;
}

.quiz__panel p { color: var(--muted); font-size: 1.08rem; margin-bottom: 26px; }

.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.quiz__recs { display: grid; gap: 10px; }

.quiz__rec {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(30px);
  animation: recIn 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.15s);
}

.quiz__rec span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--fire-h);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
}

@keyframes recIn { to { opacity: 1; transform: none; } }

/* =========================================================
   PLANES
   ========================================================= */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 50%, #0c0c0c);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 0.9s var(--ease);
}

.plan:hover { border-color: rgba(255, 90, 20, 0.45); }

.plan__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 90, 20, 0.16), transparent 45%);
  pointer-events: none;
}

.plan--featured {
  border: 0;
  background: #0f0f0f;
  box-shadow: 0 40px 80px -40px rgba(255, 90, 20, 0.6);
}

.plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), #ff5a14, #ffb347, #e74c10, #a72107, #ff5a14);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 5s linear infinite;
}

@keyframes rotateBorder { to { --angle: 360deg; } }

.plan__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fire-h);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan__name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ember);
}

.plan__price {
  margin: 16px 0 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.plan__price small {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.plan__list {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.plan__list li {
  position: relative;
  padding-left: 32px;
  color: rgba(246, 242, 237, 0.85);
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 90, 20, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ff8a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #0a0a0a;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.06) 0 18px, transparent 18px 36px),
    radial-gradient(circle at 80% 20%, #ffb347 0%, transparent 45%),
    var(--fire-h);
  background-size: 200% 200%, 100% 100%, 100% 100%;
  animation: stripes 20s linear infinite;
}

@keyframes stripes { to { background-position: 100% 100%, 0 0, 0 0; } }

.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 900px;
}

.cta-band h2 em { font-style: normal; color: #fff; }

/* =========================================================
   FORMULARIO
   ========================================================= */
.signup {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(255, 90, 20, 0.1), transparent 70%);
}

.signup__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.checks { display: grid; gap: 14px; margin: 34px 0 38px; }

.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.checks .ico {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--fire-h);
  color: #fff;
}

.signup__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
}

.link-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--wa-2);
  transition: color 0.3s;
}

.link-wa:hover { color: #fff; }

.form-wrap {
  position: relative;
  border-radius: 26px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), rgba(255, 90, 20, 0.9), rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 179, 71, 0.9) 75%, rgba(255, 255, 255, 0.06) 90%, rgba(255, 90, 20, 0.9));
  animation: rotateBorder 6s linear infinite;
  box-shadow: 0 50px 100px -50px rgba(255, 90, 20, 0.55);
}

.form {
  position: relative;
  border-radius: 25px;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 90, 20, 0.12), transparent 45%),
    #0e0e0e;
}

.form__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 28px;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field input,
.field select {
  width: 100%;
  height: 62px;
  padding: 24px 18px 8px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.field select option { background: #141414; color: var(--text); }

.field--select::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ember);
  border-bottom: 2px solid var(--ember);
  transform: rotate(45deg);
  pointer-events: none;
}

.field label {
  position: absolute;
  left: 19px;
  top: 20px;
  color: var(--muted);
  font-size: 1.02rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.3s var(--ease), color 0.3s;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange);
  background: rgba(255, 90, 20, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 90, 20, 0.12);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label,
.field label.is-fixed {
  transform: translateY(-12px) scale(0.78);
  color: var(--ember);
}

.field__err {
  display: block;
  max-height: 0;
  overflow: hidden;
  font-size: 0.85rem;
  color: #ff7b5c;
  transition: max-height 0.3s, margin 0.3s;
}

.field.is-invalid input,
.field.is-invalid select { border-color: #ff5c39; animation: shake 0.4s; }

.field.is-invalid .field__err { max-height: 40px; margin-top: 6px; }

@keyframes shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.chips {
  margin: 6px 0 26px;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips legend {
  width: 100%;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.chip { position: relative; }

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.chip:hover span { border-color: var(--orange); }
.chip input:checked + span { background: var(--fire-h); border-color: transparent; transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }

.form__legal {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form__success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 0;
  text-align: center;
  animation: panelIn 0.7s var(--ease);
}

.form__success[hidden] { display: none; }

.form__success h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.form__success p { color: var(--muted); max-width: 380px; margin-bottom: 10px; }

.success__icon svg {
  width: 96px;
  height: 96px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(255, 90, 20, 0.6));
}

.success__icon circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 0.8s var(--ease) forwards; }
.success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease) 0.6s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Confetti */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 14px;
  z-index: 9999;
  pointer-events: none;
  border-radius: 2px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq .section__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
.faq .section__head .btn { margin-top: 30px; }

.faq__list { display: grid; gap: 12px; }

.faq__item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s, background-color 0.35s;
}

.faq__item[open] { border-color: rgba(255, 90, 20, 0.45); background: #151210; }

.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary i {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), background-color 0.35s, border-color 0.35s;
}

.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: currentColor;
  border-radius: 2px;
}

.faq__item summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }

.faq__item[open] summary i { transform: rotate(180deg); background: var(--orange); border-color: var(--orange); }
.faq__item[open] summary i::after { transform: rotate(0deg); }

.faq__a { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; color: var(--muted); }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location { padding-top: 0; }

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.location__card {
  padding: clamp(30px, 4vw, 50px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 90, 20, 0.14), transparent 50%),
    var(--surface);
}

.location__card .section__title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }

.info { display: grid; gap: 22px; margin: 30px 0 34px; }

.info li { display: flex; gap: 16px; align-items: flex-start; }

.info .ico {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 90, 20, 0.12);
  color: var(--orange);
}

.info b {
  display: block;
  font-family: var(--f-cond);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 2px;
}

.info span,
.info a { color: var(--text); font-size: 1.05rem; line-height: 1.45; }
.info a:hover { color: var(--orange); }

.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.location__map {
  position: relative;
  min-height: 460px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.95) brightness(0.95);
  transition: filter 0.6s;
}

.location__map:hover iframe { filter: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg), #040404);
}

.footer__big {
  font-family: var(--f-display);
  font-size: 21vw;
  line-height: 0.82;
  text-align: center;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 90, 20, 0.28);
  background: linear-gradient(to top, rgba(255, 90, 20, 0.25), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  margin-bottom: 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 300px; }

.footer__col { display: grid; align-content: start; gap: 10px; }

.footer__col h4 {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 6px;
}

.footer__col a { color: rgba(246, 242, 237, 0.75); transition: color 0.3s, transform 0.3s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(4px); }

.socials { display: flex; gap: 10px; }

.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.socials a:hover { background: var(--orange); border-color: var(--orange); transform: none; }
.socials svg { width: 22px; height: 22px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.to-top:hover { color: var(--orange); }

/* =========================================================
   WHATSAPP FLOTANTE + BARRA MÓVIL
   ========================================================= */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: opacity 0.5s, transform 0.6s var(--ease);
  pointer-events: none;
}

.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.wa-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa-2);
  color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.4s var(--ease);
}

.wa-float__btn:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float__btn svg { width: 34px; height: 34px; }

.wa-float__btn::before,
.wa-float__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-2);
  animation: waRing 2.4s ease-out infinite;
}

.wa-float__btn::after { animation-delay: 1.2s; }

@keyframes waRing {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.8); opacity: 0; }
}

.wa-float__bubble {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 290px;
  padding: 16px 18px;
  margin-bottom: 8px;
  border-radius: 16px 16px 4px 16px;
  background: #f6f2ed;
  color: #151515;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  transform-origin: 100% 100%;
  transition: opacity 0.4s, transform 0.5s var(--ease);
  pointer-events: none;
}

.wa-float__bubble.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.wa-float__bubble img {
  width: 40px;
  height: 40px;
  padding: 6px;
  object-fit: contain;
  border-radius: 50%;
  background: #0a0a0a;
}

.wa-float__bubble b { display: block; font-size: 0.9rem; color: #000; }

.wa-float__close {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.mobile-bar { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav__links a { padding: 8px 10px; font-size: 0.92rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quiz__options { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__visual { order: -1; width: min(420px, 82vw); margin: 0 auto -10px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions,
  .hero__proof { justify-content: center; }
  .hero__proof li { text-align: left; }
  .hero__scroll { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }

  .why__inner,
  .signup__inner,
  .faq__inner,
  .location__inner { grid-template-columns: 1fr; }

  .why__sticky,
  .faq .section__head { position: relative; top: 0; }
  .why__logo { display: none; }
  .why__item { opacity: 1; }

  .quiz__panel { grid-template-columns: 1fr; }

  .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .location__map { min-height: 360px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 76px; }

  .hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero__chip { font-size: 0.82rem; padding: 9px 12px; }
  .hero__chip .ico { width: 24px; height: 24px; padding: 4px; }
  .hero__chip--a { left: -2%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: 14px 22px; }
  .hero__proof b { font-size: 1.5rem; }
  .hero__proof small { font-size: 0.75rem; }

  .marquee { padding: 16px 0; }

  .stat { padding: 28px 18px; }
  .stat p { display: none; }

  .filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .filter { padding: 11px 8px; font-size: 0.85rem; }

  .cards { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .card--xl { grid-column: auto; grid-row: span 2; }
  .card--tall { grid-row: span 1; }
  .card--tall .card__icon,
  .card--xl .card__icon { width: 70px; height: 70px; }

  .quiz__options { grid-template-columns: repeat(2, 1fr); }
  .quiz__options .goal:last-child { grid-column: 1 / -1; }
  .goal { padding: 20px 12px; }

  .footer__inner { grid-template-columns: 1fr; }

  .wa-float { display: none; }

  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 900;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line-2);
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(150%);
    transition: transform 0.6s var(--ease);
  }

  .mobile-bar.is-visible { transform: none; }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    border-radius: 11px;
    font-family: var(--f-cond);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--wa);
    color: #fff;
  }

  .mobile-bar a.is-primary { background: var(--fire-h); }
}

/* Accesibilidad: menos movimiento */
@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,
  .split .w > span,
  .hero__title .line__in { opacity: 1; transform: none; }
}
