/* =========================================================
   LAM TRANSPORTACIONES AP
   HOJA DE ESTILOS PRINCIPAL
========================================================= */

:root {
    --lam-red: #ef252d;
    --lam-red-dark: #b80f17;
    --lam-red-soft: rgba(239, 37, 45, 0.16);
    --lam-blue: #164f8f;
    --lam-blue-light: #2d96dc;
    --lam-blue-electric: #4db8ff;
    --dark-000: #010306;
    --dark-050: #02060b;
    --dark-100: #030911;
    --dark-150: #05101a;
    --dark-200: #071522;
    --dark-250: #0a1b2a;
    --surface-dark: rgba(7, 21, 34, 0.88);
    --surface-blue: rgba(10, 34, 54, 0.82);
    --surface-glass: rgba(9, 25, 39, 0.74);
    --white: #ffffff;
    --text-light: #d8e1e8;
    --text-muted: #9eb0bf;
    --text-dark: #17212b;
    --text-dark-muted: #617181;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-blue: rgba(92, 174, 230, 0.24);
    --border-red: rgba(239, 37, 45, 0.45);
    --container-width: 1380px;
    --header-height: 86px;
    --shadow-dark: 0 25px 65px rgba(0, 0, 0, 0.42);
    --shadow-red: 0 16px 42px rgba(239, 37, 45, 0.28);
    --transition-fast: 0.22s ease;
    --transition-normal: 0.35s ease;
}

/* =========================================================
   REINICIO GENERAL
========================================================= */

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--dark-000);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient( to bottom, var(--dark-000), var(--dark-100) );
    color: var(--white);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

    body.intro-playing {
        overflow: hidden;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

main {
    min-height: 100vh;
}

/* =========================================================
   UTILIDADES GENERALES
========================================================= */

.section-container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--lam-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

    .section-label::before {
        content: "";
        display: block;
        width: 26px;
        height: 1px;
        background: rgba(255, 255, 255, 0.68);
    }

.section-heading {
    max-width: 820px;
    margin: 0 auto 62px;
    text-align: center;
}

    .section-heading > span {
        display: inline-block;
        margin-bottom: 16px;
        color: var(--lam-red);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .section-heading h2 {
        color: var(--text-dark);
        font-size: clamp(2.25rem, 4vw, 4.15rem);
        font-weight: 900;
        line-height: 1.03;
        letter-spacing: -0.045em;
        text-transform: uppercase;
    }

        .section-heading h2 strong {
            color: var(--lam-red);
        }

    .section-heading p {
        max-width: 720px;
        margin: 22px auto 0;
        color: var(--text-dark-muted);
        font-size: 1rem;
        line-height: 1.8;
    }

/* =========================================================
   HEADER PRINCIPAL
========================================================= */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    width: 100%;
    min-height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: linear-gradient( to bottom, rgba(1, 5, 9, 0.74), rgba(1, 5, 9, 0.2) );
    transition: background var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal);
}

    .main-header.scrolled {
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(2, 8, 14, 0.9);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

.header-container {
    width: min(94%, var(--container-width));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

/* =========================================================
   LOGO
========================================================= */

.brand {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: 158px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.35));
}

.brand-text {
    display: none;
}

/* =========================================================
   NAVEGACIÓN
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

    .main-nav > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        transition: color var(--transition-fast), transform var(--transition-fast);
    }

        .main-nav > a:not(.nav-quote-button)::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 1px;
            width: 0;
            height: 2px;
            background: var(--lam-red);
            transition: width var(--transition-normal);
        }

        .main-nav > a:not(.nav-quote-button):hover {
            color: var(--white);
            transform: translateY(-2px);
        }

            .main-nav > a:not(.nav-quote-button):hover::after {
                width: 100%;
            }

/* =========================================================
   BOTONES PRINCIPALES
========================================================= */

.nav-quote-button,
.primary-button,
.secondary-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

    .nav-quote-button::before,
    .primary-button::before,
    .secondary-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 110deg, transparent 0%, rgba(255, 255, 255, 0.18) 48%, transparent 100% );
        transition: left 0.6s ease;
    }

    .nav-quote-button:hover::before,
    .primary-button:hover::before,
    .secondary-button:hover::before {
        left: 120%;
    }

.nav-quote-button,
.primary-button {
    border: 1px solid var(--lam-red);
    background: linear-gradient( 135deg, #f1262e, #c71119 );
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.nav-quote-button {
    min-width: 194px;
    min-height: 52px;
    padding: 0 24px !important;
}

    .nav-quote-button:hover,
    .primary-button:hover {
        border-color: #ff4c53;
        background: linear-gradient( 135deg, #ff3038, #a90d14 );
        transform: translateY(-3px);
        box-shadow: 0 22px 48px rgba(239, 37, 45, 0.38);
    }

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(4, 15, 25, 0.38);
    color: var(--white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .secondary-button:hover {
        border-color: var(--lam-blue-light);
        background: rgba(17, 61, 96, 0.42);
        transform: translateY(-3px);
        box-shadow: 0 18px 38px rgba(13, 91, 147, 0.26);
    }

/* =========================================================
   BOTÓN DE MENÚ MÓVIL
========================================================= */

.mobile-menu-button {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-blue);
    background: rgba(5, 17, 27, 0.86);
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

    .mobile-menu-button:hover {
        border-color: var(--lam-red);
        background: rgba(239, 37, 45, 0.12);
        transform: scale(1.04);
    }

/* =========================================================
   HERO PRINCIPAL
========================================================= */


.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    background: linear-gradient( 135deg, #86b6d2 0%, #b7d9eb 48%, #8dbbd6 100% );
    isolation: isolate;
}


/* =========================================================
   CIELO DEL HERO
========================================================= */

/*---------------------------------------------------------------------------------------------------------------------------------*/

.hero-sky {
    position: absolute;
    inset: 0;
    z-index: -10;
    background: linear-gradient( 90deg, rgba(80, 130, 162, 0.52) 0%, rgba(102, 154, 185, 0.28) 30%, rgba(146, 190, 215, 0.10) 58%, rgba(180, 214, 232, 0.02) 100% ), linear-gradient( to bottom, rgba(190, 220, 238, 0.03), rgba(84, 130, 158, 0.20) ), url("/images/hero-landscape-luz.png") center center / cover no-repeat;
    transform-origin: center center;
    will-change: transform;
}


    .hero-sky::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 68% 48%, rgba(255, 184, 91, 0.2), transparent 30% ), linear-gradient( to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.32) );
    }

    .hero-sky::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(1, 5, 10, 0.92) 0%, rgba(1, 5, 10, 0.58) 30%, transparent 62% );
        pointer-events: none;
    }

    .hero-sky::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42) ), radial-gradient( ellipse at 75% 48%, rgba(111, 159, 194, 0.15), transparent 46% );
    }

    .hero-sky::after {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.2;
        background-image: radial-gradient( circle at 12% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px ), radial-gradient( circle at 27% 30%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px ), radial-gradient( circle at 44% 17%, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px ), radial-gradient( circle at 83% 21%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px );
    }

/* =========================================================
   CARRETERA
========================================================= */

.hero-road {
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -10%;
    z-index: -7;
    height: 52%;
    background: linear-gradient( 176deg, transparent 0%, transparent 16%, rgba(90, 118, 137, 0.15) 17%, rgba(5, 12, 19, 0.94) 39%, #010305 100% );
    transform-origin: center bottom;
    will-change: transform;
}

    .hero-road::before {
        content: "";
        position: absolute;
        left: 13%;
        right: -7%;
        bottom: 39%;
        height: 3px;
        background: linear-gradient( 90deg, transparent, rgba(159, 194, 216, 0.28), rgba(255, 255, 255, 0.7), transparent );
        filter: blur(0.5px);
        transform: rotate(-2deg);
    }

    .hero-road::after {
        content: "";
        position: absolute;
        left: 38%;
        bottom: 15%;
        width: 59%;
        height: 5px;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.5), transparent );
        filter: blur(1px);
        transform: rotate(-7deg);
    }

/* =========================================================
   SOMBRAS Y CAPAS DEL HERO
========================================================= */


.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -4;
    background: linear-gradient( 90deg, rgba(42, 75, 98, 0.52) 0%, rgba(61, 100, 126, 0.34) 28%, rgba(103, 150, 179, 0.12) 53%, rgba(180, 215, 233, 0.00) 100% ), linear-gradient( to bottom, transparent 58%, rgba(45, 79, 101, 0.18) );
}


.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.11;
    background-image: linear-gradient( rgba(255, 255, 255, 0.03) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px );
    background-size: 90px 90px;
    -webkit-mask-image: linear-gradient( to bottom, transparent, black 34%, black );
    mask-image: linear-gradient( to bottom, transparent, black 34%, black );
}

/* =========================================================
   CONTENEDOR DEL HERO
========================================================= */

.hero-container {
    position: relative;
    z-index: 25;
    width: min(92%, var(--container-width));
    margin: 0 auto;
    padding: 42px 0 210px;
}

.hero-content {
    position: relative;
    z-index: 40;
    width: min(600px, 45%);
    will-change: transform, opacity;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--lam-red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

    .hero-eyebrow span {
        display: block;
        width: 27px;
        height: 1px;
        background: rgba(255, 255, 255, 0.8);
    }

.hero-title {
    max-width: 650px;
    color: var(--white);
    font-size: clamp(3rem, 4.9vw, 5.55rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

    .hero-title strong {
        display: block;
        color: var(--lam-red);
        font-weight: 900;
    }

.hero-description {
    max-width: 535px;
    margin-top: 25px;
    color: #c2ced7;
    font-size: 1rem;
    line-height: 1.75;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 33px;
}

/* =========================================================
   ESCENA DEL CAMIÓN
========================================================= */

/*-----------------------------------------------------------------------------------------------------*/

.hero-truck-scene {
    position: absolute;
    right: -1.5%;
    bottom: 0;
    z-index: 12;
    width: min(72vw, 1220px);
    pointer-events: none;
    transform-origin: 64% 88%;
    perspective: 1200px;
    will-change: transform, opacity, filter;
}

.hero-truck-image {
    position: relative;
    z-index: 4;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: radial-gradient( ellipse 78% 84% at 57% 56%, black 58%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.55) 88%, transparent 100% );
    mask-image: radial-gradient( ellipse 78% 84% at 57% 56%, black 58%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.55) 88%, transparent 100% );
    filter: brightness(0.9) contrast(1.08) saturate(1.06) drop-shadow( 0 36px 42px rgba(0, 0, 0, 0.7) );
}

.hero-content {
    position: relative;
    z-index: 40;
    width: min(600px, 45%);
    margin-top: 0;
    will-change: transform, opacity;
}

/* =========================================================
   RESPLANDOR DEL CAMIÓN
========================================================= */

.truck-glow {
    position: absolute;
    left: 16%;
    right: 0;
    bottom: 5%;
    z-index: 1;
    height: 28%;
    opacity: 0.55;
    background: radial-gradient( ellipse at 46% 58%, rgba(255, 184, 105, 0.24), rgba(205, 50, 47, 0.08) 40%, transparent 66% );
    filter: blur(26px);
    transform-origin: center center;
    will-change: opacity, transform;
}

/* =========================================================
   SOMBRA DEL CAMIÓN
========================================================= */

.truck-shadow {
    position: absolute;
    left: 17%;
    right: 3%;
    bottom: 1.6%;
    z-index: 2;
    height: 11%;
    border-radius: 50%;
    background: radial-gradient( ellipse at center, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.24) 66%, transparent 78% );
    filter: blur(12px);
    transform: perspective(700px) rotateX(72deg) scaleX(1.05);
    transform-origin: center;
    opacity: 0.92;
}

/* =========================================================
   EFECTO DE DESTELLO
========================================================= */

.hero-light-flash {
    position: absolute;
    inset: 0;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient( circle at 74% 62%, rgba(255, 228, 178, 0.5), rgba(255, 174, 93, 0.09) 20%, transparent 43% );
    mix-blend-mode: screen;
}

/* =========================================================
   LÍNEAS DE VELOCIDAD
========================================================= */

.hero-speed-lines {
    position: absolute;
    right: -8%;
    bottom: 16%;
    z-index: 18;
    width: 70%;
    height: 220px;
    opacity: 0;
    pointer-events: none;
    background: repeating-linear-gradient( 0deg, transparent 0, transparent 14px, rgba(170, 217, 247, 0.2) 16px, transparent 18px );
    filter: blur(1.2px);
    transform: skewX(-17deg);
    will-change: transform, opacity;
}

/* =========================================================
   TARJETAS DE BENEFICIOS DEL HERO
========================================================= */

.hero-benefits {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 50;
    width: min(92%, var(--container-width));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: translateX(-50%);
}

.hero-benefit-card {
    position: relative;
    min-height: 138px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(119, 159, 191, 0.26);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(13, 29, 43, 0.94), rgba(5, 16, 26, 0.9) );
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
    will-change: transform, opacity;
}

    .hero-benefit-card::before {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        bottom: 0;
        height: 3px;
        background: linear-gradient( 90deg, transparent, var(--lam-red), transparent );
        transform: scaleX(0);
        transition: transform var(--transition-normal);
    }

    .hero-benefit-card:hover {
        border-color: rgba(239, 37, 45, 0.72);
        background: linear-gradient( 145deg, rgba(18, 41, 59, 0.97), rgba(8, 21, 34, 0.95) );
        box-shadow: 0 26px 58px rgba(0, 0, 0, 0.4);
        transform: translateY(-8px);
    }

        .hero-benefit-card:hover::before {
            transform: scaleX(1);
        }

.benefit-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: radial-gradient( circle, rgba(239, 37, 45, 0.08), transparent 70% );
    color: var(--lam-red);
    font-size: 1.5rem;
    transition: border-color var(--transition-normal), transform var(--transition-normal), background var(--transition-normal);
}

.hero-benefit-card:hover .benefit-icon {
    border-color: var(--lam-red);
    background: rgba(239, 37, 45, 0.1);
    transform: rotate(-5deg) scale(1.05);
}

.hero-benefit-card h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-benefit-card p {
    color: var(--text-muted);
    font-size: 0.77rem;
    line-height: 1.55;
}

/* =========================================================
   BOTÓN FLOTANTE DE ANIMACIÓN
========================================================= */

.animation-trigger {
    position: fixed;
    top: 111px;
    right: 28px;
    z-index: 1700;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: linear-gradient( 145deg, #f2242c, #a60d14 );
    color: var(--white);
    font-size: 1.32rem;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(239, 37, 45, 0.55);
    animation: animationTriggerPulse 2.3s infinite;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

    .animation-trigger:hover {
        transform: scale(1.08) rotate(-4deg);
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42), 0 0 0 11px rgba(239, 37, 45, 0.1);
    }

.animation-trigger-tooltip {
    position: absolute;
    top: 50%;
    right: 74px;
    width: max-content;
    padding: 10px 13px;
    opacity: 0;
    visibility: hidden;
    border: 1px solid var(--border-blue);
    background: rgba(3, 12, 20, 0.96);
    color: var(--white);
    font-size: 0.7rem;
    transform: translateY(-50%) translateX(8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    pointer-events: none;
}

.animation-trigger:hover .animation-trigger-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes animationTriggerPulse {
    0%, 100% {
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(239, 37, 45, 0.55);
    }

    50% {
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), 0 0 0 16px rgba(239, 37, 45, 0);
    }
}

/* =========================================================
   REDES SOCIALES FLOTANTES
========================================================= */

.social-floating {
    position: fixed;
    top: 50%;
    right: 22px;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}

.social-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.33);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
}

    .social-button:hover {
        filter: brightness(1.12);
        transform: translateX(-6px) scale(1.08);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.43);
    }

    .social-button span {
        position: absolute;
        top: 50%;
        right: 65px;
        width: max-content;
        padding: 8px 12px;
        opacity: 0;
        visibility: hidden;
        border: 1px solid var(--border-blue);
        background: rgba(3, 12, 20, 0.96);
        color: var(--white);
        font-size: 0.7rem;
        transform: translateY(-50%) translateX(8px);
        transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
        pointer-events: none;
    }

    .social-button:hover span {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }

.whatsapp {
    background: linear-gradient( 145deg, #22c66e, #128844 );
}

.email {
    background: linear-gradient( 145deg, #ff3139, #bd0e15 );
}

.facebook {
    background: linear-gradient( 145deg, #2f78d4, #174b99 );
}

/* =========================================================
   SECCIÓN DE INTRODUCCIÓN
========================================================= */

/* =========================================================
   HOME — PALETA AZUL HIELO
========================================================= */



.home-introduction {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient( circle at 50% 25%, rgba(255, 255, 255, 0.82), transparent 42% ), linear-gradient( 135deg, #d8edf8 0%, #c2e2f3 48%, #acd7eb 100% );
}

.lam-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

    .lam-particles canvas {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

.home-introduction .section-container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   ENCABEZADO INTRODUCCIÓN
========================================================= */

.home-introduction .section-heading {
    position: relative;
    z-index: 2;
}

    .home-introduction .section-heading > span {
        color: #e82029;
    }

    .home-introduction .section-heading h2 {
        color: #102432;
        text-shadow: 0 6px 18px rgba(20, 56, 79, 0.05);
    }

        .home-introduction .section-heading h2 strong {
            color: #e82029;
        }

    .home-introduction .section-heading p {
        color: #36576c;
    }


/* =========================================================
   TARJETAS HOME
========================================================= */

.home-cards {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


.home-card {
    position: relative;
    min-height: 330px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 24px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.57), rgba(225, 242, 251, 0.35) );
    box-shadow: 0 24px 60px rgba(25, 68, 95, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    will-change: transform, opacity;
}


    /* línea superior */

    .home-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.95), transparent );
        opacity: 0.75;
        transform: none;
    }


    /* luz decorativa */

    .home-card::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -105px;
        bottom: -115px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(36, 124, 182, 0.12), transparent 68% );
        transition: transform 0.5s ease;
    }


    .home-card:hover {
        transform: translateY(-12px);
        border-color: rgba(255, 255, 255, 0.95);
        background: linear-gradient( 145deg, rgba(255, 255, 255, 0.72), rgba(231, 246, 253, 0.46) );
        box-shadow: 0 36px 80px rgba(24, 70, 101, 0.22), 0 0 35px rgba(67, 160, 218, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
    }


        .home-card:hover::after {
            transform: scale(1.3);
        }


/* =========================================================
   ICONOS HOME
========================================================= */

.home-card-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.50), rgba(205, 231, 246, 0.33) );
    color: #075d98;
    font-size: 1.45rem;
    box-shadow: 0 14px 32px rgba(34, 90, 126, 0.12);
    transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease;
}


.home-card:hover .home-card-icon {
    color: #ed1c24;
    background: rgba(255, 255, 255, 0.67);
    transform: translateY(-4px) rotate(-5deg) scale(1.06);
}


/* =========================================================
   TEXTO TARJETAS
========================================================= */

.home-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    color: #102432;
    font-size: 1.08rem;
    font-weight: 850;
    text-transform: uppercase;
}


.home-card p {
    position: relative;
    z-index: 2;
    min-height: 110px;
    color: #456477;
    line-height: 1.72;
}


.home-card a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #125b89;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.25s ease, color 0.25s ease;
}


    .home-card a:hover {
        gap: 14px;
        color: #ed1c24;
    }


/* =========================================================
   HOME SEGURIDAD — AZUL HIELO
========================================================= */

.home-security {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: radial-gradient( circle at 82% 35%, rgba(58, 157, 218, 0.17), transparent 35% ), radial-gradient( circle at 12% 75%, rgba(239, 37, 45, 0.055), transparent 30% ), linear-gradient( 135deg, #d7edf8 0%, #c4e4f4 50%, #add8ed 100% );
    color: #102432;
}


    .home-security::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.18;
        background-image: linear-gradient( rgba(255, 255, 255, 0.24) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.20) 1px, transparent 1px );
        background-size: 72px 72px;
        pointer-events: none;
    }


/* =========================================================
   SEGURIDAD LAYOUT
========================================================= */

.security-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 80px;
}


/* =========================================================
   SEGURIDAD TEXTO
========================================================= */

.security-content .section-label {
    color: #e82029;
}


    .security-content .section-label::before {
        background: rgba(17, 45, 64, 0.60);
    }


.security-content h2 {
    color: #102432;
    font-size: clamp( 2.6rem, 4.5vw, 4.8rem );
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}


    .security-content h2 strong {
        color: var(--lam-red);
    }


.security-content p {
    margin-top: 25px;
    color: #405f72;
    font-size: 1rem;
    line-height: 1.85;
}


.security-content .primary-button {
    margin-top: 32px;
}


/* =========================================================
   SEGURIDAD TARJETAS
========================================================= */

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


    .security-grid article {
        position: relative;
        min-height: 190px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 22px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.66);
        border-radius: 20px;
        background: linear-gradient( 145deg, rgba(255, 255, 255, 0.52), rgba(219, 238, 249, 0.32) );
        text-align: center;
        box-shadow: var(--lam-light-shadow);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
        transition: transform 0.38s cubic-bezier(.16, 1, .3, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
        will-change: transform, opacity;
    }


        .security-grid article:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 255, 255, 0.95);
            background: linear-gradient( 145deg, rgba(255, 255, 255, 0.68), rgba(226, 244, 253, 0.44) );
            box-shadow: 0 34px 75px rgba(24, 70, 100, 0.20);
        }


    .security-grid i {
        margin-bottom: 22px;
        color: #08649e;
        font-size: 2rem;
        transition: color 0.3s ease, transform 0.35s ease;
    }


    .security-grid article:hover i {
        color: #ed1c24;
        transform: translateY(-4px) scale(1.1);
    }


    .security-grid h3 {
        color: #102432;
        font-size: 0.82rem;
        font-weight: 850;
        text-transform: uppercase;
    }


/* =========================================================
   PÁGINAS INTERNAS
========================================================= */

.internal-hero {
    position: relative;
    min-height: 70vh;
    padding: 190px 0 105px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient( circle at 80% 42%, rgba(37, 128, 194, 0.2), transparent 38% ), linear-gradient( 90deg, rgba(1, 7, 13, 0.99), rgba(4, 24, 39, 0.82) );
}

    .internal-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.12;
        background-image: linear-gradient( rgba(255, 255, 255, 0.03) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px );
        background-size: 80px 80px;
    }

    .internal-hero .section-container {
        position: relative;
        z-index: 2;
    }

    .internal-hero h1 {
        max-width: 900px;
        color: var(--white);
        font-size: clamp(3rem, 6vw, 6rem);
        font-weight: 900;
        line-height: 0.98;
        letter-spacing: -0.05em;
        text-transform: uppercase;
    }

    .internal-hero p {
        max-width: 760px;
        margin-top: 26px;
        color: var(--text-muted);
        font-size: 1.08rem;
        line-height: 1.82;
    }

/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 20% 20%, rgba(255, 255, 255, 0.70), transparent 34% ), radial-gradient( circle at 86% 25%, rgba(64, 161, 220, 0.14), transparent 32% ), linear-gradient( 135deg, #d9eef9 0%, #c5e4f4 48%, #add8ed 100% ) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.70);
    color: #102432;
}


.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 70px;
    padding: 82px 0;
}

.footer-logo {
    width: 160px;
    margin-bottom: 24px;
    object-fit: contain;
}

.footer-container h3 {
    margin-bottom: 20px;
    color: #102432 !important;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-container p,
.footer-container a {
    display: block;
    margin-top: 12px;
    color: #405f72 !important;
    line-height: 1.65;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

    .footer-container a:hover {
        color: var(--lam-red) !important;
        transform: translateX(5px);
    }

.footer-container i {
    width: 22px;
    color: var(--lam-red);
}

.footer-bottom {
    padding: 24px;
    border-top: 1px solid rgba(28, 90, 128, 0.12);
    color: #567385 !important;
    text-align: center;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.16);
}



/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #02070c;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #02070c;
    border-radius: 20px;
    background: linear-gradient( to bottom, var(--lam-red), var(--lam-blue) );
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient( to bottom, #ff3d45, #236bb5 );
    }

/* =========================================================
   SELECCIÓN DE TEXTO
========================================================= */

::selection {
    background: var(--lam-red);
    color: var(--white);
}

/* =========================================================
   RESPONSIVE: 1250 PX
========================================================= */

@media (max-width: 1250px) {
    .main-nav {
        gap: 18px;
    }

        .main-nav > a {
            font-size: 0.68rem;
        }

    .nav-quote-button {
        min-width: 165px;
        padding: 0 18px !important;
    }

    .hero-truck-scene {
        right: -11%;
        width: 76vw;
    }

    .hero-content {
        width: min(600px, 52%);
    }

    .home-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE: 1020 PX
========================================================= */

@media (max-width: 1020px) {
    :root {
        --header-height: 78px;
    }

    .mobile-menu-button {
        display: flex;
        position: relative;
        z-index: 10001;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(5, 17, 27, 0.92);
        color: #ffffff;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
    }


    /* =========================================================
   PANEL DEL MENÚ MÓVIL
========================================================= */

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(84vw, 360px);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: calc(var(--header-height) + 30px) 22px 35px;
        overflow-y: auto;
        overflow-x: hidden;
        background: linear-gradient( 160deg, rgba(5, 17, 28, 0.985), rgba(2, 9, 16, 0.995) );
        border-left: 1px solid rgba(255, 255, 255, 0.10);
        box-shadow: -25px 0 70px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(25px) saturate(120%);
        -webkit-backdrop-filter: blur(25px) saturate(120%);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), opacity 0.30s ease, visibility 0.30s ease;
        z-index: 10000;
    }


        /* MENÚ ABIERTO */
        .main-nav.open {
            transform: translateX(0);
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }


        /* =========================================================
   LINKS
========================================================= */

        .main-nav > a {
            width: 100%;
            min-height: 52px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            justify-content: flex-start;
            border-radius: 14px;
            font-size: 0.78rem;
        }


            .main-nav > a:not(.nav-quote-button)::after {
                display: none;
            }


    /* =========================================================
   DROPDOWN SERVICIOS
========================================================= */

    .nav-dropdown {
        width: 100%;
        display: block;
    }


    .nav-dropdown-toggle {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        padding: 0 16px;
        border-radius: 14px;
    }


    .nav-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: none;
        transition: max-height 0.40s ease, opacity 0.30s ease, padding 0.30s ease, margin 0.30s ease;
    }


    .nav-dropdown.is-open
    .nav-dropdown-menu {
        max-height: 220px;
        margin-top: 6px;
        padding: 7px;
        opacity: 1;
        visibility: visible;
    }


    .nav-dropdown-item {
        min-height: 62px;
        padding: 10px 11px;
    }


    /* =========================================================
   BOTÓN COTIZAR
========================================================= */

    .nav-quote-button {
        width: 100%;
        min-width: 0;
        margin-top: 10px;
        justify-content: center !important;
    }


    /* INDICADOR DE ESCRITORIO */
    .nav-liquid-indicator {
        display: none !important;
    }


    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-container {
        padding-bottom: 260px;
    }

    .hero-content {
        width: min(620px, 60%);
    }

    .hero-truck-scene {
        right: -24%;
        bottom: 18%;
        width: 92vw;
        opacity: 0.74;
    }

    .hero-benefits {
        position: relative;
        left: auto;
        bottom: auto;
        grid-template-columns: repeat(2, 1fr);
        margin: -165px auto 32px;
        transform: none;
    }

    .security-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .social-floating {
        right: 15px;
    }

    .animation-trigger {
        top: 96px;
        right: 18px;
    }
}

/* =========================================================
   RESPONSIVE: 760 PX
========================================================= */

@media (max-width: 760px) {
    :root {
        --header-height: 72px;
        --lam-light-100: #d9eef9;
        --lam-light-200: #c5e4f4;
        --lam-light-300: #add8ed;
        --lam-light-text: #102432;
        --lam-light-muted: #405f72;
        --lam-light-glass: rgba(255, 255, 255, 0.48);
        --lam-light-border: rgba(255, 255, 255, 0.68);
        --lam-light-shadow: 0 25px 65px rgba(31, 77, 107, 0.14);
        background: radial-gradient( circle at 50% 20%, rgba(255, 255, 255, 0.70), transparent 42% ), radial-gradient( circle at 90% 30%, rgba(64, 161, 220, 0.13), transparent 34% ), linear-gradient( 135deg, var(--lam-light-100) 0%, var(--lam-light-200) 48%, var(--lam-light-300) 100% );
    }

    .header-container {
        width: 92%;
    }

    .brand-logo {
        width: 118px;
        height: 58px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-container {
        padding: 94px 0 365px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(3rem, 13vw, 4.65rem);
    }

    .hero-description {
        max-width: 100%;
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-truck-scene {
        right: -48%;
        bottom: 20%;
        width: 150vw;
        opacity: 0.58;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        width: 90%;
        margin-top: -200px;
    }

    .hero-benefit-card {
        min-height: 118px;
    }

    .animation-trigger {
        top: 86px;
        right: 14px;
        width: 50px;
        height: 50px;
    }

    .animation-trigger-tooltip {
        display: none;
    }

    .social-floating {
        top: auto;
        right: 14px;
        bottom: 18px;
        flex-direction: row;
        transform: none;
    }

    .social-button {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

        .social-button span {
            display: none;
        }

    .home-introduction,
    .home-security {
        padding: 82px 0;
    }

    .home-cards,
    .security-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .security-grid {
        gap: 14px;
    }

    .footer-container {
        gap: 42px;
        padding: 65px 0;
    }

    .internal-hero {
        min-height: 62vh;
        padding: 150px 0 80px;
    }
}

/* =========================================================
   RESPONSIVE: 480 PX
========================================================= */

@media (max-width: 480px) {
    .hero-container {
        padding-top: 82px;
        padding-bottom: 340px;
    }

    .hero-eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    .hero-title {
        font-size: clamp(2.65rem, 14vw, 3.8rem);
    }

    .hero-truck-scene {
        right: -61%;
        bottom: 21%;
        width: 175vw;
    }

    .hero-benefit-card {
        gap: 16px;
        padding: 20px;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .home-card {
        padding: 28px;
    }

    .section-heading h2,
    .security-content h2 {
        font-size: 2.15rem;
    }
}

/* =========================================================
   ACCESIBILIDAD: MOVIMIENTO REDUCIDO
========================================================= */

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

    .animation-trigger {
        animation: none;
    }
}


/* =========================================================
   CONTROL DE VISIBILIDAD DEL HERO
   Evita que aparezca antes de iniciar la animación
========================================================= */

body:not(.intro-playing):not(.intro-finished)
.hero-content,
body:not(.intro-playing):not(.intro-finished)
.hero-truck-scene,
body:not(.intro-playing):not(.intro-finished)
.hero-benefits {
    opacity: 0;
    visibility: hidden;
}

/* GSAP controla los elementos mientras corre la introducción */
body.intro-playing
.hero-content,
body.intro-playing
.hero-truck-scene,
body.intro-playing
.hero-benefits {
    visibility: visible;
}

/* Estado final permanente */
body.intro-finished
.hero-content,
body.intro-finished
.hero-truck-scene,
body.intro-finished
.hero-benefits {
    opacity: 1;
    visibility: visible;
}

.truck-road-reflection {
    position: absolute;
    left: 18%;
    bottom: -1%;
    z-index: 1;
    width: 42%;
    height: 23%;
    opacity: 0.3;
    background: linear-gradient( 170deg, rgba(255, 229, 178, 0.36), rgba(255, 181, 84, 0.12) 40%, transparent 72% );
    filter: blur(18px);
    clip-path: polygon( 18% 0, 55% 0, 100% 100%, 0 100% );
    transform: perspective(650px) rotateX(64deg) rotateZ(-5deg);
    transform-origin: top center;
    pointer-events: none;
}

.hero-content {
    width: min(590px, 43%);
}

.hero-title {
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.72), 0 2px 5px rgba(0, 0, 0, 0.55);
}



/* =========================================================
   LIQUID NAVIGATION
========================================================= */

.main-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* indicador líquido */

.nav-liquid-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 0;
    height: 42px;
    border-radius: 16px;
    opacity: 0;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.16), rgba(150, 205, 236, 0.10) );
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(0, 0, 0, 0.18), 0 0 22px rgba(77, 184, 255, 0.08);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    transform: translateY(-50%) scaleX(0.82) scaleY(0.82);
    transform-origin: center;
    pointer-events: none;
    will-change: transform, width, left, border-radius, opacity;
}


    /* brillo interno */

    .nav-liquid-indicator::before {
        content: "";
        position: absolute;
        left: 14%;
        right: 14%;
        top: 4px;
        height: 1px;
        border-radius: 100px;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.72), transparent );
        opacity: 0.7;
    }


    /* brillo rojo inferior */

    .nav-liquid-indicator::after {
        content: "";
        position: absolute;
        left: 30%;
        right: 30%;
        bottom: -1px;
        height: 2px;
        border-radius: 100px;
        background: linear-gradient( 90deg, transparent, var(--lam-red), transparent );
        box-shadow: 0 0 12px rgba(239, 37, 45, 0.5);
    }


/* enlaces */

.main-nav > .nav-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
}


    /* quitamos la raya anterior */

    .main-nav > .nav-link::after {
        display: none !important;
    }


    /* hover */

    .main-nav > .nav-link:hover {
        color: #ffffff;
        transform: translateY(-2px);
    }


    /* activo */

    .main-nav > .nav-link.is-active {
        color: #ffffff;
        text-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
    }


/* botón cotizar fuera del efecto */

.main-nav > .nav-quote-button {
    position: relative;
    z-index: 3;
    margin-left: 14px;
}

/* =========================================================
   PRELOADER
========================================================= */

.lam-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
}


/* FONDO DEL PRELOADER */

.preloader-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient( rgba(2, 9, 16, 0.24), rgba(2, 9, 16, 0.42) ), url("/images/preloader-lam-intro.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

/* =========================================================
   PRELOADER - CONTENIDO
========================================================= */

.preloader-content {
    position: relative;
    z-index: 5;
}


/* =========================================================
   CAMIÓN REALISTA DEL PRELOADER
========================================================= */

.preloader-truck {
    position: absolute;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
    transform-origin: center;
}


.preloader-truck-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow( 0 10px 14px rgba(0, 0, 0, 0.45) ) drop-shadow( 0 0 10px rgba(239, 37, 45, 0.20) );
    pointer-events: none;
}


/* =========================================================
   PUERTAS DEL PRELOADER
========================================================= */

.preloader-door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 2;
    background-image: linear-gradient( rgba(2, 9, 16, 0.22), rgba(2, 9, 16, 0.38) ), url("/images/preloader-lam-intro.png");
    background-repeat: no-repeat;
    /*
     * Cada puerta ocupa 50% de la pantalla,
     * por eso la imagen se muestra al 200%.
     */
    background-size: 200% 100%;
    will-change: transform;
    pointer-events: none;
}


.preloader-door-left {
    left: 0;
    background-position: left center;
}


.preloader-door-right {
    right: 0;
    background-position: right center;
}

/* =========================================================
   FIX FINAL - FONDO FOTOGRÁFICO PRELOADER
   DEJAR AL FINAL DEL CSS
========================================================= */

.lam-preloader {
    background: transparent !important;
}


    /* FONDO DE RESPALDO */

    .lam-preloader .preloader-background {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        background-image: linear-gradient( rgba(2, 9, 16, 0.22), rgba(2, 9, 16, 0.38) ), url("/images/preloader-lam-intro.png") !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-color: transparent !important;
    }


    /* LAS DOS PUERTAS USAN LA MISMA FOTO */

    .lam-preloader .preloader-door {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 50% !important;
        z-index: 2 !important;
        background-color: transparent !important;
        background-image: linear-gradient( rgba(2, 9, 16, 0.24), rgba(2, 9, 16, 0.42) ), url("/images/preloader-lam-intro.png") !important;
        background-repeat: no-repeat !important;
        /*
     * Cada puerta representa media pantalla.
     */
        background-size: 200% 100% !important;
        pointer-events: none;
    }


    /* MITAD IZQUIERDA */

    .lam-preloader .preloader-door-left {
        left: 0 !important;
        right: auto !important;
        background-position: left center !important;
    }


    /* MITAD DERECHA */

    .lam-preloader .preloader-door-right {
        right: 0 !important;
        left: auto !important;
        background-position: right center !important;
    }


    /* LOGO, CAMIÓN Y PROGRESO ENCIMA */

    .lam-preloader .preloader-content {
        position: relative !important;
        z-index: 5 !important;
    }



.lam-particles {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 700px !important;
    z-index: 1 !important;
    pointer-events: none;
    /* SOLO PARA PROBAR */
    /* background: rgba(255, 0, 0, 0.05); */
}

    .lam-particles canvas {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

.home-introduction .section-container {
    position: relative;
    z-index: 3;
}

/* =========================================================
   FONDO CLARO REUTILIZABLE
========================================================= */

.lam-light-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 50% 20%, rgba(255, 255, 255, 0.72), transparent 42% ), radial-gradient( circle at 90% 30%, rgba(64, 161, 220, 0.13), transparent 34% ), radial-gradient( circle at 10% 75%, rgba(239, 37, 45, 0.05), transparent 30% ), linear-gradient( 135deg, #d9eef9 0%, #c5e4f4 48%, #add8ed 100% );
    color: #102432;
}

    .lam-light-section h1,
    .lam-light-section h2,
    .lam-light-section h3,
    .lam-light-section h4 {
        color: #102432;
    }

    .lam-light-section p {
        color: #405f72;
    }

    .lam-light-section strong {
        color: var(--lam-red);
    }



/* =========================================================
   LAM - SOCIAL BUTTONS PREMIUM
========================================================= */

/* Base */
.social-orbit-toggle,
.social-orbit-item {
    position: absolute;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    isolation: isolate;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, filter 0.35s ease;
}


    /* =========================================================
   ARO EXTERIOR
========================================================= */

    .social-orbit-toggle::before,
    .social-orbit-item::before {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: radial-gradient( circle, transparent 58%, rgba(255,255,255,0.08) 72%, transparent 74% );
        z-index: -1;
        animation: lamSocialPulse 2.8s ease-in-out infinite;
    }


    /* =========================================================
   DESTELLO INTERIOR
========================================================= */

    .social-orbit-toggle::after,
    .social-orbit-item::after {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: 50%;
        background: linear-gradient( 135deg, rgba(255,255,255,0.34), transparent 35%, transparent 68%, rgba(255,255,255,0.10) );
        pointer-events: none;
        z-index: 1;
    }


    /* =========================================================
   ICONOS
========================================================= */

    .social-orbit-toggle i,
    .social-orbit-item i {
        position: relative;
        z-index: 3;
        font-size: 1.35rem;
        filter: drop-shadow( 0 2px 3px rgba(0,0,0,0.22) );
        transition: transform 0.35s ease, filter 0.35s ease;
    }


/* =========================================================
   WHATSAPP
========================================================= */

.social-whatsapp {
    background: radial-gradient( circle at 35% 25%, #4bea91, #18b85b 55%, #087d3b 100% );
    box-shadow: 0 10px 28px rgba(18, 181, 88, 0.32), 0 0 22px rgba(37, 211, 102, 0.20), inset 0 1px 1px rgba(255,255,255,0.48);
}


/* =========================================================
   FACEBOOK
========================================================= */

.social-facebook {
    background: radial-gradient( circle at 35% 25%, #4e9aff, #1877f2 55%, #0a4ca5 100% );
    box-shadow: 0 10px 28px rgba(24,119,242,0.32), 0 0 22px rgba(24,119,242,0.20), inset 0 1px 1px rgba(255,255,255,0.48);
}


/* =========================================================
   LINKEDIN
========================================================= */

.social-linkedin {
    background: radial-gradient( circle at 35% 25%, #45a6e8, #0a66c2 55%, #06447f 100% );
    box-shadow: 0 10px 28px rgba(10,102,194,0.32), 0 0 22px rgba(10,102,194,0.20), inset 0 1px 1px rgba(255,255,255,0.48);
}


/* =========================================================
   CORREO LAM
========================================================= */

.social-email {
    background: radial-gradient( circle at 35% 25%, #ff5b61, #ef252d 55%, #a90d14 100% );
    box-shadow: 0 10px 28px rgba(239,37,45,0.32), 0 0 22px rgba(239,37,45,0.20), inset 0 1px 1px rgba(255,255,255,0.48);
}


/* =========================================================
   BOTÓN PRINCIPAL
========================================================= */

.social-orbit-toggle {
    background: radial-gradient( circle at 35% 25%, #ff5b61, #ef252d 52%, #9f0b12 100% );
    box-shadow: 0 12px 34px rgba(239,37,45,0.34), 0 0 28px rgba(239,37,45,0.20), inset 0 1px 1px rgba(255,255,255,0.50);
    cursor: pointer;
}


    /* =========================================================
   HOVER
========================================================= */

    .social-orbit-item:hover,
    .social-orbit-toggle:hover {
        filter: brightness(1.12) saturate(1.12);
        box-shadow: 0 15px 38px rgba(20, 60, 85, 0.25), 0 0 32px currentColor, inset 0 1px 2px rgba(255,255,255,0.65);
    }


        .social-orbit-item:hover i,
        .social-orbit-toggle:hover i {
            transform: scale(1.16) rotate(-5deg);
            filter: drop-shadow( 0 0 7px rgba(255,255,255,0.85) );
        }


/* =========================================================
   PULSO
========================================================= */

@keyframes lamSocialPulse {

    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.10);
        opacity: 0.18;
    }
}

.social-orbit-toggle {
    position: absolute;
}

    .social-orbit-toggle .social-ring {
        position: absolute;
        inset: -11px;
        border-radius: 50%;
        border: 1px solid transparent;
        border-top-color: rgba(255,255,255,0.85);
        border-right-color: rgba(239,37,45,0.45);
        animation: lamRingRotate 5s linear infinite;
        pointer-events: none;
    }

@keyframes lamRingRotate {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   SOCIAL ORBIT - POSICIÓN Y TAMAÑO
========================================================= */

.social-orbit {
    position: fixed;
    right: 26px;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translateY(-50%);
    z-index: 99999;
    pointer-events: none;
}

.social-orbit {
    opacity: 0;
    visibility: hidden;
}

body.preloader-complete .social-orbit {
    opacity: 1;
    visibility: visible;
}



/* BOTÓN PRINCIPAL + REDES */

.social-orbit-toggle,
.social-orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    pointer-events: auto;
}


/* BOTÓN PRINCIPAL SIEMPRE ARRIBA */

.social-orbit-toggle {
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: radial-gradient( circle at 35% 25%, #ff5b61, #ef252d 55%, #a50d14 100% );
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(239, 37, 45, 0.30), 0 0 22px rgba(239, 37, 45, 0.18);
    cursor: pointer;
}


/* REDES APILADAS DETRÁS */

.social-orbit-item {
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(20, 60, 85, 0.22);
    transition: transform 0.55s cubic-bezier(.16,1,.3,1), opacity 0.30s ease, visibility 0.30s ease, box-shadow 0.30s ease;
}


    /* OCULTAR TEXTO DE LOS BOTONES */

    .social-orbit-item > span {
        display: none;
    }


    /* ICONOS */

    .social-orbit-toggle i,
    .social-orbit-item i {
        font-size: 1.25rem;
    }


/* =========================================================
   COLORES
========================================================= */

.social-facebook {
    background: linear-gradient( 145deg, #4695ff, #1877f2 58%, #0c50ad );
}

.social-whatsapp {
    background: linear-gradient( 145deg, #48e78b, #20c767 58%, #0c8e43 );
}

.social-email {
    background: linear-gradient( 145deg, #ff5c62, #ef252d 58%, #aa1017 );
}

.social-linkedin {
    background: linear-gradient( 145deg, #49a9e8, #0a66c2 58%, #064a8c );
}

/* =========================================================
   SOCIAL ORBIT ABIERTO
========================================================= */

.social-orbit.is-open
.social-orbit-item {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* FACEBOOK */

.social-orbit.is-open
.social-facebook {
    transform: translate(-170px, -155px);
}


/* WHATSAPP */

.social-orbit.is-open
.social-whatsapp {
    transform: translate(-215px, -65px);
}


/* CORREO */

.social-orbit.is-open
.social-email {
    transform: translate(-215px, 45px);
}


/* LINKEDIN */

.social-orbit.is-open
.social-linkedin {
    transform: translate(-160px, 140px);
}

.social-orbit-item:hover {
    filter: brightness(1.12) saturate(1.12);
    box-shadow: 0 18px 40px rgba(20, 60, 85, 0.28), 0 0 25px currentColor;
}

    .social-orbit-item:hover i {
        transform: scale(1.16);
    }


/* =========================================================
   OCULTAR REDES DURANTE PRELOADER
========================================================= */

body.preloader-active .social-orbit {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.85) !important;
}


/* CUANDO TERMINA LA CARGA */

body.preloader-complete .social-orbit {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.16,1,.3,1), visibility 0.35s ease;
}


/* =========================================================
   MENU DESPLEGABLE - SERVICIOS
========================================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}


.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
}


    .nav-dropdown-toggle > i {
        font-size: 0.65rem;
        transition: transform 0.3s ease;
    }


.nav-dropdown.is-open
.nav-dropdown-toggle > i {
    transform: rotate(180deg);
}


/* =========================================================
   PANEL
========================================================= */

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    width: 365px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: linear-gradient( 145deg, rgba(7, 25, 39, 0.96), rgba(3, 13, 22, 0.96) );
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateX(-50%) translateY(-8px) scale(0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(.16,1,.3,1), visibility 0.25s ease;
    z-index: 9999;
}


.nav-dropdown.is-open
.nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}


/* =========================================================
   OPCIONES
========================================================= */

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 14px;
    border-radius: 13px;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}


    .nav-dropdown-item:hover {
        transform: translateX(4px);
        background: rgba(255, 255, 255, 0.07);
    }


.nav-dropdown-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(239, 37, 45, 0.10);
    color: var(--lam-red);
    font-size: 1rem;
}


.nav-dropdown-copy {
    display: block;
}


    .nav-dropdown-copy strong {
        display: block;
        color: #ffffff;
        font-size: 0.76rem;
        letter-spacing: 0.03em;
    }


    .nav-dropdown-copy small {
        display: block;
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 0.66rem;
    }


/* =========================================================
   SEPARADOR
========================================================= */

.nav-dropdown-item + .nav-dropdown-item {
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .nav-dropdown {
        width: 100%;
        display: block;
    }


    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }


    .nav-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        transform: translateY(-5px);
        box-shadow: none;
    }


    .nav-dropdown.is-open
    .nav-dropdown-menu {
        transform: translateY(0);
    }
}

/* =========================================================
   SERVICIOS - EFECTO GLASS / SPOTLIGHT
========================================================= */

.nav-dropdown-toggle {
    position: relative;
    z-index: 1;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(.16, 1, .3, 1);
}


    /* Cristal interior */
    .nav-dropdown-toggle::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        border-radius: inherit;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) );
        opacity: 0;
        transition: opacity 0.35s ease;
    }


    /* Reflejo que atraviesa el botón */
    .nav-dropdown-toggle::after {
        content: "";
        position: absolute;
        top: -70%;
        left: -60%;
        width: 50%;
        height: 240%;
        z-index: -1;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.28), transparent );
        transform: rotate(22deg) translateX(-220%);
        opacity: 0;
        transition: transform 0.75s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease;
        pointer-events: none;
    }


    /* =========================================================
   HOVER
========================================================= */

    .nav-dropdown-toggle:hover {
        border-color: rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.055);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 0 25px rgba(73, 180, 240, 0.08);
        backdrop-filter: blur(14px) saturate(135%);
        -webkit-backdrop-filter: blur(14px) saturate(135%);
        transform: translateY(-1px);
    }


        .nav-dropdown-toggle:hover::before {
            opacity: 1;
        }


        .nav-dropdown-toggle:hover::after {
            opacity: 1;
            transform: rotate(22deg) translateX(500%);
        }


/* =========================================================
   CUANDO SERVICIOS ESTÁ ABIERTO
========================================================= */

.nav-dropdown.is-open
.nav-dropdown-toggle {
    border-color: rgba(255, 255, 255, 0.27);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 28px rgba(58, 169, 235, 0.10);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}


    .nav-dropdown.is-open
    .nav-dropdown-toggle::before {
        opacity: 1;
    }


/* =========================================================
   FLECHA
========================================================= */

.nav-dropdown-toggle > i {
    position: relative;
    font-size: 0.65rem;
    transition: transform 0.35s cubic-bezier(.16, 1, .3, 1), color 0.3s ease;
}


.nav-dropdown-toggle:hover > i,
.nav-dropdown.is-open
.nav-dropdown-toggle > i {
    color: var(--lam-red);
}


.nav-dropdown.is-open
.nav-dropdown-toggle > i {
    transform: rotate(180deg);
}

/* =========================================================
   SERVICIOS ACTIVO
========================================================= */

.nav-dropdown-toggle.active {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 28px rgba(58, 169, 235, 0.10);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}


    .nav-dropdown-toggle.active::before {
        opacity: 1;
    }


    /* Línea roja inferior como los otros menús */

    .nav-dropdown-toggle.active::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 3px;
        width: 34px;
        height: 2px;
        border-radius: 100px;
        background: var(--lam-red);
        opacity: 1;
        transform: translateX(-50%);
        box-shadow: 0 0 10px rgba(239, 37, 45, 0.45);
    }

.nav-dropdown-toggle.active {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -3px 0 var(--lam-red), 0 0 28px rgba(58, 169, 235, 0.10);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}


/* =========================================================
   HEADER + MENÚ MÓVIL
========================================================= */

@media (max-width: 900px) {

    /* HEADER */
    .main-header {
        height: 78px;
    }

    .header-container {
        height: 78px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
    }


    /* LOGO */
    .brand {
        position: relative;
        z-index: 10001;
    }

    .brand-logo {
        width: auto;
        height: 58px;
        max-width: 125px;
        object-fit: contain;
    }

    .brand-text {
        display: none;
    }


    /* =====================================================
       BOTÓN HAMBURGUESA
    ===================================================== */

    .mobile-menu-button {
        position: relative;
        z-index: 10001;
        display: inline-flex;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(5, 17, 27, 0.92);
        color: #ffffff;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }


    /* =====================================================
       PANEL DEL MENÚ
    ===================================================== */

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(84vw, 360px);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 105px 22px 35px;
        overflow-y: auto;
        overflow-x: hidden;
        background: linear-gradient( 160deg, rgba(5, 17, 28, 0.985), rgba(2, 9, 16, 0.995) );
        border-left: 1px solid rgba(255, 255, 255, 0.10);
        box-shadow: -25px 0 70px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(25px) saturate(120%);
        -webkit-backdrop-filter: blur(25px) saturate(120%);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), opacity 0.30s ease, visibility 0.30s ease;
        z-index: 10000;
    }


    /* MENÚ ABIERTO */

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(84vw, 360px);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 105px 22px 35px;
        overflow-y: auto;
        overflow-x: hidden;
        background: linear-gradient( 160deg, rgba(5, 17, 28, 0.985), rgba(2, 9, 16, 0.995) );
        border-left: 1px solid rgba(255, 255, 255, 0.10);
        box-shadow: -25px 0 70px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(25px) saturate(120%);
        -webkit-backdrop-filter: blur(25px) saturate(120%);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), opacity 0.30s ease, visibility 0.30s ease;
        z-index: 10000;
    }


        /* MENÚ ABIERTO */
        .main-nav.open {
            transform: translateX(0);
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }



        /* =====================================================
       LINKS
    ===================================================== */

        .main-nav > .nav-link {
            width: 100%;
            min-height: 52px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            border-radius: 14px;
            text-align: left;
            color: #ffffff;
            font-size: 0.80rem;
        }


            .main-nav > .nav-link:hover {
                background: rgba(255, 255, 255, 0.06);
            }


    /* =====================================================
       DROPDOWN SERVICIOS
    ===================================================== */

    .nav-dropdown {
        width: 100%;
        display: block;
    }


    .nav-dropdown-toggle {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        padding: 0 16px;
        border-radius: 14px;
    }


    .nav-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: none;
        transition: max-height 0.40s ease, opacity 0.30s ease, padding 0.30s ease, margin 0.30s ease;
    }


    .nav-dropdown.is-open
    .nav-dropdown-menu {
        max-height: 210px;
        margin-top: 6px;
        padding: 7px;
        opacity: 1;
        visibility: visible;
    }


    .nav-dropdown-item {
        min-height: 62px;
        padding: 10px 11px;
    }


    /* =====================================================
       BOTÓN COTIZAR
    ===================================================== */

    .main-nav .nav-quote-button {
        width: 100%;
        min-width: 0;
        min-height: 55px;
        margin-top: 13px;
        justify-content: center;
    }


    /* No usamos indicador líquido en móvil */
    .nav-liquid-indicator {
        display: none !important;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: 100svh;
        padding-top: 78px;
        overflow: hidden;
    }
}


/* =========================================================
   ASEGURANSA - HOME
========================================================= */

.home-insurance {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background: radial-gradient( circle at 86% 30%, rgba(48, 160, 224, 0.14), transparent 30% ), radial-gradient( circle at 10% 80%, rgba(239, 37, 45, 0.06), transparent 28% ), linear-gradient( 135deg, #d9eef9 0%, #c7e5f4 48%, #b4dcef 100% );
}


.insurance-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.88fr);
    align-items: center;
    gap: 70px;
    padding: 58px 60px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 32px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.72), rgba(220, 239, 249, 0.42) );
    box-shadow: 0 35px 90px rgba(31, 77, 107, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}


    /* DESTELLO SUAVE */
    .insurance-panel::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -120px;
        top: -160px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(255, 255, 255, 0.50), transparent 68% );
        pointer-events: none;
    }


/* =========================================================
   CONTENIDO
========================================================= */

.insurance-content {
    position: relative;
    z-index: 3;
}


.insurance-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lam-red);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


    .insurance-eyebrow::before {
        content: "";
        width: 34px;
        height: 1px;
        background: var(--lam-red);
    }


.insurance-content h2 {
    max-width: 760px;
    margin: 16px 0 0;
    color: #102432;
    font-size: clamp( 3rem, 4.8vw, 5.7rem );
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}


    .insurance-content h2 strong {
        display: block;
        color: var(--lam-red);
    }


.insurance-description {
    max-width: 670px;
    margin-top: 26px;
    color: #405f72;
    font-size: 0.96rem;
    line-height: 1.82;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.insurance-benefits {
    display: grid;
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
    gap: 14px;
    margin: 32px 0;
}


.insurance-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 16px 17px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 12px 35px rgba(31, 77, 107, 0.07);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}


    .insurance-benefit:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.70);
        box-shadow: 0 18px 42px rgba(31, 77, 107, 0.11);
    }


    .insurance-benefit > span {
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        border-radius: 14px;
        background: rgba(239, 37, 45, 0.09);
        color: var(--lam-red);
        font-size: 1rem;
    }


    .insurance-benefit strong {
        display: block;
        color: #102432;
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
    }


    .insurance-benefit small {
        display: block;
        margin-top: 4px;
        color: #5b7788;
        font-size: 0.67rem;
        line-height: 1.4;
    }


/* =========================================================
   BOTÓN
========================================================= */

.insurance-button {
    min-width: 300px;
}


/* =========================================================
   VISUAL
========================================================= */

.insurance-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.insurance-image-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 470px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 30px 70px rgba(20, 60, 90, 0.18);
}


    .insurance-image-frame img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.6s ease;
    }


.insurance-panel:hover
.insurance-image-frame img {
    transform: scale(1.035);
    filter: brightness(1.04) saturate(1.04);
}


/* =========================================================
   ESCUDO
========================================================= */

.insurance-shield {
    position: absolute;
    z-index: 5;
    top: 28px;
    right: 26px;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    background: rgba(239, 37, 45, 0.88);
    color: #ffffff;
    font-size: 1.7rem;
    box-shadow: 0 18px 45px rgba(239, 37, 45, 0.25);
    backdrop-filter: blur(12px);
}


/* =========================================================
   TARJETA FLOTANTE
========================================================= */

.insurance-floating-card {
    position: absolute;
    z-index: 5;
    left: -25px;
    bottom: -35px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 20px 50px rgba(20, 60, 90, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


    .insurance-floating-card > span {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: rgba(239, 37, 45, 0.10);
        color: var(--lam-red);
    }


    .insurance-floating-card small {
        display: block;
        color: #70899a;
        font-size: 0.56rem;
        font-weight: 800;
        letter-spacing: 0.13em;
    }


    .insurance-floating-card strong {
        display: block;
        margin-top: 3px;
        color: #102432;
        font-size: 0.72rem;
    }


/* =========================================================
   ÓRBITAS DECORATIVAS
========================================================= */

.insurance-orbit {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    border: 1px solid rgba(45, 145, 205, 0.18);
    animation: insuranceOrbit 15s linear infinite;
}


.insurance-orbit-one {
    width: 330px;
    height: 330px;
}


.insurance-orbit-two {
    width: 430px;
    height: 430px;
    animation-direction: reverse;
}


@keyframes insuranceOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .insurance-panel {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .insurance-visual {
        min-height: auto;
    }


    .insurance-image-frame {
        height: 480px;
    }
}


@media (max-width: 700px) {

    .home-insurance {
        padding: 75px 0;
    }


    .insurance-panel {
        padding: 30px 22px;
        border-radius: 24px;
    }


    .insurance-content h2 {
        font-size: clamp( 2.7rem, 13vw, 4.3rem );
    }


    .insurance-benefits {
        grid-template-columns: 1fr;
    }


    .insurance-image-frame {
        height: 360px;
    }


    .insurance-floating-card {
        left: 14px;
        bottom: 18px;
    }


    .insurance-button {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   FIX DEFINITIVO - INDICADOR LÍQUIDO DEL MENÚ
========================================================= */

@media (min-width: 1021px) {

    .main-nav {
        --nav-indicator-x: 0px;
        --nav-indicator-y: 0px;
        --nav-indicator-w: 0px;
        --nav-indicator-h: 0px;
    }

        .main-nav .nav-liquid-indicator {
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
            width: var(--nav-indicator-w) !important;
            height: var(--nav-indicator-h) !important;
            transform: translate3d( var(--nav-indicator-x), var(--nav-indicator-y), 0 ) !important;
            margin: 0 !important;
            transition: transform 0.42s cubic-bezier(.16, 1, .3, 1), width 0.42s cubic-bezier(.16, 1, .3, 1), height 0.42s cubic-bezier(.16, 1, .3, 1), opacity 0.25s ease !important;
            pointer-events: none !important;
            z-index: 0 !important;
        }


        /* Todos los botones siempre encima de la burbuja */
        .main-nav > .nav-link,
        .main-nav > .nav-dropdown,
        .main-nav > .nav-quote-button {
            position: relative;
            z-index: 2;
        }


    .nav-dropdown-toggle {
        position: relative;
        z-index: 2;
    }
}

/* =========================================================
   OPTIMIZACIÓN DE RENDIMIENTO — LAM
   Añadido para móviles, tablets y preferencias de movimiento.
   No modifica el diseño de escritorio.
========================================================= */

/* Evita renderizar por adelantado secciones que están fuera de pantalla.
   Los navegadores que no soporten content-visibility simplemente ignoran
   estas reglas. */
@supports (content-visibility: auto) {
    .home-introduction,
    .home-insurance,
    .home-security,
    .main-footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 900px;
    }
}

/* Dispositivos táctiles: elimina trabajo visual que no aporta interacción
   porque no existe hover real ni cursor de precisión. */
@media (hover: none) and (pointer: coarse) {

    /* Las partículas se mantienen para escritorio; en móvil dejamos de
       pintar el canvas. En site.js evitaremos también inicializarlas. */
    .lam-particles,
    .lam-particles canvas {
        display: none !important;
    }

    /* Evita mantener capas GPU reservadas permanentemente. */
    .hero-sky,
    .hero-road,
    .hero-content,
    .hero-truck-scene,
    .truck-glow,
    .hero-speed-lines,
    .hero-benefit-card,
    .home-card,
    .security-grid article {
        will-change: auto !important;
    }

    /* Efectos infinitos/decorativos innecesarios en pantalla táctil. */
    .insurance-orbit {
        animation: none !important;
    }

    /* Si estos elementos existen en el layout/effects, detener sus
       animaciones continuas sin ocultar los controles. */
    .animation-trigger,
    .lam-social-ring,
    .lam-social-pulse {
        animation: none !important;
    }

    /* Glassmorphism más económico para GPU móvil. */
    .main-header.scrolled {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .secondary-button {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }

    .hero-benefit-card {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .home-card {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .security-grid article {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .insurance-panel,
    .insurance-floating-card,
    .insurance-shield {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

        /* En dispositivos táctiles no necesitamos transformaciones de hover. */
        .hero-benefit-card:hover,
        .home-card:hover,
        .security-grid article:hover,
        .insurance-panel:hover .insurance-image-frame img {
            transform: none !important;
        }

            .hero-benefit-card:hover .benefit-icon,
            .home-card:hover .home-card-icon,
            .security-grid article:hover i {
                transform: none !important;
            }
}

/* Ajustes extra para teléfonos: el menú lateral tenía blur 25px, uno de
   los efectos más costosos del archivo al abrir/cerrar el menú. */
@media (max-width: 700px) {

    .main-nav {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .truck-glow {
        filter: blur(12px) !important;
    }

    .truck-shadow {
        filter: blur(6px) !important;
    }

    .hero-speed-lines {
        filter: none !important;
    }

    /* Evita que sombras gigantes obliguen a repintar áreas demasiado grandes. */
    .home-card,
    .security-grid article,
    .insurance-panel,
    .insurance-floating-card {
        box-shadow: 0 14px 34px rgba(20, 60, 90, 0.14) !important;
    }
}

/* Accesibilidad + ahorro de CPU/GPU para usuarios que solicitan menos
   movimiento desde Android, iOS, Windows o macOS. */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .insurance-orbit,
    .animation-trigger,
    .lam-social-ring,
    .lam-social-pulse {
        animation: none !important;
    }
}
