.elementor-15050 .elementor-element.elementor-element-d1c06b9{--display:flex;--min-height:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-15050 .elementor-element.elementor-element-d1c06b9.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-15050 .elementor-element.elementor-element-c6789c2{width:100%;max-width:100%;}.elementor-15050 .elementor-element.elementor-element-c6789c2 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-15050 .elementor-element.elementor-element-d1c06b9{--min-height:0px;}}@media(min-width:768px){.elementor-15050 .elementor-element.elementor-element-d1c06b9{--width:100%;}}@media(max-width:767px){.elementor-15050 .elementor-element.elementor-element-d1c06b9{--width:500px;--min-height:0px;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--border-radius:0px 0px 0px 0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-15050 .elementor-element.elementor-element-d1c06b9.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-15050 .elementor-element.elementor-element-c6789c2 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-c6789c2 *//* =========================================================
   RESET & BASE
   ========================================================= */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* =========================================================
   HEADER BASE
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent; /* 🔹 Transparente al inicio */
    padding: 15px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: #123498; /* 🔹 Azul al hacer scroll */
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   LOGO
   ========================================================= */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10002;
}

.logo img {
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1); /* Blanco por defecto */
}

/* =========================================================
   NAV DESKTOP BASE
   ========================================================= */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #FDB907;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================================
   DROPDOWNS (DESKTOP)
   ========================================================= */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid #F46F0B;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #123498;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
    color: #F46F0B;
    padding-left: 26px;
}

/* =========================================================
   SUBMENÚ NIVEL 3 (SOLO DESKTOP)
   ========================================================= */
.dropdown-submenu {
    position: relative;
}

.submenu-level-3 {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background-color: #f9f9f9;
    list-style: none;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-submenu:hover .submenu-level-3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-level-3 a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
}

.submenu-level-3 a:hover {
    color: #F46F0B;
    background-color: #eee;
}

/* =========================================================
   CTA
   ========================================================= */
.btn-trabaja {
    background-color: #F46F0B;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-trabaja:hover {
    background-color: #FDB907;
    color: #123498;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(244,111,11,0.3);
}

/* =========================================================
   HAMBURGER & CLOSE
   ========================================================= */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 10001;
}

.close-mobile {
    display: none;
}

/* =========================================================
   DESKTOP — HEADER SOBRE FONDO CLARO
   ========================================================= */
@media (min-width: 1101px) {

    .header.header-on-light:not(.scrolled) .nav-link {
        color: #123498;
    }

    .header.header-on-light:not(.scrolled) .nav-link::after {
        background-color: #F46F0B;
    }

    .header.header-on-light:not(.scrolled) .logo img {
        filter: brightness(0); /* Logo negro */
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 1100px) {

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: #123498;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 100px;
        overflow-y: auto;
        transition: right 0.35s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.25);
        z-index: 10000;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        font-size: 1.1rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        justify-content: space-between;
    }

    .nav-link::after {
        display: none;
    }

    .cta-item {
        width: 100%;
        margin: 30px 0 20px;
    }

    .btn-trabaja {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    /* Dropdowns como acordeón */
    .dropdown-menu,
    .submenu-level-3 {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border: none;
        width: 100%;
        padding-left: 20px;
    }

    .dropdown:hover > .dropdown-menu,
    .dropdown-submenu:hover > .submenu-level-3 {
        display: block;
    }

    .dropdown-item,
    .submenu-level-3 a {
        color: #ffffff;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-item:hover,
    .submenu-level-3 a:hover {
        background: none;
        color: #FDB907;
        padding-left: 25px;
    }

    .nav-menu.active .close-mobile {
        display: block;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }

    .close-mobile i {
        color: #ffffff;
        font-size: 1.5rem;
        padding: 10px;
        cursor: pointer;
    }
}/* End custom CSS */