/* ============================================
   WonderLab Corporate — Sections
   Cinematic immersive hero
   ============================================ */

/* ───── TOP BAR ───── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all .35s var(--w-ease);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(4,7,10,.55) 0%, rgba(4,7,10,0) 100%);
  backdrop-filter: blur(6px);
}
.topbar.scrolled {
  padding: 10px 32px;
  background: rgba(4,7,10,.88);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(45,227,200,.18);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.topbar-logo { display:flex; align-items:center; gap: 10px; }
.topbar-nav {
  display: flex; gap: 28px;
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--w-ink-dim);
}
.topbar-nav a { color: inherit; text-decoration: none; transition: color .2s; }
.topbar-nav a:hover { color: var(--w-cyan); }
.topbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--w-cyan);
  background: rgba(45,227,200,.08);
  color: var(--w-cyan);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.topbar-cta:hover { background: var(--w-cyan); color: #04070A; }
.topbar-cta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 760px) {
  .topbar { padding: 12px 18px; }
  .topbar.scrolled { padding: 10px 18px; }
  .topbar-nav { display: none; }
}

/* =============================================
   IMMERSIVE HERO — full bleed photo background
   ============================================= */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* ============================================
   HERO CASES — Titular + marquee de casos
   ============================================ */
.hero-cases {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(45,227,200,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(168,230,60,.08) 0%, transparent 55%),
    #04070A;
}
@media (min-width: 880px) {
  .hero-cases {
    margin-right: -332px;
    width: calc(100% + 332px);
  }
  .hero-cases .hero-cases-content {
    padding-right: 332px;
  }
}
@media (min-width: 1100px) {
  .hero-cases {
    margin-right: -372px;
    width: calc(100% + 372px);
  }
  .hero-cases .hero-cases-content {
    padding-right: 372px;
  }
}

.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .8;
}
.hero-cursor-glow {
  position: absolute; top: 0; left: 0;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(45,227,200,.16) 0%, rgba(45,227,200,.06) 35%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
  filter: blur(20px);
}
.hero-cases:hover .hero-cursor-glow { opacity: 1; }

.hero-cases-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 120px 0 56px;
}
.hero-cases-top {
  padding: 0 56px;
  max-width: 1100px;
}
.hero-cases-h1 {
  font-family: var(--type-display, 'Space Grotesk', sans-serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0 0 22px;
  text-wrap: balance;
  max-width: 18ch;
}
body[data-type="mono"] .hero-cases-h1 { font-weight: 500; letter-spacing: -.05em; }
.hero-cases-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--w-ink-dim);
  line-height: 1.55;
  max-width: 60ch;
}

.cases-marquee-wrap {
  position: relative;
}
.cases-marquee-label {
  padding: 0 56px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--w-mono);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--w-ink-soft);
}
.cases-marquee-label .cml-left { display: flex; align-items: center; gap: 12px; }
.cases-marquee-label .cml-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w-cyan);
  box-shadow: 0 0 10px var(--w-cyan);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.cases-marquee-label .cml-arrows { display: flex; gap: 8px; }
.cases-marquee-label .cml-arr {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--w-line-strong);
  background: rgba(255,255,255,.02);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--w-ink-dim);
  cursor: pointer;
  font-size: 18px;
  transition: all .25s var(--w-ease);
}
.cases-marquee-label .cml-arr:hover {
  border-color: var(--w-cyan);
  color: var(--w-cyan);
  background: rgba(45,227,200,.08);
}

.cases-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.cases-track {
  display: flex; gap: 18px;
  padding: 0 56px;
  will-change: transform;
}
.case-card {
  flex: 0 0 280px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--w-line);
  background: #0a141e;
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.case-card:hover {
  border-color: var(--w-cyan);
  box-shadow: 0 0 0 1px rgba(45,227,200,.4), 0 0 36px rgba(45,227,200,.25);
  transform: translateY(-3px);
}
.case-card .case-img {
  position: absolute; inset: 0;
}
.case-card .case-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--w-ease);
}
.case-card:hover .case-img img { transform: scale(1.06); }
.case-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4,7,10,.94) 100%);
  pointer-events: none;
}
.case-card .case-num {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--w-mono);
  font-size: 10.5px; letter-spacing: .14em;
  color: #fff;
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 10px; border-radius: 100px;
  transition: all .3s;
}
.case-card:hover .case-num {
  background: var(--w-grad);
  color: #04070A;
  border-color: transparent;
  font-weight: 700;
}
.case-card .case-meta {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  z-index: 2;
}
.case-card .case-brand {
  font-family: var(--w-mono);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--w-cyan);
  margin-bottom: 6px;
}
.case-card .case-ttl {
  font-family: var(--type-display, 'Space Grotesk', sans-serif);
  font-size: 14px; font-weight: 600;
  line-height: 1.3; letter-spacing: -.01em;
  color: #fff;
}
.case-img-placeholder::before {
  content: 'PLACEHOLDER · ' attr(data-placeholder);
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3;
  font-family: var(--w-mono);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #04070A;
  background: var(--w-cyan);
  padding: 5px 10px; border-radius: 4px;
}

/* ============================================
   SVC SECTION — pastillas que cambian la imagen
   ============================================ */
.svc-section {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  background: #04070A;
}
.svc-bg-stack {
  position: absolute; inset: 0;
  z-index: 0;
}
.svc-bg {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.svc-bg.active { opacity: 1; }
.svc-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.svc-veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,7,10,.95) 0%, rgba(4,7,10,.65) 55%, rgba(4,7,10,.9) 100%),
    radial-gradient(ellipse 60% 80% at 50% 50%, transparent 0%, rgba(4,7,10,.5) 100%);
  pointer-events: none;
}
.svc-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.svc-head { padding-top: 0; max-width: 56ch; }
.svc-head .eyebrow { margin-bottom: 14px; }
.svc-head h2 {
  font-family: var(--type-display, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: 0 0 14px;
  text-wrap: balance;
}
.svc-sub {
  font-size: 14.5px; color: var(--w-ink-dim); line-height: 1.55;
  max-width: 56ch; margin: 0;
}

/* Pastillas chicas (volver al estilo original) */
.svc-list-wide {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.svc-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--w-line-strong);
  border-radius: 100px;
  background: rgba(10, 14, 20, .55);
  backdrop-filter: blur(8px);
  cursor: pointer;
  color: var(--w-ink);
  transition: all .25s var(--w-ease);
  font-family: inherit;
  text-align: left;
}
.svc-row .svc-num {
  font-family: var(--w-mono);
  font-size: 10px; letter-spacing: .14em;
  color: var(--w-ink-soft);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--w-line);
  padding: 3px 6px;
  border-radius: 6px;
  transition: all .25s;
}
.svc-row .svc-ttl {
  font-family: var(--type-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--w-ink);
  white-space: nowrap;
}
.svc-row .svc-desc { display: none; }
.svc-row .svc-arr { display: none; }
.svc-row:hover {
  border-color: rgba(45,227,200,.5);
  background: rgba(45,227,200,.08);
  transform: translateY(-1px);
}
.svc-row.active {
  border-color: var(--w-cyan);
  background: rgba(45,227,200,.12);
  box-shadow: 0 0 0 1px rgba(45,227,200,.3), 0 0 24px rgba(45,227,200,.2);
}
.svc-row.active .svc-num,
.svc-row:hover .svc-num {
  color: var(--w-cyan);
  border-color: rgba(45,227,200,.4);
  background: rgba(45,227,200,.06);
}
.svc-row.active .svc-ttl {
  color: #fff;
}

/* ============================================
   MID CTA — entre servicios y logos
   ============================================ */
.mid-cta {
  padding: 90px 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(45,227,200,.03) 100%),
    #04070A;
  border-top: 1px solid var(--w-line);
  border-bottom: 1px solid var(--w-line);
}
.mid-cta-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.mid-cta-text h2 {
  font-family: var(--type-display, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -.03em; line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.mid-cta-text p { font-size: 15.5px; color: var(--w-ink-dim); margin: 0; }
.mid-cta-side { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn-lg { padding: 14px 22px; font-size: 13px; }
@media (max-width: 900px) {
  .mid-cta-row { grid-template-columns: 1fr; gap: 28px; }
  .mid-cta-side { justify-content: flex-start; }
}

/* ============================================
   LOGOS SECTION — carrusel 4 filas con rollover
   ============================================ */
.logos-section {
  padding: 100px 0 110px;
  background: #04070A;
  border-bottom: 1px solid var(--w-line);
  position: relative;
  overflow: hidden;
}
.logos-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(45,227,200,.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(168,230,60,.03) 0%, transparent 60%);
  pointer-events: none;
}
.logos-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.logos-head .eyebrow { margin-bottom: 14px; display: inline-block; }
.logos-head h2 {
  font-family: var(--type-display, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.035em; line-height: 1.05;
  margin: 0 0 14px;
  text-wrap: balance;
}
.logos-sub {
  font-size: 14.5px;
  color: var(--w-ink-dim);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.55;
}

.logos-marquee {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.logos-row {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.logos-track {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
}
.logos-row[data-dir="left"] .logos-track {
  animation: logosScrollL var(--logos-dur, 60s) linear infinite;
}
.logos-row[data-dir="right"] .logos-track {
  animation: logosScrollR var(--logos-dur, 65s) linear infinite;
}
@keyframes logosScrollL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes logosScrollR {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.logos-row:hover .logos-track { animation-play-state: paused; }

.logo-tile {
  flex: 0 0 auto;
  width: 180px;
  height: 76px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--w-line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%),
    rgba(10, 14, 20, .35);
  padding: 12px 18px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .35s var(--w-ease), background .35s, transform .35s;
}
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(1.6) saturate(0);
  opacity: .55;
  transition: filter .4s var(--w-ease), opacity .4s, transform .4s;
}
.logo-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(45,227,200,.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--w-ease);
  pointer-events: none;
}
.logo-tile::after {
  content: attr(data-name);
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-family: var(--w-mono);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--w-cyan);
  background: rgba(4,7,10,.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(45,227,200,.3);
  padding: 3px 7px; border-radius: 100px;
  opacity: 0;
  transition: opacity .3s var(--w-ease), transform .3s var(--w-ease);
  white-space: nowrap;
  pointer-events: none;
}
.logo-tile:hover {
  border-color: rgba(45,227,200,.55);
  background:
    linear-gradient(180deg, rgba(45,227,200,.06) 0%, rgba(45,227,200,0) 100%),
    rgba(10, 14, 20, .8);
  transform: translateY(-2px);
}
.logo-tile:hover img {
  filter: brightness(1.8) saturate(1);
  opacity: 1;
  transform: scale(1.06);
}
.logo-tile:hover::before { opacity: 1; }
.logo-tile:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .logo-tile { width: 130px; height: 60px; padding: 8px 12px; }
}
/* Break out of body padding-right so bg passes BEHIND the form panel */
@media (min-width: 880px) {
  .hero-immersive {
    margin-right: -332px;
    width: calc(100% + 332px);
  }
  .hero-immersive .hero-content,
  .hero-immersive .svc-progress {
    padding-right: 332px;
  }
}
@media (min-width: 1100px) {
  .hero-immersive {
    margin-right: -372px;
    width: calc(100% + 372px);
  }
  .hero-immersive .hero-content,
  .hero-immersive .svc-progress {
    padding-right: 372px;
  }
}

/* Background photo carousel */
.bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out, transform 12s linear;
  transform: scale(1.05);
}
.bg-slide.active { opacity: 1; transform: scale(1.15); }
.bg-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.bg-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 90% at 0% 50%, rgba(4,7,10,.7) 0%, rgba(4,7,10,.25) 40%, transparent 70%),
    linear-gradient(180deg, rgba(4,7,10,.3) 0%, transparent 25%, transparent 70%, rgba(4,7,10,.7) 100%);
  pointer-events: none;
}

/* Dot mesh overlay on hero */
.hero-mesh {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(45,227,200,.45) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 0%, rgba(0,0,0,.55) 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 0%, rgba(0,0,0,.55) 35%, transparent 80%);
  opacity: .55;
  animation: meshDrift 28s ease-in-out infinite;
  pointer-events: none;
}
@keyframes meshDrift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-30px,-20px,0) scale(1.03); }
}

/* HERO content (left column copy) */
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero-eyebrow { margin-bottom: 26px; }
.hero-h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  letter-spacing: -.04em;
  line-height: 1.0;
  margin-bottom: 22px;
}
body[data-type="mono"] .hero-h1 { font-weight: 500; letter-spacing: -.06em; }
.hero-sub {
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--w-ink-dim);
  max-width: 520px;
  margin: 0 0 30px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--w-ink); font-weight: 600; }

/* Service ticker — currently-on-screen service info */
.svc-ticker {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 14px;
  border-radius: 100px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(45,227,200,.4);
  margin-bottom: 28px;
  transition: all .4s var(--w-ease);
}
.svc-ticker .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w-cyan);
  box-shadow: 0 0 12px var(--w-cyan);
  animation: pulseDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.svc-ticker .svc-now {
  font-family: var(--w-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--w-cyan);
  font-weight: 600;
  transition: opacity .35s;
}
.svc-ticker .svc-now.swap { opacity: 0; }
.svc-ticker .svc-counter {
  font-family: var(--w-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--w-ink-soft);
  padding-left: 14px;
  border-left: 1px solid var(--w-line);
}

/* Service progress bar — shows time on each service */
.svc-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,.06);
  z-index: 4;
}
.svc-progress .bar {
  height: 100%;
  background: var(--w-grad);
  width: 0%;
  transition: width .15s linear;
  box-shadow: 0 0 12px var(--w-cyan);
}

/* Services list inline below sub */
.svc-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
  max-width: 680px;
}
.svc-pill {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 14px 9px 10px;
  border-radius: 100px;
  border: 1px solid var(--w-line);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  color: var(--w-ink-dim);
  cursor: pointer;
  transition: all .35s var(--w-ease);
  display: inline-flex; align-items: center; gap: 9px;
  position: relative;
}
.svc-pill .num {
  font-size: 10px;
  font-weight: 600;
  color: var(--w-ink-soft);
  letter-spacing: .08em;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--w-line);
  transition: all .35s var(--w-ease);
}
.svc-pill:hover {
  border-color: rgba(45,227,200,.5);
  color: var(--w-ink);
  background: rgba(45,227,200,.06);
  transform: translateY(-1px);
}
.svc-pill:hover .num {
  border-color: rgba(45,227,200,.5);
  color: var(--w-cyan);
}
.svc-pill.active {
  border-color: var(--w-cyan);
  background: rgba(45,227,200,.18);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(45,227,200,.3), 0 0 32px rgba(45,227,200,.35);
}
.svc-pill.active .num {
  background: var(--w-grad);
  color: #04070A;
  border-color: var(--w-cyan);
  box-shadow: 0 0 16px rgba(45,227,200,.6);
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Vignette + placeholder labels for bg slides */
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 50%, transparent 0%, rgba(4,7,10,.15) 60%, rgba(4,7,10,.55) 100%),
    linear-gradient(180deg, rgba(4,7,10,.3) 0%, transparent 30%, transparent 70%, rgba(4,7,10,.7) 100%);
}
.bg-slide[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 60px; right: 32px;
  background: rgba(4,7,10,.78);
  border: 1px dashed rgba(45,227,200,.45);
  color: var(--w-cyan);
  font-family: var(--w-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 2;
}

/* ============================================
   STATS STRIP — sección bajo el hero
   ============================================ */
.stats-strip {
  position: relative;
  background: #04070A;
  padding: 90px 0 100px;
  border-top: 1px solid var(--w-line);
  border-bottom: 1px solid var(--w-line);
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(45,227,200,.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 75% 50%, rgba(168,230,60,.04) 0%, transparent 60%);
  pointer-events: none;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stat-cell {
  padding: 24px 36px;
  border-left: 1px solid var(--w-line);
}
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--type-display);
  font-size: clamp(56px, 6.5vw, 96px);
  letter-spacing: -.045em;
  line-height: .95;
  margin-bottom: 14px;
  background: var(--w-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-type="mono"] .stat-num { font-weight: 500; letter-spacing: -.05em; }
.stat-lbl {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  line-height: 1.4;
}
@media (max-width: 880px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-cell { padding: 12px 20px; }
  .stat-cell:nth-child(odd) { border-left: none; padding-left: 0; }
}

/* Hero stats — DEPRECATED (moved to .stats-strip section) */

@media (max-width: 1099px) {
  .hero-content { padding: 100px 0 80px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

/* =============================================
   FORM PANEL — always open, sticky right
   Photos pass behind it
   ============================================= */
@media (min-width: 880px) {
  body { padding-right: 332px; }
  .topbar { padding-right: calc(332px + 24px); }
}
@media (min-width: 1100px) {
  body { padding-right: 372px; }
  .topbar { padding-right: calc(372px + 32px); }
}
.form-window {
  position: fixed;
  top: 80px;
  right: 14px;
  z-index: 40;
  width: 308px;
  max-height: calc(100vh - 100px);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4,7,10,.78);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(45,227,200,.25);
  box-shadow:
    0 24px 70px rgba(0,0,0,.65),
    0 0 0 1px rgba(45,227,200,.08),
    0 0 50px rgba(45,227,200,.14);
  display: flex; flex-direction: column;
  transition: max-height .35s var(--w-ease);
}
body.form-collapsed .form-window { max-height: 56px; }
body.form-collapsed .fm-body { opacity: 0; pointer-events: none; }
body.form-collapsed .fm-collapse svg { transform: rotate(180deg); }

.fm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--w-line);
  background: rgba(0,0,0,.3);
}
.fm-header .h-left { display: inline-flex; align-items: center; gap: 10px; }
.fm-header .h-left .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w-cyan);
  box-shadow: 0 0 10px var(--w-cyan);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.fm-header .h-left .ttl {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--w-ink);
}
.fm-collapse {
  background: transparent;
  border: 1px solid var(--w-line-strong);
  color: var(--w-ink-dim);
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.fm-collapse svg { transition: transform .3s var(--w-ease); }
.fm-collapse:hover { border-color: var(--w-cyan); color: var(--w-cyan); }

.fm-body {
  padding: 18px 18px 18px;
  overflow-y: auto;
  transition: opacity .25s var(--w-ease);
}
.fm-head { margin-bottom: 16px; }
.fm-head .eyebrow { font-size: 9.5px; margin-bottom: 8px; }
.fm-head h3 { font-size: 19px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.fm-head p { font-size: 12.5px; color: var(--w-ink-soft); margin-top: 4px; }

.fm-form { display: flex; flex-direction: column; gap: 10px; }
.fm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fm-form label {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--w-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
}
.fm-form input, .fm-form select, .fm-form textarea {
  font-family: var(--type-body);
  font-size: 13px;
  color: var(--w-ink);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--w-line);
  border-radius: 8px;
  padding: 9px 11px;
  outline: none;
  transition: border-color .2s, background .2s;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
}
.fm-form input:focus, .fm-form select:focus {
  border-color: var(--w-cyan);
  background: rgba(45,227,200,.06);
}
.fm-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.5'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 28px;
}
.fm-form option { background: #0a141e; color: var(--w-ink); }

.fm-tel {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--w-line);
  border-radius: 8px;
  overflow: hidden;
}
.fm-tel:focus-within { border-color: var(--w-cyan); background: rgba(45,227,200,.06); }
.fm-tel-prefix {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 10px;
  border-right: 1px solid var(--w-line);
  color: var(--w-ink-dim);
  font-family: var(--w-mono);
  font-size: 12px;
  background: rgba(0,0,0,.25);
}
.fm-tel input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.fm-help {
  font-family: var(--type-body);
  font-size: 10.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--w-ink-soft);
}
.fm-submit {
  margin-top: 6px;
  background: var(--w-grad);
  color: #04070A;
  font-family: var(--type-body);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(45,227,200,.3);
  transition: transform .2s;
}
.fm-submit:hover { transform: translateY(-1px); }
.fm-alt {
  margin-top: 12px;
  font-family: var(--w-mono);
  font-size: 11px;
  text-align: center;
  color: var(--w-ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.fm-alt a {
  color: var(--w-ink-dim);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.fm-alt a:hover { color: var(--w-cyan); background: rgba(45,227,200,.06); }
.fm-alt .dot-sep { opacity: .4; }

@media (max-width: 879px) {
  .form-window {
    top: auto; bottom: 12px; right: 12px; left: 12px;
    width: auto;
    max-height: 56px;
    border-radius: 14px;
  }
  .form-window .fm-body { display: none; }
  .form-window.is-open {
    max-height: 80vh;
  }
  .form-window.is-open .fm-body { display: block; }
}

/* ============================================
   Generic section
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, #04070A 0%, #07101A 50%, #04070A 100%);
}
.section.alt { background: #04070A; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.section-head .sh-left { max-width: 720px; }
.section-head .sh-left .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -.03em;
  text-wrap: pretty;
  max-width: 22ch;
}
.section-head h2 .gradient-text { display: inline; }
.section-head .sh-right {
  font-size: 13px;
  color: var(--w-ink-soft);
  max-width: 320px;
  text-align: right;
  font-family: var(--w-mono);
  letter-spacing: .04em;
  line-height: 1.5;
}

/* ============================================
   VISUAL CASES — large media tiles
   ============================================ */
.cases-vis {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.case-v {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--w-line);
  background: rgba(7, 16, 26, .55);
  transition: transform .4s var(--w-ease), border-color .3s;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
}
.case-v.span-7 { grid-column: span 7; min-height: 460px; }
.case-v.span-5 { grid-column: span 5; min-height: 460px; }
.case-v.span-4 { grid-column: span 4; min-height: 380px; }
.case-v.span-8 { grid-column: span 8; min-height: 380px; }
.case-v.span-6 { grid-column: span 6; min-height: 380px; }
.case-v:hover { transform: translateY(-3px); border-color: rgba(45,227,200,.3); }

.case-v-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.case-v-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--w-ease);
}
.case-v:hover .case-v-bg img { transform: scale(1.04); }
.case-v-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,7,10,.1) 0%, rgba(4,7,10,.55) 55%, rgba(4,7,10,.95) 100%);
}
.case-v-content {
  position: relative;
  z-index: 1;
  padding: 32px 32px 30px;
  width: 100%;
}
.case-v-brand {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  font-family: var(--w-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.case-v h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  max-width: 24ch;
}
.case-v p {
  font-size: 14px;
  color: var(--w-ink-dim);
  max-width: 56ch;
  line-height: 1.55;
}
.case-v-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 16px;
}
.case-v-tags span {
  font-family: var(--w-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--w-cyan);
  padding: 4px 9px;
  border: 1px solid rgba(45,227,200,.3);
  border-radius: 100px;
  background: rgba(45,227,200,.06);
}
@media (max-width: 900px) {
  .cases-vis { grid-template-columns: 1fr; }
  .case-v.span-7, .case-v.span-5, .case-v.span-4, .case-v.span-8, .case-v.span-6 {
    grid-column: 1 / -1; min-height: 320px;
  }
}

/* ============================================
   CLIENTS — logos strip
   ============================================ */
.clients-strip {
  margin-top: 60px;
  padding: 40px 0 36px;
  border-top: 1px solid var(--w-line);
  border-bottom: 1px solid var(--w-line);
}
.clients-label {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  margin-bottom: 28px;
  text-align: center;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}
.client-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--w-ink-dim);
  border-right: 1px solid var(--w-line);
  height: 76px;
  transition: color .25s, background .25s;
  text-align: center;
}
.client-cell:nth-child(6n) { border-right: none; }
.client-cell:hover { color: var(--w-cyan); background: rgba(45,227,200,.04); }
.client-cell .it { font-style: italic; font-family: serif; }
.client-cell .sm { font-size: 14px; letter-spacing: .04em; }
.client-cell .bk { letter-spacing: .12em; }
@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .client-cell:nth-child(6n) { border-right: 1px solid var(--w-line); }
  .client-cell:nth-child(3n) { border-right: none; }
  .client-cell { border-bottom: 1px solid var(--w-line); }
}
@media (max-width: 520px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-cell:nth-child(3n) { border-right: 1px solid var(--w-line); }
  .client-cell:nth-child(2n) { border-right: none; }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta { padding: 100px 0 130px; }
.cta-card {
  position: relative;
  padding: 70px 60px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(45,227,200,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(77,227,138,.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11,22,34,.85) 0%, rgba(7,16,26,.95) 100%);
  border: 1px solid rgba(45,227,200,.22);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(45,227,200,.3) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse 70% 70% at 100% 0%, #000 0%, transparent 60%);
  opacity: .35;
  pointer-events: none;
}
.cta-card .eyebrow { margin-bottom: 16px; }
.cta-card h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -.03em;
  margin-bottom: 18px;
  position: relative;
}
.cta-card p {
  font-size: 15.5px;
  color: var(--w-ink-dim);
  max-width: 540px;
  margin-bottom: 28px;
  position: relative;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-side { position: relative; display: flex; flex-direction: column; gap: 18px; }
.cta-bullet { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--w-ink-dim); }
.cta-bullet::before {
  content: ''; width: 8px; height: 8px;
  margin-top: 7px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--w-cyan);
  box-shadow: 0 0 10px var(--w-cyan);
}
.cta-bullet strong { color: var(--w-ink); font-weight: 600; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .cta-card { grid-template-columns: 1fr; padding: 50px 32px; gap: 32px; } }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 70px 0 36px; border-top: 1px solid var(--w-line); background: #04070A; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-about p { font-size: 13.5px; color: var(--w-ink-soft); max-width: 380px; margin-top: 16px; }
.footer h4 { color: var(--w-ink); margin-bottom: 18px; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: var(--w-ink-dim);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--w-cyan); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--w-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--w-ink-soft);
  font-family: var(--w-mono);
  letter-spacing: .04em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { color: inherit; text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--w-cyan); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================
   TWEAKS PANEL
   ============================================ */
.tweaks-panel {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 70;
  background: rgba(7,12,18,.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(45,227,200,.25);
  border-radius: 14px;
  padding: 18px 18px 16px;
  width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: flex; flex-direction: column; gap: 16px;
}
.tweaks-panel.hidden { display: none; }
.tw-head { display: flex; align-items: center; justify-content: space-between; }
.tw-head h4 {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--w-ink);
}
.tw-close {
  background: transparent;
  border: 1px solid var(--w-line);
  color: var(--w-ink-dim);
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.tw-close:hover { border-color: var(--w-cyan); color: var(--w-cyan); }
.tw-section { display: flex; flex-direction: column; gap: 8px; }
.tw-label {
  font-family: var(--w-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
}
.tw-seg {
  display: flex;
  background: rgba(0,0,0,.4);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--w-line);
}
.tw-seg button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--w-ink-dim);
  font-family: var(--type-body);
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0;
}
.tw-seg button.active {
  background: rgba(45,227,200,.15);
  color: var(--w-cyan);
  box-shadow: inset 0 0 0 1px rgba(45,227,200,.35);
}
