/* VARIABLES DE PALETA DE COLORES */
:root {
    --navy-dark: #0b131e;
    --navy-card: #111a28;
    --mustard-yellow: #f2b705;
    --mustard-hover: #d9a304;
    --white: #ffffff;
    --gray-text: #94a3b8;
    --light-bg: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: #333;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--navy-dark);
    padding: 1.2rem 4rem;
}

.logo {
    display: flex;
    align-items: center;    /* Centra la imagen y el texto horizontalmente */
    text-align: center;     /* Centra el texto */
    gap: 0.8rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.4rem; /* Espacio entre el icono/logo y las letras */
}

.logo-text h2 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
}

.logo-text span {
    color: #f1c40f; /* Color amarillo */
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-top: 2px;
    text-align: center; /* Garantiza que LOGISTICS quede centrado respecto a ACARGO */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.logo-img {
    height: 45px; /* Ajusta la altura según el tamaño de tu logo */
    width: auto;
    object-fit: contain;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--mustard-yellow);
    border-bottom: 2px solid var(--mustard-yellow);
    padding-bottom: 4px;
}

.btn-cta {
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--mustard-hover);
}

/* HERO SECTION CON CORTES EN ÁNGULO */
.hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    background-color: var(--navy-dark);
    display: flex;
    align-items: center;
    padding: 0 4rem;
    overflow: hidden;
    animation: fadeIn 1.2s ease-in-out;
}

/* CARRUSEL DE 5 IMÁGENES EN HERO SECTION */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageFadeZoom 25s infinite ease-in-out;
}

/* Rutas de las 5 imágenes */
/* CARRUSEL DE 5 IMÁGENES EN HERO SECTION */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageFadeZoom 25s infinite ease-in-out;
}

/* Rutas de las 5 imágenes */
.slide-1 {
    /* Avión de Carga (Logística Aérea) */
    background-image: url('Imgs/img3.png');
    animation-delay: 0s;
}

.slide-2 {
    /* Tu imagen principal del barco */
    background-image: url('Imgs/FondoAcargo.jpeg');
    animation-delay: 5s;
}

.slide-3 {
    /* Camiones de Transporte Terrestre */
    background-image: url('Imgs/img2.png');
    animation-delay: 10s;
}

.slide-4 {
    /* Puerto de Contenedores */
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1920&q=80');
    animation-delay: 15s;
}

.slide-5 {
    /* Logística Global / Almacén */
    background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1920&q=80');
    animation-delay: 20s;
}

/* ANIMACIÓN DE APARICIÓN, DESAPARICIÓN Y ZOOM CONTINUO */
@keyframes imageFadeZoom {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    4% {
        opacity: 1; /* Aparece suavemente */
    }
    20% {
        opacity: 1; /* Permanece visible */
    }
    24% {
        opacity: 0; /* Desaparece suavemente */
        transform: scale(1.08); /* Ligero zoom mientras se muestra */
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}



/* Capa azul oscura que forma el corte diagonal izquierdo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background-color: rgba(11, 19, 30, 0.95);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
    color: var(--white);
}

.sub-tag {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--gray-text);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin: 1rem 0;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--mustard-yellow);
}

.hero-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.btn-main:hover {
    background-color: var(--mustard-hover);
}

.hero-badge {
    position: absolute;
    top: 30px;
    right: 4rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.hero-badge .line {
    width: 2px;
    height: 30px;
    background-color: var(--mustard-yellow);
}

/* SECCIÓN DE SERVICIOS */
.services {
    display: flex;
    justify-content: space-between;
    background-color: var(--white);
    padding: 3rem 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid #e2e8f0;
}

.service-card:last-child {
    border-right: none;
}

.service-card i {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

/* SECCIÓN DE ESTADÍSTICAS CON ÁNGULO AMARILLO */
.stats-section {
    display: flex;
    background-color: var(--navy-dark);
    color: var(--white);
    min-height: 180px;
    position: relative;
}

.stats-info {
    flex: 1.2;
    display: flex;
    align-items: center;
    padding: 2rem 4rem;
    gap: 3rem;
}

.stats-brand .yellow-line {
    width: 40px;
    height: 3px;
    background-color: var(--mustard-yellow);
    margin-bottom: 8px;
}

.stats-brand h3 {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stats-brand p {
    font-size: 0.65rem;
    color: var(--gray-text);
    letter-spacing: 1px;
}

.stats-grid {
    display: flex;
    gap: 3rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 3rem;
}

.stat-item h2 {
    color: var(--mustard-yellow);
    font-size: 1.8rem;
}

.stat-item p {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.stats-image-wrap {
    flex: 0.8;
    position: relative;
    overflow: hidden;
}

.stats-image {
    width: 100%;
    height: 100%;
    background-image: url('Imgs/FondoAcargo.jpeg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.yellow-triangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background-color: var(--mustard-yellow);
    clip-path: polygon(100% 0, 0 100%, 0 0);
    z-index: 2;
}

/* ANIMACIÓN ENTRADA */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* PIE DE PÁGINA (FOOTER) */
.footer {
    background-color: #070d14; /* Tono más oscuro del azul marino */
    color: var(--white);
    padding-top: 4rem;
    border-top: 3px solid var(--mustard-yellow);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 0 4rem 3rem 4rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col.brand-col {
    flex: 1.3;
}

.footer-col.brand-col p {
    color: var(--gray-text);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1.2rem 0;
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

/* Títulos de Columnas */
.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--mustard-yellow);
}

/* Listas de Enlaces */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
}

.footer-col ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a i {
    font-size: 0.75rem;
    color: var(--mustard-yellow);
}

.footer-col ul li a:hover {
    color: var(--mustard-yellow);
    padding-left: 5px;
}

/* Columna de Contacto */
.footer-col.contact-col ul li {
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col.contact-col ul li i {
    color: var(--mustard-yellow);
    font-size: 0.9rem;
    width: 16px;
}

/* Sección Inferior (Derechos) */
.footer-bottom {
    background-color: var(--navy-dark);
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--gray-text);
}

.footer-legal {
    display: flex;
    gap: 12px;
}

.footer-legal a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--mustard-yellow);
}

/* SECCIÓN DE PUERTOS */
.ports-section {
    padding: 5rem 4rem;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: 2.3rem;
    color: var(--navy-dark);
    margin: 0.5rem 0 1rem 0;
    font-weight: 800;
}

.section-header h2 span {
    color: var(--mustard-yellow);
}

.section-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* GRIDA DE TARJETAS */
.ports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.port-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.port-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.port-img-wrap {
    height: 140px;
    background-color: var(--navy-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--mustard-yellow);
}

.port-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.3s ease;
}

.port-card:hover .port-icon {
    color: var(--mustard-yellow);
}

.port-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.port-info {
    padding: 1.5rem;
}

.port-info h3 {
    font-size: 1.15rem;
    color: var(--navy-dark);
    margin-bottom: 0.4rem;
}

.port-country {
    font-size: 0.85rem;
    color: var(--mustard-yellow);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.port-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* BANNER DE PÁGINAS SECUNDARIAS */
.page-banner {
    position: relative;
    height: 35vh;
    min-height: 250px;
    background-color: var(--navy-dark);
    display: flex;
    align-items: center;
    padding: 0 4rem;
    overflow: hidden;
    background-image: url('Imgs/FondoAcargo.jpeg');
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 30, 0.88);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    font-weight: 800;
}

.banner-content h1 span {
    color: var(--mustard-yellow);
}

.banner-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* SECCIÓN NOSOTROS (ABOUT PAGE) */
.about-page-section {
    padding: 5rem 4rem;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-box h2 {
    font-size: 2.1rem;
    color: var(--navy-dark);
    margin: 0.8rem 0 1.2rem 0;
    font-weight: 800;
}

.about-text-box p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--mustard-yellow);
    background-color: var(--navy-dark);
    padding: 12px;
    border-radius: 8px;
}

.feature-item h4 {
    color: var(--navy-dark);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.85rem;
    margin: 0;
}

/* CARDS MISIÓN Y VISIÓN */
.about-cards-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mv-card {
    background-color: var(--light-bg);
    padding: 2.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--navy-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.mv-card.accent-card {
    border-left-color: var(--mustard-yellow);
    background-color: var(--navy-dark);
    color: var(--white);
}

.mv-card i {
    font-size: 2rem;
    color: var(--mustard-yellow);
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.mv-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mv-card.accent-card p {
    color: var(--gray-text);
}
/* ESTILOS PARA LA PÁGINA DE SERVICIOS EN FRANJAS COMPLETAS */
.services-fullpage {
    width: 100%;
}

.service-strip {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa el 100% del alto de la pantalla */
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax elegante al hacer scroll */
}

/* Imagen de fondo Carga Marítima */
.strip-maritimo {
    background-image: url('Imgs/FondoAcargo.jpeg');
}

/* Imagen de fondo Carga Aérea */
.strip-aereo {
    background-image: url('Imgs/img3.png');
}

/* Imagen de fondo Carga Terrestre */
.strip-terrestre {
    background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80');
}

/* Capa oscura de superposición */
.strip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

/* Contenido de cada franja */
.strip-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
}

.strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.strip-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.strip-content p {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.strip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.strip-features span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.strip-features i {
    color: var(--mustard-yellow);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .strip-content h2 {
        font-size: 2.2rem;
    }
    
    .service-strip {
        background-attachment: scroll; /* Mejora rendimiento en teléfonos */
        padding: 0 5%;
    }
}
/* ESTILOS DEL FLUJO DE PROCESO (ACARGO) */
.process-section {
    padding: 5rem 8%;
    background-color: var(--navy-dark);
    color: var(--white);
    text-align: center;
}

.process-title h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--mustard-yellow);
}

.step-num {
    width: 38px;
    height: 38px;
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.process-step p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}
/* ESTILOS PARA PÁGINA ABOUT US (ACARGO LOGISTICS) */
.page-banner {
    position: relative;
    padding: 5rem 8%;
    background-color: var(--navy-dark);
    background-image: url('Imgs/FondoAcargo.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.banner-content h1 span {
    color: var(--mustard-yellow);
}

.banner-content p {
    font-style: italic;
    color: #cbd5e1;
}

/* SECCIÓN PRINCIPAL SOBRE NOSOTROS */
.about-page-section {
    padding: 5rem 8%;
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text-box h2 {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin: 0.8rem 0 1.5rem 0;
    line-height: 1.2;
}

.about-text-box p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--mustard-yellow);
    background: var(--navy-dark);
    padding: 12px;
    border-radius: 8px;
}

.feature-item h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* TARJETAS DE ESTADÍSTICAS */
.about-cards-box {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--navy-dark);
}

.stat-card.highlight {
    border-left-color: var(--mustard-yellow);
    background: var(--navy-dark);
    color: var(--white);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--mustard-yellow);
    font-weight: 800;
}

.stat-card p {
    font-size: 0.95rem;
    font-weight: 600;
}

/* MISIÓN Y VISIÓN */
.mission-vision-section {
    padding: 4rem 8%;
    background-color: var(--navy-dark);
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--white);
}

.mv-card.accent-card {
    border-color: var(--mustard-yellow);
}

.mv-icon {
    font-size: 2rem;
    color: var(--mustard-yellow);
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.mv-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* POR QUÉ ELEGIRNOS */
.why-choose-us {
    padding: 5rem 8%;
    background-color: var(--white);
    text-align: center;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-content h2 {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin: 0.8rem 0 1.5rem 0;
}

.why-content p {
    color: var(--dark-gray);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ESTILOS DE LOS 4 RECUADROS DE SERVICIOS ADICIONALES */
.extra-services-section {
    padding: 5rem 8%;
    background-color: var(--light-bg);
    text-align: center;
}

.extra-services-title .sub-tag {
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.extra-services-title h2 {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin: 0.5rem 0 0.8rem 0;
    font-weight: 800;
}

.extra-services-title p {
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.extra-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.extra-card {
    background-color: var(--white);
    padding: 2.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--navy-dark);
    transition: all 0.3s ease;
    text-align: left;
}

.extra-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--mustard-yellow);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.extra-icon {
    width: 55px;
    height: 55px;
    background-color: var(--navy-dark);
    color: var(--mustard-yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.extra-card:hover .extra-icon {
    background-color: var(--mustard-yellow);
    color: var(--navy-dark);
}

.extra-card h3 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.extra-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.6;
}
/* GRID DE TODOS LOS SERVICIOS EN EL INICIO */
.home-services-section {
    padding: 5rem 8%;
    background-color: var(--white);
    text-align: center;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin: 0.5rem 0 0.8rem 0;
    font-weight: 800;
}

.section-title p {
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.services-grid-all {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.mini-service-card {
    background-color: var(--light-bg);
    padding: 1.8rem;
    border-radius: 10px;
    border-left: 4px solid var(--navy-dark);
    text-align: left;
    transition: all 0.3s ease;
}

.mini-service-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--mustard-yellow);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.mini-icon {
    font-size: 1.6rem;
    color: var(--mustard-yellow);
    margin-bottom: 0.8rem;
}

.mini-service-card h3 {
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.mini-service-card p {
    font-size: 0.88rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* SECCIÓN DE UBICACIÓN Y MAPA */
.location-section {
    padding: 5rem 8%;
    background-color: var(--navy-dark);
    color: var(--white);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin: 0.5rem 0 1rem 0;
}

.location-info p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: var(--mustard-yellow);
    color: var(--navy-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--white);
}

.info-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #cbd5e1;
}

/* CONTENEDOR DEL MAPA */
.map-box {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--mustard-yellow);
}

@media (max-width: 850px) {
    .location-container {
        grid-template-columns: 1fr;
    }
}
/* ESTILOS DE PÁGINA DE CONTACTO */
.contact-section {
    padding: 5rem 8%;
    background-color: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* TARJETA DE DATOS (IZQUIERDA) */
.contact-info-card {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.contact-info-card > p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-detail-item i {
    font-size: 1.3rem;
    color: var(--navy-dark);
    background-color: var(--mustard-yellow);
    padding: 12px;
    border-radius: 8px;
}

.contact-detail-item h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* FORMULARIO (DERECHA) */
.contact-form-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-box h3 {
    font-size: 1.8rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mustard-yellow);
}

.submit-btn {
    grid-column: 1 / -1;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 14px;
    text-align: center;
}

@media (max-width: 850px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   ESTILOS DEL FOOTER (ACARGO LOGISTICS)
   ========================================== */
.footer {
    background-color: #050d18;
    color: #ffffff;
    padding: 3.5rem 8% 0 8%;
    border-top: 3px solid #f1c40f; /* Línea amarilla superior */
    font-family: inherit;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

/* Marca y Descripción */
.brand-col .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.2rem;
}

.brand-col p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

/* Redes Sociales Círculos */
.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #f1c40f;
    color: #050d18;
    transform: translateY(-3px);
}

/* Encabezados de Columnas */
.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 2px;
    background-color: #f1c40f;
}

/* Listas de Enlaces */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: #f1c40f;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Datos de Contacto */
.contact-info-list {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-item i {
    color: #f1c40f;
    font-size: 1rem;
    margin-top: 3px;
}

.contact-item span {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Franja Inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 0 -9.5% 0 -9.5%; /* Se extiende a lo ancho */
    padding-left: 9.5%;
    padding-right: 9.5%;
}

.footer-bottom-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Adaptación para Pantallas Pequeñas */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
/* ALINEACIÓN DEL LOGO Y EL TEXTO EN EL FOOTER */
.brand-col .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.brand-col .logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0; /* Quita el margen inferior para alinearlo bien */
}

.brand-col .logo-text h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.5px;
}

.brand-col .logo-text span {
    color: #f1c40f; /* Color amarillo mostaza */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-top: 2px;
}
/* ==========================================
   FRANJA DE ESTADÍSTICAS COMPLETA
   ========================================== */
.stats-banner {
    display: flex;
    background-color: #061221; /* Azul oscuro profundo */
    min-height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.stats-content {
    display: flex;
    align-items: center;
    padding: 2.5rem 3rem 2.5rem 8%;
    flex: 1.2;
    gap: 3.5rem;
    z-index: 2;
}

/* MARCA DE LA IZQUIERDA */
.stats-brand {
    display: flex;
    flex-direction: column;
}

.yellow-line {
    width: 45px;
    height: 4px;
    background-color: #f1c40f; /* Amarillo mostaza */
    margin-bottom: 0.8rem;
}

.stats-brand h2 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.stats-brand span {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
    display: block;
}

/* LÍNEA SEPARADORA VERTICAL */
.stats-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* CONTENEDOR DE NÚMEROS */
.stats-container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centra el número y texto horizontalmente */
    text-align: center;      /* Centra las líneas de texto */
    min-width: 110px;
}

.stat-box h3 {
    color: #f1c40f;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.3rem 0;
    line-height: 1;
}

.stat-box p {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.3;
    max-width: 130px;
}

/* CORTE DIAGONAL E IMAGEN A LA DERECHA */
.stats-image-container {
    position: relative;
    flex: 0.8;
    min-width: 300px;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -50px;
}

.yellow-border-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1c40f;
    clip-path: polygon(20% 0, 26% 0, 6% 100%, 0% 100%);
    z-index: 2;
}

.stats-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ADAPTACIÓN MÓVIL */
@media (max-width: 1024px) {
    .stats-banner {
        flex-direction: column;
    }

    .stats-content {
        flex-direction: column;
        padding: 2.5rem 5%;
        gap: 2rem;
    }

    .stats-divider {
        width: 80%;
        height: 1px;
    }

    .stats-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-image-container {
        width: 100%;
        height: 220px;
        clip-path: none;
        margin-left: 0;
    }

    .yellow-border-diagonal {
        display: none;
    }
}
/* ==========================================
   ESTILOS DE PÁGINAS LEGALES (TÉRMINOS / PRIVACIDAD)
   ========================================== */
.legal-section {
    padding: 4rem 8%;
    background-color: #f8fafc;
}

.legal-container {
    max-width: 950px;
    margin: 0 auto;
}

.legal-box {
    background-color: #ffffff;
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-box h2 {
    color: #050d18; /* Azul marino */
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f1c40f; /* Detalle amarillo */
    display: inline-block;
}

.legal-box h2:first-of-type {
    margin-top: 0;
}

.legal-box p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.legal-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-box ul li {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 768px) {
    .legal-section {
        padding: 2.5rem 4%;
    }

    .legal-box {
        padding: 2rem 1.5rem;
    }

    .legal-box h2 {
        font-size: 1.2rem;
    }
}
/* BOTÓN VOLVER ARRIBA */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #f1c40f; /* Amarillo mostaza */
    color: #050d18;            /* Icono azul oscuro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Estado activo cuando el usuario hace scroll */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Efecto al pasar el mouse */
.back-to-top:hover {
    background-color: #ffffff;
    color: #050d18;
    transform: translateY(-5px);
}

.language-switch {
    position: fixed;
    top: 24px;
    right: 10px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: #0a192f;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease,
                background 0.2s ease,
                color 0.2s ease;
}

.language-switch:hover {
    background: #f2c230;
    color: #0a192f;
    transform: translateY(-2px);
}

.language-switch span {
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .language-switch {
        top: 14px;
        right: 14px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* La banderita se esconde al bajar */
.language-switch {
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                background 0.2s ease,
                color 0.2s ease;
}

/* Estado oculto */
.language-switch.oculto {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
}



/* =========================================================
   FLUJO DEL PROCESO: DISEÑO RESPONSIVE
   6 pasos en pantallas grandes; se reorganiza al reducirse
   el ancho de la ventana.
   ========================================================= */
.process-section {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.3vw, 1.25rem);
    align-items: stretch;
    width: 100%;
}

.process-step {
    min-width: 0;
    padding: clamp(0.8rem, 1.4vw, 1.4rem);
    overflow-wrap: anywhere;
}

.process-step h4 {
    font-size: clamp(0.88rem, 1vw, 1.1rem);
    line-height: 1.25;
}

.process-step p {
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    line-height: 1.45;
}

/* Portátiles y ventanas medianas: 3 columnas, 2 filas */
@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .process-step {
        padding: 1.15rem;
    }

    .process-step h4 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.82rem;
    }
}

/* Tabletas: 2 columnas */
@media (max-width: 700px) {
    .process-section {
        padding: 3rem 1.25rem;
    }

    .process-title h2 {
        font-size: clamp(1.55rem, 5vw, 2rem);
        margin-bottom: 2rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .process-step {
        padding: 1rem;
    }
}

/* Celulares pequeños: pasos apilados para facilitar la lectura */
@media (max-width: 420px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .process-step {
        padding: 1.15rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }
}


/* ===== CORRECCIÓN RESPONSIVE ACARGO: ancho completo en móviles ===== */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}
img, video, iframe {
    max-width: 100%;
}
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .navbar .logo {
        align-self: center;
        justify-content: center;
        margin: 0 auto;
    }
    .navbar nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .navbar .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.35rem 0;
        background: #111a28;
        border: 1px solid rgba(242,183,5,.55);
        border-radius: 12px;
    }
    .navbar .nav-links.open {
        display: flex;
    }
    .navbar .nav-links li {
        width: 100%;
        text-align: center;
    }
    .navbar .nav-links a {
        display: block;
        padding: 0.8rem 1rem;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        min-height: 40px;
        padding: .55rem 1.2rem;
        border: 1px solid #f2b705;
        border-radius: 8px;
        background: transparent;
        color: #f2b705;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }
    .navbar .btn-cta {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        margin: 0 auto;
    }
    .hero {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 540px;
        padding: 4rem 1.25rem 2.5rem;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
        overflow-wrap: normal;
    }
    .hero-content p {
        max-width: 100%;
    }
    .hero-overlay {
        width: 100%;
        clip-path: none;
    }
    .hero-badge {
        top: 1rem;
        right: 1rem;
    }
    .services {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem .75rem;
    }
    .service-card {
        min-width: 0;
        padding: 0 .35rem;
        border-right: 0;
        overflow-wrap: anywhere;
    }
    .stats-banner, .stats-content, .home-services-section,
    .footer, .footer-container, main, section {
        max-width: 100%;
        min-width: 0;
    }
    .stats-container {
        gap: 1.2rem;
        width: 100%;
    }
    .stats-content {
        padding: 2rem 1.25rem;
    }
    .stats-image-container {
        min-width: 0;
    }
    .footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (max-width: 420px) {
    .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
}
@media (min-width: 769px) {
    .mobile-menu-toggle { display: none; }
}


/* ===== Ajuste visual del HERO en celulares ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 590px;
        height: auto;
        padding: 5.5rem 1.35rem 3rem;
        align-items: center;
        isolation: isolate;
    }
    .hero-slider,
    .hero-slider .slide {
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .hero-slider .slide {
        background-position: center center;
        background-size: cover;
    }
    .hero-overlay {
        inset: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            rgba(7, 15, 26, .94) 0%,
            rgba(7, 15, 26, .82) 58%,
            rgba(7, 15, 26, .48) 100%
        );
        clip-path: none;
    }
    .hero-content {
        margin: 0;
        padding: 0;
        max-width: 440px;
    }
    .hero-content .sub-tag {
        display: block;
        max-width: 100%;
        margin-bottom: 1.1rem;
        font-size: .78rem;
        line-height: 1.6;
        letter-spacing: .11em;
        overflow-wrap: normal;
    }
    .hero-content h1 {
        max-width: 100%;
        margin: 0 0 1rem;
        font-size: clamp(2.45rem, 8.4vw, 3.5rem);
        line-height: 1.06;
        letter-spacing: -.035em;
        overflow-wrap: normal;
        word-break: normal;
    }
    .hero-content h1 span {
        display: inline;
    }
    .hero-content p {
        max-width: 34ch;
        margin: 0 0 1.5rem;
        color: #e2e8f0;
        font-size: 1rem;
        line-height: 1.65;
    }
    .hero-content .btn-main {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .65rem;
        max-width: 100%;
        padding: .85rem 1.2rem;
        font-size: .98rem;
        white-space: nowrap;
    }
    .hero-badge {
        top: 1rem;
        right: 1rem;
        z-index: 4;
        font-size: .72rem;
    }
}
@media (max-width: 380px) {
    .hero {
        min-height: 560px;
        padding: 5rem 1.1rem 2.5rem;
    }
    .hero-content h1 {
        font-size: 2.35rem;
    }
    .hero-content p {
        font-size: .94rem;
    }
}

/* ===== ACARGO: pulido móvil y navegación consistente ===== */
@media (max-width: 768px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .navbar { position: relative; box-sizing: border-box; }
  .navbar nav { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
  .navbar .nav-links { box-sizing: border-box; margin: 0; }
  .navbar .nav-links.open { display: flex; }
  .navbar .nav-links a { color: #f4f6f8; }
  .navbar .mobile-menu-toggle { display: inline-flex; }

  .services {
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    padding: 2.25rem 1rem;
    gap: 1.75rem 1rem;
  }
  .service-card { text-align: center; min-width: 0; }
  .service-card h3 { font-size: clamp(1rem, 4vw, 1.2rem); line-height: 1.3; overflow-wrap: normal; }
  .service-card p { font-size: .95rem; line-height: 1.5; overflow-wrap: normal; }

  .stats-banner { overflow: hidden; background: #071321; }
  .stats-content {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 1.25rem;
    text-align: center;
  }
  .stats-brand { width: 100%; text-align: center; }
  .stats-brand .yellow-line { margin: 0 auto .8rem; }
  .stats-brand h2 { font-size: clamp(1.45rem, 6vw, 2rem); line-height: 1.2; }
  .stats-brand span { display: block; font-size: .8rem; line-height: 1.6; letter-spacing: .12em; }
  .stats-divider { width: min(100%, 420px); height: 1px; margin: .25rem 0; }
  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-items: center;
    gap: 1.5rem .75rem;
    max-width: 480px;
    margin: 0 auto;
  }
  .stat-box { min-width: 0; width: 100%; text-align: center; }
  .stat-box:last-child { grid-column: 1 / -1; }
  .stat-box h3 { font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.1; margin: 0 0 .35rem; }
  .stat-box p { font-size: .95rem; line-height: 1.4; margin: 0; }
  .stats-image-container { width: 100%; max-width: 100%; overflow: hidden; }
  .stats-image-container img { display: block; width: 100%; height: auto; object-fit: cover; }

  .home-services-section { box-sizing: border-box; padding: 3rem 1rem; }
  .home-services-section h2 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; overflow-wrap: normal; }
  .home-services-section p { line-height: 1.6; }
}
@media (max-width: 390px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .stats-container { grid-template-columns: minmax(0, 1fr); }
  .stat-box:last-child { grid-column: auto; }
}

/* ===== Ajustes solicitados: español/inglés y móvil ===== */
.mission-vision-section .mv-container { justify-items: stretch; }
.mission-vision-section .mv-card { text-align: center; }
.mission-vision-section .mv-icon { display: block; margin: 0 auto 1rem; }
.mission-vision-section .mv-card h3,
.mission-vision-section .mv-card p { text-align: center; }

/* Formulario de cotización/contacto equilibrado y centrado */
.contact-container { align-items: center; }
.contact-form-box { box-sizing: border-box; width: 100%; min-width: 0; }
.contact-form { width: 100%; }
.contact-form .form-group { min-width: 0; text-align: left; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea { box-sizing: border-box; width: 100%; max-width: 100%; }

@media (max-width: 768px) {
  .mission-vision-section { padding: 2.5rem 1rem; }
  .mission-vision-section .mv-container { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .mission-vision-section .mv-card { box-sizing: border-box; width: 100%; padding: 1.6rem 1.25rem; }
  .mission-vision-section .mv-card h3 { font-size: 1.5rem; }
  .mission-vision-section .mv-card p { max-width: 55ch; margin: 0 auto; line-height: 1.65; }

  /* En celular se elimina la foto inferior del banner y cualquier texto superpuesto */
  .stats-banner .stats-image-container,
  .stats-banner .yellow-border-diagonal { display: none !important; }
  .stats-banner { display: block; }
  .stats-content { margin: 0 auto; }

  /* Centrar el bloque de cotización sin hacer los campos demasiado estrechos */
  .contact-container { width: 100%; box-sizing: border-box; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
  .contact-form-box { max-width: 620px; margin: 0 auto; padding: 1.4rem; }
  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .contact-form .form-group,
  .contact-form .form-group.full-width { grid-column: 1 / -1; width: 100%; }
  .contact-form .submit-btn { width: 100%; }
}
