/* =================== */
/* CONTENEDOR PRINCIPAL */
/* =================== */

.site-footer .footer-widgets-container .inside-footer-widgets {
  margin-left: 0px !important;
}

.site-footer .footer-widgets-container .inner-padding {
  padding: 0 0 0 0px !important;
}

/* =================== */
/* FOOTER GENERAL       */
/* =================== */

.footer {
  align-items: flex-start;
  background-color: var(--c-negro);
  color: var(--c-blanco);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  overflow-x: hidden;
  padding: 40px 20px;
}

/* =================== */
/* COLUMNA CUSTOM HTML */
/* =================== */

.custom-html-widget {
  align-items: flex-start;
  background-color: var(--c-fondo);
  background-image: url('/wp-content/uploads/2025/07/aida-ten-degradado-footer.png'),
                    url('/wp-content/uploads/2025/08/fondo-01.png');
  background-position: bottom center, top left;
  background-repeat: no-repeat, repeat;
  background-size: 100% auto, auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  overflow: hidden;
  padding: 60px 30px;
  padding-bottom: 5px !important;
  position: relative;
  z-index: 0;
}

/* =================== */
/* COLUMNAS DEL FOOTER */
/* =================== */

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-cols-top {
  display: flex;
  flex-wrap: nowrap; /* NO hacer wrap entre las 3 columnas */
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
  box-sizing: border-box;
}

.footer-col-1 {
  align-items: flex-start;
  flex: 1 1 25%;
  min-width: 220px;
  width: 24%;
}

.footer-col-2 {
  align-items: center;
  flex: 1 1 50%;
  min-width: 220px;
  text-align: center;
  width: 50%;
}

.footer-col-3 {
  align-items: flex-end;
  flex: 1 1 25%;
  min-width: 220px;
  text-align: right;
  width: 24%;
}

.footer-col-4 {
  align-items: center;
  flex: 1 1 100%;
  margin-top: 20px;
  padding-top: 80px;
  text-align: center;
  width: 100%;
}

/* =================== */
/* CONTENIDO COLUMNA 2 */
/* =================== */

.footer-col-2 p {
  font-family: var(--font-footer);
  font-size: clamp(30px, 4vw, 60px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 5px;
}

/* =================== */
/* MENÚ INFERIOR */
/* =================== */

.footer-menu {
  display: flex;
  font-size: 1rem;
  gap: 50px;
  justify-content: center;
  margin-top: 50px;
  text-transform: uppercase;
}

.footer-menu a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
    position: relative;
    z-index: 101;
}

.footer-menu a:hover {
  opacity: 1;
}


/* Foco radial que se expande más allá del <li> */
.footer-menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
 background: linear-gradient(135deg, transparent 0%, var(--c-secundario) 100%);  opacity: 1;
  transition: opacity 0.4s ease;
filter: blur(15px);
  pointer-events: none;
  opacity: 0;
  z-index: 100;
}

/* Mostrar el efecto al hacer hover */
.footer-menu a:hover::before {
  opacity: 0.8;
}

/* =================== */
/* LOGO */
/* =================== */

.footer-col-3 img {
  height: auto;
  max-width: 200px;
}

/* =================== */
/* BARRA BAJA */
/* =================== */

.barra-baja {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* =================== */
/* REDES SOCIALES */
/* =================== */

.rrss {
  display: flex;
  gap: 12px;
}

.rrss img {
  transition: opacity 0.3s ease;
}

.rrss img:hover {
  opacity: 0.7;
}

/* =================== */
/* COLUMNA 4 FINAL */
/* =================== */

.footer-col-4 p {
  margin-bottom: 0px;
}

.footer-col-4 p,
.footer-col-4 a {
  font-size: 14px;
}

/* =================== */
/* AVISO LEGAL */
/* =================== */

.aviso-legal {
  align-items: center;
  display: flex;
  gap: 15px;
}

/* ======================== */
/* LOGOS KIT DIGITAL */
/* ======================== */

.logos-kit-digital {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 20px;
  width: 100%;
}

.logos-kit-digital img {
  display: block;
  max-width: 200px;
  padding: 0 20px;
  width: 20%;
}

.logos-kit-digital > img:last-child {
  max-width: 151px;
  width: 12%;
}

/* =================== */
/* SITE INFO OCULTO */
/* =================== */

.site-info {
  display: none;
}

/* =================== */
/* RESPONSIVE */
/* =================== */

@media (max-width: 800px) {
  .footer {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col-1,
  .footer-col-3 {
    float: left;
    width: 50%;
  }

  .footer-col-2,
  .footer-col-4 {
    clear: both;
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .barra-baja {
    flex-direction: column;
}
}
@media (max-width: 980px) {
  .footer-cols-top {
    flex-wrap: wrap;
  }

  .footer-col-1,
  .footer-col-3 {
    width: 50%;
  }

  .footer-col-2 {
    width: 100%;
    order: 2; /* opcional, garantiza que vaya debajo */
  }

  .footer-col-1 {
    order: 0;
  }

  .footer-col-3 {
    order: 1;
  }

  .logos-kit-digital > img:last-child {
    max-width: 151px;
    width: 15%;
}

.logos-kit-digital > img:last-child {
  width: 20%;
}

    .logos-kit-digital img {
  
    width: 25%;
}
}

@media (max-width: 652px) {
  
.footer-menu {
  gap: 10px;
  margin-top: 20px;
  flex-direction: column;
}

.logos-kit-digital img {
  width: 45%;
}

.logos-kit-digital > img:last-child {
  width: 43%;
  margin-top: 20px;
}

.aviso-legal {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  row-gap: 0px;
  margin-top: 10px;
}

.footer-col-4 {   
  padding-top: 50px;
}
}

@media (max-width: 520px) {
  .footer-col-3 img {
        max-width: 200px !important;
    }
  .footer-col-1,
  .footer-col-3 {
    width: 100%;
    align-items: center;
  }

  .footer-col-1 {
        order: 2;
    }

    .footer-menu {

    font-size: 1.5rem;
    margin-top: 40px;
    
}
    
}
