/* ── Global footer (todas las páginas excepto profile.html y admin.html) ── */
/* Diseño siempre dark, independiente del tema del body. */

.site-footer {
  background: #080808;
  color: #EDEDE8;
  font-family: 'Barlow', 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.4;
  padding: 72px 48px 24px;
  margin-top: 80px;
  display: block;
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer p, .site-footer li, .site-footer a, .site-footer span, .site-footer div, .site-footer h4, .site-footer h5 {
  text-transform: none;
  letter-spacing: normal;
}
/* Re-apply uppercase only where intended */
.site-footer .footer-col-title,
.site-footer .footer-col-title span,
.site-footer .footer-cta-btn,
.site-footer .footer-cta-btn span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.site-footer .footer-cta-btn,
.site-footer .footer-cta-btn span { letter-spacing: 0.12em; }
.site-footer a { color: inherit; text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #F5C800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer h4, .site-footer h5, .site-footer p { margin: 0; }

/* ── TOP: 4 columnas ── */
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer-logo { width: 200px; height: auto; display: block; }
.footer-brand-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: #EDEDE8;
  max-width: 260px;
}
.footer-brand-line { width: 42px; height: 2px; background: #F5C800; }
.footer-brand-tagline {
  font-family: 'La Belle Aurore', 'Barlow', cursive;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: #F5C800;
  margin-top: 4px;
}

.footer-col-title {
  font-family: 'Barlow Condensed', 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5C800;
  margin-bottom: 24px;
}

.footer-nav-list li { margin-bottom: 14px; }
.footer-nav-list a { font-size: 15px; font-weight: 400; color: #EDEDE8; }

.footer-contact-list li,
.footer-social-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; line-height: 1.35; font-size: 14px; }
.footer-contact-list li:last-child,
.footer-social-list li:last-child { margin-bottom: 0; }

.footer-contact-list a { display: inline-block; word-break: break-word; }
.footer-social-list a { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.35; color: #EDEDE8; }
.footer-social-list a:hover .footer-icon { border-color: #F5C800; color: #F5C800; }

.footer-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: #F5C800;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  transition: color .18s ease;
}
.footer-icon-img {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.footer-icon-boxed {
  width: 36px; height: 36px;
  padding: 6px;
  border: 1.5px solid #F5C800;
  border-radius: 50%;
  color: #F5C800;
  transition: border-color .18s ease, color .18s ease;
}

/* Dividers verticales entre columnas 2/3 y 3/4 (opcional, imitando PDF) */
.footer-top .footer-col:nth-child(3) { position: relative; padding-left: 32px; }
.footer-top .footer-col:nth-child(3)::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.08);
}
.footer-top .footer-col:nth-child(4) { position: relative; padding-left: 32px; }
.footer-top .footer-col:nth-child(4)::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.08);
}

/* ── CTA BANNER ── */
.footer-cta-banner {
  max-width: 1440px;
  margin: 0 auto 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: center;
}
.footer-cta-divider { background: rgba(255,255,255,0.08); align-self: stretch; }
.footer-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-cta-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #F5C800;
}
.footer-cta-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.footer-cta-icon img { width: 36px; height: 36px; object-fit: contain; display: block; }
.footer-cta-body { flex: 1; min-width: 0; }
.footer-cta-body h5 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: #EDEDE8;
  margin-bottom: 6px;
}
.footer-cta-body p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: #aaa;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #F5C800;
  color: #080808 !important;
  font-family: 'Barlow Condensed', 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background .18s ease, transform .12s ease;
}
.footer-cta-btn:hover { background: #ffd633; transform: translateY(-1px); }
.footer-cta-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── BOTTOM BAR ── */
.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #999;
  font-family: 'Barlow', sans-serif;
}
.footer-copy { color: #999; }
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-legal li { position: relative; }
.footer-legal li:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #444;
}
.footer-legal a { color: #999; font-size: 13px; }
.footer-legal a:hover { color: #F5C800; }

.footer-link-todo { opacity: 0.55; }
.footer-link-todo:hover { opacity: 0.85; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-top .footer-col:nth-child(3)::before,
  .footer-top .footer-col:nth-child(4)::before { display: none; }
  .footer-top .footer-col:nth-child(3),
  .footer-top .footer-col:nth-child(4) { padding-left: 0; }
  .footer-cta-banner { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta-divider { display: none; }
  .footer-cta { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
  .footer-cta:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .site-footer { padding: 56px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand-tagline { font-size: 28px; }
  .footer-cta-banner { padding: 24px 20px; }
  .footer-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-cta-btn { align-self: stretch; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { gap: 14px; }
  .footer-legal li:not(:last-child)::after { right: -10px; }
}
