/* ===== RESET Y NORMALIZACIÓN ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ESTILOS DEL FOOTER ===== */
.site-footer {
  padding: 36px 0;
  background: #0b1720;
  color: #d7e7f0;
  margin-top: 40px;
  width: 100%;
  overflow-x: hidden;
}

.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 0;
  line-height: 1.6;
  min-width: 200px;
  word-break: break-word;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.footer-center a {
  color: #d7e7f0;
  font-size: 1.8rem;
  margin: 0 10px;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.footer-center a:hover {
  color: #ffffff;
}

.footer-left a,
.footer-right a {
  color: #d7e7f0;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-left a:hover,
.footer-right a:hover {
  color: #ffffff;
}

.footer-left i,
.footer-right i {
  font-size: 1.2rem;
  width: 1.2rem;
}

/* ===== RESPONSIVE ===== */

/* Tablets y móviles grandes (hasta 768px) */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    flex: auto;
    width: 100%;
  }

  /* Centramos los enlaces de las columnas laterales y reducimos fuente */
  .footer-left a,
  .footer-right a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    font-size: 0.95rem; /* Ajusta este valor según necesidad */
  }

  .footer-center a {
    font-size: 2rem;
    margin: 0 12px;
  }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  .site-footer {
    padding: 24px 0;
  }

  /* Reducimos aún más el padding lateral para aprovechar espacio */
  .site-footer .container {
    padding: 0 10px;
  }

  .footer-center a {
    font-size: 1.8rem;
    margin: 0 8px;
  }

  .footer-left a,
  .footer-right a {
    font-size: 0.85rem; /* Más pequeño para que quepa el correo completo */
  }

  .footer-left p,
  .footer-right p {
    font-size: 0.85rem;
  }

  /* Ajustamos el tamaño del icono para que acompañe al texto */
  .footer-left i,
  .footer-right i {
    font-size: 1rem;
    width: 1rem;
  }
}