/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================== */
:root {
    --primary-color: #0056b3; 
    --primary-hover: #004494;
    --text-dark: #1a1a1a;
    --text-light: #7a8694;
    --bg-light: #f7f9fc; /* Fondo gris original */
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1440px; /* Ancho corregido idéntico al original */
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   1. BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid #eef2f5;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    justify-content: flex-start;
}

/* Quita el color azul y el subrayado del enlace del logo */
.logo a {
    text-decoration: none; 
}

.logo img {
    height: 60px;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

/* Fuerza el color oscuro y quita el subrayado en los enlaces del menú */
.nav-links a {
    text-decoration: none !important; /* Importante para sobreescribir estilos base */
    color: #333333 !important;       /* Color gris oscuro original */
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Hover: cambia a azul corporativo al pasar el ratón */
.nav-links a:hover {
    color: #216ef3 !important; /* Azul más vibrante basado en tu referencia */
}

.arrow-down {
    font-size: 12px;
    color: #9aa3ab;
    transform: scaleY(0.7);
}

/* ==========================================================================
   2. SECCIÓN HERO (VIDEO DE FONDO)
   ========================================================================== */
.hero-spacer {
    width: 100%;
    height: 130px; /* Espacio total visible (incluye el área detrás del menú) */
    background-color: var(--white);
}
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start; /* Ancla el contenido a la parte superior */
    justify-content: center; /* Centra el contenedor principal */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Mantiene el centro del video siempre visible */
    z-index: -2;
}

.hero-overlay {
    display: none; 
}

/* Ajuste del contenedor de texto */
.hero-content {
    width: 100%; /* Asegura que el contenedor respete el max-width de 1440px */
    padding-top: 10px; /* Reducido de 180px a 120px para subir el texto */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Empuja los textos hacia la derecha */
    text-align: right; /* Alinea los párrafos a la derecha */
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2429;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    max-width: 650px;
    line-height: 1.4;
}
/* ==========================================================================
   3. SHUTTLE SYSTEMS (PRODUCTOS)
   ==========================================================================*/

.shuttle-section {
    padding: 80px 0 100px;
    background-color: var(--white); /* Ensure outer section is white */
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced margin to bring the box closer */
}

.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1f2429;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* New container for the grey background */
.shuttle-content-box {
    background-color: var(--bg-light); /* Apply grey background here */
    border-radius: 12px; /* Rounded corners like the original */
    padding: 60px 40px; /* Padding inside the box */
    max-width: 1140px;
    margin: 0 auto;
}

.shuttle-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.shuttle-info {
    flex: 0 0 40%; /* Adjusted width */
    text-align: left;
}

/* ... keep the rest of your shuttle styles (shuttle-title, shuttle-description, btn-arrow, shuttle-image) ... */

.shuttle-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1e23;
    line-height: 1.25;
    margin-bottom: 18px;
}

.shuttle-description {
    font-size: 1.05rem;
    color: #6b7785;
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-arrow:hover {
    background-color: #3b82f6;
    color: var(--white);
    transform: translateX(4px);
}

.shuttle-image {
    flex: 0 0 54%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shuttle-image img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.09));
}

/* ==========================================================================
   SECCIÓN DE CLIENTES (PARTNERS) - ANIMADO
   ========================================================================== */
.clients-section {
    padding: 80px 0;
    background-color: var(--white);
    width: 100%;
}

/* Máscara que oculta lo que sale de la pantalla */
.clients-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0 40px 0;
}

.clients-row {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content; /* Vital para que la fila se extienda infinitamente */
    animation: scrollLogos 25s linear infinite; /* 25s es la velocidad */
}

/* Opcional: Pausa el movimiento si el cliente pone el cursor encima */
.clients-row:hover {
    animation-play-state: paused;
}

/* La matemática perfecta para mover exactamente el primer bloque de 6 logos */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); } 
}

.client-logo {
    flex: 0 0 auto; 
    width: 180px;
    height: 180px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Puedes mantener el resto de reglas (hover, img y @media para .client-logo) sin cambios */

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .client-logo {
        width: 140px;
        height: 140px;
    }
}

/* ==========================================================================
   4. ÚLTIMAS NOTICIAS
   ========================================================================== */
.section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2429;
    margin-bottom: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.news-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-title {
    font-size: 1.15rem;
    color: #1f2429;
    margin-bottom: 25px;
    line-height: 1.4;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================================================
   5. PIE DE PÁGINA Y FORMULARIO (FOOTER)
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 25px;
}

.footer-info p {
    color: #a0aab5;
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #a0aab5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-form form .form-field {
    margin-bottom: 15px;
}

.footer-form input, 
.footer-form select, 
.footer-form textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.footer-form input:focus, 
.footer-form select:focus, 
.footer-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-form select option {
    background: #1a1a1a;
    color: var(--white);
}

.footer-form button[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    width: 100%;
    transition: background 0.3s;
    margin-top: 10px;
}

.footer-form button[type="submit"]:hover {
    background: var(--primary-hover);
}
/* ==========================================================================
   PÁGINA DE DETALLE DE PRODUCTO (ESCRITORIO)
   ========================================================================== */
.product-detail-section {
    padding: 80px 0;
    background-color: var(--white); 
}

.product-detail-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.product-detail-text {
    flex: 0 0 45%; 
    text-align: left;
}

.product-detail-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2429; 
    margin-bottom: 25px;
    line-height: 1.2;
}

.product-detail-description {
    font-size: 1.05rem;
    color: #6b7785; 
    line-height: 1.8;
}

.product-detail-image {
    flex: 0 0 50%; 
    display: flex;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    max-width: 950px; 
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   ESPECIFICACIONES TÉCNICAS
   ========================================================================== */
.technical-specs-section {
    padding: 60px 0 100px;
    background-color: var(--white);
}

.specs-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5259; /* Un gris un poco más suave como en la referencia */
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.specs-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.specs-image-container img {
    width: 100%;
    max-width: 1000px; /* Limita el ancho para que no se vea desproporcionada en pantallas gigantes */
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   PÁGINA DE SOPORTE
   ========================================================================== */
.support-section {
    padding: 80px 0 120px;
    background-color: var(--white);
}

.support-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5259;
    margin-bottom: 60px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 30px;
}

.support-card {
    background-color: var(--bg-light); /* Fondo gris súper claro */
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.support-icon {
    width: 72px;
    height: 72px;
    background-color: #3b82f6; /* Azul base */
    border-radius: 50%; /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px; /* Centrado automático */
    color: var(--white);
}

.support-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2429;
    margin-bottom: 15px;
}

.support-card-desc {
    font-size: 0.95rem;
    color: #6b7785;
    line-height: 1.5;
}

/* ==========================================================================
   PÁGINA DE CONTACTO (FORMULARIO PRINCIPAL)
   ========================================================================== */
.contact-page-section {
    padding: 80px 0 120px;
    background-color: var(--white);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #4a5259;
    margin-bottom: 50px;
}

/* Forzamos a Grav Form a usar CSS Grid de 2 columnas */
.contact-page-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

/* Cada campo del formulario */
.contact-page-form .form-field {
    display: flex;
    flex-direction: column;
    margin: 0; 
}

.contact-page-form label {
    font-size: 0.95rem;
    color: #8c98a4;
    margin-bottom: 8px;
    font-weight: 400;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
    background-color: #f7f9fc;
    border: 1px solid #eef2f5;
    border-radius: 4px;
    padding: 15px;
    font-size: 1rem;
    color: #1f2429;
    outline: none;
    width: 100%;
    transition: border-color 0.3s;
}

.contact-page-form input:focus {
    border-color: #3b82f6;
}

/* El descargo de responsabilidad y el botón ocupan todo el ancho (ambas columnas) */
.contact-page-form .form-field:nth-last-child(2),
.contact-page-form .buttons {
    grid-column: 1 / -1; 
}

.contact-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #8c98a4;
    margin: 15px 0 25px;
}

/* Botón de envío grande y azul */
.btn-submit-wide {
    width: 100%;
    background-color: #3b82f6; /* Azul brillante */
    color: white;
    border: none;
    border-radius: 40px; /* Bordes muy redondeados */
    padding: 18px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-wide:hover {
    background-color: #2563eb;
}
/* Ocultar botón hamburguesa en escritorio */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #1f2429;
    cursor: pointer;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1200; /* Asegura que esté por encima de todo */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background-color: #20b858;
}

/* Ajuste para que no estorbe en pantallas de celulares */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
/* ==========================================================================
   TABLA DE ESPECIFICACIONES TÉCNICAS
   ========================================================================== */
.specs-table-container {
    max-width: 900px;
    margin: 60px auto 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow-x: auto; 
    border: 1px solid #eef2f5;
}

.specs-table-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2429;
    padding: 20px 30px;
    margin: 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid #eef2f5;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px; /* Evita que las columnas colapsen en móviles */
}

.specs-table th, 
.specs-table td {
    padding: 16px 30px;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.95rem;
    color: #4a5259;
}

.specs-table th {
    background-color: var(--white);
    font-weight: 700;
    color: #1f2429;
}

.specs-table tbody tr:hover {
    background-color: #f7f9fc;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #1f2429;
    width: 35%;
}

@media (max-width: 768px) {
    .specs-table th, 
    .specs-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}
/* Contenedor del Esquema de Dimensiones */
.specs-schematic {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid #eef2f5;
}

.specs-schematic img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.specs-disclaimer {
    font-size: 0.85rem;
    color: #8c98a4;
    margin: 0 auto;
    max-width: 80%;
    line-height: 1.5;
}
/* ==========================================================================
   6. RESPONSIVO (MÓVILES Y TABLETAS)
   ========================================================================== */
@media (max-width: 992px) {
.container {
        padding: 0 20px;
    }
    
    .navbar {
        position: fixed; /* Mantiene la barra fija arriba al hacer scroll en celulares */
        top: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        z-index: 1000;
        border-bottom: 1px solid #eef2f5;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block; 
        background: none;
        border: none;
        padding: 5px;
        z-index: 1100;
    }
    
    .nav-links {
        display: none; 
        position: absolute;
        top: 76px; /* Justo debajo de la barra blanca */
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        border-top: 1px solid #eef2f5;
        z-index: 1050;
    }
    
    .nav-links.active {
        display: flex !important; 
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 15px 30px;
        justify-content: flex-start;
        border-bottom: 1px solid #f9fafb;
    }
	
    .lang-selector {
        margin-left: auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .shuttle-display {
        flex-direction: column;
        text-align: center;
    }
    .shuttle-info {
        flex: 100%;
        text-align: center;
        padding: 0 15px;
    }
    .shuttle-image {
        flex: 100%;
        margin-top: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* Reglas móviles para la página de producto encapsuladas correctamente */
    .product-detail-layout {
        flex-direction: column; 
        text-align: center;
        gap: 40px;
    }
    .product-detail-text, .product-detail-image {
        flex: 100%; 
    }
    .product-detail-text {
        text-align: center; 
    }
    .product-detail-title {
        font-size: 2.2rem;
    }
	.specs-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
	.support-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
    .support-main-title {
        font-size: 2rem;
    }
	.contact-page-form {
        grid-template-columns: 1fr; /* Apila todo en 1 columna */
    }
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr; /* Fuerza 1 columna en celulares */
    }
    
    .support-card {
        padding: 30px 20px; /* Reduce ligeramente el relleno para optimizar espacio */
    }
}