:root{
  --yellow:#ffd426;--yellow2:#ffe680;--red:#d62121;--red2:#b51818;--green:#0b7d48;--green2:#096339;
  --ink:#1b1b16;--muted:#4b4a40;--line:#e7dfbf;--tint:#fff6c9;--tintg:#e1f7e8;--white:#fff;
  --ok:#0a6a3c;--bad:#c21818;--max:1120px;--r:14px;
  --head:"Bricolage Grotesque","Trebuchet MS",system-ui,sans-serif;
  --body:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body);font-size:19px;line-height:1.55;color:var(--ink);background:var(--white)}
img,svg{max-width:100%}
a{color:var(--green2)}
h1,h2,h3{font-family:var(--head);font-weight:700;line-height:1.12;margin:0;color:inherit;letter-spacing:-.01em}
h1{font-size:clamp(34px,5.2vw,60px)}
h2{font-size:clamp(27px,3.6vw,40px)}
h3{font-size:21px;line-height:1.2}
p{margin:0}
.wrap{width:min(100% - 40px,var(--max));margin-inline:auto}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:var(--white);padding:10px 14px;z-index:99;border-radius:8px}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* navegacion */
.nav{position:sticky;top:0;z-index:40;background:var(--white);color:var(--ink);border-bottom:3px solid var(--ink)}
.nav-in{display:flex;align-items:center;gap:24px;min-height:68px}
.logo{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}
.mark{width:40px;height:40px;flex:none}
.mark-bg{fill:var(--red)}.mark-fg{fill:var(--white)}
.word{font-family:var(--head);font-weight:700;font-size:28px;line-height:1}
.word span{color:var(--green)}
.links{margin-left:auto;display:flex;align-items:center;gap:26px}
.links a:not(.btn){color:var(--ink);text-decoration:none;font-weight:700;font-size:17px;padding:10px 0;border-bottom:3px solid transparent}
.links a:not(.btn):hover,.links a[aria-current]{border-bottom-color:var(--red)}
.menu{display:none;margin-left:auto;width:48px;height:48px;border:0;background:none;color:var(--ink);padding:8px;cursor:pointer}
.menu svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}

/* botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 26px;border-radius:12px;font-family:var(--body);font-weight:700;font-size:19px;text-decoration:none;border:2px solid transparent;text-align:center}
.btn-sm{min-height:46px;padding:9px 18px;font-size:17px}
.btn-main{background:var(--red);color:var(--white);box-shadow:0 4px 0 var(--red2)}
.btn-main:hover{background:var(--red2)}
.btn-dark{background:var(--green);color:var(--white);box-shadow:0 4px 0 var(--green2)}
.btn-dark:hover{background:var(--green2)}
.btn-ghost{border-color:var(--ink);color:var(--ink);background:rgba(255,255,255,.35)}
.btn-ghost:hover{background:var(--white)}

/* cabecera de pagina */
.hero{position:relative;overflow:hidden;color:var(--ink);background:var(--yellow);padding:64px 0 130px}
.hero-short{padding-bottom:110px}
.hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.hero .wrap{position:relative;z-index:1}
.hero-text{display:flex;flex-direction:column;gap:22px}
.hero-short .wrap{display:flex;flex-direction:column;gap:18px;max-width:780px}
.hero h1 .up{color:var(--bad)}
.hero h1 .down{color:var(--ok)}
.eyebrow{font-weight:700;font-size:15px;letter-spacing:.09em;text-transform:uppercase;color:var(--bad)}
.hero .eyebrow{color:#8f1010}
.lead{font-size:21px;color:var(--ink);max-width:34em}
.actions{display:flex;flex-wrap:wrap;gap:14px}
.next{font-size:17px;color:#3d3a22}
.glow{position:absolute;border-radius:50%;pointer-events:none}
.g1{width:420px;height:420px;right:-110px;top:-150px;background:var(--red)}
.g2{width:300px;height:300px;left:-130px;bottom:-185px;background:var(--green)}
.g3{width:340px;height:340px;right:-120px;top:60px;background:var(--yellow);opacity:.9}
.curve{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:70px;display:block}
.curve path{fill:var(--white)}
.curve-top{bottom:auto;top:-1px}
.close .curve path{fill:var(--tint)}
.close.after-white .curve path{fill:var(--white)}

/* la hoja de ejemplo */
.sheet{margin:0;background:var(--white);color:var(--ink);border:3px solid var(--ink);border-radius:18px;padding:24px;box-shadow:10px 10px 0 var(--ink);display:flex;flex-direction:column;gap:16px}
.sheet-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;font-family:var(--head);font-size:20px}
.tag{font-family:var(--body);font-size:14px;font-weight:700;background:var(--yellow);color:var(--ink);padding:4px 10px;border-radius:99px}
.row{display:flex;flex-direction:column;gap:6px}
.row-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;font-weight:700;font-size:17px}
.ok{color:var(--ok)}.bad{color:var(--bad)}
.bar{position:relative;height:34px;background:#f3efdf;border-radius:8px;overflow:hidden}
.bar i{position:absolute;inset:0 auto 0 0;border-radius:8px}
.bar .in{background:#35cf80}
.bar .out{background:#ff8a8a}
.bar b{position:relative;display:flex;align-items:center;height:100%;padding-left:12px;font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap}
.sheet-note{font-size:16px;color:var(--muted)}
.q{font-family:var(--head);font-size:20px;line-height:1.25}
.decide{margin:0;padding:14px 0 0 22px;border-top:2px solid var(--ink);display:flex;flex-direction:column;gap:6px;font-size:17px}
.decide li::marker{font-weight:700;color:var(--bad)}

/* secciones */
.sec{padding:76px 0}
.sec .wrap > .eyebrow + h2{margin-top:8px}
.sec h2{max-width:20em}
.tint{background:var(--tint)}
.grid4,.grid3,.grid2{display:grid;gap:18px;margin-top:32px}
.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:var(--white);border:2px solid var(--ink);border-radius:var(--r);padding:0 24px 24px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.card::before{content:"";display:block;height:14px;margin:0 -24px 14px;background:var(--yellow)}
.grid4 .card:nth-child(2)::before,.grid3 .card:nth-child(2)::before,.grid2 .card:nth-child(2)::before{background:var(--red)}
.grid4 .card:nth-child(3)::before,.grid3 .card:nth-child(3)::before{background:var(--green)}
.grid4 .card:nth-child(4)::before{background:var(--ink)}
.card p{color:var(--muted);font-size:18px}
.card.num span{width:40px;height:40px;border-radius:50%;background:var(--red);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:700}
.card.big{padding:0 32px 32px;gap:14px;align-items:flex-start}
.card.big::before{align-self:stretch;margin:0 -32px 18px}
.card.big h2{font-size:26px}
.card.big .btn{margin-top:6px}
.split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start}
.split > div:first-child{display:flex;flex-direction:column;gap:14px}
.split p{color:var(--muted)}
.steps{margin:14px 0 0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:18px}
.steps li{counter-increment:s;position:relative;padding-left:60px;color:var(--muted)}
.steps li strong{display:block;color:var(--ink);font-family:var(--head);font-size:21px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:42px;height:42px;border-radius:50%;background:var(--red);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:700}
.steps li:nth-child(2)::before{background:var(--green)}
.steps li:nth-child(3)::before{background:var(--ink)}
.facts{background:var(--white);border:3px solid var(--ink);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:18px;box-shadow:8px 8px 0 var(--green)}
.facts dl{margin:0;display:flex;flex-direction:column}
.facts dl > div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}
.facts dl > div[hidden]{display:none}
.facts dt{font-weight:700}
.facts dd{margin:0;text-align:right;color:var(--muted)}
.small{font-size:16px;color:var(--muted)}
.fit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:32px}
.fit-col{border:2px solid var(--ink);border-radius:var(--r);padding:26px;display:flex;flex-direction:column;gap:14px}
.fit-col.yes{background:var(--tintg)}
.fit-col.no{background:#ffe9e6}
.fit-col.solo{background:none;border:0;padding:0;margin-top:8px}
.fit-col ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.fit-col li{display:flex;gap:12px;align-items:flex-start}
.ic{width:24px;height:24px;flex:none;margin-top:3px;fill:none;stroke:var(--ok);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.no .ic,.solo li:last-child .ic{stroke:var(--bad)}
.ic-sm{margin:0;stroke:currentColor}
.plain{margin-top:28px;max-width:44em;color:var(--muted)}
.plain strong{color:var(--ink)}
.faq{display:flex;flex-direction:column;gap:10px}
.faq details{background:var(--white);border:2px solid var(--ink);border-radius:12px;padding:4px 20px}
.faq summary{cursor:pointer;font-weight:700;padding:14px 0;min-height:48px}
.faq details p{padding:0 0 16px;color:var(--muted)}

/* cierre */
.close{position:relative;overflow:hidden;background:var(--green);color:var(--white);padding:140px 0 84px;text-align:center}
.close-in{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:26px}
.close h2{max-width:16em}
.close .btn-main{background:var(--yellow);color:var(--ink);box-shadow:0 4px 0 #c9a400}
.close .btn-main:hover{background:var(--yellow2)}
.close .g3{right:auto;left:-140px;top:auto;bottom:-170px;background:var(--red);opacity:1}
.strip{margin-top:22px;display:flex;align-items:center;gap:14px;text-align:left;color:var(--white);text-decoration:none;border:2px solid var(--white);border-radius:14px;padding:16px 20px;max-width:620px;background:var(--green2)}
.strip:hover{background:#074d2c}
.strip strong{color:var(--yellow)}

/* pie */
.foot{background:var(--ink);color:#e9e6d6;padding:48px 0 28px;font-size:17px}
.foot .logo{color:var(--white)}
.foot .word span{color:var(--yellow)}
.foot-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px}
.foot-in > div{max-width:420px;display:flex;flex-direction:column;gap:14px}
.foot nav{display:flex;flex-direction:column;gap:4px}
.foot nav a{color:var(--white);padding:7px 0}
.copy{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.2);font-size:15px;color:#c9c5b0}

/* barra fija en celular */
.sticky{display:none}

@media (max-width:980px){
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  body{font-size:18px}
  .menu{display:inline-flex;align-items:center;justify-content:center}
  .links{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:var(--white);flex-direction:column;align-items:stretch;gap:4px;padding:10px 20px 22px;border-bottom:3px solid var(--ink)}
  .links.open{display:flex}
  .links a:not(.btn){padding:14px 0;font-size:19px}
  .links .btn{margin-top:8px}
  .hero{padding:44px 0 104px}
  .hero-in,.split{grid-template-columns:minmax(0,1fr);gap:36px}
  .grid3,.grid2,.fit{grid-template-columns:minmax(0,1fr)}
  .sec{padding:56px 0}
  .lead{font-size:19px}
  .close{padding:110px 0 96px}
  .curve{height:44px}
  .g1{width:170px;height:170px;right:-100px;top:-112px}
  .g2{width:200px;height:200px;left:-120px;bottom:-110px}
  .sheet{box-shadow:6px 6px 0 var(--ink)}
  .sticky{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 14px;background:var(--yellow);color:var(--ink);font-weight:700;font-size:16px;border-top:3px solid var(--ink)}
  .sticky[hidden]{display:none}
  .sticky span{min-width:0}
}
@media (max-width:560px){
  .grid4{grid-template-columns:minmax(0,1fr)}
  .actions .btn,.facts .btn,.close .btn{width:100%}
  .sheet{padding:18px}
  .bar b{font-size:15px}
  .facts dl > div{flex-direction:column;gap:2px}
  .facts dd{text-align:left}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
