/* Páginas públicas de BTraders · lenguaje visual compartido con el inicio.
   1) Primitivas comunes al inicio y a las páginas interiores (chip con punto dorado, tarjeta de vidrio con foco de luz
      bajo el cursor, aparición al hacer scroll, botones del hero). inicio.js las anima en cualquier raíz [data-inicio].
   2) Piezas de las páginas interiores (.pg): cabecera con rejilla viva y resplandor que se desvanecen sin bordes,
      visuales animados por página, precios, condiciones, pasos y comparativas. Cada página arma sus propias secciones. */
main { overflow-x: clip; }
.inicio, .pg { --rej: color-mix(in srgb, var(--text) 5%, transparent); }

.in-sec { position: relative; padding: 84px 0 0; }
.in-sec:last-child { padding-bottom: 24px; }

/* encabezados de sección */
.in-cab { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.in-cab.izq { margin: 0; text-align: left; }
.in-chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 11px; margin-bottom: 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.in-chip .punto { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.in-cab h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500; margin: 0 0 14px; }
.in-cab p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.in-cab.izq p { max-width: 520px; }

/* tarjeta de vidrio con foco de luz que sigue al cursor (inicio.js pone --x/--y) */
.in-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--border); border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 76%, transparent); backdrop-filter: blur(10px); transition: border-color .25s, transform .25s, box-shadow .25s; }
.in-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.in-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.in-card:hover::before { opacity: 1; }

/* aparición al hacer scroll (solo si inicio.js corre) */
.in-js .revelar { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2, .8, .2, 1), transform .75s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.in-js .revelar.visto { opacity: 1; transform: none; }
.in-js .revelar { transition-property: opacity, transform, border-color, box-shadow; }

/* botones (mismo estilo que los del hero) */
.inicio .btn, .pg .btn { gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
.inicio .btn svg, .pg .btn svg { width: 16px; height: 16px; }
.inicio .btn.cta, .pg .btn.cta { background: #1c1a16; color: #f3ead6; box-shadow: inset 0 0 0 1px rgba(215, 172, 88, .55); font-weight: 600; }
:root[data-theme="dark"] .inicio .btn.cta, :root[data-theme="dark"] .pg .btn.cta { background: #222125; box-shadow: inset 0 0 0 1px #d7ac58; }
.inicio .btn.cta .punto, .pg .btn.cta .punto { width: 7px; height: 7px; border-radius: 50%; background: #d7ac58; }
.pg .btn.cta:hover { box-shadow: inset 0 0 0 1px #d7ac58, 0 8px 22px rgba(0, 0, 0, .22); }
.inicio .btn.ghost, .pg .btn.ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(6px); }
.inicio .btn.ghost:hover, .pg .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.pg .btn.sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.pg .btn.ancho { width: 100%; }

/* ───────────────────────── cabecera de página ───────────────────────── */
.pg-hero { --sube: calc(36px + 12px + var(--nav-h, 68px)); position: relative; isolation: isolate;
  margin: calc(-1 * var(--sube)) calc(50% - var(--ancho) / 2) 0; padding: calc(var(--sube) + 48px) 0 34px; }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;      /* rejilla que avanza despacio */
  background-image: linear-gradient(var(--rej) 1px, transparent 1px), linear-gradient(90deg, var(--rej) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 62% 36%, #000 18%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 72% at 62% 36%, #000 18%, transparent 72%); animation: pg-rejilla 32s linear infinite; }
.pg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;      /* resplandor dorado, sin borde inferior */
  background: radial-gradient(40% 52% at 78% 40%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%),
              radial-gradient(34% 42% at 4% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
.pg-hero-in { max-width: 1080px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 44px; align-items: center; }
.pg-hero.solo .pg-hero-in { grid-template-columns: minmax(0, 1fr); }
.pg-hero.solo .pg-hero-txt { max-width: 780px; }
.pg-hero .in-chip { margin-bottom: 20px; backdrop-filter: blur(6px); }
.pg-hero .in-chip .punto { width: 7px; height: 7px; animation: pg-latido 2.4s ease-in-out infinite; }
.pg-hero h1 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; margin: 0 0 18px; max-width: 17ch; }
.pg-hero.solo h1 { max-width: 22ch; }
.pg-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.pg-hero.solo .pg-sub { max-width: 680px; }
.pg-sub a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.pg-acc { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-datos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 30px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.pg-datos li { display: inline-flex; align-items: center; gap: 9px; }
.pg-datos li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.pg-datos b { color: var(--text); font-weight: 600; }
.pg-hero-txt > * { animation: pg-sube .8s cubic-bezier(.2, .8, .2, 1) both; }
.pg-hero-txt > :nth-child(2) { animation-delay: .08s; } .pg-hero-txt > :nth-child(3) { animation-delay: .16s; }
.pg-hero-txt > :nth-child(4) { animation-delay: .24s; } .pg-hero-txt > :nth-child(5) { animation-delay: .32s; }
.pg-visual { position: relative; justify-self: center; width: min(440px, 100%); animation: pg-entra 1s cubic-bezier(.2, .8, .2, 1) .15s both; }
.pg-migas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.pg-migas a { color: var(--muted); text-decoration: none; } .pg-migas a:hover { color: var(--accent); }

/* halo común de los visuales */
.v-halo { position: absolute; inset: 10%; border-radius: 50%; z-index: -1; pointer-events: none; filter: blur(30px);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 68%); animation: pg-respira 6s ease-in-out infinite; }

/* Academia · tres Niveles apilados */
.v-niveles { display: grid; gap: 14px; padding: 18px 0; }
.v-nivel { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; align-items: center; padding: 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  animation: pg-flota 7s ease-in-out infinite; }
.v-nivel:nth-child(3) { margin-left: 34px; margin-right: -14px; animation-delay: -2.3s; }
.v-nivel:nth-child(4) { margin-left: 68px; margin-right: -28px; animation-delay: -4.6s; }
.v-nivel .num { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.v-nivel b { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; } .v-nivel span { font-size: 12.5px; color: var(--muted); }
.v-nivel b small { margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.v-barra { grid-column: 2; display: block; height: 5px; border-radius: 3px; background: var(--surface2); overflow: hidden; }
.v-barra i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--oro); transform-origin: left; animation: pg-llena 1.6s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--t, .4s); }

/* Ruta · medallas en órbita alrededor del escudo */
.v-orbita { aspect-ratio: 1; display: grid; place-items: center; }
.v-orbita .v-centro { position: relative; width: 44%; z-index: 1; animation: pg-flota 7s ease-in-out infinite; }
.v-orbita .v-centro img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 38px rgba(0, 0, 0, .35)) drop-shadow(0 0 26px color-mix(in srgb, var(--accent) 28%, transparent)); }
.v-anillo { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 38%, transparent); }
.v-anillo.dos { inset: 1%; border: 0; padding: 1.5px; background: conic-gradient(from 0deg, transparent 0 62%, color-mix(in srgb, var(--accent) 85%, transparent) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: pg-gira 14s linear infinite; }
.v-pista { position: absolute; inset: 9%; animation: pg-gira 70s linear infinite; }
.v-pista span { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; margin: -10.5% 0 0 -10.5%; border-radius: 50%; display: grid; place-items: center;
  transform: rotate(var(--a)) translateY(-208%) rotate(calc(-1 * var(--a)));
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--surface) 92%, var(--accent)), var(--surface) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.v-pista img { width: 72%; height: auto; animation: pg-gira 70s linear infinite reverse; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }

/* Portal · terminal de análisis (ilustrativa: sin cifras) */
.v-terminal { padding: 0; box-shadow: 0 26px 60px rgba(0, 0, 0, .18); }
.v-term-cab { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.v-term-cab small { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.v-vivo { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 color-mix(in srgb, var(--pos) 60%, transparent); animation: pg-pulso 2s ease-out infinite; }
.v-term-graf { display: block; width: 100%; height: auto; padding: 8px 6px 0; }
.v-term-graf .rj { stroke: var(--border); stroke-width: 1; }
.v-term-graf .vela { stroke: var(--accent); stroke-width: 1.3; fill: var(--accent); opacity: .85; }
.v-term-graf .vela.b { fill: transparent; }
.v-term-graf .curva { fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: pg-traza 3.2s ease-out .4s forwards; }
.v-term-graf .area { fill: url(#v-term-g); opacity: 0; animation: pg-aparece 1.2s ease 2.4s forwards; }
.v-medidas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 14px 16px 18px; border-top: 1px solid var(--border); }
.v-medidas div { display: grid; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.v-medidas i { display: block; height: 5px; border-radius: 3px; background: var(--surface2); overflow: hidden; }
.v-medidas i::after { content: ""; display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--oro); animation: pg-oscila 5s ease-in-out infinite; animation-delay: var(--t, 0s); transform-origin: left; }

/* Mentoría · conversación de revisión */
.v-chat { display: grid; gap: 12px; padding: 10px 0; }
.v-msg { max-width: 86%; padding: 14px 16px; font-size: 14px; line-height: 1.5; animation: pg-sube .7s cubic-bezier(.2, .8, .2, 1) both; }
.v-msg small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.v-msg.yo { justify-self: end; border-bottom-right-radius: 6px; animation-delay: .5s; }
.v-msg.mentor { border-bottom-left-radius: 6px; animation-delay: 1.3s; }
.v-msg.mentor + .v-msg.mentor { animation-delay: 2.1s; }
.v-adjunto { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 11px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.v-adjunto .ico { width: 18px; height: 18px; color: var(--accent); }
.v-escribe { display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 14px; justify-self: start; animation: pg-sube .6s ease 2.9s both; }
.v-escribe i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pg-salta 1.2s ease-in-out infinite; }
.v-escribe i:nth-child(2) { animation-delay: .15s; } .v-escribe i:nth-child(3) { animation-delay: .3s; }

/* Suscripciones · flujo de contenidos */
.v-feed { display: grid; gap: 12px; padding: 10px 0; }
.v-fila { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; animation: pg-desliza .8s cubic-bezier(.2, .8, .2, 1) both; }
.v-fila:nth-child(2) { margin-left: 26px; animation-delay: .15s; } .v-fila:nth-child(3) { margin-left: 52px; animation-delay: .3s; } .v-fila:nth-child(4) { margin-left: 26px; animation-delay: .45s; }
.v-fila > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.v-fila > i .ico { width: 20px; height: 20px; }
.v-fila b { display: block; font-size: 14.5px; font-weight: 600; } .v-fila span { font-size: 12.5px; color: var(--muted); }
.v-fila em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v-fila em.vivo { display: inline-flex; align-items: center; gap: 6px; color: var(--neg); }
.v-fila em.vivo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neg); animation: pg-parpadeo 1.4s ease-in-out infinite; }

/* Quiénes somos · escudo */
.v-escudo { aspect-ratio: 1; display: grid; place-items: center; width: min(360px, 100%); }
.v-escudo img { position: relative; width: 70%; height: auto; animation: pg-flota 7s ease-in-out infinite;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .35)) drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 26%, transparent)); }

/* ───────────────────────── piezas de contenido ───────────────────────── */
.pg-g2, .pg-g3, .pg-g4 { display: grid; gap: 14px; }
.pg-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pg-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-it { padding: 24px 22px; }
a.pg-it { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
a.pg-it:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.pg-it > i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.pg-it > i .ico { width: 22px; height: 22px; }
.pg-it > .num { display: block; margin-bottom: 12px; font-size: 15px; }
.pg-it h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.pg-it p { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--muted); }
.pg-it .in-ir { margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.pg-it.destacado { border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--surface) 80%, transparent) 60%); }

/* bloque de texto + visual */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.pg-split.inv > :first-child { order: 2; }
.pg-split .in-cab { margin-bottom: 24px; }

/* lista con marcas */
.pg-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pg-check li { position: relative; padding-left: 36px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pg-check li b { color: var(--text); font-weight: 600; }
.pg-check li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.pg-check li::after { content: ""; position: absolute; left: 8.5px; top: 7px; width: 7px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.pg-check.no li::after { left: 7px; top: 12.5px; width: 10px; height: 0; border-width: 2px 0 0; transform: none; }
.pg-check.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }

/* pasos sobre una línea */
.pg-pasos { --n: 4; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px; }
.pg-pasos::before { content: ""; position: absolute; left: 22px; right: 10%; top: 22px; height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.pg-pasos li { position: relative; }
.pg-pasos .num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; font-size: 16px; position: relative;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--surface) 88%, var(--accent)); box-shadow: 0 0 0 6px var(--bg); }
.pg-pasos h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.pg-pasos p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* tarjeta de precio */
.pg-precio-w { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 52px; align-items: center; }
.pg-precio { padding: 28px 28px 24px; box-shadow: 0 26px 60px rgba(0, 0, 0, .12); }
.pg-precio::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.pg-precio h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.pg-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); }
.pg-plan:first-of-type { border-top: 0; padding-top: 4px; }
.pg-plan .nom { font-size: 15px; font-weight: 600; } .pg-plan .det { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.pg-plan .monto { text-align: right; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-plan.principal .monto { font-size: 34px; background: var(--oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-plan .incl { font-size: 14px; font-weight: 600; color: var(--accent); }
.pg-plan .btn { grid-column: 1 / -1; margin-top: 10px; }
.pg-iva { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.pg-precio .pronto { margin-top: 14px; border-radius: 12px; }
.pg-precio-extra { margin-top: 12px; }

/* condiciones del servicio (texto vigente de la base de datos) */
.pg-cond { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.pg-cond .in-cab { position: sticky; top: 104px; }
.pg-prosa { padding: 28px 30px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.pg-prosa p { margin: 0 0 14px; } .pg-prosa p:last-child { margin-bottom: 0; }
.pg-prosa strong { color: var(--text); font-weight: 600; }
.pg-prosa ul, .pg-prosa ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.pg-prosa li { position: relative; padding-left: 20px; }
.pg-prosa li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pg-prosa a { color: var(--link); text-underline-offset: 3px; }
.pg-acord { display: grid; gap: 12px; }
.pg-acord details { padding: 0; }
.pg-acord summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pg-acord summary::-webkit-details-marker { display: none; }
.pg-acord summary::after { content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; font-weight: 400; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); transition: transform .25s; }
.pg-acord details[open] summary::after { transform: rotate(45deg); }
.pg-acord .pg-prosa { padding: 0 24px 24px; }

/* comparativa de planes con selector de período */
.pg-periodo { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); }
.pg-periodo button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.pg-periodo button:hover { color: var(--text); }
.pg-periodo button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.pg-periodo small { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; color: var(--on-accent); background: var(--oro); }
.pg-periodo-w { display: flex; justify-content: center; margin: -12px 0 28px; }
.pg-planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pg-planc { display: flex; flex-direction: column; padding: 28px 24px 24px; }
.pg-planc h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.pg-planc > p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); min-height: 4.65em; }
.pg-planc h3 { padding-right: 0; } .pg-planc.destacado h3 { padding-right: 112px; }
.pg-monto { margin: 22px 0 4px; min-height: 64px; }
.pg-monto b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pg-monto span { font-size: 13px; color: var(--muted); }
.pg-monto em { font-style: normal; margin-left: 6px; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.pg-planc .pg-check { margin: 20px 0 24px; gap: 11px; } .pg-planc .pg-check li { font-size: 14px; }
.pg-planc .pie { margin-top: auto; }
.pg-planc.destacado { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 26px 60px rgba(0, 0, 0, .14);
  background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 13%, var(--surface)), color-mix(in srgb, var(--surface) 82%, transparent) 55%); }
.pg-planc .in-tag, .pg-it .in-tag { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-accent); background: var(--oro); }

/* tabla de precios */
.pg-tabla { padding: 6px 4px; overflow-x: auto; }
.pg-tabla table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.pg-tabla th, .pg-tabla td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.pg-tabla tr:last-child td { border-bottom: 0; }
.pg-tabla thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pg-tabla th small { display: block; margin-top: 3px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--accent); }
.pg-tabla td.n, .pg-tabla th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-tabla td.n { font-weight: 600; }
.pg-tabla tbody th { font-weight: 600; font-size: 15px; } .pg-tabla tbody th a { color: var(--text); text-decoration: none; } .pg-tabla tbody th a:hover { color: var(--accent); }
.pg-tabla tbody th span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.pg-tabla tbody tr { transition: background .2s; } .pg-tabla tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }

/* nota discreta y banda final */
.pg-nota { max-width: 680px; margin: 22px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pg-nota a { color: var(--muted); }
.pg-final { padding-top: 96px; }
.pg-final-c { padding: 60px 24px 56px; text-align: center;
  background: radial-gradient(60% 90% at 50% 110%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), color-mix(in srgb, var(--surface) 72%, transparent); }
.pg-final-c img { display: block; width: 76px; height: auto; margin: 0 auto 18px; animation: pg-flota 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 26px color-mix(in srgb, var(--accent) 35%, transparent)); }
.pg-final-c h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 500; margin: 0 auto 14px; max-width: 18ch; }
.pg-final-c p { max-width: 560px; margin: 0 auto 28px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.pg-final-c .pg-acc { justify-content: center; }

/* estados vacíos y avisos dentro de las páginas */
.pg-vacio { padding: 40px 28px; text-align: center; color: var(--muted); font-size: 15px; }
.pg-vacio i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.pg-vacio i .ico { width: 24px; height: 24px; }
.pg-vacio b { display: block; margin-bottom: 6px; font-size: 17px; color: var(--text); font-weight: 600; }

@keyframes pg-sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pg-entra { from { opacity: 0; transform: scale(.94) translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pg-desliza { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes pg-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pg-gira { to { rotate: 360deg; } }
@keyframes pg-respira { 0%, 100% { opacity: .7; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes pg-latido { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 8%, transparent); } }
@keyframes pg-rejilla { to { background-position: 56px 56px; } }
@keyframes pg-llena { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pg-oscila { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.78); } }
@keyframes pg-traza { to { stroke-dashoffset: 0; } }
@keyframes pg-aparece { to { opacity: 1; } }
@keyframes pg-pulso { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pos) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes pg-parpadeo { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pg-salta { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .inicio *, .inicio *::before, .pg *, .pg *::before, .pg *::after, .pg-hero::before { animation: none !important; transition: none !important; }
  .in-js .revelar { opacity: 1; transform: none; }
  .v-term-graf .curva { stroke-dashoffset: 0; } .v-term-graf .area { opacity: 1; }
}
@media (max-width: 980px) {
  .pg-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .pg-hero h1 { max-width: none; }
  .pg-visual { width: min(400px, 100%); }
  .pg-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-g3, .pg-planes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split, .pg-precio-w, .pg-cond { grid-template-columns: 1fr; gap: 32px; }
  .pg-split.inv > :first-child { order: 0; }
  .pg-cond .in-cab { position: static; }
  .pg-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; } .pg-pasos::before { display: none; }
}
@media (max-width: 640px) {
  .pg-hero { padding: calc(var(--sube) + 28px) 0 22px; }
  .pg-sub { font-size: 16.5px; }
  .pg-acc .btn { flex: 1 1 100%; }
  .pg-g2, .pg-g3, .pg-g4, .pg-planes, .pg-pasos, .pg-check.dos { grid-template-columns: 1fr; }
  .pg-it, .pg-planc { padding: 22px 20px; }
  .pg-precio { padding: 24px 20px 20px; } .pg-plan.principal .monto { font-size: 28px; }
  .pg-prosa { padding: 22px 20px; } .pg-acord summary { padding: 18px 20px; } .pg-acord .pg-prosa { padding: 0 20px 20px; }
  .v-nivel:nth-child(3) { margin-left: 18px; margin-right: 0; } .v-nivel:nth-child(4) { margin-left: 36px; margin-right: 0; }
  .v-fila:nth-child(n) { margin-left: 0; }
  .pg-final { padding-top: 72px; } .pg-final-c { padding: 44px 20px 40px; }
  .pg-periodo button { padding: 0 12px; font-size: 13px; }
}

/* Ruta · escalera vertical de rangos con una línea dorada que se llena al aparecer */
.v-nivel .num { grid-row: span 3; }
.pg-escala { position: relative; max-width: 880px; margin: 0 auto; }
.pg-escala ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pg-escala-linea { position: absolute; left: 53px; top: 56px; bottom: 56px; width: 2px; border-radius: 2px; background: var(--border); }
.pg-escala-linea i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #c17f2b, #f9e07f 45%, #c88b36 75%, #f5d77a);
  transform-origin: top; transform: scaleY(0); transition: transform 2.6s cubic-bezier(.3, .7, .2, 1) .2s; }
.pg-escala.visto .pg-escala-linea i, .pg:not(.in-js) .pg-escala-linea i { transform: scaleY(1); }
.pg-escala li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 22px; align-items: center; }
.pg-escala-med { position: relative; z-index: 1; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--surface) 92%, var(--accent)), var(--surface) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: 0 10px 30px rgba(0, 0, 0, .16); transition: transform .3s, box-shadow .3s; }
.pg-escala-med img { width: 72px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); transition: transform .4s; }
.pg-escala-med i { color: var(--muted); } .pg-escala-med i .ico { width: 34px; height: 34px; }
.pg-escala li.inicio .pg-escala-med { border-style: dashed; box-shadow: none; }
.pg-escala li:hover .pg-escala-med { transform: translateY(-4px); box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 26%, transparent); }
.pg-escala li:hover .pg-escala-med img { transform: scale(1.08) rotate(-3deg); }
.pg-escala li.vip .pg-escala-med { border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent), 0 14px 40px color-mix(in srgb, var(--accent) 30%, transparent); }
.pg-escala li.vip .pg-escala-txt { border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--surface) 80%, transparent) 60%); }
.pg-aro { position: absolute; inset: -9px; border-radius: 50%; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 60%, var(--accent) 80%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: pg-gira 9s linear infinite; }
.pg-escala-txt { padding: 20px 24px; }
.pg-escala-cab { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.pg-escala-cab .num { font-size: 14px; }
.pg-escala-cab .rol { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pg-escala-txt h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.pg-escala-txt p:last-child { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--muted); }
@media (max-width: 640px) {
  .pg-escala li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .pg-escala-med { width: 72px; height: 72px; } .pg-escala-med img { width: 48px; } .pg-escala-med i .ico { width: 26px; height: 26px; }
  .pg-escala-linea { left: 35px; top: 40px; bottom: 40px; }
  .pg-escala-txt { padding: 16px 18px; } .pg-escala-txt h3 { font-size: 18px; }
}

.pg [hidden] { display: none !important; }
.pg-check li.no { color: color-mix(in srgb, var(--muted) 70%, transparent); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.pg-check li.no::before { background: transparent; border-color: var(--border); }
.pg-check li.no::after { left: 7px; top: 12.5px; width: 10px; height: 0; border-color: var(--muted); border-width: 2px 0 0; transform: none; }
section.pg-it { display: flex; flex-direction: column; }
.pg-precio-lista { margin: 16px 0 2px; }
.pg-precio-lista .pg-plan { padding: 12px 0; } .pg-precio-lista .pg-plan:first-child { padding-top: 0; border-top: 0; }
.pg-precio-lista .pg-plan .monto { font-size: 21px; }
.pg-it h3 + p { padding-right: 4px; }
.pg-it.destacado h3 { padding-right: 150px; }
@media (max-width: 640px) { .pg-it.destacado h3 { padding-right: 0; margin-top: 28px; } }

/* Mini Curso y clase de muestra */
.pg-lecciones.con-indice { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.pg-lec-lista { display: grid; gap: 18px; }
.pg-leccion { padding: 22px; }
.pg-leccion header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pg-leccion header .num { font-size: 15px; }
.pg-leccion h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.pg-dur { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.pg-dur .ico { width: 16px; height: 16px; }
.pg-leccion .video { border-radius: 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, .2); }
.pg-leccion .pg-prosa { padding: 18px 4px 0; }
.pg-indice { position: sticky; top: 104px; padding: 20px; }
.pg-indice p { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pg-indice ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pg-indice a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--text); text-decoration: none; }
.pg-indice a:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
@media (max-width: 980px) { .pg-lecciones.con-indice { grid-template-columns: 1fr; } .pg-indice { position: static; order: -1; } }
@media (max-width: 640px) { .pg-leccion { padding: 16px; } .pg-leccion header { flex-wrap: wrap; } }

/* Informes */
.pg-informes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pg-inf { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 20px; padding: 22px; text-decoration: none; color: var(--text); }
.pg-inf:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.pg-fecha { display: grid; place-content: center; text-align: center; height: 78px; border-radius: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.pg-fecha b { display: block; font-size: 28px; line-height: 1; letter-spacing: -0.03em; font-weight: 600; color: var(--text); text-transform: none; }
.pg-inf-txt { display: flex; flex-direction: column; min-width: 0; }
.pg-tipo { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pg-inf h2 { margin: 6px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.pg-inf p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pg-inf .in-ir { margin-top: auto; padding-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.pg-lectura { max-width: 820px; margin: 22px auto 0; padding: 34px 38px 30px; }
.pg-lectura .pg-prosa { padding: 0; font-size: 16px; color: var(--text); }
.pg-lectura .pg-prosa h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 26px 0 10px; }
.pg-lectura .pg-prosa h3 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
.pg-lectura .pg-prosa img { max-width: 100%; height: auto; border-radius: 12px; }
.pg-lectura-nota { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.pg-lectura-nota a { color: var(--muted); }
.pg-hero .pg-migas { margin-bottom: 18px; }
@media (max-width: 760px) { .pg-informes { grid-template-columns: 1fr; } .pg-inf { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .pg-fecha { height: 62px; } .pg-fecha b { font-size: 22px; } .pg-lectura { padding: 24px 20px; } }

/* Quiénes somos */
.v-escudo .v-anillo { inset: 6%; } .v-escudo .v-anillo.dos { inset: -2%; }
.pg-perfil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 38px 40px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--accent) 9%, var(--surface))); }
.pg-perfil .in-cab { margin: 0; }
.pg-perfil-datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pg-perfil-datos li { padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.pg-perfil-datos span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pg-perfil-datos b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.pg-perfil-datos em { font-style: normal; background: var(--oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-principios { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pg-principios li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; }
.pg-principios .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.pg-principios b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; margin: 2px 0 4px; }
.pg-principios p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.pg-claro { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: center; padding: 32px 36px; }
.pg-claro h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; }
.pg-claro > p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (max-width: 980px) { .pg-perfil, .pg-claro { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) { .pg-perfil, .pg-claro { padding: 24px 20px; } }

/* PQRS y recibos */
.pg-pqrs { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pg-form { grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 30px 30px 28px; }
.pg-form h2 { grid-column: 1 / -1; margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pg-form > .notice, .pg-form .campo-hechos, .pg-form .campo-pretension, .pg-form .campo-adjunto, .pg-form .campo-ancho { grid-column: 1 / -1; }
.pg-form input, .pg-form select, .pg-form textarea { border-radius: 11px; background: color-mix(in srgb, var(--surface) 85%, transparent); transition: border-color .2s, box-shadow .2s; }
.pg-form input:not([type=file]), .pg-form select { height: 46px; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.pg-form .btn { justify-self: start; }
.pg-tipos { position: sticky; top: 104px; display: grid; gap: 10px; }
.pg-tipos .in-card { padding: 14px 16px; } .pg-tipos b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.pg-tipos p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.pg-centro .pg-hero-txt { margin: 0 auto; text-align: center; } .pg-centro h1, .pg-centro .pg-sub { margin-left: auto; margin-right: auto; }
.pg-ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; color: var(--pos);
  background: color-mix(in srgb, var(--pos) 12%, transparent); border: 1px solid color-mix(in srgb, var(--pos) 40%, transparent); animation: pg-entra .8s cubic-bezier(.2, .8, .2, 1) both; }
.pg-ok .ico { width: 30px; height: 30px; stroke-width: 2.2; }
.pg-recibo { max-width: 560px; margin: 4px auto 0; padding: 28px 30px; }
.pg-recibo-n { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); text-align: center; }
.pg-recibo-n span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pg-recibo-n b { display: block; margin-top: 4px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pg-recibo .hint { display: block; margin: 16px 0 0; font-size: 13px; }
.pg-recibo .pg-acc { margin-top: 18px; justify-content: center; }
@media (max-width: 980px) { .pg-pqrs { grid-template-columns: 1fr; } .pg-tipos { position: static; } }
@media (max-width: 640px) { .pg-form { grid-template-columns: 1fr; padding: 22px 18px; } .pg-form .btn { justify-self: stretch; } .pg-recibo { padding: 22px 18px; } }

/* Legal: índice de documentos y lectura (solo estética; el texto es el vigente) */
.pg-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-doc { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none; color: var(--text); }
.pg-doc:hover { transform: translateY(-2px); }
.pg-doc > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.pg-doc > i .ico { width: 21px; height: 21px; }
.pg-doc b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.pg-doc-t > span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.pg-doc svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s, color .2s; }
.pg-doc:hover svg { color: var(--accent); transform: translateX(3px); }
.ldoc { margin: 0 auto; }
.ldoc h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 6px; }
.lver { border-bottom-color: var(--border); }
.lindice { border-radius: 16px; background: color-mix(in srgb, var(--surface) 76%, transparent); backdrop-filter: blur(10px); padding: 18px 22px; }
.lhist table { border-radius: 12px; overflow: hidden; }
@media (max-width: 760px) { .pg-docs { grid-template-columns: 1fr; } }
@media print { .lindice { background: none; backdrop-filter: none; } }
.pg-cert-med { display: grid; justify-items: center; gap: 12px; margin-bottom: 18px; }
.pg-cert-med img { width: 96px; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)); animation: pg-flota 7s ease-in-out infinite; }
.pg-cert-med > i .ico { width: 48px; height: 48px; color: var(--accent); }
.pg-cert-ok { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--pos);
  background: color-mix(in srgb, var(--pos) 12%, transparent); border: 1px solid color-mix(in srgb, var(--pos) 35%, transparent); }
.pg-cert-ok .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.pg-recibo.pg-vacio { max-width: 560px; }
main > .wrap > .pg-migas.no-print { max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .pg-planc > p { min-height: 0; } .pg-monto { margin-top: 18px; min-height: 0; } }
