/**
 * Footer único - Amherkut
 * Diseño moderno, simple y minimalista. Mismo en todas las páginas.
 */

.footer {
  --footer-bg: #050505;
  --footer-text: rgba(255, 255, 255, 0.9);
  --footer-muted: rgba(255, 255, 255, 0.5);
  --footer-accent: #C41E3A;
  --footer-border: rgba(255, 255, 255, 0.06);
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

/* Top: logo + tagline */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.footer-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--footer-border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.footer-logo-img:hover {
  border-color: var(--footer-accent);
  transform: scale(1.03);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--footer-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Grid: ubicaciones, contacto, redes */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--footer-border);
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 0.25rem 0;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-contact-label {
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

.footer-contact-value {
  font-size: 0.875rem;
  color: var(--footer-text);
  line-height: 1.45;
}

.footer-contact-link {
  font-size: 0.875rem;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--footer-accent);
}

/* Redes: iconos simples */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--footer-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--footer-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

/* Línea divisora: no usamos .footer-divider en el diseño simple, lo dejamos por compatibilidad */
.footer-divider {
  display: none;
}

/* Bottom: copyright + legal */
.footer-bottom {
  padding: 1.5rem 0 0;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--footer-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--footer-accent);
}

.footer-legal-separator {
  color: var(--footer-muted);
  font-size: 0.625rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .footer .footer-inner {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-logo-img {
    width: 56px;
    height: 56px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
