/* ==================================================================== */
/*  CROSS GRIND CHILE — ESTILOS URBANOS                                  */
/*  Negro + verde neón · asfalto, spray, grano y cintas street          */
/* ==================================================================== */

:root {
  --bg:        #0a0a0a;
  --bg-alt:    #101010;
  --surface:   #161616;
  --border:    #2a2a2a;
  --green:     #b9ff00;
  --green-dk:  #93cc00;
  --red:       #e23b34;
  --white:     #f4f4f0;
  --gray:      #a3a3a3;
  --gray-dk:   #6b6b6b;

  --font-display: 'Anton', 'Barlow Condensed', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  --maxw: 1160px;
  --radius: 3px;

  /* Grano / ruido reutilizable */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------------------------- Reset ------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
}

/* Grano global sutil sobre toda la página */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.05;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.highlight { color: var(--green); }

/* --------------------------- Tipografía ---------------------------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.5vw, 3.9rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Eyebrow tipo CINTA / sticker inclinado */
.eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: #0a0a0a;
  background: var(--green);
  padding: 5px 16px;
  margin-bottom: 20px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  clip-path: polygon(2% 0, 100% 4%, 98% 100%, 0 96%);
}

.section-lead { color: var(--gray); font-size: 1.08rem; max-width: 640px; margin-top: 18px; }

/* ----------------------------- Botones ----------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  padding: 14px 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green);
  color: #0a0a0a;
  box-shadow: 4px 4px 0 rgba(0,0,0,.55);
}
.btn-primary:hover { transform: translate(-1px,-2px); box-shadow: 6px 8px 26px rgba(185,255,0,.35); }

.btn-ghost { background: transparent; color: var(--white); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-small { padding: 10px 22px; font-size: .9rem; background: transparent; border-color: var(--green); color: var(--green); }
.btn-small:hover { background: var(--green); color: #0a0a0a; }

.btn-lg { padding: 18px 44px; font-size: 1.2rem; }

/* ------------------- Franja de precaución (divisor animado) -------- */
.stripe {
  height: 16px;
  background: repeating-linear-gradient(45deg, var(--green) 0 22px, #0a0a0a 22px 44px);
  background-size: 62px 62px;
  opacity: .9;
  animation: stripeMove 2.4s linear infinite;
}
@keyframes stripeMove { to { background-position: 62px 0; } }

/* ---------------------- Ticker / marquee --------------------------- */
.marquee {
  background: var(--green);
  color: #0a0a0a;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 3px solid #0a0a0a;
  border-bottom: 3px solid #0a0a0a;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  will-change: transform;
  animation: marquee 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 2px;
}
.marquee span::after { content: "✦"; margin-left: 40px; color: #0a0a0a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------- Reveal al hacer scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .34s; }

/* ==================================================================== */
/*  HEADER                                                              */
/* ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,9,.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--green);
  transition: box-shadow .3s ease, background .3s ease;
}
/* Sticky siempre visible: al hacer scroll "baja" con una entrada deslizante */
.site-header.scrolled {
  box-shadow: 0 6px 26px rgba(0,0,0,.55), 0 2px 0 rgba(185,255,0,.25);
  animation: headerDrop .4s cubic-bezier(.2,.7,.2,1);
}
@keyframes headerDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .3s ease; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  color: var(--white);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: #0a0a0a !important;
  padding: 9px 20px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
}
.nav-cta:hover { transform: translate(-1px,-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--white); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==================================================================== */
/*  HERO — asfalto + spray                                              */
/* ==================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,7,7,.95) 0%, rgba(7,7,7,.82) 34%, rgba(7,7,7,.45) 66%, rgba(7,7,7,.72) 100%),
    radial-gradient(circle at 80% 30%, rgba(185,255,0,.16), transparent 46%),
    url("../assets/photos/skate-7.jpg") center/cover no-repeat;
  background-color: #080808;
}
/* textura de concreto / asfalto */
.hero-overlay {
  position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .10;
  pointer-events: none;
}
/* spray verde decorativo detrás (flotando + girando lento) */
.hero::after {
  content: "";
  position: absolute;
  top: -60px; right: -40px;
  width: 420px; height: 420px;
  background: url("../assets/splatter.svg") no-repeat center/contain;
  opacity: .12;
  pointer-events: none;
  z-index: 1;
  animation: floatSpin 18s ease-in-out infinite;
}
@keyframes floatSpin {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(26px) rotate(12deg); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content { flex: 1 1 auto; max-width: 640px; }
.hero-logo-wrap { flex: 0 0 auto; display: flex; justify-content: center; position: relative; }
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background: radial-gradient(ellipse at center, rgba(7,7,7,.78) 0%, rgba(7,7,7,.35) 55%, transparent 72%);
  z-index: -1;
}
.hero-logo {
  height: auto;
  width: clamp(260px, 32vw, 440px);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.85));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* Entrada escalonada del contenido del hero */
.hero-content > *, .hero-logo-wrap { opacity: 0; animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-kicker    { animation-delay: .05s; }
.hero-title     { animation-delay: .18s; }
.hero-text      { animation-delay: .34s; }
.hero-actions   { animation-delay: .48s; }
.hero-slogan    { animation-delay: .62s; }
.hero-logo-wrap { animation-delay: .3s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0a0a0a;
  background: var(--green);
  font-weight: 700;
  font-size: .95rem;
  padding: 5px 14px;
  margin-bottom: 22px;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
}
.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3.2rem, 13vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: 1px;
}
.hero-title .line { display: block; }
/* Segunda línea como TRAZO de marcador verde */
.hero-title .highlight {
  display: inline-block;
  color: #0a0a0a;
  background: var(--green);
  padding: 0 .12em 0.06em;
  transform: skewX(-6deg);
  box-shadow: 6px 6px 0 rgba(0,0,0,.5);
  text-shadow: none;
}
.hero-text { max-width: 560px; color: var(--gray); font-size: 1.2rem; margin: 30px 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-slogan {
  margin-top: 42px;
  font-family: var(--font-cond);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-dk);
}
.hero-slogan::before { content: "// "; color: var(--green); }

/* ==================================================================== */
/*  SECCIONES                                                           */
/* ==================================================================== */
.section { padding: 92px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(circle at 85% 15%, rgba(185,255,0,.05), transparent 40%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .06;
  pointer-events: none;
}

/* ------------------------ Misión / Visión -------------------------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 34px 30px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
/* esquina cortada estilo sticker */
.mv-card { clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%); }
.mv-card:hover { border-color: var(--green); transform: translateY(-4px); }
.mv-icon { font-size: 2.2rem; margin-bottom: 12px; }
.mv-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--green);
}
.mv-card p { color: var(--gray); }

/* ----------------------------- Valores ----------------------------- */
.values { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.value {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.05rem;
  padding: 10px 22px;
  border: 2px solid var(--border);
  background: var(--surface);
  transform: rotate(-1deg);
}
.value:nth-child(even) { transform: rotate(1deg); }
.value span { color: var(--green); margin-right: 6px; }

/* ==================================================================== */
/*  CLASES                                                              */
/* ==================================================================== */
.classes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.class-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 34px 30px 34px 34px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.section-alt .class-card { background: var(--surface); }
.class-card:hover { border-color: var(--green); transform: translateY(-3px); }
.class-card::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--green); }
/* número marca de agua */
.class-card::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 160px; height: 160px;
  background: url("../assets/splatter.svg") no-repeat center/contain;
  opacity: .05;
}
.class-day {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .85rem;
  color: #0a0a0a;
  background: var(--green);
  padding: 4px 16px;
  margin-bottom: 14px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,.5);
}
.class-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 6px; }
.class-place { color: var(--green); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.class-list { margin-bottom: 24px; }
.class-list li { color: var(--gray); padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--border); }
.class-list li::before { content: "▸"; color: var(--green); position: absolute; left: 4px; font-weight: 700; }
.class-list li.more {
  color: var(--green);
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: none;
}
.class-list li.more::before { content: "★"; }
.classes-note { margin-top: 42px; text-align: center; color: var(--gray); font-size: 1.15rem; }
.classes-note strong { color: var(--white); }

/* ==================================================================== */
/*  PROFESOR                                                            */
/* ==================================================================== */
.teacher { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.teacher-photo {
  border: 3px solid var(--green);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
  box-shadow: 12px 12px 0 rgba(185,255,0,.14);
  transform: rotate(-1.5deg);
  cursor: zoom-in;
  transition: transform .3s ease;
  max-width: 420px;
}
.teacher-photo:hover { transform: rotate(0deg) scale(1.02); }
.teacher-photo img { width: 100%; height: auto; display: block; }
.teacher-tag {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-top: 10px;
}
.teacher-points { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.teacher-points li { padding-left: 30px; position: relative; color: var(--gray); font-size: 1.05rem; }
.teacher-points li::before { content: "✔"; color: var(--green); position: absolute; left: 0; font-weight: 700; }
.teacher-points strong { color: var(--white); }
.teacher-quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  font-family: var(--font-cond);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
}

/* ==================================================================== */
/*  PARTNERS                                                            */
/* ==================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  min-height: 130px;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease, border-color .25s ease;
}
.partner:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
  border-color: var(--green);
}
.partner img { max-height: 60px; width: auto; }
.partners-cta { text-align: center; margin-top: 34px; color: var(--gray); font-size: 1.05rem; }
.partners-cta a { color: var(--green); font-weight: 700; text-decoration: underline; }

/* ==================================================================== */
/*  GRILLA DE FICHAS (trading cards 3D con brillo)                      */
/* ==================================================================== */
.riders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 52px;
  perspective: 1100px;
}
.rider-card {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;             /* mismo marco para todas -> filas alineadas */
  overflow: hidden;
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b0b0b;             /* fondo oscuro para el sobrante (se mezcla con la ficha) */
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.rider-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;            /* ficha completa, sin recortar el diseño */
  display: block;
  pointer-events: none;
}
/* Brillo/holograma que sigue el cursor */
.rider-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 42%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.rider-card:hover { box-shadow: 0 26px 55px rgba(0,0,0,.6); border-color: var(--green); }
.rider-card:hover::after { opacity: 1; }
.rider-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 12px 12px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .9rem;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(5,5,5,.92));
  border-radius: 0 0 10px 10px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.rider-card:hover figcaption { opacity: 1; }

/* ---- Tarjetas de Instagram (mismo diseño, foto cuadrada estilo IG) ---- */
.ig-card { aspect-ratio: 1 / 1; cursor: pointer; }
.ig-card img { object-fit: cover; }
/* Ícono de Instagram que aparece al pasar el mouse */
.ig-card::before {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.8));
  opacity: 0;
  transition: opacity .3s ease;
}
.ig-card:hover::before { opacity: 1; }
.ig-loading, .ig-fallback { grid-column: 1 / -1; text-align: center; color: var(--gray); padding: 24px; }
.ig-fallback { display: block; }
.ig-fallback p { margin-bottom: 14px; font-size: 1.05rem; }

/* ==================================================================== */
/*  LIGHTBOX                                                            */
/* ==================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;            /* respeta la barra del navegador en móvil */
  z-index: 300;
  display: none;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(4px);
}
.lightbox.open { display: block; animation: fadeIn .25s ease; }
/* Centrado a prueba de balas: absolute + inset:0 + margin:auto */
.lightbox img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 90vw;
  max-height: 82vh;
  max-height: 82dvh;                    /* viewport real en móvil */
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.lightbox-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; line-height: 1;
  color: #0a0a0a; background: var(--green);
  border: none; border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
/* Bloquear scroll del fondo cuando el modal está abierto */
body.no-scroll { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 600px) {
  .lightbox { padding: 14px; }
}

/* ==================================================================== */
/*  INSTAGRAM                                                           */
/* ==================================================================== */
.ig-block { margin-top: 60px; }
.ig-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-align: center;
}
.instagram-embed { margin-top: 28px; min-height: 200px; }
.ig-placeholder { border: 2px dashed var(--border); padding: 60px 24px; text-align: center; color: var(--gray); }
.ig-placeholder p { margin-bottom: 18px; font-size: 1.1rem; }

/* ==================================================================== */
/*  FAQ (acordeón)                                                      */
/* ==================================================================== */
.faq { margin-top: 44px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--green); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 1.12rem;
  color: var(--white);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
/* Indicador +/- */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--green);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--gray); }
.faq-answer p { line-height: 1.65; }
.faq-answer strong { color: var(--white); }
.faq-answer a { color: var(--green); font-weight: 600; text-decoration: underline; }

/* ==================================================================== */
/*  CTA CONTACTO                                                        */
/* ==================================================================== */
.cta-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(185,255,0,.14), transparent 55%),
    var(--bg);
  text-align: center;
  position: relative;
}
.cta-section::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .06; pointer-events: none;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .section-lead { margin: 20px 0 34px; text-align: center; }

/* ==================================================================== */
/*  FOOTER                                                              */
/* ==================================================================== */
.site-footer { background: #050505; border-top: 2px solid var(--green); padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer-logo { height: 60px; width: auto; }
.footer-slogan { font-family: var(--font-cond); font-style: italic; text-transform: uppercase; letter-spacing: 2px; color: var(--green); font-weight: 700; }
.footer-social { display: flex; gap: 24px; }
.footer-social a { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); transition: color .2s ease; }
.footer-social a:hover { color: var(--green); }
.footer-copy { color: var(--gray-dk); font-size: .85rem; margin-top: 6px; }
.photo-credits { margin-top: 10px; max-width: 620px; color: var(--gray-dk); font-size: .78rem; }
.photo-credits summary { cursor: pointer; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-cond); }
.photo-credits ul { margin-top: 8px; line-height: 1.5; }
.photo-credits code { color: var(--green); }

/* ==================================================================== */
/*  WHATSAPP FLOTANTE                                                   */
/* ==================================================================== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 14px 18px; border-radius: 50px;
  box-shadow: 0 8px 26px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); }
  50%     { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 14px rgba(37,211,102,0); }
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
.whatsapp-label { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; }

/* ==================================================================== */
/*  RESPONSIVE                                                          */
/* ==================================================================== */
@media (max-width: 860px) {
  .mv-grid, .classes-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .riders-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .teacher { grid-template-columns: 1fr; gap: 40px; }
  .teacher-photo { max-width: 340px; margin: 0 auto; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 74px; right: 0;
    width: min(78vw, 320px); height: calc(100vh - 74px);
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--bg-alt); border-left: 2px solid var(--green);
    padding: 30px 28px; z-index: 99;
    overflow-y: auto;
    /* Oculto con fade + leve deslizamiento (NO sale por el costado -> sin scroll lateral) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { font-size: 1.3rem; padding: 8px 0; width: 100%; }
  .nav-cta { margin-top: 12px; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 24px; text-align: left; }
  .hero-content { max-width: 100%; }
  .hero-logo-wrap { align-self: center; }
  .hero-logo { width: clamp(220px, 60vw, 320px); }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero { min-height: 82vh; }
  .hero-logo { width: clamp(180px, 66vw, 260px); }
  .riders-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .whatsapp-label { display: none; }
  .whatsapp-float { padding: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-inner > * { opacity: 1 !important; }
}
