/* --- GENERAL --- */
body {
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
  background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
              url('img/fondo-pista.jpg') center/cover no-repeat;
  color: #fff;
  padding-top: 95px; /* espacio para header fijo */
}

h1, h2, h3 {
  text-align: center;
}

a {
  color: #e63946;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- HEADER FIJO --- */
.header-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a0a0a;
  border-bottom: 2px solid #e63946;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

.logo {
  height: 190px;
  width: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 6px #e63946);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px #ff4d4d);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.telefono {
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
}

.btn-reserva {
  background-color: #e63946;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-reserva:hover {
  background-color: #ff4d5a;
  transform: scale(1.05);
}

.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* --- MENÚ LATERAL --- */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px; /* oculto por defecto */
  width: 250px;
  height: 100%;
  background-color: #111;
  transition: left 0.3s ease;
  z-index: 1002; /* 🔹 más alto que el fondo desenfocado */
  padding-top: 85px; /* debajo del header */
  overflow-y: auto; /* 🔹 permite desplazarse si hay muchas opciones */
}

.side-menu.open {
  left: 0; /* visible cuando se abre */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1003; /* 🔹 encima del menú */
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #e63946;
}








/* Fondo desenfocado al abrir */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

/* --- HERO --- */
h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 60px;
}

p {
  font-size: 1.2rem;
  color: #ddd;
  text-align: center;
  margin: 10px auto 20px;
  line-height: 1.6;
}

/* --- SECCIONES --- */
section {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
}

.somos strong,
.simulador strong {
  color: #e63946;
}

/* --- GALERÍA --- */
.galeria {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
}

.eventos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.evento {
  background: #111;
  color: #fff;
  padding: 15px;
  border: 1px solid #e63946;
  border-radius: 8px;
  text-align: center;
}

.evento img {
  width: 90%;
  max-width: 300px;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.evento img:hover {
  transform: scale(1.05);
}

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-contenido {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.cerrar:hover {
  color: #e63946;
}

/* --- Íconos de contacto --- */
.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.contact-icon {
  width: 20px; /* tamaño equilibrado escritorio */
  height: auto;
  margin: 4px;
  vertical-align: middle;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-icon:hover {
  transform: scale(1.15);
  filter: brightness(1.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-icon {
    width: 16px; /* más chico en móviles */
    margin: 3px;
  }
}

/* --- FOOTER --- */

footer {
  background-color: #0a0a0a;
  border-top: 3px solid #e63946;
}


footer a {
  color: #E63946;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff4d5a;
}

.footer-copy {
  color: #AAAAAA;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* --- Ajuste de imágenes del simulador --- */
.simulador img {
  width: 90%;
  max-width: 600px; /* limita el tamaño máximo */
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.simulador img:hover {
  transform: scale(1.05);
}

/* --- Modal del simulador --- */
#modalSimulador .modal-contenido {
  max-width: 90%;
  max-height: 80vh; /* limita la altura al 80% de la pantalla */
  object-fit: contain; /* mantiene proporción sin recortar */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* En móviles */
@media (max-width: 768px) {
  .simulador img {
    max-width: 95%;
  }

  #modalSimulador .modal-contenido {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* --- Galería del simulador (ajuste de tamaño) --- */
.simulador-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* más columnas, imágenes pequeñas */
  gap: 15px;
  justify-items: center;
  margin-top: 20px;
}

.simulador-galeria img {
  width: 100%;
  max-width: 180px; /* tamaño máximo por imagen */
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simulador-galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(230,57,70,0.6);
}

/* --- Modal del simulador --- */
#modalSimulador .modal-contenido {
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .simulador-galeria {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .simulador-galeria img {
    max-width: 140px;
  }

  #modalSimulador .modal-contenido {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* --- Galería del simulador con borde rojo --- */
.simulador-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  justify-items: center;
  margin-top: 20px;
}

.simulador-galeria img {
  width: 100%;
  max-width: 180px; /* tamaño máximo por imagen */
  height: auto;
  border: 2px solid #e63946; /* borde rojo fino */
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simulador-galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(230,57,70,0.6);
}

/* --- Modal del simulador --- */
#modalSimulador .modal-contenido {
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid #e63946; /* borde rojo también en el modal */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .simulador-galeria {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .simulador-galeria img {
    max-width: 140px;
  }

  #modalSimulador .modal-contenido {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* --- Imágenes visibles en la sección del simulador --- */
.simulador img {
  width: 100%;
  max-width: 220px; /* 🔹 tamaño más pequeño */
  height: auto;
  border: 2px solid #e63946; /* borde rojo fino */
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simulador img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(230,57,70,0.6);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .simulador img {
    max-width: 160px; /* 🔹 más chico en móviles */
  }
}

/* --- POR QUÉ ELEGIRNOS --- */
.por-que-elegirnos {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-top: 2px solid #e63946;
}

.por-que-elegirnos h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.por-que-elegirnos h2 span {
  color: #e63946;
}

.ventajas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}

.ventaja {
  background-color: #111;
  border: 1px solid #e63946;
  border-radius: 8px;
  padding: 20px;
  max-width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ventaja:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(230,57,70,0.6);
}

.ventaja img {
  width: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 6px #e63946);
}

.ventaja h3 {
  font-family: 'Rajdhani', sans-serif;
  color: #e63946;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ventaja p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}

/* --- CÓMO FUNCIONA --- */
.como-funciona {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-top: 2px solid #e63946;
}

.como-funciona h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}

.paso {
  background-color: #0a0a0a;
  border: 1px solid #e63946;
  border-radius: 8px;
  padding: 25px;
  max-width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paso:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(230,57,70,0.6);
}

.numero {
  font-size: 2rem;
  color: #e63946;
  display: block;
  margin-bottom: 10px;
}

.paso h3 {
  font-family: 'Rajdhani', sans-serif;
  color: #e63946;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.paso p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ventajas {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }

  .ventaja {
    max-width: 180px;
    padding: 15px;
  }

  .ventaja h3 {
    font-size: 1.1rem;
  }

  .ventaja p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .pasos {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }

  .paso {
    max-width: 180px;
    padding: 15px;
  }

  .paso h3 {
    font-size: 1.1rem;
  }

  .paso p {
    font-size: 0.9rem;
  }
}

.imagen-requisitos {
  display: block;
  margin: 30px auto;
  max-width: 700px;
  width: 90%;
  border: 2px solid #e63946;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(230,57,70,0.6);
  transition: transform 0.3s ease;
}

.imagen-requisitos:hover {
  transform: scale(1.05);
}

table {
  width: 90%;
  margin: 30px auto;
  font-size: 1.1rem;
  border-collapse: collapse;
}

th, td {
  padding: 12px 25px;
  text-align: left;
}

th {
  color: #e63946;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
}

.tabla-packs {
  background-color: #111;
  border: 2px solid #e63946;
  border-radius: 8px;
  padding: 20px;
}

.tabla-packs {
  background-color: #111;
  border: 2px solid #e63946;
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  margin: 30px auto;
}

table {
  width: 100%;
  font-size: 1.1rem;
  border-collapse: collapse;
}

th, td {
  padding: 12px 25px;
  text-align: left;
}

th {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  color: #e63946;
}

tr:hover {
  background-color: #1a1a1a;
  transition: background 0.3s ease;
}

.tabla-packs {
  background-color: #111;
  border: 2px solid #e63946;
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  margin: 30px auto;
}

table {
  width: 100%;
  font-size: 1.1rem;
  border-collapse: collapse;
}

th, td {
  padding: 12px 25px;
  text-align: left;
}

th {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  color: #e63946;
}

tr:hover {
  background-color: #1a1a1a;
  box-shadow: 0 0 12px rgba(230,57,70,0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.side-menu ul li a {
  display: block;
  font-size: 1.2rem; /* 🔹 aumenta el tamaño del texto */
  color: #ff4d4d; /* 🔹 rojo más brillante */
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.side-menu ul li a:hover {
  color: #fff; /* 🔹 blanco al pasar el mouse */
  transform: scale(1.05); /* 🔹 leve aumento visual */
}

.somos {
  background-color: #0a0a0a;
  border-top: 2px solid #e63946;
  padding: 40px 20px;
  text-align: center;
}

.somos h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.somos p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  color: #ccc;
}

.requisitos {
  font-size: 1.1rem; /* tamaño general */
  line-height: 1.6;
}

.requisitos h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.requisitos li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .requisitos {
    font-size: 1rem; /* texto un poco más chico */
    padding: 0 15px; /* margen lateral para que no toque los bordes */
  }

  .requisitos h2 {
    font-size: 1.4rem;
  }

  .requisitos li {
    font-size: 1rem;
  }
}

header img.logo {
  height: 220px;
  width: auto;
  margin-left: 20px; /* opcional para separarlo del borde */
}
@media (max-width: 768px) {
  header img.logo {
    height: 90px;
  }
}

header {
  padding: 5px 0; /* antes 10px o más */
}

header img.logo {
  height: 240px; /* un poco más compacto */
  width: auto;
}

@media (max-width: 768px) {
  header img.logo {
    height: 80px;
  }
}

header {
  padding: 0; /* elimina espacio extra */
}

header img.logo {
  height: 230px; /* más compacto */
}

.banner {
  margin-top: 10px; /* separa ligeramente del header */
}

.banner {
  position: relative;
  background: repeating-linear-gradient(
    45deg,
    #111 0 20px,
    #222 20px 40px
  );
  color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 2px solid #ff2e2e;
  border-bottom: 2px solid #ff2e2e;
  overflow: hidden;
  animation: moveFlag 8s linear infinite; /* velocidad y repetición */
}

@keyframes moveFlag {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.banner h1,
.banner p {
  position: relative;
  z-index: 1;
}

.volver-inicio {
  text-align: center;
  margin: 40px 0;
}

.btn-volver {
  display: inline-block;
  background-color: #ff2e2e;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-volver:hover {
  background-color: #ff5555;
}

/* Imagen normal */
.espacio-requerido {
  width: 100%;
  max-width: 600px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.espacio-requerido:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid #ff2e2e;
  box-shadow: 0 0 20px #ff2e2e;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999; /* 🔺 más alto que el header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
}
.modal-content {
  background: #111;
  border: 2px solid #e60000;
  color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  font-family: 'Arial', sans-serif;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #e60000;
}
.btn-enviar {
  background: #e60000;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
}
.btn-enviar:hover {
  background: #ff1a1a;
}

.modal-content {
  background: #111;
  border: 2px solid #e60000;
  color: #fff;
  margin: 8% auto;
  padding: 30px 25px;
  width: 95%;
  max-width: 500px; /* 🔹 más ancho */
  border-radius: 10px;
  font-family: 'Orbitron', sans-serif; /* 🔹 estilo racing */
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

#formReserva {
  display: flex;
  flex-direction: column;
  gap: 12px; /* 🔹 espacio entre campos */
}

#formReserva label {
  font-weight: bold;
  margin-bottom: 4px;
}

#formReserva input,
#formReserva select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e60000;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 1rem;
}

.btn-enviar {
  background: #e60000;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background: #ff1a1a;
}

.modal-content {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.btn-packs {
  display: inline-block;
  background: #e60000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(230, 0, 0, 0.4);
}

.btn-packs:hover {
  background: #ff1a1a;
  box-shadow: 0 0 15px rgba(255, 26, 26, 0.6);
  transform: scale(1.05);
}

.titulo-packs {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin: 40px 0 20px;
  font-family: 'Orbitron', sans-serif;
}

.packs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 20px;
}

.pack-card {
  background: #111;
  border: 2px solid #e60000;
  border-radius: 10px;
  color: #fff;
  width: 300px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(230, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pack-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 26, 26, 0.6);
}

.pack-card.destacado {
  border-color: #ff1a1a;
  box-shadow: 0 0 25px rgba(255, 26, 26, 0.6);
}

.pack-card h2 {
  color: #ff1a1a;
  text-align: center;
  margin-bottom: 10px;
}

.pack-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.pack-card ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.precio {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 15px 0;
  color: #ff1a1a;
}

.btn-reserva {
  display: block;
  text-align: center;
  background: #e60000;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-reserva:hover {
  background: #ff1a1a;
}

.volante-info {
  text-align: center;
  margin-top: 15px;
}

.volante-info img {
  max-width: 140px; /* tamaño uniforme */
  height: auto;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain; /* evita deformaciones */
}

.volante-info p {
  font-size: 0.95rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

/* Ajuste específico para el Maranello */
.volante-info img[alt="Volante sin Force Feedback"] {
  max-width: 150px;
}

/* Header general */
header {
  height: 80px; /* antes 120px aprox */
  padding: 8px 0;
}

/* Logo */
header .logo img {
  max-height: 55px; /* mantiene proporción sin recortar */
}

/* Barra de reserva y texto */
header .top-bar {
  margin-top: 4px;
  padding: 4px 0;
  font-size: 14px;
}

/* Botón de reserva */
header .btn-reservar {
  padding: 6px 14px;
  font-size: 14px;
}

body {
  padding-top: 80px;
}

/* Header general */
header {
  height: 90px; /* reduce altura total */
  padding: 6px 0;
}

/* Logo */
header .logo img {
  max-height: 60px; /* mantiene proporción sin recortar */
}

/* Título principal */
header h1 {
  margin-top: 4px;
  font-size: 32px; /* antes 40px aprox */
}

/* Texto debajo del título */
header .tagline {
  margin-top: 2px;
  font-size: 14px;
}

/* Botón de reserva */
header .btn-reservar {
  padding: 6px 14px;
  font-size: 14px;
}

/* Si el header es fijo */
body {
  padding-top: 90px;
}

header h1 + .tagline {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .btn-reservar {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
  }
}

.btn-reservar:hover {
  background-color: #ff4d5a;
  box-shadow: 0 0 10px #ff4d5a;
}

/* Fondo general negro para el contenido */
body {
  background-color: #000;
  color: #fff;
}

/* Header con textura de neumático */
header {
  background: url('IMG/textura-neumatico2.png') repeat;
  background-size: 200px 200px;
  position: relative;
}

/* Overlay oscuro para mantener contraste */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

/* Asegura que el contenido del header quede por encima del overlay */
header * {
  position: relative;
  z-index: 1;
}

/* Footer con la misma textura */
footer {
  background: url('IMG/textura-neumatico2.png') repeat !important;
  background-size: 200px 200px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

footer * {
  position: relative;
  z-index: 1;
}

header.header-fijo {
  background: url('IMG/textura-neumatico2.png') repeat !important;
  background-size: 200px 200px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #e63946;
  z-index: 1000;
}

header.header-fijo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7); /* overlay oscuro para contraste */
  z-index: 0;
}

header.header-fijo * {
  position: relative;
  z-index: 1;
}

/* Header con textura de neumático */
header.header-fijo {
  background: url('IMG/textura-neumatico2.png') repeat !important;
  background-size: 200px 200px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #e63946;
  z-index: 1000;
}

header.header-fijo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7); /* overlay oscuro */
  z-index: 0;
}

header.header-fijo * {
  position: relative;
  z-index: 1;
}

/* Footer con textura de neumático */
footer {
  background: url('IMG/textura-neumatico2.png') repeat !important;
  background-size: 200px 200px;
  position: relative;
  border-top: 2px solid #e63946;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7); /* overlay oscuro */
  z-index: 0;
}

footer * {
  position: relative;
  z-index: 1;
}

.footer-copy {
  color: #00ffff; /* celeste neón */
  font-size: 0.9rem;
  margin-top: 10px;
  text-shadow: 0 0 6px #00ffff;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 6px #00ffff; }
  to { text-shadow: 0 0 12px #00ffff; }
}

main p {
  color: #39ff14; /* verde neón */
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14; }
  to { text-shadow: 0 0 12px #39ff14, 0 0 20px #39ff14; }
}

.paso p {
  color: #ffffff; /* blanco puro */
  text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
  animation: glowWhite 2s infinite alternate;
}

@keyframes glowWhite {
  from { text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff; }
  to { text-shadow: 0 0 12px #ffffff, 0 0 20px #ffffff; }
}

.ventaja p {
  color: #ffffff; /* blanco puro */
  text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
  animation: glowWhite 2s infinite alternate;
}

@keyframes glowWhite {
  from { text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff; }
  to { text-shadow: 0 0 12px #ffffff, 0 0 20px #ffffff; }
}

.somos h2 {
  color: #ff2e2e; /* rojo neón */
  text-shadow: 0 0 6px #ff2e2e, 0 0 12px #ff2e2e;
  animation: glowRed 2s infinite alternate;
}

@keyframes glowRed {
  from { text-shadow: 0 0 6px #ff2e2e, 0 0 12px #ff2e2e; }
  to { text-shadow: 0 0 12px #ff2e2e, 0 0 20px #ff2e2e; }
}

.somos p {
  color: #ffffff; /* blanco neón */
  text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
  animation: glowWhite 2s infinite alternate;
}

@keyframes glowWhite {
  from { text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff; }
  to { text-shadow: 0 0 12px #ffffff, 0 0 20px #ffffff; }
}

/* 🔴 Títulos en rojo neón */
h2, h3, .titulo-packs, .requisitos h2, .somos h2 {
  color: #ff2e2e;
  text-shadow: 0 0 8px #ff2e2e, 0 0 16px #ff2e2e;
  animation: glowRed 2s infinite alternate;
}

@keyframes glowRed {
  from { text-shadow: 0 0 8px #ff2e2e, 0 0 16px #ff2e2e; }
  to { text-shadow: 0 0 12px #ff2e2e, 0 0 20px #ff2e2e; }
}

/* ⚪ Texto en blanco neón */
p, li, .footer-copy, .pack-card p, .ventaja p, .paso p {
  color: #ffffff;
  text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff;
  animation: glowWhite 2s infinite alternate;
}

@keyframes glowWhite {
  from { text-shadow: 0 0 6px #ffffff, 0 0 12px #ffffff; }
  to { text-shadow: 0 0 12px #ffffff, 0 0 20px #ffffff; }
}

/* 🚀 Animación de entrada para cards */
.pack-card, .ventaja, .paso {
  border: 2px solid #ff2e2e;
  box-shadow: 0 0 15px rgba(255, 46, 46, 0.7), 0 0 30px rgba(255, 46, 46, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.pack-card:hover, .ventaja:hover, .paso:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 46, 46, 0.9), 0 0 40px rgba(255, 46, 46, 0.7);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🎉 Botones con pulso neón */
.btn-reserva, .btn-packs {
  background: #ff2e2e;
  color: #fff;
  box-shadow: 0 0 10px #ff2e2e, 0 0 20px #ff2e2e;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.btn-reserva:hover, .btn-packs:hover {
  transform: scale(1.05);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px #ff2e2e, 0 0 20px #ff2e2e; }
  50% { box-shadow: 0 0 20px #ff2e2e, 0 0 40px #ff2e2e; }
}

.modal.activo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Botones de reserva en las cards */
.btn-reserva-pack {
  background: #e60000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px #ff2e2e, 0 0 20px #ff2e2e;
  animation: pulse 2s infinite;
  display: inline-block;
  text-align: center;
}

.btn-reserva-pack:hover {
  background: #ff1a1a;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff2e2e, 0 0 30px #ff2e2e;
}

/* Animación neón */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px #ff2e2e, 0 0 20px #ff2e2e; }
  50% { box-shadow: 0 0 20px #ff2e2e, 0 0 40px #ff2e2e; }
}

/* --- Ajuste de tamaño del modal de selección de pack --- */
#modalSeleccionPack .modal-content {
  width: 420px; /* antes era más chico */
  max-width: 90%;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px #ff2e2e, 0 0 40px #ff2e2e;
}

/* --- Campos del formulario más grandes --- */
#formSeleccionPack input,
#formSeleccionPack select {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ff2e2e;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 0 8px #ff2e2e;
}

/* --- Botón neón grande --- */
#formSeleccionPack .btn-enviar {
  background: #e60000;
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px #ff2e2e, 0 0 30px #ff2e2e;
  animation: pulse 2s infinite;
}

#formSeleccionPack .btn-enviar:hover {
  background: #ff1a1a;
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff2e2e, 0 0 40px #ff2e2e;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 15px #ff2e2e, 0 0 30px #ff2e2e; }
  50% { box-shadow: 0 0 25px #ff2e2e, 0 0 50px #ff2e2e; }
}

/* Ajustes de texto en características */
.features-list {
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 0 6px #00ff00;
}

.btn-reservar:hover {
  box-shadow: 0 0 12px #ff0000;
  transform: scale(1.05);
  transition: 0.2s ease;
}

.curva {
  color: #00ff00;
  text-shadow: 0 0 8px #00ff00;
  font-weight: 600;
}

/* Botones con tipografía racing */
.btn-reserva {
  font-family: 'Racing Sans One', sans-serif;
  background: var(--racing-red);
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 25px;
  display: inline-block;
  border: 2px solid var(--metal-light);
  transition: 0.3s;
}

.btn-reserva:hover {
  background: var(--metal-light);
  color: var(--metal-dark);
  box-shadow: 0 0 12px var(--racing-red);
}

