/* ==========================================================================
   DV MODERN HEADER - SIMPLIFIED VERSION
   ========================================================================== */

:root {
    --primary-color: #26155E; /* Contáctanos color */
    --secondary-color: #5B41FF; /* Reserva una cita color */
    --text-dark: #2e3648;
    --bg-white: #ffffff;
}

.modern-header {
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 9999 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* TOP BAR */
.header-top-bar {
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.header-logo img {
    max-height: 44px;
    display: block;
    margin: 0 auto;
}

/* TOP ACTION LINK - SIMPLE TEXT */
.top-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: 0.3s;
}

.top-nav-link:hover {
    color: var(--primary-color) !important;
}

/* MAIN NAVIGATION */
.header-main-nav {
    padding: 12px 0;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 30px !important;
}

.nav-list li a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: 0.3s;
    white-space: nowrap !important;
}

.nav-list li a:hover {
    color: var(--primary-color) !important;
}

/* STICKY HEADER */
.header-sticky-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-105%);
    transition: 0.5s;
    z-index: 1010;
}

.modern-header.is-sticky .header-sticky-wrapper {
    transform: translateY(0);
}

.sticky-nav-list {
    list-style: none;
    display: flex !important;
    margin: 0;
    padding: 0;
    gap: 30px !important;
}

.sticky-nav-list li a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.logo-sticky { max-height: 35px; }

/* BTN CONTACT */
.btn--primary {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn--primary:hover {
    background: #1a0e41 !important;
    transform: translateY(-2px);
}

.btn--secondary {
    background: var(--secondary-color) !important;
    color: white !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn--secondary:hover {
    background: #4a34db !important;
    transform: translateY(-2px);
}

/* MOBILE OVERLAY */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10001;
}

.mobile-menu-overlay.is-active {
    display: block !important;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* MOBILE TOGGLER FIX - UNIQUE CLASS */
.dv-mobile-toggle {
    display: none; /* Hidden by default for desktop */
    background: transparent !important;
    border: none !important;
    padding: 6px !important;
    color: var(--primary-color) !important;
    cursor: pointer;
    z-index: 99999 !important;
}

.dv-mobile-toggle i {
    font-size: 26px !important;
    display: block;
    line-height: 1;
}

@media (max-width: 991px) {
    .dv-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-top-bar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .header-logo {
        max-width: 60% !important;
        text-align: left !important;
    }

    /* Aggressive fix for all logo versions on mobile */
    .header-logo img, 
    .logo-main, 
    .logo-sticky, 
    .logo-mobile {
        max-height: 28px !important;
        height: 28px !important;
        width: auto !important;
        margin: 0 !important;
    }
}

/* Close menu button enhancement */
.btn-close-menu {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--primary-color);
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.logo-mobile {
    max-height: 28px;
}