/* sitio.css · la ÚNICA hoja de estilo del sitio público (desde el 3-oct-2026, P-494).
   Arriba lo común (nació como el CSS de la portada, 23-sep); el encabezado y el pie los escribe
   scripts/sitio_comun.py en cada página. Abajo, las reglas propias de Cómo funciona, Precios, el índice
   del blog y los artículos, bajo la clase de página de <body> con :where() para no subir la especificidad.
   Ninguna página trae <style> propio (lo vigila tests/unit/test_sitio_comun.py). */
  :root{
    --verde:#148F63; --verde-700:#0F7A54; --verde-900:#0A6B4A;
    --ambar:#F5B715; --ambar-soft:#FFD24A;
    --ink:#12201B; --muted:#5B6963; --line:rgba(20,143,99,.16);
    --bg:#FBFCFB; --surface:#FFFFFF; --surface-2:#F3F7F4;
    --hero:#0B100E;
    --artw:760px;
    --radius:14px;
    --maxw:1120px;
    --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,system-ui,sans-serif;
    --shadow:0 1px 2px rgba(10,40,28,.04),0 10px 26px -12px rgba(10,60,40,.14);
  }
  @media (prefers-color-scheme: dark){
    :root{
      --ink:#E7EEEA; --muted:#93A39B; --line:rgba(255,255,255,.10);
      --bg:#0A0F0D; --surface:#111815; --surface-2:#0E1512;
      --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 34px -16px rgba(0,0,0,.6);
    }
  }
  :root[data-theme="light"]{
    --ink:#12201B; --muted:#5B6963; --line:rgba(20,143,99,.16);
    --bg:#FBFCFB; --surface:#FFFFFF; --surface-2:#F3F7F4;
    --shadow:0 1px 2px rgba(10,40,28,.04),0 10px 26px -12px rgba(10,60,40,.14);
  }
  :root[data-theme="dark"]{
    --ink:#E7EEEA; --muted:#93A39B; --line:rgba(255,255,255,.10);
    --bg:#0A0F0D; --surface:#111815; --surface-2:#0E1512;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 34px -16px rgba(0,0,0,.6);
  }

  *{box-sizing:border-box}
  body{margin:0;font-family:var(--sans);background:var(--bg);color:var(--ink);
    line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
  h1,h2,h3{margin:0;line-height:1.06;letter-spacing:-.02em;text-wrap:balance;font-weight:800}
  p{margin:0}
  a{color:inherit}
  .num{font-variant-numeric:tabular-nums}

  .kicker{font-size:11.5px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--verde-700)}
  .h2{font-size:clamp(23px,3.4vw,34px);margin-top:10px;max-width:24ch}
  .sub{margin-top:11px;color:var(--muted);font-size:clamp(14.5px,1.7vw,16.5px);max-width:66ch}
  .sub b{color:var(--ink)}

  .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;
    padding:11px 19px;border-radius:11px;text-decoration:none;border:1px solid transparent;
    transition:transform .16s ease,background .16s ease,border-color .16s ease}
  .btn:active{transform:scale(.975)}
  .btn-primary{background:var(--verde-700);color:#fff;box-shadow:0 8px 22px -10px rgba(20,143,99,.7)}
  .btn-primary:hover{background:var(--verde-900)}
  .btn-ghost{border-color:rgba(255,255,255,.22);color:#EAF2EE}
  .btn-ghost:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.04)}
  .btn-ghost-light{border-color:var(--line);color:var(--ink)}
  .btn-ghost-light:hover{border-color:var(--verde)}
  .cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}

  /* ============ BLOQUE OSCURO (compartido) ============ */
  .dark{position:relative;background:var(--hero);color:#EAF2EE;overflow:hidden}
  .dark::before{content:"";position:absolute;inset:0;pointer-events:none;
    background:
      radial-gradient(58% 85% at 80% 6%, rgba(20,143,99,.40), transparent 60%),
      radial-gradient(48% 66% at 10% 100%, rgba(15,122,84,.26), transparent 60%)}
  .dark .wrap{position:relative}
  .dark .kicker{color:#8DEAC1}
  .dark .h2{color:#fff}
  .dark .sub{color:#B9CEC5}
  .dark .sub b{color:#fff}
  .hair{height:1px;background:rgba(141,234,193,.16);margin:clamp(30px,4.4vw,44px) 0}
  .b1 .hair{margin:22px 0}

  /* ---- Bloque 1 · hero ---- */
  .b1{padding:22px 0 30px}
  .b1::after{content:"";position:absolute;inset:0;opacity:.45;pointer-events:none;
    background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
      linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size:42px 42px;mask-image:radial-gradient(78% 66% at 50% 22%,#000,transparent 74%)}
  .topbar{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin-bottom:26px}
  .topbar .nav{margin-left:auto}
  .brand{display:flex;align-items:center;gap:9px;text-decoration:none}
  .brand .mark{width:26px;height:26px;flex:none}
  .brand b{font-weight:800;letter-spacing:-.02em;font-size:16px}
  .brand span{color:#7FE3BD;font-weight:600}
  .nav{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;font-size:13.5px;font-weight:700}
  .nav a{color:#C9E9DB;text-decoration:none;border-bottom:1px solid transparent;padding:2px 0}
  .nav a:hover{color:#fff;border-bottom-color:#8DEAC1}
  .nav a[aria-current="page"]{color:#fff;border-bottom-color:var(--ambar)}
  .topbar .btn-nav{padding:8px 14px;font-size:13.5px;box-shadow:none;background:var(--verde-700);color:#fff;border-color:transparent}
  .topbar .btn-nav:hover{background:var(--verde-900)}
  .topbar .btn-nav[aria-current="page"]{outline:2px solid rgba(255,255,255,.35);outline-offset:2px}
  .solo-movil{display:none}
  .menu-btn{display:none;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:10px;
    border:1px solid rgba(201,233,219,.35);background:transparent;color:#EAF2EE;cursor:pointer}
  .menu-btn svg{width:22px;height:22px;display:block}
  .menu-btn .i-cerrar,.menu-btn[aria-expanded="true"] .i-abrir{display:none}
  .menu-btn[aria-expanded="true"] .i-cerrar{display:block}
  .nav a:focus-visible,.menu-btn:focus-visible,.btn:focus-visible,.foot a:focus-visible{outline:3px solid var(--ambar);outline-offset:2px}
  @media (max-width:860px){
    .topbar{gap:8px;flex-wrap:wrap}
    .topbar .brand{margin-right:auto;gap:8px}
    .topbar .brand b{font-size:15px}
    .topbar .brand .mark{width:24px;height:24px}
    .topbar .btn-nav{padding:7px 11px;font-size:13px}
    .menu-btn{width:40px;height:40px}
    .topbar .nav{order:4;width:100%;margin:2px 0 0;display:none;flex-direction:column;align-items:stretch;gap:0;
      border-top:1px solid rgba(201,233,219,.18);font-size:16px}
    .topbar .nav a{padding:13px 4px;border-bottom:1px solid rgba(201,233,219,.12)}
    .topbar .nav a[aria-current="page"]{color:#8DEAC1;border-bottom-color:rgba(201,233,219,.12)}
    .topbar.abierto .nav{display:flex}
    .solo-movil{display:block}
    .menu-btn{display:inline-flex}
  }
  .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;
    letter-spacing:.13em;text-transform:uppercase;color:#8DEAC1;
    border:1px solid rgba(141,234,193,.28);border-radius:999px;padding:4px 11px;margin-bottom:12px}
  .eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--ambar);box-shadow:0 0 11px var(--ambar)}
  .b1 h1{font-size:clamp(27px,3.9vw,46px);max-width:22ch;
    background:linear-gradient(180deg,#FFFFFF,#C9E9DB);-webkit-background-clip:text;background-clip:text;color:transparent}
  .b1 .lead{margin-top:13px;font-size:clamp(14.5px,1.65vw,17px);color:#B9CEC5;max-width:60ch;line-height:1.5}
  .b1 .lead b{color:#fff}
  .b1 .cta{margin-top:18px}
  .under{margin-top:12px;font-size:13px;color:#8DEAC1;font-weight:700;letter-spacing:.02em}

  /* las tres pruebas · sin cifras */
  .proofs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .proof{border:1px solid rgba(141,234,193,.16);border-radius:12px;padding:14px 15px;
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02))}
  .proof h3{font-size:15.5px;font-weight:800;color:#fff;line-height:1.25}
  .proof p{margin-top:6px;font-size:13.5px;color:#A9C1B7;line-height:1.45}
  .proof .n{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;margin-bottom:9px;
    font-variant-numeric:tabular-nums;font-weight:800;color:#8DEAC1;font-size:11.5px;border:1px solid rgba(141,234,193,.24)}
  .caveat{margin-top:12px;font-size:12.5px;color:#A9C1B7}

  /* ============ Secciones claras ============ */
  .sec{padding:clamp(40px,6vw,66px) 0;border-top:1px solid var(--line)}
  .sec.alt{background:var(--surface-2)}
  .sec .lead-p{margin-top:16px;font-size:15.5px;line-height:1.6;max-width:72ch}
  .sec .lead-p b{font-weight:800}

  .pts{margin:22px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .pts li{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px 16px;box-shadow:var(--shadow)}
  .pts .n{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;margin-bottom:9px;
    font-variant-numeric:tabular-nums;font-weight:800;color:var(--verde);font-size:11.5px;border:1px solid var(--line)}
  .pts h3{font-size:15.5px;line-height:1.25}
  .pts p{margin-top:6px;font-size:13.5px;color:var(--muted);line-height:1.45}

  .mas{display:inline-flex;align-items:center;gap:6px;margin-top:18px;font-size:13.5px;
    font-weight:800;color:var(--verde);text-decoration:none;
    border-bottom:1px solid transparent;transition:border-color .16s ease}
  .mas:hover{border-bottom-color:var(--verde)}
  .mas svg{width:14px;height:14px}

  /* tabla de modalidades */
  .tblwrap{margin-top:22px;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
  table.tbl{width:100%;border-collapse:collapse;font-size:13.5px;min-width:640px}
  .tbl th,.tbl td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.42}
  .tbl thead th{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--verde);background:var(--surface-2)}
  .tbl tbody th{font-weight:800;color:var(--ink);width:24%}
  .tbl tr:last-child td,.tbl tr:last-child th{border-bottom:0}
  .note{margin-top:12px;font-size:13px;color:var(--muted)}

  /* tarjetas por audiencia */
  .cards{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 19px;box-shadow:var(--shadow)}
  .card .kicker{font-size:11px}
  .card h3{font-size:17px;margin-top:6px}
  .card p{margin-top:9px;font-size:14px;color:var(--muted);line-height:1.5}

  .incl{margin-top:16px;font-size:15px;line-height:1.7;max-width:80ch}
  .incl b{font-weight:800}

  /* ============ BLOQUE 3 · lo que no somos + piloto + cierre ============ */
  .b3{padding:clamp(42px,6.5vw,72px) 0 0}
  .diff-grid{margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .diff-item{display:flex;gap:13px;align-items:flex-start;padding:15px 16px;
    border:1px solid rgba(141,234,193,.16);border-radius:12px;
    background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015))}
  .diff-item .chk{flex:none;width:25px;height:25px;border-radius:8px;display:grid;place-items:center;
    background:rgba(20,143,99,.22);color:#8DEAC1}
  .diff-item h3{font-size:15.5px;font-weight:800;color:#fff;line-height:1.25}
  .diff-item p{margin-top:5px;font-size:13.5px;color:#A9C1B7;line-height:1.45}

  .piloto{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(20px,3vw,34px);align-items:start}
  .piloto .txt{font-size:15px;line-height:1.6;color:#B9CEC5}
  .piloto .txt b{color:#fff}
  .piloto .txt p+p{margin-top:12px}

  .close{text-align:center}
  .close .h2{margin:10px auto 0;max-width:30ch}
  .close .sub{margin:11px auto 0}
  .close .cta{justify-content:center}

  .foot{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;
    border-top:1px solid rgba(141,234,193,.14);margin-top:clamp(30px,4.4vw,44px);padding:18px 0 22px;
    color:#A9C1B7;font-size:12.5px}
  .foot .b{display:flex;align-items:center;gap:8px;font-weight:700;color:#EAF2EE}
  .foot .b svg{width:20px;height:20px}
  .foot .links{display:flex;flex-wrap:wrap;gap:6px 16px}
  .foot a{color:#C9E9DB;text-decoration:none}
  .foot a:hover{color:#fff;text-decoration:underline}
  .foot .tag{width:100%;color:#8DEAC1;font-weight:700}
  .foot .copy{width:100%;color:#7F978C;font-size:12px}

  @media (prefers-reduced-motion: reduce){ .btn{transition:none} }

  @media (max-width:420px){ .wrap{padding:0 16px} }
  @media (max-width:900px){
    .proofs,.pts,.cards,.diff-grid{grid-template-columns:1fr}
    .piloto{grid-template-columns:1fr;gap:18px}
    .b1{padding:20px 0 30px}
  }

  /* ---- páginas interiores (S3) ---- */
  .b1.interior{padding-bottom:26px}
  .b1.interior h1{max-width:26ch}
  .art{max-width:76ch}
  .art p{margin-top:12px;font-size:15.5px;line-height:1.65}
  .art p b{font-weight:800}
  .art ul,.art ol{margin:12px 0 0;padding-left:22px;font-size:15px;line-height:1.6}
  .art li+li{margin-top:6px}
  .art h3{font-size:18px;margin-top:26px}
  .qs{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
  .qs li{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:13px 15px;font-size:14.5px;line-height:1.5}
  .qs li b{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--verde);margin-bottom:3px}
  .aviso{margin-top:18px;padding:13px 15px;border-radius:12px;border:1px solid rgba(245,183,21,.55);background:rgba(245,183,21,.12);font-size:14px;line-height:1.5}
  .demo-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ambar);border:1px solid rgba(245,183,21,.5);border-radius:999px;padding:3px 9px}
  .cookie{position:fixed;left:12px;right:12px;bottom:12px;z-index:50;background:var(--hero);color:#EAF2EE;border:1px solid rgba(141,234,193,.3);border-radius:14px;padding:14px 16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;font-size:13.5px;box-shadow:0 16px 34px -16px rgba(0,0,0,.6)}
  .cookie a{color:#8DEAC1}
  .cookie .acts{display:flex;gap:8px}
  .cookie button{font:inherit;font-weight:700;border-radius:9px;padding:8px 14px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#EAF2EE;cursor:pointer}
  .cookie button.si{background:var(--verde);border-color:transparent;color:#fff}
  [hidden]{display:none!important}

  /* ============ Cómo funciona · body.pg-como ============ */
  :where(.pg-como) .sub{margin-top:11px;color:var(--muted);font-size:clamp(14.5px,1.7vw,16.5px);max-width:64ch}
  :where(.pg-como) .b1-top{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:clamp(20px,3vw,34px);align-items:center}
  :where(.pg-como) .b1-why{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:clamp(20px,3vw,34px);align-items:start}
  :where(.pg-como) .b1 .h2{font-size:clamp(20px,2.7vw,29px);margin-top:8px;max-width:22ch}
  :where(.pg-como) .b1 .sub{margin-top:9px;font-size:clamp(13.5px,1.55vw,15.5px)}
  :where(.pg-como) .b1 h1{font-size:clamp(26px,3.8vw,45px);max-width:18ch; background:linear-gradient(180deg,#FFFFFF,#C9E9DB);-webkit-background-clip:text;background-clip:text;color:transparent}
  :where(.pg-como) .b1 .lead{margin-top:11px;font-size:clamp(14px,1.6vw,16.5px);color:#B9CEC5;max-width:52ch;line-height:1.45}
  :where(.pg-como) .b1 .cta{margin-top:16px}
  :where(.pg-como) .totem{margin-top:0;display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
  :where(.pg-como) .price{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)); border:1px solid rgba(141,234,193,.16);border-radius:12px;padding:11px 13px}
  :where(.pg-como) .price .k{font-weight:800;letter-spacing:-.02em; font-size:clamp(15px,1.7vw,19px);color:var(--ambar-soft);line-height:1.1; text-shadow:0 0 18px rgba(245,183,21,.32)}
  :where(.pg-como) .price .l{margin-top:5px;font-size:11.5px;color:#A9C1B7;font-weight:600;line-height:1.28}
  :where(.pg-como) .why-grid{margin-top:0;display:grid;grid-template-columns:1fr;gap:11px}
  :where(.pg-como) .why-item{display:flex;gap:11px;align-items:flex-start}
  :where(.pg-como) .why-item .n{flex:none;font-variant-numeric:tabular-nums;font-weight:800;color:#8DEAC1;font-size:11.5px; border:1px solid rgba(141,234,193,.24);border-radius:7px;width:25px;height:25px;display:grid;place-items:center}
  :where(.pg-como) .why-item h3{font-size:14.5px;font-weight:800;color:#fff;line-height:1.25}
  :where(.pg-como) .why-item p{margin-top:3px;color:#A9C1B7;font-size:13px;line-height:1.42}
  :where(.pg-como) .b2{padding:clamp(42px,6.5vw,72px) 0;background:var(--surface-2); border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  :where(.pg-como) .tabbar{position:relative;display:flex;flex-wrap:wrap;gap:2px;padding:6px;border-radius:16px; background:var(--surface);border:1px solid var(--line);margin-top:clamp(20px,3vw,28px)}
  :where(.pg-como) .tab-ind{position:absolute;left:0;top:0;width:0;height:0;border-radius:12px; background:var(--ink);z-index:0;pointer-events:none;opacity:0; box-shadow:0 0 0 2px var(--verde); transition:transform .40s cubic-bezier(.23,1,.32,1),width .40s cubic-bezier(.23,1,.32,1), height .40s cubic-bezier(.23,1,.32,1),opacity .2s ease}
  :where(.pg-como) .tab-ind.ready{opacity:1}
  :where(.pg-como) .tab{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px; padding:9px 12px;border:0;border-radius:12px;background:transparent;cursor:pointer; font-family:inherit;font-size:12.5px;font-weight:700;line-height:1.2;white-space:nowrap; color:var(--muted);transition:color .26s ease;-webkit-tap-highlight-color:transparent}
  :where(.pg-como) .tab:hover{color:var(--ink)}
  :where(.pg-como) .tab[aria-selected="true"]{color:var(--surface)}
  :where(.pg-como) .tab:focus-visible{outline:2px solid var(--verde);outline-offset:2px}
  :where(.pg-como) .tab[aria-selected="true"]:focus-visible{outline:none}
  :where(.pg-como) .tab-ico{display:grid;place-items:center;width:17px;height:17px;flex:none}
  :where(.pg-como) .tab-ico svg{width:17px;height:17px;stroke-width:2}
  :where(.pg-como) .panels{margin-top:14px}
  :where(.pg-como) .panel{display:none}
  :where(.pg-como) .panel.is-on{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:24px; align-items:start;background:var(--surface);border:1px solid var(--line); border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow); animation:panelIn .5s cubic-bezier(.23,1,.32,1) both}
  @keyframes panelIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
  :where(.pg-como) .panel-head h3{font-size:clamp(18px,2.4vw,23px)}
  :where(.pg-como) .panel-head .ben{margin-top:9px;color:var(--muted);font-size:14.5px;font-weight:500;line-height:1.45}
  :where(.pg-como) .caps{margin:0;padding:0;list-style:none;display:grid;gap:7px}
  :where(.pg-como) .caps li{position:relative;padding-left:23px;font-size:14px;color:var(--ink);line-height:1.42}
  :where(.pg-como) .caps li b{font-weight:800;color:var(--ink)}
  :where(.pg-como) .caps li::before{content:"";position:absolute;left:1px;top:5px;width:12px;height:12px; border-radius:50%;background:rgba(20,143,99,.14);box-shadow:inset 0 0 0 1.5px var(--verde)}
  :where(.pg-como) .caps li::after{content:"";position:absolute;left:4.5px;top:8.5px;width:5px;height:5px;border-radius:50%;background:var(--verde)}
  :where(.pg-como) .panel.is-on.wide{grid-template-columns:1fr}
  :where(.pg-como) .tblwrap{background:none;box-shadow:none;overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin-top:14px}
  :where(.pg-como) .tbl th,:where(.pg-como) .tbl td{padding:11px 13px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.42}
  :where(.pg-como) .tbl tbody th{font-weight:800;width:22%}
  :where(.pg-como) .diff-grid{margin-top:24px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
  @media (prefers-reduced-motion: reduce){
    :where(.pg-como) .tab-ind{transition:opacity .2s ease}
    :where(.pg-como) .panel.is-on{animation:none}
  }
  @media (max-width:900px){
    :where(.pg-como) .b1-top,:where(.pg-como) .b1-why{grid-template-columns:1fr;gap:22px}
    :where(.pg-como) .diff-grid{grid-template-columns:1fr}
    :where(.pg-como) .panel.is-on{grid-template-columns:1fr;gap:16px;padding:20px}
  }
  @media (max-width:520px){
    :where(.pg-como) .totem{grid-template-columns:1fr}
  }

  /* ============ Precios (la página existe sin ruta: D2) · body.pg-precios ============ */
  :where(.pg-precios) h1,:where(.pg-precios) h2,:where(.pg-precios) h3{margin:0;line-height:1.1;letter-spacing:-.02em;text-wrap:balance;font-weight:800}
  :where(.pg-precios) .h2{font-size:clamp(21px,3vw,30px);margin-top:8px;max-width:28ch}
  :where(.pg-precios) .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px; padding:11px 19px;border-radius:11px;text-decoration:none;border:1px solid transparent}
  :where(.pg-precios) .dark::before{content:"";position:absolute;inset:0;pointer-events:none; background:radial-gradient(58% 85% at 80% 6%, rgba(20,143,99,.40), transparent 60%), radial-gradient(48% 66% at 10% 100%, rgba(15,122,84,.26), transparent 60%)}
  :where(.pg-precios) .hero{padding:22px 0 32px}
  :where(.pg-precios) .hero h1{font-size:clamp(26px,3.6vw,42px);max-width:22ch; background:linear-gradient(180deg,#FFFFFF,#C9E9DB);-webkit-background-clip:text;background-clip:text;color:transparent}
  :where(.pg-precios) .hero .lead{margin-top:12px;font-size:clamp(14.5px,1.65vw,17px);color:#B9CEC5;max-width:56ch;line-height:1.5}
  :where(.pg-precios) .hero .date{margin-top:14px;font-size:12.5px;color:#8DEAC1;font-weight:700}
  :where(.pg-precios) .sec{padding:clamp(36px,5vw,56px) 0;border-top:1px solid var(--line)}
  :where(.pg-precios) .tblwrap{margin-top:20px;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
  :where(.pg-precios) table.tbl{width:100%;border-collapse:collapse;font-size:13.5px;min-width:680px}
  :where(.pg-precios) .tbl th,:where(.pg-precios) .tbl td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.45}
  :where(.pg-precios) .tbl thead th.plan{font-size:15px;letter-spacing:0;text-transform:none;color:var(--ink)}
  :where(.pg-precios) .tbl tbody th{font-weight:800;color:var(--ink);width:20%}
  :where(.pg-precios) .tbl .price{font-size:22px;font-weight:800;color:var(--verde);letter-spacing:-.02em}
  :where(.pg-precios) .tbl .price small{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:0}
  :where(.pg-precios) .note{margin-top:14px;font-size:13.5px;color:var(--muted);max-width:80ch;line-height:1.55}
  :where(.pg-precios) .note b{color:var(--ink)}
  :where(.pg-precios) .pend{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase; color:#7A5A00;background:rgba(245,183,21,.18);border:1px solid rgba(245,183,21,.5);border-radius:6px;padding:1px 6px;vertical-align:middle;white-space:nowrap}
  @media (prefers-color-scheme: dark){
    :where(.pg-precios) .pend{color:#FFD24A}
  }
  :root[data-theme="dark"] :where(.pg-precios) .pend{color:#FFD24A}
  :where(.pg-precios) .list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:9px;max-width:80ch}
  :where(.pg-precios) .list li{position:relative;padding-left:23px;font-size:14.5px;line-height:1.5}
  :where(.pg-precios) .list li::before{content:"";position:absolute;left:1px;top:7px;width:12px;height:12px; border-radius:50%;background:rgba(20,143,99,.14);box-shadow:inset 0 0 0 1.5px var(--verde)}
  :where(.pg-precios) .list li::after{content:"";position:absolute;left:4.5px;top:10.5px;width:5px;height:5px;border-radius:50%;background:var(--verde)}
  :where(.pg-precios) .list b{font-weight:800}
  :where(.pg-precios) .box{margin-top:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow);max-width:86ch}
  :where(.pg-precios) .box h3{font-size:clamp(18px,2.3vw,23px)}
  :where(.pg-precios) .box p{margin-top:12px;font-size:15px;line-height:1.6}
  :where(.pg-precios) .box p b{font-weight:800}
  :where(.pg-precios) .arg{margin-top:16px;font-size:15px;line-height:1.6;max-width:80ch}
  :where(.pg-precios) .arg b{font-weight:800}
  :where(.pg-precios) .ex{margin-top:10px;font-size:13.5px;color:var(--muted)}
  :where(.pg-precios) .faq{margin-top:18px;display:grid;gap:10px;max-width:86ch}
  :where(.pg-precios) .faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 18px;box-shadow:var(--shadow)}
  :where(.pg-precios) .faq summary{cursor:pointer;font-weight:800;font-size:15px;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center}
  :where(.pg-precios) .faq summary::-webkit-details-marker{display:none}
  :where(.pg-precios) .faq summary::after{content:"+";color:var(--verde);font-size:20px;font-weight:800;line-height:1}
  :where(.pg-precios) .faq details[open] summary::after{content:"−"}
  :where(.pg-precios) .faq .a{padding:0 0 16px;font-size:14.5px;line-height:1.55;color:var(--muted)}
  :where(.pg-precios) .faq .a b{color:var(--ink);font-weight:800}
  :where(.pg-precios) .close{text-align:center;padding-top:clamp(36px,5vw,56px)}
  :where(.pg-precios) .close .h2{margin:8px auto 0;max-width:30ch}
  :where(.pg-precios) .pie{margin-top:clamp(28px,4vw,40px);font-size:13px;color:#A9C1B7;max-width:80ch;line-height:1.55}
  :where(.pg-precios) .pie b{color:#EAF2EE}

  /* ============ Blog · índice · body.pg-blog ============ */
  :where(.pg-blog) h1,:where(.pg-blog) h2,:where(.pg-blog) h3{margin:0;line-height:1.12;letter-spacing:-.02em;text-wrap:balance;font-weight:800}
  :where(.pg-blog) .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px; padding:11px 19px;border-radius:11px;text-decoration:none;border:1px solid transparent}
  :where(.pg-blog) .btn-ghost{border-color:var(--line);color:var(--ink)}
  :where(.pg-blog) .btn-ghost:hover{border-color:var(--verde)}
  :where(.pg-blog) .dark::before{content:"";position:absolute;inset:0;pointer-events:none; background:radial-gradient(58% 85% at 80% 6%, rgba(20,143,99,.40), transparent 60%), radial-gradient(48% 66% at 10% 100%, rgba(15,122,84,.26), transparent 60%)}
  :where(.pg-blog) .hero{padding:10px 0 34px}
  :where(.pg-blog) .hero .in{max-width:var(--artw)}
  :where(.pg-blog) .hero h1{font-size:clamp(26px,3.6vw,40px);margin-top:10px; background:linear-gradient(180deg,#FFFFFF,#C9E9DB);-webkit-background-clip:text;background-clip:text;color:transparent}
  :where(.pg-blog) .hero .lead{margin-top:12px;font-size:clamp(14.5px,1.65vw,17px);color:#B9CEC5;max-width:56ch;line-height:1.5}
  :where(.pg-blog) .list{max-width:var(--artw);margin:0 auto;padding:clamp(28px,4vw,44px) 22px 10px;display:grid;gap:14px}
  :where(.pg-blog) .post{display:block;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;box-shadow:var(--shadow)}
  :where(.pg-blog) .post:hover{border-color:var(--verde)}
  :where(.pg-blog) .post .meta{font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px 12px}
  :where(.pg-blog) .post .meta b{color:var(--verde);font-weight:800}
  :where(.pg-blog) .post h2{font-size:clamp(18px,2.4vw,22px);margin-top:8px}
  :where(.pg-blog) .post p{margin-top:9px;font-size:15px;color:var(--muted);line-height:1.55}
  :where(.pg-blog) .post .more{display:inline-block;margin-top:12px;font-size:13.5px;font-weight:800;color:var(--verde)}
  :where(.pg-blog) .rule{max-width:var(--artw);margin:0 auto;padding:22px 22px 0;font-size:13.5px;color:var(--muted);line-height:1.55}
  :where(.pg-blog) .darkfoot{margin-top:clamp(28px,4vw,44px);padding-top:10px}

  /* ============ Blog · artículos · body.pg-art ============ */
  :where(.pg-art) h1,:where(.pg-art) h2,:where(.pg-art) h3{margin:0;line-height:1.12;letter-spacing:-.02em;text-wrap:balance;font-weight:800}
  :where(.pg-art) .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px; padding:11px 19px;border-radius:11px;text-decoration:none;border:1px solid transparent}
  :where(.pg-art) .btn-ghost{border-color:var(--line);color:var(--ink)}
  :where(.pg-art) .btn-ghost:hover{border-color:var(--verde)}
  :where(.pg-art) .btn svg{width:17px;height:17px;flex:none}
  :where(.pg-art) .dark::before{content:"";position:absolute;inset:0;pointer-events:none; background:radial-gradient(58% 85% at 80% 6%, rgba(20,143,99,.40), transparent 60%), radial-gradient(48% 66% at 10% 100%, rgba(15,122,84,.26), transparent 60%)}
  :where(.pg-art) .hero{padding:10px 0 34px}
  :where(.pg-art) .hero .in{max-width:var(--artw)}
  :where(.pg-art) .hero h1{font-size:clamp(26px,3.6vw,40px);margin-top:10px; background:linear-gradient(180deg,#FFFFFF,#C9E9DB);-webkit-background-clip:text;background-clip:text;color:transparent}
  :where(.pg-art) .meta{margin-top:14px;font-size:13px;color:#A9C1B7;display:flex;flex-wrap:wrap;gap:6px 14px}
  :where(.pg-art) .meta b{color:#EAF2EE;font-weight:700}
  :where(.pg-art) .art{max-width:var(--artw);margin:0 auto;padding:clamp(28px,4vw,44px) 22px 10px}
  :where(.pg-art) .art h2{font-size:clamp(20px,2.6vw,26px);margin-top:34px}
  :where(.pg-art) .art p{margin-top:15px;font-size:16.5px;line-height:1.65}
  :where(.pg-art) .art p b,:where(.pg-art) .art li b{font-weight:800}
  :where(.pg-art) .art ul,:where(.pg-art) .art ol{font-size:inherit;line-height:inherit;margin:14px 0 0;padding-left:24px}
  :where(.pg-art) .art li{margin-top:9px;font-size:16px;line-height:1.6}
  :where(.pg-art) .fwd{margin:0 0 6px;padding:16px 18px;border-left:4px solid var(--verde);background:var(--surface-2);border-radius:0 12px 12px 0}
  :where(.pg-art) .fwd .k{font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--verde)}
  :where(.pg-art) .fwd p{margin-top:6px;font-size:15.5px;line-height:1.55}
  :where(.pg-art) .tblwrap{margin-top:16px;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}
  :where(.pg-art) table.tbl{width:100%;border-collapse:collapse;font-size:14.5px;min-width:420px;font-variant-numeric:tabular-nums}
  :where(.pg-art) .tbl th,:where(.pg-art) .tbl td{line-height:inherit;vertical-align:middle;padding:10px 14px;text-align:left;border-bottom:1px solid var(--line)}
  :where(.pg-art) .tbl .tot th,:where(.pg-art) .tbl .tot td{font-weight:800;background:var(--surface-2)}
  :where(.pg-art) .piecat{margin-top:30px;padding-top:16px;border-top:1px solid var(--line);font-style:italic;color:var(--muted);font-size:14.5px}
  :where(.pg-art) .share{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
  :where(.pg-art) .prevnext{margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  :where(.pg-art) .prevnext a{display:block;padding:14px 16px;border:1px solid var(--line);border-radius:12px;text-decoration:none;background:var(--surface);box-shadow:var(--shadow)}
  :where(.pg-art) .prevnext a:hover{border-color:var(--verde)}
  :where(.pg-art) .prevnext .k{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--verde)}
  :where(.pg-art) .prevnext .t{margin-top:4px;font-weight:800;font-size:14.5px;line-height:1.3}
  :where(.pg-art) .prevnext .empty{visibility:hidden}
  :where(.pg-art) .cta-box{margin-top:30px;padding:22px 24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
  :where(.pg-art) .cta-box h3{font-size:19px}
  :where(.pg-art) .cta-box p{margin-top:8px;font-size:15px;color:var(--muted)}
  :where(.pg-art) .cta-box .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
  :where(.pg-art) .darkfoot{margin-top:clamp(28px,4vw,44px);padding-top:10px}
  @media (max-width:640px){
    :where(.pg-art) .prevnext{grid-template-columns:1fr}
    :where(.pg-art) .prevnext .empty{display:none}
  }
