/* NexionGT — sitio público · "Creatividad medida" (evolución del Manual de marca v1.0 → v1.1)
   Se mantiene la paleta y Manrope/Source Sans 3. Se agregan: movimiento, degradados de marca
   (azul → cian) y Instrument Serif en cursiva solo para la palabra que se resalta.
   El portal sigue usando styles.css: este archivo es solo para las páginas públicas. */

:root {
  --nexion-navy: #0a4a66;
  --nexion-blue: #0368d8;
  --nexion-sky: #1ba2e6;
  --nexion-cyan: #3deafc;
  --nexion-ink: #0c2230;
  --nexion-ink-2: #12303f;
  --nexion-orange: #f38b4a;

  --color-surface: #f6f9fa;
  --color-surface-alt: #eaf4f8;
  --color-text-secondary: #55666f;
  --color-rule: #cbe3ee;

  --color-ink: var(--nexion-ink);
  --color-primary: var(--nexion-blue);
  --color-primary-dark: var(--nexion-navy);
  --color-accent: var(--nexion-cyan);
  --color-bg: #ffffff;
  --color-text: var(--nexion-ink);
  --color-text-muted: var(--color-text-secondary);

  --grad-brand: linear-gradient(120deg, #0368d8 0%, #1ba2e6 55%, #3deafc 100%);
  --grad-night: radial-gradient(1200px 600px at 85% -10%, rgba(61, 234, 252, .22), transparent 60%),
                radial-gradient(900px 520px at -10% 20%, rgba(3, 104, 216, .38), transparent 60%),
                var(--nexion-ink);

  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --container: 1200px;
  --nav-height: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--nexion-blue); }
a:hover { color: var(--nexion-navy); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--nexion-ink);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--color-text-secondary); }

/* Palabra resaltada: serif cursiva */
em, .hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
h1 em, h2 em { font-size: 1.08em; }
p em, li em, td em, .post-body em { font-family: inherit; font-style: italic; font-size: 1em; letter-spacing: 0; }
.grad-text { color: var(--nexion-blue); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--nexion-blue); color: #fff; padding: 12px 18px; z-index: 1000; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--nexion-cyan); outline-offset: 3px; }

/* ───────── Botones ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--nexion-blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(61, 234, 252, .55), 0 2px 0 rgba(255,255,255,.12) inset; }
.btn-primary:hover { color: #fff; background: var(--nexion-navy); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(61, 234, 252, .7); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(246, 249, 250, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: #fff; border-color: var(--nexion-cyan); background: rgba(61, 234, 252, .1); }
.btn-on-dark { background: var(--nexion-cyan); color: var(--nexion-ink); }
.btn-on-dark:hover { background: #fff; color: var(--nexion-ink); transform: translateY(-2px); }
.btn-outline-on-dark { background: transparent; color: #fff; border-color: rgba(246, 249, 250, .4); }
.btn-outline-on-dark:hover { border-color: var(--nexion-cyan); color: var(--nexion-cyan); }
.btn-dark { background: var(--nexion-ink); color: #fff; }
.btn-dark:hover { background: var(--nexion-navy); color: #fff; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ───────── Encabezado ───────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(12, 34, 48, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(203, 227, 238, .1);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(12, 34, 48, .94); border-bottom-color: rgba(203, 227, 238, .16); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  white-space: nowrap;
  position: relative; display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem; color: rgba(246, 249, 250, .86);
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 22px; font-size: .92rem; }
.nav-toggle { display: none; border: 1px solid rgba(246, 249, 250, .3); background: transparent; color: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.nav-links .mobile-only { display: none; }

/* ───────── Etiquetas y títulos de sección ───────── */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--nexion-blue); margin-bottom: 22px;
}
.kicker::before, .eyebrow::before {
  content: ""; flex: none; width: 34px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='8'%3E%3Cpath d='M0 4h26' stroke='%230368D8' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='30' cy='4' r='4' fill='%230368D8'/%3E%3C/svg%3E") no-repeat;
}
.on-dark .kicker, .section-dark .kicker, .hero .kicker, .page-intro .kicker { color: var(--nexion-cyan); }
.on-dark .kicker::before, .section-dark .kicker::before, .hero .kicker::before, .page-intro .kicker::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='8'%3E%3Cpath d='M0 4h26' stroke='%233DEAFC' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='30' cy='4' r='4' fill='%233DEAFC'/%3E%3C/svg%3E");
}

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-alt { background: var(--color-surface-alt); }
.section-dark { background: var(--grad-night); color: var(--color-surface); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(246, 249, 250, .76); }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 6vw, 72px); }
.section-head p { font-size: 1.2rem; margin-bottom: 0; }

/* ───────── Portada ───────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-night);
  padding: calc(var(--nav-height) + clamp(28px, 4.5vw, 56px)) 0 clamp(56px, 7vw, 96px);
  color: #fff;
}
.hero::before { /* retícula de puntos */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(203, 227, 238, .22) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; will-change: transform; }
.aurora.a1 { width: 520px; height: 520px; right: -140px; top: -120px; background: rgba(61, 234, 252, .5); animation: drift 18s ease-in-out infinite alternate; }
.aurora.a2 { width: 460px; height: 460px; left: -160px; bottom: -160px; background: rgba(3, 104, 216, .7); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora.a3 { width: 260px; height: 260px; left: 42%; top: 30%; background: rgba(243, 139, 74, .22); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-50px, 40px, 0) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { color: var(--nexion-cyan); }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 40ch; color: rgba(246, 249, 250, .8); margin-bottom: 0; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 12px 22px; flex-wrap: wrap; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: rgba(246, 249, 250, .72); }
.hero-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nexion-cyan); box-shadow: 0 0 0 4px rgba(61, 234, 252, .18); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(203, 227, 238, .2);
  font-family: var(--font-heading); font-weight: 600; font-size: .86rem; color: rgba(246, 249, 250, .9);
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(61, 234, 252, .18); display: grid; place-items: center; }
.pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nexion-cyan); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 234, 252, .6); } 50% { box-shadow: 0 0 0 8px rgba(61, 234, 252, 0); } }

/* Escena de maquetas (teléfonos + tarjetas flotantes) */
.stage { position: relative; height: clamp(440px, 44vw, 600px); perspective: 1200px; }
.stage-layer { position: absolute; will-change: transform; transition: transform .25s ease-out; }
.phone {
  position: relative; width: 250px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #1d4258, #0b1c27);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .65), inset 0 0 0 1.5px rgba(203, 227, 238, .22);
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 70px; height: 20px; border-radius: 12px; background: #050d13; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.stage-layer.l-a { left: 6%; top: 3%; }
.stage-layer.l-b { right: 0; top: 13%; }
.phone-a { transform: rotate(-6deg); animation: floaty 7s ease-in-out infinite; }
.phone-b { width: 230px; transform: rotate(7deg); animation: floaty 8s ease-in-out -2s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.ig-top { display: flex; align-items: center; gap: 8px; padding: 34px 12px 8px; }
.ig-ava { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 200deg, var(--nexion-orange), #e04a8d, var(--nexion-blue), var(--nexion-cyan), var(--nexion-orange)); padding: 2px; }
.ig-ava i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--nexion-ink); }
.ig-name { font: 700 .72rem var(--font-heading); color: var(--nexion-ink); line-height: 1.1; }
.ig-name small { display: block; font-weight: 500; font-size: .6rem; color: var(--color-text-secondary); }
.ig-art { position: relative; flex: 1; min-height: 0; background: var(--grad-night); overflow: hidden; display: grid; place-items: center; }
.ig-art::before { content: ""; position: absolute; width: 190%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0 60%, rgba(61, 234, 252, .35) 80%, transparent 100%); animation: spin 9s linear infinite; }
.ig-art .big { position: relative; font: 800 1.55rem/1.02 var(--font-heading); color: #fff; letter-spacing: -.03em; text-align: left; padding: 0 16px; }
.ig-art .big em { color: var(--nexion-cyan); font-size: 1.12em; }
@keyframes spin { to { transform: rotate(360deg); } }
.ig-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 4px; color: var(--nexion-ink); }
.ig-bar svg { width: 20px; height: 20px; }
.ig-heart { color: #e0245e; animation: beat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.35); } 84% { transform: scale(.95); } 92% { transform: scale(1.12); } }
.ig-likes { padding: 0 12px 12px; font: 700 .7rem var(--font-heading); color: var(--nexion-ink); }
.ig-likes span { font-weight: 500; color: var(--color-text-secondary); }

.reel { background: var(--nexion-ink); color: #fff; }
.reel-bg { position: absolute; inset: 0; background: linear-gradient(165deg, #0368d8 0%, #0a4a66 45%, #0c2230 100%); }
.reel-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(61, 234, 252, .5), transparent 50%); animation: breathe 5s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .5; transform: scale(1); } to { opacity: 1; transform: scale(1.2); } }
.reel-prog { position: relative; display: flex; gap: 4px; padding: 30px 12px 0; z-index: 2; }
.reel-prog i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.reel-prog i b { display: block; height: 100%; width: 0; background: #fff; }
.reel-prog i:nth-child(1) b { width: 100%; }
.reel-prog i:nth-child(2) b { animation: fill 6s linear infinite; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.reel-copy { position: relative; z-index: 2; margin-top: auto; padding: 0 14px 20px; }
.reel-copy .tag { display: inline-block; font: 700 .62rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; background: var(--nexion-orange); color: var(--nexion-ink); padding: 4px 8px; border-radius: 4px; margin-bottom: 10px; }
.reel-copy h4 { color: #fff; font-size: 1.15rem; line-height: 1.1; margin: 0 0 8px; }
.reel-copy h4 em { color: var(--nexion-cyan); }
.reel-copy p { font-size: .68rem; color: rgba(255, 255, 255, .78); margin: 0; }
.reel-side { position: absolute; right: 10px; bottom: 80px; z-index: 2; display: grid; gap: 14px; justify-items: center; font: 700 .6rem var(--font-heading); }
.reel-side span { display: grid; place-items: center; gap: 2px; }
.reel-side svg { width: 22px; height: 22px; }

.float-card {
  position: absolute; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: rgba(18, 48, 63, .72); border: 1px solid rgba(203, 227, 238, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6);
}
.float-card small { display: block; font: 600 .66rem var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: var(--nexion-cyan); margin-bottom: 6px; }
.fc-chart { left: -6%; bottom: -2%; width: 210px; animation: floaty 9s ease-in-out -1s infinite; }
.fc-chart svg { width: 100%; height: 64px; }
.fc-chart .line { fill: none; stroke: var(--nexion-cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 3.6s .4s var(--ease) infinite alternate; }
.fc-chart .area { fill: url(#fcgrad); opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fc-chart b { font: 800 1.15rem var(--font-heading); }
.fc-chart .up { color: #6bf2a6; font: 700 .8rem var(--font-heading); }
.fc-note { right: -4%; bottom: -3%; display: flex; align-items: center; gap: 12px; animation: floaty 7.5s ease-in-out -3s infinite; }
.fc-note .ico { width: 36px; height: 36px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; flex: none; }
.fc-note .ico svg { width: 18px; height: 18px; color: #fff; }
.fc-note strong { display: block; font: 700 .82rem var(--font-heading); }
.fc-note span { font-size: .72rem; color: rgba(246, 249, 250, .7); }
.fc-chip { top: 2%; right: 10%; padding: 9px 14px; border-radius: 999px; font: 700 .78rem var(--font-heading); animation: floaty 6s ease-in-out -1.5s infinite; display: flex; align-items: center; gap: 8px; }
.fc-chip i { width: 8px; height: 8px; border-radius: 50%; background: #6bf2a6; box-shadow: 0 0 0 4px rgba(107, 242, 166, .2); }
.hex-deco { position: absolute; left: 44%; top: 0; width: 120px; opacity: .55; animation: spin 40s linear infinite; }
.mock-caption { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: .72rem; color: rgba(246, 249, 250, .45); letter-spacing: .04em; }

.grad-text { color: var(--nexion-blue); }
.bento-visual.tr { top: 26px; right: 26px; bottom: auto; }
.showcase-head { width: min(100% - 48px, var(--container)); margin-inline: auto; }
@media (min-width: 1041px) {
  .bento-card.has-visual > :not(.bento-visual) { max-width: min(100%, 54%); }
  .bento-card.blue.has-visual > :not(.bento-visual) { max-width: 100%; }
  .bento-card.blue .service-more { margin-top: auto; }
}

/* ───────── Banda en movimiento (marquee) ───────── */
.marquee { background: var(--nexion-blue); color: #fff; overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .15); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.marquee li { display: inline-flex; align-items: center; font: 800 clamp(1.1rem, 2.4vw, 1.7rem)/1 var(--font-heading); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; padding-right: 0; }
.marquee li::after { content: "✦"; color: var(--nexion-cyan); margin: 0 clamp(18px, 3vw, 40px); font-size: .7em; }
.marquee li:nth-child(even) { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: clamp(1.3rem, 2.8vw, 2rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Manifiesto (texto que se ilumina al hacer scroll) ───────── */
.manifesto { padding: clamp(80px, 12vw, 160px) 0; background: #fff; }
.manifesto p { font: 800 clamp(1.9rem, 4.6vw, 3.8rem)/1.12 var(--font-heading); letter-spacing: -.03em; color: var(--nexion-ink); max-width: 22ch; margin: 0; max-width: 24ch; }
.manifesto .w { opacity: .16; transition: opacity .35s ease, color .35s ease; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--nexion-blue); }
.manifesto-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(40px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--color-rule); }
.manifesto-sub div { }
.manifesto-sub strong { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-heading); letter-spacing: -.04em; margin-bottom: 10px; }
.manifesto-sub p { font: 400 1rem/1.5 var(--font-sans); letter-spacing: 0; margin: 0; color: var(--color-text-secondary); max-width: 30ch; }

/* ───────── Servicios (bento) ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: clamp(26px, 3vw, 40px);
  background: #fff; border: 1px solid var(--color-rule);
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.bento-card::before { /* foco que sigue al cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(3, 104, 216, .12), transparent 60%);
}
.bento-card:hover { transform: translateY(-6px); border-color: var(--nexion-sky); box-shadow: 0 30px 60px -30px rgba(3, 104, 216, .35); }
.bento-card:hover::before { opacity: 1; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.dark { background: var(--grad-night); border-color: transparent; color: #fff; }
.bento-card.dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 234, 252, .16), transparent 60%); }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p, .bento-card.dark .service-list li { color: rgba(246, 249, 250, .78); }
.bento-card.blue { background: linear-gradient(150deg, #0368d8 0%, #0a4a66 100%); border-color: transparent; color: #fff; }
.bento-card.blue h3 { color: #fff; }
.bento-card.blue p, .bento-card.blue .service-list li { color: rgba(255, 255, 255, .88); }
.bento-card.blue .service-list li::before { background: #fff; }
.bento-num { font: 700 .8rem var(--font-heading); letter-spacing: .2em; opacity: .6; margin-bottom: 18px; }
.bento-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 10px; letter-spacing: -.025em; }
.bento-card > p { font-size: 1.05rem; max-width: 42ch; }
.bento-card .service-list { margin-top: 12px; }
.bento-card .service-more { margin-top: auto; padding-top: 22px; }
.bento-card.dark .service-more, .bento-card.blue .service-more { color: #fff; }
.bento-visual { position: absolute; right: 0; bottom: 0; z-index: -1; pointer-events: none; }
.sticker { position: absolute; top: 26px; right: 26px; padding: 6px 12px; border-radius: 999px; background: var(--nexion-orange); color: var(--nexion-ink); font: 800 .7rem var(--font-heading); letter-spacing: .1em; text-transform: uppercase; transform: rotate(4deg); }

.v-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bento-card .v-bars i { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.2)); }
.v-bars i { width: 20px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--nexion-cyan), rgba(61, 234, 252, .15)); height: var(--h); transform-origin: bottom; animation: grow 3.2s var(--ease) infinite alternate; animation-delay: var(--d, 0s); }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.v-nodes { width: 240px; height: 190px; opacity: .9; }
.v-nodes circle { fill: var(--nexion-cyan); }
.v-nodes path { stroke: rgba(246, 249, 250, .35); stroke-width: 1.5; fill: none; stroke-dasharray: 5 6; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -110; } }
.v-feed { display: flex; gap: 12px; padding-right: 30px; transform: rotate(-4deg) translateY(30px); }
.v-feed span { width: 92px; height: 150px; border-radius: 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); position: relative; overflow: hidden; }
.v-feed span:nth-child(2) { margin-top: 24px; background: rgba(12, 34, 48, .45); }
.v-feed span::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 12px; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .35); }

.service-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--color-surface-alt); color: var(--nexion-blue); margin-bottom: 22px; }
.service-icon svg { width: 26px; height: 26px; }
.bento-card.dark .service-icon, .bento-card.blue .service-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.service-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.service-list li { font-size: .98rem; color: var(--color-text-secondary); display: flex; gap: 12px; align-items: baseline; }
.service-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--nexion-blue); transform: translateY(-2px); }
.bento-card.dark .service-list li::before { background: var(--nexion-cyan); }
.service-more { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-heading); text-decoration: none; margin-top: 20px; }
.service-more:hover { gap: 12px; }

/* Cuadrícula clásica de tarjetas (páginas de servicio) */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-card {
  position: relative; overflow: hidden; isolation: isolate; background: #fff; border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(3, 104, 216, .1), transparent 60%); }
.service-card:hover { transform: translateY(-5px); border-color: var(--nexion-sky); box-shadow: 0 24px 50px -28px rgba(3, 104, 216, .4); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { margin-bottom: 8px; }

/* ───────── Escaparate de formatos ───────── */
.showcase { background: var(--grad-night); color: #fff; overflow: hidden; }
.showcase h2 { color: #fff; }
.showcase h2 em { color: var(--nexion-cyan); }
.showcase .section-head p { color: rgba(246, 249, 250, .75); }
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.showcase-head .section-head { margin: 0; }
.showcase-nav { display: flex; gap: 10px; }
.showcase-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(246, 249, 250, .3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.showcase-nav button:hover { background: var(--nexion-cyan); border-color: var(--nexion-cyan); color: var(--nexion-ink); transform: scale(1.06); }
.showcase-nav svg { width: 22px; height: 22px; }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px, calc((100vw - var(--container)) / 2)); padding: 12px max(24px, calc((100vw - var(--container)) / 2)) 36px; scrollbar-width: none; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.format { flex: none; width: 270px; scroll-snap-align: start; }
.format .art { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 15; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid rgba(203, 227, 238, .16); transition: transform .5s var(--ease); }
.format:hover .art { transform: translateY(-8px) rotate(-1deg); }
.format figcaption { margin-top: 14px; font: 700 .95rem var(--font-heading); color: #fff; display: flex; justify-content: space-between; gap: 12px; }
.format figcaption span { font-weight: 500; font-size: .82rem; color: rgba(246, 249, 250, .55); }
.format.wide { width: 360px; }
.format.wide .art { aspect-ratio: 4 / 4.4; }
.art .chip { position: absolute; top: 16px; left: 16px; font: 700 .62rem var(--font-heading); letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 5px; background: rgba(255, 255, 255, .92); color: var(--nexion-ink); z-index: 2; }
.art h4 { position: relative; z-index: 2; color: #fff; font-size: 1.5rem; line-height: 1.04; margin: 0 0 8px; }
.art h4 em { color: var(--nexion-cyan); }
.art p { position: relative; z-index: 2; margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.art-reel { background: linear-gradient(170deg, #0368d8, #0a4a66 55%, #0c2230); }
.art-reel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(61, 234, 252, .55), transparent 55%); animation: breathe 5s ease-in-out infinite alternate; }
.play { position: absolute; top: 42%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 2; }
.play::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.art-carousel { background: #eaf4f8; }
.art-carousel h4 { color: var(--nexion-ink); }
.art-carousel h4 em { color: var(--nexion-blue); }
.art-carousel p { color: var(--color-text-secondary); }
.art-carousel .slides { position: absolute; inset: 0; display: flex; }
.art-carousel .slides span { flex: none; width: 100%; background: linear-gradient(160deg, rgba(3, 104, 216, .12), transparent); border-right: 2px dashed rgba(3, 104, 216, .25); }
.dots { position: absolute; top: 20px; right: 18px; display: flex; gap: 5px; z-index: 2; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(12, 34, 48, .25); }
.dots i:first-child { background: var(--nexion-blue); width: 20px; border-radius: 4px; }
.swipe { position: absolute; right: 16px; bottom: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--nexion-blue); color: #fff; display: grid; place-items: center; animation: nudge 1.8s ease-in-out infinite; }
.swipe svg { width: 18px; height: 18px; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.art-story { background: linear-gradient(160deg, #f38b4a, #e04a8d 70%, #7a3cc9); }
.poll { position: relative; z-index: 2; background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.poll b { display: block; font: 800 .82rem var(--font-heading); color: var(--nexion-ink); margin-bottom: 8px; }
.poll span { display: block; border-radius: 8px; background: var(--color-surface-alt); font: 700 .74rem var(--font-heading); color: var(--nexion-ink); padding: 8px 10px; margin-top: 6px; position: relative; overflow: hidden; }
.poll span::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(3, 104, 216, .25); animation: pollfill 3s var(--ease) infinite alternate; }
@keyframes pollfill { from { width: 10%; } to { width: var(--p); } }
.poll span u { position: relative; text-decoration: none; }
.art-ad { background: #fff; padding: 0; }
.art-ad .ad-top { padding: 16px; display: flex; align-items: center; gap: 10px; }
.art-ad .ad-top i { width: 30px; height: 30px; border-radius: 50%; background: var(--nexion-ink); display: block; }
.art-ad .ad-top b { font: 700 .78rem var(--font-heading); color: var(--nexion-ink); line-height: 1.1; }
.art-ad .ad-top small { display: block; font-weight: 500; color: var(--color-text-secondary); font-size: .66rem; }
.art-ad .ad-img { flex: 1; background: linear-gradient(135deg, #0368d8, #1ba2e6); display: grid; place-items: center; padding: 18px; }
.art-ad .ad-img h4 { color: #fff; text-align: left; }
.art-ad .ad-cta { background: var(--color-surface-alt); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font: 700 .76rem var(--font-heading); color: var(--nexion-ink); }
.art-ad .ad-cta span { background: var(--nexion-blue); color: #fff; border-radius: 6px; padding: 7px 12px; }
.art-dash { background: #0f2a3a; justify-content: flex-start; padding: 22px 18px 18px; }
.art-dash .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 30px; position: relative; z-index: 2; }
.art-dash .kpis div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(203, 227, 238, .14); border-radius: 12px; padding: 10px; }
.art-dash .kpis small { display: block; font: 600 .56rem var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: var(--nexion-cyan); }
.art-dash .kpis b { font: 800 1.15rem var(--font-heading); color: #fff; }
.art-dash .v-bars { height: 96px; padding: 14px 0 0; margin-top: auto; position: relative; z-index: 2; justify-content: space-between; }
.art-dash .v-bars i { width: 14%; }
.art-web { background: #dfeaf0; padding: 0; justify-content: flex-start; }
.art-web .bar { height: 30px; background: #fff; display: flex; align-items: center; gap: 5px; padding: 0 12px; flex: none; }
.art-web .bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbe3ee; }
.art-web .page { flex: 1; padding: 22px 18px; background: var(--nexion-ink); position: relative; overflow: hidden; }
.art-web .page::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%; background: var(--grad-brand); filter: blur(8px); opacity: .8; }
.art-web .page h4 { font-size: 1.25rem; }
.art-web .page .btnx { position: relative; z-index: 2; display: inline-block; margin-top: 10px; background: var(--nexion-cyan); color: var(--nexion-ink); font: 800 .72rem var(--font-heading); padding: 8px 14px; border-radius: 999px; }
.showcase-note { margin: 4px 0 0; font-size: .85rem; color: rgba(246, 249, 250, .5); }

/* ───────── Método (línea de tiempo) ───────── */
.timeline { position: relative; display: grid; gap: 0; max-width: 980px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: var(--color-rule); }
.timeline-fill { position: absolute; left: 31px; top: 12px; width: 2px; height: 0; background: var(--grad-brand); }
.t-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 0 0 clamp(28px, 4vw, 52px); }
.t-step:last-child { padding-bottom: 0; }
.t-dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--color-rule); display: grid; place-items: center; font: 800 1.2rem var(--font-heading); color: var(--color-text-secondary); transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .4s var(--ease); }
.t-step.on .t-dot { background: var(--nexion-blue); border-color: var(--nexion-blue); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(3, 104, 216, .12); }
.t-body h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 8px 0 6px; letter-spacing: -.03em; }
.t-body p { font-size: 1.1rem; margin: 0; max-width: 52ch; }

/* Compatibilidad: pasos en tarjetas (páginas de servicio) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-5 { grid-template-columns: repeat(5, 1fr); }
.flow-step { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .4s var(--ease), border-color .3s ease; }
.flow-step:hover { transform: translateY(-4px); border-color: var(--nexion-sky); }
.flow-step .num { display: block; font: 800 3rem/1 var(--font-heading); letter-spacing: -.05em; margin-bottom: 18px; color: var(--nexion-blue); }
.flow-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.flow-step p { margin-bottom: 0; font-size: 1rem; }

/* ───────── Talleres (franja) ───────── */
.workshops { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--nexion-ink); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.workshops::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: rgba(243, 139, 74, .35); filter: blur(90px); }
.workshops::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -200px; border-radius: 50%; background: rgba(3, 104, 216, .55); filter: blur(90px); }
.workshops h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.workshops h2 em { color: var(--nexion-cyan); }
.workshops p { color: rgba(246, 249, 250, .78); font-size: 1.1rem; }
.ws-list { display: grid; gap: 14px; }
.ws-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(203, 227, 238, .2); text-decoration: none; color: #fff; transition: transform .35s var(--ease), background-color .25s ease, border-color .25s ease; }
.ws-card:hover { transform: translateX(8px); background: rgba(255, 255, 255, .13); border-color: var(--nexion-orange); color: #fff; }
.ws-card strong { display: block; font: 800 1.2rem var(--font-heading); letter-spacing: -.02em; }
.ws-card span { font-size: .92rem; color: rgba(246, 249, 250, .7); }
.ws-card svg { width: 26px; height: 26px; flex: none; color: var(--nexion-orange); }

/* ───────── Diferencial: ciclo interactivo ───────── */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.diff-grid h2 { color: #fff; }
.diff-grid h2 em { color: var(--nexion-cyan); }
.diff-grid p { font-size: 1.15rem; max-width: 52ch; }
.diff-promise { font: 700 1.3rem var(--font-heading); color: #fff !important; margin-top: 8px; }
.diff-actions, .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.marker { display: block; width: 64px; height: 6px; background: var(--nexion-orange); border-radius: 3px; margin-bottom: 26px; }
.loop { position: relative; aspect-ratio: 740 / 520; max-width: 640px; margin-inline: auto; width: 100%; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop .ring { fill: none; stroke: rgba(61, 234, 252, .35); stroke-width: 2; stroke-dasharray: 3 9; animation: dash 20s linear infinite; }
.loop .edge { fill: none; stroke: rgba(27, 162, 230, .8); stroke-width: 2.5; stroke-linejoin: round; }
.loop .travel { fill: var(--nexion-cyan); filter: drop-shadow(0 0 8px var(--nexion-cyan)); }
.loop .node circle { fill: var(--nexion-ink); stroke: var(--nexion-cyan); stroke-width: 3; transition: fill .3s ease, r .3s ease; cursor: pointer; }
.loop .node text { font: 700 24px var(--font-heading); fill: #fff; pointer-events: none; }
.loop .node { outline: none; }
.loop .node:focus-visible circle { stroke: #fff; stroke-width: 4; }
.loop .node.on circle { fill: var(--nexion-cyan); }
.loop .node.on text { fill: #fff; }
.loop-center { position: absolute; left: 50%; top: 50%; width: 36%; transform: translate(-50%, -50%); display: grid; place-content: center; text-align: center; }
.loop-center small { font: 700 .72rem var(--font-heading); letter-spacing: .2em; text-transform: uppercase; color: var(--nexion-cyan); margin-bottom: 8px; }
.loop-center strong { font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.05 var(--font-heading); letter-spacing: -.03em; color: #fff; margin-bottom: 8px; }
.loop-center span { font-size: .92rem; color: rgba(246, 249, 250, .72); line-height: 1.4; }

/* ───────── Contacto ───────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info h2 em { color: var(--nexion-blue); }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 16px; background: var(--color-surface-alt); color: var(--nexion-blue); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font: 700 1rem var(--font-heading); color: var(--nexion-ink); }
.contact-list span { color: var(--color-text-secondary); }

.form-card { position: relative; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(3, 104, 216, .45); }
.form-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad-brand); opacity: .0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 700 .86rem var(--font-heading); color: var(--nexion-ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--color-rule); font: inherit; font-size: 1rem; color: var(--nexion-ink); background: var(--color-surface); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nexion-blue); background: #fff; box-shadow: 0 0 0 4px rgba(3, 104, 216, .14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .86rem; color: var(--color-text-secondary); margin: 16px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin-top: 16px; font-weight: 600; display: none; padding: 14px 16px; border-radius: 14px; }
#form-status.ok { display: block; background: #e6f8ee; color: #14633a; }
#form-status.err { display: block; background: #fdeceb; color: #9b1c1c; }

/* ───────── Pie ───────── */
.site-footer { position: relative; overflow: hidden; background: var(--nexion-ink); color: rgba(246, 249, 250, .72); padding: 88px 0 28px; }
.site-footer .wordmark { position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%); font: 800 clamp(5rem, 22vw, 20rem)/1 var(--font-heading); letter-spacing: -.06em; white-space: nowrap; color: rgba(61, 234, 252, .07); pointer-events: none; user-select: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .brand-logo { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: rgba(246, 249, 250, .72); max-width: 34ch; margin: 0; }
.footer-col h4 { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--nexion-cyan); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(246, 249, 250, .78); text-decoration: none; }
.footer-col a:hover { color: var(--nexion-cyan); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(203, 227, 238, .16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(246, 249, 250, .6); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(246, 249, 250, .6); text-decoration: none; }
.footer-legal a:hover { color: var(--nexion-cyan); }
.footer-spacer { height: clamp(48px, 11vw, 190px); }

/* ───────── Páginas internas ───────── */
.page-intro { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-night); color: #fff; padding: calc(var(--nav-height) + clamp(44px, 7vw, 88px)) 0 clamp(56px, 8vw, 96px); }
.page-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: radial-gradient(rgba(203, 227, 238, .22) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); }
.page-intro h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 18ch; }
.page-intro h1 em { color: var(--nexion-cyan); }
.page-intro .lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 56ch; color: rgba(246, 249, 250, .8); }
.page-intro .hero-cta { margin-top: 32px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-size: .88rem; color: rgba(246, 249, 250, .6); }
.breadcrumb a { color: rgba(246, 249, 250, .7); text-decoration: none; }
.breadcrumb a:hover { color: var(--nexion-cyan); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; }

.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--nexion-ink); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: var(--grad-brand); filter: blur(70px); opacity: .6; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.cta-band p { color: rgba(246, 249, 250, .8); margin: 0; max-width: 46ch; }

/* FAQ (tarjetas legibles) */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq > div { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-md); padding: 22px 26px; }
.faq h3 { font-size: 1.15rem; margin-bottom: 6px; }
.faq p { margin: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--nexion-sky); box-shadow: 0 24px 50px -28px rgba(3, 104, 216, .4); }
.blog-card-img { aspect-ratio: 16/9; background: var(--grad-night) center/cover no-repeat; }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: .82rem; color: var(--color-text-secondary); margin-bottom: 10px; }
.blog-card h3 { margin-bottom: 10px; }
.blog-card h3 a { color: var(--nexion-ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--nexion-blue); }
.blog-card p { font-size: .96rem; flex: 1; }
.blog-card .service-more { margin-top: auto; }
.blog-empty { text-align: center; padding: 56px 0; color: var(--color-text-secondary); }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.blog-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nexion-navy); background: var(--color-surface-alt); border-radius: var(--radius-sm); padding: 5px 10px; }
.blog-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }
.blog-pagination .btn-ghost, .section .btn-ghost { color: var(--nexion-ink); border-color: var(--color-rule); background: transparent; backdrop-filter: none; }
.blog-pagination .btn-ghost:hover, .section .btn-ghost:hover { color: var(--nexion-blue); border-color: var(--nexion-blue); background: var(--color-surface-alt); }
.page-intro .btn-ghost, .hero .btn-ghost, .section-dark .btn-ghost { color: #fff; border-color: rgba(246, 249, 250, .3); background: rgba(255, 255, 255, .06); }
.page-intro .btn-ghost:hover, .hero .btn-ghost:hover, .section-dark .btn-ghost:hover { color: #fff; border-color: var(--nexion-cyan); background: rgba(61, 234, 252, .1); }
.post-header, .post-body, .post-share { max-width: 72ch; }
article.section { padding-top: calc(var(--nav-height) + 48px); }
.post-header h1 { max-width: none; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.post-meta { font-size: .95rem; color: var(--color-text-secondary); margin-bottom: 18px; }
.post-cover { width: 100%; border-radius: var(--radius-xl); margin: 32px 0 0; aspect-ratio: 16/8; object-fit: cover; background: var(--color-surface-alt); }
.post-body { margin: 40px 0 0; font-size: 1.1rem; }
.post-body h2 { margin-top: 1.6em; font-size: 1.7rem; }
.post-body h3 { margin-top: 1.4em; }
.post-body p { color: var(--color-text); }
.post-body ul, .post-body ol { color: var(--color-text); padding-left: 1.3em; }
.post-body li { margin-bottom: .5em; }
.post-body a { text-decoration: underline; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 24px; border-left: 4px solid var(--nexion-blue); color: var(--color-text-secondary); font-style: italic; }
.post-body img { border-radius: var(--radius-lg); }
.post-share { display: flex; align-items: center; gap: 14px; margin: 40px 0 0; }
.post-share span { font: 700 .88rem var(--font-heading); color: var(--color-text-secondary); }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--color-surface-alt); color: var(--nexion-navy); text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.share-btn:hover { background: var(--nexion-blue); color: #fff; transform: translateY(-2px); }
.share-btn svg { width: 18px; height: 18px; }
.post-related { margin-top: 0; }

/* Páginas legales */
main.section.container { padding-top: calc(var(--nav-height) + 56px); }
.section.container h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.section.container h3 { margin-top: 2em; }

/* ───────── Aparición al hacer scroll ───────── */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1040px) {
  .hero-grid, .contact-grid, .diff-grid, .workshops { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .stage { max-width: 560px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-4, .bento-card.span-3, .bento-card.span-2 { grid-column: span 2; }
  
  .services-grid, .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-sub { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open { background: rgba(12, 34, 48, .96); }
  .site-header.nav-open .nav-links { display: flex; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(12, 34, 48, .98); flex-direction: column; align-items: flex-start; padding: 18px 24px 28px; gap: 6px; border-bottom: 1px solid rgba(203, 227, 238, .16); }
  .nav-links .mobile-only { display: block; }
  .nav-links .btn-primary { display: inline-flex; margin-top: 10px; color: #fff; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-4, .bento-card.span-3, .bento-card.span-2, 
  .bento-card { min-height: 0; }
  .bento-visual { opacity: .3; }
  .services-grid, .services-grid-4, .flow, .flow-5, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 32px; }
  .stage { height: 430px; }
  .phone { width: 168px; border-radius: 28px; padding: 7px; }
  .phone::before { width: 52px; height: 15px; top: 12px; }
  .screen { border-radius: 22px; }
  .phone-b { width: 156px; }
  .stage-layer.l-a { left: 0; top: 2%; }
  .stage-layer.l-b { right: 0; top: 16%; }
  .ig-art .big { font-size: 1.05rem; padding: 0 10px; }
  .fc-chart { display: none; }
  .fc-note { right: 0; left: 0; margin-inline: auto; width: max-content; bottom: 4%; }
  .fc-chip { top: 0; right: 4%; }
  .loop-center { position: static; transform: none; width: auto; margin-top: 20px; padding: 0 8px; }
  .loop { aspect-ratio: auto; }
  .loop svg { aspect-ratio: 740 / 520; height: auto; }
  .hex-deco { display: none; }
  .t-step { grid-template-columns: 48px 1fr; gap: 18px; }
  .t-dot { width: 48px; height: 48px; font-size: 1rem; }
  .timeline::before, .timeline-fill { left: 23px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .format { width: 240px; }
  .format.wide { width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
}
