/* LokalWeb v3 · Layout: portada nocturna a sangre con demo en vivo; secciones claras en rejilla de 12 columnas,
   bento de servicios, galería horizontal. Un acento cobalto que se enciende en azul eléctrico sobre la noche. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --paper: #f3f4f7; --surface: #ffffff; --ink: #0c1424; --muted: #4f5b6d; --line: #dde2ea;
  --blue: #1748d6; --on-blue: #ffffff; --tint: #e6ecfd;
  --night: #060b1a; --night-2: #0d1630; --night-line: rgba(160, 185, 255, .14); --night-ink: #eef2fb; --night-muted: #9eabc6; --electric: #7c9dff;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px); --max: 1280px; --r: 24px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0a1020; --surface: #111a2e; --ink: #eaf0fa; --muted: #9ca8be; --line: #1f2b45;
  --blue: #7c9dff; --on-blue: #071026; --tint: #16244b; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #0a1020; --surface: #111a2e; --ink: #eaf0fa; --muted: #9ca8be; --line: #1f2b45;
  --blue: #7c9dff; --on-blue: #071026; --tint: #16244b; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
input, button { font: inherit; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 50; }
.eyebrow { font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
h1, h2, h3 { font-family: var(--display); font-stretch: 115%; font-weight: 800; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.6vw, 76px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-stretch: 108%; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
p { text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 34em; }
section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--blue) 80%, transparent); }
.btn.glow { background: linear-gradient(180deg, #3a68ff, #1748d6); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 14px 40px -10px rgba(58, 104, 255, .7); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--night-ink); box-shadow: 0 0 0 1px var(--night-line) inset; }
.btn.line { background: var(--surface); box-shadow: 0 0 0 1.5px var(--line) inset; }
.btn .arr { transition: transform .2s var(--ease); } .btn:hover .arr { transform: translateX(4px); }
.night { background: var(--night); color: var(--night-ink); --muted: var(--night-muted); --line: var(--night-line); --blue: var(--electric); --on-blue: #071026; --surface: var(--night-2); }

/* aparición al hacer scroll: siempre visible, solo se desplaza */
.js .rv { transform: translateY(32px); transition: transform 1s var(--ease); }
.js .rv.in { transform: none; }

/* cabecera */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--night) 94%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--night-line); color: var(--night-ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 23px/1 var(--display); font-stretch: 118%; letter-spacing: -.035em; }
.logo .mark { width: 30px; height: 30px; }
.logo b { color: var(--blue); font-weight: 800; }
.top .logo b { color: var(--electric); }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 15px; font-weight: 500; }
.top nav a:not(.btn) { text-decoration: none; color: var(--night-muted); transition: color .2s; } .top nav a:not(.btn):hover { color: #fff; }
.top nav .btn { padding: 10px 18px; }
@media (max-width: 860px) { .top nav .opt { display: none; } }

/* portada */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(60% 50% at 78% 30%, rgba(23, 72, 214, .55), transparent 70%), radial-gradient(40% 40% at 15% 85%, rgba(124, 157, 255, .18), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(44px, 6vw, 96px); font-stretch: 120%; font-weight: 850; margin-block: 24px 28px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--electric); display: inline-block; }
.hero .lead { color: var(--night-muted); }
.builder { margin-top: 40px; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--night-line) inset; max-width: 600px; }
.builder label { display: block; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); padding: 10px 12px 8px; }
.builder .row { display: flex; gap: 8px; flex-wrap: wrap; }
.builder input { flex: 1 1 240px; min-width: 0; background: rgba(255, 255, 255, .06); border: 0; border-radius: 14px; color: #fff; padding: 16px 18px; font-size: 19px; box-shadow: 0 0 0 1px var(--night-line) inset; }
.builder input::placeholder { color: #6d7a96; }
.builder input:focus { outline: none; box-shadow: 0 0 0 2px var(--electric) inset; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 4px 6px; }
.chips button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--night-muted); background: transparent; box-shadow: 0 0 0 1px var(--night-line) inset; transition: all .2s; }
.chips button[aria-pressed="true"] { background: #fff; color: var(--night); box-shadow: none; }
.hint { margin-top: 14px; font: 500 13px/1.5 var(--mono); color: var(--night-muted); }
.hint b { color: var(--electric); font-weight: 500; }

/* móvil en vivo */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone { position: relative; width: min(340px, 86vw); aspect-ratio: 9 / 18.8; border-radius: 52px; padding: 12px; background: linear-gradient(145deg, #2a3350, #0b1122 40%, #1b2440); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 120px -20px rgba(23, 72, 214, .55); transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform .8s var(--ease); }
.stage:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
@media (max-width: 960px) { .phone { transform: none; } }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #05080f; z-index: 3; }
.scr { position: relative; height: 100%; border-radius: 41px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.urlbar { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 56px 14px 10px; font: 500 11.5px/1 var(--mono); color: #4f5b6d; background: #f2f4f7; border-bottom: 1px solid #e1e5eb; }
.urlbar svg { width: 11px; height: 11px; flex: none; }
.urlbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { --m-bg: #faf7f2; --m-ink: #2b2620; --m-mut: #6f665c; --m-acc: #a0714f; --m-on: #fff; --m-card: #fff;
  flex: 1; overflow: hidden; background: var(--m-bg); color: var(--m-ink); padding: 18px 20px; font: 13px/1.5 "Avenir Next", "Segoe UI", system-ui, sans-serif; transition: background .6s, color .6s; position: relative; }
.mini .mh { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13px; }
.mini .mono { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--m-acc); color: var(--m-acc); display: grid; place-items: center; font: 12px Georgia, serif; flex: none; transition: color .6s, border-color .6s; }
.mini .mn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .kick { margin-top: 30px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--m-acc); font-weight: 700; transition: color .6s; }
.mini .tl { font: 400 28px/1.12 Georgia, "Times New Roman", serif; margin-top: 8px; }
.mini .in { color: var(--m-mut); margin-top: 10px; font-size: 12.5px; }
.mini .bt { display: flex; gap: 6px; margin-top: 16px; }
.mini .bt span { padding: 8px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--m-ink); }
.mini .bt span:first-child { background: var(--m-acc); color: var(--m-on); border-color: var(--m-acc); transition: background .6s; }
.mini .st { margin-top: 12px; font-size: 11px; color: var(--m-mut); }
.mini .pl { margin-top: 26px; background: var(--m-card); border-radius: 12px; padding: 12px 14px; transition: background .6s; }
.mini .pl b { font: 400 17px Georgia, serif; display: block; margin-bottom: 6px; }
.mini .pl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid color-mix(in srgb, var(--m-ink) 10%, transparent); font-size: 12px; }
.mini .pl div span:last-child { font-weight: 700; white-space: nowrap; }
.mini .sticky { position: absolute; left: 14px; right: 14px; bottom: 14px; text-align: center; padding: 11px; border-radius: 999px; background: var(--m-acc); color: var(--m-on); font-weight: 700; font-size: 12.5px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); transition: background .6s; }
.badge { position: absolute; z-index: 4; padding: 10px 14px; border-radius: 14px; background: rgba(13, 22, 48, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--night-line) inset, 0 20px 40px -20px #000; font-size: 13px; color: var(--night-ink); display: flex; gap: 10px; align-items: center; animation: float 6s ease-in-out infinite; }
.badge b { font: 800 18px/1 var(--display); font-stretch: 112%; color: #fff; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.badge.b1 { top: 12%; left: -4%; } .badge.b2 { bottom: 16%; right: -6%; animation-delay: -3s; }
@media (max-width: 520px) { .badge.b1 { left: 0; } .badge.b2 { display: none; } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* cinta de barrios */
.ticker { border-block: 1px solid var(--night-line); background: var(--night); color: var(--night-muted); overflow: hidden; padding-block: 18px; }
.ticker ul { display: flex; gap: 40px; width: max-content; list-style: none; padding: 0; animation: tick 60s linear infinite; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ticker li { display: flex; gap: 10px; white-space: nowrap; } .ticker li b { color: var(--electric); font-weight: 500; }
@keyframes tick { to { transform: translateX(-50%); } }

/* cabeceras de sección */
.head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head h2 { margin-top: 18px; } .head .lead { justify-self: end; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } .head .lead { justify-self: start; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; min-height: 280px; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(12, 20, 36, .4); }
.tile p { color: var(--muted); font-size: 16px; max-width: 30em; }
.tile .vis { margin-top: auto; padding-top: 22px; }
.t-domain { grid-column: span 4; } .t-speed { grid-column: span 2; } .t-chat { grid-column: span 2; } .t-google { grid-column: span 4; }
.t-cookie { grid-column: span 3; } .t-own { grid-column: span 3; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .tile { grid-column: span 1; } .t-domain, .t-google { grid-column: span 2 !important; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .tile, .t-domain, .t-google { grid-column: span 1 !important; } }
.addr { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; font: 500 clamp(17px, 2.2vw, 26px)/1 var(--mono); overflow: hidden; }
.addr svg { width: 18px; height: 18px; flex: none; color: #18a058; }
.addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .addr span b { color: var(--blue); font-weight: 500; }
.addr .cur { width: 2px; height: 1.1em; background: var(--blue); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.tile .kb { font: 850 clamp(56px, 6vw, 84px)/.9 var(--display); font-stretch: 118%; letter-spacing: -.04em; color: var(--blue); }
.bars { display: grid; gap: 8px; margin-top: 18px; font: 500 12px/1 var(--mono); color: var(--muted); }
.bars div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; }
.bars i { height: 10px; border-radius: 6px; background: var(--blue); display: block; }
.bars div:last-child i { background: var(--line); }
.chat { display: grid; gap: 8px; font-size: 14px; }
.chat span { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.35; }
.chat .me { background: #dcf8c6; color: #10221a; justify-self: end; border-bottom-right-radius: 4px; }
.chat .us { background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; border-bottom-left-radius: 4px; }
.chat small { display: block; font-size: 11px; opacity: .6; margin-top: 2px; text-align: right; }
.serp { padding: 18px 20px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; font-family: Arial, sans-serif; }
.serp .u { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.serp .u i { width: 22px; height: 22px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--blue); font-weight: 700; }
.serp .t { font-size: 19px; color: #1a0dab; margin: 6px 0 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .serp .t { color: #8ab4f8; } }
:root[data-theme="dark"] .serp .t { color: #8ab4f8; }
.serp .d { font-size: 14px; color: var(--muted); }
.serp .d b { color: #e7a100; letter-spacing: 1px; }
.nocookie { display: flex; align-items: center; gap: 16px; }
.nocookie .c { width: 64px; height: 64px; flex: none; }
.nocookie span { font: 800 44px/1 var(--display); font-stretch: 115%; letter-spacing: -.03em; }
.own { display: flex; gap: 10px; flex-wrap: wrap; }
.own span { padding: 10px 14px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; font: 500 13px/1 var(--mono); }
.own span b { color: var(--blue); font-weight: 500; }

/* trabajos: galería horizontal */
.work-sec { background: var(--night); color: var(--night-ink); overflow: hidden; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 820px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
@media (min-width: 1376px) { .gallery { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); margin-inline: calc((100vw - var(--max)) / -2 - var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.case { scroll-snap-align: start; display: grid; gap: 22px; }
.browser { display: block; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px #000; transition: transform .5s var(--ease); }
.case:hover .browser { transform: translateY(-6px) scale(1.01); }
.browser .chrome { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f2f4f7; border-bottom: 1px solid #e1e5eb; }
.browser .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; }
.browser .chrome span { margin-left: 10px; font: 500 12px/1 var(--mono); color: #4f5b6d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: start; }
.case h3 { font-size: clamp(24px, 2.6vw, 34px); font-stretch: 115%; font-weight: 800; }
.case .k { font: 500 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); margin-top: 8px; }
.case p { color: var(--night-muted); font-size: 16px; max-width: 34em; margin-top: 8px; }
.sw { display: flex; gap: 6px; } .sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.gnav { display: flex; gap: 10px; justify-self: end; }
.gnav button { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; color: var(--night-ink); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px var(--night-line) inset; font-size: 20px; transition: background .2s; }
.gnav button:hover { background: rgba(255, 255, 255, .14); }
.note { margin-top: 28px; font-size: 14px; color: var(--night-muted); }

/* cifra */
.stat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .stat { grid-template-columns: 1fr; } }
.stat .num { font: 850 clamp(120px, 20vw, 300px)/.8 var(--display); font-stretch: 125%; letter-spacing: -.06em; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .4em; letter-spacing: -.02em; }
.stat p.big { font: 700 clamp(26px, 3vw, 40px)/1.15 var(--display); font-stretch: 108%; letter-spacing: -.02em; text-wrap: balance; }
.stat .src { margin-top: 20px; font: 500 13px/1.6 var(--mono); color: var(--muted); }

/* proceso */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 34px; right: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.steps .n { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--on-blue); font: 800 22px/1 var(--display); font-stretch: 115%; box-shadow: 0 0 0 8px var(--paper); }
.steps .when { margin-top: 14px; font: 500 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.steps p { color: var(--muted); font-size: 17px; max-width: 26em; }

/* precio */
.pricing { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }
.plan { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(23, 72, 214, .8), transparent 70%); }
.plan .k { font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.plan .price { font: 850 clamp(80px, 10vw, 140px)/.85 var(--display); font-stretch: 120%; letter-spacing: -.05em; }
.plan .price small { font: 600 18px/1 var(--body); letter-spacing: 0; margin-left: 8px; color: var(--night-muted); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; } .plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--electric) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23071026' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.plan .fine { font-size: 14px; color: var(--night-muted); }
.plan .btn { align-self: start; margin-top: auto; }
.cmp { overflow-x: auto; border-radius: 32px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.cmp caption { text-align: left; padding: 28px 28px 8px; font: 700 22px/1.2 var(--display); font-stretch: 108%; }
.cmp th, .cmp td { text-align: left; padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th:first-child { padding-left: 28px; }
.cmp thead th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp tbody th { font-weight: 500; color: var(--muted); }
.cmp td.us { color: var(--blue); font-weight: 700; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .src { padding: 10px 28px 26px; font-size: 13px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid h2 { margin-top: 18px; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 700 clamp(18px, 1.8vw, 22px)/1.25 var(--display); font-stretch: 106%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 400 24px/1 var(--body); color: var(--blue); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--tint); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); }

/* contacto */
.cta { overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 110%, rgba(23, 72, 214, .9), transparent 70%); }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(44px, 8vw, 128px); font-stretch: 122%; max-width: 11em; margin-block: 22px 32px; }
.cta h2 em { font-style: normal; color: var(--electric); }
.cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta .direct { margin-top: 30px; font: 500 15px/1.6 var(--mono); color: var(--night-muted); user-select: all; }

/* pie */
footer { padding-block: 64px 72px; font-size: 15px; background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; color: var(--night-ink); }
footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
footer a { text-decoration: none; } footer a:hover { color: #fff; }
footer .logo { color: var(--night-ink); margin-bottom: 16px; } footer .logo b { color: var(--electric); }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* confianza bajo el formulario */
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding: 0; list-style: none; font-size: 14px; color: var(--night-muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: #3ddc84 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23062012' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }

/* oferta de fundador (solo si config.fundador) */
.promo { background: linear-gradient(90deg, #1748d6, #3a68ff); color: #fff; text-align: center; font-size: 14.5px; font-weight: 500; padding: 10px 16px; }
.promo a { color: #fff; font-weight: 700; }

/* calculadora */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc .in, .calc .out { border-radius: 32px; padding: clamp(24px, 3.5vw, 48px); }
.calc .in { background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 30px; }
.calc .f label { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; margin-bottom: 12px; }
.calc .f output { font: 800 22px/1 var(--display); font-stretch: 112%; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .f small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 8px; }
.calc input[type=range] { width: 100%; accent-color: var(--blue); height: 28px; }
.calc .out { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--night-ink); display: flex; flex-direction: column; gap: 10px; }
.calc .out::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 0% 100%, rgba(23, 72, 214, .7), transparent 70%); }
.calc .out .k { font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.calc .big { font: 850 clamp(56px, 7vw, 104px)/.9 var(--display); font-stretch: 118%; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc .rows { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; font-size: 16px; color: var(--night-muted); }
.calc .rows div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--night-line); padding-top: 10px; }
.calc .rows b { color: var(--night-ink); font-variant-numeric: tabular-nums; }
.calc .rows .x b { color: var(--electric); }
.calc .disc { font-size: 13px; color: var(--night-muted); margin-top: 14px; }

/* garantía */
.promise { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: 32px; background: var(--tint); }
.promise .seal { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--blue); color: var(--on-blue); font: 800 12px/1.15 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: .02em; transform: rotate(-8deg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--blue) 20%, transparent); }
.promise h3 { margin-bottom: 6px; }
.promise p { color: var(--muted); max-width: 52em; }
@media (max-width: 560px) { .promise { grid-template-columns: 1fr; } }
.perday { margin-top: -8px; font-size: 16px; color: var(--night-muted); }
.perday b { color: #fff; }

/* fundador */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, var(--tint), var(--surface)); box-shadow: 0 0 0 1px var(--line) inset; display: grid; place-items: center; max-width: 440px; width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait span { font: 850 160px/1 var(--display); font-stretch: 120%; color: var(--blue); }
.founder blockquote { font: 700 clamp(24px, 2.8vw, 38px)/1.2 var(--display); font-stretch: 106%; letter-spacing: -.02em; margin-block: 22px 26px; text-wrap: balance; }
.founder .sig { font-weight: 600; } .founder .sig span { display: block; color: var(--muted); font-weight: 400; font-size: 15px; }
.founder ul { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; color: var(--muted); }
.founder li { display: flex; gap: 12px; } .founder li b { color: var(--ink); }

/* testimonios (solo con clientes reales y su permiso) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote { border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote p { font-size: 18px; } .quote cite { font-style: normal; color: var(--muted); font-size: 15px; margin-top: auto; } .quote cite b { color: var(--ink); display: block; }

/* barra fija en móvil */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: none; transform: translateY(140%); transition: transform .4s var(--ease); }
.mbar.on { transform: none; }
.mbar .btn { width: 100%; padding: 16px; }
@media (max-width: 760px) { .mbar { display: block; } footer { padding-bottom: 120px; } }

/* páginas legales */
.legal { padding-block: clamp(56px, 8vw, 110px); }
.legal h1 { font-size: clamp(44px, 7vw, 88px); font-stretch: 118%; margin-block: 18px 40px; }
.legal h2 { font-size: 24px; font-stretch: 106%; margin-block: 40px 10px; }
.legal p, .legal li { max-width: 40em; color: var(--muted); }
.legal address { font-style: normal; font-size: 21px; line-height: 1.7; }
