/* ═══════════════════════════════════════════════════
   MINIMAL STUDIO — Stylesheet (Scrollytelling Edition)
   Brand: Lavanda #6167AF · Menta #B1DDC9 · Obsidian #10131A
═══════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  --brand: #6167AF;
  --brand-dark: #484D89;
  --brand-light: #8B90C8;
  --brand-pale: rgba(97, 103, 175, 0.08);
  --lavanda-soft: #D9DCF1;
  --mint: #B1DDC9;
  --mint-soft: #E8F4EE;
  --black: #10131A;
  --white: #FFFFFF;
  --g100: #F2F4F5;
  --g200: #E4E7EA;
  --g300: #C8CDD4;
  --g400: #9AA1AB;
  --g500: #6B7280;
  --g600: #4B5260;
  --g700: #2E3340;
  --g800: #1C202A;
  --g900: #131720;
  --font-head: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, 'Inter', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 72px;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--brand); }

/* ── UTILS ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(97, 103, 175, 0.35);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(97, 103, 175, 0.5);
}
.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--brand-light);
  color: var(--brand-light);
  transform: translateY(-2px);
}
.btn-ghost--dark {
  color: var(--black);
  border-color: var(--g300);
}
.btn-ghost--dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ── SCROLL STAGE SYSTEM ────────────────────────── */
#scroll-root {
  position: relative;
  /* height set by JS */
}
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--black);
  /* colour interpolated each frame by JS — no CSS transition */
}
#slide-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
#stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 3;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity, transform;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  /* transition fired by JS after setting start position */
}
.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.slide.is-leaving-up {
  opacity: 0;
  transform: translateY(-45px);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-down {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-scale {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s cubic-bezier(0.55,0,1,0.45),
              transform 0.5s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-diagonal-up {
  opacity: 0;
  transform: translate(-28px, -36px) scale(0.97);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}
.slide.is-leaving-diagonal-down {
  opacity: 0;
  transform: translate(28px, 36px) scale(0.97);
  transition: opacity 0.45s cubic-bezier(0.55,0,1,0.45),
              transform 0.45s cubic-bezier(0.55,0,1,0.45);
}

/* ── SLIDE DOTS ─────────────────────────────────── */
#slide-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
.dot:hover { background: rgba(255,255,255,0.5); transform: scale(1.3); }
.dot.active {
  background: var(--brand);
  transform: scale(1.5);
  border-color: var(--brand-light);
  box-shadow: 0 0 8px rgba(97,103,175,0.5);
}

/* ── SLIDE COUNTER ──────────────────────────────── */
#slide-counter {
  position: fixed;
  left: 36px;
  bottom: 36px;
  z-index: 200;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  line-height: 1;
  transition: color 0.5s;
}
#slide-current {
  color: var(--brand-light);
  font-size: 22px;
  display: block;
  margin-bottom: 3px;
}
.counter-sep { opacity: 0.4; margin: 0 2px; }

/* ── SCROLL HINT ────────────────────────────────── */
#scroll-hint {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 600;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
#scroll-hint.hidden { opacity: 0; }
.sh-line {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(97,103,175,0.8), transparent);
  animation: shLine 1.8s ease-in-out infinite;
}
@keyframes shLine {
  0%, 100% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  50% { transform: scaleY(0.3); opacity: 0.5; transform-origin: top; }
}

/* ── NAV ────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
#navbar[data-theme="light"].scrolled,
#navbar[data-theme="white"].scrolled {
  background: rgba(242,244,245,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--g200);
}
.nav-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  gap: 40px;
}
.nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
  position: relative;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand-light);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
#navbar[data-theme="light"] .nav-link,
#navbar[data-theme="white"] .nav-link { color: var(--g600); }
#navbar[data-theme="light"] .nav-link:hover,
#navbar[data-theme="white"] .nav-link:hover { color: var(--brand); }
#navbar[data-theme="light"] .nav-link::after,
#navbar[data-theme="white"] .nav-link::after { background: var(--brand); }
#navbar[data-theme="light"] .btn-ghost,
#navbar[data-theme="white"] .btn-ghost {
  color: var(--black);
  border-color: var(--g300);
}
#navbar[data-theme="light"] .btn-ghost:hover,
#navbar[data-theme="white"] .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
#navbar[data-theme="light"] .nav-toggle span,
#navbar[data-theme="white"] .nav-toggle span { background: var(--black); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SLIDE INNER BASE ───────────────────────────── */
.slide-inner {
  width: 100%;
  max-width: 1100px;
  padding: calc(var(--nav-h) + 16px) 32px 24px;
  position: relative;
  z-index: 1;
}

/* Shared typography for slides */
.s-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.s-label-top {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-label-top::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--brand-light);
  display: block;
}
.s-label-dark { color: var(--brand); }
.s-label-dark::before { background: var(--brand); }
.s-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.s-title-med {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.s-title-small {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}
.s-title-dark, .s-title-med.s-title-dark { color: var(--black); }
.s-sub {
  font-size: 1.05rem;
  color: var(--g400);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 540px;
}
.s-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── HERO SLIDE ─────────────────────────────────── */
.slide[data-slide="0"] .slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
.line-wrap { overflow: hidden; display: block; }
.line-text { display: block; }
.accent-line .line-text { color: var(--brand-light); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 18px 28px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
}
.stat-num { font-size: 1.8rem; line-height: 1; }
.stat-label {
  font-size: 10px;
  color: var(--g400);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 5px;
}
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ── PROBLEMA SLIDE ─────────────────────────────── */
.slide-inner--problema {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.problema-grid-compact {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 4px;
}
.pgc-col {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.06);
}
.pgc-col--mal { border-color: rgba(231,76,60,0.18); }
.pgc-col--bien { border-color: rgba(177,221,201,0.25); background: rgba(177,221,201,0.03); }
.pgc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pgc-tag--mal { background: rgba(231,76,60,0.12); color: #E74C3C; border: 1px solid rgba(231,76,60,0.25); }
.pgc-tag--bien { background: rgba(177,221,201,0.12); color: #5aad84; border: 1px solid rgba(177,221,201,0.3); }
.pgc-col ul { display: flex; flex-direction: column; gap: 12px; }
.pgc-col li { display: flex; gap: 10px; align-items: flex-start; }
.pgc-x, .pgc-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.pgc-x { background: rgba(231,76,60,0.15); color: #E74C3C; }
.pgc-check { background: rgba(177,221,201,0.18); color: #5aad84; }
.pgc-col li div { flex: 1; }
.pgc-col li strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.pgc-col li p { font-size: 11.5px; color: var(--g500); line-height: 1.5; }
.pgc-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.pgc-vs span {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--g600);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

/* ── FILOSOFIA SLIDES ───────────────────────────── */
.slide-inner--filo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 56px;
  align-items: center;
}
.filo-num-big {
  font-family: var(--font-head);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  color: rgba(255,255,255,0.13);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.filo-content { display: flex; flex-direction: column; gap: 12px; }
.filo-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
}
.filo-title em { color: var(--brand-light); }
.filo-desc {
  font-size: 1rem;
  color: var(--g400);
  line-height: 1.7;
  max-width: 480px;
}
.filo-quote-bar {
  border-left: 2px solid var(--brand);
  padding-left: 16px;
  font-size: 13px;
  color: var(--brand-light);
  font-style: italic;
  line-height: 1.5;
  margin-top: 6px;
}
.filo-icon-wrap {
  width: 140px;
  height: 140px;
  color: var(--brand-light);
  opacity: 0.7;
  flex-shrink: 0;
}
.filo-icon-wrap svg { width: 100%; height: 100%; }

/* ── SERVICIOS SLIDE ────────────────────────────── */
.slide-inner--servicios {
  display: flex;
  flex-direction: column;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.srv-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.srv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(97,103,175,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.srv-card:hover { transform: translateY(-6px); border-color: rgba(97,103,175,0.3); background: rgba(97,103,175,0.05); }
.srv-card:hover::before { opacity: 1; }
.srv-num {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(97,103,175,0.4);
  margin-bottom: 14px;
}
.srv-icon {
  width: 36px;
  height: 36px;
  color: var(--brand-light);
  margin-bottom: 14px;
}
.srv-icon svg { width: 100%; height: 100%; }
.srv-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.srv-card p {
  font-size: 12px;
  color: var(--g500);
  line-height: 1.6;
  margin-bottom: 12px;
}
.srv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.srv-tags span {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(97,103,175,0.1);
  color: var(--brand-light);
  letter-spacing: 0.04em;
}

/* ── PROCESO SLIDE ──────────────────────────────── */
.slide-inner--proceso {
  display: flex;
  flex-direction: column;
}
.proceso-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: flex-start;
  margin-top: 20px;
  position: relative;
}
.psr-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.psr-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 2.5px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(97,103,175,0.25);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.psr-dot--last { background: var(--mint); box-shadow: 0 0 0 3px rgba(177,221,201,0.25); }
.psr-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-family: var(--font-head);
}
.psr-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  width: 100%;
  transition: transform 0.3s, border-color 0.3s;
}
.psr-step:hover .psr-card { transform: translateY(-4px); border-color: rgba(97,103,175,0.3); }
.psr-icon { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--brand-light); }
.psr-icon svg { width: 100%; height: 100%; }
.psr-card h4 {
  font-family: var(--font-head);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.psr-card p { font-size: 14px; color: var(--g500); line-height: 1.55; margin-bottom: 10px; }
.psr-output {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-light);
  background: rgba(97,103,175,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  letter-spacing: 0.03em;
}
.proceso-track-wrap {
  position: absolute;
  top: 7px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  pointer-events: none;
  z-index: 0;
}
.psr-liquid-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(97,103,175,0.15);
  border-radius: 2px;
}
.psr-liquid-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--brand), var(--mint));
  border-radius: 2px;
  overflow: visible;
}
.psr-liquid-blob {
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px 4px rgba(177,221,201,0.55);
  transform: translate(50%, -50%);
  opacity: 0;
}

/* ── PROYECTOS SLIDE — full screen ──────────────── */
.slide-inner--proyectos {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  width: 100%;
  padding: calc(var(--nav-h) + 10px) 28px 18px;
  overflow: hidden;
  gap: 14px;
  max-width: 100%!important;
}

/* Header compacto: label + tabs en una fila */
.proy-header {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.proy-header .s-label-top { margin-bottom: 0; }

.projects-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g400);
  transition: var(--transition);
}
.tab-btn.active { background: var(--brand); color: var(--white); box-shadow: 0 4px 16px rgba(97,103,175,0.4); }
.tab-btn:not(.active):hover { color: var(--white); background: rgba(255,255,255,0.06); }

/* El tab activo ocupa todo el espacio restante */
.tab-content { display: none; }
.tab-content.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── EXPERIENCIAS — Carrusel coverflow portrait (9:16) ── */
.exp-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tarjeta portrait: alto = 88% del stage, ancho = alto × 9/16 */
.exp-card {
  position: absolute;
  height: 88%;
  aspect-ratio: 9 / 16;
  width: auto;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.62s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.62s ease, opacity 0.62s ease,
              box-shadow 0.62s ease;
  will-change: transform, filter;
}
.exp-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Info overlay en la parte inferior de la tarjeta */
.exp-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  z-index: 2;
  transition: opacity 0.4s;
}
.exp-card:not(.exp-center) .exp-card-info { opacity: 0; }
.exp-card-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.exp-card-info p {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

/* ── Posiciones del abanico ──
   Orden correcto: translateX primero (posición en world space),
   luego scale, luego rotate (inclinación en su propio eje).
   Izquierda: top se abre hacia la izquierda  → rotate NEGATIVO
   Derecha:   top se abre hacia la derecha    → rotate POSITIVO        */
.exp-center {
  z-index: 5;
  transform: translateX(0) scale(1) rotate(0deg);
  filter: brightness(1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);
}
.exp-left-1 {
  z-index: 3;
  transform: translateX(-24vw) scale(0.78) rotate(-11deg);
  filter: brightness(0.4);
}
.exp-right-1 {
  z-index: 3;
  transform: translateX(24vw) scale(0.78) rotate(11deg);
  filter: brightness(0.4);
}
.exp-left-2 {
  z-index: 1;
  transform: translateX(-42vw) scale(0.60) rotate(-20deg);
  filter: brightness(0.15);
}
.exp-right-2 {
  z-index: 1;
  transform: translateX(42vw) scale(0.60) rotate(20deg);
  filter: brightness(0.15);
}
.exp-hidden { opacity: 0; pointer-events: none; }

/* Navegación */
.exp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}
.exp-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
}
.exp-nav-btn:hover { background: var(--brand); border-color: var(--brand); }
.exp-nav-btn svg { width: 15px; height: 15px; }
.exp-dots { display: flex; gap: 6px; }
.exp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.exp-dot.active { background: var(--brand); transform: scale(1.4); }

/* ── GAME SERVICES — layout interactivo ─────────── */
.gserv-layout {
  display: flex;
  gap: 24px;
  height: 100%;
  min-height: 0;
}

/* Columna de tarjetas (izquierda) */
.gserv-cards {
  width: 216px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.gserv-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: background 0.3s, border-color 0.3s, transform 0.25s;
  flex: 1;
}
.gserv-card:hover:not(.active) {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  transform: translateX(4px);
}
.gserv-card.active {
  background: rgba(97,103,175,0.15);
  border-color: rgba(97,103,175,0.45);
}
.gserv-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(97,103,175,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.gserv-card.active .gserv-card-icon { background: var(--brand); color: var(--white); }
.gserv-card-icon svg { width: 18px; height: 18px; }
.gserv-card-body { flex: 1; min-width: 0; }
.gserv-card-body strong {
  display: block;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.gserv-card-body span { font-size: 10px; color: var(--g500); }
.gserv-chevron {
  width: 14px; height: 14px;
  color: var(--g600); flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;
}
.gserv-card.active .gserv-chevron { color: var(--brand-light); transform: translateX(3px); }

/* Panel de detalle (derecha) */
.gserv-detail {
  flex: 1; min-width: 0;
  position: relative;
  overflow: hidden;
}
.gserv-panel {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding-right: 6px;
}
.gserv-panel::-webkit-scrollbar { width: 3px; }
.gserv-panel::-webkit-scrollbar-thumb { background: rgba(97,103,175,0.3); border-radius: 2px; }
.gserv-panel.active { opacity: 1; pointer-events: all; transform: translateX(0); }

.gserv-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-light);
  display: flex; align-items: center; gap: 8px;
}
.gserv-cat::before {
  content: ''; width: 18px; height: 1.5px;
  background: var(--brand-light); display: block;
}
.gserv-panel h3 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--white);
}
.gserv-panel h3 em { color: var(--brand-light); font-style: normal; }
.gserv-panel > p {
  font-size: 0.875rem; color: var(--g400);
  line-height: 1.72; max-width: 560px;
}
.gserv-benefits {
  display: flex; flex-direction: column; gap: 9px;
  margin-top: 2px;
}
.gserv-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--g300); line-height: 1.55;
}
.gserv-benefits li::before {
  content: '✓';
  color: var(--mint); font-weight: 700;
  font-size: 12px; flex-shrink: 0; margin-top: 1px;
}

/* ── GAMES CAROUSEL (holo-cards — legacy) ─────────── */
.games-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.holo-card {
  position: absolute;
  width: 240px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.6s ease, filter 0.6s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.holo-card.card-center { z-index: 5; transform: rotateY(0) translateX(0) scale(1); }
.holo-card.card-left-1 { z-index: 3; transform: rotateY(22deg) translateX(-240px) scale(0.80); filter: brightness(0.48); }
.holo-card.card-right-1 { z-index: 3; transform: rotateY(-22deg) translateX(240px) scale(0.80); filter: brightness(0.48); }
.holo-card.card-left-2 { z-index: 1; transform: rotateY(32deg) translateX(-420px) scale(0.62); filter: brightness(0.22); }
.holo-card.card-right-2 { z-index: 1; transform: rotateY(-32deg) translateX(420px) scale(0.62); filter: brightness(0.22); }
.holo-card.card-hidden { opacity: 0; pointer-events: none; }
.holo-shine {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 40%, transparent 70%);
  z-index: 10;
  pointer-events: none;
  mix-blend-mode: screen;
}
.holo-face { width: 100%; height: 100%; display: flex; flex-direction: column; position: relative; }
.holo-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ga) 0%, var(--gb) 50%, var(--gc) 100%); }
.holo-screen-elem {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pixel-art { font-size: 20px; color: rgba(255,255,255,0.6); line-height: 1.3; letter-spacing: 3px; font-family: monospace; }
.city-art { display: flex; align-items: flex-end; gap: 5px; padding: 0 8px; width: 100%; }
.building { flex: 1; background: var(--bc); border-radius: 3px 3px 0 0; opacity: 0.7; }
.vr-art { display: flex; align-items: center; justify-content: center; }
.vr-headset-mini { position: relative; width: 90px; height: 60px; }
.vrh-body { position: absolute; inset: 0; background: rgba(255,255,255,0.15); border-radius: 12px; border: 2px solid rgba(255,255,255,0.3); }
.vrh-strap { position: absolute; left: -16px; right: -16px; top: 22px; height: 2px; background: rgba(255,255,255,0.2); }
.vrh-lens { position: absolute; top: 12px; width: 26px; height: 32px; background: rgba(0,0,0,0.6); border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); }
.vrh-lens.l { left: 8px; }
.vrh-lens.r { right: 8px; }
.arena-art { display: flex; align-items: flex-end; gap: 8px; position: relative; }
.podium { width: 30px; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); }
.p1 { height: 60px; order: 2; }
.p2 { height: 44px; order: 1; }
.p3 { height: 32px; order: 3; }
.trophy { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; }
.runner-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.track { width: 140px; height: 2px; background: rgba(255,255,255,0.2); border-radius: 2px; position: relative; overflow: hidden; }
.track::after { content: ''; position: absolute; left: -100%; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: trackShine 2s infinite; }
@keyframes trackShine { to { left: 200%; } }
.holo-info {
  position: relative;
  z-index: 2;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
}
.holo-type { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.holo-info h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--white); margin: 4px 0 6px; }
.holo-info p { font-size: 10px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 8px; }
.holo-meta { display: flex; gap: 6px; }
.holo-meta span { font-size: 9px; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.games-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.games-prev, .games-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
}
.games-prev:hover, .games-next:hover { background: var(--brand); border-color: var(--brand); }
.games-prev svg, .games-next svg { width: 16px; height: 16px; }
.games-dots { display: flex; gap: 6px; }
.games-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.3s; cursor: pointer; }
.games-dot.active { background: var(--brand); transform: scale(1.4); }

/* ── WEB IFRAME ─────────────────────────────────── */
.web-section-compact {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 12px;
}

/* Lista lateral de sitios */
.web-list {
  width: 174px;
  flex-shrink: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 4px;
}
.web-list::-webkit-scrollbar { width: 3px; }
.web-list::-webkit-scrollbar-track { background: transparent; }
.web-list::-webkit-scrollbar-thumb { background: rgba(97,103,175,0.3); border-radius: 2px; }
.web-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.web-list-item:hover:not(.active) { background: rgba(255,255,255,0.05); }
.web-list-item.active {
  background: rgba(97,103,175,0.14);
  border-color: rgba(97,103,175,0.35);
}
.wli-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g600);
  flex-shrink: 0;
  transition: background 0.25s;
}
.web-list-item.active .wli-dot { background: var(--brand-light); }
.wli-name {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--g400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s;
}
.web-list-item.active .wli-name { color: var(--white); font-weight: 600; }
.web-list-item:hover:not(.active) .wli-name { color: var(--g300); }

.browser-mockup { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.web-project-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.web-proj-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--g400);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.wpt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g500); transition: background 0.3s; }
.web-proj-btn.active { background: rgba(97,103,175,0.15); border-color: rgba(97,103,175,0.4); color: var(--brand-light); }
.web-proj-btn.active .wpt-dot { background: var(--brand-light); }
.web-proj-btn:hover:not(.active) { border-color: rgba(255,255,255,0.2); color: var(--white); }
.browser-mockup { background: #0f0f0f; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); overflow: hidden; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.browser-url-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  padding: 5px 10px;
  color: var(--g400);
  font-size: 11px;
  overflow: hidden;
}
.browser-url-bar svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--g500); }
#browser-url-display { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-actions { display: flex; gap: 3px; }
.browser-actions button,
.browser-actions a {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g400);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.browser-actions button svg,
.browser-actions a svg { width: 12px; height: 12px; }
.browser-actions button:hover,
.browser-actions a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.browser-viewport { position: relative; flex: 1; min-height: 0; background: var(--white); overflow: hidden; }
.browser-loading { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 10; overflow: hidden; }
.loading-bar { height: 100%; background: var(--brand); animation: loading 1.2s ease forwards; width: 0; }
@keyframes loading { 0% { width: 0; } 60% { width: 80%; } 100% { width: 100%; } }
#web-iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── CLIENTES SLIDE ─────────────────────────────── */
.slide-inner--clientes { display: flex; flex-direction: column; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 16px;
}

/* Clases para logos reales */
.cl-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
}
.cl-logo-svg {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-logo-svg svg { height: 100%; width: auto; max-width: 110px; }
.cl-logo-img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.cl-logo-text {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--lc, var(--g700));
}
.cl-logo-text--xl { font-size: 24px; letter-spacing: 0.10em; }
.cl-logo-text--sm { font-size: 13px; letter-spacing: 0.04em; }
.cl-brand-name {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--g500);
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  position: relative;
  flex: 0 1 160px;
  min-width: 140px;
  min-height: 80px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.client-logo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.cl-design { display: flex; align-items: center; gap: 9px; color: var(--g600); transition: var(--transition); }
.cl-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--lc);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
}
.cl-name { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.cl-minimal .cl-icon { border-radius: 50%; }
.cl-finance .cl-badge { width: 30px; height: 30px; background: var(--lc); color: white; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 11px; font-weight: 800; }
.cl-sport .cl-icon-sport { font-size: 20px; }
.cl-retail .cl-dots { display: flex; gap: 3px; align-items: center; }
.cl-retail .cl-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--lc); opacity: 0.7; }
.cl-retail .cl-dots span:first-child { opacity: 1; width: 12px; height: 12px; }
.cl-edu .cl-icon { border-radius: 4px; font-size: 14px; }
.cl-factory .cl-plus { width: 30px; height: 30px; background: var(--lc); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; font-weight: 300; }
.cl-gov .cl-shield { font-size: 20px; color: var(--lc); }
/* Client hover effects */
[data-effect="float"]:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
[data-effect="shine"] { overflow: hidden; }
.shine-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.7) 50%, transparent 80%); transform: translateX(-100%); transition: transform 0.6s ease; }
[data-effect="shine"]:hover .shine-overlay { transform: translateX(200%); }
[data-effect="glitch"]:hover .cl-design { animation: glitch 0.4s steps(2) forwards; }
@keyframes glitch { 0%, 100% { transform: translate(0); } 20% { transform: translate(-3px, 1px); color: var(--brand); } 40% { transform: translate(3px, -1px); color: #ff3377; } 60% { transform: translate(-2px, 0); } 80% { transform: translate(2px, 1px); color: var(--brand); } }
[data-effect="rotate"]:hover { transform: perspective(400px) rotateY(8deg) scale(1.04); box-shadow: -8px 8px 20px rgba(0,0,0,0.12); }
[data-effect="expand"]:hover { transform: scale(1.06); box-shadow: 0 10px 32px rgba(97,103,175,0.12); border-color: rgba(97,103,175,0.25); }
[data-effect="blur"]:hover .cl-design { animation: blurFocus 0.5s ease forwards; }
@keyframes blurFocus { 0% { filter: blur(0); } 30% { filter: blur(3px); opacity: 0.4; } 100% { filter: blur(0); opacity: 1; } }
[data-effect="slide"] { overflow: hidden; }
[data-effect="slide"]:hover .cl-design { animation: slideUp 0.35s ease forwards; }
@keyframes slideUp { 0% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-16px); opacity: 0; } 51% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
[data-effect="color"]:hover .cl-design { color: var(--brand); }
[data-effect="color"]:hover { border-color: rgba(97,103,175,0.3); box-shadow: 0 0 24px rgba(97,103,175,0.08); }

/* Marquee */
.clients-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  border-top: 1px solid var(--g200);
  padding-top: 18px;
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g400);
}
.marquee-track span:nth-child(even) { color: var(--brand); }
.marquee-track span:nth-child(4n) { color: #4a9e72; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── CONTACTO SLIDE ─────────────────────────────── */
.slide-inner--contacto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-desc {
  font-size: 0.92rem;
  color: var(--g500);
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 6px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-label::before { content: ''; width: 18px; height: 1.5px; background: var(--brand); display: block; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.contact-detail { display: flex; align-items: center; gap: 14px; }
.contact-detail--link {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  margin: -4px -6px;
  transition: background 0.25s;
}
.contact-detail--link:hover { background: var(--brand-pale); }
.contact-detail--link:hover .cd-icon { background: rgba(97,103,175,0.18); }
.contact-detail--link:hover strong { color: var(--brand); }
.cd-icon {
  width: 38px;
  height: 38px;
  background: var(--brand-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.cd-icon svg { width: 18px; height: 18px; }
.contact-detail span { font-size: 11px; color: var(--g400); display: block; }
.contact-detail strong { font-size: 13px; font-weight: 600; }
.contact-urgencia {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-pale);
  border: 1px solid rgba(97,103,175,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.cu-icon { flex-shrink: 0; color: var(--brand); }
.cu-icon svg { width: 22px; height: 22px; }
.contact-urgencia strong { display: block; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 3px; }
.contact-urgencia p { font-size: 12px; color: var(--g500); }
/* Contact form */
.contact-form-wrap {}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; position: relative; margin-bottom: 14px; }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--g500); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--g100);
  border: 1.5px solid var(--g200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--black);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand);
  background: var(--white);
}
.form-group textarea { resize: none; height: 80px; }
.form-group select { cursor: pointer; appearance: none; }
.form-line { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--brand); border-radius: 2px; transition: width 0.3s; }
.form-group:focus-within .form-line { width: 100%; }
#form-submit { gap: 10px; padding: 14px; border-radius: var(--radius-sm); font-size: 15px; }
#form-submit svg { width: 16px; height: 16px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(97,103,175,0.08);
  border: 1px solid rgba(97,103,175,0.2);
  border-radius: var(--radius-sm);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  margin-top: 12px;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ── FOOTER ─────────────────────────────────────── */
#footer {
  position: relative;
  z-index: 10;
  background: var(--black);
  color: var(--white);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { filter: brightness(10) saturate(0); opacity: 0.85; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--g500); line-height: 1.7; max-width: 300px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g400);
  transition: background 0.3s, color 0.3s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 12px; color: var(--g500); margin-bottom: 9px; transition: color 0.3s; cursor: pointer; }
.footer-col a:hover { color: var(--brand-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 12px; color: var(--g600); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: var(--white); }

/* ── ENTRANCE ANIMATIONS ────────────────────────── */

/* Keyframes */
@keyframes entryFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes entryFadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes entryFadeLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes entryFadeRight {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes entryScale {
  from { opacity: 0; transform: scale(0.86) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1)    rotate(0deg); }
}
@keyframes entryOpacity {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes filoNumEnter {
  from { opacity: 0; transform: translateX(-70px) scale(0.6); }
  to   { opacity: 1; transform: translateX(0)     scale(1);   }
}
@keyframes filoIconEnter {
  from { opacity: 0; transform: translateX(60px) scale(0.65) rotate(18deg); }
  to   { opacity: 1; transform: translateX(0)    scale(1)    rotate(0deg);  }
}
@keyframes slideUpLine {
  from { transform: translateY(108%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes revealConnector {
  from { opacity: 0; transform: scaleX(0); transform-origin: left; }
  to   { opacity: 1; transform: scaleX(1); transform-origin: left; }
}
@keyframes liquidFlow {
  0%   { width: 0%; }
  100% { width: 100%; }
}
@keyframes blobFloat {
  0%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes dotGlow {
  0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(97,103,175,0.8); }
  40%  { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(97,103,175,0.25), 0 0 18px rgba(97,103,175,0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(97,103,175,0.25); }
}

/* Hero title line-mask structure */
.line-wrap { overflow: hidden; display: block; }
.line-text  { display: block; }

/* ── SLIDE 00: HERO ─────── */
.is-active[data-slide="0"] .s-badge {
  animation: entryFadeDown 0.5s 0.05s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="0"] .line-wrap:nth-child(1) .line-text {
  animation: slideUpLine 0.75s 0.12s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="0"] .line-wrap:nth-child(2) .line-text {
  animation: slideUpLine 0.75s 0.24s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="0"] .line-wrap:nth-child(3) .line-text {
  animation: slideUpLine 0.75s 0.36s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="0"] .s-sub {
  animation: entryFadeUp 0.5s 0.52s ease both;
}
.is-active[data-slide="0"] .s-ctas {
  animation: entryFadeUp 0.5s 0.66s ease both;
}
.is-active[data-slide="0"] .hero-stats {
  animation: entryFadeUp 0.5s 0.82s ease both;
}

/* ── SLIDE 01: PROBLEMA ─────── */
.is-active[data-slide="1"] .s-label-top {
  animation: entryFadeLeft 0.45s 0.08s ease both;
}
.is-active[data-slide="1"] .s-title-med {
  animation: entryFadeUp 0.6s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="1"] .pgc-col--mal {
  animation: entryFadeLeft 0.5s 0.32s ease both;
}
.is-active[data-slide="1"] .pgc-vs {
  animation: entryFadeUp 0.4s 0.46s ease both;
}
.is-active[data-slide="1"] .pgc-col--bien {
  animation: entryFadeRight 0.5s 0.32s ease both;
}

/* ── SLIDES 02–05: FILOSOFIA ─────── */
.is-active[data-slide="2"] .s-label-top,
.is-active[data-slide="3"] .s-label-top,
.is-active[data-slide="4"] .s-label-top,
.is-active[data-slide="5"] .s-label-top {
  animation: entryFadeLeft 0.45s 0.1s ease both;
}
.is-active[data-slide="2"] .filo-title,
.is-active[data-slide="3"] .filo-title,
.is-active[data-slide="4"] .filo-title,
.is-active[data-slide="5"] .filo-title {
  animation: slideUpLine 0.7s 0.22s cubic-bezier(0.22,1,0.36,1) both;
  overflow: hidden; display: block;
}
.is-active[data-slide="2"] .filo-desc,
.is-active[data-slide="3"] .filo-desc,
.is-active[data-slide="4"] .filo-desc,
.is-active[data-slide="5"] .filo-desc {
  animation: entryFadeUp 0.5s 0.38s ease both;
}
.is-active[data-slide="2"] .filo-quote-bar,
.is-active[data-slide="3"] .filo-quote-bar,
.is-active[data-slide="4"] .filo-quote-bar,
.is-active[data-slide="5"] .filo-quote-bar {
  animation: entryFadeLeft 0.5s 0.54s ease both;
}
.is-active[data-slide="2"] .filo-num-big,
.is-active[data-slide="3"] .filo-num-big,
.is-active[data-slide="4"] .filo-num-big,
.is-active[data-slide="5"] .filo-num-big {
  animation: filoNumEnter 0.9s 0.05s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="2"] .filo-icon-wrap,
.is-active[data-slide="3"] .filo-icon-wrap,
.is-active[data-slide="4"] .filo-icon-wrap,
.is-active[data-slide="5"] .filo-icon-wrap {
  animation: filoIconEnter 0.85s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── SLIDE 06: SERVICIOS ─────── */
.is-active[data-slide="6"] .s-label-top {
  animation: entryFadeLeft 0.45s 0.08s ease both;
}
.is-active[data-slide="6"] .s-title-med {
  animation: entryFadeUp 0.6s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="6"] .srv-card:nth-child(1) { animation: entryFadeUp 0.5s 0.28s cubic-bezier(0.22,1,0.36,1) both; }
.is-active[data-slide="6"] .srv-card:nth-child(2) { animation: entryFadeUp 0.5s 0.40s cubic-bezier(0.22,1,0.36,1) both; }
.is-active[data-slide="6"] .srv-card:nth-child(3) { animation: entryFadeUp 0.5s 0.52s cubic-bezier(0.22,1,0.36,1) both; }
.is-active[data-slide="6"] .srv-card:nth-child(4) { animation: entryFadeUp 0.5s 0.64s cubic-bezier(0.22,1,0.36,1) both; }

/* ── SLIDE 07: PROCESO — stagger por elemento ─────── */
.is-active[data-slide="7"] .s-label-top {
  animation: entryFadeLeft 0.45s 0.06s ease both;
}
.is-active[data-slide="7"] .s-title-med {
  animation: entryFadeUp 0.6s 0.16s cubic-bezier(0.22,1,0.36,1) both;
}
/* Liquid track */
.is-active[data-slide="7"] .psr-liquid-fill {
  animation: liquidFlow 1.8s 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
.is-active[data-slide="7"] .psr-liquid-blob {
  animation: blobFloat 1.8s 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
/* Día 1 — child(2) because child(1) is the track-wrap */
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(2) {
  animation: entryFadeUp 0.55s 0.28s cubic-bezier(0.22,1,0.36,1) both;
}
/* Semana 1 */
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(3) {
  animation: entryFadeUp 0.55s 0.46s cubic-bezier(0.22,1,0.36,1) both;
}
/* Semana 2–3 */
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(4) {
  animation: entryFadeUp 0.55s 0.64s cubic-bezier(0.22,1,0.36,1) both;
}
/* Mes 2+ */
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(5) {
  animation: entryFadeUp 0.55s 0.82s cubic-bezier(0.22,1,0.36,1) both;
}
/* Dot glows — timed to match liquid fill reaching each dot */
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(2) .psr-dot {
  animation: dotGlow 0.7s 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(3) .psr-dot {
  animation: dotGlow 0.7s 1.1s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(4) .psr-dot {
  animation: dotGlow 0.7s 1.7s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="7"] .proceso-steps-row > *:nth-child(5) .psr-dot {
  animation: dotGlow 0.7s 2.3s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── SLIDE 08: PROYECTOS ─────── */
.is-active[data-slide="8"] .proy-header {
  animation: entryFadeDown 0.45s 0.08s ease both;
}
.is-active[data-slide="8"] .tab-content.active {
  animation: entryFadeUp 0.55s 0.24s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── SLIDE 09: CLIENTES ─────── */
.is-active[data-slide="9"] .s-label-top {
  animation: entryFadeLeft 0.45s 0.08s ease both;
}
.is-active[data-slide="9"] .s-title-med {
  animation: entryFadeUp 0.55s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="9"] .clients-grid {
  animation: entryFadeUp 0.6s 0.32s ease both;
}
.is-active[data-slide="9"] .clients-marquee-wrap {
  animation: entryFadeUp 0.5s 0.55s ease both;
}

/* ── SLIDE 10: CONTACTO ─────── */
.is-active[data-slide="10"] .contact-info {
  animation: entryFadeLeft 0.65s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.is-active[data-slide="10"] .contact-form-wrap {
  animation: entryFadeRight 0.65s 0.22s cubic-bezier(0.22,1,0.36,1) both;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */

/* ── 1024px — tablets landscape ─────────────────── */
@media (max-width: 1024px) {
  /* Filosofía */
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-inner--filo { grid-template-columns: 1fr; gap: 24px; }
  .filo-num-big { font-size: 5rem; }
  .filo-icon-wrap { display: none; }

  /* Proyectos — header */
  .slide-inner--proyectos { padding-left: 24px; padding-right: 24px; }
  .proy-header { flex-wrap: wrap; gap: 14px; }

  /* Proyectos — videojuegos */
  .gserv-cards { width: 190px; }

  /* Proyectos — web */
  .web-list { width: 150px; }
}

/* ── 768px — tablets portrait / móvil grande ─────── */
@media (max-width: 768px) {
  /* Nav */
  #slide-dots  { display: none; }
  #slide-counter { display: none; }
  #scroll-hint { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.4rem; color: var(--white) !important; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /* Tipografía */
  .slide-inner { padding: calc(var(--nav-h) + 8px) 20px 16px; }
  .s-title     { font-size: clamp(2rem, 8vw, 3rem); }
  .s-title-med { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Hero */
  .hero-stats  { flex-direction: column; gap: 16px; width: 100%; }
  .stat-divider { width: 40px; height: 1px; }
  .s-ctas      { flex-wrap: wrap; }

  /* Problema */
  .problema-grid-compact { grid-template-columns: 1fr; }
  .pgc-vs { display: none; }

  /* Servicios */
  .srv-grid { grid-template-columns: 1fr 1fr; }

  /* Proceso */
  .proceso-steps-row  { grid-template-columns: 1fr 1fr; }
  .proceso-track-wrap { display: none; }

  /* ── PROYECTOS (slide 08) ── */
  .slide-inner--proyectos { padding: calc(var(--nav-h) + 6px) 16px 12px; gap: 10px; }

  /* Header compacto: label encima, tabs debajo */
  .proy-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .projects-tabs { width: 100%; overflow-x: auto; }

  /* Carrusel de videos: cards más pequeñas, offsets en vw ya escalan */
  .exp-stage  { min-height: 260px; }
  .exp-nav    { margin-top: 10px; }
  .exp-nav-btn { width: 30px; height: 30px; }

  /* Videojuegos — game services: columna vertical */
  .gserv-layout { flex-direction: column; gap: 14px; height: 100%; }
  .gserv-cards  {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    justify-content: flex-start;
    flex-shrink: 0;
  }
  .gserv-cards::-webkit-scrollbar { height: 3px; }
  .gserv-cards::-webkit-scrollbar-thumb { background: rgba(97,103,175,0.3); border-radius: 2px; }
  .gserv-card {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    width: 140px;
    min-height: auto;
    padding: 12px;
  }
  .gserv-chevron { display: none; }
  /* Panel en flujo normal — scrollable si el contenido no cabe */
  .gserv-detail { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
  .gserv-panel  { position: relative; inset: auto; transform: none; padding: 0; }
  .gserv-panel:not(.active) { display: none; }
  .gserv-panel.active { opacity: 1; transform: none; }
  .gserv-panel h3 { font-size: 1.2rem; }
  .gserv-benefits li { font-size: 12px; }

  /* Web — lista arriba, browser abajo */
  .web-section-compact { flex-direction: column; gap: 10px; }
  .web-list {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  .web-list::-webkit-scrollbar { height: 3px; }
  .web-list-item { flex-shrink: 0; white-space: nowrap; }
  .browser-mockup { flex: 1; min-height: 220px; }

  /* Clientes */
  .clients-grid  { gap: 8px; }
  .client-logo   { flex: 0 1 140px; min-width: 120px; padding: 12px 10px; }
  .cl-logo-text  { font-size: 14px; }
  .cl-logo-text--xl { font-size: 18px; }
  .cl-logo-text--sm { font-size: 11px; }

  /* Contacto */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row     { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; gap: 40px; }
  .footer-links  { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── 480px — móvil pequeño ───────────────────────── */
@media (max-width: 480px) {
  /* Servicios */
  .srv-grid { grid-template-columns: 1fr; }

  /* CTAs */
  .s-ctas { flex-direction: column; }
  .s-ctas .btn { text-align: center; justify-content: center; }

  /* Clientes — 2 columnas mínimo */
  .client-logo { flex: 0 1 calc(50% - 8px); min-width: 100px; }

  /* Game services — cards aún más compactas */
  .gserv-card { width: 120px; }
  .gserv-card-icon { width: 32px; height: 32px; }
  .gserv-card-body strong { font-size: 11px; }

  /* Carrusel — ajustar offsets para pantallas angostas */
  .exp-left-1  { transform: translateX(-30vw) scale(0.76) rotate(-11deg); }
  .exp-right-1 { transform: translateX(30vw)  scale(0.76) rotate(11deg);  }
  .exp-left-2, .exp-right-2 { opacity: 0; pointer-events: none; }

  /* Proceso — cards en 1 columna */
  .proceso-steps-row { grid-template-columns: 1fr; }
}

/* ── SLIDE 09 CLIENTES — dark theme (fondo oscuro + beams de luz) ─────────── */
[data-slide="9"] .s-label-top.s-label-dark {
  color: var(--brand-light);
}
[data-slide="9"] .s-label-top.s-label-dark::before {
  background: var(--brand-light);
}
[data-slide="9"] .s-title-med.s-title-dark {
  color: var(--white);
}
[data-slide="9"] .clients-marquee-wrap {
  border-top-color: rgba(255,255,255,0.08);
}
[data-slide="9"] .marquee-track {
  color: rgba(255,255,255,0.28);
}
[data-slide="9"] .marquee-track span:nth-child(even) { color: var(--brand-light); }
[data-slide="9"] .marquee-track span:nth-child(4n)   { color: var(--mint); }

/* ── SLIDE 06 SERVICIOS — cards sobre fondo mint #B1DDC9 ──────────────────── */
[data-slide="6"] .srv-card {
  background: rgba(16,19,26,0.07);
  border-color: rgba(16,19,26,0.1);
}
[data-slide="6"] .srv-card::before {
  background: radial-gradient(circle at 50% 0%, rgba(97,103,175,0.09), transparent 70%);
}
[data-slide="6"] .srv-card:hover {
  background: rgba(97,103,175,0.13);
  border-color: rgba(97,103,175,0.38);
}
[data-slide="6"] .srv-num { color: rgba(97,103,175,0.55); }
[data-slide="6"] .srv-icon { color: var(--brand); }
[data-slide="6"] .srv-card h3 { color: var(--black); }
[data-slide="6"] .srv-card p { color: var(--g700); }
[data-slide="6"] .srv-tags span {
  background: rgba(97,103,175,0.13);
  color: var(--brand);
}

/* ── SCROLLBAR + SELECTION ──────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--g900); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }
::selection { background: rgba(97,103,175,0.35); color: var(--white); }
