:root {
  --sps-deep: #0b1b2e;
  --sps-navy: #14294a;
  --sps-teal: #1f6f92;
  --sps-teal-soft: #3e93b5;
  --sps-copper: #c0703c;
  --sps-copper-soft: #db9257;
  --sps-deep-2: #14294a;
  --sps-blue: #1f6f92;
  --sps-orange: #c0703c;
  --sps-surface: #f4f7fa;
  --sps-white: #ffffff;
  --sps-text: #1e293b;
  --sps-muted: #64748b;
  --sps-border: #dbe4ef;
  --sps-success: #15803d;
  --sps-error: #b91c1c;
  --sps-warning: #b45309;
  --sps-shadow: 0 24px 70px rgba(11, 27, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--sps-text);
  background:
    radial-gradient(circle at 8% 3%, rgba(31, 111, 146, 0.10), transparent 28rem),
    radial-gradient(circle at 95% 35%, rgba(192, 112, 60, 0.08), transparent 28rem),
    var(--sps-surface);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

:focus-visible {
  outline: 3px solid rgba(31, 111, 146, 0.28);
  outline-offset: 3px;
}

.sps-shell { min-height: 100vh; display: flex; flex-direction: column; }
.sps-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.sps-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 27, 46, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
}

.sps-nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sps-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  min-width: 0;
}

.sps-brand img {
  width: 112px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.sps-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.sps-brand-copy strong { font-family: Outfit, sans-serif; letter-spacing: 0.04em; }
.sps-brand-copy small { color: #94a3b8; font-size: 0.68rem; }

.sps-nav-links { display: flex; align-items: center; gap: 20px; }
.sps-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 160ms ease;
}
.sps-nav-links a:hover, .sps-nav-links a[aria-current="page"] { color: var(--sps-orange); }
.sps-nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(31, 111, 146, 0.55);
  border-radius: 12px;
  background: rgba(31, 111, 146, 0.16);
  color: white !important;
}

.sps-mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}
.sps-mobile-menu { display: none; padding: 0 0 16px; }
.sps-mobile-menu.open { display: grid; gap: 8px; }
.sps-mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  color: #dbe4ef;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.sps-mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--sps-orange); }

.sps-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  color: white;
  background: linear-gradient(135deg, var(--sps-deep), #1e3a8a 72%, #9a3412 145%);
}
.sps-hero::before,
.sps-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}
.sps-hero::before { width: 360px; height: 360px; right: -110px; top: -180px; background: rgba(31, 111, 146, 0.24); }
.sps-hero::after { width: 280px; height: 280px; left: -120px; bottom: -160px; background: rgba(192, 112, 60, 0.18); }
.sps-hero-content { position: relative; z-index: 2; max-width: 800px; }
.sps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #dbeafe;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sps-hero h1 {
  margin: 0 0 18px;
  font-family: Outfit, sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.sps-hero p { margin: 0; max-width: 720px; color: #cbd5e1; font-size: clamp(1rem, 2.4vw, 1.2rem); }

.sps-main { flex: 1; padding: 48px 0 72px; }
.sps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sps-card {
  border: 1px solid var(--sps-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--sps-shadow);
}
.sps-card-body { padding: clamp(22px, 4vw, 38px); }
.sps-card h2, .sps-card h3 { font-family: Outfit, sans-serif; color: var(--sps-deep); }
.sps-card h2 { margin: 0 0 10px; font-size: clamp(1.55rem, 4vw, 2.15rem); }
.sps-card h3 { margin: 28px 0 8px; font-size: 1.12rem; }
.sps-card p { margin: 0 0 14px; }
.sps-card ul { margin: 8px 0 16px; padding-left: 20px; }
.sps-card li + li { margin-top: 7px; }
.sps-muted { color: var(--sps-muted); }

.sps-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  margin-bottom: 22px;
  border: 1px solid var(--sps-border);
  border-radius: 16px;
  background: #f1f5f9;
}
.sps-tab-button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-weight: 800;
  cursor: pointer;
}
.sps-tab-button.active { background: white; color: var(--sps-blue); box-shadow: 0 8px 24px rgba(11, 27, 46, 0.08); }
.sps-tab-panel[hidden] { display: none !important; }

.sps-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sps-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.sps-field.full { grid-column: 1 / -1; }
.sps-field label { color: var(--sps-deep); font-size: 0.84rem; font-weight: 800; }
.sps-required { color: var(--sps-error); }
.sps-field input,
.sps-field select,
.sps-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: white;
  color: var(--sps-text);
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.sps-field textarea { min-height: 150px; resize: vertical; }
.sps-field input:focus,
.sps-field select:focus,
.sps-field textarea:focus {
  border-color: var(--sps-blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 146, 0.11);
  outline: none;
}
.sps-help { color: var(--sps-muted); font-size: 0.76rem; }
.sps-counter { text-align: right; color: var(--sps-muted); font-size: 0.74rem; }
.sps-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.sps-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  color: #334155;
  font-size: 0.82rem;
}
.sps-consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.sps-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sps-blue);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.sps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sps-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 13px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}
.sps-button:hover { transform: translateY(-1px); }
.sps-button:disabled { cursor: wait; opacity: 0.64; transform: none; }
.sps-button-primary { background: var(--sps-blue); color: white; }
.sps-button-primary:hover { background: #1d4ed8; }
.sps-button-secondary { background: #e2e8f0; color: var(--sps-deep); }
.sps-button-orange { background: var(--sps-orange); color: white; }
.sps-button-outline { border: 1px solid #cbd5e1; background: white; color: var(--sps-deep); }

.sps-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 700;
}
.sps-status.show { display: block; }
.sps-status.info { border: 1px solid #bfdbfe; background: #eff6ff; color: #1e40af; }
.sps-status.success { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; }
.sps-status.error { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; }

.sps-result {
  display: none;
  margin-top: 20px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  padding: 20px;
}
.sps-result.show { display: block; }
.sps-radicado {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border: 1px dashed #86efac;
  border-radius: 14px;
  background: white;
}
.sps-radicado strong { color: var(--sps-blue); font-family: Outfit, sans-serif; font-size: clamp(1.05rem, 4vw, 1.35rem); letter-spacing: 0.02em; }

.sps-consult-result { display: none; margin-top: 20px; }
.sps-consult-result.show { display: block; }
.sps-data-list { display: grid; gap: 10px; }
.sps-data-row { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e8f0; }
.sps-data-row:last-child { border-bottom: 0; }
.sps-data-row dt { color: var(--sps-muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.sps-data-row dd { margin: 0; color: var(--sps-deep); font-weight: 650; }
.sps-state-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 0.76rem; font-weight: 900; }

.sps-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.sps-aside-card { border: 1px solid var(--sps-border); border-radius: 20px; background: rgba(255,255,255,.92); padding: 22px; }
.sps-aside-card h3 { margin: 0 0 9px; font-family: Outfit, sans-serif; color: var(--sps-deep); }
.sps-aside-card p { margin: 0; color: var(--sps-muted); font-size: 0.86rem; }
.sps-aside-card a { color: var(--sps-blue); font-weight: 800; text-decoration: none; }
.sps-aside-card a:hover { text-decoration: underline; }

.sps-legal-page { padding: 46px 0 72px; }
.sps-legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.sps-legal-article { padding: clamp(24px, 5vw, 48px); }
.sps-legal-article h1 { margin: 0 0 6px; font-family: Outfit, sans-serif; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--sps-deep); }
.sps-legal-meta { color: var(--sps-muted); font-size: 0.78rem; margin-bottom: 30px; }
.sps-legal-article h2 { scroll-margin-top: 100px; margin: 30px 0 8px; font-family: Outfit, sans-serif; font-size: 1.28rem; color: var(--sps-deep); }
.sps-legal-article p { margin: 0 0 14px; }
.sps-legal-article a { color: var(--sps-blue); font-weight: 750; }
.sps-legal-note { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--sps-orange); border-radius: 0 14px 14px 0; background: #fbf4ee; color: #5c3216; }
.sps-index { position: sticky; top: 96px; border: 1px solid var(--sps-border); border-radius: 20px; background: white; padding: 20px; }
.sps-index h2 { margin: 0 0 12px; font-size: 1rem; }
.sps-index a { display: block; padding: 7px 0; color: #475569; text-decoration: none; font-size: 0.82rem; font-weight: 700; }
.sps-index a:hover { color: var(--sps-blue); }

.sps-footer { margin-top: auto; background: var(--sps-deep); color: #cbd5e1; }
.sps-footer-main { padding: 46px 0 32px; display: grid; grid-template-columns: 1.35fr .85fr 1fr; gap: 38px; }
.sps-footer h2, .sps-footer h3 { margin: 0 0 12px; font-family: Outfit, sans-serif; color: white; }
.sps-footer h2 { font-size: 1.2rem; }
.sps-footer h3 { font-size: 0.96rem; }
.sps-footer p { margin: 0 0 10px; color: #94a3b8; font-size: 0.82rem; }
.sps-footer-links { display: grid; gap: 8px; }
.sps-footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.82rem; font-weight: 650; }
.sps-footer-links a:hover { color: var(--sps-orange); }
.sps-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sps-social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.07);
  color: white;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.sps-social-link:hover { transform: translateY(-2px); border-color: var(--sps-blue); background: rgba(31,111,146,.18); }
.sps-social-link svg { width: 22px; height: 22px; }
.sps-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0; color: #64748b; font-size: 0.74rem; }
.sps-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.sps-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(11, 27, 46, 0.78);
  backdrop-filter: blur(8px);
}
.sps-modal.open { display: flex; }
.sps-modal-dialog { width: min(650px, 100%); max-height: min(84vh, 760px); overflow: auto; border-radius: 22px; background: white; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.sps-modal-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,.97); }
.sps-modal-header h2 { margin: 0; font-family: Outfit, sans-serif; color: var(--sps-deep); }
.sps-modal-close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: #f1f5f9; color: var(--sps-deep); font-size: 1.5rem; cursor: pointer; }
.sps-modal-body { padding: 22px; }
.sps-modal-body h3 { margin: 20px 0 6px; color: var(--sps-deep); }
.sps-modal-body p { margin: 0 0 12px; }
.sps-modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 22px 22px; }

@media (max-width: 900px) {
  .sps-nav-links { display: none; }
  .sps-mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .sps-grid, .sps-legal-layout { grid-template-columns: 1fr; }
  .sps-aside, .sps-index { position: static; }
  .sps-footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .sps-container { width: min(100% - 22px, 1120px); }
  .sps-brand-copy { display: none; }
  .sps-hero { padding: 54px 0 44px; }
  .sps-main, .sps-legal-page { padding: 30px 0 54px; }
  .sps-form-grid { grid-template-columns: 1fr; gap: 0; }
  .sps-tabs { grid-template-columns: 1fr; }
  .sps-actions .sps-button { width: 100%; }
  .sps-data-row { grid-template-columns: 1fr; gap: 3px; }
  .sps-footer-main { grid-template-columns: 1fr; gap: 28px; }
  .sps-footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* =========================================================
   SPS | ATENCIÓN AL USUARIO
   Ajustes visuales amigables y corporativos
========================================================= */

:root {
  --sps-navy-950: #071624;
  --sps-navy-900: #0e2340;
  --sps-navy-800: #1a3a5c;
  --sps-blue-soft: #eef5f9;
  --sps-blue-light: #3e93b5;
  --sps-orange-soft: #fbf4ee;
  --sps-cream: #fdf9f5;
}

/* Logo principal */

.sps-brand img {
  width: 58px;
  height: 58px;
  padding: 3px;
  object-fit: contain;
  object-position: center;
  filter: none;
  background: transparent;
  border-radius: 14px;
}

/* Navegación */

.sps-nav {
  background:
    linear-gradient(
      90deg,
      rgba(8, 20, 38, 0.98),
      rgba(15, 31, 56, 0.98)
    );
}

.sps-nav-links {
  gap: 8px;
}

.sps-nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #dbe7f5;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.sps-nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.sps-nav-links a[aria-current="page"] {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #c0703c,
    #fb923c
  );
  box-shadow: 0 10px 28px rgba(192, 112, 60, 0.28);
}

.sps-nav-cta,
.sps-nav-cta:visited {
  color: #ffffff !important;
  border: 1px solid rgba(96, 165, 250, 0.6);
  background: rgba(31, 111, 146, 0.22);
}

/* Menú móvil */

.sps-mobile-menu a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #c0703c,
    #fb923c
  );
}

/* Hero de Atención al Usuario */

.sps-hero-friendly {
  padding: 72px 0 62px;
  background:
    radial-gradient(
      circle at 83% 18%,
      rgba(56, 189, 248, 0.25),
      transparent 24rem
    ),
    radial-gradient(
      circle at 8% 90%,
      rgba(192, 112, 60, 0.2),
      transparent 23rem
    ),
    linear-gradient(
      135deg,
      #0b1930 0%,
      #183c76 58%,
      #37336e 100%
    );
}

.sps-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.sps-hero-copy {
  position: relative;
  z-index: 3;
}

.sps-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 20px;
  color: #ffffff;
}

.sps-hero-copy p {
  max-width: 700px;
  color: #d7e3f3;
}

.sps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sps-hero-visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sps-hero-alma {
  position: relative;
  z-index: 3;
  display: block;
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 34px rgba(5, 14, 28, 0.4));
}

.sps-hero-watermark {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 4px;
  width: 220px;
  opacity: 0.075;
  pointer-events: none;
}

.sps-hero-watermark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.25) brightness(2.6);
}

.sps-hero-note {
  position: absolute;
  z-index: 4;
  left: -8px;
  bottom: 20px;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 20, 38, 0.76);
  color: #ffffff;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(5, 14, 28, 0.3);
}

.sps-hero-note strong {
  display: block;
  margin-bottom: 5px;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
}

.sps-hero-note span {
  display: block;
  color: #dbeafe;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Encabezado del formulario */

.sps-section-heading {
  margin-bottom: 22px;
}

.sps-section-eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #c0703c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Tarjeta principal */

.sps-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border-color: #d6e2ef;
}

.sps-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    #1f6f92,
    #38bdf8,
    #c0703c
  );
}

.sps-card-body {
  position: relative;
  z-index: 2;
}

/* Pestañas */

.sps-tabs {
  padding: 8px;
  border: 1px solid #d5e2f2;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    #edf5ff,
    #f7faff
  );
}

.sps-tab-button {
  min-height: 50px;
  padding: 11px 15px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.76);
  color: #24364e;
  font-weight: 800;
  transition:
    background 170ms ease,
    color 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.sps-tab-button:hover {
  background: #ffffff;
  color: #1f6f92;
  transform: translateY(-1px);
}

.sps-tab-button.active {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #1f6f92,
    #3b82f6
  );
  box-shadow: 0 10px 26px rgba(31, 111, 146, 0.24);
}

/* Campos */

.sps-field input,
.sps-field select,
.sps-field textarea {
  border-color: #c7d6e8;
  background: #ffffff;
}

.sps-field input:hover,
.sps-field select:hover,
.sps-field textarea:hover {
  border-color: #93b4db;
}

.sps-consent {
  border-color: #bfd7f6;
  background: linear-gradient(
    180deg,
    #eef6ff,
    #f8fbff
  );
}

/* Botones: corrige el texto invisible */

.sps-button {
  font-weight: 800;
  line-height: 1.2;
}

.sps-button,
.sps-button:hover,
.sps-button:visited,
.sps-button:active {
  text-decoration: none;
}

.sps-button-primary,
.sps-button-primary:visited,
.sps-button-primary:active {
  color: #ffffff !important;
  border: 1px solid #1f6f92;
  background: linear-gradient(
    135deg,
    #1f6f92,
    #3b82f6
  );
  box-shadow: 0 13px 28px rgba(31, 111, 146, 0.22);
}

.sps-button-primary:hover {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #1d4ed8,
    #1f6f92
  );
}

.sps-button-primary svg {
  color: #ffffff;
  stroke: currentColor;
}

.sps-button-secondary,
.sps-button-secondary:visited,
.sps-button-secondary:active {
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(11, 27, 46, 0.08);
}

.sps-button-secondary:hover {
  color: #1e40af !important;
  background: #eff6ff;
}

.sps-button-outline,
.sps-button-outline:visited,
.sps-button-outline:active {
  color: #1d4ed8 !important;
  border: 1px solid #93c5fd;
  background: #ffffff;
}

.sps-button-outline:hover {
  color: #1e40af !important;
  background: #eff6ff;
}

.sps-actions .sps-button {
  min-width: 220px;
}

/* Resultados */

.sps-result {
  border-color: #a7e3c0;
  background: linear-gradient(
    135deg,
    #effdf5,
    #ffffff
  );
}

.sps-radicado {
  border-color: #60a5fa;
  background: #ffffff;
}

/* Tarjetas laterales */

.sps-aside-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border-color: #d8e4f1;
  background: linear-gradient(
    180deg,
    #ffffff,
    #f8fbff
  );
  box-shadow: 0 14px 32px rgba(11, 27, 46, 0.06);
}

.sps-guide-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border-color: #cfe2ec;
  background: linear-gradient(
    135deg,
    #eef5f9,
    #ffffff
  );
}

.sps-guide-alma {
  display: block;
  width: 105px;
  height: 105px;
  object-fit: contain;
  filter:
    drop-shadow(0 13px 18px rgba(11, 27, 46, 0.18));
}

.sps-aside-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #1f6f92,
    #38bdf8
  );
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Marca de agua en el pie de página */

.sps-footer {
  position: relative;
  overflow: hidden;
}

.sps-footer::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -65px;
  width: 250px;
  height: 250px;
  background:
    url("../img/marca/logotipo-sps.png")
    no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
}

.sps-footer-main,
.sps-footer-bottom {
  position: relative;
  z-index: 2;
}

.sps-social-link {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.sps-social-link:hover {
  border-color: #60a5fa;
  background: rgba(31, 111, 146, 0.23);
}

/* Páginas legales */

.sps-legal-article .sps-button-primary,
.sps-legal-article .sps-button-primary:visited {
  color: #ffffff !important;
}

.sps-legal-note {
  border-left-color: #c0703c;
  background: var(--sps-orange-soft);
}

/* Adaptación para tablet */

@media (max-width: 900px) {

  .sps-hero-grid {
    grid-template-columns: 1fr;
  }

  .sps-hero-copy {
    text-align: left;
  }

  .sps-hero-visual {
    min-height: 340px;
    justify-content: center;
  }

  .sps-hero-note {
    left: 0;
    bottom: 8px;
  }

}

/* Adaptación para celular */

@media (max-width: 640px) {

  .sps-brand img {
    width: 46px;
    height: 46px;
  }

  .sps-hero-friendly {
    padding: 52px 0 46px;
  }

  .sps-hero-actions {
    flex-direction: column;
  }

  .sps-hero-actions .sps-button,
  .sps-actions .sps-button {
    width: 100%;
    min-width: 0;
  }

  .sps-hero-visual {
    min-height: 320px;
  }

  .sps-hero-alma {
    width: min(100%, 310px);
  }

  .sps-hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -12px;
    max-width: 100%;
  }

  .sps-guide-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sps-guide-alma {
    margin: 0 auto;
  }

}


/* =====================================================================
 * Ilustraciones de ALMA
 * Se apoyan en el entorno con una sombra suave y un halo tenue en lugar
 * de quedar como un recorte pegado sobre el fondo.
 * ===================================================================== */
.sps-hero-visual { position: relative; }

.sps-hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 6%;
  width: 62%;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(5, 14, 28, 0.45), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.sps-hero-alma {
  filter:
    drop-shadow(0 26px 30px rgba(5, 14, 28, 0.45))
    drop-shadow(0 0 26px rgba(62, 147, 181, 0.18));
}

.sps-guide-alma {
  filter:
    drop-shadow(0 12px 16px rgba(11, 27, 46, 0.16))
    drop-shadow(0 0 14px rgba(62, 147, 181, 0.14));
}
