:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6573;
  --border: #dde1e7;
  --accent: #0f7b5f;
  --accent-hover: #0b6550;
  --accent-contrast: #ffffff;
  --accent-soft: #e3f2ed;
  --radius: 12px;
  --ancho: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151b;
    --surface: #1a2029;
    --text: #e6e9ee;
    --muted: #a3acb9;
    --border: #2c3440;
    --accent: #3fb68f;
    --accent-hover: #5cc9a3;
    --accent-contrast: #0b1410;
    --accent-soft: #16302a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

.encabezado { background: var(--surface); border-bottom: 1px solid var(--border); }
.encabezado .contenedor {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px;
}
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.encabezado nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.encabezado nav a { color: var(--text); text-decoration: none; }
.encabezado nav a:hover { color: var(--accent); }

.boton {
  display: inline-block; padding: 12px 20px; border: 2px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--accent-contrast); font-weight: 600; text-decoration: none;
}
.boton:hover, .encabezado nav a.boton:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
.encabezado nav a.boton { color: var(--accent-contrast); }
.boton-secundario { background: transparent; color: var(--accent); }
.boton-secundario:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.boton-chico { padding: 6px 16px; }

.hero { padding: 64px 0 48px; }
.etiqueta {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 0.875rem; font-weight: 600;
}
.hero h1 { max-width: 20ch; margin: 0 0 16px; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; }
.hero p { max-width: 60ch; margin: 0 0 24px; color: var(--muted); font-size: 1.15rem; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 48px 0; }
h2 { margin: 0 0 24px; font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.2; }
.grilla {
  display: grid; gap: 16px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.tarjeta { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.tarjeta h3 { margin: 0 0 8px; font-size: 1.1rem; }
.tarjeta p { margin: 0; color: var(--muted); }
.pasos { counter-reset: paso; }
.pasos .tarjeta::before {
  counter-increment: paso; content: counter(paso);
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px;
  border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-weight: 700;
}
.contacto { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contacto p { max-width: 60ch; color: var(--muted); }

.legal { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; }
.legal h2 { margin: 32px 0 8px; font-size: 1.3rem; }
.legal .actualizado { margin-top: 0; color: var(--muted); }
.legal li { margin-bottom: 6px; }

.centrado { padding-top: 96px; padding-bottom: 96px; text-align: center; }

.pie { padding: 32px 0; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.pie p { margin: 0 0 4px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
