/* =====================================================================
   WORLD GYM CLUB — styles.css
   Paleta tomada del logo: negro, verde lima (#6cc04a) y rojo (#c8102e)
   ===================================================================== */

:root {
  color-scheme: dark;
  --black: #050605;
  --bg: #0a0b0a;
  --bg-2: #0e100e;
  --surface: #141714;
  --surface-2: #1b1f1b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --green: #6cc04a;
  --green-2: #8ee06a;
  --green-dark: #3f8a28;
  --green-glow: rgba(108, 192, 74, 0.45);
  --red: #c8102e;
  --red-2: #ea2a48;
  --red-glow: rgba(200, 16, 46, 0.45);

  --white: #f4f6f2;
  --text: #d6dbd3;
  --muted: #98a094;

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --promo-h: 40px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open, body.is-loading, body.lightbox-open { overflow: hidden; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--green); color: var(--black); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografía base ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.92; text-transform: uppercase; color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.section-tag::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.section-head--center .section-tag::after { content: ""; width: 28px; height: 2px; background: var(--green); }
.section-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; font-size: clamp(42px, 6vw, 76px); color: var(--white); }
.section-title em { font-style: normal; color: var(--green); }
.section-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 60ch; }
.section-head--center .section-sub { margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 130px); position: relative; }
.section--alt { background: var(--bg-2); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--green); --btn-color: var(--black);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em; line-height: 1;
  color: var(--btn-color); background: var(--btn-bg);
  border: 1.5px solid transparent;
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { translate: 0 -3px; }
.btn--primary { box-shadow: 0 10px 30px -8px var(--green-glow); }
.btn--primary:hover { box-shadow: 0 18px 40px -10px var(--green-glow); background: var(--green-2); }
.btn--red { --btn-bg: var(--red); --btn-color: #fff; box-shadow: 0 10px 30px -8px var(--red-glow); }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { --btn-bg: transparent; --btn-color: var(--white); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--wa { --btn-bg: rgba(37, 211, 102, 0.12); --btn-color: #35e07a; border-color: rgba(37, 211, 102, 0.35); }
.btn--wa:hover { background: #25d366; color: var(--black); border-color: #25d366; box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.6); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 20px 38px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 28px; width: min(320px, 70vw); }
.preloader__logo { width: 180px; filter: drop-shadow(0 0 30px var(--green-glow)); animation: pulse-logo 1.6s ease-in-out infinite; }
.preloader__bar { width: 100%; height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 99px; overflow: hidden; }
.preloader__fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 20px var(--green-glow); }
.preloader__meta { display: flex; justify-content: space-between; width: 100%; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.12em; color: var(--muted); }
.preloader__count { color: var(--green); }
@keyframes pulse-logo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
html:not(.js) .preloader { display: none; }

/* ---------- Cursor personalizado ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cursor { width: 40px; height: 40px; border: 1.5px solid #fff; transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, opacity 0.3s; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; background: #fff; opacity: 0; }
body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }
body.has-cursor .cursor.is-hover { width: 70px; height: 70px; background: rgba(255, 255, 255, 0.15); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none !important; } }

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: linear-gradient(90deg, var(--green), var(--green-2), var(--red)); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- Top: promo + header ---------- */
.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.promo-bar {
  height: var(--promo-h); overflow: hidden;
  background: linear-gradient(90deg, var(--red) 0%, #a30d25 100%);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: height 0.45s var(--ease);
}
.promo-bar__inner { height: var(--promo-h); display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; }
.promo-bar strong { font-weight: 800; }
.promo-bar a { text-decoration: underline; text-underline-offset: 3px; }
.promo-bar__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; opacity: 0.85; }
.promo-bar__close:hover { background: rgba(0, 0, 0, 0.2); opacity: 1; }
.promo-bar__close svg { width: 16px; height: 16px; }
.promo-bar.is-closed, .site-top.is-scrolled .promo-bar { height: 0; }
.promo-bar__inner > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .promo-bar { font-size: 12px; } .promo-bar__inner { justify-content: flex-start; padding-right: 36px; } .promo-bar__inner > a { display: none; } }

.header { position: relative; height: var(--header-h); transition: height 0.4s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(8, 9, 8, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(0, 0, 0, 0.8); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.site-top.is-scrolled .header { --header-h: 68px; }
.site-top.is-scrolled .header::before { opacity: 1; }
.header__inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.logo__img { height: 54px; width: auto; transition: height 0.4s var(--ease); filter: drop-shadow(0 0 14px rgba(108, 192, 74, 0.25)); }
.site-top.is-scrolled .logo__img { height: 46px; }
.logo__text { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.06em; color: var(--white); line-height: 1; }
.logo__text small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.28em; color: var(--green); font-weight: 700; margin-top: 2px; }

.nav__list { display: flex; gap: 6px; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; border-radius: 99px; transition: color 0.3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta, .nav .nav__social { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; z-index: 2; }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.is-active span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__link { padding: 10px 10px; font-size: 13px; }
  .header__actions .btn--wa span { display: none; }
  .header__actions .btn--wa { padding: 12px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .header__actions .btn--primary { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: radial-gradient(120% 80% at 80% 10%, rgba(108, 192, 74, 0.18), transparent 50%), radial-gradient(80% 60% at 10% 90%, rgba(200, 16, 46, 0.18), transparent 50%), var(--black);
    display: grid; align-content: center; justify-items: start; padding: 120px var(--gutter) 60px;
    clip-path: circle(0% at calc(100% - 50px) 50px);
    transition: clip-path 0.8s var(--ease-io);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__link { font-family: var(--font-display); font-size: clamp(40px, 10vw, 64px); padding: 6px 0; color: var(--white); letter-spacing: 0.03em; line-height: 1.05; transform: translateY(30px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s; }
  .nav__link::after { display: none; }
  .nav__link.is-active, .nav__link:hover { color: var(--green); }
  .nav.is-open .nav__link { transform: none; opacity: 1; }
  .nav.is-open .nav__link:nth-child(1) { transition-delay: 0.25s; }
  .nav.is-open .nav__list li:nth-child(2) .nav__link { transition-delay: 0.3s; }
  .nav.is-open .nav__list li:nth-child(3) .nav__link { transition-delay: 0.35s; }
  .nav.is-open .nav__list li:nth-child(4) .nav__link { transition-delay: 0.4s; }
  .nav.is-open .nav__list li:nth-child(5) .nav__link { transition-delay: 0.45s; }
  .nav.is-open .nav__list li:nth-child(6) .nav__link { transition-delay: 0.5s; }
  .nav.is-open .nav__list li:nth-child(7) .nav__link { transition-delay: 0.55s; }
  .nav__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; opacity: 0; transform: translateY(20px); transition: all 0.6s 0.6s var(--ease); }
  .nav.is-open .nav__cta { opacity: 1; transform: none; }
  .nav .nav__social { display: flex; gap: 14px; margin-top: 40px; opacity: 0; transition: opacity 0.6s 0.75s; }
  .nav.is-open .nav__social { opacity: 1; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + var(--promo-h) + 30px); padding-bottom: 120px; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: -5%; z-index: -3; width: 110%; height: 110%; object-fit: cover; object-position: center; filter: saturate(0.55) contrast(1.05) brightness(0.72); transform-origin: center; }
.hero__overlay { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 20% 40%, rgba(108, 192, 74, 0.18), transparent 60%),
    radial-gradient(50% 50% at 85% 20%, rgba(200, 16, 46, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.82) 0%, rgba(5, 6, 5, 0.66) 45%, var(--bg) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: -2; 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: 80px 80px; mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%); }
.hero__particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__outline { position: absolute; left: 0; right: 0; text-align: center; top: 52%; translate: 0 -50%; z-index: -1; font-family: var(--font-display); font-size: clamp(120px, 24vw, 360px); letter-spacing: 0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); white-space: nowrap; pointer-events: none; user-select: none; }

.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__figure-inner { position: relative; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 26px; }
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--green-glow); } 70% { box-shadow: 0 0 0 10px rgba(108, 192, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 192, 74, 0); } }
.hero__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 11.5vw, 150px); line-height: 0.88; letter-spacing: 0.01em; color: var(--white); }
.hero__line { display: block; overflow: hidden; padding: 0.14em 0 0.06em; margin: -0.14em 0 -0.06em; }
.hero__line > span { display: inline-block; will-change: transform; }
html.js .hero__line > span { opacity: 0; }
html.js body.intro-done .hero__line > span { opacity: 1; }
.hero__title em { font-style: normal; color: var(--green); text-shadow: 0 0 40px var(--green-glow); }
.hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero__subtitle { margin-top: 26px; font-size: clamp(16px, 1.5vw, 20px); color: var(--text); max-width: 56ch; }
.hero__subtitle strong { color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 60px); line-height: 1; color: var(--white); }
.stat__num span { color: var(--green); }
.stat__label { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }

.hero__figure { position: absolute; right: clamp(0px, 4vw, 80px); top: 50%; translate: 0 -50%; width: clamp(260px, 32vw, 520px); z-index: 0; pointer-events: none; }
.hero__figure img { width: 100%; filter: drop-shadow(0 0 60px rgba(108, 192, 74, 0.35)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); animation: float 6s ease-in-out infinite; }
.hero__figure::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(108, 192, 74, 0.35), transparent 65%); filter: blur(30px); z-index: -1; animation: glow 4s ease-in-out infinite; }
.hero__ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); animation: spin 40s linear infinite; }
.hero__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 16px var(--red-glow); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1deg); } }
@keyframes glow { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--green), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateY(-100%); animation: scroll-line 2s var(--ease) infinite; }
@keyframes scroll-line { to { transform: translateY(100%); } }

@media (max-width: 1100px) { .hero__figure { opacity: 0.35; right: -10%; } }
@media (max-width: 768px) {
  .hero { padding-bottom: 100px; }
  .hero__figure { width: 70vw; right: -25vw; top: 38%; opacity: 0.22; }
  .hero__stats { gap: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquees { position: relative; z-index: 2; overflow: clip; padding: 20px 0 40px; margin-top: -34px; }
.marquee { position: relative; padding: 18px 0; background: var(--green); color: var(--black); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); z-index: 2; }
.marquee--red { background: var(--red); color: #fff; transform: rotate(1.2deg) scale(1.03); margin-top: -8px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee--red .marquee__track { animation-direction: reverse; animation-duration: 40s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.08em; white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- NOSOTROS ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(0.8); }
.about__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--green); border-radius: var(--radius); z-index: -1; opacity: 0.6; }
.about__media::after { content: ""; position: absolute; width: 60%; height: 60%; right: -10%; bottom: -10%; background: radial-gradient(circle, var(--red-glow), transparent 70%); filter: blur(40px); z-index: -2; }
.about__badge { position: absolute; left: -20px; bottom: 40px; background: var(--black); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-lg); }
.about__badge .num { font-family: var(--font-display); font-size: 52px; line-height: 0.9; color: var(--green); }
.about__badge .txt { font-size: 13px; color: var(--muted); line-height: 1.35; max-width: 120px; }
.about__badge .txt strong { color: var(--white); display: block; }
.about__floating { position: absolute; top: 30px; right: -20px; background: rgba(8, 9, 8, 0.85); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 99px; padding: 10px 18px 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--white); animation: float 5s ease-in-out infinite; }
.about__floating .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.about__floating .ico svg { width: 16px; height: 16px; color: var(--black); }
.about__content p { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.about__content p + p { margin-top: 14px; }
.about__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 30px; }
.about__list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--white); font-size: 15px; }
.about__list svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { margin-inline: 12px; }
  .about__badge { left: -12px; bottom: 24px; padding: 14px 18px; }
  .about__badge .num { font-size: 42px; }
  .about__floating { right: -8px; }
  .about__list { grid-template-columns: 1fr; }
}

/* ---------- FEATURES (por qué elegirnos) ---------- */
.features { position: relative; overflow: clip; }
.features::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(108, 192, 74, 0.12), transparent 65%); filter: blur(20px); pointer-events: none; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: translate 0.5s var(--ease), border-color 0.4s, background 0.4s; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 192, 74, 0.14), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.feature-card:hover { translate: 0 -6px; border-color: rgba(108, 192, 74, 0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14); }
.feature-card__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(108, 192, 74, 0.22), rgba(108, 192, 74, 0.05)); border: 1px solid rgba(108, 192, 74, 0.3); color: var(--green); margin-bottom: 24px; transition: transform 0.5s var(--ease); }
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.08); }
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* ---------- CLASES ---------- */
.classes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.class-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate; cursor: pointer; transform-style: preserve-3d; }
.class-card:nth-child(1), .class-card:nth-child(5) { grid-row: span 1; }
.class-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.7) brightness(0.9); }
.class-card:hover img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.class-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 5, 0.1) 30%, rgba(5, 6, 5, 0.92) 100%); z-index: 1; }
.class-card__body { position: absolute; inset: auto 0 0 0; padding: 28px; z-index: 2; transform: translateY(14px); transition: transform 0.6s var(--ease); }
.class-card:hover .class-card__body { transform: translateY(0); }
.class-card__tag { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: var(--green); color: var(--black); margin-bottom: 14px; }
.class-card__tag--red { background: var(--red); color: #fff; }
.class-card h3 { font-family: var(--font-display); font-size: 38px; letter-spacing: 0.03em; line-height: 0.95; color: var(--white); }
.class-card p { color: var(--text); font-size: 14px; margin-top: 10px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s 0.1s, transform 0.6s 0.1s var(--ease); }
.class-card:hover p { opacity: 1; transform: none; }
.class-card__arrow { position: absolute; top: 20px; right: 20px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); color: var(--white); transition: background 0.4s, color 0.4s, transform 0.6s var(--ease); }
.class-card__arrow svg { width: 20px; height: 20px; }
.class-card:hover .class-card__arrow { background: var(--green); color: var(--black); transform: rotate(45deg); }
@media (max-width: 900px) { .classes__grid { grid-template-columns: repeat(2, 1fr); } .class-card p { opacity: 1; transform: none; } .class-card__body { transform: none; } }
@media (max-width: 520px) { .classes__grid { grid-template-columns: 1fr; } .class-card { aspect-ratio: 4 / 3; } }

/* ---------- PLANES ---------- */
.plans { position: relative; overflow: clip; }
.plans::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(108, 192, 74, 0.1), transparent 60%); pointer-events: none; }
.plans__toggle { display: inline-flex; margin: -20px auto 50px; padding: 5px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.plans__toggle button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color 0.3s; }
.plans__toggle button.is-active { color: var(--black); }
.plans__toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--green); transition: transform 0.5s var(--ease); }
.plans__toggle.is-annual .pill { transform: translateX(100%); }
.plans__toggle .save { margin-left: 6px; font-size: 11px; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 99px; }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 38px 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: translate 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; }
.plan-card:hover { translate: 0 -8px; border-color: var(--line-strong); }
.plan-card--featured { background: linear-gradient(160deg, rgba(108, 192, 74, 0.14), var(--surface) 55%); border-color: rgba(108, 192, 74, 0.55); box-shadow: 0 30px 80px -30px var(--green-glow); }
.plan-card--featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--green), transparent 40%, transparent 60%, var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-card__badge { position: absolute; top: 20px; right: -34px; transform: rotate(45deg); background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; padding: 6px 44px; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
.plan-card__name { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.05em; color: var(--white); }
.plan-card__desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan-card__price { display: flex; align-items: flex-end; gap: 6px; margin: 26px 0 6px; }
.plan-card__price .cur { font-size: 20px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.plan-card__price .amount { font-family: var(--font-display); font-size: 76px; line-height: 0.85; color: var(--white); }
.plan-card__price .per { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.plan-card__old { font-size: 13px; font-weight: 600; color: var(--green); min-height: 20px; }
.plan-card__features { margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan-card__features li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.plan-card__features svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.plan-card__features li.off { color: var(--muted); opacity: 0.55; }
.plan-card__features li.off svg { color: var(--muted); }
.plans__note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14px; }
.plans__note a { color: var(--green); font-weight: 700; }
@media (max-width: 980px) { .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan-card--featured { order: -1; } }

/* ---------- CTA BANNER ---------- */
.cta-banner { position: relative; padding-block: clamp(100px, 14vw, 180px); overflow: clip; isolation: isolate; text-align: center; }
.cta-banner__bg { position: absolute; inset: -20% 0; z-index: -2; width: 100%; height: 140%; object-fit: cover; filter: saturate(0.5) brightness(0.55); }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 5, 0.85), rgba(5, 6, 5, 0.5) 50%, rgba(200, 16, 46, 0.35)); }
.cta-banner__title { font-family: var(--font-display); font-size: clamp(54px, 9vw, 120px); line-height: 0.9; color: var(--white); text-transform: uppercase; }
.cta-banner__title em { font-style: normal; color: var(--green); }
.cta-banner p { margin: 22px auto 0; max-width: 56ch; color: var(--text); font-size: clamp(15px, 1.3vw, 18px); }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.cta-banner__countdown { display: inline-flex; gap: 14px; margin-top: 34px; }
.cta-banner__countdown div { min-width: 72px; padding: 12px 10px; border-radius: 14px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.cta-banner__countdown b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--green); }
.cta-banner__countdown small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- GALERÍA ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item { position: relative; display: block; border-radius: 16px; overflow: hidden; isolation: isolate; cursor: zoom-in; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.75); }
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 5, 0.75)); opacity: 0; transition: opacity 0.5s; }
.gallery__item:hover::after { opacity: 1; }
.gallery__item span { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-weight: 700; font-size: 14px; color: var(--white); transform: translateY(10px); opacity: 0; transition: all 0.5s var(--ease); }
.gallery__item:hover span { transform: none; opacity: 1; }
.gallery__item .zoom { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(0.6); transition: all 0.5s var(--ease); }
.gallery__item .zoom svg { width: 18px; height: 18px; }
.gallery__item:hover .zoom { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .gallery__item:nth-child(4) { grid-row: span 1; } .gallery__item:nth-child(8) { grid-column: span 2; } }
@media (max-width: 520px) { .gallery__grid { grid-auto-rows: 150px; gap: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); transform: scale(0.92); transition: transform 0.5s var(--ease); object-fit: contain; }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- TESTIMONIOS ---------- */
.testimonials { position: relative; overflow: clip; }
.testimonials__wrap { max-width: 900px; margin-inline: auto; position: relative; }
.testimonials__quote-mark { position: absolute; top: -60px; left: -20px; font-family: var(--font-display); font-size: 260px; line-height: 1; color: rgba(108, 192, 74, 0.1); pointer-events: none; user-select: none; }
.testimonials__track { position: relative; min-height: 320px; }
.testimonial { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0s 0.7s; padding: 40px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; position: relative; }
.testimonial__stars { display: flex; gap: 4px; color: #ffc53d; }
.testimonial__stars svg { width: 20px; height: 20px; }
.testimonial__text { font-size: clamp(18px, 2vw, 24px); line-height: 1.5; color: var(--white); font-weight: 500; }
.testimonial__author { display: flex; align-items: center; gap: 16px; }
.testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; color: var(--black); background: linear-gradient(135deg, var(--green), var(--green-2)); flex: none; }
.testimonial__avatar--red { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; }
.testimonial__name { font-weight: 800; color: var(--white); }
.testimonial__role { font-size: 13px; color: var(--muted); }
.testimonial__result { margin-left: auto; text-align: right; }
.testimonial__result b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--green); }
.testimonial__result small { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.testimonials__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dots button { width: 10px; height: 10px; border-radius: 99px; background: var(--line-strong); transition: width 0.4s var(--ease), background 0.3s; }
.testimonials__dots button.is-active { width: 32px; background: var(--green); }
.testimonials__arrows { display: flex; gap: 10px; }
.testimonials__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--white); transition: background 0.3s, color 0.3s, border-color 0.3s, scale 0.3s; }
.testimonials__arrows button:hover { background: var(--green); border-color: var(--green); color: var(--black); scale: 1.06; }
.testimonials__arrows svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .testimonial { padding: 28px 22px; } .testimonial__result { display: none; } .testimonials__quote-mark { font-size: 160px; top: -40px; } }

/* ---------- HORARIOS + MAPA ---------- */
.schedule__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.schedule__card { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.open-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(200, 16, 46, 0.12); color: var(--red-2); border: 1px solid rgba(200, 16, 46, 0.3); margin-bottom: 24px; align-self: flex-start; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.open-status.is-open { background: rgba(108, 192, 74, 0.12); color: var(--green); border-color: rgba(108, 192, 74, 0.35); }
.schedule__rows { display: grid; }
.schedule__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.schedule__row:last-child { border-bottom: 0; }
.schedule__row .day { font-weight: 700; color: var(--white); }
.schedule__row .time { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.05em; color: var(--green); }
.schedule__row.is-today { position: relative; }
.schedule__row.is-today .day::after { content: "Hoy"; margin-left: 10px; font-size: 10px; letter-spacing: 0.15em; padding: 3px 8px; border-radius: 99px; background: var(--green); color: var(--black); vertical-align: middle; }
.schedule__extra { margin-top: 24px; padding: 18px; border-radius: 14px; background: rgba(108, 192, 74, 0.08); border: 1px dashed rgba(108, 192, 74, 0.35); font-size: 14px; color: var(--text); }
.schedule__extra strong { color: var(--white); }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--surface); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(0.92) contrast(1.1) hue-rotate(180deg) saturate(0.6); }
.map-card__info { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(8, 9, 8, 0.9); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); }
.map-card__info .addr { display: flex; gap: 12px; align-items: center; }
.map-card__info .addr svg { width: 26px; height: 26px; color: var(--red-2); flex: none; }
.map-card__info .addr strong { display: block; color: var(--white); font-size: 15px; }
.map-card__info .addr span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .schedule__grid { grid-template-columns: 1fr; } .schedule__card { padding: 26px; } }
@media (max-width: 600px) { .schedule__row { flex-direction: column; align-items: flex-start; gap: 2px; } .schedule__row .time { font-size: 22px; } }

/* ---------- CONTACTO / FORMULARIO ---------- */
.contact { position: relative; overflow: clip; }
.contact::before { content: ""; position: absolute; left: -200px; bottom: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(200, 16, 46, 0.14), transparent 65%); pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info p { color: var(--muted); margin-top: 18px; max-width: 48ch; }
.contact__list { margin-top: 36px; display: grid; gap: 14px; }
.contact__item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, translate 0.4s var(--ease); }
.contact__item:hover { border-color: rgba(108, 192, 74, 0.4); translate: 6px 0; }
.contact__item .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(108, 192, 74, 0.12); color: var(--green); flex: none; }
.contact__item .ico svg { width: 22px; height: 22px; }
.contact__item .ico--red { background: rgba(200, 16, 46, 0.12); color: var(--red-2); }
.contact__item .ico--wa { background: rgba(37, 211, 102, 0.12); color: #35e07a; }
.contact__item small { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact__item strong { font-size: 15px; color: var(--white); }
.social { display: flex; gap: 12px; margin-top: 30px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--white); transition: all 0.4s var(--ease); }
.social a svg { width: 20px; height: 20px; }
.social a:hover { background: var(--green); border-color: var(--green); color: var(--black); translate: 0 -4px; rotate: -6deg; box-shadow: 0 12px 30px -10px var(--green-glow); }

.form-card { position: relative; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-2), var(--red)); }
.form-card__head h3 { font-family: var(--font-display); font-size: 40px; letter-spacing: 0.03em; color: var(--white); line-height: 1; }
.form-card__head p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.form-card__perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.form-card__perks span { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(108, 192, 74, 0.1); color: var(--green); border: 1px solid rgba(108, 192, 74, 0.25); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--white); font: inherit; font-size: 15px; outline: none; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236cc04a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field select option { background: #111; color: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(108, 192, 74, 0.15); background: var(--black); }
.field input:user-invalid { border-color: var(--red); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.form__consent input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; }
.form__submit { margin-top: 6px; }
.form__alt { text-align: center; font-size: 13px; color: var(--muted); }
.form__alt a { color: #35e07a; font-weight: 700; }
.form__success { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 40px; background: var(--surface); opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.form-card.is-sent .form__success { opacity: 1; pointer-events: auto; }
.form__success .check { width: 90px; height: 90px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 12px rgba(108, 192, 74, 0.15), 0 20px 60px -10px var(--green-glow); animation: pop 0.6s var(--ease) both; }
.form__success .check svg { width: 44px; height: 44px; color: var(--black); }
.form__success h4 { font-family: var(--font-display); font-size: 40px; color: var(--white); line-height: 1; }
.form__success p { color: var(--muted); margin-top: 10px; max-width: 36ch; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: 70px 0 30px; background: var(--black); border-top: 1px solid var(--line); overflow: clip; }
.footer__big { position: absolute; left: 50%; bottom: -3vw; transform: translateX(-50%); font-family: var(--font-display); font-size: clamp(90px, 18vw, 280px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05); white-space: nowrap; pointer-events: none; user-select: none; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer__brand img { height: 110px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 34ch; }
.footer h4 { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.08em; color: var(--white); margin-bottom: 18px; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { color: var(--muted); font-size: 14px; transition: color 0.3s, padding-left 0.3s; }
.footer__links a:hover { color: var(--green); padding-left: 6px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.footer__contact li + li { margin-top: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); position: relative; }
.footer__bottom a { color: var(--text); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 12px; }
.wa-float__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7); transition: transform 0.4s var(--ease); }
.wa-float__btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__btn::before, .wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; }
.wa-float__btn::after { animation-delay: 1.2s; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-float__tip { padding: 10px 16px; border-radius: 14px 14px 4px 14px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(10px); transition: all 0.5s var(--ease); pointer-events: none; }
.wa-float__tip.is-visible { opacity: 1; transform: none; }
.wa-float__tip::after { content: ""; position: absolute; right: -6px; bottom: 0; border: 6px solid transparent; border-left-color: var(--white); border-bottom-color: var(--white); }
.back-top { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--white); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.5s var(--ease); }
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--green); color: var(--black); border-color: var(--green); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .back-top { display: none; } .wa-float { right: 16px; bottom: 16px; } .wa-float__tip { display: none; } }

/* ---------- Utilidades ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.noise { position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

/* ---------- Movimiento reducido ---------- */
@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; }
  html.js .hero__line > span { opacity: 1; }
  .marquee__track { animation: none; }
}
