/* ============================================================
   ESTILOS.CSS — Tu Moto | Renta de Motos en Bahías de Huatulco
   Diseño: Costa-Aventura Premium
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');

/* ============================================================
   2. VARIABLES CSS
   ============================================================ */
:root {
  /* Colores */
  --azul-profundo:   #0e6fa8;
  --azul-marca:      #1a8fc1;
  --azul-medio:      #29aad4;
  --azul-claro:      #4dc3e8;
  --naranja-acento:  #ff6b2b;
  --naranja-hover:   #e85a1a;
  --blanco:          #ffffff;
  --arena-claro:     #edf7fc;
  --arena-medio:     #ceedf8;
  --texto-principal: #0b3a52;
  --texto-suave:     #2e6a8a;

  /* Sombras */
  --sombra-suave:    0 4px 20px rgba(10, 35, 66, 0.12);
  --sombra-media:    0 8px 32px rgba(10, 35, 66, 0.20);
  --sombra-fuerte:   0 16px 48px rgba(10, 35, 66, 0.30);
  --sombra-naranja:  0 4px 20px rgba(255, 107, 43, 0.35);

  /* Radios */
  --radio-sm:   8px;
  --radio-md:   16px;
  --radio-lg:   24px;
  --radio-pill: 50px;

  /* Transiciones */
  --trans-rapida:  0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-lenta:   0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   3. RESET Y BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--texto-principal);
  background-color: var(--blanco);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--texto-suave);
  font-size: 1.05rem;
  line-height: 1.8;
}

img {
  transition: transform var(--trans-normal);
}

/* Transición global para links y botones */
a,
button,
.btn {
  transition:
    color         var(--trans-rapida),
    background    var(--trans-rapida),
    border-color  var(--trans-rapida),
    box-shadow    var(--trans-rapida),
    transform     var(--trans-rapida);
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
  background: rgba(14, 111, 168, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  transition: background var(--trans-normal), box-shadow var(--trans-normal);
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Sombra al hacer scroll (activada via JS del navegador con :has — fallback CSS) */
.navbar:not([data-scroll="top"]) {
  box-shadow: var(--sombra-media);
}

/* Añadir sombra siempre para robustez */
.navbar {
  box-shadow: 0 2px 16px rgba(14, 111, 168, 0.25);
}

.navbar-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--blanco) !important;
  text-decoration: none;
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--naranja-acento);
  transition: width var(--trans-normal);
}

.navbar-brand:hover::after {
  width: 100%;
}

/* Links del navbar */
.navbar-nav .nav-link {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--naranja-acento);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--trans-normal);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--blanco) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

/* Botón de idioma */
.idioma-btn {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  background: var(--naranja-acento) !important;
  color: var(--blanco) !important;
  border: none !important;
  border-radius: var(--radio-pill) !important;
  padding: 0.45rem 1.2rem !important;
  box-shadow: var(--sombra-naranja);
}

.idioma-btn:hover,
.idioma-btn:focus {
  background: var(--naranja-hover) !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 24px rgba(255, 107, 43, 0.45) !important;
}

.idioma-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Menú hamburguesa */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35) !important;
  border-radius: var(--radio-sm);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.4);
}

/* Menú colapsado en móvil */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(14, 111, 168, 0.97);
    margin-top: 0.75rem;
    border-radius: var(--radio-md);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav .nav-link::after {
    left: 0;
    right: 0;
  }

  .idioma-btn {
    margin-top: 0.75rem;
    align-self: flex-start;
  }
}

/* ============================================================
   5. HERO
   ============================================================ */
#inicio {
  position: relative;
  min-height: 100vh;
  background-image: url('images/fondo.jpeg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14, 111, 168, 0.80) 0%,
    rgba(26, 143, 193, 0.65) 50%,
    rgba(41, 170, 212, 0.45) 100%
  );
  display: flex;
  align-items: center;
  width: 100%;
}

.overlay .container {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

#inicio h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--blanco);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(10, 35, 66, 0.5);
  animation: heroEntrada 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Línea decorativa bajo el título hero */
#inicio h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: var(--naranja-acento);
  border-radius: 3px;
  margin-top: 1.5rem;
  animation: heroEntrada 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Indicador de scroll animado */
.overlay::after {
  content: '';
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  animation: scrollPulse 2s ease-in-out infinite;
}

.overlay::before {
  content: '';
  position: absolute;
  bottom: 3.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  z-index: 3;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ============================================================
   5b. HERO — Elementos adicionales
   ============================================================ */

.hero-contenido {
  max-width: 760px;
}

/* Badge de localización */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 43, 0.18);
  border: 1px solid rgba(255, 107, 43, 0.45);
  color: #ffb899;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radio-pill);
  margin-bottom: 1.25rem;
  animation: heroEntrada 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--naranja-acento);
  border-radius: 50%;
  display: inline-block;
  animation: pulsoDot 1.8s ease-in-out infinite;
}

/* Subtítulo hero */
.hero-subtitulo {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: heroEntrada 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Botones CTA del hero */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: heroEntrada 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn-hero-primario {
  display: inline-block;
  background: var(--naranja-acento);
  color: var(--blanco);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: var(--radio-pill);
  text-decoration: none;
  box-shadow: var(--sombra-naranja);
  transition:
    background  var(--trans-normal),
    transform   var(--trans-normal),
    box-shadow  var(--trans-normal);
}

.btn-hero-primario:hover {
  background: var(--naranja-hover);
  color: var(--blanco);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(255, 107, 43, 0.5);
}

.btn-hero-secundario {
  display: inline-block;
  background: transparent;
  color: var(--blanco);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: var(--radio-pill);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition:
    background    var(--trans-normal),
    border-color  var(--trans-normal),
    transform     var(--trans-normal);
}

.btn-hero-secundario:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--blanco);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* Stats del hero */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: heroEntrada 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blanco);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
}

/* ============================================================
   6. SOBRE NOSOTROS
   ============================================================ */
#sobreNosotros {
  background: var(--blanco);
  position: relative;
  animation: fadeInSection 0.8s ease both;
}

#sobreNosotros h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--azul-profundo);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

#sobreNosotros h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--naranja-acento);
  border-radius: 2px;
}

#sobreNosotros p {
  color: var(--texto-suave);
  font-size: 1.05rem;
}

#sobreNosotros p:last-child {
  font-weight: 600;
  font-style: italic;
  color: var(--azul-medio);
}

/* Etiqueta de sección (tag pill) */
.seccion-tag {
  display: inline-block;
  background: rgba(255, 107, 43, 0.10);
  color: var(--naranja-acento);
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radio-pill);
  border: 1px solid rgba(255, 107, 43, 0.25);
  margin-bottom: 0.75rem;
}

.seccion-tag-claro {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radio-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

/* Beneficios — íconos con texto */
.beneficios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.beneficio {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--arena-claro);
  border-radius: var(--radio-md);
  padding: 0.75rem 1rem;
  border: 1px solid var(--arena-medio);
  transition: transform var(--trans-rapida), box-shadow var(--trans-rapida);
}

.beneficio:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-suave);
}

.beneficio i {
  font-size: 1.2rem;
  color: var(--naranja-acento);
  flex-shrink: 0;
}

.beneficio span {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul-profundo);
}

/* Carrusel de motos — Sobre Nosotros */
#carouselMotos {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-fuerte);
  border: 3px solid var(--arena-medio);
}

#carouselMotos .carousel-inner {
  border-radius: var(--radio-lg);
}

#carouselMotos img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: center;
  background-color: var(--arena-claro);
  border-radius: var(--radio-lg);
}

#carouselMotos .carousel-control-prev,
#carouselMotos .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--naranja-acento);
  opacity: 0.9;
  margin: 0 0.75rem;
}

#carouselMotos .carousel-control-prev {
  left: 0.5rem;
}

#carouselMotos .carousel-control-next {
  right: 0.5rem;
}

#carouselMotos .carousel-control-prev:hover,
#carouselMotos .carousel-control-next:hover {
  background: var(--naranja-hover);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--sombra-naranja);
}

#carouselMotos .carousel-control-prev-icon,
#carouselMotos .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   7. GALERÍA / EXPERIENCIA
   ============================================================ */
#experiencia {
  background: linear-gradient(
    145deg,
    var(--azul-profundo) 0%,
    var(--azul-marca)    60%,
    var(--azul-medio)   100%
  ) !important;
  position: relative;
  overflow: hidden;
}

/* Textura sutil de fondo */
#experiencia::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 80%, rgba(255, 107, 43, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(30, 136, 229, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.texto-galeria h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--blanco);
  margin-bottom: 1rem;
}

.texto-galeria p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Título de sub-carruseles */
#experiencia h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--blanco);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

#experiencia h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--naranja-acento);
  border-radius: 2px;
}

/* Carruseles de galería */
.carrusel-galeria {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-fuerte);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.carrusel-galeria .carousel-inner {
  border-radius: var(--radio-lg);
}

.carrusel-galeria img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  background-color: #0b3d5e;
  transition: transform var(--trans-lenta);
}

.carrusel-galeria:hover img {
  transform: scale(1.03);
}

.carrusel-galeria .carousel-control-prev,
.carrusel-galeria .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.88); /* naranja — se mantiene */
  opacity: 0.85;
  margin: 0 0.6rem;
}

.carrusel-galeria .carousel-control-prev {
  left: 0.4rem;
}

.carrusel-galeria .carousel-control-next {
  right: 0.4rem;
}

.carrusel-galeria .carousel-control-prev:hover,
.carrusel-galeria .carousel-control-next:hover {
  background: var(--naranja-acento);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--sombra-naranja);
}

/* Chips de requisitos */
.requisitos-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.req-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--blanco);
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radio-pill);
  transition: background var(--trans-rapida), border-color var(--trans-rapida), transform var(--trans-rapida);
}

.req-chip i {
  font-size: 1rem;
  color: var(--naranja-acento);
}

.req-chip:hover {
  background: rgba(255, 107, 43, 0.18);
  border-color: rgba(255, 107, 43, 0.45);
  transform: translateY(-2px);
}

/* Requisitos */
.requisitos-texto {
  position: relative;
  padding: 3rem 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.requisitos-texto::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--naranja-acento);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.requisitos-texto h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--blanco);
  margin-bottom: 1.25rem;
}

.requisitos-texto p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================================
   8. UBICACIÓN Y CONTACTO
   ============================================================ */
.seccion-ubicacion {
  background: var(--arena-claro);
  padding: 6rem 0;
  position: relative;
}

.seccion-ubicacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--naranja-acento), var(--azul-medio));
}

.seccion-ubicacion h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--azul-profundo);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 1rem;
}

.seccion-ubicacion h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 4px;
  background: var(--naranja-acento);
  border-radius: 2px;
}

.seccion-ubicacion > .container > .row > .col-md-5 > p {
  color: var(--texto-suave);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* Ícono de contacto */
.contacto-icono {
  font-size: 1.15rem;
  color: var(--naranja-acento);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Botón WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  background: #25d366;
  color: var(--blanco);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radio-pill);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition:
    background   var(--trans-normal),
    transform    var(--trans-normal),
    box-shadow   var(--trans-normal);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--blanco);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.48);
}

/* Datos de contacto */
.contactos {
  background: var(--blanco);
  border-radius: var(--radio-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--sombra-suave);
  border-left: 4px solid var(--naranja-acento);
}

.contactos p {
  color: var(--texto-principal);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contactos p:last-child {
  margin-bottom: 0;
}

.contactos strong {
  color: var(--azul-profundo);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  min-width: 80px;
}

/* Mapa */
.mapa {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-fuerte);
  border: 3px solid var(--arena-medio);
  height: 420px;
  position: relative;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(
    135deg,
    var(--azul-profundo) 0%,
    var(--azul-marca)    100%
  );
  color: var(--blanco);
  padding: 4rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--naranja-acento), var(--azul-claro), var(--naranja-acento));
  background-size: 200% 100%;
  animation: gradientShift 4s linear infinite;
}

.footer h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--blanco);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer > .container > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Iconos de redes sociales */
.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.redes-sociales a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--blanco);
  font-size: 1.4rem;
  text-decoration: none;
  transition:
    background   var(--trans-normal),
    border-color var(--trans-normal),
    color        var(--trans-normal),
    transform    var(--trans-normal),
    box-shadow   var(--trans-normal);
}

.redes-sociales a:hover {
  background: var(--naranja-acento);
  border-color: var(--naranja-acento);
  color: var(--blanco);
  transform: translateY(-4px) scale(1.12) rotate(8deg);
  box-shadow: var(--sombra-naranja);
}

.redes-sociales a .bi {
  line-height: 1;
}

/* Logo en footer */
.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-img-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Divisor footer */
.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  margin: 1.5rem auto;
}

/* Navbar scrolled (activada por JS) */
.navbar-scrolled {
  background: rgba(14, 111, 168, 0.97) !important;
  box-shadow: var(--sombra-fuerte) !important;
}

/* Copyright */
.footer .copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* ============================================================
   10. ANIMACIONES — @keyframes
   ============================================================ */

/* Entrada del Hero */
@keyframes heroEntrada {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Indicador de scroll — contenedor */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1;   }
}

/* Indicador de scroll — punto */
@keyframes scrollDot {
  0%   { transform: translateX(-50%) translateY(0);   opacity: 1; }
  80%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0);   opacity: 0; }
}

/* Fade-in de secciones */
@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Punto pulsante del badge hero */
@keyframes pulsoDot {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Línea degradada del footer */
@keyframes gradientShift {
  0%   { background-position: 0% 50%;   }
  100% { background-position: 200% 50%; }
}

/* Entrada de secciones con Intersection Observer (scroll) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   11. RESPONSIVO — Media Queries
   ============================================================ */

/* Tablet grande y escritorio */
@media (min-width: 992px) {
  #inicio {
    min-height: 100vh;
  }

  .overlay .container {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  #carouselMotos img {
    height: 420px;
    object-fit: contain;
    background-color: var(--arena-claro);
  }

  .carrusel-galeria img {
    height: 370px;
    object-fit: contain;
    background-color: #0b3d5e;
  }

  .mapa {
    height: 460px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  #inicio {
    min-height: 80vh;
    background-attachment: scroll;
  }

  .overlay .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #inicio h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  #sobreNosotros {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #carouselMotos img {
    height: 300px;
    object-fit: contain;
    background-color: var(--arena-claro);
  }

  .carrusel-galeria img {
    height: 280px;
    object-fit: contain;
    background-color: #0b3d5e;
  }

  .mapa {
    height: 360px;
  }

  .seccion-ubicacion {
    padding: 4rem 0;
  }
}

/* Móvil */
@media (max-width: 576px) {
  #inicio {
    min-height: 75vh;
    background-attachment: scroll;
  }

  .overlay .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #inicio h1 {
    font-size: clamp(1.7rem, 9vw, 2.8rem);
  }

  #sobreNosotros h2 {
    font-size: 1.7rem;
  }

  #carouselMotos img {
    height: 240px;
    object-fit: contain;
    background-color: var(--arena-claro);
  }

  .carrusel-galeria img {
    height: 240px;
    object-fit: contain;
    background-color: #0b3d5e;
  }

  .requisitos-texto {
    padding: 2rem 1rem;
  }

  .contactos {
    padding: 1.25rem 1.25rem;
  }

  .mapa {
    height: 300px;
    margin-top: 1rem;
  }

  .footer {
    padding: 3rem 0 2rem;
  }

  .footer h3 {
    font-size: 1.6rem;
  }

  .redes-sociales a {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  /* Hero sin overlay scroll indicator en móvil */
  .overlay::after,
  .overlay::before {
    display: none;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-hero-primario,
  .btn-hero-secundario {
    width: 100%;
    text-align: center;
  }

  .beneficios {
    grid-template-columns: 1fr;
  }

  .requisitos-chips {
    flex-direction: column;
    align-items: center;
  }

  .req-chip {
    width: 100%;
    justify-content: center;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   12. ACCESIBILIDAD — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #inicio {
    background-attachment: scroll;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
