/* ══════════════════════════════════════════════════════════════
   PIE DE PÁGINA — compartido por TODAS las páginas
   ──────────────────────────────────────────────────────────────
   Controla el aspecto del pie de página.
   El contenido (enlaces, teléfonos, correos) está en site-footer.js.
   ══════════════════════════════════════════════════════════════ */

.ds-site-footer {
  --navy-dark: #0F1A3A;
  --crimson:   #B22222;
  --silver:    #C0C0C0;
  --white:     #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;
  font-family: var(--font-body);
  margin-top: auto;            /* en páginas cortas, el pie queda abajo */
  width: 100%;
}
.ds-site-footer *,
.ds-site-footer *::before,
.ds-site-footer *::after { box-sizing: border-box; }
.ds-site-footer p,
.ds-site-footer ul { margin: 0; padding: 0; }

.ds-site-footer .site-footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--crimson);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.ds-site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

/* Columna del logo */
.ds-site-footer .footer-logo { height: 55px; width: auto; margin: 0 0 1rem; filter: brightness(0) invert(1); opacity: 0.9; display: inline-block; }
.ds-site-footer .footer-tagline { font-family: var(--font-display); font-size: 0.85rem; font-style: italic; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 1.3rem; }

/* Botones de redes */
.ds-site-footer .footer-social { display: flex; gap: 0.6rem; }
.ds-site-footer .footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none; transition: all 0.2s ease;
}
.ds-site-footer .footer-social-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); transform: translateY(-2px); }
.ds-site-footer .footer-social-btn--wa:hover { background: rgba(37,211,102,0.2); color: #25d366; }

/* Columnas de enlaces */
.ds-site-footer .footer-col-title { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--silver); margin-bottom: 1rem; }
.ds-site-footer .footer-links ul,
.ds-site-footer .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.ds-site-footer .footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s ease; }
.ds-site-footer .footer-links a:hover { color: var(--white); }

/* Columna de contacto */
.ds-site-footer .footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.ds-site-footer .footer-contact li svg { flex-shrink: 0; color: var(--crimson); opacity: 0.7; }
.ds-site-footer .footer-contact a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s ease; }
.ds-site-footer .footer-contact a:hover { color: var(--white); }
.ds-site-footer .footer-contact-label { display: block; color: rgba(255,255,255,0.35); font-size: 0.68rem; line-height: 1.3; }
/* Teléfonos con etiqueta: la etiqueta arriba y el número debajo, sin cortarlo */
.ds-site-footer .footer-contact li > span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.ds-site-footer .footer-contact a { white-space: nowrap; }

/* Barra inferior */
.ds-site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.2rem 2rem; max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.ds-site-footer .footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }
.ds-site-footer .footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.ds-site-footer .footer-legal a:hover { color: var(--white); }
.ds-site-footer .footer-legal span { color: rgba(255,255,255,0.15); margin: 0 0.6rem; }

@media (max-width: 768px) {
  .ds-site-footer .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.2rem; }
  .ds-site-footer .footer-bottom { flex-direction: column; text-align: center; padding: 1rem 1.2rem; }
}
