:root{--orange:#ff5502;--navy:#101e33;--text:#152238;--muted:#758093}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--text);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.site-header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 4.4%;gap:20px;background:white}.brand{display:flex;flex-direction:column;align-items:center;line-height:.88;color:var(--orange);min-width:245px}.brand strong{font-size:55px;font-weight:1000;letter-spacing:-5px;font-style:italic}.brand .stars{font-size:15px;letter-spacing:5px}.brand small{font-size:10px;color:#627083;letter-spacing:6px;margin-top:8px}.site-header nav{display:flex;align-items:center;gap:0;height:100%}.site-header nav a{padding:16px 19px;font-size:13px;font-weight:700;white-space:nowrap}.site-header nav a:hover,.site-header nav .active{background:var(--orange);color:#fff}.nav-toggle{display:none}.hero{min-height:420px;background:linear-gradient(90deg,rgba(12,26,46,.91) 0%,rgba(12,26,46,.7) 32%,rgba(12,26,46,.08) 78%),url('/assets/img/hero.jpg') center/cover,#263d57;color:#fff;display:flex;align-items:center}.hero-inner{padding:40px 4.4%;max-width:790px}.eyebrow{letter-spacing:5px;font-size:12px}.hero h1{font-size:clamp(48px,5vw,80px);line-height:.94;letter-spacing:-3px;margin:15px 0}.hero h1 em{font-style:normal;color:#ff8c32}.accent{height:3px;width:70px;background:var(--orange);margin:22px 0}.hero-inner>p:not(.eyebrow){font-size:17px;line-height:1.5}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}.btn{padding:16px 18px;border-radius:5px;font-size:12px;font-weight:800}.primary{background:var(--orange);color:white}.secondary{border:1px solid white;color:white;background:#13253b70}.features{padding:13px 2.5%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.feature{min-height:205px;position:relative;overflow:hidden;border-radius:8px;color:white;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;background-size:cover;background-position:center}.feature:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071326ee,transparent 85%)}.feature>*{position:relative;z-index:1}.feature h2{font-size:20px;margin:7px 0 4px}.feature p{font-size:14px;line-height:1.4;margin:0;max-width:270px}.feature-icon{font-size:25px}.arrow{position:absolute;right:16px;bottom:16px;border:1px solid white;border-radius:50%;width:26px;height:26px;text-align:center;font-size:23px}.fleet{background-image:url('/assets/img/flota.jpg');background-color:#c9734c}.routes{background-image:url('/assets/img/rutas.jpg');background-color:#122d45}.pilots{background-image:url('/assets/img/pilotos.jpg');background-color:#8a5e43}.history{background-image:url('/assets/img/historia.jpg');background-color:#79624d}.lower{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:15px 2.5% 45px}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6dbe3;margin-bottom:8px;gap:10px}.panel-heading h2{font-size:20px;margin:10px 0}.panel-heading h2:before{content:'';display:inline-block;width:20px;height:4px;background:var(--orange);vertical-align:middle;margin-right:12px}.panel-heading a{font-size:13px;color:var(--orange)}.news-list{min-height:210px;padding:14px}.muted{color:var(--muted)}.map-placeholder{min-height:235px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,#1c4e72,#061829 75%);color:#fff;border-radius:6px;display:grid;place-items:center;text-align:center}.map-glow{position:absolute;border:1px solid #ff7a23;border-radius:50%;width:240px;height:240px;box-shadow:0 0 90px #ff550244}.map-copy{z-index:1;padding:20px}.map-copy span{font-size:12px;letter-spacing:3px;color:#ffac6c}.map-copy h3{font-size:27px;margin:10px}.footer{background:#101e33;color:white;padding:28px 4.4%;display:flex;justify-content:space-between;gap:25px}.footer p,.footer small{color:#b3becd}.page{max-width:1150px;margin:auto;padding:55px 25px;min-height:55vh}.page h1{font-size:42px}.page h1:after{content:'';display:block;background:var(--orange);width:75px;height:4px;margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.site-header nav a{padding:14px 9px;font-size:11px}.brand{min-width:170px}.brand strong{font-size:42px}.features{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.site-header{height:70px;padding:0 20px}.nav-toggle{display:block;background:none;border:0;font-size:25px;color:var(--navy);cursor:pointer}.site-header nav{display:none;position:absolute;top:70px;left:0;right:0;height:auto;background:white;z-index:20;box-shadow:0 9px 15px #0002;flex-direction:column;align-items:stretch}.site-header nav.open{display:flex}.site-header nav a{font-size:13px;padding:15px 25px}.hero{min-height:480px}.hero-inner{padding:35px 22px}.eyebrow{letter-spacing:2px}.features{grid-template-columns:1fr;padding:12px}.feature{min-height:175px}.lower{grid-template-columns:1fr;padding:15px 12px 35px}.footer{flex-direction:column}.panel-heading h2{font-size:17px}}

/* ===== VIASA - NAVEGACION CON SUBMENUS ===== */
#main-nav .viasa-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

#main-nav .viasa-submenu-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 8px;
    white-space: nowrap;
}

#main-nav .viasa-submenu-toggle:hover,
#main-nav .viasa-nav-item.active > .viasa-submenu-toggle {
    color: #ff5502;
}

.viasa-chevron {
    font-size: 14px;
}

#main-nav .viasa-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    border-top: 3px solid #ff5502;
    border-radius: 0 0 8px 8px;
    padding: 7px 0;
    z-index: 1000;
}

#main-nav .viasa-submenu a {
    display: block;
    padding: 11px 16px;
    color: #17283c;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

#main-nav .viasa-submenu a:hover {
    color: #ff5502;
    background: #fff3ec;
}

@media (min-width: 1101px) {
    #main-nav .has-submenu:hover > .viasa-submenu,
    #main-nav .has-submenu:focus-within > .viasa-submenu,
    #main-nav .has-submenu.submenu-open > .viasa-submenu {
        display: block;
    }
}

@media (max-width: 1100px) {
    .site-header .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .site-header #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
    }

    .site-header #main-nav.open {
        display: flex;
    }

    #main-nav .viasa-nav-item {
        display: block;
        width: 100%;
    }

    #main-nav .viasa-submenu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 20px;
    }

    #main-nav .viasa-submenu {
        position: static;
        box-shadow: none;
        border: 0;
        border-left: 3px solid #ff5502;
        border-radius: 0;
        margin-left: 20px;
        padding: 0;
    }

    #main-nav .has-submenu.submenu-open > .viasa-submenu {
        display: block;
    }

    #main-nav .viasa-nav-link {
        display: block;
        padding: 14px 20px;
    }
}

/* ===== CORRECCION MENU VIASA ===== */

.site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    z-index: 1000;
}

.site-header #main-nav {
    align-items: center;
    gap: 4px;
}

.site-header #main-nav > a,
.site-header #main-nav > .viasa-nav-item {
    flex-shrink: 0;
}

.site-header #main-nav .viasa-submenu {
    display: none !important;
}

.site-header #main-nav .viasa-submenu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

@media (min-width: 1101px) {

    .site-header #main-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .site-header #main-nav .has-submenu:hover > .viasa-submenu,
    .site-header #main-nav .has-submenu:focus-within > .viasa-submenu,
    .site-header #main-nav .has-submenu.submenu-open > .viasa-submenu {
        display: block !important;
    }

    .site-header #main-nav .viasa-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 215px;
        z-index: 2000;
    }

    .site-header #main-nav .viasa-submenu-toggle {
        appearance: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        font-family: inherit;
        color: #17283c;
        cursor: pointer;
    }
}

@media (max-width: 1100px) {

    .site-header #main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header #main-nav.open {
        display: flex;
    }

    .site-header #main-nav .has-submenu.submenu-open > .viasa-submenu {
        display: block !important;
    }

    .site-header #main-nav .viasa-submenu {
        position: static;
        width: 100%;
    }
}

/* ===== TIPOGRAFIA UNIFICADA MENU VIASA ===== */

.site-header #main-nav > a,
.site-header #main-nav > .viasa-nav-item > button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: none;
}

.site-header #main-nav > .viasa-nav-item > button {
    padding: 16px 12px;
}

.site-header #main-nav .viasa-chevron {
    font-size: 12px;
    font-weight: 700;
}


/* Mapa de rutas a ancho completo */
.lower {
    grid-template-columns: minmax(0, 1fr);
}

.lower .map-placeholder {
    min-height: 350px;
}

/* ===== SELECTOR DE IDIOMAS VIASA ===== */

.viasa-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.viasa-language a {
    color: #758093;
    text-decoration: none;
    padding: 5px 3px;
}

.viasa-language a.selected,
.viasa-language a:hover {
    color: #ff5502;
}

.viasa-language span {
    color: #c5cbd3;
}

@media (max-width: 720px) {
    .viasa-language {
        margin-left: auto;
        margin-right: 12px;
    }
}

/* ===== CORRECCION SUBMENUS ACTIVOS VIASA ===== */

/* Texto visible cuando el submenu está activo */
.site-header #main-nav .viasa-nav-item.active > .viasa-submenu-toggle,
.site-header #main-nav .viasa-nav-item:hover > .viasa-submenu-toggle,
.site-header #main-nav .viasa-nav-item.open > .viasa-submenu-toggle,
.site-header #main-nav .viasa-nav-item:focus-within > .viasa-submenu-toggle {
    color: #ffffff !important;
    background-color: #ff5502;
}

/* Flecha del submenu */
.site-header #main-nav .viasa-nav-item.active .viasa-chevron,
.site-header #main-nav .viasa-nav-item:hover .viasa-chevron,
.site-header #main-nav .viasa-nav-item.open .viasa-chevron {
    color: #ffffff !important;
}

/* Texto de los enlaces dentro del desplegable */
.site-header #main-nav .viasa-submenu a {
    color: #152238;
    background-color: #ffffff;
}

/* Resaltado al pasar el mouse por una opción */
.site-header #main-nav .viasa-submenu a:hover {
    background-color: #ff5502;
    color: #ffffff;
}

/* ===== VIASA: FONDO CONTINUO PORTADA ===== */

/* Base oscura de la portada */
body:has(.hero) {
    background: #061426;
}

/* Imagen panorámica superior */
.hero {
    min-height: 460px;
    background:
        linear-gradient(
            90deg,
            rgba(3, 13, 30, .88) 0%,
            rgba(3, 13, 30, .48) 40%,
            rgba(3, 13, 30, .02) 78%
        ),
        url('/assets/img/hero.jpg') center center / cover no-repeat;
}

/* Las cuatro tarjetas sobre el fondo oscuro */
.features {
    position: relative;
    background: #061426;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Tarjetas con bordes discretos */
.features .feature {
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

/* Sección inferior con el mapamundi */
.lower {
    display: block;
    padding: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 13, 30, .70),
            rgba(3, 13, 30, .08)
        ),
        url('/assets/img/mapa-fondo.jpg')
        center center / cover no-repeat;
}

/* Panel transparente para mostrar el planeta */
.lower .panel {
    min-height: 430px;
    padding: 45px 4.4%;
}

/* Encabezado de rutas */
.lower .panel-heading {
    border: none;
    max-width: 560px;
}

.lower .panel-heading h2 {
    color: #ffffff;
    font-size: 28px;
}

.lower .panel-heading a {
    color: #ff8c32;
}

/* Eliminar el fondo provisional del mapa */
.lower .map-placeholder {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    min-height: 220px;
    background: transparent;
    border-radius: 0;
}

.lower .map-glow {
    display: none;
}

.lower .map-copy {
    padding: 10px 0;
}

.lower .map-copy h3 {
    color: #ffffff;
    font-size: 30px;
}

.lower .map-copy p {
    color: #d5e0ec;
}

/* Adaptación móvil */
@media (max-width: 720px) {
    .hero {
        min-height: 480px;
        background-position: 58% center;
    }

    .lower {
        background-position: 58% center;
    }

    .lower .panel {
        min-height: 370px;
        padding: 30px 22px;
    }

    .lower .panel-heading h2 {
        font-size: 23px;
    }

    .lower .map-copy h3 {
        font-size: 24px;
    }
}


/* ===== VIASA JOIN SECTION 20261027 ===== */

.viasa-join {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    background: #101e33;
    color: #fff;
    overflow: hidden;
}

.viasa-join-content {
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.viasa-join-eyebrow {
    color: #ff8c43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.viasa-join h2 {
    color: #fff;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.15;
    margin: 0 0 20px;
}

.viasa-join-content > p {
    color: #d0d8e4;
    font-size: 16px;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 0 28px;
}

.viasa-join-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 16px 25px;
    background: #ff5502;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 5px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.viasa-join-button:hover {
    background: #e94b00;
    color: #fff;
    transform: translateY(-2px);
}

.viasa-join-phrase {
    color: #aebed0;
    font-size: 13px;
    font-style: italic;
    margin-top: 25px;
}

.viasa-join-image {
    min-height: 420px;
    background:
        linear-gradient(
            90deg,
            #101e33 0%,
            rgba(16,30,51,.05) 45%
        ),
        url('/assets/img/unete.jpg')
        center center / cover no-repeat;
}

@media (max-width: 800px) {
    .viasa-join {
        grid-template-columns: 1fr;
    }

    .viasa-join-content {
        padding: 45px 25px;
    }

    .viasa-join-image {
        min-height: 270px;
        background:
            url('/assets/img/unete.jpg')
            center center / cover no-repeat;
    }

    .viasa-join h2 {
        font-size: 32px;
    }
}



/* ===== VIASA: OPERACIONES EN LINEA ===== */

.viasa-live {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(200px,1fr) auto;
    align-items: center;
    gap: 35px;
    padding: 38px 5%;
    background: linear-gradient(
        115deg,
        #17283c 0%,
        #21374f 52%,
        #17283c 100%
    );
    color: #ffffff;
}

.viasa-live-eyebrow {
    display: block;
    color: #ff5502;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 7px;
}

.viasa-live-intro h2 {
    color: #ffffff;
    font-size: 30px;
    margin: 0 0 8px;
}

.viasa-live-intro p {
    color: #cbd7e5;
    font-size: 14px;
    margin: 0;
}

.viasa-live-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.viasa-live-numbers > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    font-size: 15px;
}

.viasa-live-numbers strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.viasa-live-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 23px;
    border-radius: 5px;
    background: #ff5502;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.viasa-live-button:hover {
    background: #e94b00;
    color: #fff;
}

@media (max-width: 850px) {
    .viasa-live {
        grid-template-columns: 1fr;
        gap: 23px;
        padding: 32px 25px;
    }

    .viasa-live-numbers {
        max-width: 260px;
    }

    .viasa-live-button {
        justify-self: start;
    }
}




/* ===== VIASA: TRANSICIONES VISUALES ===== */

.viasa-live {
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.viasa-live-eyebrow {
    color: #ff783b;
}

.viasa-live-numbers span {
    color: #dce5f0;
}

.viasa-live-numbers strong {
    color: #ffffff;
}

.viasa-join {
    background-color: #17283c;
}

.viasa-join-content {
    background: linear-gradient(
        90deg,
        #17283c 0%,
        #1d3046 100%
    );
}

.viasa-join-image {
    background:
        linear-gradient(
            90deg,
            #1d3046 0%,
            rgba(29,48,70,.05) 45%
        ),
        url('/assets/img/unete.jpg')
        center center / cover no-repeat;
}

@media (max-width: 800px) {
    .viasa-join-image {
        background:
            url('/assets/img/unete.jpg')
            center center / cover no-repeat;
    }
}


/* =====================================================
   VIASA MAPA OPERACIONES INTEGRADAS
   ===================================================== */

/* Mapa y operaciones comparten la misma fotografía */
.lower {
    background:
        linear-gradient(
            90deg,
            rgba(3,13,30,.70) 0%,
            rgba(3,13,30,.10) 100%
        ),
        url('/assets/img/mapa-fondo.jpg')
        center center / cover no-repeat;
}

/* Ajustar el espacio superior del mapa */
.lower .panel {
    min-height: 340px;
    padding-bottom: 20px;
}

/* Operaciones transparentes sobre la fotografía */
.lower .viasa-live {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 30px 4.4% 45px;
    grid-template-columns:
        minmax(0,1.3fr)
        minmax(200px,1fr)
        auto;
}

/* Textos blancos */
.lower .viasa-live h2,
.lower .viasa-live p,
.lower .viasa-live span,
.lower .viasa-live strong {
    color: #ffffff;
}

.lower .viasa-live-eyebrow {
    color: #ff8c43;
}

.lower .viasa-live-intro p,
.lower .viasa-live-numbers span {
    color: #d5e0ec;
}

/* Botón naranja */
.lower .viasa-live-button {
    background: #ff5502;
    color: #ffffff;
}

/* Recuperar el azul original del cockpit */
.viasa-join {
    background: #101e33;
}

.viasa-join-content {
    background: #101e33;
}

.viasa-join-image {
    background:
        linear-gradient(
            90deg,
            #101e33 0%,
            rgba(16,30,51,.05) 45%
        ),
        url('/assets/img/unete.jpg')
        center center / cover no-repeat;
}

@media (max-width: 850px) {
    .lower .viasa-live {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 25px 22px 40px;
    }

    .lower .panel {
        min-height: 290px;
    }
}

@media (max-width: 800px) {
    .viasa-join-image {
        background:
            url('/assets/img/unete.jpg')
            center center / cover no-repeat;
    }
}


/* ===== VIASA RADAR OSCURO COMPACTO ===== */

.lower .panel {
    min-height: 280px;
}

.lower .viasa-radar-section {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 1.8fr);
    grid-template-areas:
        "intro radar"
        "stats radar"
        "button radar";
    align-items: center;
    gap: 15px 28px;
    background: #101e33;
    padding: 28px 4.4%;
    border: 0;
}

.viasa-radar-section .viasa-live-intro {
    grid-area: intro;
}

.viasa-radar-section .viasa-radar-stats {
    grid-area: stats;
    background: #192d45;
    padding: 18px;
    border-radius: 8px;
}

.viasa-radar-section .viasa-live-numbers {
    max-width: none;
}

.viasa-radar-section .viasa-live-numbers > div {
    gap: 12px;
}

.viasa-radar-section .viasa-live-button {
    grid-area: button;
    justify-self: start;
}

.viasa-radar-container {
    grid-area: radar;
    min-width: 0;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.14);
    background: #15263a;
}

.viasa-radar-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    color: #ffffff;
    font-size: 12px;
}

.viasa-radar-heading strong {
    color: #ffffff;
}

#viasa-radar-status {
    color: #b9c9dc;
    margin-left: auto;
}

.viasa-radar-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff5502;
}

#viasa-radar-map {
    width: 100%;
    height: 285px;
    background: #15263a;
    z-index: 0;
}

@media (max-width: 850px) {
    .lower .viasa-radar-section {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "stats"
            "button"
            "radar";
        padding: 25px 22px;
    }

    #viasa-radar-map {
        height: 260px;
    }
}


/* ===== VIASA RADAR IVAO ===== */

.viasa-plane {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.65));
}

#viasa-radar-count {
    color: #ff8c43;
    font-weight: 800;
    margin-left: auto;
}

#viasa-radar-status {
    margin-left: 0;
    font-size: 11px;
}



/* VIASA: apariencia nocturna provisional del mapa */
#viasa-radar-map .leaflet-tile-pane {
    filter: grayscale(1) invert(1) brightness(.65) contrast(1.15);
}

#viasa-radar-map .leaflet-control-zoom a {
    background: #192d45;
    color: #ffffff;
    border-color: #31465c;
}



/* ===== VIASA RADAR: AJUSTES DE VISUALIZACIÓN ===== */

#viasa-radar-map .leaflet-tile-pane {
    filter: grayscale(1) invert(1) brightness(.9) contrast(1.25);
}

#viasa-radar-map {
    background: #17283c;
}

#viasa-radar-map .leaflet-container {
    background: #17283c;
}

#viasa-radar-map .leaflet-control-zoom a {
    background: #192d45;
    color: #ffffff;
}


/* Identidad visual VIASA - logotipo oficial */
.site-header .brand{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;text-decoration:none}
.site-header .brand .viasa-brand-logo{display:block;width:clamp(125px,12vw,180px);height:auto;max-width:100%;object-fit:contain}
.footer .viasa-footer-brand{display:inline-block;line-height:0;margin-bottom:10px}
.footer .viasa-footer-brand img{display:block;width:min(205px,65vw);height:auto;object-fit:contain}
.footer .viasa-footer-name{display:block}
@media(max-width:700px){.site-header .brand .viasa-brand-logo{width:135px}}

/* IVAO PARTNER GLOBAL */
.site-header .viasa-ivao-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 8px;
    text-decoration: none;
}

.site-header .viasa-ivao-partner img {
    display: block;
    width: 125px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

.footer .viasa-copyright {
    width: 100%;
    text-align: center;
    padding: 22px 12px 12px;
    font-size: 13px;
}

@media (max-width: 900px) {
    .site-header .viasa-ivao-partner img {
        width: 90px;
        max-height: 42px;
    }
}

@media (max-width: 480px) {
    .site-header .viasa-ivao-partner img {
        width: 72px;
        max-height: 36px;
    }
}

/* LEMA VIASA GLOBAL */
.site-header .brand {
    gap: 12px;
}

.site-header .viasa-brand-slogan {
    display: block;
    max-width: 160px;
    color: #101e33;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 1150px) {
    .site-header .viasa-brand-slogan {
        display: none;
    }
}

/* ===== VIASA: LOGOTIPO Y LEMA ===== */

.site-header .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header .brand .viasa-brand-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-header .brand .viasa-brand-slogan {
    display: block;
    max-width: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #FF5502;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1150px) {
    .site-header .brand .viasa-brand-logo {
        width: 175px;
    }

    .site-header .brand .viasa-brand-slogan {
        display: block;
        font-size: 11px;
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .site-header .brand .viasa-brand-logo {
        width: 150px;
    }

    .site-header .brand .viasa-brand-slogan {
        font-size: 10px;
    }
}



/* ===== AJUSTE FINAL LOGO VIASA ===== */

.site-header a.brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 8px 0 !important;
}

.site-header a.brand img.viasa-brand-logo {
    width: 220px !important;
    max-width: none !important;
    height: auto !important;
}

.site-header a.brand .viasa-brand-slogan {
    display: block !important;
    margin-top: 4px !important;
    max-width: none !important;
    color: #FF5502 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

@media (max-width: 700px) {
    .site-header a.brand img.viasa-brand-logo {
        width: 155px !important;
    }

    .site-header a.brand .viasa-brand-slogan {
        font-size: 10px !important;
        white-space: normal !important;
    }
}

/* Ajuste tamaño logotipo VIASA */
.site-header a.brand img.viasa-brand-logo {
    width: 195px !important;
}

@media (max-width: 700px) {
    .site-header a.brand img.viasa-brand-logo {
        width: 150px !important;
    }
}

/* VIASA: restaurar tamaño y bajar logotipo */
.site-header a.brand img.viasa-brand-logo {
    width: 220px !important;
    transform: translateY(8px);
}

@media (max-width: 700px) {
    .site-header a.brand img.viasa-brand-logo {
        width: 155px !important;
    }
}
