/* 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("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/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; min-height: 44px; 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; } }
/* selector de idioma: cabecera (códigos), menú móvil y pie (nombres) */
.lng { display: flex; gap: 2px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; }
.top nav .lng a { padding: 8px 6px; border-radius: 6px; color: var(--night-muted); }
.top nav .lng a[aria-current] { color: var(--night-ink); background: rgba(160, 185, 255, .12); }
@media (max-width: 1100px) { .top nav .lng { display: none; } }
.lng-m { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--night-line); }
.top .menu-p .lng-m a { font-size: 15px; }
.lng-m a[aria-current], .lng-f a[aria-current] { color: var(--night-ink); font-weight: 600; }
.lng-f { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 14px; }
.lng-f a { display: inline-block; padding-block: 6px; }

/* 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); }
/* precio con decimales (24.50): más estrecho, para que «CHF» no se salga de la caja */
.plan .price.dec { font-size: clamp(60px, 7.2vw, 104px); }
.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(3, minmax(0, 1fr)); gap: 32px; }
footer .fh { 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 */
/* dolor: «Kennen Sie das?» */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }
.pain { 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: 14px; }
.pain .bub { align-self: flex-start; max-width: 92%; background: var(--tint); color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-size: 15px; }
.pain .bub small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.pain h3 { font: 700 clamp(20px, 1.9vw, 24px)/1.2 var(--display); font-stretch: 106%; margin-top: 6px; }
.pain p { color: var(--muted); font-size: 16.5px; }
.pains-end { margin-top: clamp(28px, 3vw, 40px); font: 700 clamp(20px, 2vw, 26px)/1.3 var(--display); font-stretch: 106%; }
.pains-end a { color: var(--blue); }
/* sectores */
.sectors { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 600; font-size: 16px; }
.sectors li.more { background: none; box-shadow: 0 0 0 1.5px var(--blue) inset; } .sectors li.more a { color: var(--blue); text-decoration: none; }
/* etiquetas de los pasos */
.steps .tags { display: flex; flex-wrap: wrap; gap: 6px; } .steps .tags span { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.cta .trust { justify-content: center; margin-top: 22px; }
.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); }
.portrait .mark { width: 46%; height: auto; }
.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; }

/* ===== Páginas de contenido (SEO): servicios, sectores, regiones, guías ===== */
/* menú móvil */
.menu { position: relative; display: none; }
@media (max-width: 860px) { .menu { display: block; } }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 4px; box-shadow: 0 0 0 1px var(--night-line) inset; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--night-ink); transition: transform .25s var(--ease), opacity .2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-p { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); padding: 10px; border-radius: 20px; background: var(--night-2); box-shadow: 0 0 0 1px var(--night-line) inset, 0 30px 60px -20px #000; display: grid; }
.menu-p a { padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--night-ink); font-size: 16px; }
.menu-p a:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 420px) { .top nav > .btn { padding: 9px 14px; font-size: 14px; } }
.top nav a[aria-current="page"] { color: #fff; }

/* pie con más columnas */
footer .wrap { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
footer .fc { margin-top: 14px; line-height: 1.7; }
@media (max-width: 1000px) { footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* migas de pan */
.crumbs { font: 500 12.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--night-muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }

/* cabecera de página */
.phero { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 104px); overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 140%; z-index: -1; background: radial-gradient(55% 50% at 85% 20%, rgba(23, 72, 214, .5), transparent 70%); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .phero .wrap { grid-template-columns: 1fr; } }
.phero .eyebrow { margin-top: 28px; }
.phero h1 { font-size: clamp(38px, 5.4vw, 80px); font-stretch: 118%; font-weight: 850; letter-spacing: -.035em; margin-block: 20px 24px; }
.phero h1 em { font-style: normal; color: var(--electric); }
.phero .lead { color: var(--night-muted); max-width: 38em; }
.phero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phero .side { border-radius: 24px; padding: 26px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--night-line) inset; display: grid; gap: 14px; }
.phero .side .k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.phero .side .v { font: 850 clamp(40px, 4.4vw, 60px)/.9 var(--display); font-stretch: 118%; letter-spacing: -.04em; color: #fff; }
.phero .side .v small { font: 600 16px/1 var(--body); letter-spacing: 0; color: var(--night-muted); margin-left: 6px; }
.phero .side ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--night-muted); }
.phero .side li { display: flex; gap: 10px; } .phero .side li::before { content: "✓"; color: #3ddc84; font-weight: 700; }
.phero.art .wrap { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.artmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 13px/1.5 var(--mono); color: var(--night-muted); }

/* bloques de contenido */
.blk { padding-block: clamp(56px, 7vw, 104px); }
.blk + .blk { padding-top: 0; }
.blk.alt { background: var(--surface); padding-top: clamp(56px, 7vw, 104px); box-shadow: 0 1px 0 var(--line) inset, 0 -1px 0 var(--line) inset; }
.blk.alt + .blk { padding-top: clamp(56px, 7vw, 104px); }
.blk .head { margin-bottom: clamp(32px, 4vw, 56px); }
.blk h2 { font-size: clamp(30px, 4.2vw, 56px); }
.sp { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .sp { grid-template-columns: 1fr; } }
.sp > div:first-child h2 { margin-top: 18px; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 44em; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h3 { font-size: clamp(20px, 2vw, 25px); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose .box, .box { border-radius: 20px; padding: 22px 24px; background: var(--tint); }
.prose .box p, .box p { color: var(--ink); }
.prose .box.warn { background: color-mix(in srgb, #e7a100 16%, var(--surface)); }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 20px; font-size: 20px; }
.prose code { font: 500 .88em var(--mono); background: var(--tint); padding: 2px 6px; border-radius: 6px; }

/* rejilla de tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.blk.alt .card { background: var(--paper); }
a.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--blue) inset, 0 30px 60px -40px rgba(12, 20, 36, .45); }
.card .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; font: 800 18px/1 var(--display); }
.card h3 { font-size: clamp(19px, 1.8vw, 22px); }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 600; font-size: 15px; }
.card .pr { font: 500 13px/1 var(--mono); color: var(--blue); }

/* lista con marcas */
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 28px; }
.checks li { display: flex; gap: 12px; font-size: 17px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--blue) 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='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks li b { color: var(--ink); }
.checks li span { color: var(--muted); }

/* tabla comparativa reutilizable */
.tbl { overflow-x: auto; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.tbl table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th:first-child, .tbl td:first-child { padding-left: 26px; }
.tbl thead th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbl tbody th { font-weight: 600; }
.tbl td.us { color: var(--blue); font-weight: 700; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* referencias reales (rejilla compacta) */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.ref { display: grid; gap: 14px; text-decoration: none; }
.ref .browser { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(12, 20, 36, .5); }
.ref h3 { font-size: 20px; } .ref .k { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ref p { font-size: 15.5px; color: var(--muted); }

/* precio de servicio */
.svc-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .svc-price { grid-template-columns: 1fr; } }
.svc-price .plan .price { font-size: clamp(64px, 8vw, 112px); }
.svc-price .plan .price.txt { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.svc-price .side2 { border-radius: 32px; padding: clamp(24px, 3.5vw, 44px); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 14px; align-content: start; }
.svc-price .side2 h3 { margin-bottom: 4px; }
.svc-price .side2 p { color: var(--muted); }

/* índice de contenidos y artículo */
.wrap.art { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .wrap.art { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 100px; font-size: 15px; border-radius: 20px; padding: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
@media (max-width: 960px) { .toc { position: static; } }
.toc p { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink); } .toc a:hover { color: var(--blue); }
.art .prose > h2:first-child { margin-top: 0; }
.tldr { border-radius: 24px; padding: 24px 26px; background: var(--tint); margin-bottom: 2em; }
.tldr p.k, .tldr h2.k, .prose .tldr h2.k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.tldr ul { padding-left: 1.2em; display: grid; gap: 6px; }
.author { display: flex; gap: 16px; align-items: center; margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.author .mark { width: 44px; height: 44px; flex: none; }
.author b { color: var(--ink); display: block; }

/* CTA dentro del contenido */
.ctabox { margin-top: 2.4em; border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--night); color: var(--night-ink); display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.ctabox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(23, 72, 214, .7), transparent 70%); }
.ctabox h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.ctabox p { color: var(--night-muted) !important; }
.ctabox .btn { justify-self: start; }

/* enlaces relacionados */
.rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.rel a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; font-weight: 600; transition: box-shadow .2s; }
.rel a::after { content: "→"; color: var(--blue); }
.rel a:hover { box-shadow: 0 0 0 1.5px var(--blue) inset; }

/* autochequeo interactivo */
.qz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .qz { grid-template-columns: 1fr; } }
.qz fieldset { border: 0; padding: 0; display: grid; gap: 10px; }
.qz label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; cursor: pointer; font-size: 16.5px; }
.qz label:has(input:checked) { box-shadow: 0 0 0 1.5px var(--blue) inset; background: var(--tint); }
.qz input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; margin-top: 2px; }
.qz label small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.qz .res { position: sticky; top: 100px; border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--night); color: var(--night-ink); display: grid; gap: 14px; }
.qz .res .k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.qz .res .sc { font: 850 clamp(64px, 8vw, 104px)/.9 var(--display); font-stretch: 118%; letter-spacing: -.04em; }
.qz .res .sc small { font-size: .35em; color: var(--night-muted); }
.qz .meter { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.qz .meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff6b6b, #e7a100, #3ddc84); background-size: 300% 100%; transition: width .4s var(--ease); }
.qz .res p { color: var(--night-muted); font-size: 16px; }
.qz .res ul { padding-left: 1.2em; color: var(--night-muted); font-size: 15px; display: grid; gap: 6px; }

/* hubs */
.hubgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.datum { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
/* palabras compuestas alemanas largas: partir con guion en vez de cortarlas */
.phero h1, .blk h2, .prose h2, .card h3, .ref h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 600px) { .phero h1 { font-size: clamp(32px, 8.4vw, 44px); font-stretch: 112%; } .phero.art h1 { font-size: clamp(30px, 7.8vw, 40px); } }
.artmeta { margin-top: 22px; }

/* cabecera con imagen (servicios, sectores, regiones) */
.phero .hside { display: grid; gap: 16px; align-self: center; position: relative; }
.phero .vis { margin: 0; }
.phero .vis img { display: block; width: 100%; height: auto; }
.phero .vis figcaption { margin-top: 6px; font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--night-muted); text-align: center; }
@media (min-width: 901px) {
  .phero .wrap:has(.vis) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .phero .side.float .v { font-size: clamp(32px, 3vw, 44px); }
}
@media (min-width: 1200px) {
  .phero .side.float { grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 6px 28px; padding: 18px 24px; }
  .phero .side.float .k { grid-column: 1; grid-row: 1; }
  .phero .side.float .v { grid-column: 1; grid-row: 2; }
  .phero .side.float ul { grid-column: 2; grid-row: 1 / 3; }
}
/* tablas: sombras que indican que se puede desplazar */
.tbl, .prose table { background:
  linear-gradient(to right, var(--surface) 30%, transparent) left center / 40px 100% no-repeat local,
  linear-gradient(to left, var(--surface) 30%, transparent) right center / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(12, 20, 36, .18), transparent) left center / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(12, 20, 36, .18), transparent) right center / 14px 100% no-repeat scroll, var(--surface); }
.prose table { --surface: var(--paper); }
@media (max-width: 600px) { .prose table { font-size: 15px; } .prose th, .prose td { padding-right: 12px; min-width: 120px; } }
.author a { display: inline-block; padding-block: 8px; }
/* red de enlaces: sectores y regiones */
.netz { padding-block: clamp(40px, 5vw, 64px) !important; }
.netz-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px clamp(32px, 5vw, 72px); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); transition: box-shadow .2s, color .2s; }
.chips a:hover { box-shadow: 0 0 0 1.5px var(--blue) inset; color: var(--blue); }
.netz-more { margin-top: 14px; font-size: 15px; } .netz-more a { color: var(--blue); }
.tbl th a, .tbl td a { display: inline-block; padding-block: 10px; }

.prose .tldr h2.k { margin-top: 0; scroll-margin-top: 0; hyphens: none; }
.artfig { margin: 0 0 2em; } .artfig img { width: 100%; height: auto; max-width: 640px; margin-inline: auto; }
.prose .src { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.2em; margin-top: 2.4em; }
