/* ================================================================
   IRIDUM — FOOTER  ·  Palantir dark institutional
   ================================================================ */

.iridum-footer {
  background: var(--p-depth-0, #050507);
  color: #fff;
  padding: 56px 24px;
  font-family: 'Open Sans', -apple-system, sans-serif;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sx-footer-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 40px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}

.sx-footer-col h4 {
  margin: 0 0 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: #fff;
}

.sx-footer-logo strong {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: #fff;
}
/* Línea azul corta bajo logo */
.sx-footer-logo::after {
  content: ''; display: block;
  width: 20px; height: 1px;
  background: #2a78b8; opacity: 0.7;
  margin-top: 14px;
}

.sx-footer-tagline {
  margin: 10px 0 0;
  color: #fff;
  font-size: 13px; line-height: 1.6; font-weight: 300;
}

.sx-footer-menu a {
  display: block; color: #fff;
  margin: 8px 0; text-decoration: none;
  font-size: 13px; font-weight: 300;
  transition: color 0.12s;
}
.sx-footer-menu a:hover { color: #fff; }

.sx-social-list { display: flex; gap: 6px; margin-top: 14px; }
.sx-social-link {
  display: inline-flex; width: 32px; height: 32px;
  border-radius: 2px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; transition: all 0.12s;
}
.sx-social-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.sx-social-link svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.45); }

.sx-footer-small { color: #fff; font-size: 13px; line-height: 1.6; margin-bottom: 10px; font-weight: 300; }
.sx-footer-meta  { color: #fff; font-size: 12px; font-weight: 300; }

.sx-newsletter-form { display: flex; gap: 5px; margin-top: 10px; }
.sx-newsletter-form input[type="email"] {
  flex: 1; padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #fff; font-size: 13px; font-weight: 300;
  font-family: 'Open Sans', sans-serif;
  outline: none; transition: border-color 0.12s;
}
.sx-newsletter-form input[type="email"]:focus { border-color: rgba(42,120,184,0.40); }
.sx-newsletter-form input::placeholder { color: #fff; }

.sx-btn--primary {
  background: #eff9ff; color: #0f141a;
  padding: 8px 14px; border-radius: 2px; border: none;
  font-family: 'Open Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.12s; white-space: nowrap;
}
.sx-btn--primary:hover { background: #c8eeff; color: #0f141a; }

.sx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px; padding: 16px 0;
}
.sx-footer-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.18);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.sx-back-to-top button {
  background: transparent; border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.20); padding: 5px 12px; border-radius: 2px;
  cursor: pointer; font-family: 'Open Sans', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.12s;
}
.sx-back-to-top button:hover {
  border-color: rgba(42,120,184,0.35);
  color: rgba(106,186,240,0.75);
}

html.iridum-theme-light body .iridum-footer,
body.iridum-theme-light .iridum-footer {
  background: #e7edf4;
  color: #101820;
  border-top-color: rgba(15,23,32,0.10);
}
html.iridum-theme-light body .sx-footer-col h4,
html.iridum-theme-light body .sx-footer-logo strong,
html.iridum-theme-light body .sx-footer-tagline,
html.iridum-theme-light body .sx-footer-menu a,
html.iridum-theme-light body .sx-footer-small,
html.iridum-theme-light body .sx-footer-meta,
body.iridum-theme-light .sx-footer-col h4,
body.iridum-theme-light .sx-footer-logo strong,
body.iridum-theme-light .sx-footer-tagline,
body.iridum-theme-light .sx-footer-menu a,
body.iridum-theme-light .sx-footer-small,
body.iridum-theme-light .sx-footer-meta {
  color: #101820;
}
body.iridum-theme-light .sx-footer-menu a:hover {
  color: #101820;
}
body.iridum-theme-light .sx-footer-logo::after {
  background: #60758a;
}
body.iridum-theme-light .sx-social-link {
  background: #f3f6fa;
  border-color: rgba(15,23,32,0.12);
}
body.iridum-theme-light .sx-social-link:hover {
  background: #f8fafc;
  border-color: rgba(15,23,32,0.18);
}
body.iridum-theme-light .sx-social-link svg {
  fill: rgba(16,24,32,0.62);
}
body.iridum-theme-light .sx-newsletter-form input[type="email"] {
  background: #f3f6fa;
  border-color: rgba(15,23,32,0.14);
  color: #101820;
}
body.iridum-theme-light .sx-newsletter-form input::placeholder {
  color: rgba(16,24,32,0.48);
}
body.iridum-theme-light .sx-btn--primary {
  background: #f8fafc;
  color: #101820;
  border: 1px solid rgba(15,23,32,0.14);
}
body.iridum-theme-light .sx-btn--primary:hover {
  background: #ffffff;
  color: #101820;
}

@media (max-width: 900px) { .sx-footer-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) {
  .sx-footer-inner { grid-template-columns: 1fr; }
  .sx-footer-bottom-inner { flex-direction: column; gap: 10px; }
}
