:root {
    /* Tipografía */
    --font-heading--family: "Science Gothic", sans-serif;
    --font-button--family: "Science Gothic", sans-serif;
    --font-body--family: "Inter", sans-serif;

    /* Azul Marino Profundo (cintillas, bloques alternos) */
    --primary-navy: #0F1E3D;
    --color-primary-button-background: #02132D;
    --color-secondary-button-hover-background: #02132D;
}

/* Tipografía de títulos */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading--family) !important;
    text-transform: uppercase !important;
}

.header-1.header-floating:hover,
.header-1.header-sticky.scrolled-past-header,
.header-1.scrolled-past-header,
.header-1.is-sticky,
.header-1.sticky {
    background: linear-gradient(180deg, #010510 0%, #02132D 100%) !important;
    --color-background: transparent !important;
}

footer,
.footer-main,
.footer-animated-bg {
    background-image: linear-gradient(-45deg, #02091c, #02132D, #010510, #02132D, #000000) !important;
    background-size: 400% 400% !important;
    /* background-position: 0% 50% !important; */
    animation: gradientShift 20s ease-in-out infinite !important;
}

footer .footer-widget,
footer .footer-main>div {
    background: transparent !important;
}

/* Caja del icono (Fondo azul marino con icono dorado) */
.multicolumn-page .card-icon {
    background-color: var(--primary-navy) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.tech-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.multicolumn .multicolumn-card:focus,
.multicolumn .multicolumn-card:hover {
    --color-background: rgba(2, 19, 45, 1);
    --color-foreground: rgba(255, 255, 255, 1);
    --color-foreground-heading: rgba(255, 255, 255, 1);
}

.multicolumn-page .card-icon:hover {
    border: 1px solid #00D4ff !important;
}

.section-contact-form .contact-form-wrap {
    --color-background: #02132D;
    background-color: #02132D;
}


@media (max-width: 1399px) {
    .text-90 {
        font-size: 48px !important;
    }
}

@media (max-width: 1399px) {
    .text-90 {
        font-size: 48px !important;
    }
}

/* ========================================================
   HEADER SPACING & GRID FIX (Evitar solapamientos)
   ======================================================== */
.header-grid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

.header-logo {
    max-width: 320px !important;
    flex-shrink: 0 !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

/* Desktop Header Navigation (>= 992px) */
@media (min-width: 992px) {
    .header-nav.drawer-menu {
        flex-grow: 1 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .header-menu {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .menu-link-main {
        padding: 30px 18px !important;
        font-size: 16px !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .header-logo {
        max-width: 260px !important;
    }

    .menu-link-main {
        padding: 24px 10px !important;
        font-size: 14.5px !important;
    }
}

/* Mobile Drawer Navigation (< 992px) */
@media (max-width: 991px) {
    .header-nav.drawer-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: #02132d !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85) !important;
        border-left: 1px solid rgba(0, 212, 255, 0.25) !important;
        padding: 24px 20px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        transform: translateX(100%) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .header-nav.drawer-menu.show {
        transform: translateX(0) !important;
    }

    .header-nav-headings {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 20px !important;
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .header-nav-headings .menu-close {
        color: #ffffff !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        transition: all 0.25s ease !important;
    }

    .header-nav-headings .menu-close:hover {
        background: rgba(0, 212, 255, 0.2) !important;
        color: #00d4ff !important;
        transform: rotate(90deg) !important;
    }

    .header-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        gap: 4px !important;
    }

    .header-menu > .nav-item {
        width: 100% !important;
        display: block !important;
    }

    .menu-link-main {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 14px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        transition: all 0.25s ease !important;
        text-decoration: none !important;
    }

    .menu-link-main:hover,
    .menu-link-main:active {
        color: #00d4ff !important;
        background: rgba(0, 212, 255, 0.08) !important;
        padding-left: 20px !important;
    }

    .header-drawer-lang {
        margin-top: 25px !important;
        display: flex !important;
        justify-content: center !important;
    }

    #drawer-overlay {
        z-index: 99990 !important;
        background-color: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(4px) !important;
    }
}



/* ========================================================
   LANGUAGE SWITCHER (Segmented Switch - Electric Cyan & White Glow)
   ======================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 3px;
    background: rgba(2, 19, 45, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 212, 255, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 8px;
    user-select: none;
    z-index: 2;
}

.lang-switcher:hover {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 12px rgba(0, 212, 255, 0.12);
}

.lang-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-heading--family, 'Science Gothic', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 5px 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-transform: uppercase;
}

.lang-btn:hover:not(.active) {
    color: #FFFFFF;
    background: rgba(0, 212, 255, 0.12);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

/* Active State: Electric Cyan Glow & White Text */
.lang-btn.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4) 0%, rgba(0, 114, 255, 0.7) 100%) !important;
    border: 1px solid #00D4FF !important;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.4) !important;
    cursor: default;
}

/* Press Feedback (Pulsación al hacer clic) */
.lang-btn:active {
    transform: scale(0.90);
    transition: transform 0.1s ease;
}

/* Pulse animation triggered on click */
@keyframes langPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.85);
    }

    60% {
        box-shadow: 0 0 0 12px rgba(0, 212, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.lang-btn.is-pulsing {
    animation: langPulseGlow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Mobile Drawer Switcher Layout */
.header-drawer-lang {
    padding: 20px 24px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

.header-drawer-lang .lang-switcher {
    width: 100%;
    justify-content: center;
    padding: 6px;
    background: rgba(15, 30, 61, 0.85);
}

.header-drawer-lang .lang-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
}

/* ========================================================
   SMOOTH SCROLLING & ANCHOR OFFSET (Clase reutilizable)
   ======================================================== */
html {
    scroll-behavior: smooth;
}

.scroll-offset,
.anchor-offset {
    scroll-margin-top: 150px;
}

@media (max-width: 991px) {

    .scroll-offset,
    .anchor-offset {
        scroll-margin-top: 80px;
    }
}

/* ========================================================
   VIDEO LIGHTBOX MODAL
   ======================================================== */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.video-lightbox.active {
    display: flex;
}

.video-lightbox .lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-lightbox .lightbox-close:hover,
.video-lightbox .lightbox-close:focus {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00D4FF;
    transform: scale(1.1);
    outline: none;
}

.video-lightbox .lightbox-inner {
    width: 100%;
    max-width: 960px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-lightbox video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* ========================================================
   SECCIÓN COBERTURA (Banner Interactivo con Mapa y Texto)
   ======================================================== */
.section-cobertura {
    margin-top: 100px;
    margin-bottom: 80px;
}

.cobertura-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background-color: #010510;
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 212, 255, 0.08);
}

.cobertura-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/banner/mapa-grupo-issa.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
}

.cobertura-content-wrap {
    position: relative;
    z-index: 2;
    padding: 70px 40px;
}

.cobertura-content-wrap .subheading {
    color: #00D4FF !important;
    background: rgba(0, 212, 255, 0.12) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
}

.cobertura-content-wrap .subheading span {
    color: #FFFFFF !important;
}

.cobertura-content-wrap .heading {
    color: #FFFFFF !important;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.cobertura-content-wrap .text,
.cobertura-content-wrap p {
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.7;
    margin-bottom: 24px;
}

.cobertura-content-wrap .text strong,
.cobertura-content-wrap p strong {
    color: #00D4FF !important;
    font-weight: 700;
}

.cobertura-content-wrap .text-lists {
    margin-bottom: 30px;
}

.cobertura-content-wrap .text-lists .text-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #FFFFFF !important;
}

.cobertura-content-wrap .text-lists .text-item span {
    color: #FFFFFF !important;
}

.cobertura-content-wrap .text-lists .text-item svg {
    color: #00D4FF !important;
    flex-shrink: 0;
}


@media (min-width: 992px) {
    .cobertura-card {
        min-height: 560px;
        display: flex;
        align-items: center;
    }

    .cobertura-content-wrap {
        padding: 60px 60px 60px 20px;
        background: linear-gradient(90deg, rgba(1, 5, 16, 0) 0%, rgba(1, 5, 16, 0.75) 15%, rgba(1, 5, 16, 0.95) 40%, rgba(1, 5, 16, 1) 100%);
        border-radius: 0 18px 18px 0;
    }
}

@media (max-width: 991px) {
    .cobertura-banner-bg {
        position: relative;
        height: 360px;
        background-position: center;
    }

    .cobertura-content-wrap {
        padding: 40px 24px 45px;
        background-color: #010510;
    }
}

/* ========================================================
   CONTACT FORM - AJAX FEEDBACK & VISUAL NOTIFICATIONS
   ======================================================== */
.contact-form-wrap {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-feedback-card {
    display: none;
    text-align: center;
    padding: 40px 25px;
    background: rgba(1, 5, 16, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 212, 255, 0.15);
    animation: fadeInScale 0.45s ease forwards;
}

.form-feedback-card.active {
    display: block;
}

.form-feedback-card .feedback-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00D4FF;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    animation: pulseGlow 2s infinite;
}

.form-feedback-card .feedback-icon-wrap svg {
    width: 44px;
    height: 44px;
    color: #00D4FF;
}

.form-feedback-card .feedback-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-feedback-card .feedback-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.form-alert-banner {
    display: none !important;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease forwards;
}

.form-alert-banner.active {
    display: flex !important;
    align-items: center;
    gap: 12px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.form-alert-banner svg {
    flex-shrink: 0;
}

/* Botón en estado enviando (loading spinner) */
.form-button button.is-loading {
    pointer-events: none;
    opacity: 0.85;
    position: relative;
}

.form-button button .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.7s linear infinite;
    margin-left: 8px;
}

.form-button button.is-loading .btn-spinner {
    display: inline-block;
}

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

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.6);
    }
}

/* ========================================================
   FLOATING WHATSAPP BUTTON
   ======================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-floating-btn:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-floating-btn svg {
    width: 35px;
    height: 35px;
}

/* Responsive adjustment for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-floating-btn svg {
        width: 30px;
        height: 30px;
    }
}

