﻿

.site-footer { position: relative; background: rgba(255,255,255,.96); color: var(--color-muted); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--swatch-gradient); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }

.footer-brand .brand { color: var(--color-ink); font-size: 1.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 32ch; font-size: .95rem; }

.footer-col h3 { color: var(--color-ink); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; color: var(--color-muted); font-size: .95rem; padding: .25rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--green-700); }

/* Mapa del pie: va entre las columnas y la barra inferior. La altura la fija el CSS
   (no atributos en el HTML) para que la caja este dimensionada antes de cargar el
   iframe y no haya salto de layout. */
.footer-map { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.footer-map iframe { display: block; width: 100%; height: clamp(220px, 24vw, 320px); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.footer-bottom { border-top: 1px solid var(--color-border); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; font-size: .85rem; }

.social-icons { display: flex; gap: .5rem; }
.social-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
}

