/* ========================================
   FOOTER PROFESIONAL - SEO & DESIGN
   Colores corporativos:
   - Azul base: #174f78
   - Azul claro: #1e6ba8
   - Azul oscuro: #0d3a5a
   - Gris corporativo: #a8b7ba
   - Gris oscuro footer: #556367
   - Verde: #05c8a6
   - Verde brillante: #0ae0b8
   ======================================== */

.site-footer {
  color: #f4f4f4;
  margin-top: 4rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== FOOTER TOP: COLUMNAS CON FONDO GRIS OSCURO ========== */
.footer-top {
  background: #556367;
  padding: 3.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
}

/* ========== ENLACES EN BLANCO CON HOVER VERDE MÁS VISIBLE ========== */
.footer-top a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease, font-weight 0.25s ease, letter-spacing 0.25s ease, text-shadow 0.25s ease;
}

.footer-top a:hover {
  color: #0ae0b8;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(10, 224, 184, 0.5);
  transform: translateX(4px);
}

/* ========== COLUMNA ABOUT - JUSTIFICADA ========== */
.footer-about p {
  margin-bottom: 0.8rem;
  color: #ffffff;
  text-align: left;
}

.footer-logo {
  height: 63px;
  margin-bottom: 1rem;
  display: block;
}

/* BADGE OCULTO: display: none; */
.footer-badges {
  display: block;
}

.footer-badge {
  max-width: 160px;   /* Define tamaño badge: antes 130px; pon 180, 200, 220 según quieras */
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-badge:hover {
  opacity: 1;
}

/* ========== COLUMNAS NAVIGATION & LEGAL - JUSTIFICADAS ========== */
.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 0.6rem;
  text-align: left;
}

.footer-links a,
.footer-legal a {
  display: inline-block;
  font-size: 0.9rem;
}

/* ========== COMPANY INFO ========== */
.footer-company-info {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  text-align: left;
}

.footer-vat {
  display: block;
  margin-top: 0.3rem;
  font-style: italic;
}

/* ========== COLUMNA CONTACT - JUSTIFICADA ========== */
.footer-contact-item {
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: left;
}

.footer-contact-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
}

.footer-icon {
  font-size: 1.1rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* ========== REDES SOCIALES ========== */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-social a:hover {
  background: #0ae0b8;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(10, 224, 184, 0.6);
  border-color: #0ae0b8;
}

/* ========== FOOTER BOTTOM: COPYRIGHT CON FONDO AZUL OSCURO ========== */
.footer-bottom {
  background: #0d3a5a;
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a8b7ba;
}

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, font-weight 0.25s ease, letter-spacing 0.25s ease, text-shadow 0.25s ease;
}

.footer-bottom a:hover {
  color: #0ae0b8;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(10, 224, 184, 0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-top {
    padding: 2.5rem 1rem 2rem;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  
  .footer-bottom {
    font-size: 0.75rem;
  }
  
  .footer-bottom p {
    white-space: normal;
  }
}

/* ========== ACCESIBILIDAD ========== */
@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .footer-badge,
  .footer-social a {
    transition: none;
  }
}
/* ========== FOOTER BADGES ========== */

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0.8rem;
  align-items: center;   /* centra horizontalmente el badge y el Secure */
}

/* Badge de awards PNG - OCULTO TEMPORALMENTE: display: none; */
.footer-badge {
  display: block;        /* antes para ocultarlo: display: none; */
}

/* ========== BADGE SECURE - DORADO SÓLIDO ========== */
.footer-badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid #b8941f;
  background: linear-gradient(135deg, #d4af37 0%, #c9a332 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.footer-badge-secure:hover {
  border-color: #8b6914;
  background: linear-gradient(135deg, #e0bb44 0%, #d4af37 100%);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.footer-badge-secure .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-badge-secure .badge-text {
  white-space: nowrap;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
