﻿/* latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/JTUSjIg69CK48gW7PXoo9Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* === variables.css === */
:root {
  /* Colors */
  --bg:           #0A0A0A;
  --surface:      #141414;
  --surface-high: #1F1F1F;
  --red:          #E01E1E;
  --red-hover:    #FF2424;
  --text:         #FFFFFF;
  --text-muted:   #9A9A9A;
  --border:       #2A2A2A;

  /* Atmósfera / glow (reusable: hero, CTAs, acentos) */
  --glow-red:      rgba(224, 30, 30, 0.45);
  --glow-red-soft: rgba(224, 30, 30, 0.16);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-sub:     'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: 80px;
  --container:  1400px;
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }
}


/* === base.css === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Clipea el scroll horizontal del viewport (en el root, donde sí aplica). Evita el
     scroll horizontal de las animaciones AOS fade-left/right antes de animarse.
     'clip' no crea scroll container → no rompe position:sticky. */
  overflow-x: clip;
}

body {
  /* Fondo CONTINUO rojo-bordó → negro, detrás de TODAS las secciones (transparentes) → se
     funden entre sí, sin "costura". Manchas rojas leves repartidas para romper el negro
     plano. SIN background-attachment:fixed → acompaña el scroll (sin parallax). */
  background-color: var(--bg);
  background-image:
    radial-gradient(700px 520px at 12% 13%, rgba(224,30,30,0.10),  transparent 72%),
    radial-gradient(600px 460px at 88% 30%, rgba(224,30,30,0.075), transparent 72%),
    radial-gradient(680px 500px at 24% 54%, rgba(224,30,30,0.065), transparent 72%),
    radial-gradient(620px 470px at 80% 73%, rgba(224,30,30,0.075), transparent 72%),
    radial-gradient(720px 540px at 48% 92%, rgba(224,30,30,0.085), transparent 72%),
    linear-gradient(180deg, #150c0d 0%, #0b0708 42%, #0a0708 72%, #110a0b 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Evita scroll horizontal en mobile (animaciones AOS fade-left/right empujan
     elementos fuera de pantalla). 'clip' no rompe position:sticky como 'hidden'. */
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: 12px;
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

/* Brillo suave que barre al pasar el mouse (en todos los botones) */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 75%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::before { left: 135%; }

.btn-primary {
  background: var(--red);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224, 30, 30, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(224, 30, 30, 0.22);
}

/* TODAS las secciones con color de fondo plano → transparentes, para ver el fondo continuo
   del body sin costuras (en todas las páginas). Solo neutraliza el COLOR de fondo; las
   secciones con gradiente/fuego propio (hero, sedes, CTA, contacto) conservan su imagen. */
section { background-color: transparent !important; }

/* Section spacing */
section {
  padding: var(--section-py) 0;
}

/* Typography helpers */
.section-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 12px;
}


/* === navbar.css === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
}

.navbar-logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar.scrolled .navbar-logo img {
  height: 40px;
}

.navbar-logo:hover img {
  opacity: 0.85;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .navbar-logo img { height: 40px; }
}

.navbar-logo span {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text);
}

.navbar-logo span em {
  color: var(--red);
  font-style: normal;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.navbar-links a:hover {
  color: var(--text);
  transform: scale(1.12);
}

@keyframes draakFlame {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(224, 30, 30, 0.8),
      0 0 10px rgba(224, 30, 30, 0.55),
      0 0 20px rgba(224, 30, 30, 0.2);
  }
  40% {
    text-shadow:
      0 0 6px rgba(255, 60, 50, 0.9),
      0 0 14px rgba(224, 30, 30, 0.6),
      0 0 26px rgba(224, 30, 30, 0.25);
  }
  70% {
    text-shadow:
      0 0 3px rgba(224, 30, 30, 0.85),
      0 0 11px rgba(224, 30, 30, 0.65),
      0 0 22px rgba(224, 30, 30, 0.22);
  }
}

.navbar-links a.active {
  color: var(--text);
  animation: draakFlame 2.8s ease-in-out infinite;
}

.navbar-mobile a.active {
  color: var(--red);
  animation: draakFlame 2.8s ease-in-out infinite;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón de perfil circular */
.navbar-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: none;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-profile-btn:hover {
  border-color: var(--red);
  color: var(--text);
}

.navbar-profile-btn.logged-in {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}

.navbar-profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Mobile hamburger */
/* Las 3 rayitas ocupan 16px: con `padding: 4px` el botón medía 24px de alto, la mitad del
   mínimo táctil, y es la ÚNICA forma de abrir el menú en mobile (de donde viene todo el
   tráfico). El padding lo lleva a 48×44 de área tocable y el margin negativo se lo
   devuelve al layout: sigue ocupando los mismos 32×24 de antes, así que el navbar NO
   cambia de alto y no se mueve nada en pantalla. Verificado con `npm run smoke:mobile`. */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 14px 12px;
  margin: -10px -8px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Abierto: las 3 barras se vuelven una X (afordancia de cerrar tocando la misma hamburguesa) */
.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  /* Arranca debajo de la navbar (la hamburguesa-X vive ahí, z-index 1000): el
     padding-top despeja el área de cierre para que el primer ítem no quede tapado.
     flex-start + overflow-y garantizan que en pantallas chicas igual se acceda a todo. */
  justify-content: flex-start;
  gap: 34px;
  padding: 104px 24px 48px;
  overflow-y: auto;
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.navbar-mobile a:hover {
  color: var(--red);
}

.navbar-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  /* Mantenemos el avatar de perfil visible en mobile (abre el drawer/bottom-sheet).
     Solo ocultamos el botón "Reservar", que ya vive en el menú hamburguesa. */
  .navbar-cta {
    display: flex;
    gap: 10px;
  }
  .navbar-cta .btn {
    display: none;
  }

  /* Más claro y táctil en mobile: avatar relleno con ícono a contraste pleno,
     para que se lea como "perfil" y no se confunda con la hamburguesa.
     (La variante .logged-in sigue ganando: círculo rojo con la inicial.) */
  .navbar-profile-btn {
    width: 44px;
    height: 44px;
    background: var(--surface-high);
    border-color: var(--border);
    color: var(--text);
  }

  .navbar-toggle {
    display: flex;
  }
}


/* === hero.css === */
/* ==========================================================================
   HERO — Editorial tipográfico
   La tipografía es la protagonista sobre un fondo atmosférico generativo
   (aurora roja + grid). La foto de día entra como panel de acento (desktop)
   o backdrop tenue (mobile). Slot de <video> listo: ver index.html.
   Todo respeta prefers-reduced-motion (al final del archivo).
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Fondo atmosférico generativo ---------- */
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Aurora roja: dos blobs radiales que respiran y se desplazan lento */
.hero-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(58% 66% at 22% 32%, rgba(224, 30, 30, 0.28), transparent 100%),
    radial-gradient(50% 58% at 78% 64%, rgba(224, 30, 30, 0.13), transparent 100%);
  transform: translate(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px));
  animation: auroraDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes auroraDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.12); }
}

/* Grid sutil de líneas, desvanecido hacia los bordes con una máscara radial */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 40% 45%, #000 0%, transparent 78%);
          mask-image: radial-gradient(70% 70% at 40% 45%, #000 0%, transparent 78%);
}

/* Viñeta inferior para asentar el hero contra la siguiente sección */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(10, 10, 10, 0.55) 88%, var(--bg) 100%);
}

/* ---------- Layout ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 104px;
  padding-bottom: 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 56px;
}

.hero-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

/* ---------- Tag ---------- */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.hero-tag::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 12px var(--glow-red);
}

/* ---------- Título cinético (reveal por línea, máscara overflow) ---------- */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10.5vw, 96px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-title .hl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em; /* deja respirar descendentes sin recortarlas */
}

.hero-title .hi {
  display: inline-block;
  animation: heroLineUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  will-change: transform, opacity;
}

.hero-title .hl:nth-child(1) .hi { animation-delay: 0.10s; }
.hero-title .hl:nth-child(2) .hi { animation-delay: 0.20s; }
.hero-title .hl:nth-child(3) .hi { animation-delay: 0.30s; }
.hero-title .hl:nth-child(4) .hi { animation-delay: 0.40s; }
.hero-title .hl:nth-child(5) .hi { animation-delay: 0.50s; }

@keyframes heroLineUp {
  from { transform: translateY(112%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-title em {
  color: var(--red);
  font-style: normal;
  text-shadow: 0 0 28px var(--glow-red-soft);
}

/* Palabra rotativa (la anima js/main.js cambiando texto + transform/opacity) */
#hero-cycle {
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* La línea de la palabra rotativa nunca envuelve, aunque la palabra sea larga
   ("resistencia"): así el título no "salta" de renglón al cambiar la palabra. */
.hi-cycle { white-space: nowrap; }

/* ---------- Descripción + secundarios (entran después del título) ---------- */
.hero-rise {
  animation: heroRise 0.7s ease backwards;
}
.hero-rise.d1 { animation-delay: 0.62s; }
.hero-rise.d2 { animation-delay: 0.72s; }
.hero-rise.d3 { animation-delay: 0.82s; }

@keyframes heroRise {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ---------- CTA magnético + glow ---------- */
.btn-magnetic {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(224, 30, 30, 0);
}
.btn-magnetic.btn-primary {
  box-shadow: 0 8px 28px rgba(224, 30, 30, 0.28);
  animation: ctaGlow 3.4s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(224, 30, 30, 0.24); }
  50%      { box-shadow: 0 10px 40px rgba(224, 30, 30, 0.50); }
}

/* ---------- Stats con counters ---------- */
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Foto de acento (panel lateral, desktop) ---------- */
.hero-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  align-self: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transform: translate(calc(var(--px, 0) * -0.6px), calc(var(--py, 0) * -0.6px));
  animation: mediaWipe 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

@keyframes mediaWipe {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Conserva parte del color real de la foto, con un toque de contraste/saturación
     para que igual se sienta cinematográfica y on-brand (no B/N puro). */
  filter: grayscale(0.4) contrast(1.05) brightness(0.9) saturate(1.15);
}

/* Tinte rojo de marca sobre la foto, suave para no matar el color */
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(224, 30, 30, 0.20) 0%, rgba(10, 10, 10, 0.12) 45%, rgba(10, 10, 10, 0.58) 100%);
  mix-blend-mode: multiply;
}

/* Glow rojo difuso detrás del panel */
.hero-media-glow {
  position: absolute;
  inset: -30% -20% -10% -20%;
  z-index: 0;
  background: radial-gradient(70% 70% at 50% 60%, rgba(224, 30, 30, 0.32), transparent 100%);
  pointer-events: none;
}

/* ---------- Scroll indicator ---------- */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.4; transform: scaleY(0.6); }
}

/* ==========================================================================
   MOBILE — hero limpio: sin foto de fondo y sin video
   ========================================================================== */
@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* El panel de medios NO se muestra en mobile: ni foto de fondo ni video. El hero
     queda limpio (fondo de marca + aurora) y el título se lee sobre liso. El reel
     tiene su propia sección abajo (#reel). js/hero.js usa este mismo breakpoint
     para no inyectar el <video>. */
  .hero-media { display: none; }

  .hero-main {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-content { padding-top: 96px; }
  .hero-main { gap: 20px; }
  /* Los 3 stats en UNA sola fila (antes el wrap los partía 2+1) */
  .hero-stats { gap: 12px; margin-top: 34px; flex-wrap: nowrap; justify-content: space-between; }
  .hero-stats > div { flex: 1; min-width: 0; text-align: center; }
  .hero-stat-number { font-size: 40px; }
  .hero-stat-label { font-size: 10px; letter-spacing: 0.6px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   REDUCED MOTION — sin movimiento, todo en su estado final
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora { animation: none; }
  .hero-title .hi,
  .hero-rise,
  .hero-media { animation: none; }
  .btn-magnetic.btn-primary { animation: none; }
  .hero-scroll-line { animation: none; }
}


/* === sections.css === */
/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--bg);
}

.servicios-header {
  text-align: center;
  margin-bottom: 56px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.servicio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.servicio-card-bg {
  width: 100%;
  height: 100%;
  background: var(--surface);
  transition: transform 0.5s ease;
}

/* Placeholder gradients per card */
.servicio-card:nth-child(1) .servicio-card-bg {
  background: linear-gradient(160deg, #1a0a0a 0%, #2d0808 100%);
}
.servicio-card:nth-child(2) .servicio-card-bg {
  background: linear-gradient(160deg, #0a0a1a 0%, #0d1a2d 100%);
}
.servicio-card:nth-child(3) .servicio-card-bg {
  background: linear-gradient(160deg, #0a1a0a 0%, #0d2d1a 100%);
}

.servicio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 60%, transparent 100%);
  transition: opacity 0.3s ease;
}

.servicio-card:hover .servicio-card-bg,
.servicio-card:hover img {
  transform: scale(1.05);
}

.servicio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  z-index: 1;
}

.servicio-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.servicio-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.servicio-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.servicio-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

  .servicio-card {
    aspect-ratio: 4/3;
  }
}


/* ============================================
   POR QUÉ DRAAK
   ============================================ */
.porque {
  background: var(--surface);
}

.porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.porque-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--surface-high);
}

.porque-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0505 0%, #2d0808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.porque-visual-placeholder span {
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(224,30,30,0.15);
  letter-spacing: 4px;
}

.porque-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.porque-accent {
  position: absolute;
  top: 24px;
  left: -12px;
  width: 4px;
  height: 80px;
  background: var(--red);
}

.porque-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.porque-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.porque-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.porque-item-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  min-width: 48px;
  opacity: 0.6;
}

.porque-item-title {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.porque-item-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .porque-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .porque-visual {
    aspect-ratio: 4/5;
  }
}


/* ============================================
   SEDES PREVIEW
   ============================================ */
.sedes-preview {
  background: var(--bg);
}

.sedes-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sede-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.sede-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.sede-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--surface-high);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sede-nombre {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sede-zona {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .sedes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ============================================
   NAV CARDS (Equipo + Merch)
   ============================================ */
.nav-cards {
  background: var(--bg);
  padding: 0;
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.nav-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.nav-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.65);
}

.nav-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.74) 100%);
}

.nav-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.nav-card-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.nav-card-content > * {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.nav-card-tag {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.nav-card-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-card-arrow {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.nav-card:hover .nav-card-arrow {
  color: var(--red);
}

/* Mobile: los tiles quedan LADO A LADO (2 columnas, no apilados) en formato
   vertical 3/4 — la página se acorta y las fotos (retratos) se siguen leyendo */
@media (max-width: 640px) {
  .nav-card {
    aspect-ratio: 3/4;
  }
  .nav-card-content { padding: 16px; gap: 6px; }
  .nav-card-tag { font-size: 10px; letter-spacing: 1.2px; }
  .nav-card-title { font-size: clamp(26px, 8vw, 40px); }
  .nav-card-arrow { font-size: 11px; letter-spacing: 0.6px; }
}


/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--surface);
}

/* La FAQ del Home usa estilo "chat conversacional" (.faq-chat / .chat-msg),
   definido inline en index.html. La de preguntas.html también vive inline en esa
   página. Acá no queda nada: el bloque .faq-inner/.faq-item que había era CSS
   muerto (ninguna pagina lo usaba). */


/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: var(--red);
  padding: 80px 0;
  text-align: center;
}

.cta-final .section-title {
  color: #fff;
  font-size: clamp(36px, 7vw, 72px);
}

.cta-final p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: 16px auto 36px;
  max-width: 480px;
}

.btn-white {
  background: #fff;
  color: var(--red);
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050505;
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
}

.footer-brand-name em {
  color: var(--red);
  font-style: normal;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-col-title {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--red);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
  padding: 0;
  overflow: hidden;
}

.galeria-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
  height: 564px;
}

.galeria-item {
  overflow: hidden;
  position: relative;
}

.galeria-item-tall {
  grid-row: 1 / 3;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.galeria-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    height: 404px;
  }
  .galeria-item-tall {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--surface);
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.contacto-info .section-subtitle {
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(224,30,30,0.08);
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contacto-info {
    position: static;
  }
}


/* ============================================
   PRICING MODAL
   ============================================ */
.pricing-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pricing-overlay.open {
  opacity: 1; pointer-events: all;
}
.pricing-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  max-width: 500px;
  padding: 40px 36px 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.pricing-overlay.open .pricing-modal {
  transform: translateY(0);
}
.pricing-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--surface-high); border: none; border-radius: 50%;
  color: var(--text-muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pricing-close:hover { background: var(--border); color: var(--text); }
.pricing-header { margin-bottom: 28px; }
.pricing-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.pricing-title {
  font-family: var(--font-display);
  font-size: 38px; letter-spacing: 1px; text-transform: uppercase;
  line-height: 1; margin-bottom: 8px;
}
.pricing-subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.pricing-plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.pricing-plan {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}
.pricing-plan:hover { border-color: var(--text-muted); }
.pricing-plan.highlight { border-color: var(--red); }
.pricing-plan.selected {
  border-color: var(--red) !important;
  background: rgba(224,30,30,0.07);
}
.pricing-plan-row { display: flex; align-items: center; gap: 12px; }
.pricing-plan-radio {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}
.pricing-plan:hover .pricing-plan-radio { border-color: var(--text-muted); }
.pricing-plan.selected .pricing-plan-radio { border-color: var(--red); background: var(--red); }
.pricing-plan.selected .pricing-plan-radio::after {
  content: ''; position: absolute;
  inset: 3px; background: #fff; border-radius: 50%;
}
.pricing-plan-left { display: flex; flex-direction: column; gap: 2px; }
.pricing-plan-name {
  font-family: var(--font-sub); font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-plan.highlight .pricing-plan-name { color: var(--red); }
.pricing-plan-detail { font-size: 12px; color: var(--text-muted); }
.pricing-plan-price {
  font-family: var(--font-display); font-size: 24px;
  color: var(--red); letter-spacing: 0.5px; white-space: nowrap;
}
.pricing-actions { display: flex; flex-direction: column; gap: 10px; }
.pricing-actions .btn { text-align: center; justify-content: center; width: 100%; }
.pricing-note {
  font-size: 12px; color: var(--text-muted);
  text-align: center; margin-top: 16px; line-height: 1.5;
}

@media (max-width: 480px) {
  .pricing-modal { padding: 32px 20px 28px; }
  .pricing-title { font-size: 30px; }
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb-overlay.open {
  opacity: 1; pointer-events: all;
}
.lb-img {
  max-width: 92vw; max-height: 86vh;
  object-fit: contain; border-radius: 2px;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  user-select: none;
}
.lb-overlay.open .lb-img {
  transform: scale(1);
}
.lb-close {
  position: absolute; top: 16px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  font-size: 20px; color: rgba(255,255,255,0.6);
  cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.galeria-item { cursor: zoom-in; }
[data-lightbox] { cursor: zoom-in; }


/* === atmosphere.css === */
/* ==========================================================================
   Capa global de atmósfera — grano/ruido "film" reusable en todo el sitio.

   Overlay fijo, no interactivo (pointer-events:none), por encima del contenido
   y por debajo de navbar (1000) / lightbox (9000) / WhatsApp. Es ESTÁTICO a
   propósito: el tráfico es mobile/IG y un grano animado repinta cada frame.
   El SVG (feTurbulence desaturado) va inline como data-URI → 0 requests.
   ========================================================================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* En reduced-motion no hay animación, solo bajamos un toque la intensidad. */
@media (prefers-reduced-motion: reduce) {
  .grain-overlay { opacity: 0.05; }
}

/* ==========================================================================
   Fondos de sección — negro con velo rojo-bordó (estilo del sitio original).
   Las secciones "planas" (fondo negro liso) pasan a un gradiente sutil; alternan
   de lado para dar variación a lo largo de la página. Carga al final → gana en la
   cascada sobre sections.css. (El hero, sedes, CTA y contacto ya tienen su propio
   tratamiento de fuego/aurora y NO se tocan acá.)
   ========================================================================== */
:root {
  --sec-a: radial-gradient(135% 92% at 8% 0%,  rgba(224,30,30,0.16), rgba(224,30,30,0) 46%), linear-gradient(180deg, #190a0c 0%, #0b0708 72%);
  --sec-b: radial-gradient(135% 92% at 92% 0%, rgba(224,30,30,0.14), rgba(224,30,30,0) 48%), linear-gradient(180deg, #1e0f12 0%, #120a0c 74%);
}
.servicios, .nav-cards { background: var(--sec-a); }
.porque, .faq          { background: var(--sec-b); }

/* ===== Galería (carrusel) reusable — portada de sede / producto / comunidad.
   El contenido lo inyecta js/site-config.js leyendo settings/media[key] (array). ===== */
.sede-gallery { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: #0d0809; }
.gal-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gal-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; }
.gal-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-dots { position: absolute; bottom: 9px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 2; }
.gal-dot { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,0.45); transition: background .25s ease; }
.gal-dot.on { background: var(--red); }
.gal-ph { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--font-sub); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; background: radial-gradient(circle at 50% 38%, rgba(224,30,30,0.12), transparent 70%); }


/* === interactions.css === */
/* ==========================================================================
   Interacciones — cursor custom (parallette) + estela neón + tilt/glow cards.
   Se activa por JS (body.cursor-custom) solo en desktop con puntero fino y sin
   prefers-reduced-motion. Si el JS no corre, el cursor del sistema queda intacto.
   ========================================================================== */

/* ---------- Cursor parallette + estela ---------- */
.pcursor, .ptrail { display: none; }

@media (pointer: fine) {
  body.cursor-custom { cursor: none; }
  body.cursor-custom a,
  body.cursor-custom button,
  body.cursor-custom .btn,
  body.cursor-custom [data-tilt],
  body.cursor-custom [role="button"],
  body.cursor-custom [data-href] { cursor: none; }
  /* En campos de texto mantenemos el cursor nativo (escribir se siente natural) */
  body.cursor-custom input,
  body.cursor-custom textarea,
  body.cursor-custom select { cursor: text; }
  /* Links chicos de texto (Instagram, etc.): cursor de mano nativo (mejor legibilidad) */
  body.cursor-custom a.coach-ig,
  body.cursor-custom [data-cursor="native"] { cursor: pointer; }

  body.cursor-custom .pcursor,
  body.cursor-custom .ptrail { display: block; }
}

.ptrail {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
}

.pcursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 54px;
  height: 30px;
  margin-left: -27px;   /* hotspot al centro */
  margin-top: -15px;
  z-index: 9998;
  pointer-events: none;
  transform: translate3d(-200px, -200px, 0);
  color: #FF2A2A;                       /* el SVG usa currentColor; el JS lo adapta al fondo hovereado */
  --pc-glow: rgba(255, 55, 55, 0.85);
  filter: drop-shadow(0 0 5px var(--pc-glow)) drop-shadow(0 0 13px var(--pc-glow));
  transition: opacity 0.2s ease, filter 0.2s ease, color 0.2s ease;
  will-change: transform;
}
.pcursor svg { width: 100%; height: 100%; display: block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
/* Sobre algo clickeable: la parallette SE AGRANDA (no aparece el cursor nativo) */
.pcursor.is-hover {
  filter: drop-shadow(0 0 7px var(--pc-glow)) drop-shadow(0 0 20px var(--pc-glow));
}
.pcursor.is-hover svg { transform: scale(1.55); }
.pcursor.is-hidden { opacity: 0; }

/* ---------- Tilt 3D + glow que sigue al cursor (cards) ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
  will-change: transform;
}

[data-glow] { position: relative; }
[data-glow]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--glow-red-soft), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
[data-glow]:hover::before { opacity: 1; }
[data-glow] > * { position: relative; z-index: 1; }

/* Sin tilt en touch o reduced-motion (neutraliza el transform inline del JS) */
@media (hover: none), (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; }
}

/* ---------- Reveal al entrar al viewport (reemplaza AOS, sin scroll-x) ----------
   data-reveal           → fade-up con máscara de movimiento vertical (no horizontal)
   data-reveal="clip"    → wipe con clip-path (ideal para imágenes)
   data-reveal-delay="…" → stagger (lo setea js/reveal.js en --reveal-delay)        */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
/* El clip-path SOLO le corresponde al wipe. Aplicado a todo [data-reveal] recortaba
   cada elemento revelado a un rectángulo duro: mataba el radio de las esquinas y
   cortaba las sombras/glows que tienen que salir por fuera de la caja. */
[data-reveal="clip"].in {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}
