/* Propuesta visual local: comparte contenidos y funciones con la portada MB Racing. */

.site-header { box-shadow:0 2px 14px rgba(0,0,0,.08); }
.header-inner { max-width:1380px; }
.primary-nav a { font-size:14px; letter-spacing:.025em; }
.header-cta { padding:14px 22px; }

/* La fotografía de la portada conserva el carrusel y ocupa todo el ancho. */
.hero {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:clamp(650px,78vh,840px);
  padding:72px max(5vw,calc((100vw - 1240px)/2));
  background:#111315;
  overflow:hidden;
}
.hero-fotos {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  aspect-ratio:auto;
  background:#111315;
}
.hero .hero-foto { object-fit:cover; object-position:62% center; }
.hero-fotos::after {
  background:linear-gradient(90deg,rgba(10,11,13,.95) 0%,rgba(10,11,13,.83) 27%,rgba(10,11,13,.38) 58%,rgba(10,11,13,.08) 100%),linear-gradient(0deg,rgba(10,11,13,.48),transparent 45%);
}
.hero-contenido { display:block; position:relative; z-index:2; width:min(650px,100%); max-width:none; margin:0; padding:0; }
.hero .etiqueta-hero { color:#ffabad; margin:0 0 28px; font-size:13px; letter-spacing:.24em; }
.hero h1 { color:#fff; font-size:clamp(70px,8.5vw,116px); line-height:.86; margin:0 0 28px; text-shadow:0 2px 24px rgba(0,0,0,.26); }
.hero-sub { color:#f2f2f2; font-size:18px; line-height:1.55; max-width:495px; margin:0 0 32px; }
.hero .acciones { display:flex; gap:16px; }
.hero .btn-primario { min-height:54px; padding:16px 25px; box-shadow:none; }
.hero .btn-borde { min-height:54px; padding:15px 5px; color:#fff; }
.hero-confianza { color:#e1e1e1; margin:30px 0 0; font-size:13px; }
.hero .hero-controles { position:absolute; z-index:4; right:clamp(18px,4vw,58px); bottom:22px; }

/* Ritmo editorial: bloques oscuros, tarjetas claras y acentos MB Racing. */
.franja-trayectoria { background:#141619; border:0; border-bottom:3px solid #d71920; }
.franja-trayectoria .franja-lista { max-width:1260px; padding:38px 24px; }
.franja-trayectoria .franja-lista strong { color:#fff; }
.franja-trayectoria .franja-lista span { color:#c7c9cc; }
.seccion { padding:94px 0 100px; }
.seccion-cabeza { max-width:1160px; text-align:left; margin-bottom:38px; }
.seccion-cabeza .seccion-sub { max-width:650px; margin:0; }
.titulo-seccion { font-size:clamp(44px,5vw,68px); line-height:.95; }
.seccion-cabeza .etiqueta { font-weight:700; }

#testimonios, #rutas, #escuela, #preguntas {
  --tinta:#fff;
  --gris-claro:#d5d7d9;
  --secundario:#d5d7d9;
  --gris-tenue:#b8bdc1;
  --borde:#34373a;
  --borde-solido:#34373a;
  background:#16181b;
  border-color:#323538;
}
#testimonios .etiqueta, #rutas .etiqueta, #escuela .etiqueta, #preguntas .etiqueta { color:#ff979b; }
#testimonios .testimonio { --tinta:#17191c; --secundario:#51565d; background:#fff; border-color:#eee; border-radius:6px; }
#testimonios .tst-tour-nav p { color:#fff; }
#testimonios .tst-tour-nav p span { color:#c5c8ca; }
#testimonios .tst-tour-nav button { background:transparent; color:#fff; border-color:#73787c; }
#testimonios .tst-tour-nav button:hover { background:#d71920; border-color:#d71920; }
#testimonios .tst-tour-nav button:disabled { opacity:.35; }

#como-funciona { background:#f2f2f0; border:0; }
#como-funciona .pasos-clase { gap:14px; }
#como-funciona .pasos-clase li { border:0; border-radius:4px; border-top:3px solid #d71920; padding:30px 24px; }
#como-funciona .paso-numero { color:#bd161f; }
#rutas .rutas-marco { max-width:1200px; }
#rutas .ruta { border-radius:5px; }
#rutas .ruta-link { color:#ffbdc0; }
#rutas .ruta-badge { border-radius:3px; }
#rutas .carrusel-nav button { border-color:#808487; color:#fff; }

#escuela .instructor { gap:clamp(32px,5vw,72px); }
#escuela .instructor-media { border-radius:4px; }
#escuela .puntos h3, #escuela .titulo-seccion { color:#fff; }
#escuela .puntos p, #escuela .nota { color:#d5d7d9; }
#practicas { background:#f2f2f0; }
#practicas .recurso { border:0; border-radius:5px; box-shadow:0 5px 20px rgba(0,0,0,.06); }
#precios { background:#fff; }
#precios .tarifa-col { border-radius:5px; box-shadow:0 5px 24px rgba(0,0,0,.05); }
#precios .tarifa-placa { border-top:3px solid #d71920; }
#clase { background:#f2f2f0; }
#clase .split { border:0; border-radius:5px; }
#preguntas .faq summary { color:#fff; }
#preguntas .faq summary::after { color:#ff979b; }
#preguntas .faq .respuesta p { color:#d5d7d9; }
.site-footer { --negro:#111315; --tinta:#fff; --gris:#d0d2d4; --gris-tenue:#c3c6c9; --borde-linea:#3a3d40; }
.site-footer .footer-lista a:hover { color:#ff979b; }
.site-footer .footer-plate { padding:8px 12px; background:#fff; }

@media(max-width:900px) {
  .hero { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-height:680px; padding:70px 28px 100px; gap:0; }
  .hero-fotos { position:absolute; inset:0; order:0; width:100%; height:100%; margin:0; aspect-ratio:auto; }
  .hero-fotos::after { background:linear-gradient(90deg,rgba(10,11,13,.85),rgba(10,11,13,.3)),linear-gradient(0deg,rgba(10,11,13,.82),rgba(10,11,13,.05) 80%); }
  .hero-contenido { order:0; padding:0; margin:0; width:min(600px,100%); }
  .hero h1 { font-size:clamp(58px,10vw,84px); }
  .hero .hero-controles { right:20px; bottom:18px; }
}
@media(max-width:619px) {
  .hero { min-height:650px; padding:62px 22px 100px; }
  .hero .hero-foto { object-position:60% center; }
  .hero .etiqueta-hero { font-size:11px; margin-bottom:24px; }
  .hero h1 { font-size:clamp(58px,14vw,76px); margin-bottom:24px; }
  .hero-sub { font-size:16px; margin-bottom:26px; }
  .hero .acciones { align-items:flex-start; flex-direction:column; gap:8px; }
  .hero .acciones .btn { flex:none; width:auto; }
  .hero-confianza { margin-top:20px; }
  .seccion { padding:66px 0 72px; }
  .titulo-seccion { font-size:42px; }
  .seccion-cabeza { margin-bottom:28px; }
  .franja-trayectoria .franja-lista { gap:26px 14px; }
}
