/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Familia principal: Bryant */
@font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Light_Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
  }
  @font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
  }
  @font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Bold_Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
  }
  
  /* Alternates */
  @font-face {
    font-family: 'Bryant Alternate';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Regular_Alternate.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Alternate';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Medium_Alternate.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Alternate';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Light_Alternate.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Alternate';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Bold_Alternate.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
  }
  
  /* Compressed */
  @font-face {
    font-family: 'Bryant Compressed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Compressed_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Compressed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Compressed_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Compressed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Compressed_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Compressed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Compressed.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
  }
  
  /* Condensed */
  @font-face {
    font-family: 'Bryant Condensed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Condensed_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Condensed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Condensed_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Condensed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Condensed_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
  }
  @font-face {
    font-family: 'Bryant Condensed';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/fonnts.com-Bryant_Condensed.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
  }

  /* Buffalo */
  @font-face {
    font-family: 'Buffalo';
    src: url('/wp-content/themes/Avada-Child-Theme/fonts/Buffalo.ttf') format('opentype');
 }

/* VARIABLES REUTILIZABLES  */

:root{
    --font-bryant: 'Bryant', sans-serif;
    --font-bryant-alt: 'Bryant Alternate', sans-serif;
    --font-bryant-compressed: 'Bryant Compressed', sans-serif;
    --font-bryant-condensed: 'Bryant Condensed', sans-serif;
    --font-buffalo: 'Buffalo', sans-serif;
    --marron: #71482c;
    --marron-claro: #e8d1b1;
    --blanco: #ffffff;
    --amarillo-claro: #fffff6;
    --amarillo-glovo: #ffcc1b;
    --verde-glovo: #00a082;
    --negro: #000000;
}

.texto p, .texto li{
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 24px !important;
}

#main {
    background-color: var(--amarillo-claro) !important;
}

.cky-btn-revisit-wrapper{
    display: none !important;
}

/* Modales */

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
  }
  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px !important;
  }
  
  .modal-glovo .modal__container {
    background-color: var(--amarillo-glovo) !important;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 100vh;
    border-radius: 5px;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;

  }
  
  .modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
  }
  
  .modal__close {
    background: transparent;
    border: 0;
    margin-left: auto !important;
    cursor: pointer !important;
    background-color: var(--blanco);
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    transition: all 0.3s !important;
  }

  .modal__close:hover{
    background-color: var(--verde-glovo) !important;
    color: var(--blanco) !important;
  }
  
  .modal__header .modal__close:before { content: "\2715"; }
  
  .boton-modal-header{
    background-color: transparent !important;
    border: 0px !important;
    padding: 0px !important;
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s !important;
  }

  .boton-modal-header:hover{
    color: var(--marron) !important;
  }
  
  .modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
  }
  
  .modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  
  .modal__btn-primary {
    background-color: #00449e;
    color: #fff;
  }
  
  .enlaces-glovo{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 20px !important;
  }

  .enlaces-glovo a{
    text-align: center;
    width: 100%;
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 500 !important;
    background-color: var(--blanco) !important;
    padding: 10px !important;
    color: var(--verde-glovo) !important;
    border-radius: 100px !important;
    transition: all 0.3s !important;
  }

  .enlaces-glovo a:hover{
    background-color: var(--verde-glovo) !important;
    color: var(--blanco) !important;
  }

  .logo-glovo{
    width: 140px !important;
  }

  .modal-glovo .modal__content{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .modal-glovo .modal__content p{
    font-weight: 500 !important;
    font-family: var(--font-bryant-condensed) !important;
  }
  /**************************\
    Demo Animation Style
  \**************************/
  @keyframes mmfadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
  }
  
  @keyframes mmfadeOut {
      from { opacity: 1; }
        to { opacity: 0; }
  }
  
  @keyframes mmslideIn {
    from { transform: translateY(15%); }
      to { transform: translateY(0); }
  }
  
  @keyframes mmslideOut {
      from { transform: translateY(0); }
      to { transform: translateY(-10%); }
  }
  
  .micromodal-slide {
    display: none;
  }
  
  .micromodal-slide.is-open {
    display: block;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide .modal__container,
  .micromodal-slide .modal__overlay {
    will-change: transform;
  }

/* HEADER */

.fusion-logo img{
    width: 130px !important;
}

header{
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transition: all 0.3s !important;
}

.home header{
  position: fixed !important;
  background-color: transparent !important;
}

.home .fusion-header{
    background-color: transparent !important;
}

header.scrolled{
    background-color: var(--amarillo-claro) !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px !important;
}

.menu-text{
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 600 !important;
}

.fusion-header .fusion-row{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.fusion-header .fusion-row::after,
.fusion-header .fusion-row::before,
.fusion-header .fusion-clearfix,
.fusion-mobile-nav-holder {
    display: none !important;
}


.redes-header img{
    width: 20px !important;
}

.redes-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.grid-menu{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: right;
}

/* BODY */

.banner-infinito {
    overflow: hidden;
    background: var(--marron) !important;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 100%;
  }
  
  .scroll {
    display: flex;
    width: max-content;
    animation: scrollBanner 5s linear infinite;
    gap: 30px;
  }
  
  .grupo {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px;
    white-space: nowrap;
    flex-shrink: 0; /* Importante para que no se encojan */
  }
  
  .grupo img {
    height: 28px;
    width: auto;
  }
  
  .grupo span {
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 400 !important;
    color: var(--blanco);
  }
  
  /* Animación fluida */
  @keyframes scrollBanner {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-20.3%);
    }
  }
  
/* Swiper */
  .swiper-slide {
    background: #f7f7f7;
    text-align: center;
    font-size: 20px;
  }

  .carrusel-inicio-uno img{
    object-fit: cover !important;
    width: 100% !important;
    height: 500px !important;
  }

  .carrusel-inicio-uno .swiper-button-next,
  .carrusel-inicio-uno .swiper-button-prev {
    display: none; /* Ocultas por defecto */
    }
    

@media (max-width: 1000px) {
    .carrusel-inicio-uno .swiper-button-next,
    .carrusel-inicio-uno .swiper-button-prev {
    display: block; /* Visibles solo en móvil */
    color: var(--blanco); /* o lo que quieras */
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px !important;
  }


  .swiper-button-next,
  .swiper-button-prev{
    width: 30px !important;
    height: 30px !important;
    background-color: var(--marron) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border-radius: 100px !important;
  }
}

.boton-banner a{
    color: var(--blanco) !important;
    background-color: transparent !important;
    border: 2px solid var(--blanco) !important;
    border-radius: 100px !important;
    font-family: var(--font-buffalo) !important;
    font-size: 35px !important;
    line-height: 40px !important;
    padding: 2px 35px !important;
    padding-top: 10px !important;
    opacity: 0.8 !important;
    transition: all 0.3s !important;
}

.boton-banner a:hover{
  color: var(--negro) !important;
  background-color: var(--blanco) !important;
  opacity: 1 !important;
}


.boton a{
    color: var(--negro) !important;
    background-color: transparent !important;
    border: 2px solid var(--negro) !important;
    border-radius: 100px !important;
    font-family: var(--font-buffalo) !important;
    font-size: 35px !important;
    line-height: 40px !important;
    padding: 2px 35px !important;
    padding-top: 10px !important;
    opacity: 0.8 !important;
}

.boton a:hover{
  color: var(--blanco) !important;
  background-color: var(--negro) !important;
  opacity: 1 !important;
}

.texto.blanco h2, .texto.blanco p{
    color: var(--blanco) !important;
}



.carrusel-inicio-dos img{
    object-fit: cover !important;
    width: 100% !important;
    height: 240px !important;
    background-position: center !important;
  }

  .carrusel-inicio-dos .swiper-button-next,
  .carrusel-inicio-dos .swiper-button-prev {
    display: none; /* Ocultas por defecto */
    }
    
    .carrusel-inicio-dos .swiper-slide {
        background-color: transparent !important;
    }

    .carrusel-inicio-dos h3{
        font-family: var(--font-buffalo) !important;
        font-size: 35px !important;
    }

    .carrusel-inicio-dos p{
        font-family: var(--font-bryant-condensed) !important;
        font-weight: 400 !important;
        font-size: 18px !important;
    }

    .carrusel-inicio-dos a{
        font-family: var(--font-bryant-condensed) !important;
        font-weight: 400 !important;
        font-size: 16px !important;
    }

@media (max-width: 1000px) {
    .carrusel-inicio-dos .swiper-button-next,
    .carrusel-inicio-dos .swiper-button-prev {
    display: block; /* Visibles solo en móvil */
    color: var(--blanco); /* o lo que quieras */
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px !important;
  }


  .swiper-button-next,
  .swiper-button-prev{
    width: 30px !important;
    height: 30px !important;
    background-color: var(--marron) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border-radius: 100px !important;
  }
}

/* Error 404 */

.error404 header{
  background-color: transparent !important;
  position: fixed !important;
}

.error404 .fusion-header{
  background-color: transparent !important;
}

.error404 header.scrolled{
  background-color: var(--amarillo-claro) !important;
}

.error404 #main {
  background-image: url('/wp-content/uploads/2025/07/fondo_dos_banner.jpg');
  background-repeat: repeat;
}

#post-404page{
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content-404{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content-404 h1{
  font-size: 30px !important;
  margin-bottom: 0px !important;
  margin-top: 20px !important;
  text-align: center !important;
}

.content-404 p{
  font-family: var(--font-bryant-condensed) !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  margin-top: 10px !important;
  text-align: center !important;
}

.content-404 a{
  color: var(--negro) !important;
  background-color: transparent !important;
  border: 2px solid var(--negro) !important;
  border-radius: 100px !important;
  font-family: var(--font-buffalo) !important;
  font-size: 30px !important;
  line-height: 35px !important;
  padding: 2px 35px !important;
  padding-top: 10px !important;
  opacity: 0.8 !important;
  transition: all 0.3s !important;
}

.content-404 a:hover{
  color: var(--blanco) !important;
  background-color: var(--negro) !important;
}

/* Políticas */

.politica{
    max-width: 600px !important;
    margin: auto !important;
    padding-top: 25px !important;
    padding-bottom: 45px !important;
}

.politica h1{
    font-size: 25px !important;
}

.politica h2{
    font-size: 20px !important;
}

.politica h2{
    font-size: 18px !important;
}
/* FOOTER */

.adhoc-footer{
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.adhoc-footer a>img{
    width: 130px !important;
}
.menu-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.menu-footer a{
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 500 !important;
    color: var(--blanco) !important;
    font-size: 18px !important;
    cursor: pointer;
}

.legal-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.legal-footer a{
    color: var(--blanco) !important;
    font-size: 16px !important;
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 400 !important;
}

/* Responsive */

.adhoc-burger{
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.adhoc-burger .linea-uno,
.adhoc-burger .linea-dos{
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--marron);
    position: absolute;
    transition: all 0.3s;
}

.adhoc-burger .linea-uno{
    top: 10px;
}

.adhoc-burger .linea-dos{
    bottom: 10px;
}

.adhoc-burger.active .linea-uno{
    transform: rotate(45deg);
    top: 14px;
}

.adhoc-burger.active .linea-dos{
    transform: rotate(-45deg);
    bottom: 14px;
}

.menu-lateral{
    width: 400px;
    height: 100dvh !important;
    background: #71482ce5;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);    position: fixed;
    top: 0;
    left: -80%;
    padding: 30px !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.3s !important;
}

.menu-lateral.active{
    left: 0% !important;
}

.logo-lateral{
    width: 100px !important;
}

.menu-lateral .menu-inicio-esp-container{
    width: 100% !important;
}

.menu-lateral .menu{
    list-style: none !important;
    padding: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
}

.menu-lateral .menu li, .menu-lateral .menu a,
.menu-lateral .menu button{
    font-family: var(--font-bryant-condensed) !important;
    font-weight: 500 !important;
    color: var(--marron) !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    background-color: #e8d1b1d5 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
}

.menu-lateral .menu button{
    width: 100% !important;
    text-align: left !important;
}

.menu-lateral .menu li, .menu-lateral .menu button{
    background-color: transparent !important;
}

.menu-lateral .menu a{
    padding: 1px 20px !important;
    width: 100% !important;
    display: flex !important;
    line-height: 40px !important;
    height: 40px !important;
}

.cuadrante-menu-lateral{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
}


@media only screen and (max-width: 1000px) {

    .adhoc-burger{
        display: inline-block !important;
    }
    .fusion-main-menu{
        display: none !important;
    }

    .grid-menu{
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: right !important;
        gap: 20px !important;
    }

    .fusion-logo img{
        width: 100px !important;
    }


    .texto h1{
        font-size: 30px !important;
    }

    .texto h2{
        font-size: 25px !important;
    }

    .texto h3{
        font-size: 23px !important;
    }

    .boton-banner a, .boton a{
        font-size: 30px !important;
    }

    .texto br{
        display: none !important;
    }

}

@media only screen and (max-width: 550px){
    .menu-lateral{
        width: 300px !important;
    }

    .texto h1{
        font-size: 25px !important;
    }

    .texto h2{
        font-size: 22px !important;
    }

    .texto h3{
        font-size: 20px !important;
    }

    .texto p, .texto li{
        font-size: 16px !important;
    }

    .boton-banner a, .boton a{
        font-size: 28px !important;
    }

    .menu-footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px !important;
    }

    .legal-footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px !important;
    }
    .grupo img{
        width: 18px !important;
    }

    .grupo span{
        font-size: 16px !important;
    }

    
    .content-404 h1{
        font-size: 25px !important;
        margin-bottom: 0px !important;
        margin-top: 20px !important;
        text-align: center !important;
    }
    .menu-lateral .menu a, .menu-lateral .menu button{
        font-size: 14px !important;
    }
    
    .content-404 p{
        font-family: var(--font-bryant-condensed) !important;
        font-weight: 400 !important;
        font-size: 16px !important;
        margin-top: 10px !important;
        text-align: center !important;
    }
    
    .content-404 a{
        color: var(--negro) !important;
        background-color: transparent !important;
        border: 2px solid var(--negro) !important;
        border-radius: 100px !important;
        font-family: var(--font-buffalo) !important;
        font-size: 28px !important;
        line-height: 35px !important;
        padding: 2px 35px !important;
        padding-top: 10px !important;
        opacity: 0.8 !important;
        transition: all 0.3s !important;
    }
  
}

@media only screen and (max-width: 370px){
    .menu-lateral{
        width: 250px !important;
    }
}