/* ============================================================
   PLM · Comercio, Publicidad y Servicios
   Industrial Premium Dark · Identidad CMYK
   Big Shoulders Display + Inter + JetBrains Mono
   ============================================================ */

:root {
  /* Base oscura */
  --bg:        #0C0C0E;
  --bg-2:      #121216;
  --bg-3:      #17171C;
  --panel:     #141419;
  --panel-2:   #1B1B21;
  --coal:      #15151A;
  --paper:     #FAFAF8;

  /* CMYK de marca */
  --cyan:      #00AEDF;
  --magenta:   #EC008C;
  --yellow:    #FFD400;
  --black:     #15151A;

  /* Texto */
  --text:      #F2F2EF;
  --muted:     #A0A0AA;
  --muted-2:   #6C6C76;

  /* Líneas */
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  /* Tipografía */
  --f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Sistema */
  --maxw:      1200px;
  --radius:    16px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(.16, 1, .3, 1);
  --shadow:    0 24px 60px -20px rgba(0,0,0,.6);

  /* z-index */
  --z-nav:   100;
  --z-menu:  120;
  --z-fab:   90;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
::selection { background: var(--magenta); color: #fff; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--magenta); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Foco accesible global */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--cyan);
}
.eyebrow-dot.m { background: var(--magenta); }
.eyebrow-dot.y { background: var(--yellow); }
.eyebrow-dot.c { background: var(--cyan); }

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: .94;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--paper);
}

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap; margin-bottom: 56px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-lead {
  font-size: 16px; color: var(--muted); max-width: 360px; line-height: 1.7;
}
.section-lead.left { max-width: 440px; margin-top: 12px; }

.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-mono); font-weight: 500; font-size: 13px;
  letter-spacing: .5px; padding: 14px 24px; border-radius: 12px;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--magenta); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(236,0,140,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(236,0,140,.7); }
.btn-ghost {
  border: 1.5px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-cta {
  background: var(--paper); color: var(--coal); padding: 11px 20px; font-weight: 700;
}
.btn-cta:hover { background: var(--cyan); color: #fff; transform: translateY(-1px); }
.btn.lg { padding: 17px 34px; font-size: 14px; }
.btn.full { width: 100%; padding: 16px; font-size: 14px; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(12,12,14,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
#nav.scrolled {
  background: rgba(12,12,14,.85);
  border-bottom-color: var(--line);
  padding-block: 11px;
}

.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-mark {
  width: 34px; height: 34px; color: var(--paper);
  transition: transform .6s cubic-bezier(.34,1.4,.64,1);
}
.nav-logo:hover .nav-mark { transform: rotate(90deg); }
/* Giro suave de entrada del isotipo */
@keyframes mark-spin-in { from { transform: rotate(-90deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
.nav-mark { animation: mark-spin-in .8s var(--ease); }
.nav-word {
  font-family: var(--f-display); font-weight: 800; font-size: 26px;
  letter-spacing: 1.5px; color: var(--paper); line-height: 1;
  display: flex; flex-direction: column;
}
.nav-word small {
  font-family: var(--f-mono); font-weight: 500; font-size: 9px;
  letter-spacing: 4px; color: var(--muted); margin-top: 2px;
}

/* Nav con efecto tubelight (lámpara deslizante) */
.nav-links { position: relative; display: flex; gap: 4px; }
.nav-links a {
  position: relative; z-index: 1;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .5px; color: var(--muted); padding: 8px 16px; border-radius: 100px;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }

.nav-lamp {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  z-index: 0; pointer-events: none; opacity: 0;
  border-radius: 100px; background: rgba(0,174,223,.08);
  transition: left .4s cubic-bezier(.34,1.45,.64,1),
              width .4s cubic-bezier(.34,1.45,.64,1),
              opacity .3s var(--ease);
}
.nav-lamp.show { opacity: 1; }
.nav-lamp::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 38px; height: 4px; background: var(--cyan);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 0 16px 2px rgba(0,174,223,.7), 0 0 30px 7px rgba(0,174,223,.35);
}

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(12,12,14,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: 700; font-size: 32px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--paper);
  padding: 8px 16px;
}
.mobile-menu a:active { color: var(--cyan); }
.mobile-menu .btn { margin-top: 18px; }

/* ============================================================
   HERO · Scroll-to-expand (video de la prensa offset)
   ============================================================ */
.se-hero { position: relative; --se-rise: 6vh; }
.se-stage {
  position: relative; height: 100dvh; min-height: 560px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

/* Fondo que se desvanece al expandir */
.se-bg { position: absolute; inset: 0; z-index: 0; will-change: opacity; }

/* Gradiente animado CMYK (gooey blobs) */
.grad-bg {
  --g-start: #0C0C0E;
  --g-end:   #050507;
  --c1: 0,174,223;   /* cian */
  --c2: 236,0,140;   /* magenta */
  --c3: 255,212,0;   /* amarillo */
  --c4: 0,150,210;   /* cian profundo */
  --c5: 236,0,140;   /* magenta */
  --cp: 0,174,223;   /* puntero */
  --blob: 80%;
  --blend: hard-light;
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(40deg, var(--g-start), var(--g-end));
}
.goo-svg { position: absolute; width: 0; height: 0; }
.grad-blobs { position: absolute; inset: 0; filter: url(#goo) blur(38px); }
.blob {
  position: absolute; width: var(--blob); height: var(--blob);
  top: calc(50% - var(--blob) / 2); left: calc(50% - var(--blob) / 2);
  mix-blend-mode: var(--blend); transform-origin: center center;
}
.b1 { background: radial-gradient(circle at center, rgba(var(--c1),.8) 0, rgba(var(--c1),0) 50%) no-repeat; animation: moveVertical 30s ease infinite; }
.b2 { background: radial-gradient(circle at center, rgba(var(--c2),.8) 0, rgba(var(--c2),0) 50%) no-repeat; transform-origin: calc(50% - 400px) center; animation: moveInCircle 20s reverse infinite; }
.b3 { background: radial-gradient(circle at center, rgba(var(--c3),.8) 0, rgba(var(--c3),0) 50%) no-repeat; transform-origin: calc(50% + 400px) center; animation: moveInCircle 40s linear infinite; }
.b4 { background: radial-gradient(circle at center, rgba(var(--c4),.8) 0, rgba(var(--c4),0) 50%) no-repeat; transform-origin: calc(50% - 200px) center; animation: moveHorizontal 40s ease infinite; opacity: .7; }
.b5 { background: radial-gradient(circle at center, rgba(var(--c5),.8) 0, rgba(var(--c5),0) 50%) no-repeat; transform-origin: calc(50% - 800px) calc(50% + 800px); animation: moveInCircle 20s ease infinite; }
.b-pointer {
  background: radial-gradient(circle at center, rgba(var(--cp),.8) 0, rgba(var(--cp),0) 50%) no-repeat;
  width: 100%; height: 100%; top: -50%; left: -50%; opacity: .6;
}
@keyframes moveVertical { 0% { transform: translateY(-50%); } 50% { transform: translateY(50%); } 100% { transform: translateY(-50%); } }
@keyframes moveHorizontal { 0% { transform: translateX(-50%) translateY(-10%); } 50% { transform: translateX(50%) translateY(10%); } 100% { transform: translateX(-50%) translateY(-10%); } }
@keyframes moveInCircle { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

/* El mismo gradiente del hero, reutilizado como fondo de secciones */
.fx-grad { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section-alt { position: relative; overflow: hidden; }
#proceso > .container, #nosotros > .container, .cta-band > .container { position: relative; z-index: 1; }
#proceso .fx-grad, #nosotros .fx-grad { opacity: .4; }
.cta-band .fx-grad { opacity: .68; }
.fx-grad.paused .blob { animation-play-state: paused; }

/* Tint sutil para legibilidad del texto sobre el gradiente */
.se-bg-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 78% 58% at 50% 44%, transparent 0%, rgba(8,8,10,.32) 100%),
    linear-gradient(180deg, rgba(8,8,10,.22) 0%, transparent 28%, rgba(8,8,10,.55) 100%);
}

/* Caja de video que crece con el scroll */
.se-media {
  position: absolute; top: calc(50% - var(--se-rise)); left: 50%;
  width: 460px; height: 600px; transform: translate(-50%, -50%);
  max-width: 95vw; max-height: 85vh;
  border-radius: 18px; overflow: hidden; z-index: 1;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.75);
  will-change: width, height;
  transition: top .45s var(--ease);
}
/* Al expandir, re-centra el video (sin el alza inicial) para no dejar hueco abajo */
.se-hero.is-expanded { --se-rise: 0vh; }
.se-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-media-tint { position: absolute; inset: 0; background: #000; opacity: .5; pointer-events: none; }

/* Título que se separa + eyebrow + cue */
.se-overlay {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; pointer-events: none; transition: opacity .4s var(--ease);
  transform: translateY(calc(-1 * var(--se-rise)));
}
.is-expanded .se-overlay { opacity: 0; }
.se-eyebrow {
  font-family: var(--f-mono); font-size: clamp(11px, 1.4vw, 13px); font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  white-space: nowrap;
}
.se-eb-rule { width: clamp(16px, 3vw, 34px); height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45)); }
.se-eb-rule:last-child { background: linear-gradient(90deg, rgba(255,255,255,.45), transparent); }
.se-eb-part { display: inline-block; will-change: transform; }
.eb-c { color: var(--cyan);    text-shadow: 0 0 16px rgba(0,174,223,.55); }
.eb-m { color: var(--magenta); text-shadow: 0 0 16px rgba(236,0,140,.55); }
.eb-y { color: var(--yellow);  text-shadow: 0 0 16px rgba(255,212,0,.5); }
.se-eb-sep { color: rgba(255,255,255,.28); }
.se-title {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(46px, 9vw, 122px); line-height: .9; letter-spacing: 1px;
  text-transform: uppercase; color: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: .02em;
  text-shadow: 0 6px 44px rgba(0,0,0,.7);
}
.se-word { display: block; will-change: transform; }
.se-cue {
  pointer-events: auto; display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-top: 10px; transition: opacity .3s, color .2s;
}
.se-cue:hover { color: var(--text); }
.se-cue-icon {
  width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 7px;
}
.se-cue-icon svg { width: 16px; height: 16px; color: var(--cyan); animation: scroll-bob 1.6s var(--ease) infinite; }
@keyframes scroll-bob { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(9px); opacity: .2; } }

/* Contenido revelado tras la expansión */
.se-reveal {
  transition: opacity .8s var(--ease);
  padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px);
}
body.se-active .se-reveal { opacity: 0; }
/* Más específico que la regla anterior para que .show siempre gane */
body.se-active .se-reveal.show,
.se-reveal.show { opacity: 1; }
.se-reveal-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Kicker mono */
.se-kicker {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.se-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* Titular en Big Shoulders */
.se-lead {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, 5.2vw, 62px); line-height: .92; letter-spacing: .5px;
  text-transform: uppercase; color: var(--paper); margin-bottom: 22px;
}

/* Subcopy refinado con acentos CMYK */
.se-sub {
  font-size: clamp(16px, 1.7vw, 20px); color: #C5C5CD; max-width: 600px;
  line-height: 1.65; font-weight: 400;
}
.ink { color: #E9E9EE; font-weight: 600; transition: color .6s var(--ease); }
.se-reveal.show .ink-c { color: var(--cyan); }
.se-reveal.show .ink-m { color: var(--magenta); }
.se-reveal.show .ink-y { color: var(--yellow); }
.se-sub .ink:nth-of-type(1) { transition-delay: .55s; }
.se-sub .ink:nth-of-type(2) { transition-delay: .65s; }
.se-sub .ink:nth-of-type(3) { transition-delay: .75s; }
.se-sub .ink:nth-of-type(4) { transition-delay: .85s; }
.se-sub .ink:nth-of-type(5) { transition-delay: .95s; }

/* Entrada escalonada del bloque revelado */
@keyframes se-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.se-reveal.show .se-kicker  { animation: se-rise .6s var(--ease) .05s both; }
.se-reveal.show .se-lead    { animation: se-rise .6s var(--ease) .15s both; }
.se-reveal.show .se-sub     { animation: se-rise .6s var(--ease) .28s both; }
.se-reveal.show .se-actions { animation: se-rise .6s var(--ease) .42s both; }
.se-reveal.show .se-stats   { animation: se-rise .6s var(--ease) .54s both; }
.se-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.se-stats { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 42px; }
.se-stats .stat { padding: 0 30px; border-right: 1px solid var(--line-2); }
.se-stats .stat:last-child { border-right: none; }
.se-stats .stat:nth-child(1) .stat-num { color: var(--cyan); }
.se-stats .stat:nth-child(2) .stat-num { color: var(--magenta); }
.se-stats .stat:nth-child(3) .stat-num { color: var(--yellow); }
.stat-num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 56px);
  line-height: 1; color: var(--paper);
}
.stat-label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* Bloqueo de scroll mientras la caja no se ha expandido */
body.se-lock { overflow: hidden; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; background: var(--coal); border-block: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; white-space: nowrap;
  width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq {
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  letter-spacing: 2px; text-transform: uppercase; padding: 16px 26px;
}
.mq.c { color: var(--cyan); } .mq.m { color: var(--magenta); }
.mq.y { color: var(--yellow); } .mq.k { color: #6E6E78; }
.mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICIOS
   ============================================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.svc-card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.svc-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-card.c::before { background: var(--cyan); }
.svc-card.m::before { background: var(--magenta); }
.svc-card.y::before { background: var(--yellow); }
.svc-card.k::before { background: var(--paper); }
.svc-card:hover { transform: translateY(-6px); background: var(--panel-2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card.c:hover { border-color: rgba(0,174,223,.5); }
.svc-card.m:hover { border-color: rgba(236,0,140,.5); }
.svc-card.y:hover { border-color: rgba(255,212,0,.5); }
.svc-card.k:hover { border-color: var(--line-2); }

.svc-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--f-display); font-weight: 800; font-size: 40px;
  color: rgba(255,255,255,.05); line-height: 1;
}
.chip {
  display: inline-block; font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 11px;
  border-radius: 100px; margin-bottom: 22px;
}
.chip-c { background: rgba(0,174,223,.14); color: #5fd0f0; }
.chip-m { background: rgba(236,0,140,.14); color: #ff5cb4; }
.chip-y { background: rgba(255,212,0,.16); color: #ffdf52; }
.chip-k { background: rgba(255,255,255,.08); color: #cfcfd6; }

.svc-ico {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--paper); transition: transform .3s var(--ease), color .3s;
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card.c:hover .svc-ico { color: var(--cyan); transform: translateY(-2px); }
.svc-card.m:hover .svc-ico { color: var(--magenta); transform: translateY(-2px); }
.svc-card.y:hover .svc-ico { color: var(--yellow); transform: translateY(-2px); }
.svc-card.k:hover .svc-ico { color: var(--paper); transform: translateY(-2px); }

.svc-card h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  letter-spacing: .5px; text-transform: uppercase; line-height: 1; margin-bottom: 10px;
  color: var(--paper);
}
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li {
  font-family: var(--f-mono); font-size: 10.5px; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 100px;
}

.cta-card {
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(155deg, rgba(0,174,223,.1), rgba(236,0,140,.1));
  border-color: var(--line-2);
}
.cta-card .svc-ico.big { width: 54px; height: 54px; background: rgba(255,255,255,.06); }
.cta-card .svc-ico.big svg { width: 30px; height: 30px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--f-mono); font-size: 13px; color: var(--cyan); font-weight: 500;
  transition: gap .25s var(--ease);
}
.card-link:hover { gap: 14px; }
.card-link .ico { width: 16px; height: 16px; }

/* ============================================================
   PROCESO / STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--muted-2);
}
.step-ico {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin: 16px 0 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--cyan);
}
.step:nth-child(2) .step-ico { color: var(--magenta); }
.step:nth-child(3) .step-ico { color: var(--yellow); }
.step:nth-child(4) .step-ico { color: var(--paper); }
.step-ico svg { width: 24px; height: 24px; }
.step h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 21px; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 8px; color: var(--paper);
}
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px;
  border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2);
  transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   TRABAJOS / GALERÍA (bento)
   ============================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px; gap: 14px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s var(--ease);
}
.g-tall { grid-row: span 2; }

/* La imagen llena TODA la tarjeta: el <picture> debe ser bloque al 100% */
.g-item picture { display: block; width: 100%; height: 100%; }
.g-item img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95) brightness(.95);
  transition: transform .6s var(--ease), filter .5s var(--ease);
}
.g-item:hover { border-color: var(--line-2); }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.06) brightness(1.06); }

/* Barra CMYK que se desliza al hacer hover (igual que las tarjetas de servicio) */
.g-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 55%, var(--yellow));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.g-item:hover::after { transform: scaleX(1); }
/* Barra CMYK gemela abajo (entra desde el lado opuesto) */
.g-item::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--yellow), var(--magenta) 45%, var(--cyan));
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.g-item:hover::before { transform: scaleX(1); }

.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 18px 16px; z-index: 2;
  background: linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.72) 48%, transparent 100%);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .4s var(--ease);
}
.g-item:hover figcaption { transform: translateY(-4px); }
.g-cat {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #6FD6F2;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
  transition: color .3s var(--ease);
}
.g-item:hover .g-cat { color: #93E3F8; }
.g-title {
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--paper);
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
}

.gallery-note {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  font-family: var(--f-mono); font-size: 12.5px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
}
.gallery-note .ico { color: var(--cyan); }

/* ============================================================
   NOSOTROS / POR QUÉ
   ============================================================ */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-visual { display: flex; justify-content: center; }
.years-card {
  position: relative; text-align: center; width: 100%; max-width: 380px;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 24px; padding: 52px 44px; box-shadow: var(--shadow);
  overflow: hidden;
}
.years-target { width: 76px; height: 76px; margin: 0 auto 22px; color: rgba(255,255,255,.6); }
.years-big {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(90px, 13vw, 140px);
  line-height: .9; color: var(--paper);
}
.years-plus { color: var(--magenta); }
.years-sub {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}
.years-desc { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.cmyk-bar { display: flex; height: 4px; border-radius: 100px; overflow: hidden; }
.cmyk-bar.small { margin-top: 26px; }
.cmyk-bar span { flex: 1; }
.cmyk-bar .bc { background: var(--cyan); }
.cmyk-bar .bm { background: var(--magenta); }
.cmyk-bar .by { background: var(--yellow); }
.cmyk-bar .bk { background: var(--black); }

.why-list { display: flex; flex-direction: column; margin-top: 36px; }
.why-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: none; }
.why-ico {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.why-ico.c { color: var(--cyan); } .why-ico.m { color: var(--magenta); } .why-ico.y { color: var(--yellow); }
.why-ico svg { width: 22px; height: 22px; }
.why-list strong {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--paper); margin-bottom: 3px;
}
.why-list p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0a0a0c 0%, #16161b 100%);
  border-block: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(0,174,223,.18), transparent 40%),
    radial-gradient(circle at 88% 50%, rgba(236,0,140,.18), transparent 40%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; }
.cta-title {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 5vw, 56px);
  line-height: .92; text-transform: uppercase; letter-spacing: .5px; color: var(--paper);
}
.cta-inner p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ============================================================
   FAQ (acordeón)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 20px 22px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 2vw, 19px);
  text-transform: uppercase; letter-spacing: .5px; color: var(--paper);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-ico {
  flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: transform .3s var(--ease), color .3s var(--ease);
}
.faq-ico svg { width: 20px; height: 20px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); color: var(--cyan); }
.faq-item p { padding: 0 22px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 70ch; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-blocks { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.contact-block {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s;
}
.contact-block:hover { transform: translateX(4px); background: var(--panel-2); }
.contact-block.wa:hover { border-color: #25D366; }
.contact-block.ml:hover { border-color: var(--magenta); }
.contact-block.loc:hover { border-color: var(--yellow); }
.cb-ico { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 10px; background: rgba(255,255,255,.04); flex-shrink: 0; }
.cb-ico svg { width: 22px; height: 22px; }
.contact-block.wa .cb-ico { color: #25D366; }
.contact-block.ml .cb-ico { color: #ff5cb4; }
.contact-block.loc .cb-ico { color: var(--yellow); }
.contact-block.hr .cb-ico { color: var(--cyan); }
.contact-block.hr:hover { border-color: var(--cyan); }
.cb-text { display: flex; flex-direction: column; }
.cb-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); }
.cb-value { font-size: 14.5px; font-weight: 500; color: var(--text); margin-top: 1px; }

.contact-form {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 38px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px;
  font-family: var(--f-body); font-size: 14.5px; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan); background: var(--bg-3);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9CA6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--magenta); }
.form-error { color: #ff5cb4; font-family: var(--f-mono); font-size: 12px; margin-bottom: 14px; }
.btn-primary .btn-text { display: inline-block; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.form-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-foot a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--coal); padding-top: 0; }
.footer .cmyk-bar { height: 4px; border-radius: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 64px 0 40px; border-bottom: 1px solid var(--line);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 13.5px; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-cmyk-note { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: 1px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 26px 0; font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .5px;
}
.footer-cmyk-letters { display: flex; gap: 4px; font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.footer-cmyk-letters .lc { color: var(--cyan); }
.footer-cmyk-letters .lm { color: var(--magenta); }
.footer-cmyk-letters .ly { color: var(--yellow); }
.footer-cmyk-letters .lk { color: var(--muted-2); }

/* ── FAB ── */
.fab {
  position: fixed; bottom: 22px; right: 22px; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.fab svg { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.08); box-shadow: 0 12px 34px rgba(37,211,102,.6); }

/* ============================================================
   REVEAL (scroll)
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.svc-grid > *:nth-child(2) { transition-delay: .06s; }
.svc-grid > *:nth-child(3) { transition-delay: .12s; }
.svc-grid > *:nth-child(4) { transition-delay: .18s; }
.svc-grid > *:nth-child(5) { transition-delay: .06s; }
.svc-grid > *:nth-child(6) { transition-delay: .12s; }
.svc-grid > *:nth-child(7) { transition-delay: .18s; }
.steps > *:nth-child(2) { transition-delay: .08s; }
.steps > *:nth-child(3) { transition-delay: .16s; }
.steps > *:nth-child(4) { transition-delay: .24s; }
.why-list > *:nth-child(2) { transition-delay: .06s; }
.why-list > *:nth-child(3) { transition-delay: .12s; }
.why-list > *:nth-child(4) { transition-delay: .18s; }
.why-list > *:nth-child(5) { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-tall { grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 110px; }
  .hero-target { right: -30%; width: 90vw; opacity: .5; }
  .reg-mark { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats .stat { padding-right: 20px; margin-right: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .se-reveal, body.se-active .se-reveal { opacity: 1; transform: none; }
  .se-cue-icon svg { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
