/* DESCmx. — hoja de estilos del sitio */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --ink: #16191d;
  --ink-2: #3a4048;
  --muted: #69707a;
  --line: #e1e4e8;
  --line-strong: #c9ced5;
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --accent: #1b4f8f;
  --accent-ink: #133a6b;
  --accent-soft: #e8eef6;

  --sans: "Aptos", "Inter Tight", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Aptos Display", "Aptos", "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Aptos Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; }

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

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--accent); }

.nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Elementos comunes ---------- */

.label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { font-family: var(--mono); font-size: 14px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--bg-2); }

.section-head {
  margin-bottom: clamp(32px, 4.5vw, 52px);
  max-width: 760px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 56ch; }

/* ---------- Portada ---------- */

.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 18px 0 26px;
  max-width: 15ch;
}
.hero .lede {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 36px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.factsheet {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  margin-top: 8px;
}
.factsheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.factsheet dl { margin: 0; }
.factsheet .row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.factsheet .row:last-child { border-bottom: 0; }
.factsheet dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.factsheet dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.factsheet dd a { color: var(--ink); }
.factsheet dd a:hover { color: var(--accent); }
.mono { font-family: var(--mono); font-size: 0.94em; letter-spacing: 0; }

/* Lista numerada de servicios */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.index-list .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.index-list h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
.index-list p { margin: 0; color: var(--ink-2); }
.more { margin-top: 32px; }
.more a { font-weight: 500; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* Tres columnas */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.col { border-top: 1px solid var(--ink); padding-top: 22px; }
.col h3 { font-size: 20px; margin: 10px 0 10px; letter-spacing: -0.015em; }
.col p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Banda final */
.band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); max-width: 22ch; }
.band p { color: #b9bfc7; margin: 12px 0 0; max-width: 50ch; }
.band .label { color: #8d949d; }
.band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }

/* ---------- Páginas interiores ---------- */

.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.032em; margin: 16px 0 20px; }
.page-head p { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 60ch; margin: 0; }

.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 56px; padding: clamp(40px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service .num { font-family: var(--mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 12px; }
.service h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.18; }
.service p { color: var(--ink-2); }
.includes { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.includes li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 1.5px; background: var(--accent); }

.audience { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; }
.audience h2 { font-size: clamp(24px, 2.6vw, 30px); }
.audience ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.audience li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }

/* Soporte */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); }
.channel { padding: 28px 28px 30px; border-right: 1px solid var(--line-strong); }
.channel:last-child { border-right: 0; }
.channel .value { display: block; font-family: var(--display); font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.015em; margin-top: 14px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; }
a.value:hover { color: var(--accent); }
.channel .sub { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
.steps strong { display: block; font-weight: 600; font-size: 18px; }
.steps span { color: var(--ink-2); font-size: 16px; }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; }
.two-col h2 { font-size: clamp(24px, 2.6vw, 30px); }
.two-col .aside-text { color: var(--ink-2); margin-top: 14px; }

.notice { margin-top: 32px; padding: 18px 20px; background: var(--bg-2); border-left: 2px solid var(--accent); font-size: 15.5px; color: var(--ink-2); }
.notice strong { color: var(--ink); }

/* Aviso de privacidad */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px 64px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.legal-body { max-width: 72ch; }
.legal-body section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.legal-body h2 .n { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; min-width: 28px; }
.legal-body h3 { font-size: 17px; margin: 22px 0 8px; letter-spacing: -0.01em; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16.5px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body .entity { background: var(--bg-2); padding: 18px 20px; border: 1px solid var(--line); margin: 0 0 1em; }
.legal-body .entity p { margin: 0; color: var(--ink); }
.updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ---------- Pie de página ---------- */

.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; }
.site-footer .brand { font-size: 19px; }
.legal-name { margin: 18px 0 6px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound h1 { font-size: clamp(34px, 4.5vw, 52px); margin: 16px 0 18px; }
.notfound p { color: var(--ink-2); max-width: 48ch; margin-bottom: 28px; }

/* ---------- Adaptación ---------- */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .factsheet { margin-top: 0; }
  .service, .audience, .two-col { grid-template-columns: 1fr; }
  .index-list li { grid-template-columns: 48px minmax(0, 1fr); }
  .index-list li p { grid-column: 2; }
  .cols-3 { grid-template-columns: 1fr; gap: 28px; }
  .channels { grid-template-columns: 1fr; }
  .channel { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .channel:last-child { border-bottom: 0; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-header .wrap { height: 60px; }
  .brand { font-size: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .nav .nav-home { display: none; }
  .factsheet .row { grid-template-columns: 1fr; gap: 4px; padding: 13px 16px; }
  .factsheet-head { padding: 12px 16px; }
  .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
}

@media print {
  .site-header, .band, .toc { display: none; }
  body { font-size: 12pt; }
}

/* Ajustes finos */
.page-head p.updated { font-size: 13px; margin-top: 20px; color: var(--muted); }
.includes li::before { height: 2px; top: 22px; }
