:root {
    --v1: #0f3d22;
    --v2: #1a5c33;
    --v3: #2d7a4f;
    --v4: #4caf50;
    --v5: #a8d5b5;
    --rojo: #b71c1c;
    --rojo2: #e53935;
    --gris1: #111;
    --gris2: #3a3a3a;
    --gris3: #6b6b6b;
    --gris4: #f2f2f0;
    --blanco: #fff;
    --fondo: #f7f9f7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--fondo);
    color: var(--gris1);
    overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--v1);
    padding: 9px 0;
    border-bottom: 3px solid var(--rojo);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar span {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .6);
}

.topbar strong {
    color: var(--v5);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.topbar-correos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-correos a {
    color: var(--v5);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: .2s;
}

.topbar-correos a:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .topbar-correos {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .topbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .topbar span:first-child,
    .topbar-correos {
        display: none;
    }

    .topbar-toggle {
        background: none;
        border: none;
        color: rgba(255,255,255,.7);
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: .06em;
        font-family: 'Montserrat', sans-serif;
        padding: 5px 12px;
        border-radius: 3px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: .2s;
    }

    .topbar-toggle .bi-chevron-down {
        transition: transform .25s;
    }

    .topbar.open .topbar-toggle .bi-chevron-down {
        transform: rotate(180deg);
    }

    .topbar-mob-correos {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 6px;
        padding-top: 10px;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .topbar-mob-correos a {
        color: var(--v5);
        font-size: .72rem;
        font-weight: 600;
        text-decoration: none;
        letter-spacing: .04em;
    }

    .topbar.open .topbar-mob-correos {
        display: flex;
    }

    .topbar-inner {
        flex-wrap: wrap;
    }
}
.nav-wrap {
    border-bottom: 1px solid #e2e8e4;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

.nav-inner {
    padding: 13px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--v1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-a {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gris2);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    transition: .2s;
}

.nav-a:hover {
    color: var(--v2);
    background: rgba(45, 122, 79, .06);
}

.btn-nav {
    background: var(--rojo);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: .2s;
    border: none;
}

.btn-nav:hover {
    background: var(--rojo2);
    color: #fff;
}

/* ── FOOTER ── */
footer {
    background: #0a0a0a;
    padding: 44px 0 22px;
    border-top: 3px solid var(--v3);
}

.ft-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
}

.ft-sub {
    font-size: .72rem;
    color: rgba(255, 255, 255, .28);
    margin-top: 4px;
}

.ft-head {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .2);
    margin-bottom: 14px;
}

.ft-a {
    font-size: .78rem;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: .2s;
}

.ft-a:hover {
    color: var(--v5);
}

.ft-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    margin-top: 34px;
    padding-top: 18px;
    font-size: .69rem;
    color: rgba(255, 255, 255, .2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}
.ft-correos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .ft-correos {
        flex-direction: column;
        gap: 4px;
    }
}


/* ── MODAL PRIVACIDAD ── */
.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    padding: 0;
    border: none;
}

.modal-header-inner {
    padding: 26px 32px 20px;
}

.modal-header-inner h5 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.modal-header-inner p {
    font-size: .68rem;
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: .04em;
}

.modal-header .btn-close {
    margin: 16px 18px;
    flex-shrink: 0;
}

.modal-body {
    padding: 26px 32px;
}

.priv-p {
    font-size: .8rem;
    color: var(--gris3);
    line-height: 1.75;
    margin-bottom: 14px;
}

.modal-footer {
    background: var(--gris4);
    border-top: 1px solid #e0e0e0;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer-date {
    font-size: .7rem;
    color: var(--gris3);
}

.btn-ok {
    background: var(--v1);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    font-family: 'Montserrat', sans-serif;
    transition: .2s;
    cursor: pointer;
}

.btn-ok:hover {
    background: var(--v2);
}

/* ── ANIMACIONES ── */
.fu {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.fu.vis {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

/* ── PULSE ── */
.pulse {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pl 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pl {

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

    50% {
        opacity: .3;
        transform: scale(.6)
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
}

.brand img {
    max-width: 100%;
    height: auto;
    max-height: 40px; 
}

@media (min-width: 768px) {
    .brand img {
        max-height: 55px;
    }
}
.nav-inner {
    flex-wrap: wrap; 
}


.swal2-popup {
    border-radius: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.swal2-confirm {
    background-color: var(--v1) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    font-size: .78rem !important;
    padding: 11px 28px !important;
    border-radius: 6px !important;
    border: none !important;
}
.swal2-confirm:hover { background-color: var(--v2) !important; }

.swal2-cancel {
    background-color: transparent !important;
    color: var(--gris3) !important;
    border: 1px solid #ccc !important;
    font-weight: 600 !important;
    font-size: .78rem !important;
    padding: 11px 22px !important;
    border-radius: 6px !important;
}

.swal2-deny {
    background-color: var(--rojo) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: .78rem !important;
    padding: 11px 22px !important;
    border-radius: 6px !important;
    border: none !important;
}

.swal2-icon.swal2-success { border-color: var(--v3) !important; }
.swal2-icon.swal2-success [class^='swal2-success-line'] { background: var(--v1) !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: var(--v5) !important; }

.swal2-icon.swal2-error { border-color: var(--rojo) !important; }
.swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background: var(--rojo) !important; }

.swal2-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    color: var(--gris1) !important;
}
.swal2-html-container {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--gris3) !important;
    font-size: .85rem !important;
}