/* Impulsa 360 Agency: TSL tecnológica. Marca: morado #7C2AE8, magenta #D61F73, tinta #1B1430. Lato local. */
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/lato-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Lato; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/lato-latin-900-normal.woff2) format("woff2"); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #FAF8FF;
  --surface: #FFFFFF;
  --surface-2: rgba(255, 255, 255, .72);
  --soft: #F3ECFF;
  --line: #E6DFF3;
  --ink: #160F2A;
  --text: #2E2745;
  --muted: #5B536F;
  --brand: #7C2AE8;
  --accent: #D61F73;
  --brand-ink: #6A1FD0;
  --grad: linear-gradient(115deg, #7C2AE8 0%, #A424CC 50%, #D61F73 100%);
  --grad-soft: linear-gradient(115deg, #A77BFF, #FF6FB0);
  --ok: #7C2AE8;
  --bad: #D61F73;
  --glow: rgba(124, 42, 232, .35);
  --shadow: 0 1px 2px rgba(22, 15, 42, .05), 0 14px 34px -16px rgba(76, 36, 150, .22);
  --shadow-lg: 0 34px 70px -26px rgba(76, 36, 150, .4);
  --r: 20px;
  color-scheme: light;
}
:root[data-theme="dark"], .tech {
  --bg: #0B0716;
  --surface: #150F26;
  --surface-2: rgba(255, 255, 255, .045);
  --soft: #100A1F;
  --line: rgba(255, 255, 255, .1);
  --ink: #F7F2FF;
  --text: #D9D0EC;
  --muted: #A69CC0;
  --brand: #A36BFF;
  --accent: #FF4F9C;
  --brand-ink: #C4A0FF;
  --ok: #B58AFF;
  --bad: #FF5FA4;
  --glow: rgba(163, 107, 255, .45);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 34px 70px -26px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(76px + env(safe-area-inset-top)); }
html { font-size: calc(100% * var(--a11y-fs, 1)); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 Lato, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
b, strong { color: var(--ink); font-weight: 700; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
.narrow { width: min(820px, 100% - 32px); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .grad-text, .tech .grad-text { background-image: var(--grad-soft); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn {
  --h: 48px; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.45em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font: 700 1rem/1 Lato, sans-serif; text-decoration: none; text-align: center;
  box-shadow: 0 12px 30px -12px rgba(124, 42, 232, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.btn:hover { box-shadow: 0 18px 40px -12px rgba(214, 31, 115, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.shine::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-sm { --h: 40px; padding: 0 1.1em; font-size: .92rem; }
.btn-lg { --h: 56px; padding: 0 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--brand-ink); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-outline:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--brand), 0 12px 30px -14px var(--glow); }
.btn-glass { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-ink); text-decoration: none; }
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra de progreso y superior ---------- */
.progress { position: fixed; inset: env(safe-area-inset-top) 0 auto; height: 3px; z-index: 80; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(214, 31, 115, .8); }
.topbar { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.topbar { padding-top: env(safe-area-inset-top); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; }
.logo { width: 92px; height: auto; }
.logo-on-light, .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line); }
:root:not([data-theme="dark"]) .topbar:not(.on-dark) .logo-on-dark { display: none; }
:root:not([data-theme="dark"]) .topbar:not(.on-dark) .logo-on-light { display: block; }
.topbar.on-dark.scrolled { background: rgba(11, 7, 22, .72); }
.topbar.on-dark { --ink: #F7F2FF; --muted: #CFC4E6; --line: rgba(255, 255, 255, .16); --surface: rgba(255, 255, 255, .06); --soft: rgba(255, 255, 255, .08); }
.topnav { display: flex; gap: 2px; margin-inline: auto; }
.topnav a { padding: 8px 13px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s; }
.topnav a:hover { color: var(--ink); background: var(--soft); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .35s; }
.icon-btn:hover { transform: rotate(25deg); }
.icon-btn svg { width: 19px; height: 19px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }

/* ---------- Secciones tecnológicas (siempre oscuras) ---------- */
.tech { position: relative; background: var(--bg); color: var(--text); overflow: hidden; isolation: isolate; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.grid-floor { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(rgba(163, 107, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 107, 255, .13) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); animation: grid-move 22s linear infinite; }
@keyframes grid-move { to { background-position: 56px 56px; } }
.aurora { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 60vmax; height: 60vmax; left: 35%; top: -30vmax; background: radial-gradient(circle, rgba(124, 42, 232, .5), transparent 62%); animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 50vmax; height: 50vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(214, 31, 115, .38), transparent 62%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora i:nth-child(3) { width: 34vmax; height: 34vmax; right: -12vmax; bottom: -10vmax; background: radial-gradient(circle, rgba(0, 170, 255, .16), transparent 62%); animation: drift 26s ease-in-out infinite alternate; }
.aurora-soft { opacity: .6; }
@keyframes drift { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.12); } }

/* ---------- Hero ---------- */
.hero { padding: calc(120px + env(safe-area-inset-top)) 0 80px; min-height: min(100svh, 900px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--muted); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DFFA2; box-shadow: 0 0 0 0 rgba(61, 255, 162, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61, 255, 162, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 162, 0); } }
.hero h1 { margin: 20px 0 18px; }
.swap { display: inline-block; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4ch; text-shadow: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { color: #3DFFA2; width: 17px; height: 17px; stroke-width: 3; }

/* Órbita 360: dos anillos que giran en sentidos opuestos */
.hero-visual { display: grid; justify-items: center; gap: 22px; }
.orbit-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1; container-type: inline-size; }
.ring { position: absolute; border-radius: 50%; inset: 0; border: 1px solid rgba(163, 107, 255, .22); }
.ring-1 { inset: 9%; border-style: dashed; animation: spin 70s linear infinite; }
.ring-2 { inset: 25%; border-color: rgba(255, 79, 156, .25); animation: spin 45s linear infinite reverse; }
.ring-3 { inset: 1%; background: conic-gradient(from var(--ang), transparent 0 70%, rgba(163, 107, 255, .6) 85%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); border: 0; animation: sweep 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { to { --ang: 360deg; } }
.core { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 25%, #9B5CFF, #5A17C0 55%, #3A0E80); box-shadow: 0 0 0 8px rgba(124, 42, 232, .12), 0 0 70px 8px rgba(124, 42, 232, .55), inset 0 2px 10px rgba(255, 255, 255, .3); animation: pulse 4s ease-in-out infinite; }
.core-num { font-size: 8.5cqw; font-weight: 900; color: #fff; line-height: .95; letter-spacing: -.04em; }
.core-lbl { font-size: 2cqw; letter-spacing: .2em; text-transform: uppercase; color: #E7D9FF; font-weight: 700; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(124, 42, 232, .06), 0 0 100px 18px rgba(214, 31, 115, .45), inset 0 2px 10px rgba(255, 255, 255, .3); } }
.orbit { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.orbit-out { --r: 38cqw; }
.orbit-in { --r: 24cqw; }
.orbit li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.orbit-out li:nth-child(1) { transform: rotate(-90deg) translateX(var(--r)) rotate(90deg); }
.orbit-out li:nth-child(2) { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
.orbit-out li:nth-child(3) { transform: rotate(90deg) translateX(var(--r)) rotate(-90deg); }
.orbit-out li:nth-child(4) { transform: rotate(180deg) translateX(var(--r)) rotate(-180deg); }
.orbit-in li:nth-child(1) { transform: rotate(-90deg) translateX(var(--r)) rotate(90deg); }
.orbit-in li:nth-child(2) { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
.orbit-in li:nth-child(3) { transform: rotate(90deg) translateX(var(--r)) rotate(-90deg); }
.orbit-in li:nth-child(4) { transform: rotate(180deg) translateX(var(--r)) rotate(-180deg); }
.orbit-6 li:nth-child(1) { transform: rotate(-90deg) translateX(var(--r)) rotate(90deg); }
.orbit-6 li:nth-child(2) { transform: rotate(-30deg) translateX(var(--r)) rotate(30deg); }
.orbit-6 li:nth-child(3) { transform: rotate(30deg) translateX(var(--r)) rotate(-30deg); }
.orbit-6 li:nth-child(4) { transform: rotate(90deg) translateX(var(--r)) rotate(-90deg); }
.orbit-6 li:nth-child(5) { transform: rotate(150deg) translateX(var(--r)) rotate(-150deg); }
.orbit-6 li:nth-child(6) { transform: rotate(210deg) translateX(var(--r)) rotate(-210deg); }
/* Cada etiqueta contrarresta el giro de su anillo y su ángulo para quedar siempre derecha */
.orbit span { position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: .45em; white-space: nowrap; padding: .55em .9em; border-radius: 999px; font-size: clamp(.64rem, 2.9cqw, .86rem); font-weight: 700; color: #fff; background: rgba(21, 15, 38, .85); border: 1px solid rgba(163, 107, 255, .35); box-shadow: 0 10px 30px -10px rgba(124, 42, 232, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.orbit span { animation: tag-float 5s ease-in-out infinite; }
.orbit li:nth-child(2n) span { animation-delay: -1.7s; }
.orbit li:nth-child(3n) span { animation-delay: -3.1s; }
@keyframes tag-float { 50% { transform: translateY(-6px); } }
.orbit-in span { border-color: rgba(255, 79, 156, .35); }
.orbit-out li:nth-child(1) span { --a: 90deg; }
.orbit-out li:nth-child(2) span { --a: 0deg; }
.orbit-out li:nth-child(3) span { --a: -90deg; }
.orbit-out li:nth-child(4) span { --a: -180deg; }
.orbit-in li:nth-child(1) span { --a: 90deg; }
.orbit-in li:nth-child(2) span { --a: 0deg; }
.orbit-in li:nth-child(3) span { --a: -90deg; }
.orbit-in li:nth-child(4) span { --a: -180deg; }
.orbit-6 li:nth-child(1) span { --a: 90deg; }
.orbit-6 li:nth-child(2) span { --a: 30deg; }
.orbit-6 li:nth-child(3) span { --a: -30deg; }
.orbit-6 li:nth-child(4) span { --a: -90deg; }
.orbit-6 li:nth-child(5) span { --a: -150deg; }
.orbit-6 li:nth-child(6) span { --a: -210deg; }
@keyframes spin-out { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) - 360deg)); } }
@keyframes spin-in { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
.orbit span svg { width: 1.2em; height: 1.2em; color: #C4A0FF; }
.orbit-in span svg { color: #FF8CC4; }
.orbit-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(21, 15, 38, .8); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip b { font-size: 1.6rem; font-weight: 900; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.chip span { font-size: .76rem; color: #D9D0EC; font-weight: 700; line-height: 1.25; }
.chip em { display: block; font-style: normal; font-weight: 400; color: #A69CC0; }

/* ---------- Portafolio ---------- */
.portfolio { padding: 44px 0 40px; background: var(--surface); border-bottom: 1px solid var(--line); }
.port-head { text-align: center; margin-bottom: 26px; }
.port-head .kicker { margin-bottom: 6px; }
.port-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marq-dur, 70s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding: 6px 16px 6px 0; margin: 0; list-style: none; }
.marquee-group li { display: flex; flex-direction: column; align-items: center; flex: none; }
.marquee-group img { height: 112px; width: auto; max-width: none; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.marquee-group li:hover img { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 36px -16px var(--glow); }
.marquee-group span { display: block; width: 0; min-width: 100%; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--muted); line-height: 1.25; text-align: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(52px, 6.5vw, 88px) 0; position: relative; }
.soft { background: var(--soft); }
.band { background: var(--bg); }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.section-head > p:not(.kicker):not(.deadline) { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.fineprint { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 22px; }

/* Tarjetas con foco de luz que sigue el cursor */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 14%, transparent), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--brand), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }

/* Problema */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.split-copy p { color: var(--muted); font-size: 1.07rem; }
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pain-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); box-shadow: var(--shadow); line-height: 1.4; }
.x { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); flex: none; }
.x svg { width: 15px; height: 15px; stroke-width: 3; }

/* Comparación */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; align-items: center; }
.vs-card { position: relative; border-radius: 26px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.vs-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vs-card li { position: relative; padding-left: 32px; }
.vs-card li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; stroke-width: 3; }
.vs-bad { opacity: .85; }
.vs-bad h3, .vs-bad li { color: var(--muted); }
.vs-bad li { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.vs-bad li svg { color: var(--bad); }
.vs-good { padding: 38px 32px; border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--ang), #7C2AE8, #D61F73, #3DB8FF, #7C2AE8) border-box; animation: sweep 8s linear infinite; box-shadow: 0 30px 70px -30px var(--glow); }
.vs-good li svg { color: var(--ok); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(214, 31, 115, .8); }

/* Método 360 (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.cell:hover { transform: translateY(-4px); }
.cell p { color: var(--muted); font-size: .95rem; margin: 0; }
.cell h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cell-team { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface) 60%); }
.cell-wide { grid-column: span 2; }
.cell-tag { font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.cell-team h3 { font-size: 1.5rem; margin-bottom: 16px; }
.f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 13%, transparent); color: var(--brand); margin-bottom: 14px; flex: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent); }
.f-ico svg { width: 23px; height: 23px; }
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.team-list li { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); }
.team-list div { flex: 1; line-height: 1.25; }
.team-list b { display: block; font-size: .95rem; }
.team-list small { color: var(--muted); font-size: .8rem; }
.ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ico svg { width: 19px; height: 19px; }
.on { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #16A34A; background: rgba(22, 163, 74, .1); padding: 4px 9px; border-radius: 999px; }
.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: blink 1.6s ease-in-out infinite; }
:root[data-theme="dark"] .on { color: #4ADE80; }
@keyframes blink { 50% { opacity: .3; } }

/* Proceso */
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 3%; right: 3%; top: 38px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.steps::after { right: auto; width: calc(94% * var(--p, 0)); background: var(--grad-soft); box-shadow: 0 0 14px rgba(255, 79, 156, .7); }
.step { position: relative; z-index: 1; padding: 22px 20px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.step p { font-size: .93rem; margin: 0; color: var(--muted); }
.step h3 { font-size: 1.05rem; }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px; font-weight: 900; font-size: .9rem; color: #fff; background: var(--grad); box-shadow: 0 0 20px rgba(163, 107, 255, .6); }

/* Producción */
.tabs { display: flex; gap: 6px; padding: 6px; margin: 0 auto 34px; width: fit-content; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tabs button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font: 700 .95rem Lato, sans-serif; padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(124, 42, 232, .7); }
.prod-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.panel { animation: fade .45s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: .96rem; }
.checks li svg { position: absolute; left: 0; top: 3px; width: 19px; height: 19px; color: var(--ok); stroke-width: 3; }
.prod-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.ph { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.ph:hover img { transform: scale(1.05); }
.ph-a { aspect-ratio: 4/3.1; }
.ph-b { grid-row: span 2; }
.gear { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.gear-t { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.gear-t svg { color: var(--brand); width: 20px; height: 20px; }
.gear ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--muted); }

/* Resultados */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { text-align: center; padding: 34px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.result img, .result-ico { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 16px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.result-ico { display: grid; place-items: center; background: var(--grad); color: #fff; border: 0; }
.result-ico svg { width: 34px; height: 34px; }
.big { font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 900; line-height: 1; margin: 0 0 8px; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .big { background-image: var(--grad-soft); }
.what { font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.who { color: var(--muted); font-size: .9rem; margin: 0; }
.mid-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding: 22px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mid-cta p { margin: 0; color: var(--muted); }

/* Planes */
.deadline { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; padding: 9px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); font-weight: 700; font-size: .9rem; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.deadline strong { color: inherit; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); font-variant-numeric: tabular-nums; }
.deadline strong:empty { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; perspective: 1200px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan .checks { flex: 1; }
.plan-pop { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--ang), #7C2AE8, #D61F73, #3DB8FF, #7C2AE8) border-box; animation: sweep 6s linear infinite; box-shadow: 0 40px 80px -34px var(--glow); }
.pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(214, 31, 115, .8); }
.plan-tag { font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.plan h3 { font-size: 1.65rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 2px; font-size: 3.5rem; font-weight: 900; line-height: 1; color: var(--ink); margin: 4px 0 12px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price span { font-size: 1.7rem; align-self: flex-start; margin-top: 6px; }
.price em { font-style: normal; }
.price small { font-size: 1rem; font-weight: 700; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.ads-inc { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); font-weight: 700; font-size: .86rem; margin-bottom: 16px; }
.qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.qty div { padding: 10px 6px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); text-align: center; line-height: 1.15; }
.qty b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--brand-ink); }
.qty span { font-size: .72rem; color: var(--muted); font-weight: 700; }

.compare { margin: 30px auto 0; max-width: 980px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.compare summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); }
.compare summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); flex: none; transition: transform .3s, background .3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--brand); transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
details[open] .pm { transform: rotate(180deg); background: var(--grad); border-color: transparent; }
details[open] .pm::before, details[open] .pm::after { background: #fff; }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.table-wrap { overflow-x: auto; padding: 0 12px 12px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
th, td { padding: 11px 12px; text-align: center; border-bottom: 1px solid var(--line); }
th[scope="row"] { text-align: left; font-weight: 700; color: var(--ink); }
thead th { font-weight: 900; color: var(--ink); }
td.hl, th.hl { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.t-ok { color: var(--ok); stroke-width: 3; width: 18px; height: 18px; }
.save { color: #16A34A; font-weight: 700; }
:root[data-theme="dark"] .save, .tech .save { color: #4ADE80; }

.perf { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; margin-top: 48px; padding: 38px; border-radius: 30px; border: 1px solid var(--line); }
.perf::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 31, 115, .35), transparent 62%); bottom: -300px; left: -140px; }
.perf::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 42, 232, .45), transparent 62%); top: -260px; right: -120px; }
.perf h3 { font-size: 2rem; }
.perf .plan-for { color: var(--muted); }
.perf-note { color: var(--muted); font-size: .88rem; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); margin: 6px 0 14px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 .9rem Lato, sans-serif; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--grad); color: #fff; }
.perf-list { display: grid; align-content: center; gap: 6px; }
.google-extra { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); animation: fade .4s; }
.g-title { font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.g-chans { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.g-chans span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: .86rem; color: var(--ink); }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { display: flex; gap: 16px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.extra .f-ico { margin: 0; }
.extra h3 { font-size: 1.05rem; margin-bottom: 6px; }
.extra h3 em { display: block; font-style: normal; font-size: .86rem; color: var(--accent); margin-top: 3px; }
.extra p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Ciudad 360 */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screen { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); background: #1B1430; }
.screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.screen:hover img { transform: scale(1.06); }
.screen figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.3; background: linear-gradient(transparent, rgba(11, 7, 22, .92)); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.screen figcaption span { flex: none; font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--grad); }
.circuit { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 28px; padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); align-items: center; }
.circuit .price small:first-child { margin: 0 6px 0 0; }
.circuit table { min-width: 0; margin-bottom: 18px; }
.circuit .table-wrap { padding: 0; }

/* Aliados y confianza */
.allies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ally { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ally-logo { display: flex; align-items: center; height: 62px; width: fit-content; max-width: 100%; padding: 8px 14px; margin-bottom: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ally-logo img { max-height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.ally h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ally p { margin: 0; color: var(--muted); font-size: .93rem; }
.ally-ai { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.trust { margin-top: 36px; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trust h3 { text-align: center; font-size: 1.45rem; margin-bottom: 22px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: grid; gap: 10px; font-size: .93rem; color: var(--muted); }
.trust li svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.trust b { display: block; }

/* Garantía y acceso a Performance */
.guarantee { margin-top: 34px; text-align: center; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.guarantee .kicker { margin-bottom: 8px; }
.guarantee ul { grid-template-columns: repeat(5, 1fr); text-align: left; align-items: start; }
.guarantee li { align-content: start; }
.perf-teaser { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--muted); transition: transform .25s, border-color .25s; }
.perf-teaser:hover { transform: translateY(-3px); border-color: var(--brand); }
.perf-teaser .f-ico { margin: 0; }
.perf-teaser b { color: var(--ink); }
.perf-teaser .go { width: 22px; height: 22px; color: var(--brand); margin-left: auto; }
#mas .perf { margin-top: 0; }
.diag-title { font-weight: 900; color: var(--ink); margin: 22px 0 -8px; }
.diag-note { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.diag-note svg { color: #4ADE80; width: 18px; height: 18px; }

/* Selector de sector del hero */
.sector-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 20px; }
.sector-pick span { font-size: .86rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.sector-pick a { padding: 7px 13px; border-radius: 999px; font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.sector-pick a:hover { border-color: var(--brand); }
.sector-pick a.on { background: var(--grad); border-color: transparent; color: #fff; }
.flash { animation: flash .6s ease; }
@keyframes flash { from { opacity: 0; transform: translateY(8px); } }
.form-legal a, .foot-links a { color: var(--brand-ink); }
.foot-links { margin-bottom: 6px !important; }

/* Plataformas de anuncios y planes configurables */
.ads-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cell .ads-chips { grid-column: 1 / -1; }
.ads-chips span { white-space: nowrap; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.ads-chips-dark { margin: 0 0 12px; }
.qty-tag { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qty-tag svg { width: 14px; height: 14px; color: var(--brand); }

/* Especialistas */
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; perspective: 1200px; }
.niche { display: flex; flex-direction: column; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.niche h3 { font-size: 1.6rem; margin: 14px 0 8px; }
.niche > p { color: var(--muted); }
.niche .checks { margin-bottom: 18px; }
.niche-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.niche-proof { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); margin-top: auto; }
.niche-proof b { font-size: 2.1rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .niche-proof b { background-image: var(--grad-soft); }
.niche-proof span { font-weight: 700; color: var(--ink); line-height: 1.25; }
.niche-proof em { display: block; font-style: normal; font-weight: 400; color: var(--muted); font-size: .88rem; }
.niche-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.niche-logos img { height: 56px; width: auto; border-radius: 12px; border: 1px solid var(--line); }

/* Cupos y valor acumulado */
.price-note { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.price-note span:empty { display: none; }
.deadline b { color: inherit; }
.deadline-form { margin: 0 0 14px; }
.value { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; margin-top: 30px; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.value-copy h3 { font-size: 1.6rem; }
.value-copy p { color: var(--muted); margin: 0; }
.value-table ul { list-style: none; margin: 0 0 14px; padding: 0; }
.value-table li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.value-table li b { white-space: nowrap; color: var(--ink); }
.value-plus span, .value-plus b { color: var(--muted) !important; font-weight: 400; font-size: .88rem; }
.value-total { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value-total div { padding: 14px 16px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.value-total div:last-child { background: var(--grad); border: 0; color: #fff; box-shadow: 0 14px 30px -14px rgba(124, 42, 232, .8); }
.value-total small { display: block; font-size: .78rem; font-weight: 700; opacity: .85; }
.value-total s { font-size: 1.3rem; font-weight: 900; color: var(--muted); }
.value-total strong { font-size: 1.6rem; font-weight: 900; color: #fff; }
.value-src { grid-column: 1 / -1; margin: 0; font-size: .78rem; color: var(--muted); }
.value-src a { color: var(--brand-ink); }

/* Pop-up de cupos */
.promo { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 18, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.promo.show { opacity: 1; }
.promo-card { --bg: #0B0716; --surface: #150F26; --line: rgba(255, 255, 255, .12); --ink: #F7F2FF; --muted: #A69CC0; --brand: #A36BFF; position: relative; width: min(440px, 100%); padding: 30px 26px 22px; border-radius: 28px; text-align: center; color: #D9D0EC; background: radial-gradient(circle at 50% 0, rgba(124, 42, 232, .45), transparent 60%), #120C22; border: 1.5px solid transparent; background-clip: padding-box; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(163, 107, 255, .35), 0 0 70px -10px rgba(214, 31, 115, .45); transform: translateY(18px) scale(.96); transition: transform .35s cubic-bezier(.2, 1.2, .4, 1); }
.promo.show .promo-card { transform: none; }
.promo-card h3 { color: #fff; font-size: 1.7rem; margin: 14px 0 10px; }
.promo-card h3 .grad-text { background-image: var(--grad-soft); }
.promo-card b { color: #fff; }
.promo-card p { font-size: .98rem; }
.promo-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.promo-x svg { width: 16px; height: 16px; }
.promo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #FF7DB8; background: rgba(255, 79, 156, .12); border: 1px solid rgba(255, 79, 156, .35); }
.promo-badge i { width: 8px; height: 8px; border-radius: 50%; background: #FF4F9C; animation: blink 1.2s ease-in-out infinite; }
.promo-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 20px; }
.promo-clock div { padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.promo-clock b { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-clock span { font-size: .7rem; color: #A69CC0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.promo-later { margin-top: 10px; border: 0; background: none; color: #A69CC0; font: 700 .9rem Lato, sans-serif; cursor: pointer; padding: 8px; }
.promo-later:hover { color: #fff; }

/* Formulario */
.agenda { padding-block: clamp(80px, 10vw, 130px); }
.form-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.form-copy > p:not(.kicker):not(.deadline) { color: var(--muted); font-size: 1.05rem; }
.form-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.form-points li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); }
.form-points svg { width: 24px; height: 24px; padding: 5px; border-radius: 8px; background: var(--grad); color: #fff; stroke-width: 3.5; }
.form { padding: 30px; border-radius: 30px; background: rgba(21, 15, 38, .72); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(163, 107, 255, .1), 0 0 80px -20px rgba(124, 42, 232, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.form-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.form-title { font-size: 1.45rem; margin: 0; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: #4ADE80; background: rgba(74, 222, 128, .1); padding: 5px 10px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; animation: blink 1.6s ease-in-out infinite; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; padding: 0; }
input, select, textarea { width: 100%; font: 400 1rem Lato, sans-serif; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
select option { background: #150F26; color: #F7F2FF; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
input:user-invalid, textarea:user-invalid { border-color: var(--bad); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--muted); transition: all .2s; }
.pills input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -10px rgba(124, 42, 232, .8); }
.pills input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 10px 0 0; font-weight: 700; text-align: center; min-height: 1em; }
.form-msg.err { color: var(--bad); }
.form-legal { font-size: .8rem; color: var(--muted); text-align: center; margin: 2px 0 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA final */
.final { padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.final-in { max-width: 880px; }
.final p { font-size: 1.12rem; color: var(--muted); }
.final .hero-cta { justify-content: center; }
.ps { max-width: 640px; margin: 20px auto 0; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line); font-size: .98rem !important; }

/* Pie */
.footer { padding: 54px 0 30px; background: var(--surface); border-top: 1px solid var(--line); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer .logo { width: 120px; margin-bottom: 12px; }
.footer p { color: var(--muted); max-width: 26em; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-list li { display: flex; align-items: center; gap: 10px; }
.foot-list svg { color: var(--brand); width: 19px; height: 19px; }
.foot-list a { text-decoration: none; font-weight: 700; color: var(--ink); }
.foot-list a:hover { color: var(--brand); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; font-size: .85rem; color: var(--muted); }
.foot-bottom p { margin: 0; }

.tabbar { display: none; }

/* Aparición */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Página de gracias */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.thanks-card { width: min(520px, 100%); text-align: center; background: rgba(21, 15, 38, .75); border: 1px solid var(--line); border-radius: 30px; padding: 34px 26px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(124, 42, 232, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.thanks-card .logo { margin: 0 auto 18px; width: 120px; display: block; }
.thanks-ok { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 50px rgba(163, 107, 255, .6); animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.thanks-ok svg { width: 36px; height: 36px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } }
.thanks-card h1 { font-size: 2rem; }
.thanks-card > p { color: var(--muted); }
.wa-redirect { padding: 10px; border-radius: 12px; background: rgba(74, 222, 128, .1); color: #4ADE80; font-weight: 700; }
.card-steps { text-align: left; margin: 18px 0 22px; padding-left: 22px; display: grid; gap: 6px; color: var(--muted); }
.btn-wa { background: #1FAF5B; box-shadow: 0 12px 28px -12px rgba(31, 175, 91, .7); }
.link-soft { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--brand-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topnav { display: none; }
  .top-actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .trust ul, .guarantee ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero { padding-top: 100px; min-height: 0; }
  .hero-grid, .prod-grid, .form-grid, .perf, .circuit, .split, .value, .niche-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 30px; }
  .results, .extras, .allies { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .versus { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .orbit-wrap { width: 100%; }
  .orbit-out { --r: 37cqw; }
  .orbit-in { --r: 22cqw; }
  .core { inset: 39%; }
  .orbit span { font-size: .62rem; padding: .5em .75em; }
  .orbit-stats { flex-wrap: nowrap; gap: 8px; }
  .chip { padding: 8px 10px; gap: 7px; }
  .chip b { font-size: 1.25rem; }
  .chip span { font-size: .68rem; }
  body { font-size: 16px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .topbar-in { height: 64px; }
  .logo { width: 74px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .agenda { padding-block: 60px; }
  .final { padding: 60px 0; }
  .portfolio { padding: 36px 0 32px; }
  .top-actions .btn { display: none; }
  .hero { padding: calc(92px + env(safe-area-inset-top)) 0 48px; }
  .hero-cta .btn { width: 100%; }
  .marquee-group img { height: 92px; border-radius: 16px; }
  .pain-list { grid-template-columns: 1fr; }
  .pain-list li { padding: 14px 16px; }
  .bento, .results, .extras, .allies, .trust ul, .guarantee ul { grid-template-columns: 1fr; }
  .perf-teaser { align-items: flex-start; }
  .cell-team, .cell-wide { grid-column: auto; grid-row: auto; }
  .cell:not(.cell-team) { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
  .cell:not(.cell-team) .f-ico { grid-row: span 2; margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .prod-media { grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 10px 14px; font-size: .86rem; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .value-total { grid-template-columns: 1fr; }
  .niche, .value { padding: 24px 18px; }
  .form, .perf, .circuit, .vs-card, .trust { padding: 24px 18px; }
  .price { font-size: 3rem; }
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screen { scroll-snap-align: start; }
  .mid-cta { flex-direction: column; text-align: center; }
  .mid-cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .final .btn { width: 100%; }
  .deadline span { flex-basis: 100%; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(22, 15, 42, .4);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 6px 2px; text-decoration: none; font-size: .68rem; font-weight: 700; color: var(--muted); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.active { color: var(--brand-ink); }
  .tab-bubble { width: 52px; height: 52px; margin-top: -28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(124, 42, 232, .9); border: 4px solid var(--surface); }
  .tab-main { color: var(--brand-ink) !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* Páginas legales y 404 */
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: calc(36px + env(safe-area-inset-top)) 0 64px; }
.legal-back { display: inline-block; margin-bottom: 24px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal a:not(.btn) { color: var(--brand-ink); }
.legal-date { font-size: .9rem; }
.legal-actions { margin-top: 34px; }
.big404 { font-size: 5rem; font-weight: 900; line-height: 1; margin: 6px 0; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 370px) {
  .orbit span { font-size: .56rem; padding: .45em .6em; gap: .35em; }
  .orbit-out { --r: 35cqw; }
  .orbit-in { --r: 23cqw; }
  .core { inset: 40%; }
}

/* Tarjeta destacada de Imnova */
.extra-feature { align-items: center; margin-bottom: 16px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.extra-logo { height: 76px; width: auto; border-radius: 16px; border: 1px solid var(--line); flex: none; }
@media (max-width: 720px) { .extra-feature { flex-direction: column; align-items: flex-start; } }
@media (max-width: 340px) { .orbit span { animation: none; } }

/* Enlace para saltar al formulario (teclado y lectores de pantalla) */
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + env(safe-area-inset-top)); }

/* Clima de Maracaibo */
.weather { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .86rem; white-space: nowrap; animation: fade .5s; }
.weather svg { width: 18px; height: 18px; color: #F5A524; }
.weather b { font-weight: 900; font-variant-numeric: tabular-nums; }
.weather small { color: var(--muted); font-weight: 700; font-size: .74rem; }
#a11yToggle[aria-expanded="true"] { background: var(--grad); color: #fff; border-color: transparent; }
@media (max-width: 720px) {
  .top-actions { gap: 8px; }
  .weather { height: 36px; padding: 0 10px; }
  .weather small { display: none; }
  .top-actions .icon-btn { width: 36px; height: 36px; }
}

/* Botones y controles: objetivos táctiles cómodos y foco siempre visible */
.pills span, .sector-pick a, .seg button, .tabs button { min-height: 40px; display: inline-flex; align-items: center; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Modo para daltónicos ---------- */
/* Paleta Okabe-Ito: azul y naranja se distinguen con protanopia, deuteranopia y tritanopia */
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) {
  --brand: #0072B2; --accent: #D55E00; --brand-ink: #005A8C; --ok: #0072B2; --bad: #D55E00;
  --grad: linear-gradient(115deg, #0072B2 0%, #0F8FC7 50%, #E69F00 100%);
  --grad-soft: linear-gradient(115deg, #56B4E9, #E69F00);
  --glow: rgba(0, 114, 178, .35);
}
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"])[data-theme="dark"], :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .tech {
  --brand: #56B4E9; --accent: #E69F00; --brand-ink: #8FD0F3; --ok: #56B4E9; --bad: #E69F00;
  --grad: linear-gradient(115deg, #0072B2 0%, #0F8FC7 50%, #E69F00 100%);
  --grad-soft: linear-gradient(115deg, #56B4E9, #F0C04A);
  --glow: rgba(86, 180, 233, .4);
}
/* Señales de "sí/no" y estados: sin verdes ni rojos, con forma además de color */
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .dot, :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .live i, :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .on::before { background: #56B4E9; box-shadow: none; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .hero-trust svg, :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .diag-note svg { color: #56B4E9; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .on, :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .live, :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .wa-redirect { color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 14%, transparent); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .save { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .vs-bad li { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .btn-wa { background: #0072B2; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .x { border: 1.5px dashed var(--bad); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .pills input:checked + span { box-shadow: inset 0 0 0 2px #fff; text-decoration: underline; text-underline-offset: 3px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .sector-pick a.on { box-shadow: inset 0 0 0 2px #fff; text-decoration: underline; text-underline-offset: 3px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .seg button[aria-checked="true"], :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .tabs button[aria-selected="true"] { text-decoration: underline; text-underline-offset: 4px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) main a:not(.btn):not(.perf-teaser), :root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .legal a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .core { background: radial-gradient(circle at 30% 25%, #3FA2DC, #0072B2 55%, #004C77); box-shadow: 0 0 0 8px rgba(0, 114, 178, .15), 0 0 70px 8px rgba(0, 114, 178, .5); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .orbit-in span { border-color: rgba(230, 159, 0, .5); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .orbit span svg { color: #56B4E9; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .orbit-in span svg { color: #F0C04A; }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .aurora i:nth-child(1) { background: radial-gradient(circle, rgba(0, 114, 178, .5), transparent 62%); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .aurora i:nth-child(2) { background: radial-gradient(circle, rgba(230, 159, 0, .3), transparent 62%); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .grid-floor { background-image: linear-gradient(rgba(86, 180, 233, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 180, 233, .13) 1px, transparent 1px); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .promo-badge { color: #F0C04A; background: rgba(230, 159, 0, .12); border-color: rgba(230, 159, 0, .4); }
:root:is([data-a11y-color="protan"], [data-a11y-color="deutan"]) .promo-badge i { background: #E69F00; }

/* Planes a la medida: bloque destacado y mini configurador */
.custom { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; margin: 0 0 34px; padding: 30px; border-radius: 28px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px -34px var(--glow); }
.custom.pulse { animation: pulse-box 1s ease; }
@keyframes pulse-box { 30% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent), 0 30px 70px -34px var(--glow); } }
.custom-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); margin-bottom: 14px; }
.custom-tag svg { width: 16px; height: 16px; }
.custom-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.custom-copy > p:not(.custom-tag) { color: var(--muted); }
.custom-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.custom-points li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.custom-points svg { width: 18px; height: 18px; color: var(--ok); stroke-width: 3; }
.custom-tool { padding: 22px; border-radius: 22px; background: var(--soft); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); }
.mix-title { font-weight: 900; color: var(--ink); margin: 0; font-size: 1.1rem; }
.mix-sub { color: var(--muted); font-size: .88rem; margin: 2px 0 14px; }
.mix { display: grid; gap: 10px; margin-bottom: 16px; }
.mix-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.mix-row > span { font-weight: 700; color: var(--ink); }
.mix-ctrl { display: flex; align-items: center; gap: 6px; }
.mix-ctrl button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s; }
.mix-ctrl button:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.mix-ctrl button:active { transform: scale(.92); }
.mix-ctrl button svg { width: 18px; height: 18px; stroke-width: 2.6; }
.mix-ctrl output { min-width: 42px; text-align: center; font-size: 1.4rem; font-weight: 900; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.mix-ctrl output.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }
.qty-tag { justify-content: flex-start; color: var(--brand-ink); }
.qty { margin-bottom: 8px; }
.qty div { border-style: dashed; border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.qty-edit { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 0 16px; padding: 6px 2px; border: 0; background: none; color: var(--brand-ink); font: 700 .88rem Lato, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qty-edit svg { width: 15px; height: 15px; }
.mix-chip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 16%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); color: var(--ink); font-weight: 700; font-size: .9rem; }
.mix-chip svg { width: 16px; height: 16px; color: var(--brand); }
.mix-chip button { margin-left: auto; border: 0; background: none; color: var(--muted); font: 700 .82rem Lato, sans-serif; text-decoration: underline; cursor: pointer; }
@media (max-width: 980px) { .custom { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .custom { padding: 22px 16px; } .custom-tool { padding: 16px 12px; } .mix-row { padding-left: 12px; } }

/* Aliados destacados (Viviana y Hengels) */
.ally-wide { grid-column: span 2; }
.ally-extra { margin-top: 8px !important; font-size: .9rem; }
.ally-extra a, .ally p a { color: var(--brand-ink); font-weight: 700; }
@media (max-width: 980px) { .ally-wide { grid-column: span 2; } }
@media (max-width: 720px) { .ally-wide { grid-column: auto; } }

/* Presencia internacional */
.presence { padding: 34px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.presence-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.presence h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.presence-copy p:not(.kicker) { color: var(--muted); margin: 0; }
.countries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.countries li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }
.flag { width: 36px; height: 24px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(22, 15, 42, .14), 0 2px 6px -2px rgba(22, 15, 42, .35); flex: none; overflow: hidden; }
.flag, .flag * { stroke: none !important; }
svg.sr { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 980px) { .presence-in { grid-template-columns: 1fr; } .countries { justify-content: flex-start; } }
@media (max-width: 720px) { .countries li { padding: 8px 12px; font-size: .9rem; } }
.ally-ai { grid-column: span 2; }
@media (max-width: 720px) { .ally-ai { grid-column: auto; } }

/* ---------- Centro de accesibilidad ---------- */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); }
.a11y-panel { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; background: rgba(8, 5, 18, .45); opacity: 0; transition: opacity .2s; }
.a11y-panel.show { opacity: 1; }
.a11y-card { width: min(380px, 100%); height: 100%; overflow-y: auto; background: var(--surface); color: var(--text); border-left: 1px solid var(--line); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); transform: translateX(24px); transition: transform .25s; padding-bottom: env(safe-area-inset-bottom); }
.a11y-panel.show .a11y-card { transform: none; }
.a11y-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(16px + env(safe-area-inset-top)) 18px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.a11y-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: 0; }
.a11y-head h2 svg { width: 26px; height: 26px; color: var(--brand); }
.a11y-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.a11y-x svg { width: 18px; height: 18px; }
.a11y-body { padding: 14px 18px 24px; display: grid; gap: 8px; }
.a11y-row, .a11y-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; color: var(--ink); cursor: pointer; }
.a11y-steps { display: flex; align-items: center; gap: 6px; }
.a11y-steps button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; }
.a11y-steps svg { width: 18px; height: 18px; stroke-width: 2.6; }
.a11y-steps output { min-width: 52px; text-align: center; font-weight: 900; color: var(--brand-ink); }
.a11y-select select { width: auto; max-width: 58%; padding: 8px 10px; }
.a11y-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a11y-switch i { position: relative; width: 46px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 45%, transparent); transition: background .2s; flex: none; }
.a11y-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.a11y-switch input:checked + i { background: var(--grad); }
.a11y-switch input:checked + i::after { transform: translateX(20px); }
.a11y-switch input:focus-visible + i { outline: 3px solid var(--brand); outline-offset: 3px; }
.a11y-read { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.a11y-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; font: 700 .95rem Lato, sans-serif; cursor: pointer; }
.a11y-btn[data-detener] { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.a11y-btn svg { width: 18px; height: 18px; }
.a11y-reset { min-height: 44px; border-radius: 14px; border: 1px dashed var(--line); background: transparent; color: var(--ink); font: 700 .92rem Lato, sans-serif; cursor: pointer; }
.a11y-nota { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }

/* Espaciado del texto (WCAG 1.4.12) */
html[data-a11y-espaciado] body :is(p, li, span, a, label, summary, td, th, h1, h2, h3) { line-height: 1.9 !important; letter-spacing: .06em !important; word-spacing: .12em !important; }
/* Fuente de lectura fácil */
html[data-a11y-fuente] body, html[data-a11y-fuente] body :is(input, select, textarea, button, .btn) { font-family: "Atkinson Hyperlegible", Lato, system-ui, sans-serif !important; }
/* Resaltar enlaces y botones */
html[data-a11y-enlaces] a:not(.brand) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html[data-a11y-enlaces] :is(a, button):not(.brand) { outline: 2px dashed #FFB000 !important; outline-offset: 2px; }
/* Cursor grande */
html[data-a11y-cursor], html[data-a11y-cursor] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1 3.5 7-2.8 1.3-3.4-7L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 4 2, auto !important; }
/* Pausar animaciones */
html[data-a11y-animaciones] *, html[data-a11y-animaciones] *::before, html[data-a11y-animaciones] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-a11y-animaciones] .js .reveal, html[data-a11y-animaciones].js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
html[data-a11y-animaciones] .net { display: none; }
/* Guía de foco del teclado */
html[data-a11y-foco] :focus { outline: 4px solid #FFB000 !important; outline-offset: 4px !important; box-shadow: 0 0 0 8px rgba(0, 0, 0, .55) !important; }
/* Escala de grises (en cada bloque para no romper elementos fijos) */
html[data-a11y-color="gris"] :is(.topbar, main, footer, .tabbar, .promo, .a11y-panel) { filter: grayscale(1); }
/* Tritanopía: pares rojo y verde azulado en lugar de azul y amarillo */
:root[data-a11y-color="tritan"] { --brand: #CC3311; --accent: #007A70; --brand-ink: #A3280D; --ok: #007A70; --bad: #CC3311; --grad: linear-gradient(115deg, #CC3311 0%, #B8325A 50%, #007A70 100%); --grad-soft: linear-gradient(115deg, #FF7A59, #33C1B3); }
:root[data-a11y-color="tritan"][data-theme="dark"], :root[data-a11y-color="tritan"] .tech { --brand: #FF7A59; --accent: #33C1B3; --brand-ink: #FFA68F; --ok: #33C1B3; --bad: #FF7A59; --grad: linear-gradient(115deg, #CC3311 0%, #B8325A 50%, #007A70 100%); --grad-soft: linear-gradient(115deg, #FF7A59, #33C1B3); }
/* Alto contraste */
:root[data-a11y-contraste] { --bg: #FFFFFF; --surface: #FFFFFF; --soft: #F2F2F2; --line: #000000; --ink: #000000; --text: #000000; --muted: #1A1A1A; --brand: #3A0CA3; --brand-ink: #2A0880; --accent: #8A0038; --grad: linear-gradient(115deg, #3A0CA3, #3A0CA3); --grad-soft: linear-gradient(115deg, #3A0CA3, #3A0CA3); }
:root[data-a11y-contraste][data-theme="dark"], :root[data-a11y-contraste] .tech { --bg: #000000; --surface: #000000; --soft: #111111; --line: #FFFFFF; --ink: #FFFFFF; --text: #FFFFFF; --muted: #F2F2F2; --brand: #FFE14D; --brand-ink: #FFE14D; --accent: #FFE14D; --grad: linear-gradient(115deg, #FFE14D, #FFE14D); --grad-soft: linear-gradient(115deg, #FFE14D, #FFE14D); }
:root[data-a11y-contraste] :is(.aurora, .grid-floor, .net) { display: none; }
:root[data-a11y-contraste] .grad-text, :root[data-a11y-contraste] .big, :root[data-a11y-contraste] .chip b, :root[data-a11y-contraste] .swap { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: var(--brand-ink) !important; }
:root[data-a11y-contraste][data-theme="dark"] .btn:not(.btn-outline):not(.btn-glass), :root[data-a11y-contraste] .tech .btn:not(.btn-outline):not(.btn-glass) { color: #000; }

/* Botón de idioma */
.lang-btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 900; font-size: .82rem; letter-spacing: .06em; text-decoration: none; }
.lang-btn:hover { border-color: var(--brand); }
.legal-lang { float: right; margin-top: 4px; }
@media (max-width: 720px) { .lang-btn { min-width: 36px; height: 36px; padding: 0 8px; } }

/* Configurador de campaña en pantallas LED */
.screen-pick { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(11, 7, 22, .55); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .2s, background .2s; }
.screen-pick svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; }
.screen-pick svg:last-child { display: none; }
.screen-pick:hover { transform: scale(1.08); }
.screen-pick[aria-pressed="true"] { background: var(--grad); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }
.screen-pick[aria-pressed="true"] svg:first-child { display: none; }
.screen-pick[aria-pressed="true"] svg:last-child { display: block; }
.screen.elegida { box-shadow: 0 0 0 3px var(--brand), var(--shadow-lg); }
.led-config { margin-top: 24px; padding: 26px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.led-help { color: var(--muted); margin: 0 0 16px; }
.led-opciones { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; margin-bottom: 18px; }
.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { font-weight: 800; font-size: .85rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.seg-btns { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.seg-btns button { min-width: 52px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 700 .92rem/1 Lato, sans-serif; cursor: pointer; }
.seg-btns button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px var(--glow); }
.led-resumen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.led-resumen div { padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.led-resumen small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; }
.led-resumen strong { display: block; color: var(--ink); font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.led-nota { color: var(--muted); font-size: .92rem; min-height: 1.4em; margin: 0 0 14px; }
.led-nota b { color: var(--accent); }
#ledBtn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 700px) {
  .led-config { padding: 20px 16px; border-radius: 22px; }
  .led-resumen { grid-template-columns: repeat(2, 1fr); }
  .led-resumen strong { font-size: 1.2rem; }
  .led-opciones { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; }
  .seg-btns { display: flex; }
  .seg-btns button { flex: 1; padding: 0 8px; min-width: 0; }
  .screen-pick { width: 40px; height: 40px; top: 8px; right: 8px; }
}

/* Asistente flotante */
.ag-fab { position: fixed; z-index: 90; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--grad); box-shadow: 0 16px 36px -12px rgba(124, 42, 232, .9), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .2s; }
.ag-fab:hover { transform: scale(1.06); }
.ag-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ag-punto { position: absolute; top: 6px; right: 6px; width: 13px; height: 13px; border-radius: 50%; background: #2BD17E; border: 2px solid #fff; }
.ag-punto[hidden] { display: none; }
.ag-panel { position: fixed; z-index: 91; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom)); width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 130px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -24px rgba(22, 15, 42, .55); }
.ag-panel[hidden] { display: none; }
.ag-cab { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: #0B0716; color: #fff; }
.ag-cab h2 { font-size: 1rem; margin: 0; color: #fff; letter-spacing: 0; }
.ag-cab small { color: #BFB3DA; font-size: .78rem; }
.ag-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-weight: 900; font-size: .8rem; }
.ag-cerrar { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ag-cerrar:hover { background: rgba(255, 255, 255, .1); }
.ag-cerrar svg, .ag-enviar svg, .ag-audio svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ag-bienvenida { padding: 10px 12px 0; }
.ag-audio { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: 700 .85rem/1 Lato, sans-serif; cursor: pointer; }
.ag-audio[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-ink); }
.ag-subt { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #0B0716; color: #fff; font-size: .88rem; line-height: 1.4; }
.ag-subt[hidden] { display: none; }
.ag-lista { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.ag-msg { max-width: 86%; padding: 10px 12px; border-radius: 16px; font-size: .94rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.ag-msg.bot { align-self: flex-start; background: var(--soft); color: var(--text); border-bottom-left-radius: 4px; }
.ag-msg.yo { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.ag-escribiendo { display: inline-flex; gap: 4px; }
.ag-escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ag-punto 1s infinite ease-in-out; }
.ag-escribiendo i:nth-child(2) { animation-delay: .15s; } .ag-escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes ag-punto { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ag-wa { margin: 0 12px 8px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #25D366; color: #07351B; font-weight: 900; text-decoration: none; }
.ag-wa[hidden] { display: none; }
.ag-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.ag-input { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 .95rem/1.4 Lato, sans-serif; }
.ag-input:focus { outline: none; border-color: var(--brand); }
.ag-enviar { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ag-legal { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); }
@media (max-width: 720px) {
  .ag-fab { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .ag-panel { right: 8px; left: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); height: calc(100dvh - 150px); }
  body.ag-abierto .ag-fab { display: none; }
}

/* Aviso de cookies */
.cookies { position: fixed; z-index: 95; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 32px)); padding: 18px; border-radius: 20px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 70px -24px rgba(22, 15, 42, .55); }
.cookies h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cookies p { font-size: .9rem; margin: 0 0 12px; color: var(--muted); }
.cookies p a { color: var(--brand-ink); font-weight: 700; }
.cookies-opciones { display: grid; gap: 8px; margin-bottom: 12px; }
.cookies-opciones label { display: flex; gap: 8px; align-items: center; font-size: .9rem; font-weight: 700; color: var(--ink); }
.cookies-opciones input { width: 18px; height: 18px; accent-color: var(--brand); }
.cookies-botones { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookies-link { background: none; border: 0; padding: 6px 4px; color: var(--muted); font: 700 .88rem/1 Lato, sans-serif; text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) { .cookies { left: 8px; right: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 14px; } }

/* Blog */
.blog-top { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.blog-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.blog-brand .logo { width: 84px; }
.blog-nav { display: flex; align-items: center; gap: 10px; }
.blog-nav > a:first-child { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 6px; }
.blog-main { padding-bottom: 56px; }
.blog-hero { padding: 56px 0 28px; max-width: 860px; }
.blog-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.blog-lead, .post .post-lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card h2 { font-size: 1.3rem; line-height: 1.2; margin: 4px 0 6px; }
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.post-card .post-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-ink); }
.post-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.post-meta { font-size: .86rem; color: var(--muted); margin: 0 0 6px; }
.post { max-width: 780px; padding-top: 34px; }
.post h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.12; }
.post h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 38px 0 12px; }
.post p, .post li { font-size: 1.06rem; }
.post a:not(.btn) { color: var(--brand-ink); }
.post .checks li { font-size: 1.02rem; }
.post-crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.post-crumbs a { color: var(--muted) !important; text-decoration: none; }
.post-crumbs a:hover { color: var(--brand-ink) !important; }
.post-caso { display: flex; align-items: center; gap: 18px; margin: 26px 0 8px; padding: 18px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-caso img { width: 76px; height: 76px; border-radius: 16px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.post-caso div { display: grid; line-height: 1.25; }
.post-caso small { font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post-caso b { font-size: 2.3rem; font-weight: 900; line-height: 1.05; }
.post-caso em { font-style: normal; color: var(--muted); font-size: .9rem; }
.post-tabla { overflow-x: auto; margin: 16px 0 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.post-tabla table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.post-tabla th, .post-tabla td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.post-tabla thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
.post-tabla tbody th { color: var(--ink); }
.post-tabla tbody tr:last-child > * { border-bottom: 0; }
.post-cta { margin: 48px 0 8px; padding: 34px 28px; border-radius: 24px; text-align: center; background: var(--bg); border: 1px solid var(--line); }
.post-cta h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.post-cta p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.post-cta .btn { margin-top: 8px; }
.post-rel { margin-top: 40px; }
.post-rel > h2 { font-size: 1.5rem; }
.post-back { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--brand-ink); }
.blog-foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); font-size: .9rem; color: var(--muted); text-align: center; }
.blog-foot a { color: var(--brand-ink); }
@media (max-width: 560px) {
  .blog-nav .btn { display: none; }
  .blog-hero { padding-top: 34px; }
  .post-caso { padding: 16px; gap: 14px; }
  .post-caso img { width: 60px; height: 60px; }
  .post-cta { padding: 26px 18px; }
}
