/*
 * DNL TRANSPORTE Y LOGÍSTICA — HOJA DE ESTILOS PRINCIPAL
 * Diseño UI/UX Senior — Robusto, Serio, Clase Mundial
 * Paleta: Azul Marino Profundo (#002D62) + Blanco Puro (#FFFFFF)
 * Tipografía: Roboto 900 (titulares) + Montserrat (cuerpo)
 * ================================================================
 */

/* ── 1. VARIABLES Y RESET ─────────────────────────────────────── */
:root {
    --navy:          #002D62; /* Oficial DNL Profundo */
    --navy-dark:     #001C3D; /* Ajustado para mayor definición de marca */
    --navy-mid:      #003d85;
    --white:         #FFFFFF;
    --off-white:     #F2F2F2;
    --border:        #DDE2E9;
    --text-main:     #1A2B4A;
    --text-muted:    #5A6E8C;
    --accent-gold:   #F0AC2B;
    --success:       #10b981;
    --shadow-sm:     0 2px 8px rgba(31,78,120,.08);
    --shadow-md:     0 8px 24px rgba(31,78,120,.12);
    --shadow-lg:     0 20px 48px rgba(31,78,120,.18);
    --radius:        10px;
    --radius-lg:     18px;
    --transition:    all .3s cubic-bezier(.4,0,.2,1);
    --nav-height:    80px;
}

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

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 80px; /* Alineado con el alto nominal del navbar */
    overflow-x: hidden; /* Evitar scroll horizontal */
    overflow-y: scroll; /* Forzar scrollbar para evitar saltos de ancho al navegar por anclas */
}


body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}



/* Títulos con Montserrat */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat se ve mejor en 700 para títulos */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px; /* Harmonizado con el navbar para alineación perfecta */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}


/* ── ANIMACIONES DE REVELADO PREMIUM ── */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: 
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* Secciones — scroll-margin-top garantiza que el navegador
   deje exactamente 90px libres al saltar por ancla */
.section {
    padding: 90px 0;
    scroll-margin-top: 90px;
}
.section--alt { background: var(--off-white); }
.section--compact { padding: 50px 0; } /* Para secciones con más contenido visual */


/* Título de sección */
.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(0,45,98,.08);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-divider {
    width: 52px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
    margin-bottom: 28px;
}

.section-divider--center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }

/* ── 2. NAVEGACIÓN STICKY ─────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura fija para evitar saltos */
    z-index: 1000;
    background: var(--navy);
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled {
    height: 80px; /* Mantener altura para evitar saltos de layout */
    background: rgba(0, 45, 98, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}



/* Ajuste de scroll padding dinámico (corresponde a navbar scrolled) */


.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px; /* Mismo padding que .container */
}




/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-logo img {
    height: 52px; /* Ajustado al nuevo alto de 80px */
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}


.nav-logo:hover img {
    transform: scale(1.04);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.navbar.scrolled .nav-logo img {
    height: 40px; /* Ajustado al nuevo alto de 60px */
}


/* Menú de links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px; /* Un poco más de aire interno entre items, pero compacto */
}


.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 14px;
    display: inline-block;
    outline: none !important; /* Eliminar focus ring que genera saltos */
}


.nav-links a:hover {
    color: var(--accent-gold);
}

/* Botón CTA en navbar */
.nav-cta {
    background: var(--accent-gold);
    color: var(--navy) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
}

.nav-cta:hover {
    background: var(--white);
    color: var(--navy) !important;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

/* Botón hamburguesa (Consolidado) */
.nav-toggle {
    display: none; /* Oculto en desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px; /* Reducción de espacio */
    padding: 6px;
    z-index: 1100;
}


.nav-toggle span {
    display: block;
    width: 22px; /* Reducción elegante */
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}



/* ── 3. HERO (LIMPIO Y CLARO) ────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(0, 45, 98, .65) 0%,   /* Menos opacidad para una imagen más limpia */
            rgba(0, 35, 80, .55) 45%,
            rgba(0, 26, 61, .50) 75%,
            rgba(0, 18, 45, .60) 100%
        ),
        url('img/cuesta_de_sol.png') 85% center/cover no-repeat;
}

.hero-title, .hero-subtitle {
    text-shadow: 0 4px 15px rgba(0,0,0,0.5); /* Sombra para legibilidad sobre fondo más claro */
}


/* Blobs decorativos removidos para un diseño sólido y corporativo */


.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: rgba(0, 26, 61, 0.6); /* Navy oscuro sólido */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 35px;
    border-radius: var(--radius-lg);
    margin-top: 60px;
}


.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-item span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15); /* Sólido pero translúcido simple */
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--accent-gold);
}



.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-title span { color: var(--accent-gold); }

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,.85);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── 4. BOTONES ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    border-radius: 50px;   /* Bordes muy redondeados */
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

/* Primario (blanco/dorado sobre oscuro) */
.btn-primary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--navy-dark);
    transform: scale(1.04);   /* Efecto de escala en hover */
    box-shadow: 0 8px 24px rgba(240,172,43,.35);
}

/* Navy (para secciones claras) */
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    transform: scale(1.04);
}

/* Full width - Elegant & Centered */
.btn-block { width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; justify-content: center; }

/* ── 5. NOSOTROS (CON TEXTO DECORATIVO) ───────────────────────── */
#nosotros {
    padding-top: 50px; /* Aumentado de 20px para bajar un poco el título */
    scroll-margin-top: 80px; /* Alineado con el alto del navbar */
    position: relative;
    overflow: hidden;
}

/* Texto decorativo removido para mayor seriedad corporativa */


/* Reducción de márgenes internos para mayor compactibilidad */
#nosotros .section-title { margin-bottom: 8px; }
#nosotros .section-divider { margin-bottom: 20px; }


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}



.about-card--full {
    grid-column: 1 / -1;
    display: flex;
    gap: 32px;
    align-items: center;
}

.about-card--full .about-card-icon { margin-bottom: 0; flex-shrink: 0; }

.about-values { flex-grow: 1; }
.values-list { 
    list-style: none; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    margin-top: 15px;
}
.values-list li { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.95rem;
    color: var(--navy-light);
}
.values-list li i { color: var(--success); font-size: 1.1rem; }



.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Franja de acento superior */
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent-gold));
}

.about-card-icon {
    width: 62px; height: 62px;
    background: var(--off-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.about-card p { color: var(--text-muted); font-size: .95rem; }

/* ── 6. TARJETAS DE SERVICIOS ─────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 45, 98, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(31, 78, 120, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.12);
    transform: translateY(-8px);
    border-color: rgba(0, 45, 98, 0.2);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 25px rgba(0, 45, 98, 0);
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover::after {
    box-shadow: 0 0 30px rgba(0, 45, 98, 0.08);
}

/* Ícono SVG vectorial dentro de círculo */
.service-icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0;
}

.service-card p {
    color: var(--text-muted);
    font-size: .92rem;
    flex: 1;
}

/* Badge de tipo de unidad */
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,45,98,.07);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    align-self: flex-start;
}

/* ── 7. COBERTURA GEOGRÁFICA ──────────────────────────────────── */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.coverage-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.coverage-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.coverage-card:hover img { transform: scale(1.08); }

/* Gradiente oscuro */
.coverage-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,26,61,.92) 0%,
        rgba(0,26,61,.4) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    transition: var(--transition);
}

.coverage-card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.coverage-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.coverage-card p {
    font-size: .83rem;
    color: rgba(255,255,255,.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* ── 8. FLOTA PREMIUM SHOWCASE ───────────────────────────────── */
.fleet-intro {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Layout fotográfico: imagen grande + columna lateral */
.fleet-showcase {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    border-radius: var(--radius-lg);
    overflow: visible; /* Cambiado de hidden para evitar recortes accidentales */
    box-shadow: var(--shadow-lg);
    margin-bottom: 0;
}

/* Imagen principal */
.fleet-main-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 100%;
}

.fleet-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px; /* Reducido de 520px para un tamaño más discreto */
    transition: var(--transition);
}

.fleet-main-img:hover img { transform: scale(1.04); }

/* Omitimos los antiguos badges y etiquetas para un diseño unificado */

/* Columna lateral: dos imágenes apiladas */
.fleet-side-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%; /* Sincroniza con la altura de la imagen principal */
}

.fleet-side-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    flex: 1; /* Esto hace que cada imagen ocupe exactamente el 50% del total */
    display: flex;
}

.fleet-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.fleet-item:hover img { transform: scale(1.04); }

/* ── 8.1. ETIQUETAS DE IMAGEN (OVERLAYS) ───────────────────── */
.fleet-img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 26, 61, 0.95) 0%, rgba(0, 26, 61, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    backdrop-filter: blur(2px);
    transition: var(--transition);
}

.fleet-img-icon {
    font-size: 1.4rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.fleet-img-text {
    display: flex;
    flex-direction: column;
}

.fleet-img-text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.fleet-img-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.fleet-main-img:hover .fleet-img-overlay,
.fleet-side-img:hover .fleet-img-overlay {
    background: linear-gradient(to top, rgba(0, 45, 98, 1) 0%, rgba(0, 45, 98, 0.7) 100%);
}

.fleet-img-overlay i {
    transition: transform 0.3s ease;
}

.fleet-main-img:hover .fleet-img-overlay i,
.fleet-side-img:hover .fleet-img-overlay i {
    transform: scale(1.1) rotate(-5deg);
}


/* ── 9. SECCIÓN CONTACTO / FORMULARIO PRO ─────────────────────── */
.contact-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    position: relative;
    /* overflow: hidden; -- Eliminado para prevenir recortes en el éxito */
}

/* Patrón de puntos decorativo */
.contact-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(240,172,43,.06);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-info-item p { font-size: .9rem; color: rgba(255,255,255,.85); margin: 0; }
.contact-info-item strong { display: block; font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; }

/* Contenedor del formulario (tarjeta limpia) */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    /* overflow: hidden; -- Eliminado para prevenir recortes en el éxito */
}

.form-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-card p {
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Grupo de campo */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Input base */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}

/* Validación visual: brilla en azul al seleccionar (focus) */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0,45,98,.12);
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: var(--text-main);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231F4E78' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select:focus {
    border-color: var(--navy);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0,45,98,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* Mensaje de éxito */
.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-top: 16px;
    font-size: .9rem;
    font-weight: 600;
}

/* ── 10. WHATSAPP FLOATING BUTTON ──────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 58px; height: 58px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
    z-index: 9999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
    50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.15); }
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

/* Tooltip */
.whatsapp-float::before {
    content: 'Escríbenos';
    position: absolute;
    right: 68px;
    background: var(--text-main);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.whatsapp-float:hover::before { opacity: 1; }

/* ── 12. ANIMACIONES DE REVELADO ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease-out, transform .8s ease-out;
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.75);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-width: 1000px;
    margin: 0 auto;
}



/* Columna de marca (Layout Horizontal) */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    width: 100px; /* Tamaño ligeramente reducido para layout horizontal */
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-tagline-container {
    border-left: 2px solid var(--accent-gold); /* Línea divisoria elegante */
    padding-left: 20px;
}

.footer-tagline {
    font-size: .85rem;
    line-height: 1.5;
    max-width: 400px;
    color: rgba(255,255,255,.6);
    margin-bottom: 0;
}



/* Ubicación destacada en footer */
.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(240,172,43,.1);
    border: 1px solid rgba(240,172,43,.25);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-top: 16px;
}

.footer-location i { color: var(--accent-gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.footer-location strong {
    display: block;
    color: var(--white);
    font-size: .85rem;
    margin-bottom: 2px;
}

.footer-location span { font-size: .8rem; color: rgba(255,255,255,.6); }

.footer-col h4 {
    font-size: .8rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.4);
    margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: .875rem;
    color: rgba(255,255,255,.65);
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before { content: '›'; font-size: 1.1rem; }

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

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--navy-mid);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}

.footer-bottom a {
    color: rgba(255,255,255,.5);
    transition: color .2s;
}

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

/* ── 12. RESPONSIVE ───────────────────────────────────────────── */

/* ─── TABLET (≤960px) ─── */
@media (max-width: 960px) {
    .services-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr 1fr; }
    .fleet-showcase { grid-template-columns: 1fr; }
    .fleet-main-img img { min-height: 300px; }
    .fleet-side-col { height: auto; flex-direction: row; }
    .fleet-side-img img { min-height: 200px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .container { padding: 0 20px; }
}

/* ─── MÓVIL (≤768px) — Diseño Senior ─── */
@media (max-width: 768px) {
    :root { --nav-height: 60px; }
    html { scroll-padding-top: 60px; }

    /* ── Tipografía móvil ── */
    .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1.3; }
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

    /* ── Secciones — más aire ── */
    .section { padding: 56px 0; }
    .section--compact { padding: 44px 0; }
    .container { padding: 0 16px; }

    /* ── Hero móvil ── */
    .hero { min-height: 100svh; padding-top: var(--nav-height); }
    .hero-content { max-width: 100%; }
    .hero-badge { font-size: .7rem; padding: 5px 12px; margin-bottom: 16px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .btn { justify-content: center; width: 100%; padding: 14px 20px; font-size: 0.95rem; }
    .scroll-down { display: none; }

    /* ── Navbar móvil ── */
    .nav-logo img { 
        height: 44px; 
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    }
    .navbar.scrolled .nav-logo img { height: 38px; }
    .nav-toggle {
        display: flex;
        padding: 10px;
        margin-right: -4px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%; /* Ligeramente más angosto */
        max-width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px; /* Menos espacio entre links */
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 30px;
        display: flex;
        z-index: 1001;
    }

    .nav-links.open { 
        right: 0; 
    }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        padding: 10px 15px;
        font-size: 1rem; /* Fuente más corporativa y menos "juguete" */
        width: 100%;
        display: block;
        color: var(--white);
        text-align: center;
    }

    .nav-links .nav-cta {
        margin: 12px 0 0 0 !important;
        width: 100%;
        text-align: center;
        display: block;
        border-radius: 10px !important;
        padding: 14px !important;
    }

    /* ── Nosotros ── */
    .about-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-card { padding: 28px 20px; }
    .about-card--full { flex-direction: column; text-align: center; gap: 16px; }
    .about-card--full .about-card-icon { margin: 0 auto 12px; }
    .values-list { text-align: left; grid-template-columns: 1fr; }

    /* ── Servicios ── */
    .service-card { padding: 28px 20px; }

    /* ── Cobertura ── */
    .coverage-grid { grid-template-columns: 1fr; gap: 16px; }
    .coverage-card { height: 220px; }

    /* ── Flota ── */
    .fleet-showcase { grid-template-columns: 1fr; gap: 12px; }
    .fleet-main-img img { min-height: 240px; }
    .fleet-side-col { height: auto; flex-direction: column; }
    .fleet-side-img img { min-height: 180px; }

    /* ── Contacto ── */
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-card { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }

    /* ── Footer móvil ── */
    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { flex-direction: column; text-align: center; gap: 15px; }
    .footer-tagline-container { border-left: none; padding-left: 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .footer-tagline { max-width: 100%; }


    /* ── WhatsApp flotante ── */
    .whatsapp-float { 
        bottom: 20px; 
        right: 16px; 
        width: 50px; 
        height: 50px; 
        font-size: 1.4rem; 
    }
    .whatsapp-float::before { display: none; }

    /* ── Éxito del formulario ── */
    .folio-tag { padding: 16px 20px; }
    .folio-tag strong { font-size: 1.6rem; }
    .form-success-overlay { min-height: 400px !important; }
}

/* ─── MÓVIL PEQUEÑO (≤400px) ─── */
@media (max-width: 400px) {
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.88rem; }
    .section-title { font-size: 1.3rem; }
    .container { padding: 0 12px; }
    .about-card { padding: 24px 16px; }
    .service-card { padding: 24px 16px; }
    .form-card { padding: 20px 14px; }
    .coverage-card { height: 180px; }
    .nav-logo img { height: 38px; }
}

/* ── 13. MEJORAS DE PULIDO VISUAL — DNL PREMIUM ──────────────── */
/* (Estilos globales de .nav-cta ya están definidos en la sección 2. Navegación) */

/* Ajustes adicionales de contacto */
.contact-info-item a:hover {
    text-decoration: underline;
    opacity: 1;
}

.whatsapp-float {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ── 14. MENSAJE DE ÉXITO PREMIUM ────────────────────────────── */
.form-success-overlay {
    /* Eliminamos position: absolute para que el contenedor padre no colapse */
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px !important; /* Altura senior garantizada */
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ── ANIMATED CHECKMARK ("Más Chivo") ── */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}
.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}
.icon-line.line-tip {
    top: 46px; left: 14px;
    width: 25px;
    transform: rotate(45deg);
}
.icon-line.line-long {
    top: 38px; right: 8px;
    width: 47px;
    transform: rotate(-45deg);
}
.icon-circle {
    top: -4px; left: -4px;
    z-index: 10;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(76, 175, 80, 0.2);
    box-sizing: content-box;
    position: absolute;
}

/* Animaciones del Checkmark */
@keyframes draw-tip {
    0% { width: 0; left: 1px; top: 19px; }
    100% { width: 25px; left: 14px; top: 46px; }
}
@keyframes draw-long {
    0% { width: 0; right: 46px; top: 54px; }
    100% { width: 47px; right: 8px; top: 38px; }
}

.icon-line.line-tip { animation: draw-tip 0.5s ease 0.2s forwards; width: 0; }
.icon-line.line-long { animation: draw-long 0.5s ease 0.4s forwards; width: 0; }

/* ── FOLIO TAG ── */
.folio-tag {
    background: #F8FAFC;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 20px 40px;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition);
}
.folio-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}
.folio-tag strong {
    font-size: 2.2rem;
    color: var(--navy);
    font-weight: 900;
}

.form-success-content h3 {
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 10px;
}

/* ── FIN DE ESTILOS ── */
