@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fuentes/archivo-latin-400-normal.woff2) format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fuentes/archivo-latin-500-normal.woff2) format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fuentes/archivo-latin-800-normal.woff2) format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fuentes/jetbrains-mono-latin-500-normal.woff2) format("woff2");
}

:root {
  --slate: #26324d;
  --menta: #3ddc9b;
  --menta-hover: #33cc8e;
  --menta-oscuro: #13865a;
  --menta-brillo: #8af0c6;
  --niebla: #f4f6f9;
  --fondo: #ffffff;
  --tinte: #f4f6f9;
  --tinte-menta: #ecfbf4;
  --superficie: #ffffff;
  --texto: #26324d;
  --texto-2: #4a536a;
  --texto-suave: #5d6680;
  --borde: #e3e6ec;
  --borde-fuerte: #d5dae3;
  --enlace: #13865a;
  --marca-trazo: #26324d;
  --pastilla-borde: #c8eedc;
  --rejilla: rgba(38, 50, 77, 0.06);
  --halo: rgba(19, 134, 90, 0.1);
  --icono-fondo: #ecfbf4;
  --icono-trazo: #13865a;
  --oscura-fondo: #26324d;
  --oscura-texto: #f4f6f9;
  --oscura-suave: #c6ccd8;
  --oscura-tenue: #aab3c5;
  --ok-fondo: #d9f7ea;
  --ok-texto: #0f6e49;
  --pend-fondo: #fff3d6;
  --pend-texto: #8a5a00;
  --mal-fondo: #fde2e2;
  --mal-texto: #a12a2a;
  --neutro-fondo: #edf0f4;
  --neutro-texto: #4a536a;
  --alerta: #d93b3b;
  --sombra-tarjeta: 0 2px 6px rgba(38, 50, 77, 0.08), 0 12px 28px -12px rgba(38, 50, 77, 0.18);
  --sombra-libro: 0 2px 4px rgba(38, 50, 77, 0.04), 0 28px 64px -16px rgba(38, 50, 77, 0.28);
  --sombra-flotante: 0 10px 30px -8px rgba(38, 50, 77, 0.22);
  --radio: 16px;
  --radio-grupo: 24px;
  --radio-control: 8px;
  --cabecera: 64px;
  --gutter: 16px;
  --fuente: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cifras: "JetBrains Mono", ui-monospace, monospace;
  --suave: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #141b2b;
    --tinte: #1b2438;
    --tinte-menta: #16302a;
    --superficie: #212b42;
    --texto: #f4f6f9;
    --texto-2: #c6ccd8;
    --texto-suave: #aab3c5;
    --borde: #313d5a;
    --borde-fuerte: #3a4766;
    --enlace: #8af0c6;
    --marca-trazo: #f4f6f9;
    --pastilla-borde: #2f5a4b;
    --rejilla: rgba(244, 246, 249, 0.05);
    --halo: rgba(61, 220, 155, 0.08);
    --icono-fondo: #16302a;
    --icono-trazo: #8af0c6;
    --oscura-fondo: #0f1522;
    --ok-fondo: #12392c;
    --ok-texto: #8af0c6;
    --pend-fondo: #3b2f12;
    --pend-texto: #f5c35b;
    --mal-fondo: #3d1d22;
    --mal-texto: #f59b9b;
    --neutro-fondo: #2c3854;
    --neutro-texto: #c6ccd8;
    --alerta: #f27a7a;
    --sombra-tarjeta: 0 2px 6px rgba(0, 0, 0, 0.3), 0 12px 28px -12px rgba(0, 0, 0, 0.5);
    --sombra-libro: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 64px -16px rgba(0, 0, 0, 0.6);
    --sombra-flotante: 0 10px 30px -8px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --cabecera: 72px;
  }
}

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

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--enlace);
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
.boton:focus-visible {
  outline: 3px solid var(--menta);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

[id] {
  scroll-margin-top: calc(var(--cabecera) + 8px);
}

.contenedor {
  width: 100%;
  max-width: calc(1140px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.saltar {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--slate);
  color: #fff;
  border-radius: var(--radio-control);
  z-index: 20;
}

.saltar:focus {
  top: 8px;
}

.cabecera {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--fondo);
  border-bottom: 1px solid var(--borde);
}

.cabecera-fila {
  display: flex;
  align-items: center;
  height: var(--cabecera);
  gap: 12px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.isotipo {
  width: 30px;
  height: 30px;
  fill: var(--marca-trazo);
}

.isotipo .m,
.palabra .m {
  fill: var(--menta);
}

.palabra {
  height: 22px;
  width: auto;
  overflow: visible;
}

.palabra text {
  font-family: var(--fuente);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  fill: var(--marca-trazo);
}

.menu {
  display: none;
}

.menu a,
.enlace-entrar {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.menu a:hover,
.enlace-entrar:hover {
  color: var(--enlace);
}

.acciones {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.enlace-entrar {
  display: none;
}

.acciones-divisor {
  display: none;
  width: 1px;
  height: 24px;
  background: var(--borde-fuerte);
}

.menu-movil {
  position: static;
}

.menu-movil summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radio-control);
  cursor: pointer;
  list-style: none;
  color: var(--texto);
}

.menu-movil summary::-webkit-details-marker {
  display: none;
}

.menu-movil summary:hover {
  background: var(--tinte);
}

.menu-movil summary svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-movil .cerrar,
.menu-movil[open] .abrir {
  display: none;
}

.menu-movil[open] .cerrar {
  display: inline;
}

.menu-movil-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  padding: 8px var(--gutter) 16px;
  background: var(--fondo);
  border-bottom: 1px solid var(--borde);
  box-shadow: 0 16px 32px -16px rgba(38, 50, 77, 0.25);
}

.menu-movil-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--borde);
  color: var(--texto);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
}

.menu-movil-panel a:last-child {
  border-bottom: 0;
  color: var(--enlace);
}

@media (max-width: 399px) {
  .cabecera-fila {
    gap: 8px;
  }

  .palabra {
    height: 19px;
  }

  .acciones {
    gap: 8px;
  }

  .cabecera .boton-chico {
    padding: 8px 12px;
  }
}

@media (max-width: 339px) {
  .palabra {
    display: none;
  }
}

@media (min-width: 560px) {
  .enlace-entrar {
    display: inline-flex;
  }

  .menu-movil-panel a:last-child {
    display: none;
  }

  .menu-movil-panel a:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .cabecera-fila {
    gap: 24px;
  }

  .palabra {
    height: 24px;
  }

  .menu {
    display: flex;
    gap: 28px;
    margin-left: 16px;
  }

  .acciones {
    gap: 20px;
  }

  .acciones-divisor {
    display: block;
  }

  .menu-movil {
    display: none;
  }
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radio-control);
  font-family: var(--fuente);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.boton-chico {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}

.boton-primario {
  background: var(--menta);
  color: var(--slate);
}

.boton-primario:hover {
  background: var(--menta-hover);
  box-shadow: 0 6px 16px -8px rgba(19, 134, 90, 0.6);
}

.boton-secundario {
  background: transparent;
  color: var(--texto);
  border-color: var(--texto);
}

.boton-secundario:hover {
  background: var(--tinte-menta);
  border-color: var(--enlace);
  color: var(--enlace);
}

.boton-claro {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.boton-claro:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 16px;
  border: 2px solid var(--pastilla-borde);
  border-radius: 999px;
  background: var(--superficie);
  color: var(--texto-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.pastilla-cuadro {
  width: 8px;
  height: 8px;
  background: var(--menta);
  flex: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
  background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo) 30%, var(--tinte) 100%);
  isolation: isolate;
}

.hero-fondo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-fondo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--rejilla) 1px, transparent 1px), linear-gradient(90deg, var(--rejilla) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 0%, transparent 75%);
}

.forma {
  position: absolute;
  border-radius: 50%;
}

.hero .forma-1 {
  width: 640px;
  height: 640px;
  top: -320px;
  left: -220px;
  background: radial-gradient(circle, rgba(61, 220, 155, 0.22) 0%, rgba(61, 220, 155, 0) 65%);
}

.hero .forma-2 {
  width: 720px;
  height: 720px;
  top: -200px;
  right: -300px;
  background: radial-gradient(circle, rgba(38, 50, 77, 0.1) 0%, rgba(38, 50, 77, 0) 65%);
}

.hero .forma-3 {
  width: 900px;
  height: 420px;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61, 220, 155, 0.16) 0%, rgba(61, 220, 155, 0) 70%);
}

@media (prefers-color-scheme: dark) {
  .hero .forma-2 {
    background: radial-gradient(circle, rgba(138, 240, 198, 0.08) 0%, rgba(138, 240, 198, 0) 65%);
  }
}

.hero-texto {
  text-align: center;
  max-width: calc(1040px + var(--gutter) * 2);
}

.hero h1 {
  font-size: 30px;
  line-height: 1.33;
}

.bajada {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--texto-2);
  font-size: 16px;
  line-height: 1.6;
}

.hero-botones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.nota {
  margin: 14px 0 0;
  color: var(--texto-suave);
  font-size: 14px;
  font-style: italic;
}

@media (min-width: 600px) {
  .hero-botones {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.3;
  }

  .bajada {
    font-size: 18px;
    line-height: 1.65;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
  }

  .bajada {
    margin-top: 16px;
  }
}

.escena {
  position: relative;
  max-width: calc(1200px + var(--gutter) * 2);
  margin: 40px auto 0;
  padding: 0 var(--gutter) 48px;
}

.libro {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  background: var(--superficie);
  border: 1px solid var(--borde-fuerte);
  border-radius: 12px;
  box-shadow: var(--sombra-libro);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  color: var(--texto);
}

.libro svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-barra {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--borde);
  white-space: nowrap;
}

.app-hamburguesa {
  display: grid;
  gap: 3px;
  width: 14px;
  flex: none;
}

.app-hamburguesa i {
  height: 2px;
  border-radius: 1px;
  background: var(--texto-2);
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  flex: none;
}

.app-logo svg {
  width: 20px;
  height: 20px;
  fill: var(--marca-trazo);
  stroke: none;
}

.app-logo .m {
  fill: var(--menta);
}

.app-logo em {
  font-style: normal;
  color: var(--menta-oscuro);
}

@media (prefers-color-scheme: dark) {
  .app-logo em {
    color: var(--menta);
  }
}

.app-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 8px;
  min-width: 0;
}

.app-selector b {
  font-weight: 500;
}

.app-selector small,
.app-periodo {
  display: none;
  color: var(--texto-suave);
  font-size: 11px;
}

.app-periodo {
  padding-left: 8px;
  border-left: 1px solid var(--borde);
  color: var(--texto-2);
}

.app-periodo b {
  color: var(--texto);
  font-size: 12px;
}

.app-buscar {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 1;
  height: 32px;
  max-width: 340px;
  padding: 0 10px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 8px;
  color: var(--texto-suave);
}

.app-buscar svg {
  width: 14px;
  height: 14px;
}

.app-derecha {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.app-campana {
  position: relative;
  display: inline-flex;
  color: var(--texto-2);
}

.app-campana svg {
  width: 18px;
  height: 18px;
}

.app-campana i {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--alerta);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .app-campana i {
    color: #141b2b;
  }
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--menta-oscuro);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
}

.app-cinta-pestanas {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  font-weight: 500;
  color: var(--texto-2);
}

.app-cinta-pestanas span {
  padding: 8px 10px 6px;
  border-bottom: 2px solid transparent;
}

.app-cinta-pestanas .activa {
  color: var(--enlace);
  border-bottom-color: var(--menta);
}

.app-cinta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  background: var(--tinte);
  white-space: nowrap;
  overflow: hidden;
}

.cinta-boton {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--texto-2);
}

.cinta-boton svg {
  width: 15px;
  height: 15px;
}

.cinta-grande {
  color: var(--texto);
  font-weight: 500;
}

.cinta-grande svg {
  color: var(--enlace);
}

.cinta-fuerte {
  color: var(--texto);
  font-weight: 500;
  background: var(--superficie);
  border: 1px solid var(--borde-fuerte);
}

.cinta-sep {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: var(--borde-fuerte);
  flex: none;
}

.cinta-opc {
  display: none;
}

.app-cuerpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.app-lateral {
  display: none;
  padding: 8px 0;
  border-right: 1px solid var(--borde);
  white-space: nowrap;
}

.lat-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 31px;
  padding: 0 12px;
  border-left: 3px solid transparent;
  color: var(--texto-2);
}

.lat-item svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.lat-item i {
  margin-left: auto;
  font-style: normal;
  font-family: var(--cifras);
  font-size: 10.5px;
  color: var(--texto-suave);
}

.lat-item.activo {
  background: var(--tinte-menta);
  border-left-color: var(--menta);
  color: var(--texto);
  font-weight: 500;
}

.lat-sub {
  display: block;
  height: 24px;
  padding-left: 39px;
  color: var(--texto-suave);
  line-height: 24px;
}

.lat-sub.activo {
  color: var(--enlace);
  font-weight: 500;
}

.app-principal {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-pestanas {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid var(--borde);
}

.app-pestanas span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  color: var(--texto-2);
  border-bottom: 2px solid transparent;
}

.app-pestanas svg {
  width: 13px;
  height: 13px;
}

.app-pestanas .activa {
  color: var(--enlace);
  font-weight: 500;
  border-bottom-color: var(--menta);
}

.app-titulo {
  margin: 0;
  padding: 10px 12px 8px;
  color: var(--texto-suave);
}

.app-titulo b {
  margin-right: 8px;
  color: var(--texto);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.app-tabla {
  padding: 0 12px;
  overflow: hidden;
}

.app-tabla table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--borde-fuerte);
}

.app-tabla th,
.app-tabla td {
  padding: 6px 9px;
  border: 1px solid var(--borde);
  text-align: left;
  white-space: nowrap;
}

.app-tabla th {
  background: var(--tinte);
  color: var(--texto-2);
  font-weight: 500;
  font-size: 11.5px;
}

.app-tabla td:first-child {
  font-weight: 500;
  white-space: normal;
}

.app-tabla tr.sel td {
  background: var(--tinte-menta);
}

.app-tabla tr.sel td:first-child {
  box-shadow: inset 3px 0 0 var(--menta);
}

.app-tabla i {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
}

.ok {
  background: var(--ok-fondo);
  color: var(--ok-texto);
}

.pend {
  background: var(--pend-fondo);
  color: var(--pend-texto);
}

.mal {
  background: var(--mal-fondo);
  color: var(--mal-texto);
}

.neutro {
  background: var(--neutro-fondo);
  color: var(--neutro-texto);
}

.app-tabla .num {
  font-family: var(--cifras);
  font-size: 11px;
  color: var(--texto-2);
}

.c-opc,
.c-opc2,
.f-opc,
.h-opc {
  display: none;
}

.app-hojas {
  display: flex;
  gap: 2px;
  margin-top: 12px;
  padding: 0 8px;
  border-top: 1px solid var(--borde);
  background: var(--tinte);
  color: var(--texto-2);
}

.app-hojas span {
  padding: 6px 12px;
  border-top: 2px solid transparent;
}

.app-hojas .activa {
  margin-top: -1px;
  background: var(--superficie);
  border-top-color: var(--menta);
  color: var(--texto);
  font-weight: 500;
}

.app-hojas .h-mas {
  color: var(--texto-suave);
}

.app-estado {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 28px;
  padding: 0 12px;
  border-top: 1px solid var(--borde);
  color: var(--texto-2);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
}

.estado-opc {
  display: none;
  color: var(--texto-suave);
}

.estado-sunat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.punto {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--menta);
  box-shadow: 0 0 0 0 rgba(61, 220, 155, 0.6);
  animation: latido 2.4s ease-out infinite;
}

@keyframes latido {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 220, 155, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(61, 220, 155, 0);
  }
}

@media (min-width: 600px) {
  .app-selector small,
  .app-periodo {
    display: inline;
  }

  .c-opc,
  .h-opc {
    display: table-cell;
  }

  .h-opc {
    display: inline;
  }

  .f-opc {
    display: table-row;
  }
}

@media (min-width: 768px) {
  .libro {
    font-size: 12.5px;
  }

  .app-buscar,
  .cinta-opc {
    display: inline-flex;
  }

  .cinta-sep.cinta-opc {
    display: block;
  }

  .c-opc2 {
    display: table-cell;
  }

  .estado-opc {
    display: inline;
  }

  .app-tabla td:first-child {
    white-space: nowrap;
  }
}

@media (min-width: 960px) {
  .app-cuerpo {
    grid-template-columns: 184px minmax(0, 1fr);
  }

  .app-lateral {
    display: block;
  }
}

.flotante {
  display: none;
}

@media (min-width: 1200px) {
  .escena {
    padding-bottom: 56px;
  }

  .flotante {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 236px;
    padding: 14px 16px;
    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 12px;
    box-shadow: var(--sombra-flotante);
    animation: flotar 7s ease-in-out infinite;
  }

  .flotante-izq {
    left: var(--gutter);
    top: 318px;
  }

  .flotante-der {
    right: var(--gutter);
    bottom: 26px;
    animation-delay: -3.5s;
  }

  .flotante::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 52px;
    border-top: 2px dashed var(--menta-oscuro);
  }

  .flotante::before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--menta);
    box-shadow: 0 0 0 3px var(--superficie);
  }

  .flotante-izq::after {
    left: 100%;
  }

  .flotante-izq::before {
    left: calc(100% + 50px);
  }

  .flotante-der::after {
    right: 100%;
  }

  .flotante-der::before {
    right: calc(100% + 50px);
  }
}

@keyframes flotar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.flotante-icono {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--icono-fondo);
  color: var(--icono-trazo);
}

.flotante-icono svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flotante-texto {
  display: grid;
  gap: 2px;
  font-size: 13px;
  color: var(--texto-2);
  line-height: 1.35;
}

.flotante-texto b {
  color: var(--texto);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.confianza {
  padding: 8px 0 40px;
  background: var(--tinte);
}

.sellos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.sellos li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--texto);
}

.sellos svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--icono-trazo);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.riesgo {
  margin: 28px auto 0;
  padding-top: 24px;
  max-width: 780px;
  border-top: 1px solid var(--borde-fuerte);
  text-align: center;
  color: var(--texto-2);
  font-size: 16px;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .sellos {
    display: flex;
    justify-content: center;
    gap: 48px;
  }

  .sellos li {
    font-size: 15px;
  }

  .riesgo {
    font-size: 17px;
  }
}

.seccion {
  position: relative;
  padding: 48px 0 56px;
}

@media (min-width: 1024px) {
  .seccion {
    padding: 64px 0 80px;
  }
}

.seccion-tinte {
  background: var(--tinte);
}

.encabezado {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.seccion h2 {
  font-size: 24px;
  line-height: 1.35;
}

.seccion-bajada {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--texto-2);
  font-size: 16px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .seccion h2 {
    font-size: 30px;
  }

  .encabezado {
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .seccion h2 {
    font-size: 36px;
    line-height: 1.4;
  }

  .seccion-bajada {
    font-size: 17px;
  }
}

.grupo {
  padding: 8px;
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-grupo);
  background: var(--tinte);
  box-shadow: 0 0 4px 1px var(--halo);
}

@media (min-width: 768px) {
  .grupo {
    padding: 16px;
  }
}

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

@media (min-width: 900px) {
  .tarjetas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.tarjeta {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  transition: transform 0.3s var(--suave), box-shadow 0.3s var(--suave), border-color 0.3s;
}

.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-tarjeta);
  border-color: var(--pastilla-borde);
}

@media (min-width: 768px) {
  .tarjeta {
    padding: 22px 24px 24px;
  }
}

.tarjeta-cabeza {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tarjeta h3 {
  font-size: 18px;
  line-height: 1.3;
}

.tarjeta p {
  margin: 14px 0 0;
  color: var(--texto-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.icono {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  background: var(--icono-fondo);
  color: var(--icono-trazo);
}

.icono svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini {
  margin-top: auto;
  padding-top: 22px;
}

.mini-tabla {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6px;
}

.mini-tabla span {
  height: 12px;
  border-radius: 4px;
  background: var(--neutro-fondo);
}

.mini-tabla .v {
  background: var(--ok-fondo);
}

.mini-tabla .a {
  background: var(--pend-fondo);
}

.mini-tabla .r {
  background: var(--mal-fondo);
}

.mini-semana {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.mini-semana span {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 6px;
  background: var(--tinte);
  color: var(--texto-suave);
  font-family: var(--cifras);
  font-size: 12px;
}

.mini-semana .hoy {
  background: var(--superficie);
  box-shadow: inset 0 0 0 2px var(--menta);
  color: var(--texto);
}

.mini-semana .vence {
  background: var(--pend-fondo);
  color: var(--pend-texto);
}

.mini-barras {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 52px;
  box-sizing: content-box;
}

.mini-barras span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--neutro-fondo);
}

.mini-barras span:nth-child(1) {
  height: 100%;
}

.mini-barras span:nth-child(2) {
  height: 78%;
}

.mini-barras span:nth-child(3) {
  height: 56%;
}

.mini-barras span:nth-child(4) {
  height: 38%;
}

.mini-barras span:nth-child(5) {
  height: 24%;
  background: var(--menta);
}

.beta {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border: 1px solid var(--menta);
  border-radius: 999px;
  color: var(--enlace);
  font-family: var(--cifras);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 4px;
}

.letra-chica {
  margin: 24px 0 0;
  text-align: center;
  color: var(--texto-suave);
  font-size: 14px;
  line-height: 1.6;
}

.cifras {
  display: grid;
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio);
  background: var(--superficie);
  box-shadow: 0 0 6px 1px var(--halo);
  overflow: hidden;
}

.cifras-izq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: linear-gradient(160deg, var(--tinte-menta) 0%, var(--superficie) 70%);
  border-bottom: 1px solid var(--borde);
}

.cifras-izq h2 {
  text-align: left;
}

.cifras-marco {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
}

.cifras-marco svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--marca-trazo);
}

.cifras-marco .m {
  fill: var(--menta);
}

.cifras-marco b {
  position: relative;
  font-family: var(--cifras);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.autoridad {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.autoridad li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid var(--borde);
  font-size: 17px;
  line-height: 1.5;
}

.autoridad li:first-child {
  border-top: 0;
}

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

  .autoridad li {
    border-top: 0;
    border-left: 1px solid var(--borde);
  }

  .autoridad li:first-child {
    border-left: 0;
  }
}

@media (min-width: 960px) {
  .cifras {
    grid-template-columns: 2fr 3fr;
  }

  .cifras-izq {
    justify-content: center;
    padding: 40px;
    border-bottom: 0;
    border-right: 1px solid var(--borde);
  }

  .cifras-izq h2 {
    font-size: 30px;
  }

  .autoridad li {
    justify-content: flex-start;
    padding: 44px 28px 36px;
  }

  .autoridad li:first-child {
    border-left: 0;
  }
}

.seccion-oscura {
  overflow: hidden;
  background: var(--oscura-fondo);
  color: var(--oscura-texto);
  isolation: isolate;
}

.seguridad-fondo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(61, 220, 155, 0.16) 0%, rgba(61, 220, 155, 0) 70%);
}

.seguridad-fondo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(244, 246, 249, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 246, 249, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
}

.seccion-oscura h2 {
  color: #fff;
}

.seccion-oscura .seccion-bajada {
  color: var(--oscura-suave);
}

.pastilla-oscura {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 240, 198, 0.35);
  color: var(--oscura-suave);
}

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

@media (min-width: 640px) {
  .practicas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .practicas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.practicas li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  align-content: start;
  column-gap: 14px;
  padding: 24px;
  border: 1px solid rgba(244, 246, 249, 0.12);
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s var(--suave), border-color 0.3s, background-color 0.3s;
}

.practicas li:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 155, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.practicas .icono {
  width: 44px;
  height: 44px;
  background: rgba(61, 220, 155, 0.12);
  color: var(--menta-brillo);
}

.practicas h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.practicas p {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  color: var(--oscura-suave);
  font-size: 15.5px;
  line-height: 1.6;
}

.reporte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid rgba(61, 220, 155, 0.35);
  border-radius: var(--radio);
  background: rgba(61, 220, 155, 0.08);
}

.reporte .icono {
  width: 44px;
  height: 44px;
  background: rgba(61, 220, 155, 0.14);
  color: var(--menta-brillo);
}

.reporte a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--menta-brillo);
  font-weight: 500;
  font-size: 17px;
}

.flecha {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--suave);
}

.reporte a:hover .flecha {
  transform: translateX(4px);
}

.reporte code {
  flex-basis: 100%;
  font-family: var(--cifras);
  font-size: 13px;
  color: var(--oscura-tenue);
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .reporte code {
    flex-basis: auto;
    margin-left: auto;
  }
}

.pasos-caja {
  padding: 16px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--tinte);
}

@media (min-width: 768px) {
  .pasos-caja {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .pasos-caja {
    padding: 40px 40px 32px;
  }
}

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

.pasos li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .pasos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
  }

  .pasos li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 104px;
    left: calc(100% + 10px);
    width: 30px;
    border-top: 2px dashed var(--menta-oscuro);
  }

  .pasos li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 99px;
    left: calc(100% + 36px);
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--menta-oscuro);
    border-right: 2px solid var(--menta-oscuro);
    transform: rotate(45deg);
  }
}

.paso-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 208px;
  padding: 18px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 4px 16px rgba(20, 24, 42, 0.05);
  font-size: 12.5px;
  color: var(--texto-2);
  overflow: hidden;
  transition: transform 0.3s var(--suave), box-shadow 0.3s var(--suave);
}

.pasos li:hover .paso-visual {
  transform: translateY(-4px);
  box-shadow: var(--sombra-tarjeta);
}

.paso-visual svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-cabeza {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--texto);
  font-weight: 500;
  font-size: 13.5px;
}

.pv-icono {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--icono-fondo);
  color: var(--icono-trazo);
  font-weight: 800;
}

.pv-icono svg {
  width: 15px;
  height: 15px;
}

.pv-girando svg {
  animation: girar 2.4s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

.pv-campo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 8px;
}

.pv-campo small {
  width: 58px;
  color: var(--texto-suave);
  font-size: 11px;
}

.pv-mono {
  font-family: var(--cifras);
  color: var(--texto);
}

.pv-campo svg {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--icono-trazo);
}

.pv-boton {
  align-self: flex-end;
  margin-top: 2px;
  padding: 5px 16px;
  border-radius: 6px;
  background: var(--menta);
  color: var(--slate);
  font-weight: 500;
}

.pv-fila {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  border-bottom: 1px dashed var(--borde-fuerte);
}

.pv-fila:last-child {
  border-bottom: 0;
}

.pv-fila b {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.pv-ok,
.pv-curso {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--menta);
  box-shadow: inset 0 0 0 4px var(--ok-fondo);
}

.pv-curso {
  background: transparent;
  border: 2px dashed var(--pend-texto);
  box-shadow: none;
  animation: girar 3s linear infinite;
}

.pv-linea {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--ok-fondo);
}

.pv-linea-media {
  background: linear-gradient(90deg, var(--pend-fondo) 55%, var(--neutro-fondo) 55%);
}

.pv-nombre {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--neutro-fondo);
}

.pv-corto {
  flex: 0.7;
  margin-right: auto;
}

.paso-texto {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.paso-numero {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--slate);
  color: #fff;
  font-family: var(--cifras);
  font-weight: 500;
  font-size: 15px;
}

@media (prefers-color-scheme: dark) {
  .paso-numero {
    background: var(--menta);
    color: var(--slate);
  }
}

.paso-texto p {
  margin: 3px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.acuerdo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding-top: 24px;
  max-width: 820px;
  border-top: 1px solid var(--borde);
  color: var(--texto-2);
  line-height: 1.6;
}

.acuerdo svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--icono-trazo);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.planes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 1040px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .planes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: 20px;
  transition: transform 0.3s var(--suave), box-shadow 0.3s var(--suave);
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-tarjeta);
}

@media (min-width: 768px) {
  .plan {
    padding: 32px 30px;
  }
}

.plan h3 {
  font-size: 20px;
}

.precio {
  margin: 14px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.moneda {
  font-weight: 500;
  font-size: 18px;
  color: var(--texto-2);
}

.oferta {
  display: inline-block;
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--menta);
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
}

.luego {
  margin: 4px 0 0;
  color: var(--texto-suave);
  font-size: 14px;
}

.plan-destacado .luego {
  color: var(--niebla);
  opacity: 0.8;
}

.monto {
  font-family: var(--cifras);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.periodo {
  color: var(--texto-suave);
  font-size: 15px;
}

.plan .boton {
  margin-top: 24px;
  width: 100%;
}

.plan-incluye {
  list-style: none;
  margin: 24px 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--borde);
}

.plan-incluye li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-2);
  font-size: 15.5px;
}

.plan-incluye li {
  position: relative;
}

.plan-incluye li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--ok-fondo);
}

.plan-incluye li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--ok-texto);
  border-bottom: 2px solid var(--ok-texto);
  transform: translateY(-65%) rotate(45deg);
}

.plan-destacado {
  position: relative;
  background: var(--slate);
  border-color: var(--slate);
  color: #fff;
  box-shadow: 0 28px 56px -24px rgba(38, 50, 77, 0.55);
  overflow: hidden;
}

.plan-destacado::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--menta);
}

.plan-destacado:hover {
  box-shadow: 0 32px 64px -24px rgba(38, 50, 77, 0.65);
}

.plan-destacado .moneda,
.plan-destacado .periodo {
  color: var(--oscura-suave);
}

.plan-destacado .plan-incluye {
  border-top-color: rgba(244, 246, 249, 0.16);
}

.plan-destacado .plan-incluye li {
  color: #dde1e8;
}

.plan-destacado .plan-incluye li::before {
  background: rgba(61, 220, 155, 0.18);
}

.plan-destacado .plan-incluye li::after {
  border-color: var(--menta-brillo);
}

@media (prefers-color-scheme: dark) {
  .plan-destacado {
    background: #2c3854;
    border-color: rgba(61, 220, 155, 0.6);
  }
}

@media (min-width: 900px) {
  .plan-destacado {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.cierre {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--oscura-fondo);
  color: #fff;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .cierre {
    padding: 72px 0 76px;
  }
}

.cierre-fondo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(61, 220, 155, 0) 30%, rgba(61, 220, 155, 0.1) 46%, rgba(61, 220, 155, 0) 47%, rgba(61, 220, 155, 0) 58%, rgba(138, 240, 198, 0.07) 70%, rgba(61, 220, 155, 0) 71%);
}

.cierre .forma-1 {
  width: 560px;
  height: 560px;
  left: -200px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(61, 220, 155, 0.28) 0%, rgba(61, 220, 155, 0) 65%);
}

.cierre .forma-2 {
  width: 480px;
  height: 480px;
  right: -160px;
  top: -260px;
  background: radial-gradient(circle, rgba(138, 240, 198, 0.16) 0%, rgba(138, 240, 198, 0) 65%);
}

.cierre-texto {
  text-align: center;
  max-width: 860px;
}

.cierre h2 {
  font-size: 30px;
  line-height: 1.3;
}

.cierre-texto > p:not(.nota) {
  margin: 12px 0 0;
  color: var(--oscura-suave);
  font-size: 18px;
}

.cierre .nota {
  color: var(--oscura-tenue);
}

@media (min-width: 768px) {
  .cierre h2 {
    font-size: 40px;
  }
}

.pie {
  padding: 48px 0 0;
  background: var(--tinte);
  border-top: 1px solid var(--borde);
  font-size: 14.5px;
}

.pie-columnas {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .pie-columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pie-columnas {
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 40px;
  }
}

.pie-marca-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.pie-marca {
  margin: 0;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.pie-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pie-col h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}

.pie-col a,
.pie-col p {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  color: var(--texto-2);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.pie-col a:hover {
  color: var(--enlace);
  text-decoration: underline;
}

.pie-identidad {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--borde-fuerte);
  color: var(--texto-suave);
  font-size: 13px;
}

.pie-identidad p {
  margin: 0;
}

.pie-identidad p:last-child {
  margin-left: auto;
}

.pie-identidad a {
  color: var(--texto-2);
}

@media (max-width: 767px) {
  .pie-identidad {
    flex-direction: column;
  }

  .pie-identidad p:last-child {
    margin-left: 0;
  }
}

.legal-cabecera {
  position: relative;
  overflow: hidden;
  padding: 40px 0 32px;
  background: linear-gradient(180deg, var(--fondo) 0%, var(--tinte) 100%);
  border-bottom: 1px solid var(--borde);
  isolation: isolate;
}

.legal-cabecera .hero-fondo::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 0%, transparent 75%);
}

.legal-cabecera .forma-1 {
  width: 520px;
  height: 520px;
  top: -300px;
  left: -200px;
  background: radial-gradient(circle, rgba(61, 220, 155, 0.2) 0%, rgba(61, 220, 155, 0) 65%);
}

.legal-cabecera h1 {
  font-size: 30px;
  line-height: 1.25;
}

.legal-cabecera .actualizada {
  margin: 10px 0 0;
  color: var(--texto-suave);
  font-size: 14px;
}

@media (min-width: 768px) {
  .legal-cabecera {
    padding: 56px 0 44px;
  }

  .legal-cabecera h1 {
    font-size: 40px;
  }
}

.legal-cuerpo {
  padding: 32px 0 64px;
}

.legal-cuerpo > .contenedor {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .legal-cuerpo {
    padding: 48px 0 88px;
  }

  .legal-cuerpo > .contenedor {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .legal-indice {
    position: sticky;
    top: calc(var(--cabecera) + 24px);
    order: -1;
  }
}

.legal-articulo {
  min-width: 0;
  max-width: 800px;
  padding: 24px 20px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 0 6px 1px var(--halo);
}

@media (min-width: 768px) {
  .legal-articulo {
    padding: 40px 48px 44px;
  }
}

.legal-articulo h2 {
  margin-top: 32px;
  font-size: 20px;
  line-height: 1.35;
}

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

.legal-articulo p,
.legal-articulo li {
  color: var(--texto-2);
  line-height: 1.7;
}

.legal-articulo > p:first-child {
  margin-top: 0;
}

.legal-articulo ul {
  padding-left: 20px;
}

.legal-articulo li + li {
  margin-top: 6px;
}

.legal-articulo li::marker {
  color: var(--menta-oscuro);
}

.legal-indice h2 {
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.legal-indice ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--tinte);
}

.legal-indice a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radio-control);
  color: var(--texto-2);
  text-decoration: none;
  font-size: 15px;
  border-left: 3px solid transparent;
  transition: background-color 0.2s, color 0.2s;
}

.legal-indice a:hover {
  background: var(--superficie);
  color: var(--texto);
}

.legal-indice a[aria-current="page"] {
  background: var(--superficie);
  border-left-color: var(--menta);
  color: var(--texto);
  font-weight: 500;
}

.legal-volver {
  margin-top: 24px;
}

.formulario {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .formulario .doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 639px) {
  .formulario .doble {
    display: grid;
    gap: 16px;
  }
}

.formulario label,
.formulario legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--texto);
}

.formulario input,
.formulario select,
.formulario textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-control);
  background: var(--fondo);
  color: var(--texto);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.formulario input:hover,
.formulario select:hover,
.formulario textarea:hover {
  border-color: var(--texto-suave);
}

.formulario textarea {
  min-height: 120px;
  resize: vertical;
}

.formulario input:focus-visible,
.formulario select:focus-visible,
.formulario textarea:focus-visible {
  outline: 3px solid var(--menta);
  outline-offset: 1px;
}

.formulario fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.formulario .opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.formulario .opciones label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  font-weight: 400;
}

.formulario .opciones input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--menta-oscuro);
}

.formulario button {
  justify-self: start;
}

.formulario .letra-chica {
  text-align: left;
}

.aviso-legal {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--menta);
  background: var(--tinte);
  border-radius: 0 var(--radio-control) var(--radio-control) 0;
}

.aviso-legal p {
  margin: 0 0 8px;
}

.aviso-legal p:last-child {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .tarjeta:hover,
  .practicas li:hover,
  .plan:hover,
  .pasos li:hover .paso-visual {
    transform: none;
  }
}
