/* Studio Bafer · sitio oficial · estilos */
:root{
  --ink:#151515; --g1:#5c5c5a; --g2:#8d8d8a; --line:#e3e3df;
  --bg:#F4F4F2; --white:#fff;
  --sky:#93C7FF; --sky-l:#EAF4FF; --sky-d:#1F5FA8; --ok:#8CC970;
  --r-xl:32px; --r-lg:24px; --r-md:20px; --pill:999px;
  --pad:20px; --max:1320px;
  --ease:cubic-bezier(.22,.8,.24,1);
  --glass:rgba(255,255,255,.62); --glass-b:rgba(255,255,255,.6);
  --sec:84px;
}
@media (min-width:900px){ :root{ --pad:40px; --sec:140px; } }

*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:96px; }
body{ font-family:"Red Hat Display",system-ui,-apple-system,sans-serif; color:var(--ink); background:var(--bg);
  font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; overflow-x:clip; }
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul{ list-style:none; }
:focus-visible{ outline:2px solid var(--sky-d); outline-offset:3px; border-radius:8px; }
.ico{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.wrap{ width:100%; max-width:calc(var(--max) + var(--pad)*2); margin:0 auto; padding:0 var(--pad); }
.mono{ font-family:"Red Hat Mono",ui-monospace,monospace; }
.label{ font-family:"Red Hat Mono",ui-monospace,monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--g2); }
.tbd{ display:inline-flex; align-items:center; gap:6px; font-family:"Red Hat Mono",monospace; font-size:11px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--sky-d); background:var(--sky-l); border-radius:var(--pill); padding:4px 10px; white-space:nowrap; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Tipografía */
.h-xl{ font-size:clamp(42px,6.6vw,92px); line-height:.98; letter-spacing:-.035em; font-weight:300; }
.h-lg{ font-size:clamp(34px,5.4vw,64px); line-height:1.02; letter-spacing:-.03em; font-weight:300; }
.h-md{ font-size:clamp(28px,3.4vw,40px); line-height:1.06; letter-spacing:-.025em; font-weight:300; }
.h-xl b,.h-lg b,.h-md b{ font-weight:700; }
.h-xl em,.h-lg em,.h-md em{ font-style:normal; font-weight:300; }
.v{ color:var(--sky); }
.lead{ font-size:clamp(17px,1.6vw,19px); line-height:1.55; color:var(--g1); max-width:56ch; }
.rule{ height:1px; background:var(--line); border:0; }
.eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.eyebrow::before{ content:""; width:24px; height:1px; background:var(--g2); }

/* Botones */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; height:52px; padding:0 24px; border-radius:var(--pill);
  font-weight:500; font-size:15.5px; white-space:nowrap; transition:transform .35s var(--ease), background .35s, box-shadow .35s, border-color .35s, color .35s; }
.btn .ico{ width:18px; height:18px; transition:transform .35s var(--ease); }
.btn:hover{ transform:translateY(-2px); }
.btn:hover .arr{ transform:translateX(4px); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ box-shadow:0 10px 24px -12px rgba(21,21,21,.55); }
.btn-sky{ background:var(--sky); color:var(--ink); }
.btn-sky:hover{ box-shadow:0 12px 30px -12px rgba(147,199,255,.8); }
.btn-line{ border:1px solid #d6d6d1; background:transparent; }
.btn-line:hover{ border-color:var(--ink); background:#fff; }
.btn-ghost-dark{ border:1px solid rgba(255,255,255,.22); color:#fff; background:rgba(255,255,255,.06); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.btn-ghost-dark:hover{ background:rgba(255,255,255,.14); }
.btn-sm{ height:44px; padding:0 18px; font-size:14.5px; }
.link{ display:inline-flex; align-items:center; gap:8px; font-weight:500; min-height:44px; }
.link .ico{ width:18px; height:18px; transition:transform .35s var(--ease); }
.link:hover .ico{ transform:translateX(4px); }

.glass{ background:var(--glass); border:1px solid var(--glass-b); backdrop-filter:blur(20px) saturate(1.4); -webkit-backdrop-filter:blur(20px) saturate(1.4); }
.chip{ display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 14px; border-radius:var(--pill); font-size:13.5px; font-weight:500; white-space:nowrap; }
.chip .ico{ width:16px; height:16px; }
.tag{ display:inline-flex; align-items:center; font-size:12.5px; color:var(--g1); border:1px solid var(--line); border-radius:var(--pill); padding:4px 11px; background:#fff; }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(140,201,112,.22); flex:none; }

/* Secciones */
.sec{ padding:var(--sec) 0 0; }
.sec-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:20px 48px; margin-bottom:40px; }
@media (min-width:900px){ .sec-head{ margin-bottom:56px; } }
.sec-head .lead{ max-width:42ch; }

/* Menú */
.nav{ position:fixed; top:12px; left:0; right:0; z-index:50; padding:0 12px; }
.nav-in{ max-width:var(--max); margin:0 auto; height:60px; border-radius:var(--pill); display:flex; align-items:center; justify-content:space-between; padding:0 8px 0 22px; transition:box-shadow .4s; }
.nav.scrolled .nav-in{ box-shadow:0 8px 30px -18px rgba(0,0,0,.25); }
.nav-logo img{ height:17px; width:auto; }
.nav-links{ display:none; gap:2px; }
.nav-links a{ font-size:14.5px; color:var(--g1); padding:9px 14px; border-radius:var(--pill); transition:background .3s,color .3s; }
.nav-links a:hover,.nav-links a.on{ background:rgba(255,255,255,.85); color:var(--ink); }
.nav-cta{ display:none; }
.burger{ width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:#fff; }
@media (min-width:1000px){ .nav-links{ display:flex; } .nav-cta{ display:inline-flex; } .burger{ display:none; } }
.sheet{ position:fixed; inset:84px 12px auto 12px; z-index:49; border-radius:28px; padding:10px; opacity:0; transform:translateY(-8px) scale(.98); pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease); visibility:hidden; }
.sheet.open{ opacity:1; transform:none; pointer-events:auto; visibility:visible; }
.sheet a:not(.btn){ display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:0 16px; font-size:18px; border-radius:18px; }
.sheet a:not(.btn):active{ background:rgba(255,255,255,.7); }
.sheet .btn{ width:100%; margin-top:8px; }
.sheet .ico{ color:var(--g2); }
.sheet .btn .ico{ color:inherit; }
.wa-fab{ position:fixed; right:16px; bottom:16px; z-index:40; height:56px; padding:0 20px 0 18px; box-shadow:0 14px 30px -14px rgba(0,0,0,.45);
  opacity:0; transform:translateY(16px); pointer-events:none; transition:opacity .4s var(--ease), transform .4s var(--ease); }
.wa-fab.show{ opacity:1; transform:none; pointer-events:auto; }
@media (min-width:1000px){ .wa-fab{ display:none; } }

/* Marquesina y marcos */
.marquee{ overflow:hidden; width:100%; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.track{ display:flex; gap:16px; width:max-content; will-change:transform; align-items:center; }
@media (min-width:900px){ .track{ gap:24px; } }
.browser{ background:#fff; border-radius:var(--r-lg); padding:8px; border:1px solid var(--line); flex:none; }
.browser .bar{ display:flex; align-items:center; gap:6px; height:22px; padding:0 8px; }
.browser .bar i{ width:8px; height:8px; border-radius:50%; background:#e2e2dd; }
.browser .bar span{ margin-left:10px; height:14px; flex:1; max-width:52%; border-radius:var(--pill); background:var(--bg); font:10px/14px "Red Hat Mono",monospace; color:var(--g2); padding:0 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.browser img{ border-radius:16px; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top; background:var(--bg); }
.phone{ background:#151515; border-radius:34px; padding:6px; flex:none; }
.phone img{ border-radius:28px; width:100%; aspect-ratio:9/19; object-fit:cover; object-position:top; background:#fff; }

/* 1 · Inicio */
.hero{ padding-top:116px; }
@media (min-width:900px){ .hero{ padding-top:128px; } }
.hero-grid{ display:grid; gap:40px; align-items:center; }
@media (min-width:1080px){ .hero-grid{ grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:56px; min-height:calc(100svh - 160px); } }
.hero h1 b{ display:block; }
.hero .lead{ margin-top:24px; }
.ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:36px; }
@media (max-width:520px){ .ctas .btn{ width:100%; } }
.mini{ display:flex; gap:12px 24px; margin-top:40px; padding-top:24px; border-top:1px solid var(--line); flex-wrap:wrap; }
.mini div{ display:flex; gap:10px; align-items:center; font-size:14.5px; color:var(--g1); }
.mini .ico{ color:var(--sky-d); width:18px; height:18px; }
.stage{ position:relative; background:#fff; border-radius:36px; aspect-ratio:1/1.02; overflow:hidden; isolation:isolate; }
@media (min-width:700px){ .stage{ aspect-ratio:1.18/1; } }
.ribbon{ position:absolute; inset:-10% -20% auto -10%; width:140%; z-index:-1; }
.stage .browser{ position:absolute; left:6%; top:12%; width:80%; border-color:#ececE8; box-shadow:0 30px 60px -40px rgba(21,21,21,.35); }
.stage .phone{ position:absolute; right:5%; bottom:-14%; width:28%; box-shadow:0 30px 50px -30px rgba(21,21,21,.5); }
.float{ position:absolute; z-index:2; box-shadow:0 12px 30px -18px rgba(21,21,21,.35); animation:bob 7s ease-in-out infinite; }
.float.f1{ left:4%; bottom:16%; } .float.f2{ right:4%; top:5%; animation-delay:-2.5s; } .float.f3{ left:30%; bottom:4%; animation-delay:-4.5s; }
@keyframes bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
@media (max-width:520px){ .float{ font-size:12.5px; height:32px; padding:0 11px; } .float.f3{ left:6%; bottom:5%; } .float.f1{ bottom:17%; } }
.strip{ margin-top:56px; }
@media (min-width:900px){ .strip{ margin-top:80px; } }
.strip .browser{ width:260px; padding:6px; border-radius:20px; } .strip .browser img{ border-radius:14px; }
.strip .phone{ width:90px; border-radius:26px; padding:5px; } .strip .phone img{ border-radius:21px; }
@media (min-width:900px){ .strip .browser{ width:360px; } .strip .phone{ width:118px; } }

/* 2 · Trabajos */
.works{ display:grid; gap:16px; }
@media (min-width:760px){ .works{ grid-template-columns:1fr 1fr; gap:20px; } }
.work{ background:#fff; border-radius:var(--r-xl); padding:10px; display:flex; flex-direction:column; }
.work .vis{ position:relative; aspect-ratio:4/3; border-radius:24px; background:var(--bg); overflow:hidden; }
.work .vis .browser{ position:absolute; left:7%; top:9%; width:78%; transition:transform .8s var(--ease); }
.work .vis .phone{ position:absolute; right:6%; bottom:-10%; width:24%; transition:transform .8s var(--ease); box-shadow:0 20px 40px -24px rgba(21,21,21,.5); }
.work:hover .vis .browser{ transform:translateY(-6px); }
.work:hover .vis .phone{ transform:translateY(-12px); }
.work .body{ padding:22px 16px 16px; }
@media (min-width:900px){ .work .body{ padding:28px 22px 20px; } }
.work h3{ font-size:clamp(24px,2.4vw,30px); letter-spacing:-.02em; line-height:1.1; font-weight:600; margin-top:8px; }
.work .rule{ margin:16px 0 14px; }
.work .wfoot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; color:var(--g1); }
.work.empty .vis{ display:grid; place-items:center; background:repeating-linear-gradient(135deg,#f1f1ee 0 12px,#ececE8 12px 24px); }
.work.empty .vis .ph{ display:grid; justify-items:center; gap:12px; color:var(--g2); text-align:center; padding:20px; }
.work.empty .vis .ph .ico{ width:28px; height:28px; }

/* 3 · Tipos de web */
.grid2{ display:grid; gap:16px; }
@media (min-width:760px){ .grid2{ grid-template-columns:1fr 1fr; gap:20px; } }
.card{ background:#fff; border-radius:var(--r-xl); padding:10px; display:flex; flex-direction:column; transition:transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -36px rgba(21,21,21,.4); }
.card .vis{ position:relative; border-radius:24px; background:var(--bg); aspect-ratio:16/10; overflow:hidden; display:grid; place-items:center; }
.card .body{ padding:22px 16px 16px; display:grid; grid-template-columns:1fr auto; gap:8px 16px; align-items:start; }
@media (min-width:900px){ .card .body{ padding:28px 22px 20px; } }
.meta{ display:flex; gap:12px; align-items:baseline; }
.meta .n{ font-size:15px; font-weight:300; color:var(--g2); }
.card h3{ grid-column:1; font-size:clamp(24px,2.4vw,30px); letter-spacing:-.02em; line-height:1.1; font-weight:600; }
.card .rule{ grid-column:1 / -1; margin:10px 0 6px; }
.card p{ grid-column:1 / -1; color:var(--g1); max-width:46ch; }
.go{ grid-column:2; grid-row:1 / span 2; width:48px; height:48px; border-radius:50%; background:var(--bg); display:grid; place-items:center; transition:background .4s, color .4s, transform .5s var(--ease); }
.card:hover .go{ background:var(--ink); color:#fff; transform:rotate(-45deg); }
.card .vis > *{ transition:transform .8s var(--ease); }
.card:hover .vis > *{ transform:scale(1.03); }
.wf{ background:#fff; border-radius:16px; box-shadow:0 20px 50px -30px rgba(21,21,21,.35); padding:14px; display:grid; gap:9px; }
.wf i{ display:block; border-radius:6px; background:#eeeeea; height:10px; }
.wf .sk{ background:var(--sky); } .wf .ink{ background:var(--ink); }
.wf-landing{ width:50%; transform:translateY(14%); } .wf-landing .hero-b{ height:96px; border-radius:10px; background:var(--sky-l); }
.wf-landing .cta{ width:44%; height:20px; border-radius:99px; }
.wf-web{ width:80%; grid-template-columns:repeat(3,1fr); }
.wf-web .navb{ grid-column:1/-1; display:flex; justify-content:space-between; }
.wf-web .navb i{ width:22%; } .wf-web .big{ grid-column:1/-1; height:80px; border-radius:10px; background:var(--sky-l); }
.wf-web .bx{ height:64px; border-radius:8px; }
.wf-shop{ width:76%; grid-template-columns:repeat(3,1fr); position:relative; }
.wf-shop .p{ display:grid; gap:5px; } .wf-shop .p b{ display:block; height:96px; border-radius:8px; background:var(--bg); }
.wf-shop .cart{ position:absolute; right:-14px; top:-14px; width:40px; height:40px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; }
.wf-shop .cart .ico{ width:18px; height:18px; }
.vis img.shot{ position:absolute; inset:8% 0 0 8%; width:100%; height:auto; border-radius:14px 0 0 0; box-shadow:0 16px 40px -28px rgba(21,21,21,.35); }
@media (max-width:759px){ .wf{ padding:10px; gap:7px; } .wf i{ height:8px; } .wf-landing .hero-b{ height:52px; } .wf-landing .cta{ height:14px; } .wf-landing{ transform:translateY(10%); }
  .wf-web .big{ height:44px; } .wf-web .bx{ height:34px; } .wf-shop .p b{ height:54px; } }

/* 4 · Por qué a medida */
.bento{ display:grid; gap:16px; }
@media (min-width:760px){ .bento{ grid-template-columns:repeat(6,1fr); gap:20px; } .bento .b-lg{ grid-column:span 3; } .bento .b-sm{ grid-column:span 2; } }
.tile{ background:#fff; border-radius:28px; padding:28px; display:flex; flex-direction:column; gap:12px; overflow:hidden; position:relative; }
@media (min-width:900px){ .tile{ padding:32px; } }
.tile .ic{ width:48px; height:48px; border-radius:50%; background:var(--sky-l); color:var(--sky-d); display:grid; place-items:center; margin-bottom:8px; }
.tile h3{ font-size:22px; letter-spacing:-.02em; line-height:1.15; font-weight:600; }
.tile p{ color:var(--g1); max-width:40ch; }
.tile.b-lg{ min-height:320px; }
.swatches{ display:flex; gap:10px; margin-top:auto; padding-top:20px; align-items:flex-end; }
.swatches i{ display:block; border-radius:18px; height:88px; flex:1; }
.swatches .aa{ flex:1.4; background:var(--bg); display:grid; place-items:center; font-size:48px; letter-spacing:-.04em; }
.swatches .aa b{ font-weight:700; } .swatches .aa span{ font-weight:300; }
.tile .mob{ position:absolute; right:28px; bottom:-120px; width:140px; transform:rotate(-6deg); transition:transform .8s var(--ease); }
.tile:hover .mob{ transform:rotate(-3deg) translateY(-10px); }
@media (min-width:760px){ .tile.has-mob{ padding-right:200px; } }
@media (max-width:759px){ .tile.has-mob{ padding-bottom:200px; } .tile .mob{ bottom:-150px; } }

/* 5 · Proceso */
.steps{ display:grid; border-top:1px solid var(--line); }
@media (min-width:900px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{ padding:28px 0; border-bottom:1px solid var(--line); display:grid; gap:10px; align-content:start; }
@media (min-width:900px){ .step{ padding:40px 28px 40px 0; border-bottom:0; } .step + .step{ padding-left:28px; border-left:1px solid var(--line); } }
.step .n{ font-size:clamp(56px,6vw,80px); line-height:1; font-weight:300; letter-spacing:-.05em; color:var(--g2); margin-bottom:12px; transition:color .5s; }
.step:hover .n{ color:var(--ink); }
.step h3{ font-size:22px; font-weight:600; letter-spacing:-.02em; }
.step p{ color:var(--g1); }
.step .tag{ justify-self:start; margin-top:6px; }
.step a{ text-decoration:underline; text-underline-offset:3px; }

/* 6 · Diferenciales */
.diff{ background:#fff; border-radius:36px; overflow:hidden; display:grid; }
@media (min-width:1000px){ .diff{ grid-template-columns:.9fr 1.1fr; } }
.diff .txt{ padding:32px 24px; display:flex; flex-direction:column; gap:16px; }
@media (min-width:900px){ .diff .txt{ padding:56px; } }
.checks{ display:grid; gap:12px; margin:8px 0; }
.checks li{ display:flex; gap:12px; align-items:flex-start; color:var(--g1); }
.checks .ico{ width:22px; height:22px; padding:3px; border-radius:50%; background:var(--sky-l); color:var(--sky-d); margin-top:1px; stroke-width:2.2; }
.diff .shot{ position:relative; min-height:320px; background:var(--bg); isolation:isolate; overflow:hidden; }
@media (min-width:1000px){ .diff .shot{ margin:10px; border-radius:28px; } }
.diff .shot .ribbon{ inset:auto -30% -30% -20%; width:160%; }
.diff .shot .browser{ position:absolute; left:8%; top:12%; width:96%; }
.diff .shot .chip{ position:absolute; left:6%; bottom:8%; z-index:2; }
.duo{ display:grid; gap:16px; margin-top:16px; }
@media (min-width:900px){ .duo{ grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; } }
.duo .tile{ min-height:auto; }
.duo .pic{ position:relative; margin:8px -28px -28px; height:240px; background:var(--bg); overflow:hidden; border-radius:0 0 28px 28px; }
@media (min-width:900px){ .duo .pic{ margin:8px -32px -32px; height:280px; } }
.duo .pic .browser{ position:absolute; left:8%; top:14%; width:78%; }
.duo .pic .phone{ position:absolute; right:7%; top:22%; width:22%; }
.covers{ position:absolute; inset:0; display:flex; justify-content:center; align-items:flex-end; }
.covers img{ width:32%; max-width:170px; border-radius:12px; box-shadow:0 20px 40px -24px rgba(21,21,21,.45); margin:0 -4%; transform-origin:bottom center; transition:transform .8s var(--ease); translate:0 18%; }
.covers img:nth-child(1){ transform:rotate(-8deg); } .covers img:nth-child(3){ transform:rotate(8deg); } .covers img:nth-child(2){ z-index:1; translate:0 10%; }
.tile:hover .covers img:nth-child(1){ transform:rotate(-11deg) translateY(-6px); } .tile:hover .covers img:nth-child(3){ transform:rotate(11deg) translateY(-6px); }

/* 7 · Planes */
.plans{ display:grid; gap:16px; }
@media (min-width:900px){ .plans{ grid-template-columns:repeat(3,1fr); gap:20px; } }
.plan{ background:#fff; border-radius:var(--r-xl); padding:28px; display:flex; flex-direction:column; gap:14px; }
@media (min-width:900px){ .plan{ padding:32px; } }
.plan h3{ font-size:30px; letter-spacing:-.025em; font-weight:600; line-height:1.05; }
.plan .sub{ color:var(--g1); min-height:3em; }
.plan .price{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; font-size:26px; font-weight:300; letter-spacing:-.02em; }
.plan .price b{ font-weight:700; }
.plan .checks{ margin:4px 0 8px; }
.plan .btn{ margin-top:auto; width:100%; }
.plan-note{ display:grid; gap:12px; margin-top:20px; background:#fff; border-radius:28px; padding:24px 28px; }
@media (min-width:900px){ .plan-note{ grid-template-columns:auto 1fr auto; align-items:center; gap:24px; } }
.plan-note .ic{ width:48px; height:48px; border-radius:50%; background:var(--sky-l); color:var(--sky-d); display:grid; place-items:center; }
.plan-note p{ color:var(--g1); } .plan-note p b{ color:var(--ink); font-weight:600; }

/* 8 · Complementos */
.extras{ display:grid; gap:16px; }
@media (min-width:760px){ .extras{ grid-template-columns:repeat(3,1fr); gap:20px; } }
.extra{ background:#fff; border-radius:28px; padding:24px; display:flex; flex-direction:column; gap:10px; transition:transform .5s var(--ease); }
.extra:hover{ transform:translateY(-3px); }
.extra .top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.extra .ic{ width:44px; height:44px; border-radius:50%; background:var(--bg); display:grid; place-items:center; }
.extra h3{ font-size:20px; font-weight:600; letter-spacing:-.015em; }
.extra p{ color:var(--g1); font-size:15.5px; }
.extra .tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:8px; }
.extra .link{ margin-top:2px; font-size:15px; }

/* 9 · Recurso gratis */
.free{ background:#fff; border-radius:36px; padding:10px; display:grid; gap:10px; }
@media (min-width:900px){ .free{ grid-template-columns:.8fr 1.2fr; } }
.free .cover-wrap{ background:var(--bg); border-radius:28px; display:grid; place-items:center; padding:32px 24px; min-height:300px; overflow:hidden; }
.doc{ width:min(240px,70%); aspect-ratio:1/1.35; background:#fff; border-radius:14px; padding:18px; display:flex; flex-direction:column; gap:8px; box-shadow:0 30px 50px -30px rgba(21,21,21,.4); transform:rotate(-4deg); transition:transform .8s var(--ease); }
.free:hover .doc{ transform:rotate(-1deg) translateY(-6px); }
.doc img{ height:10px; width:auto; align-self:flex-start; }
.doc .pill{ align-self:flex-start; font-size:8px; font-weight:600; background:var(--sky-l); color:var(--sky-d); border-radius:99px; padding:2px 7px; margin-top:8px; }
.doc strong{ font-size:21px; line-height:1; letter-spacing:-.03em; font-weight:700; }
.doc strong span{ color:var(--sky); }
.doc i{ display:block; height:6px; border-radius:4px; background:#eeeeea; }
.doc .num{ margin-top:auto; display:flex; gap:6px; } .doc .num i{ flex:1; height:26px; border-radius:7px; background:var(--bg); }
.free .txt{ padding:24px 18px 22px; display:flex; flex-direction:column; gap:16px; justify-content:center; }
@media (min-width:900px){ .free .txt{ padding:48px; } }
.free .row-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.free .chip{ background:var(--bg); }

/* 10 · Opiniones */
.quotes{ display:grid; gap:16px; }
@media (min-width:900px){ .quotes{ grid-template-columns:repeat(3,1fr); gap:20px; } }
.quote{ background:#fff; border-radius:28px; padding:28px; display:flex; flex-direction:column; gap:14px; min-height:260px; }
.quote .qm{ font-size:56px; line-height:.6; font-weight:700; color:var(--sky); height:24px; }
.quote .lines{ display:grid; gap:9px; }
.quote .lines i{ display:block; height:10px; border-radius:6px; background:#efefeb; }
.quote .who{ margin-top:auto; display:flex; align-items:center; gap:12px; }
.quote .av{ width:44px; height:44px; border-radius:50%; background:var(--bg); display:grid; place-items:center; color:var(--g2); }
.quote .who small{ display:block; color:var(--g2); font-size:13px; }

/* 11 · Preguntas */
.faq{ display:grid; gap:40px; }
@media (min-width:960px){ .faq{ grid-template-columns:.8fr 1.2fr; gap:80px; } .faq .side{ position:sticky; top:120px; align-self:start; } }
.faq .side .lead{ margin:18px 0 28px; }
.qa{ border-top:1px solid var(--line); }
.qa details{ border-bottom:1px solid var(--line); }
.qa summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:22px 0; font-size:clamp(17px,1.6vw,20px); font-weight:500; letter-spacing:-.01em; min-height:44px; }
.qa summary::-webkit-details-marker{ display:none; }
.qa .pm{ width:40px; height:40px; flex:none; border-radius:50%; background:#fff; display:grid; place-items:center; transition:transform .45s var(--ease), background .3s, color .3s; }
.qa details[open] .pm{ transform:rotate(45deg); background:var(--ink); color:#fff; }
.qa .ans{ color:var(--g1); padding:0 56px 24px 0; max-width:62ch; }
.qa .ans a{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.qa details[open] .ans{ animation:fadeIn .5s var(--ease); }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(-4px); filter:blur(4px); } }

/* 12 · Cierre oscuro */
.cta-dark{ position:relative; margin-top:var(--sec); background:var(--ink); color:#fff; border-radius:36px; overflow:hidden; isolation:isolate; padding:72px 24px; text-align:center; }
@media (min-width:900px){ .cta-dark{ padding:128px 48px; border-radius:44px; } }
.glow{ position:absolute; z-index:-1; left:50%; top:60%; width:min(900px,140%); aspect-ratio:1; translate:-50% -50%; border-radius:50%;
  background:radial-gradient(closest-side, rgba(147,199,255,.55), rgba(31,95,168,.28) 45%, transparent 72%); filter:blur(30px); animation:breathe 6s ease-in-out infinite; }
@keyframes breathe{ 0%,100%{ opacity:.55; transform:scale(.92); } 50%{ opacity:1; transform:scale(1.06); } }
.cta-dark .label{ color:rgba(255,255,255,.55); }
.cta-dark h2{ margin:18px auto 0; max-width:12ch; }
.cta-dark .lead{ color:rgba(255,255,255,.7); margin:22px auto 0; }
.cta-dark .ctas{ justify-content:center; }

/* Pie */
.foot{ padding:56px 0 40px; }
.foot-grid{ display:grid; gap:36px; }
@media (min-width:900px){ .foot-grid{ grid-template-columns:1.4fr repeat(3,1fr); gap:40px; } }
.foot-grid .brand p{ color:var(--g1); margin-top:16px; max-width:32ch; }
.foot-grid .brand img{ height:20px; width:auto; }
.foot-grid h4{ font-family:"Red Hat Mono",monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--g2); font-weight:400; margin-bottom:12px; }
.foot-grid ul a{ display:inline-flex; align-items:center; gap:8px; min-height:40px; color:var(--ink); }
.foot-grid ul a .ico{ width:16px; height:16px; color:var(--g2); transition:transform .3s var(--ease); }
.foot-grid ul a:hover .ico{ transform:translate(2px,-2px); }
.foot-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:48px; padding-top:24px; border-top:1px solid var(--line); color:var(--g2); font-size:14px; }
.foot-bottom a{ text-decoration:underline; text-underline-offset:3px; }
@media (max-width:999px){ .foot{ padding-bottom:96px; } }

/* Aparición */
.rv{ opacity:0; filter:blur(8px); transform:translateY(16px); transition:opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay:var(--d,0ms); }
.rv.in{ opacity:1; filter:none; transform:none; }
.no-js .rv{ opacity:1; filter:none; transform:none; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .rv{ opacity:1; filter:none; transform:none; transition:none; }
  *,*::before,*::after{ animation:none !important; transition-duration:.01ms !important; }
}

/* Página de texto (términos) */
.doc-page{ padding:140px 0 40px; }
.doc-page .wrap{ max-width:calc(820px + var(--pad)*2); }
.doc-page h1{ margin-bottom:16px; }
.doc-page .lead{ margin-bottom:40px; }
.doc-page section{ background:#fff; border-radius:28px; padding:28px; margin-bottom:12px; }
@media (min-width:900px){ .doc-page section{ padding:36px 40px; } }
.doc-page h2{ font-size:22px; font-weight:600; letter-spacing:-.02em; margin-bottom:10px; display:flex; gap:12px; align-items:baseline; }
.doc-page h2 span{ font-family:"Red Hat Mono",monospace; font-size:13px; color:var(--g2); font-weight:400; }
.doc-page h3{ font-size:16px; font-weight:600; margin:14px 0 4px; }
.doc-page p{ color:var(--g1); }

/* Ajustes tras revisión */
.work-more{ grid-column:1 / -1; background:#fff; border-radius:28px; padding:24px; display:grid; gap:14px; align-items:center;
  background-image:repeating-linear-gradient(135deg,transparent 0 14px,rgba(0,0,0,.018) 14px 28px); }
@media (min-width:760px){ .work-more{ grid-template-columns:auto 1fr auto; gap:24px; padding:28px 32px; } }
.work-more .ic{ width:52px; height:52px; border-radius:50%; background:var(--bg); display:grid; place-items:center; color:var(--g2); }
.work-more h3{ font-size:20px; font-weight:600; letter-spacing:-.015em; }
.work-more p{ color:var(--g1); }
.work-more .tbd{ justify-self:start; white-space:normal; }
.cta-dark h2{ max-width:none; }
.cta-dark h2 b{ white-space:nowrap; }
.covers img{ width:38%; max-width:220px; translate:0 26%; }
.covers img:nth-child(2){ translate:0 16%; }
.duo .pic{ margin:12px 0 0; border-radius:20px; height:240px; }
@media (min-width:900px){ .duo .pic{ margin:16px 0 0; height:280px; } }
@media (max-width:999px){
  .diff .shot{ margin:0 10px 10px; border-radius:28px; min-height:0; aspect-ratio:4/3; }
  .diff .shot .browser{ left:6%; top:10%; width:94%; }
}
@media (max-width:759px){ .tile.has-mob{ padding-bottom:150px; } .tile .mob{ width:130px; bottom:-170px; } }
@media (max-width:899px){ .foot-grid{ grid-template-columns:1fr 1fr; gap:32px 20px; } .foot-grid .brand{ grid-column:1 / -1; } }
