/* Modificador para desvanecer el footer solo cuando activemos la salida */
footer.hide-on-exit {
    opacity: 0 !important;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/*footer*/
footer{position: fixed; left: 0; right: 0; bottom: 0; padding: 0px 2%;  padding-bottom: 32px; z-index: 2; display: none;}
footer.is-visible{display: flex;}
.site-footer__container{width: 100%; height: auto; position: relative; margin: 0 auto;
background-color: var(--color-black); display: flex; flex-wrap: wrap; justify-content: center; padding: 0px 2.5%;}

.site-footer__menu{width: 100%; display: flex; flex-wrap:wrap; margin: 0 auto; margin-bottom: 30px;}
.site-footer__menu ul{width:100%; display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none;}
.site-footer__menu ul li{position: relative; display:flex; font-family: var(--font-light); color: var(--color-white);}
.site-footer__menu ul li a {display: flex; align-items: center; font-family: var(--font-regular); position: relative; color: var(--color-white); text-transform: uppercase;}
.site-footer__menu ul li svg{margin-right: 8px; width: 30px; height: auto; padding-top: 2px;}



/*hover boton - footer*/
.animated-footer ul li a::before {
  content: ""; 
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  top: 18px;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease, width 0.3s ease;
}
.animated-footer ul a:hover::before{
  transform: scaleX(1); width: 100%; transform-origin: left; }



  /* Enlace activo */
.animated-footer li.current-menu-item > a::before,
.animated-footer li.current_page_item > a::before,
.animated-footer li.current-menu-ancestor > a::before,
.animated-footer li.current_page_ancestor > a::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (min-width:0px) and (max-width:900px){
  .site-footer__menu ul li{width: 50%; padding:8px 0px;}
}
@media (min-width:0px) and (max-width:720px){
  footer{padding-bottom: 12px;}
  .site-footer__container{padding: 0px 5%;}
  .site-footer__menu ul li svg{width: 20px;}
  .animated-footer ul li a::before{top: 17px;}
}
@media (min-width:0px) and (max-width:500px){
  footer{padding-bottom: 10px;}
  .site-footer__menu ul > li{padding:4px 0px;}
}







/*carrusel*/
.footer-marquee {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-marquee .footer-marquee__content {
    display: flex;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
}

.footer-marquee .footer-marquee__item {
    display: block;
    flex-shrink: 0;
    width: auto;
    color: var(--color-white);
    padding-right: 0;
}


/* Textos legales e Instagram: segunda línea discreta bajo el menú */
.site-footer__menu ul.site-footer__legal {
    justify-content: flex-start;
    gap: 6px 28px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__menu ul.site-footer__legal li {
    width: auto;
    padding: 0;
}

.site-footer__menu ul.site-footer__legal li a {
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-light);
    font-size: 13px;
    text-transform: none;
}

.site-footer__menu ul.site-footer__legal li a:hover {
    color: var(--color-white);
}

@media (max-width: 720px) {
    .site-footer__menu ul.site-footer__legal {
        gap: 4px 18px;
    }

    .site-footer__menu ul.site-footer__legal li a {
        font-size: 12px;
    }
}
