:root {
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --brand: #1c4e80;
  --brand-dark: #143a60;
  --wa: #128c4a;
  --wa-dark: #0e6f3b;
  --radius: 14px;
  --maxw: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}

.logo img { flex: none; height: 28px; width: auto; }

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.header-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.header-links a:hover { color: var(--ink); }

.header-links .only-wide { display: none; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--ink-faint); }

/* ---------- hero ---------- */

.hero { padding: 56px 0 48px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
  background: #eef4fb;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 20px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 750;
}

.hero .lead {
  margin: 0 0 28px;
  font-size: clamp(17px, 4.4vw, 20px);
  color: var(--ink-soft);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- secciones ---------- */

section { padding: 48px 0; }

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 5.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}

.section-lead {
  margin: 0 0 32px;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* ---------- grillas ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 650;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef4fb;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- pasos ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: paso;
}

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.steps li::before {
  counter-increment: paso;
  content: counter(paso);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 6px 0 4px;
  font-size: 17px;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- listas de chequeo ---------- */

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-soft);
}

.checks svg { margin-top: 5px; }

/* ---------- honestidad ---------- */

.plain {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}

.plain h2 { font-size: clamp(21px, 5vw, 26px); }

.plain ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.plain li { margin-bottom: 8px; }

/* ---------- contacto ---------- */

.contact-box {
  display: grid;
  gap: 22px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
  font-weight: 600;
}

.contact-list dd {
  margin: 2px 0 0;
  font-size: 17px;
}

.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--ink-faint);
  font-size: 15px;
}

.site-footer .wrap {
  display: grid;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- páginas de texto legal ---------- */

.doc { padding: 40px 0 56px; }

.doc h1 {
  font-size: clamp(26px, 6vw, 36px);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--ink-faint);
  font-size: 15px;
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 21px;
  margin: 34px 0 10px;
}

.doc p, .doc li { color: var(--ink-soft); }

.doc ul { padding-left: 20px; }

.doc li { margin-bottom: 7px; }

.doc .back {
  display: inline-block;
  margin-top: 36px;
  font-weight: 600;
  text-decoration: none;
}

.doc .back:hover { text-decoration: underline; }

/* ---------- escritorio ---------- */

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .header-links .only-wide { display: inline; }
  section { padding: 64px 0; }
  .hero { padding: 76px 0 64px; }
  .contact-box { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Data Fiscal (F960/D). Obligatorio y tiene que estar visible: nada de
   esconderlo en una pagina interna ni detras de un desplegable. */
.footer-fiscal { font-size: 13px; opacity: .85; margin-top: 4px; }
.data-fiscal { display: inline-block; margin-top: 12px; }
.data-fiscal img { display: block; }
