.elementor-2894 .elementor-element.elementor-element-5d0ab366{--display:flex;--min-height:70px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:-75px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;--z-index:999;}.elementor-2894 .elementor-element.elementor-element-5d0ab366:not(.elementor-motion-effects-element-type-background), .elementor-2894 .elementor-element.elementor-element-5d0ab366 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#02010100;}.elementor-2894 .elementor-element.elementor-element-14048ad1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--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-2894 .elementor-element.elementor-element-1020da7e{text-align:start;}.elementor-2894 .elementor-element.elementor-element-1d1d0f62{text-align:start;}.elementor-2894 .elementor-element.elementor-element-4f8c33a2{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-end;--align-items:center;--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-2894 .elementor-element.elementor-element-555f4e40 .elementor-button{background-color:var( --e-global-color-cbe181b );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );fill:var( --e-global-color-ec3b4e8 );color:var( --e-global-color-ec3b4e8 );border-radius:50px 50px 50px 50px;}.elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button:hover, .elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button:focus{background-color:var( --e-global-color-ec3b4e8 );color:var( --e-global-color-1248329 );}.elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button-content-wrapper{flex-direction:row;}.elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button:hover svg, .elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button:focus svg{fill:var( --e-global-color-1248329 );}.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-2894 .elementor-element.elementor-element-5d0ab366{--min-height:70px;--margin-top:0px;--margin-bottom:-75px;--margin-left:0px;--margin-right:0px;}.elementor-2894 .elementor-element.elementor-element-4f8c33a2{--justify-content:flex-end;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-2894 .elementor-element.elementor-element-b3458a.elementor-element{--order:99999 /* order end hack */;}.elementor-2894 .elementor-element.elementor-element-555f4e40.elementor-element{--align-self:center;}.elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:767px){.elementor-2894 .elementor-element.elementor-element-5d0ab366{--min-height:75px;--margin-top:0px;--margin-bottom:-80px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:10px;--padding-right:10px;}.elementor-2894 .elementor-element.elementor-element-14048ad1{--width:40%;}.elementor-2894 .elementor-element.elementor-element-1d1d0f62 img{width:80%;}.elementor-2894 .elementor-element.elementor-element-4f8c33a2{--width:60%;--gap:14px 14px;--row-gap:14px;--column-gap:14px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:6px;}.elementor-2894 .elementor-element.elementor-element-b3458a.elementor-element{--order:99999 /* order end hack */;}.elementor-2894 .elementor-element.elementor-element-555f4e40 .elementor-button{font-size:var( --e-global-typography-accent-font-size );padding:10px 15px 10px 15px;}}@media(min-width:768px){.elementor-2894 .elementor-element.elementor-element-5d0ab366{--width:100%;}.elementor-2894 .elementor-element.elementor-element-14048ad1{--width:20%;}.elementor-2894 .elementor-element.elementor-element-4f8c33a2{--width:80%;}}@media(max-width:1024px) and (min-width:768px){.elementor-2894 .elementor-element.elementor-element-14048ad1{--width:29%;}.elementor-2894 .elementor-element.elementor-element-4f8c33a2{--width:70%;}}/* Start custom CSS */.header-dinamico .logo-blanco img,
.header-dinamico .logo-color img {
    height: 42px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    .header-dinamico .logo-blanco img,
    .header-dinamico .logo-color img {
        height: 34px !important;
    }
}

/* =====================================================
   HEADER DINÁMICO - CLÍNICA BOU
===================================================== */

/* HEADER PRINCIPAL */
.header-dinamico {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: transparent !important;

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        padding 0.35s ease;

    margin-top: 0 !important;
}


/* =====================================================
   LOGOS
===================================================== */

/* Logo blanco visible inicialmente */
.header-dinamico .logo-blanco {
    display: block;
}

/* Logo azul oculto inicialmente */
.header-dinamico .logo-color {
    display: none;
}


/* Al hacer hover */
.header-dinamico:hover .logo-blanco {
    display: none;
}

.header-dinamico:hover .logo-color {
    display: block;
}


/* Al hacer scroll */
.header-dinamico.is-scrolled .logo-blanco {
    display: none;
}

.header-dinamico.is-scrolled .logo-color {
    display: block;
}


/* =====================================================
   FONDO HEADER
===================================================== */

.header-dinamico:hover,
.header-dinamico.is-scrolled {
    background-color: #ffffff !important;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/* =====================================================
   MAX MEGA MENU
===================================================== */

/* Menú blanco inicialmente */
.header-dinamico
#mega-menu-wrap-menu-1
#mega-menu-menu-1 >
li.mega-menu-item >
a.mega-menu-link {
    color: #ffffff !important;

    transition: color 0.3s ease;
}


/* Menú azul al hacer hover sobre el header */
.header-dinamico:hover
#mega-menu-wrap-menu-1
#mega-menu-menu-1 >
li.mega-menu-item >
a.mega-menu-link {
    color: #003953 !important;
}


/* Menú azul al hacer scroll */
.header-dinamico.is-scrolled
#mega-menu-wrap-menu-1
#mega-menu-menu-1 >
li.mega-menu-item >
a.mega-menu-link {
    color: #003953 !important;
}


/* Flechas / indicadores del mega menú */
.header-dinamico
#mega-menu-wrap-menu-1
#mega-menu-menu-1 >
li.mega-menu-item >
a.mega-menu-link
span.mega-indicator {
    color: inherit !important;
}


/* Por seguridad: menú Elementor si en algún momento cambia */
.header-dinamico .elementor-nav-menu > li > a {
    color: #ffffff !important;
}

.header-dinamico:hover .elementor-nav-menu > li > a,
.header-dinamico.is-scrolled .elementor-nav-menu > li > a {
    color: #003953 !important;
}/* End custom CSS */