/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background: linear-gradient(160deg, var(--teal-muy-oscuro) 0%, var(--teal-oscuro) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding-bottom: calc(78px + 2rem);
}

/* Línea de acento arriba */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lima) 40%, var(--cian) 100%);
  opacity: 0.7;
}

/* Círculo decorativo de fondo */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 220, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* =========================================
   GRID DE COLUMNAS
   ========================================= */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(68, 220, 241, 0.12);
}

/* === Col 1: Brand === */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cian);
  opacity: 0.85;
}

/* Lista de contacto */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cian);
  opacity: 0.8;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover {
  color: var(--cian);
}

/* === Títulos de columna === */
.footer-col-titulo {
  font-family: var(--fuente-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blanco);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-titulo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--lima), var(--cian));
  border-radius: 2px;
}

/* === Col 2: Horarios === */
.footer-horarios {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-horarios li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-horarios li:last-child {
  border-bottom: none;
}

.footer-horarios .dia {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lima);
  opacity: 0.9;
}

.footer-horarios .hora {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bienvenida {
  margin-top: 1.25rem;
  font-family: var(--fuente-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* === Col 3: Navegación === */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-nav a::before {
  content: '→';
  font-size: 0.7rem;
  color: var(--lima);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  color: var(--blanco);
  gap: 0.75rem;
}
.footer-nav a:hover::before {
  opacity: 1;
}

/* =========================================
   REDES SOCIALES
   ========================================= */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(68, 220, 241, 0.12);
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.04);
}

.social-btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: var(--blanco);
}

.social-btn--facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.2);
}

.social-btn--youtube:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.15);
}

.social-btn--instagram:hover {
  background: rgba(225, 48, 108, 0.15);
  border-color: rgba(225, 48, 108, 0.4);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.15);
}

/* =========================================
   COPYRIGHT
   ========================================= */

.footer-copyright {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1; /* ocupa las 2 columnas */
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-logo { width: 90px; }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-social {
    gap: 0.75rem;
  }
  .social-btn span {
    display: none; /* solo icono en móvil */
  }
  .social-btn {
    padding: 0.6rem;
    border-radius: 50%;
  }
}
