/* ======================================================
   HEADER BLANCO – LANDING
====================================================== */

.header-ca {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* NAVBAR */
.header-ca .navbar {
    padding: 8px 0; 
}

.header-ca .navbar > .container {
    align-items: center;
}

/* LOGO */
.header-logo {
    height: 80px;
    width: auto;
    transform: scale(1.5);
    transform-origin: left center;
}


/* Tablet */
@media (max-width: 991px) {
    .header-logo {
        height: 56px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .header-logo {
        height: 48px;
    }
}

/* LINKS */
.header-ca .nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 0;
}

.nav-separator {
    color: #d1d5db;
    margin: 0 0.75rem;
    font-weight: 300;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 991px) {
    .nav-separator {
        display: none;
    }
}


.header-ca .nav-link:hover {
    color: var(--color-secondary);
}

/* CTA BUTTON */
.btn-header-cta {
    background: var(--color-secondary);
    color: #111827;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all .25s ease;
}

.btn-header-cta:hover {
    background: #fbbf24;
    color: #000;
}

/* TOGGLER */
.header-toggler {
    border: none;
    background: none;
}

.header-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #111827;
}

/* MOBILE */
@media (max-width: 991px) {
    .header-ca .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        margin-top: 12px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
    }

    .header-ca .nav-link {
        padding: 10px 0;
    }
}
@media (max-width: 991px) {
    .header-menu {
        gap: 0;
    }

    .header-ca .nav-link {
        padding: 10px 0;
        font-size: 1rem;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .header-ca {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1200;
    }

    /* Empuja el contenido para que no quede debajo */
    body {
        padding-top: 72px; /* ajusta a la altura real del header */
    }
}

.header-ca .nav-link.active {
    color: var(--color-secondary);
    font-weight: 800;
    position: relative;
}

.header-ca .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
}


/* ======================================================
   TOP BAR
====================================================== */

.topbar-ca {
    background: #e9eef4;
    font-size: 0.85rem;
    color: var(--color-primary);
}

.topbar-ca .container {
    min-height: 42px;
}

/* INFO */
.topbar-info {
    display: flex;
    gap: 18px;
    align-items: center;
}

.topbar-info a,
.topbar-info span {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-info i {
    font-size: 0.9rem;
}

/* SOCIAL */
.topbar-social {
    display: flex;
    gap: 10px;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background .2s ease;
    text-decoration: none !important;
}

.topbar-social a:hover {
    background: var(--color-secondary);
    color: #000;
}

/* MOBILE */
@media (max-width: 991px) {
    .topbar-info span.topbar-address {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar-ca {
        display: none; 
    }
}
