/* ===============================
   VARIABLES FOOTER
================================ */
:root {
  --footer-bg: linear-gradient(
    180deg,
    rgb(45, 57, 64) 0%,
    rgb(16, 29, 39) 70%,
    rgb(3, 11, 18) 100%
  );

  --footer-light: rgb(239, 239, 239);
  --footer-muted: rgba(239, 239, 239, 0.65);

  --footer-primary: rgb(49, 87, 98);
  --footer-primary-soft: rgba(49, 87, 98, 0.25);
}

body{
  user-select: none;
}

/* ===============================
   FOOTER BASE
================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-light);
  padding: 34px 24px 18px;
}

/* ===============================
   CONTENEDOR PRINCIPAL
================================ */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* ===============================
   TÍTULOS
================================ */
.site-footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--footer-light);
}

/* ===============================
   COLUMNA MARCA / REDES
================================ */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* Redes */
.social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--footer-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background: var(--footer-primary);
  transform: translateY(-2px);
}

/* ===============================
   MAPA
================================ */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===============================
   CONTACTO / BOTONES
================================ */
.footer-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 26px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-btn.primary {
  background: var(--footer-primary);
  color: #fff;
}

.footer-btn.primary:hover {
  background: rgb(58, 102, 114);
  transform: translateY(-2px);
}

.footer-btn.outline {
  background: transparent;
  border: 1px solid var(--footer-primary-soft);
  color: var(--footer-light);
}

.footer-btn.outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ===============================
   FOOTER BOTTOM
================================ */
.footer-bottom {
  max-width: 1200px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--footer-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-light);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .social-links {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .social-links a {
    flex-shrink: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
