/* =========================================
   SOLO PARA ESTE HTML:
   - Navbar 3 columnas (logo centro + mobile)
   - Sección Contacto + Mapa
   - Footer SGI
   - WhatsApp Widget
========================================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF8C42;
    --primary-yellow: #FFD700;
    --primary-blue: #4A9FD8;
    --dark-blue: #1A3C5E;
    --white: #ffffff;

    /* compat (tu naming) */
    --azul: var(--primary-blue);
    --naranja: var(--primary-orange);
    --amarillo: var(--primary-yellow);
    --blanco: var(--white);

    /* extras */
    --radius-1: 14px;
    --radius-2: 18px;
    --shadow-1: 0 10px 25px rgba(0, 0, 0, .12);
    --shadow-2: 0 18px 45px rgba(0, 0, 0, .16);
    --border-soft: 1px solid rgba(26, 60, 94, .10);
    --navH: 90px;

    /* ✅ FIX: tu body usaba --dark-text y no existía */
    --dark-text: #1a1a1a;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.1vw, 16px);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    background: #fff;
    line-height: 1.45;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: min(1200px, 92vw);
}

/* =========================================
   NAVBAR 3 COLUMNAS (LOGO CENTRO)
========================================= */
#navbar.navbar {
    height: var(--navH);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;
    padding: 14px 0;
    background: transparent;
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

/* Variante para páginas con fondo claro (tu HTML tiene navbar-light) */
#navbar.navbar-light {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 10px 0;
}

/* Cuando uses scroll (si tu JS lo aplica) */
#navbar.navbar.is-scrolled {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

/* Grid 3 columnas */
#navbar .nav3 {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

/* Menús */
#navbar .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

#navbar .nav-left {
    justify-content: flex-start;
}

#navbar .nav-right {
    justify-content: flex-end;
}

/* Links base (cuando navbar está sobre fondo/hero: blanco) */
#navbar .nav-menu a {
    text-decoration: none;
    font-weight: 800;
    font-size: .90rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
    color: rgba(255, 255, 255, .92);
}

/* En páginas claras (navbar-light): links oscuros */
#navbar.navbar-light .nav-menu a,
#navbar.is-scrolled .nav-menu a {
    color: var(--dark-blue);
}

#navbar .nav-menu a:hover {
    transform: translateY(-1px);
    color: var(--primary-yellow);
}

#navbar.navbar-light .nav-menu a:hover,
#navbar.is-scrolled .nav-menu a:hover {
    color: var(--primary-orange);
    background: rgba(255, 140, 66, .06);
}

/* Activo */
#navbar .nav-menu a.active {
    position: relative;
}

#navbar .nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 12%;
    bottom: 3px;
    width: 76%;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-yellow);
}

#navbar.navbar-light .nav-menu a.active::after,
#navbar.is-scrolled .nav-menu a.active::after {
    background: var(--primary-orange);
}

/* Logo centro */
#navbar .nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
}

#navbar .nav-logo img {
    height: 74px;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transition: height .2s ease, transform .2s ease, opacity .2s ease;
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 4px #ffffff);
}

/* Hamburguesa */
#navbar .hamburger {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    padding: 0;
}

#navbar.navbar-light .hamburger,
#navbar.is-scrolled .hamburger {
    border: 1px solid rgba(26, 60, 94, .18);
    background: #fff;
}

#navbar .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

#navbar.navbar-light .hamburger span,
#navbar.is-scrolled .hamburger span {
    background: var(--dark-blue);
}

/* animación X */
#navbar .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
}

#navbar .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menú mobile */
#navbar .nav-mobile {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    margin-top: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(26, 60, 94, .12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

#navbar .nav-mobile a {
    color: var(--dark-blue) !important;
    padding: 12px 14px;
    border-radius: 14px;
    letter-spacing: 1px;
    text-align: left;
}

#navbar .nav-mobile a:hover {
    background: rgba(255, 140, 66, .08);
    color: var(--primary-orange) !important;
}

/* Responsive navbar */
@media (max-width: 900px) {
    :root {
        --navH: 80px;
    }

    #navbar .nav3 {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo burger"
            "mobile mobile";
        gap: 12px;
    }

    #navbar .nav-left,
    #navbar .nav-right {
        display: none;
    }

    #navbar .nav-logo {
        grid-area: logo;
        justify-content: flex-start;
    }

    #navbar .hamburger {
        display: flex;
        grid-area: burger;
    }

    #navbar .nav-mobile {
        grid-area: mobile;
    }

    #navbar .nav-mobile.active {
        display: flex;
    }

    #navbar .nav-logo img {
        height: 56px;
    }
}

/* =========================================
   CONTACTO + MAPA (PRO)
========================================= */
.contacto-pro {
    /* ✅ importante: espacio para navbar fixed */
    padding: calc(var(--navH) + 40px) 0 95px;

    background:
        radial-gradient(circle at 12% 18%, rgba(255, 215, 0, .14), transparent 55%),
        radial-gradient(circle at 88% 22%, rgba(74, 159, 216, .16), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
}

.contacto-pro__title {
    text-align: center;
    margin-bottom: 38px;
}

.contacto-pro__title h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    line-height: 1.12;
    color: var(--dark-blue);
}

.contacto-pro__title h2 span {
    color: var(--primary-orange);
    position: relative;
}

.contacto-pro__title h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: .12em;
    width: 100%;
    height: .42em;
    border-radius: 10px;
    background: rgba(255, 215, 0, .45);
    z-index: -1;
}

.contacto-pro__title p {
    margin: 0 auto;
    max-width: 820px;
    color: rgba(26, 60, 94, .75);
    line-height: 1.6;
}

/* Layout */
.contacto-pro__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 26px;
    align-items: stretch;
}

/* Card */
.contacto-pro__card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 60, 94, .10);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.contacto-pro__card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 140, 66, .18), rgba(74, 159, 216, .14));
    opacity: .7;
    filter: blur(24px);
    pointer-events: none;
}

.contacto-pro__brand {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.contacto-pro__brand h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--dark-blue);
    font-weight: 950;
}

.contacto-pro__tag {
    display: inline-block;
    margin-top: 4px;
    font-weight: 800;
    font-size: .85rem;
    color: rgba(26, 60, 94, .72);
}

/* Items */
.contacto-pro__items {
    position: relative;
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.contacto-pro__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(26, 60, 94, .10);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contacto-pro__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 66, .28);
    box-shadow: 0 18px 40px rgba(26, 60, 94, .10);
}

.contacto-pro__item--noLink:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(26, 60, 94, .10);
}

.contacto-pro__item strong {
    display: block;
    font-weight: 950;
    color: var(--dark-blue);
    line-height: 1.1;
}

.contacto-pro__item small {
    display: block;
    margin-top: 4px;
    color: rgba(0, 0, 0, .65);
    line-height: 1.3;
}

/* Iconito del item */
.ico {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(45deg, var(--primary-orange), #ffb14a);
    box-shadow: 0 14px 30px rgba(255, 140, 66, .20);
    flex: 0 0 40px;
}

.ico--wa {
    background: linear-gradient(45deg, #25D366, #1fbf58);
}

/* CTA */
.contacto-pro__cta {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.contacto-pro__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 950;
    letter-spacing: .3px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.contacto-pro__btn--primary {
    color: #fff;
    background: linear-gradient(45deg, var(--primary-orange), #ffb14a);
    box-shadow: 0 14px 30px rgba(255, 140, 66, .28);
    border: 1px solid rgba(255, 140, 66, .25);
}

.contacto-pro__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 140, 66, .38);
}

.contacto-pro__btn--ghost {
    color: var(--dark-blue);
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(26, 60, 94, .14);
    backdrop-filter: blur(10px);
}

.contacto-pro__btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 159, 216, .35);
    box-shadow: 0 18px 40px rgba(26, 60, 94, .10);
}

/* Map block */
.mapa-pro {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 60, 94, .10);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
    padding: 20px;
    overflow: hidden;
}

.mapa-pro__title {
    margin: 4px 0 6px;
    color: var(--dark-blue);
    font-weight: 950;
    font-size: 1.2rem;
}

.mapa-pro__desc {
    margin: 0 0 14px;
    color: rgba(26, 60, 94, .75);
    line-height: 1.55;
}

.mapa-pro__frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(26, 60, 94, .10);
    box-shadow: 0 18px 45px rgba(26, 60, 94, .12);
}

.mapa-pro__frame iframe {
    display: block;
    width: 100%;
}

/* Responsive contacto */
@media (max-width: 980px) {
    .contacto-pro__grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile contacto (<=600px) */
@media (max-width: 600px) {
    .contacto-pro {
        padding: calc(var(--navH) + 20px) 0 48px;
    }

    .contacto-pro__title {
        margin-bottom: 22px;
        padding: 0 14px;
    }

    .contacto-pro__title h2 {
        font-size: 1.5rem;
        line-height: 1.15;
        margin: 10px 0 8px;
    }

    .contacto-pro__title p {
        font-size: .95rem;
        line-height: 1.55;
    }

    .contacto-pro__grid {
        gap: 16px;
        padding: 0 14px;
    }

    .contacto-pro__card {
        padding: 18px;
        border-radius: 18px;
    }

    .contacto-pro__brand h3 {
        font-size: 1.02rem;
    }

    .contacto-pro__tag {
        font-size: .82rem;
    }

    .contacto-pro__items {
        gap: 10px;
    }

    .contacto-pro__item {
        padding: 12px;
        border-radius: 14px;
        gap: 10px;
    }

    .ico {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        flex: 0 0 34px;
    }

    .contacto-pro__item strong {
        font-size: .95rem;
    }

    .contacto-pro__item small {
        font-size: .85rem;
    }

    .contacto-pro__btn {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        font-size: .95rem;
    }

    .mapa-pro {
        padding: 16px;
        border-radius: 18px;
    }

    .mapa-pro__frame {
        border-radius: 14px;
    }

    .mapa-pro__frame iframe {
        height: 260px;
    }
}

/* =========================================
   FOOTER SGI
========================================= */
.sgi-footer {
    position: relative;
    color: #fff;
    overflow: hidden;
    margin-top: 70px;
    background:
        linear-gradient(135deg, rgba(26, 60, 94, .94), rgba(10, 18, 28, .88)),
        url("./img/prueba.png") center/cover no-repeat;
    border-top: 6px solid var(--primary-orange);
}

.sgi-footer__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 215, 0, .18), transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(74, 159, 216, .18), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
    pointer-events: none;
}

.sgi-footer__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 38px;
    padding: 58px 0;
}

.sgi-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.sgi-footer__logo {
    width: 124px;
    height: 114px;
    object-fit: contain;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.sgi-footer__title {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: .5px;
}

.sgi-footer__tagline {
    margin: 2px 0 0;
    opacity: .9;
    font-size: .95rem;
}

.sgi-footer__desc {
    margin: 14px 0 16px;
    opacity: .92;
    line-height: 1.6;
    max-width: 520px;
}

.sgi-footer__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sgi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .4px;
    background: rgba(255, 140, 66, .16);
    border: 1px solid rgba(255, 140, 66, .35);
}

.sgi-badge--yellow {
    background: rgba(255, 215, 0, .16);
    border: 1px solid rgba(255, 215, 0, .35);
}

.sgi-footer__heading {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 900;
    position: relative;
    padding-left: 12px;
}

.sgi-footer__heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    border-radius: 99px;
    background: var(--primary-yellow);
}

.sgi-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.sgi-footer__list a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    transition: .25s ease;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.sgi-footer__list a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, .18);
}

.sgi-footer__list a:hover {
    color: #fff;
    transform: translateX(4px);
}

.sgi-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.sgi-footer__contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, .92);
}

.sgi-footer__contact a {
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
}

.sgi-footer__contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.sgi-ico {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--primary-orange);
}

.sgi-ico svg {
    width: 18px;
    height: 18px;
}

.sgi-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.sgi-social {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: .25s ease;
    text-decoration: none;
}

.sgi-social svg {
    width: 20px;
    height: 20px;
}

.sgi-social:hover {
    transform: translateY(-3px);
    background: rgba(255, 140, 66, .22);
    border-color: rgba(255, 140, 66, .40);
}

.sgi-social--wa:hover {
    background: rgba(37, 211, 102, .20);
    border-color: rgba(37, 211, 102, .40);
}

.sgi-footer__bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .22);
}

.sgi-footer__bottomInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.sgi-footer__bottom p {
    margin: 0;
    opacity: .92;
    font-size: .92rem;
}

.sgi-footer__top {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: .25s ease;
}

.sgi-footer__top:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, .16);
    border-color: rgba(255, 215, 0, .35);
}

@media (max-width: 980px) {
    .sgi-footer__content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 0;
    }

    .sgi-footer__logo {
        width: 58px;
        height: 58px;
    }
}

/* =========================================
   WHATSAPP WIDGET
========================================= */
.wa-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.wa-fab {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #25D366;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    display: grid;
    place-items: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.wa-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
}

.wa-fab:active {
    transform: translateY(0);
}

.wa-fab__icon {
    width: 34px;
    height: 34px;
    display: block;
    background: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg") no-repeat center/contain;
    filter: invert(1);
}

.wa-popup {
    width: 320px;
    max-width: calc(100vw - 44px);
    position: absolute;
    right: 0;
    bottom: 78px;
    background: #0b0f10;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    overflow: hidden;

    opacity: 0;
    transform: translateY(10px) scale(.98);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.wa-popup.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wa-popup__header {
    background: #25D366;
    color: #fff;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-popup__brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}

.wa-popup__logo {
    width: 28px;
    height: 28px;
    background: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg") no-repeat center/contain;
    filter: invert(1);
}

.wa-popup__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.wa-popup__close:hover {
    background: rgba(0, 0, 0, .28);
}

.wa-popup__body {
    padding: 16px;
    background: #0b0f10;
}

.wa-bubble {
    background: #2a2f32;
    color: #e9edef;
    border-radius: 16px;
    padding: 14px 14px;
    line-height: 1.35;
    font-size: 14px;
}

.wa-bubble__title {
    margin: 0 0 8px;
    font-weight: 700;
}

.wa-popup__footer {
    padding: 14px;
    background: #0b0f10;
}

.wa-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 14px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(37, 211, 102, .25);
}

.wa-open:hover {
    filter: brightness(.98);
}

.wa-open__arrow {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5l7 7-7 7M20 12H4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5l7 7-7 7M20 12H4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

@media (max-width: 420px) {
    .wa-widget {
        right: 14px;
        bottom: 14px;
    }

    .wa-popup {
        bottom: 74px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}















/* Bloquea scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
    touch-action: none;
}



@media (max-width: 900px) {

    /* overlay detrás del menú mobile */
    #navbar:has(.nav-mobile.active)::after {
        content: "";
        position: fixed;
        inset: 0;
        top: var(--navH);
        /* deja el navbar libre */
        background: rgba(0, 0, 0, .35);
        backdrop-filter: blur(2px);
        z-index: 1100;
    }

    /* menú por encima del overlay */
    #navbar .nav-mobile.active {
        position: relative;
        z-index: 1200;
    }
}