.elementor-14777 .elementor-element.elementor-element-1f9e683{--display:flex;--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;}.elementor-14777 .elementor-element.elementor-element-d0dac51{--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;}.elementor-14777 .elementor-element.elementor-element-d0dac51.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-14777 .elementor-element.elementor-element-74c4168{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-14777 .elementor-element.elementor-element-74c4168.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-menu-toggle{margin-right:auto;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu .elementor-item{font-family:"Nunito", Sans-serif;font-weight:700;text-transform:capitalize;line-height:1.15em;letter-spacing:0px;word-spacing:0px;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--main .elementor-item{color:#0E0E0E;fill:#0E0E0E;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a:hover,
					.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a:focus,
					.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a.elementor-item-active,
					.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a.highlighted{background-color:var( --e-global-color-primary );}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a.elementor-item-active{background-color:var( --e-global-color-5dfaa7b );}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown .elementor-item, .elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown  .elementor-sub-item{font-family:"Nunito", Sans-serif;}.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-14777 .elementor-element.elementor-element-1f9e683{--justify-content:flex-start;--flex-wrap:nowrap;}.elementor-14777 .elementor-element.elementor-element-d0dac51{--min-height:0px;--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-start;--align-items:flex-start;}.elementor-14777 .elementor-element.elementor-element-4708f99{text-align:start;}.elementor-14777 .elementor-element.elementor-element-4708f99 img{width:25%;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6{--min-height:0px;}}@media(max-width:767px){.elementor-14777 .elementor-element.elementor-element-1f9e683{--width:100%;--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:space-between;--align-items:center;--flex-wrap:nowrap;}.elementor-14777 .elementor-element.elementor-element-d0dac51{--width:74.714%;--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;--justify-content:space-between;--flex-wrap:nowrap;}.elementor-14777 .elementor-element.elementor-element-4708f99 > .elementor-widget-container{margin:0px 0px 5px 0px;}.elementor-14777 .elementor-element.elementor-element-4708f99 img{width:100%;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6{--width:15%;--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;--flex-wrap:nowrap;}.elementor-14777 .elementor-element.elementor-element-74c4168{width:100%;max-width:100%;}.elementor-14777 .elementor-element.elementor-element-74c4168 > .elementor-widget-container{margin:-4px 0px 0px 0px;}.elementor-14777 .elementor-element.elementor-element-74c4168.elementor-element{--align-self:center;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown .elementor-item, .elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown  .elementor-sub-item{font-size:22px;}.elementor-14777 .elementor-element.elementor-element-74c4168 .elementor-nav-menu--dropdown a{padding-left:0px;padding-right:0px;padding-top:19px;padding-bottom:19px;}}@media(min-width:768px){.elementor-14777 .elementor-element.elementor-element-d0dac51{--width:20%;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6{--width:80%;}}@media(max-width:1024px) and (min-width:768px){.elementor-14777 .elementor-element.elementor-element-d0dac51{--width:83.956%;}.elementor-14777 .elementor-element.elementor-element-f8d9fe6{--width:20%;}}

/* Start custom CSS for nav-menu, class: .elementor-element-74c4168 *//* =========================================================
   MÓVIL: baja el desplegable para no pisar el header/logo
   (si no lo necesitas, borra este bloque)
   ========================================================= */
@media (max-width: 767px){
  .elementor-nav-menu__container.elementor-nav-menu--dropdown,
  .elementor-nav-menu--dropdown{
    top: 90px !important;                  /* ajusta: 70–120 */
    height: calc(100vh - 90px) !important; /* mismo valor que arriba */
    overflow-y: auto !important;
  }
}

/* =========================================================
   BOTONES EN EL MENÚ (clases en Apariencia > Menús):
   - Cita SRI:   menu-btn menu-btn--cita
   - WhatsApp:   menu-btn menu-btn--wa
   ========================================================= */

/* Base común */
.elementor-nav-menu li.menu-btn > a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Icono (usamos ::after) */
.elementor-nav-menu li.menu-btn > a::after{
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: 50% 50% !important;
  opacity: 1 !important;
}

/* En móvil queremos icono DELANTE del texto */
.elementor-nav-menu li.menu-btn > a::after{ order: -1 !important; }
.elementor-nav-menu li.menu-btn > a .elementor-item{ order: 0 !important; }

/* SVG calendario (Cita) */
.elementor-nav-menu li.menu-btn--cita > a::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm14 8H3v9a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-9ZM4 7v1h16V7a1 1 0 0 0-1-1h-1v1a1 1 0 1 1-2 0V6H8v1a1 1 0 1 1-2 0V6H5a1 1 0 0 0-1 1Z'/%3E%3C/svg%3E") !important;
}

/* SVG WhatsApp */
.elementor-nav-menu li.menu-btn--wa > a::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='white'%3E%3Cpath d='M19.11 17.33c-.27-.14-1.58-.78-1.83-.87-.25-.09-.43-.14-.61.14-.18.27-.7.87-.86 1.05-.16.18-.32.2-.59.07-.27-.14-1.14-.42-2.18-1.34-.81-.72-1.36-1.62-1.52-1.89-.16-.27-.02-.42.12-.56.12-.12.27-.32.41-.48.14-.16.18-.27.27-.45.09-.18.05-.34-.02-.48-.07-.14-.61-1.47-.84-2.01-.22-.53-.44-.46-.61-.47h-.52c-.18 0-.48.07-.73.34-.25.27-.95.93-.95 2.27 0 1.34.98 2.63 1.12 2.81.14.18 1.93 2.94 4.67 4.12.65.28 1.16.45 1.56.57.66.21 1.26.18 1.74.11.53-.08 1.58-.65 1.8-1.27.22-.62.22-1.15.16-1.27-.07-.12-.25-.2-.52-.34ZM16 3C8.83 3 3 8.63 3 15.56c0 2.74.92 5.26 2.48 7.29L4 29l6.46-1.68a13.33 13.33 0 0 0 5.54 1.18c7.17 0 13-5.63 13-12.56C29 8.63 23.17 3 16 3Zm0 23.18c-1.85 0-3.56-.51-5.03-1.4l-.36-.21-3.83 1 1.03-3.62-.24-.37a10.62 10.62 0 0 1-1.68-5.69C5.89 10 10.45 5.6 16 5.6s10.11 4.4 10.11 9.38c0 4.98-4.56 9.2-10.11 9.2Z'/%3E%3C/svg%3E") !important;
}

.elementor-nav-menu li.menu-btn > a:hover{
  filter: brightness(0.95);
}

/* =========================================================
   ESCRITORIO / TABLET
   - Cita: pastilla con texto (sin icono)
   - WhatsApp: círculo SOLO icono CENTRADO (forzado por absoluto)
   ========================================================= */
@media (min-width: 768px){

  /* Cita SRI */
  .elementor-nav-menu li.menu-btn--cita > a{
    padding: 10px 18px !important;
    background: #18b6ad !important;
    color: #fff !important;
  }
  .elementor-nav-menu li.menu-btn--cita > a::after{
    display: none !important;
  }

  /* WhatsApp círculo */
  .elementor-nav-menu li.menu-btn--wa > a{
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    background: #e94aa7 !important;
    border-radius: 999px !important;

    /* clave: para centrar el icono sí o sí */
    position: relative !important;
    display: block !important;
    overflow: hidden !important;

    /* oculta cualquier texto/hijos */
    font-size: 0 !important;
    color: transparent !important;
  }
  .elementor-nav-menu li.menu-btn--wa > a > *{
    display: none !important;
  }

  /* icono centrado por absoluto (esto hace que ahora sí se mueva) */
  .elementor-nav-menu li.menu-btn--wa > a::after{
    width: 22px !important;
    height: 22px !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}

/* =========================================================
   MÓVIL (hamburguesa)
   - ambos a 100% con icono DELANTE + texto centrado
   ========================================================= */
@media (max-width: 767px){

  .elementor-nav-menu li.menu-btn > a{
    width: 100% !important;
    padding: 16px 18px !important;
    font-size: 18px !important;
    justify-content: center !important;
    margin-top: 12px !important;
    flex-direction: row !important; /* icono + texto en línea */
  }

  .elementor-nav-menu li.menu-btn--cita > a{
    background: #18b6ad !important;
    color: #fff !important;
  }

  .elementor-nav-menu li.menu-btn--wa > a{
    background: #e94aa7 !important;
    color: #fff !important;
  }

  /* En móvil el icono vuelve a flujo normal (no absoluto) */
  .elementor-nav-menu li.menu-btn > a::after{
    position: static !important;
    transform: none !important;
  }
}/* End custom CSS */


