/* ==========================================================================
   SICE — Landing page
   Paleta definitiva extraída del logo real de SICE.
   Sin frameworks: HTML/CSS/JS puro, optimizado para carga estática.
   ========================================================================== */

:root {
  /* Colores de marca SICE — paleta definitiva */
  --primary: #3a8164;
  --primary-strong: #2c6350;
  --on-primary: #ffffff;

  /* Semánticos */
  --success: #56a482;
  --warning: #b6720d;
  --danger: #a3403c;
  --info: #2f6fa8;
  --inactive: #6b7480;

  /* Semánticos — variantes para secciones oscuras (.section--dark) */
  --dark-success: #56a482;
  --dark-warning: #e2a53a;
  --dark-danger: #c17067;
  --dark-info: #5b9bd6;
  --dark-inactive: #9aa3b0;

  /* Fondos */
  --bg: #ffffff;
  --bg-alt: #fefefd;
  --surface-1: #f9f8fe;
  --surface-2: #f5fafa;
  --surface-3: #eff2f7;
  --border: #e6e6e6;
  --border-strong: #d9d9d9;

  /* Texto */
  --text: #1c2129;
  --text-muted: #5b6270;
  --text-faint: #a6a6a6;

  --danger-bg: #f7ece9;

  /* Modo oscuro */
  --dark-bg: #1b2028;
  --dark-surface: #313846;
  --dark-surface-alt: #3b4453;
  --dark-primary: #4f9078;
  --dark-primary-strong: #66ab8f;
  --dark-text: #ffffff;
  --dark-text-muted: #c3cad6;
  --dark-border: rgba(255, 255, 255, 0.12);
  --dark-input-bg: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-1: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, 0.16);

  --container-max: 1200px;
  --gutter: 24px;
  --section-pad: 96px;
}

/* --------------------------------------------------------------------- */
/* Reset base                                                             */
/* --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section--muted {
  background: var(--surface-2);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: rgba(58, 129, 100, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section--dark .eyebrow {
  color: var(--dark-primary);
  background: rgba(79, 144, 120, 0.16);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.section--dark .section-head p {
  color: var(--dark-text-muted);
}

/* --------------------------------------------------------------------- */
/* Botones                                                                */
/* --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-1);
}

.btn--primary:hover {
  background: var(--primary-strong);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--dark-border);
  color: var(--dark-text);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* --------------------------------------------------------------------- */
/* Header                                                                 */
/* --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

.logo__img {
  height: 63px;
  width: auto;
  display: block;
}

.logo--inverse {
  color: var(--dark-text);
}

.logo__badge {
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 10px 16px;
}

.logo__badge .logo__img {
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  color: var(--primary-strong);
  background: rgba(58, 129, 100, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --------------------------------------------------------------------- */
/* Hero                                                                   */
/* --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 var(--section-pad);
  overflow: hidden;
  background: linear-gradient(160deg, #eaf4ef 0%, #ffffff 55%);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: rgba(58, 129, 100, 0.22);
  top: -140px;
  right: -100px;
}

.hero__blob--2 {
  width: 320px;
  height: 320px;
  background: rgba(47, 111, 168, 0.12);
  bottom: -120px;
  left: -100px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary-strong);
}

.hero__lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 46ch;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------- */
/* Mockup con imagen real (placeholder hasta tener capturas del sistema)  */
/* --------------------------------------------------------------------- */
.mockup-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-3);
  line-height: 0;
}

.mockup-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------- */
/* Franja de confianza                                                   */
/* --------------------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  padding: 32px 0;
}

.trust__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}

.trust__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------- */
/* Antes / Después                                                       */
/* --------------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare__panel {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.compare__panel--after {
  border: 2px solid rgba(58, 129, 100, 0.4);
  box-shadow: var(--shadow-2);
  background: var(--bg);
}

.compare__panel--before {
  background: var(--surface-2);
}

.compare__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.compare__tag--before {
  color: var(--danger);
  background: var(--danger-bg);
}

.compare__tag--after {
  color: var(--primary-strong);
  background: rgba(58, 129, 100, 0.14);
}

.compare__list li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.compare__list li:last-child {
  margin-bottom: 0;
}

.compare__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.compare__panel--before svg {
  color: var(--danger);
}

.compare__panel--after svg {
  color: var(--primary);
}

.compare__list h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.compare__list p {
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------- */
/* Feature rows (alternadas, con mockup)                                 */
/* --------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.feature-row + .feature-row {
  border-top: 1px solid var(--border);
}

.section--dark .feature-row + .feature-row {
  border-top-color: var(--dark-border);
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(58, 129, 100, 0.14);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section--dark .feature-row__icon {
  background: rgba(79, 144, 120, 0.18);
  color: var(--dark-primary);
}

.feature-row h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.feature-row p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.section--dark .feature-row p {
  color: var(--dark-text-muted);
}

.feature-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-row__tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.section--dark .feature-row__tags span {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  color: var(--dark-text-muted);
}

/* --------------------------------------------------------------------- */
/* Proceso (3 pasos)                                                     */
/* --------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--border-strong);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-strong);
  margin: 0 auto 18px;
  box-shadow: var(--shadow-1);
}

.step--active .step__num {
  background: var(--primary);
  color: var(--on-primary);
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------- */
/* Por qué SICE                                                          */
/* --------------------------------------------------------------------- */
.why {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why__card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.why__card:hover {
  border-color: rgba(58, 129, 100, 0.4);
  box-shadow: var(--shadow-1);
}

.why__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(58, 129, 100, 0.14);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why__card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why__card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------- */
/* Planes / Precios                                                      */
/* --------------------------------------------------------------------- */
.pricing__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--warning);
  background: rgba(182, 114, 13, 0.1);
  border: 1px solid rgba(182, 114, 13, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 24px;
}

.pricing__banner svg {
  flex-shrink: 0;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.pricing__card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.pricing__card--highlight {
  border: 2px solid rgba(58, 129, 100, 0.4);
  box-shadow: var(--shadow-2);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.pricing__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.pricing__price-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing__price-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.pricing__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing__amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-strong);
}

.pricing__amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing__amount-old {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: line-through;
}

.pricing__amount-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--warning);
  background: rgba(182, 114, 13, 0.14);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.pricing__features li:last-child {
  margin-bottom: 0;
}

.pricing__features svg {
  flex-shrink: 0;
}

.pricing__features .is-yes svg {
  color: var(--primary);
}

.pricing__features .is-no {
  color: var(--text-faint);
}

.pricing__features .is-no svg {
  color: var(--text-faint);
}

.pricing__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pricing__shared {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
}

.pricing__shared-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing__shared-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.pricing__cta {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------- */
/* Solicitar demo                                                        */
/* --------------------------------------------------------------------- */
.demo-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-1);
}

.demo-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.demo-form__field--full {
  grid-column: 1 / -1;
}

.demo-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.demo-form__field label span {
  font-weight: 400;
  color: var(--text-faint);
}

.demo-form__field input,
.demo-form__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-form__field input:focus,
.demo-form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 129, 100, 0.14);
}

.demo-form__field textarea {
  resize: vertical;
  min-height: 90px;
}

.demo-form__actions {
  margin-top: 28px;
  text-align: center;
}

.demo-form__actions .btn {
  width: 100%;
}

.demo-form__thanks {
  text-align: center;
  padding: 20px 0;
}

.demo-form__thanks svg {
  color: var(--primary);
  margin-bottom: 16px;
}

.demo-form__thanks h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-form__thanks p {
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 640px) {
  .demo-form-wrap {
    padding: 28px 20px;
  }

  .demo-form__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------- */
/* Footer / CTA final (oscuro)                                           */
/* --------------------------------------------------------------------- */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.footer__cta {
  text-align: center;
  padding: var(--section-pad) 0 64px;
  border-bottom: 1px solid var(--dark-border);
}

.footer__cta h2 {
  font-size: 38px;
  color: var(--dark-text);
  max-width: 640px;
  margin: 0 auto 16px;
}

.footer__cta p {
  color: var(--dark-text-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 36px;
}

.footer__contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}

.footer__contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-text-muted);
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer__contact-info a:hover {
  color: var(--dark-text);
}

.footer__bottom {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__brand small {
  color: var(--dark-text-muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--dark-text-muted);
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--dark-text);
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 144, 120, 0.14);
  border: 1px solid rgba(79, 144, 120, 0.3);
  color: var(--dark-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.footer__whatsapp:hover {
  background: var(--dark-primary);
  color: var(--dark-bg);
}

/* --------------------------------------------------------------------- */
/* Animación de entrada al hacer scroll                                  */
/* --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------- */
/* Responsive                                                            */
/* --------------------------------------------------------------------- */
@media (max-width: 960px) {
  :root {
    --section-pad: 64px;
  }

  .hero__grid,
  .compare,
  .feature-row,
  .steps,
  .pricing {
    grid-template-columns: 1fr;
  }

  .pricing__badge {
    right: 24px;
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .feature-row {
    padding: 40px 0;
  }

  .steps::before {
    display: none;
  }

  .why {
    gap: 12px;
  }

  .nav,
  .header__actions .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-head h2,
  h2 {
    font-size: 26px;
  }

  .footer__cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .trust__row {
    gap: 20px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------- */
/* Páginas legales (Privacidad / Términos)                               */
/* --------------------------------------------------------------------- */
.legal-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.legal-hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.legal-hero p {
  color: var(--text-muted);
  font-size: 15px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 0;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-content a {
  color: var(--primary-strong);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------- */
/* Botón scroll-to-top                                                    */
/* --------------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 90;
}

.scroll-top:hover {
  background: var(--primary-strong);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
