*, *::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;
}
