/* --- Estilos Generales --- */

    html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Esto corta el scroll infinito lateral */
    position: relative;
   
    font-family: Arial, sans-serif;
}



/* * {
    outline: 1px solid red !important;
} SIRVE PARA DETECTAR FALLAS*/
.portalzx{
    
    /* Mantenemos tus propiedades de posicionamiento y tamaño */
    min-height: 80vh; /* O la altura que tengas definida */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* CRÍTICO: Crea un "contenedor" para la capa de fondo */
    overflow: hidden;   /* Oculta los bordes desenfocados para que no se desborden */
}

/* Creamos la "capa fantasma" con pseudo-elemento */
.portalzx::before {
    content: "";
    position: absolute; /* Se pega al padre */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Movemos tu imagen de fondo AQUÍ */
    background-image: url('fotosx/bannergruas34.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    
    background-color: rgba(0, 0, 0, 0.9); 
    background-blend-mode: darken;

    
    
   
    z-index: -1; /* Lo enviamos al fondo, detrás de tus textos */

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #000000;
   
}
.verde-kawasaki { color: #B71C1C; }


header {
    background-color: #ffffff;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    
}






.newsletter-section {
  text-align: center;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.newsletter-section h3 {
  color: #1a1a1a; 
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: bold;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Espacio entre el input y el botón */
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.subscribe-form input {
  flex: 1;
  min-width:0;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 50px; /* Bordes muy redondeados */
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}

.subscribe-form button {
  background-color: #ff0000; /* Color verde vibrante */
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px; /* Bordes muy redondeados */
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #860000;
}

/* Ajuste para móviles (uno debajo del otro) */
@media (max-width: 480px) {
  .subscribe-form {
    flex-direction: column;
    gap: 15px;
  }
  .subscribe-form input, .subscribe-form button {
    width: 100%;
  }
}
#thanks-message {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  animation: fadeIn 0.5s ease; /* Un efecto suave al aparecer */
}

#thanks-message h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

#thanks-message p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.logo {
    margin: 0;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    text-transform: uppercase;
}

.header-galeria h1 {
    margin: 0;
    padding-right: 150px;

    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    text-transform: uppercase
}

/* --- El Botón que parece una hamburguesa animado --- */
/* --- Estilos del Botón Hamburguesa Animado --- */
.hamburger-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    z-index: 4000; /* Asegura que quede por encima del menú lateral */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 30px;
    
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #000000; 
    margin: 3px 0;
    transition: all 0.4s ease-in-out;
    position: relative;
    border-radius: 2px;
    

}

/* Transformación a X cuando el botón tiene la clase .open */
.hamburger-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

 .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 300px !important; /* Un poco más ancho para que respire */
    height: 100vh !important;
    /* Cambiamos a un fondo traslúcido */
    background-color: rgba(15, 15, 15, 0.85) ; 
    backdrop-filter: blur(12px) !important; /* El efecto "glass" */
    z-index: 3000 !important;
    padding: 60px 2rem !important;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex !important;
    flex-direction: column !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Línea sutil al borde */
}
.nav-menu.active{
    transform: translateX(0) !important;
}
.nav-links a {
    font-family: 'Rajdhani', sans-serif;
    text-decoration: none;
    letter-spacing: 2px;
    color: #ffffff; /* Letras blancas */
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
}

/* Efecto hover para los links normales */
.nav-links a:hover {
    color: #e31e24; /* Rojo de tu marca */
    transform: translateX(5px);
}

/* DISEÑO PARA EL BOTÓN DE COTIZACIÓN (Es el 3er li en tu HTML) */
.nav-links li:nth-child(3) a {
    background-color: #e31e24; /* Rojo sólido */
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.nav-links li:nth-child(3) a:hover {
    background-color: #b3171b;
    transform: scale(1.05);
}
.social-footer {
    margin-top: auto; /* Empuja los iconos al fondo del menú */
    padding-bottom: 30px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    color: rgb(255, 255, 255);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff0000;
}

.social-footer {
    margin-top: auto; /* Empuja los iconos al fondo del menú */
    padding-bottom: 30px;
    text-align: center;
}

.social-iconsfooter {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-iconsfooter a {
    color: rgb(255, 255, 255);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-iconsfooter a:hover {
    color: #ff0000;
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
    display: flex;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content; 
   
    animation: scroll 20s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 50px; 
}

.text {
    font-weight: 900;
    font-size: 1.2rem;
    color: #040404;
    white-space: nowrap;
}

.triangle-icon {
    width: 35px;       
    height: 35px;     
    margin-right: 15px; 
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}


.stats-section {
    padding: 100px 0; 
    background-color: #000000;
    text-align: center;
    border-top: 1px solid #eaeaea; 
}

.stats-content {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 0 60px; 
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
    text-align: center;
}

.stat-number {
    font-size: 110px; 
    font-weight: 800; 
    color: #ff0000; 
    line-height: 1; 
    margin: 0;
}


.stat-item:nth-child(2) .stat-number::after {
    content: none; 
    font-size: 0.75em;
    font-weight: 800;
    margin-left: 5px;
    vertical-align: middle;
}

.stat-text {
    font-size: 18px; 
    font-weight: 600; 
    color: #F5F5F5; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-top: 25px; 
    line-height: 1.4;
}

/* --- Ajuste para Celulares (Responsive) --- */
@media (max-width: 992px) {
    .stats-content {
        flex-direction: column;
        gap: 60px 0; 
    }
    .stat-number { font-size: 90px; } 
}

.insta-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-follow {
    display: inline-block;
    background-color: #f32121; 
    color: rgb(0, 0, 0);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-follow:hover {
    background-color: #fd4141;
    transform: scale(1.05);
}

.insta-nav-btn {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: #ff0c0c;
    color: rgb(0, 0, 0);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
} 

.frase-impacto {
    margin-top: 20px;
    text-align: center;
}

.tagline {
    color: #1f1f1f;
    letter-spacing: 5px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.main-frase {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    line-height: 1;
}
.tagline2 {
    color: #ffffff;
    letter-spacing: 5px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
     

   
}

.resaltado-negro {
    color: #141414;
    
}
.resaltado-blanco {
    color: #ffffff;
    
}

.linea-decorativa {
    width: 200px;
    height: 4px;
    background: #ff0000;
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px #ff0000;
}
.linea-decorativa_solicitud {
    width: 200px;
    height: 4px;
    background: #ff0000;
    margin: 20px auto;
    border-radius: 2px;
    
}
.linea-decorativa_vertical {
    width: 300px;
    height: 4px;
    background: #ff0000;
    margin: 20px auto;
    border-radius: 2px;
    
}
.linea-decorativa-gallery {
    width: 600px;
    height: 3px;
    background: #ff0000;
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px #ff0000;
}

/* Estilos para los iconos en la barra sticky */
.header-contact-icons {
    display: flex;
    gap: 20px; /* Espacio entre el teléfono y el sobre */
    margin-right: 40px; /* Espacio respecto al botón hamburguesa */
    margin-left: auto;
    align-items: center;
}

.header-contact-icons a {
    color: #000000; /* El rojo de Grúas Dimas */
    font-size: 1.5rem; /* Tamaño similar al botón de menú */
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-contact-icons a:hover {
    color: #ff0000; /* Cambia a negro al pasar el mouse */
    transform: scale(1.1);
}

/* Ajuste para móviles: si el logo es muy grande, reducimos el espacio */
@media (max-width: 480px) {
    .header-contact-icons {
        gap: 15px;
        margin-right: 10px;
    }
    .header-contact-icons a {
        font-size: 1.3rem;
    }
}
.btn-llamar-pro {
    /* Fondo con degradado amarillo/dorado */
    background: linear-gradient(to bottom, #ff0000 0%, #ff0000 100%);
    
    
    /* Texto y tipografía */
    color: #ffffff; /* Texto oscuro para que contraste bien */
    font-family: 'Rajdhani', sans-serif; /* O la fuente que estés usando */
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    
    /* Forma y Espaciado */
    padding: 12px 25px;
    border-radius: 10px; /* Bordes redondeados sutiles */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Espacio entre el icono y el texto */
    
    /* Sombra suave para dar profundidad */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.156);
    
    /* Transición suave al pasar el mouse */
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-llamar-pro:hover {
    transform: translateY(-2px); /* Pequeño salto hacia arriba */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to bottom, #f20505 0%, #ff0000 100%); /* Invertir degradado */
}

.btn-llamar-pro .icono {
    font-size: 1.3rem;
}
/* El contenedor del botón debe tener overflow: hidden para que el brillo no se salga */
.btn-llamar-pro {
    position: relative;
    overflow: hidden;
}

/* El efecto de brillo */
.btn-llamar-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Inclina el brillo para que se vea más natural */
    transition: none;
    animation: brillo-infinito 3s infinite; /* Se repite cada 3 segundos */
}

/* La animación que mueve el brillo */
@keyframes brillo-infinito {
    0% { left: -150%; }
    30% { left: 150%; } /* El brillo cruza rápido */
    100% { left: 150%; } /* Pausa antes de volver a empezar */
}



.btn-cotizacion-pro .icono {
    font-size: 1.3rem;
}
/* El contenedor del botón debe tener overflow: hidden para que el brillo no se salga */
.btn-cotizacion-pro {
    position: relative;
    overflow: hidden;
}
.btn-cotizacion-pro input{
        touch-action: manipulation;
}

/* El efecto de brillo */
.btn-cotizacion-pro::before {
    content: '';
    position: absolute;
    top: 0;
    
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Inclina el brillo para que se vea más natural */
    transition: none;
    animation: brillo-infinito 2s infinite; /* Se repite cada 3 segundos */
}

/* La animación que mueve el brillo */
@keyframes brillo-infinito {
    0% { left: -150%; }
    30% { left: 150%; } /* El brillo cruza rápido */
    100% { left: 150%; } /* Pausa antes de volver a empezar */
}
.faq-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-container h2 {
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 3px solid #323232;
}

.faq-question {
    width: 100%;
    padding: 18px;
    background: none;
    border: none;
    text-align: left;
    font-size: 17px;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    font-weight: bolder;
}

.faq-question:hover {
   color: #ff0000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #ffffff;
}

.faq-answer p {
    padding: 0 18px 18px 18px;
    color: #000000;
    margin: 0;
    font-size: 17px;
    font-weight: bold;
}


.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; 
}
.fondo-rescates {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('fotosx/GRUASDIMASCENTRAL.jpg');
}

.fondo-apertura {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('fotosx/GRUASDIMASCENTRAL.jpg');
}


h3{
    

    display: block;

    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: lighter;
    unicode-bidi: isolate;
    color: #000000;
    

    
}
h9{
    font-size: 24px;
    font-weight: bold;
    color: #000000;
  text-align: center;
  
}
li{
font-size: 1.17em;
font-weight: bold;
color: #000000;

}


.unicode342{
    margin: auto;
}




img {
    max-width: 100%;
    height: auto;
}


.logo-img { width: 180px; }
.footer-logo { width: 280px; }


.portalzx {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.main-frase {
    font-size: clamp(32px, 8vw, 60px); 
    margin: 15px 0;
}
p{
    color: #eaeaea;
    font: 10px Arial,sans-serif;
    margin: 16px 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 15px;
    }

    .header-contact-icons {
        margin-right: 15px;
        gap: 12px;
    }

    .linea-decorativa-gallery {
        width: 80%; 
    }

   
    #final div {
        max-width: 90% !important; /* El formulario ocupará casi todo el ancho */
    }

    .btn-cotizacion-pro {
        font-size: 0.9rem;
        padding: 12px !important;
    }

    /* FAQ */
    .faq-question {
        font-size: 14px;
    }
}


@media (max-width: 400px) {
    .main-frase {
        font-size: 28px;
    }
    
    .logo-img {
        width: 140px;
    }

    .header-contact-icons a {
        font-size: 1.1rem;
    }
}
/* Bloqueo del scroll */
body.intro-activa {
    overflow: hidden !important;
    height: 100vh;
}

#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
}

/* Efecto de salida */
.intro-fuera {
    transform: translateY(-100%);
    opacity: 0;
}

.intro-content {
    text-align: center;
    width: 90%;
    max-width: 800px; /* Evita que el texto se estire demasiado en monitores grandes */
    padding: 20px;
}

.intro-text {
    color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 30px;
    /* Ajuste de fuente dinámico */
    font-size: 1.5rem; 
}

.highlight {
    display: block;
    color: #ff0000;
    margin-top: 15px;
    font-size: 1.2rem;
}

.btn-entrar {
    background: transparent;
    border: 2px solid #ff0000;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-entrar:hover {
    background: #ff0000;
    transform: scale(1.05);
}

/* --- AJUSTES PARA PANTALLAS GRANDES (PC) --- */
@media (min-width: 768px) {
    .intro-text {
        font-size: 2.5rem; /* Texto más grande en PC */
    }
    .highlight {
        font-size: 1.8rem;
    }
    .btn-entrar {
        font-size: 1.2rem;
    }
}

#quienes-somos2 {
  width: 100%;
  background-image: url('tu-imagen-de-gruas.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  padding: 50px 0;
  overflow: hidden;
}

.container-relative {
  display: flex;
  flex-direction: column; 
  gap: 20px;
  align-items: center;
  text-align: center;
  width: 90%;
}


@media (min-width: 1024px) {
  #quienes-somos2 {
    height: 80vh; 
    position: relative; 
    display: block; 
  }

  .container-relative {
    width: 100%;
    height: 100%;
    position: relative;
  }

  /* POSICIONAMOS EL BLOQUE CENTRAL */
  .bloque-central {
    position: absolute;
    top: 50%; /* Lo baja al medio */
    left: 50%; /* Lo mueve a la derecha */
    transform: translate(-50%, -50%); /* Lo centra exactamente */
    
   
  }

  /* POSICIONAMOS EL BLOQUE DE CONTACTO (Izquierda abajo) */
  .bloque-contacto {
    position: absolute;
    bottom: 50px; /* Sube 50px desde el borde inferior */
    left: 50px;   /* Se aleja 50px del borde izquierdo */
    text-align: left; /* Alineación a la izquierda */
    max-width: 350px;
  }

  /* El botón rojo con brillo */
  .btn-llamada {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  }
}
.imagen-banner{
    width: 100%;
   background-color: #000000;
   overflow: hidden;
   line-height: 0;
   margin: 20px 0;

}
.imagen-banner img{
    width: 100%;
    height : auto;
    object-fit: contain;
   
    display: block;
}
@media (min-width:1200px){
    .imagen-banner img{
        max-height: 400px;
        object-fit: cover;
    }
}
.nuestros-servicios{
    background-color: #B71C1C;
}
.social-icons {
    display: flex;
    gap: 20px; 
    justify-content: center; 
    padding: 15px 0;
}

.social-icons a {
    color: #000000; 
    font-size: 24px; /* Tamaño del icono */
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
}


.social-icons a:hover {
    color: #ff0000; 
    transform: scale(1.2); 
}
.iconos_secciones {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 100px;
}

.seccion_app {
    background: rgb(255, 255, 255);
    text-align: center;
    text-decoration-color: #ffffff;
    padding: 35px;
    align-items: center;
}
.img_app{
    width: 250px;
}
.descarga_app{
    width: 100px;
}
.fa-solid-descarga_app{
    font-weight: 900;
}
.informaciones_final {
    display: flex;
    flex-direction: column; /* Siempre en lista para móviles */
    align-items: center;    /* Centra el bloque entero horizontalmente */
    justify-content: center;
    gap: 20px;
    padding: 40px 10px;     /* Padding lateral pequeño para que no toque los bordes en móvil */
    background-color: #ffffff;
    width: 100%;            /* Ocupa todo el ancho disponible */
    box-sizing: border-box;
}

.beneficios_seccion {
    display: flex;
    align-items: center;    /* Alinea icono y texto en la misma línea */
    width: 90%;             /* Se adapta al ancho de la pantalla móvil */
    max-width: 300px;       /* Pero no crece más de 300px en computadoras */
    margin: 0 auto;         /* Asegura que el bloque esté centrado */
}

.beneficios_seccion i {
    font-size: 20px;
    width: 40px;            /* Espacio fijo para el icono para que los textos empiecen alineados */
    text-align: center;
    margin-right: 10px;
}

.beneficios_seccion span {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    /* Esto evita que el texto largo se amontone como en IMG_5763.jpg */
    flex: 1; 
}

/* OPCIONAL: Si en computadora (pantallas grandes) los quieres de lado a lado */
@media (min-width: 768px) {
    .informaciones_final {
        flex-direction: row; /* Cambia a fila solo en PC */
        justify-content: space-evenly;
        gap: 0;
    }
    
    .beneficios_seccion {
        width: auto;         /* En PC que usen el ancho natural */
        margin: 0;
    }
}


/*sccion de motos */
.informaciones_bike {
    display: flex;
    flex-direction: column; /* Siempre en lista para móviles */
    align-items: center;    /* Centra el bloque entero horizontalmente */
    justify-content: center;
    gap: 20px;
    padding: 40px 10px;     /* Padding lateral pequeño para que no toque los bordes en móvil */
    width: 100%;            /* Ocupa todo el ancho disponible */
    box-sizing: border-box;
}

.bike_seccion {
    display: flex;
    align-items: center;    /* Alinea icono y texto en la misma línea */
    width: 90%;             /* Se adapta al ancho de la pantalla móvil */
    max-width: 300px;       /* Pero no crece más de 300px en computadoras */
    margin: 0 auto;         /* Asegura que el bloque esté centrado */
}

.bike_seccion i {
    font-size: 20px;
    width: 40px;            /* Espacio fijo para el icono para que los textos empiecen alineados */
    text-align: center;
    margin-right: 10px;
    color: #ff0000
}

.bike_seccion span {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    /* Esto evita que el texto largo se amontone como en IMG_5763.jpg */
    flex: 1; 
}

/* OPCIONAL: Si en computadora (pantallas grandes) los quieres de lado a lado */
@media (min-width: 768px) {
    .informaciones_bike {
        flex-direction: row; /* Cambia a fila solo en PC */
        justify-content: space-evenly;
        gap: 0;
    }
    
    .bike_seccion {
        width: auto;         /* En PC que usen el ancho natural */
        margin: 0;
    }
}
:root {
    --bg-dark: #121212;
    --accent-red: #e62117;
    --gray-circle: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

.how-it-works {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 20px;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* Encabezado */
.section-header .subtitle {
    color: var(--accent-red);
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
}

.section-header .title {
    font-size: 42px;
    margin: 10px 0;
    font-weight: 800;
    color: #ffffff;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 0 auto 50px;
}

/* Pasos */
.steps-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.steps-container i{
    color:#ffffff;
}

.step-item {
    flex: 1;
    position: relative;
    padding: 0 15px;
    z-index: 1;
}

/* Líneas punteadas entre pasos */
.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 45px; /* Centrado con el círculo */
    left: 60%;
    width: 80%;
    border-top: 2px dashed #444;
    z-index: -1;
}

/* Círculos e Iconos */
.icon-circle {
    width: 90px;
    height: 90px;
    background-color: var(--gray-circle);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 32px;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto de los pasos */
.step-item h4 {
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ff0000;
}

.step-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .step-item:not(:last-child)::after {
        display: none; /* Quitamos líneas en móvil */
    }
}



.experts-section {
    background-color: #ffffff; /* Fondo gris muy claro */
    padding: 80px 20px;
    font-family: 'Helvetica', Arial, sans-serif;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo del Encabezado */
.header-light .subtitle {
    color: #e62117; /* Rojo de tu marca */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-light .title {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: 800;
    margin: 15px 0;
}

.red-divider {
    width: 50px;
    height: 3px;
    background-color: #363636;
    margin: 0 auto 50px;
}

/* Grilla de Tarjetas */
.cards-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    
}

.info-card {
    background: #ffffff;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    padding: 40px 25px;
    border-radius: 12px; /* Bordes redondeados de la imagen */
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.11); /* Sombra suave */
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px); /* Pequeño efecto al pasar el mouse */
}

/* Iconos y Texto */
.icon-box {
    color: #e62117;
    font-size: 45px;
    margin-bottom: 25px;
}

.info-card h3 {
    color: #111;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Ajuste para Móviles */
@media (max-width: 768px) {
    .header-light .title {
        font-size: 28px;
    }
    .info-card {
        max-width: 100%;
    }
}

/* Envuelve todo tu HTML nuevo en un <div class="seccion-legends"> */
.seccion-legends {
    --hot-yellow: #ff0000;
    --hot-black: #ffffff;
    --hot-white: #ffffff;
    
    background-color: var(--hot-black);
    color: var(--hot-white);
    font-family: 'Arial Black', Gadget, sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    overflow-x: hidden;
}

/* Aplicar box-sizing solo a elementos internos de este bloque */
.seccion-legends *, 
.seccion-legends *::before, 
.seccion-legends *::after {
    box-sizing: border-box;
}

/* --- CABECERA Y TÍTULOS --- */
.seccion-legends .header-content {
    padding: 40px 20px;
}

.seccion-legends .main-title {
    /* clamp evita que el texto se desborde en móviles */
    font-size: clamp(2.2rem, 8vw, 5rem);
    color: var(--hot-yellow);
    font-style: italic;
    text-transform: uppercase;
    /* line-height 1.2 es clave para que no se corten las letras */
    line-height: 1.2; 
    margin: 15px auto;
    letter-spacing: -1px;
}

.seccion-legends .sub-text {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 2px;
    font-weight: bold;
    color: #000000;
}

/* --- SECCIÓN DEL AUTO (FRANJAS RACING) --- */
.seccion-legends .car-container {
    position: relative;
    /* Crea las franjas amarillas de fondo */
    background: repeating-linear-gradient(
        transparent,
        transparent 30px,
        var(--hot-yellow) 30px,
        var(--hot-yellow) 33px
    );
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seccion-legends .car-image {
    width: 15%;
    max-width: 900px;
    height: auto;
    z-index: 2;
    /* Sombra para dar profundidad al vehículo */
   
}

/* --- FOOTER DE INFORMACIÓN (RESPONSIVE GRID) --- */
.seccion-legends .footer-info {
    background-color: var(--hot-yellow);
    color: var(--hot-black);
    width: 100%;
}

.seccion-legends .info-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna en móvil */
    border-top: 5px solid var(--hot-black);
}

.seccion-legends .info-item {
    padding: 25px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 2px solid var(--hot-black);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.seccion-legends .cta-bar {
    padding: 20px 0;
    border-top: 3px solid var(--hot-black);
}

.seccion-legends .cta-bar h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-style: italic;
    margin: 0;
}

/* --- AJUSTES PARA ESCRITORIO (Media Queries) --- */
@media (min-width: 768px) {
    .seccion-legends .info-grid {
        grid-template-columns: 1fr 2fr 1fr; /* Tres columnas en PC */
    }

    .seccion-legends .info-item {
        border-bottom: none;
        border-right: 5px solid var(--hot-black);
    }

    .seccion-legends .info-item:last-child {
        border-right: none;
    }

    .seccion-legends .car-container {
        /* Franjas más separadas en pantallas grandes */
        background: repeating-linear-gradient(
            transparent,
            transparent 50px,
            var(--hot-yellow) 50px,
            var(--hot-yellow) 55px
        );
    }
    
}
.cta-bar i {
    width:50px;
    weight: 500px;
}
.info-item.item-vanguar{
    display: flex;
    align-items: center;
    justify-content: content;
    gap:12px;
}
.item-vanguar i {
    color: #ffffff;
    font-size: 1.3rem;
}
.descarga-container-descarga-aplicacion {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.boton-square-descarga-aplicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px; /* Un poco más ancho para que el texto respire */
    height: 130px;
    background-color: transparent;
    border: 3px solid #ff0000; /* Rojo de Grúas Dimas */
    color: #ff0000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.boton-square-descarga-aplicacion i {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.boton-square-descarga-aplicacion span {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* Efecto Hover deportivo */
.boton-square-descarga-aplicacion:hover {
    background-color: #ff0000;
    color: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000; /* Fondo negro como tu stats-section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Siempre arriba de todo */
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    max-width: 80%;
}
.loader-hidden {
    opacity: 0!important;
    pointer-events: none!important;
    visibility: hidden!important;
}

.loader-text {
    color: #F5F5F5;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-top: 20px;
    animation: fadeInOut 3s ease-in-out;
}

.loader-text span {
    display: block;
    color: #ff0000; /* Rojo vibrante para resaltar el equipo */
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Animación suave para el texto */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}