.mcb-header-cont{
    width: 90%;
    gap: 20px;
    max-width: 1320px;
    transition: var(--transition-1);

    @media screen and (max-width: 900px){
        width: 100%;
    }
}

.mcb-header {
    width: 100%;
    height: 100px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px #0000000d;

    @media screen and (max-width: 600px) {
        height: 75px;
    }
}

.mcb-header-logo {
    height: 70px;
    aspect-ratio: 2/1;

    @media screen and (max-width: 820px) {
        height: 60px;
    }

    @media screen and (max-width: 600px) {
        height: 50px;
    }
}

.mcb-header-cont {
    width: 90%;
    gap: 20px;
    max-width: 1320px;
    transition: var(--transition-1);

    @media screen and (max-width: 900px) {
        width: 100%;
    }
}

.mcb-header-nav {
    height: 30px;

    a {
        text-decoration: none;
        color: var(--black-4);
        font-size: 1.25rem;

        &:hover {
            color: var(--black-2);
        }
    }
}

.mcb-header-nav-pipeline {
    height: 80px;
    border-left: solid 1px var(--black-5);

    @media screen and (max-width: 850px) {
        height: 60px;
    }
}

.mcb-siniestro-btn {
    text-align: center;
    background-color: var(--color-accent);
    border: none;
    border-radius: 25px;
    color: #fff !important;
    font-weight: 500;
    height: fit-content;
    padding: 5px 15px;
    transition: var(--transition-1);

    &:hover {
        background-color: var(--accent-hov);
    }
}

.mcb-bonda-btn {
    align-items: center;
    background: linear-gradient(#0755a1, #7ba6d1);
    border-radius: 25px;
    color: #fff !important;
    display: flex;
    font-size: .875rem;
    font-weight: 500;
    gap: 10px;
    height: fit-content;
    padding: 5px 15px;
    text-decoration: none;
    transition: var(--transition-1);
    width: fit-content;

    &:hover {
        background: linear-gradient(#0755a1);
    }
}

/* Estilo de Logo de Negocio Aliado */

.mcb_bussines_logo {
    width: auto;
    height: 70px;

    @media screen and (max-width: 820px) {
        height: 60px;
    }

    @media screen and (max-width: 600px) {
        height: 50px;
    }
}


.mcb_submenu {
    height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 300ms;
    transition-property: all;

    margin-left: 10px;

    &.open {
        margin-top: 10px;
        height: 100%;
        overflow: visible;
        gap: 10px;
    }
}

.mcb_menu_icon {
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.mcb_menu_cont {
    position: absolute;
    overflow: hidden;
    z-index: 2;
    top: 0;
    right: 0;
    width: 0%;
    padding: 30px 0;
    min-height: 100vh;
    height: 100vh;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.mcb_menu_cont>* {
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    color: var(--black-2);

    a {
        color: var(--black-3);
    }
}


.open.mcb_menu_cont {
    background: linear-gradient(180deg, hsla(209, 41%, 88%, 0.7) 75%, var(--color-primary) 95%);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    padding: 30px;
}

.open.mcb_menu_cont>* {
    opacity: 1;
    transition-delay: 250ms;
}

.mcb_mobile_menu_link {
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--black-3);
}

.no_scroll {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed;
}

.mcb_menu_nav {
    a {

        font-size: 1.125rem;
        font-weight: 500;
        text-decoration: none;
        color: var(--black-3);
    }
}

.mcb_nav_socialmedia {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

/* ==================================================
   DESKTOP DROPDOWN MENU (Estilos equivalentes a React hover)
   ================================================== */
.mcb_desktop_dropdown {
    position: relative;
    cursor: pointer;
}

.mcb_dropdown_trigger {
    padding: unset;
    font-size: 1.2rem;
    border: none;
    background: none;
    color: var(--black-4, #333); /* Agregué fallback #333 si la variable no existe globalmente */
    transition: var(--transition-1, 0.3s ease); /* Fallback */
}

/* Efecto cuando se hace hover en el dropdown equivalente al estado open */
.mcb_desktop_dropdown:hover .mcb_dropdown_trigger {
    color: #000;
}

.mcb_desktop_dropdown_menu {
    min-width: 200px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e6effa;
    box-shadow: 0 2px 4px #0000000d;
    z-index: 99;
    
    /* Similar a framer-motion opacity y tipo spring */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                visibility 0.3s;
}

/* Modificar padding y fuentes de textos internos según el CSS de React */
.mcb_desktop_dropdown_menu p {
    padding: 5px 20px;
    font-size: 0.875rem;
    color: var(--black-5, #555);
    margin: 0; /* Aseguramos margen 0 para no romper el layout con ASP.NET */
    font-weight: bold;
}

.mcb_desktop_dropdown_menu a {
    padding: 10px 20px;
    color: var(--black-3, #444) !important;
    text-decoration: none;
    transition: var(--transition-1, 0.3s ease);
}

.mcb_desktop_dropdown_menu a:hover {
    color: #000 !important;
    background-color: #f8f9fa;
}

/* Despliegue en hover sobre el botón o menú */
.mcb_desktop_dropdown:hover .mcb_desktop_dropdown_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Icono flecha giratoria */
.dropdown-icon {
    transition: transform 0.3s ease;
}

.mcb_desktop_dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}