@charset "UTF-8";
/* ============================================================
   SaludTI · hoja de estilo única del sitio
   https://saludti.es/  ·  assets/saludti.css
   Sin dependencias externas: ni fuentes, ni iconos, ni CDN.
   Cada componente se define una sola vez y se usa en todas las páginas.
   Color de marca: cambia --st-primary (y --st-primary-hover).
   ============================================================ */

/* ---------- 1. Variables ---------- */
:root {
  --st-primary: #1E5EFF;        /* azul SaludTI: 5,1:1 sobre blanco */
  --st-primary-hover: #1747C7;  /* versión oscura para hover y para texto sobre panel */
  --st-ink: #1F2A24;
  --st-grey: #6B7570;           /* gris de apoyo: solo sobre fondo blanco */
  --st-grey-soft: #56605B;      /* gris de apoyo sobre --st-panel (el #6B7570 no llega a AA ahí) */
  --st-bg: #FFFFFF;
  --st-panel: #F3F6FB;
  --st-accent: #C4643C;         /* solo Challenge: filetes y detalles */
  --st-accent-ink: #8F4526;     /* solo Challenge: el accent en texto (6,9:1 sobre blanco) */
  --st-border: #D9DFE8;
  --st-field-border: #6B7570;
  --st-error: #B42318;
  --st-error-bg: #FDF1F0;
  --st-success: #146C43;
  --st-success-bg: #EEF7F2;
  --st-warn-bg: #FFF7E6;
  --st-warn-border: #B25E09;

  --st-radius: 8px;
  --st-max: 1200px;
  --st-gap: 1.5rem;
  --st-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Escala tipográfica: cinco tamaños */
  --st-fs-1: clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  --st-fs-2: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  --st-fs-3: 1.1875rem;
  --st-fs-4: 1.0625rem;
  --st-fs-5: 0.9375rem;
}

/* ---------- 2. Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--st-font);
  font-size: var(--st-fs-4);
  font-weight: 400;
  line-height: 1.6;
  color: var(--st-ink);
  background: var(--st-bg);
  overflow-wrap: break-word;
}
*, *::before, *::after { box-sizing: border-box; }

/* Base con :where() (especificidad 0) para que los componentes siempre ganen. */
:where(h1, h2, h3) { margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--st-ink); }
:where(h1) { font-size: var(--st-fs-1); letter-spacing: -0.02em; }
:where(h2) { font-size: var(--st-fs-2); }
:where(h3) { font-size: var(--st-fs-3); }
:where(p) { margin: 0 0 1em; }
:where(ul, ol) { margin: 0 0 1em; padding-left: 1.25rem; }
:where(li) { margin-bottom: 0.4em; }
:where(li)::marker { color: var(--st-primary); }
:where(a) { color: var(--st-primary); text-underline-offset: 0.15em; transition: color 150ms ease; }
:where(a):hover { color: var(--st-primary-hover); }
:where(strong) { font-weight: 700; }
:where(img, svg) { max-width: 100%; }
:focus-visible { outline: 3px solid var(--st-primary); outline-offset: 3px; border-radius: 2px; }

/* ---------- 3. Utilidades ---------- */
.st-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.st-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 30;
  background: var(--st-ink); color: #FFFFFF; padding: 0.75rem 1rem; border-radius: var(--st-radius);
  font-weight: 600; text-decoration: none;
}
.st-skip:focus { top: 1rem; color: #FFFFFF; }

.st-wrap { max-width: var(--st-max); margin: 0 auto; padding: 0 1.25rem; }
.st-narrow { max-width: 46rem; }
.st-lead { font-size: var(--st-fs-3); line-height: 1.55; }
.st-muted { color: var(--st-grey); }
.st-small { font-size: var(--st-fs-5); }
.st-nowrap { white-space: nowrap; }
.st-mt { margin-top: 2rem; }

.st-section { padding: 3.5rem 0; }
.st-section--soft { background: var(--st-panel); }
.st-section--soft .st-muted { color: var(--st-grey-soft); }
.st-eyebrow {
  display: block; margin: 0 0 0.75rem; font-size: var(--st-fs-5); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-primary);
}
.st-section--soft .st-eyebrow { color: var(--st-primary-hover); }
.st-subhead { margin-top: 2.5rem; }

/* ---------- 4. Rejilla de 12 columnas ---------- */
.st-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--st-gap); }
.st-row > * { grid-column: 1 / -1; min-width: 0; }

/* ---------- 5. Cabecera y menú ---------- */
.st-header { position: relative; z-index: 20; border-bottom: 1px solid var(--st-border); background: var(--st-bg); }
.st-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.st-brand, .st-brand:hover { display: inline-flex; align-items: baseline; gap: 0.4rem; font-weight: 800; font-size: 1.3125rem; color: var(--st-ink); text-decoration: none; letter-spacing: -0.01em; }
.st-brand span { font-weight: 500; font-size: var(--st-fs-5); color: var(--st-grey); }

.st-burger {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.875rem;
  border: 1px solid var(--st-border); border-radius: var(--st-radius);
  background: var(--st-bg); color: var(--st-ink); font: inherit; font-size: var(--st-fs-5); font-weight: 600; cursor: pointer;
}
.st-burger-box { position: relative; display: block; width: 18px; height: 12px; }
.st-burger-box::before, .st-burger-box::after, .st-burger-box span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
}
.st-burger-box::before { top: 0; }
.st-burger-box span { top: 5px; }
.st-burger-box::after { bottom: 0; }

.st-nav { display: none; width: 100%; }
.st-nav.st-open { display: block; padding: 0.5rem 0 1.25rem; }
.st-nav-list { list-style: none; margin: 0; padding: 0; }
.st-nav-list > li { margin: 0; }
.st-nav-list a { display: block; padding: 0.625rem 0; font-weight: 600; font-size: var(--st-fs-5); color: var(--st-ink); text-decoration: none; }
.st-nav-list a:hover { color: var(--st-primary); }
.st-nav-list a[aria-current="page"] { color: var(--st-primary); }
.st-nav-cta-item { margin-top: 0.75rem !important; }
.st-nav-cta-item a, .st-nav-cta-item a:hover { display: inline-flex; color: #FFFFFF; }

.st-has-sub { position: relative; padding-right: 3rem; }
.st-sub-toggle {
  position: absolute; right: 0; top: 0.25rem; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--st-ink); cursor: pointer;
}
.st-sub-toggle svg { transition: transform 150ms ease; }
.st-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.st-subnav { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 1rem; border-left: 2px solid var(--st-border); }
.st-subnav a { font-weight: 500; }

/* ---------- 6. Botones ---------- */
.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border: 2px solid var(--st-primary); border-radius: var(--st-radius);
  font: inherit; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.st-btn-primary { background: var(--st-primary); color: #FFFFFF; }
.st-btn-primary:hover { background: var(--st-primary-hover); border-color: var(--st-primary-hover); color: #FFFFFF; }
.st-btn-secondary { background: #FFFFFF; color: var(--st-primary); }
.st-btn-secondary:hover { background: var(--st-panel); color: var(--st-primary-hover); border-color: var(--st-primary-hover); }
.st-btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.st-btn-small { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--st-fs-5); }
.st-actions { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0 1.5rem; }

/* ---------- 7. Hero ---------- */
.st-hero { padding: 3.5rem 0 3rem; }
.st-hero h1 { max-width: 20ch; }
.st-hero .st-lead { max-width: 46rem; }
.st-hero-note { max-width: 46rem; margin: 0; }

/* ---------- 8. Tarjeta de servicio ---------- */
.st-services { display: grid; grid-template-columns: 1fr; gap: var(--st-gap); margin-top: 2.5rem; }
.st-service {
  display: flex; flex-direction: column;
  background: #FFFFFF; border: 1px solid var(--st-border); border-radius: var(--st-radius);
  padding: 1.75rem 1.5rem 1.5rem;
}
.st-service-icon { display: block; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: var(--st-primary); }
.st-service h3 { font-size: 1.3125rem; }
.st-service ul { margin: 0 0 1.25rem; padding-left: 1.125rem; font-size: var(--st-fs-5); }
.st-service .st-service-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.st-service .st-service-link:hover { text-decoration: underline; }
.st-service .st-service-link::after { content: " \2192"; }

/* ---------- 9. Tarjeta genérica y columnas ---------- */
.st-cols { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
.st-card { background: #FFFFFF; border: 1px solid var(--st-border); border-radius: var(--st-radius); padding: 1.5rem 1.5rem 0.75rem; }
.st-card-kicker { display: block; font-size: var(--st-fs-5); font-weight: 600; color: var(--st-grey); margin: -0.25rem 0 1rem; }
.st-card-icon { display: block; width: 2rem; height: 2rem; margin-bottom: 0.75rem; color: var(--st-primary); }

/* ---------- 10. Tarjeta de challenge ---------- */
.st-challenges { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.st-challenge-card {
  display: flex; flex-direction: column;
  background: #FFFFFF; border: 1px solid var(--st-border); border-top: 4px solid var(--st-accent);
  border-radius: var(--st-radius); padding: 1.75rem 1.5rem 1.5rem;
}
.st-badge {
  display: inline-block; margin: 0 0 0.75rem; padding: 0.25rem 0.625rem;
  border: 1px solid var(--st-accent); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--st-accent-ink);
}
.st-badge--cerrado { border-color: var(--st-border); color: var(--st-grey-soft); }
.st-challenge-card h3 { font-size: 1.3125rem; }
.st-facts { list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: var(--st-fs-5); }
.st-facts li { margin: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--st-border); }
.st-facts li:last-child { border-bottom: 0; }
.st-facts b { display: block; font-weight: 700; color: var(--st-grey-soft); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.st-challenge-card .st-btn { margin-top: auto; align-self: flex-start; }

/* ---------- 11. Cifras ---------- */
.st-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.st-stats li { margin: 0; padding-top: 1rem; border-top: 3px solid var(--st-primary); }
.st-stat-num { display: block; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--st-ink); white-space: nowrap; }
.st-stat-label { display: block; margin-top: 0.4rem; font-size: var(--st-fs-5); line-height: 1.45; color: var(--st-grey-soft); }
.st-stat-sup { font-size: 0.55em; vertical-align: 0.55em; }

/* ---------- 12. Pasos y listas numeradas ---------- */
.st-steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: st-paso; display: grid; gap: 1.75rem; }
.st-steps > li { counter-increment: st-paso; position: relative; margin: 0; padding-left: 3.5rem; }
.st-steps > li::before {
  content: counter(st-paso); position: absolute; left: 0; top: -0.1rem;
  width: 2.375rem; height: 2.375rem; border-radius: 50%;
  background: var(--st-primary); color: #FFFFFF; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.st-steps h3 { margin-bottom: 0.25rem; }
.st-steps p { margin: 0; }

.st-reqs { counter-reset: st-req; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.st-reqs li { counter-increment: st-req; position: relative; padding: 1rem 0 1rem 2.75rem; margin: 0; border-bottom: 1px solid var(--st-border); }
.st-reqs li:last-child { border-bottom: 0; }
.st-reqs li::before { content: counter(st-req) "."; position: absolute; left: 0; top: 1rem; width: 2rem; font-weight: 800; color: var(--st-primary); }

/* ---------- 13. Tablas ---------- */
.st-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #FFFFFF;
  margin: 1.5rem 0 0.5rem;
}
.st-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.st-table--reglas { min-width: 44rem; }
.st-table--resultados { min-width: 66rem; }
.st-table--metricas { min-width: 46rem; }
.st-table--compras { min-width: 40rem; }
.st-table--metodologias { min-width: 44rem; }
.st-table caption { text-align: left; }
.st-table th, .st-table td { padding: 0.875rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--st-border); }
.st-table thead th { background: var(--st-panel); font-size: var(--st-fs-5); font-weight: 700; vertical-align: bottom; }
.st-table tbody tr:last-child > * { border-bottom: 0; }
.st-table tbody th { font-weight: 600; }
.st-table .st-num { text-align: right; font-variant-numeric: tabular-nums; }
.st-table td.st-num { white-space: nowrap; }
.st-table .st-nowrap { white-space: nowrap; }
.st-scroll-hint { font-size: 0.875rem; margin: 0 0 1rem; }
/* Bloques de resultados que pinta saludti.js */
.st-ciclo { margin-top: 2rem; }
.st-ciclo h3 { margin-bottom: 0; }
.st-ciclo-nota { margin-top: 0.5rem; }

/* ---------- 14. Avisos y bloques destacados ---------- */
.st-callout { margin: 2rem 0 0; padding: 1.25rem 1.5rem 0.5rem; border-left: 4px solid var(--st-error); background: var(--st-error-bg); border-radius: 0 var(--st-radius) var(--st-radius) 0; }
.st-callout h3 { font-size: var(--st-fs-4); }
.st-kv { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--st-border); border-radius: var(--st-radius); }
.st-kv p { margin: 0; }
.st-note { margin: 2.25rem 0 0; padding: 1rem 1.25rem; background: var(--st-panel); border-radius: var(--st-radius); }
.st-section--soft .st-note { background: #FFFFFF; }

/* ---------- 15. Banda de CTA ---------- */
.st-band { background: var(--st-ink); color: #FFFFFF; padding: 2.5rem 0; }
.st-band h2, .st-band h3 { color: #FFFFFF; }
.st-band p { color: #E6EAE8; }
.st-band a:not(.st-btn) { color: #FFFFFF; }
.st-band .st-actions { margin-bottom: 0; }
.st-band .st-btn-secondary { border-color: #FFFFFF; }
.st-band--challenge { background: var(--st-accent-ink); }
.st-band--challenge .st-btn-primary { background: #FFFFFF; border-color: #FFFFFF; color: var(--st-accent-ink); }
.st-band--challenge .st-btn-primary:hover { background: var(--st-panel); border-color: var(--st-panel); color: var(--st-accent-ink); }
.st-band-facts { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-weight: 600; }
.st-band-facts li { margin: 0; }

/* ---------- 16. Formularios ---------- */
.st-form { margin-top: 2rem; }
.st-form-note { font-size: var(--st-fs-5); }
.st-grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
.st-field, .st-fieldset { margin: 0 0 1.5rem; }
.st-fieldset { border: 0; padding: 0; min-width: 0; }
.st-label, .st-fieldset legend { display: block; margin: 0 0 0.375rem; padding: 0; font-weight: 600; line-height: 1.4; }
.st-req { color: var(--st-error); font-weight: 700; }
.st-hint { margin: -0.125rem 0 0.5rem; font-size: var(--st-fs-5); color: var(--st-grey); line-height: 1.45; }
.st-input {
  display: block; width: 100%; min-height: 48px; margin: 0;
  padding: 0.6875rem 0.875rem; border: 1px solid var(--st-field-border); border-radius: 6px;
  background: #FFFFFF; color: var(--st-ink); font: inherit; line-height: 1.45;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
select.st-input {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, #1F2A24 50%), linear-gradient(135deg, #1F2A24 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
textarea.st-input { resize: vertical; min-height: 7rem; }
textarea.st-input--short { min-height: 5rem; }
.st-input::placeholder { color: var(--st-grey); opacity: 1; }
.st-input:hover { border-color: var(--st-ink); }
.st-input:focus-visible { outline: 3px solid var(--st-primary); outline-offset: 1px; border-color: var(--st-primary); }
.st-input[aria-invalid="true"] { border-color: var(--st-error); box-shadow: inset 0 0 0 1px var(--st-error); }
.st-counter { margin: 0.375rem 0 0; font-size: 0.875rem; color: var(--st-grey); text-align: right; }
.st-sub-fields { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.st-sub-fields .st-field { margin-bottom: 1rem; }
.st-sub-fields .st-label { font-weight: 500; font-size: var(--st-fs-5); }
/* Rejillas de compromisos: tantas columnas como quepan sin estrechar el campo. */
.st-sub-fields--5 { grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0 0.75rem; }
.st-fieldset--mes {
  margin: 0 0 0.75rem; padding: 1rem 1.25rem 0;
  border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #FFFFFF;
}
.st-fieldset--mes .st-mes-legend {
  margin: 0; padding: 0 0.5rem; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-grey-soft);
}
.st-choices { display: flex; flex-direction: column; gap: 0.25rem; }
.st-choice { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.375rem 0; }
.st-choice input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--st-primary); }
.st-choice label { margin: 0; font-weight: 400; cursor: pointer; }
.st-choice input[aria-invalid="true"] { outline: 2px solid var(--st-error); outline-offset: 2px; }
.st-error { margin: 0.375rem 0 0; color: var(--st-error); font-weight: 600; font-size: var(--st-fs-5); line-height: 1.45; }
.st-legal { margin: 2rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--st-border); }
.st-legal .st-choice label { font-weight: 600; }
.st-rgpd { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--st-grey); }
.st-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.st-alert { margin: 0 0 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--st-radius); border: 1px solid; }
.st-alert:focus-visible { outline-offset: 2px; }
.st-alert-title { margin: 0 0 0.5rem !important; font-weight: 700; font-size: 1.125rem; }
.st-alert p:last-child, .st-alert ul:last-child { margin-bottom: 0; }
.st-alert-error { background: var(--st-error-bg); border-color: var(--st-error); }
.st-alert-error a { color: var(--st-error); font-weight: 600; }
.st-alert-success { background: var(--st-success-bg); border-color: var(--st-success); }
.st-alert-success .st-alert-title { color: var(--st-success); margin: 0 !important; }
.st-alert-warn { background: var(--st-warn-bg); border-color: var(--st-warn-border); }
.st-alert-warn .st-input { margin-top: 0.5rem; font-size: var(--st-fs-5); }

/* ---------- 17. FAQ ---------- */
.st-faq { margin-top: 1.5rem; border-top: 1px solid var(--st-border); }
.st-faq details { border-bottom: 1px solid var(--st-border); }
.st-faq summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 1.125rem 2.5rem 1.125rem 0; font-weight: 600; line-height: 1.4;
  transition: color 150ms ease;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--st-primary);
}
.st-faq details[open] > summary::after { content: "\2212"; }
.st-faq summary:hover { color: var(--st-primary); }
.st-faq details > p, .st-faq details > ul { margin: 0 0 1.25rem; padding-right: 2.5rem; }
.st-faq details > ul { padding-left: 1.25rem; }

/* ---------- 18. Esquemas SVG ---------- */
.st-diagram { margin: 2rem 0 0; padding: 1.5rem; background: var(--st-panel); border-radius: var(--st-radius); }
.st-section--soft .st-diagram { background: #FFFFFF; border: 1px solid var(--st-border); }
.st-diagram svg { display: block; width: 100%; height: auto; }
.st-diagram figcaption { margin-top: 0.75rem; font-size: var(--st-fs-5); color: var(--st-grey-soft); }
.st-svg-box { fill: #FFFFFF; stroke: #D9DFE8; stroke-width: 1.5; }
.st-svg-box--on { fill: #F3F6FB; stroke: #1E5EFF; }
.st-svg-line { stroke: #6B7570; stroke-width: 1.5; fill: none; }
.st-svg-text { font-family: var(--st-font); font-size: 13px; fill: #1F2A24; }
.st-svg-text--small { font-size: 11px; fill: #56605B; }
.st-svg-text--head { font-size: 13px; font-weight: 700; fill: #1F2A24; }

/* ---------- 19. Pie ---------- */
.st-footer { padding: 3rem 0 2.5rem; background: var(--st-panel); border-top: 1px solid var(--st-border); font-size: var(--st-fs-5); }
.st-footer h2 { font-size: 1rem; margin-bottom: 0.75rem; }
.st-footer p { margin: 0 0 0.75rem; }
.st-footer ul { list-style: none; padding: 0; margin: 0; }
.st-footer li { margin: 0 0 0.5rem; }
.st-footer a { color: var(--st-primary-hover); }
.st-footer .st-muted { color: var(--st-grey-soft); }
.st-footer-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.st-footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--st-border); }
.st-footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.75rem; }
.st-footer-legal li { margin: 0; }
.st-social { display: flex; gap: 1rem; margin-top: 0.5rem; }
.st-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: #FFFFFF; }

/* ---------- 20. Aviso de cookies ---------- */
.st-cookies {
  position: sticky; bottom: 0; z-index: 10;
  background: #FFFFFF; border-top: 1px solid var(--st-border);
  box-shadow: 0 -2px 10px rgba(31, 42, 36, 0.08);
  font-size: 0.875rem; line-height: 1.45;
}
.st-cookies-inner { display: flex; align-items: center; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.st-cookies p { margin: 0; flex: 1 1 auto; }
.st-cookies .st-btn { flex: none; }

/* ---------- 21. Challenge: acento propio ---------- */
.st-challenge .st-eyebrow { color: var(--st-accent-ink); }
.st-challenge .st-stats li { border-top-color: var(--st-accent); }
.st-challenge .st-steps > li::before { background: var(--st-accent-ink); }
.st-challenge .st-reqs li::before { color: var(--st-accent-ink); }
.st-challenge .st-hero { border-top: 4px solid var(--st-accent); }

/* ---------- 22. Un solo breakpoint: 768 px ---------- */
@media (min-width: 768px) {
  .st-wrap { padding: 0 2rem; }
  .st-section { padding: 5rem 0; }
  .st-hero { padding: 5.5rem 0 4.5rem; }
  .st-band { padding: 3.5rem 0; }

  .st-burger { display: none; }
  .st-nav { display: block; width: auto; margin-left: auto; }
  .st-nav.st-open { padding: 0; }
  /* Se envuelve en vez de desbordar entre 768 px y el ancho en el que cabe entero. */
  .st-nav-list { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.25rem; }
  .st-nav-list a { padding: 0.5rem 0; }
  .st-has-sub { padding-right: 1.5rem; }
  .st-sub-toggle { top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; }
  .st-subnav {
    position: absolute; top: calc(100% + 0.25rem); left: -1rem; z-index: 25;
    min-width: 21rem; margin: 0; padding: 0.5rem 0;
    background: #FFFFFF; border: 1px solid var(--st-border); border-radius: var(--st-radius);
    box-shadow: 0 6px 18px rgba(31, 42, 36, 0.12);
  }
  .st-subnav a { padding: 0.5rem 1rem; }
  .st-subnav a:hover { background: var(--st-panel); }
  .st-nav-cta-item { margin-top: 0 !important; }

  .st-actions { flex-direction: row; flex-wrap: wrap; }
  .st-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-challenges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .st-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .st-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-grid-2 { grid-template-columns: 1fr 1fr; }
  .st-sub-fields { grid-template-columns: 1fr 1fr 1fr; }
  .st-sub-fields--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .st-choices--inline { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 2rem; }
  .st-scroll-hint { display: none; }
  .st-footer-cols { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  .st-cookies { font-size: var(--st-fs-5); }
  .st-cookies-inner { justify-content: space-between; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
