/* =============================================================================
   HEADER (antes inline en header.php)
   ============================================================================= */
header.lc-custom-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 99999;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 39, 68, 0.06);
    box-sizing: border-box;
}

.lc-header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.lc-brand-link img {
    height: 44px;
    width: auto;
    display: block;
}

.lc-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 38px;
    height: 38px;
    position: relative;
    z-index: 1000001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.lc-nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: var(--blue-900);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-nav-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background-color: var(--blue-600);
}
.lc-nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.lc-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: var(--blue-600);
}

.lc-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-nav-list a {
    text-decoration: none;
    color: var(--blue-900);
    font-weight: 600;
    font-size: 1.05rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

.lc-nav-list a:hover {
    color: var(--blue-600);
}

.lc-nav-list a.active-link:not(.lc-btn-cta) {
    color: var(--blue-600);
}

.lc-nav-list a.active-link:not(.lc-btn-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5px;
    background-color: var(--blue-600);
    border-radius: 2px;
}

.lc-nav-list a.lc-btn-cta {
    background-color: var(--blue-600);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.15s ease;
    padding-bottom: 10px;
}

.lc-nav-list a.lc-btn-cta:hover {
    background-color: var(--blue-700);
    transform: translateY(-1px);
    color: #ffffff;
}

.lc-nav-list a.lc-btn-cta::after {
    display: none;
}

@media (max-width: 868px) {
    .lc-nav-toggle {
        display: flex;
    }

    .lc-nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 60px 24px 40px;
        z-index: 1000000;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.97);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .lc-nav-list.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .lc-nav-list a {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--blue-900);
        text-align: center;
        display: inline-block;
        letter-spacing: -0.2px;
        padding-bottom: 0;
    }

    .lc-nav-list a.active-link:not(.lc-btn-cta) {
        color: var(--blue-600);
    }

    .lc-nav-list a.active-link:not(.lc-btn-cta)::after {
        content: '';
        position: static;
        display: block;
        width: 32px;
        height: 3px;
        background-color: var(--blue-600);
        margin: 6px auto 0 auto;
        border-radius: 4px;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .lc-nav-list a.lc-btn-cta {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        margin-top: 10px;
        font-size: 0.98rem;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        background-color: var(--blue-600);
        color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    }

    .lc-nav-list a.lc-btn-cta:active {
        transform: scale(0.98);
    }
}