@import "https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..700&display=swap";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --fondo: #F8FAFC;
  --tinta: #064E3B;
  --texto: #334155;
  --verde: #0F766E;
  --ambar: #FFB703;
  --oscuro: #064E3B;
  --texto-2: rgba(51, 65, 85, .78);
  --texto-3: rgba(51, 65, 85, .58);
  --linea: rgba(51, 65, 85, .14);
  --claro: #F8FAFC;
  --claro-2: rgba(248, 250, 252, .78);
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--fondo);
  color: var(--texto);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--verde);
  text-underline-offset: 3px;
}
.cab {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(16px, 3vw, 32px);
  background: var(--oscuro);
  color: var(--claro);
}
.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--claro);
  line-height: 1;
}
.logo span {
  color: var(--verde);
}
.cab nav {
  display: flex;
  gap: 24px;
  margin-right: auto;
}
.cab nav a {
  color: var(--claro);
  opacity: .86;
  text-decoration: none;
  font-size: 15px;
  font-weight: 480;
}
.cab nav a:hover {
  opacity: 1;
}
.pildora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ambar);
  color: var(--tinta);
  font:
    560 15px/1 "Inter",
    system-ui,
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.pildora:hover {
  background: #FFC233;
}
.art {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}
.rotulo {
  display: block;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--verde);
  margin-bottom: 14px;
}
h1 {
  color: var(--tinta);
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 560;
  text-wrap: balance;
}
.entrada {
  margin-top: 18px;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--texto-2);
}
.datos {
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--linea);
  font-size: 14px;
  color: var(--texto-3);
}
.art h2 {
  margin: 52px 0 12px;
  color: var(--tinta);
  font-size: clamp(24px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 560;
}
.art p + p {
  margin-top: 16px;
}
.art > p:first-of-type {
  margin-top: 28px;
}
.art ul {
  margin: 14px 0 0 22px;
  display: grid;
  gap: 8px;
}
.art ul + p,
.art ol + p {
  margin-top: 18px;
}
.cifras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.cifra {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: inset 0 0 0 1px var(--linea);
}
.cifra b {
  display: block;
  font-size: clamp(38px, 4.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 540;
  color: var(--tinta);
  font-variant-numeric: tabular-nums;
}
.cifra span {
  display: block;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--texto-2);
}
.ojo {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 183, 3, .14);
  font-size: 16px;
  line-height: 1.6;
}
.ojo b {
  display: block;
  color: #5c4000;
  font-weight: 600;
  margin-bottom: 4px;
}
.nota {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--linea);
}
.nota b {
  color: var(--tinta);
}
.cambios {
  list-style: none;
  counter-reset: c;
  margin-top: 18px;
}
.cambios li {
  counter-increment: c;
  position: relative;
  padding: 16px 0 16px 46px;
  border-top: 1px solid var(--linea);
}
.cambios li:last-child {
  border-bottom: 1px solid var(--linea);
}
.cambios li::before {
  content: counter(c);
  position: absolute;
  left: 0;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--linea);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--verde);
}
.cambios b {
  display: block;
  color: var(--tinta);
  font-weight: 560;
}
.cambios span {
  display: block;
  color: var(--texto-2);
  font-size: 16.5px;
  margin-top: 2px;
}
.cta {
  margin: 36px 0 8px;
  padding: 30px 28px;
  border-radius: 18px;
  background: var(--oscuro);
  color: var(--claro-2);
}
.cta h3 {
  color: var(--claro);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 560;
  letter-spacing: -0.015em;
}
.cta p {
  margin-top: 8px;
  font-size: 16.5px;
}
.cta .pildora {
  margin-top: 20px;
  height: 46px;
  padding: 0 22px;
}
.fuentes {
  margin-top: 12px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--texto-2);
}
.lista {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.guia {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: inset 0 0 0 1px var(--linea);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.guia:hover {
  box-shadow: inset 0 0 0 1.5px var(--verde), 0 14px 32px rgba(6, 78, 59, .08);
  transform: translateY(-2px);
}
.guia h2 {
  color: var(--tinta);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.012em;
}
.guia p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--texto-2);
}
.guia small {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--texto-3);
}
.definicion {
  margin: 30px 0 8px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(15, 118, 110, .35);
}
.definicion > b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--verde);
  margin-bottom: 10px;
}
.definicion dl {
  display: grid;
  gap: 12px;
}
.definicion dt {
  color: var(--tinta);
  font-weight: 600;
}
.definicion dd {
  color: var(--texto-2);
  font-size: 16.5px;
  line-height: 1.55;
}
.definicion p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
}
.tabla-envoltura {
  margin: 22px 0;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--linea);
  background: #fff;
}
.tabla {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.45;
}
.tabla th,
.tabla td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--linea);
}
.tabla thead th {
  color: var(--tinta);
  font-weight: 600;
  font-size: 14.5px;
  background: rgba(15, 118, 110, .05);
}
.tabla tbody th {
  color: var(--tinta);
  font-weight: 560;
  width: 24%;
}
.tabla td:last-child {
  color: var(--tinta);
  font-weight: 520;
}
.tabla tr:last-child th,
.tabla tr:last-child td {
  border-bottom: 0;
}
.charla {
  margin: 22px 0;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--linea);
  display: grid;
  gap: 10px;
}
.charla .msg {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.charla .cli {
  background: #EEF2F6;
  color: var(--texto);
  border-bottom-left-radius: 5px;
}
.charla .sis {
  background: #F3F4F6;
  color: var(--texto-2);
  border-bottom-right-radius: 5px;
  justify-self: end;
  font-style: italic;
}
.charla .age {
  background: var(--verde);
  color: #fff;
  border-bottom-right-radius: 5px;
  justify-self: end;
}
.charla .quien {
  justify-self: end;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto-3);
}
.art .charla p + p {
  margin-top: 0;
}
.lista-corta {
  margin-top: 18px;
}
.lista-corta .guia h2 {
  margin: 0;
}
.pie {
  border-top: 1px solid var(--linea);
  padding: 28px 20px 40px;
  text-align: center;
  font-size: 13.5px;
  color: var(--texto-3);
}
.pie a {
  color: var(--texto-2);
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .cab {
    height: 58px;
    gap: 14px;
  }
  .cab nav {
    display: none;
  }
  .cab .pildora {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    margin-left: auto;
  }
  .art {
    padding: 36px 20px 56px;
  }
  .cifras {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .cta {
    padding: 26px 22px;
  }
  .tabla-envoltura {
    overflow: visible;
    background: none;
    box-shadow: none;
  }
  .tabla {
    min-width: 0;
  }
  .tabla thead {
    display: none;
  }
  .tabla,
  .tabla tbody,
  .tabla tr,
  .tabla th,
  .tabla td {
    display: block;
    width: 100%;
  }
  .tabla tr {
    background: #fff;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--linea);
    padding: 6px 0;
    margin-bottom: 12px;
  }
  .tabla tbody th {
    width: 100%;
    padding: 10px 16px 4px;
    border: 0;
  }
  .tabla td {
    padding: 6px 16px;
    border: 0;
  }
  .tabla td::before {
    content: attr(data-col);
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--texto-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .guia {
    transition: none;
  }
  .guia:hover {
    transform: none;
  }
}
.guia-heroe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--claro);
  background: #062e24 var(--foto, none) center / cover no-repeat;
  padding: clamp(64px, 12vh, 132px) 20px clamp(48px, 8vh, 92px);
}
.guia-heroe video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.guia-heroe video.listo {
  opacity: 1;
}
.guia-heroe::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(3, 38, 29, .86) 0%,
      rgba(3, 38, 29, .64) 50%,
      rgba(3, 38, 29, .34) 100%),
    linear-gradient(
      0deg,
      rgba(3, 38, 29, .6) 0%,
      rgba(3, 38, 29, 0) 40%);
}
.guia-heroe .dentro {
  max-width: 720px;
  margin: 0 auto;
}
.guia-heroe .rotulo {
  color: var(--ambar);
}
.guia-heroe h1 {
  color: var(--claro);
  font-weight: 650;
  font-size: clamp(34px, 5vw, 58px);
  max-width: 18ch;
}
.guia-heroe .entrada {
  color: var(--claro-2);
  max-width: 52ch;
}
.guia-heroe .datos {
  color: rgba(248, 250, 252, .58);
  border-bottom: 0;
  padding-bottom: 0;
}
.guia-heroe + .art {
  padding-top: 40px;
}
.guia-heroe + .art > p:first-of-type {
  margin-top: 0;
}
.progreso {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  background: var(--ambar);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
@media (prefers-reduced-motion: reduce) {
  .guia-heroe video {
    display: none;
  }
}
