/* ============================================================
   MIKESTIF STUDIO — LANDING
   Una sola rueda persistente · 3D · textura metálica · morfea
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: none;
}

/* Body NEGRO puro — el video global vive encima como fondo sutil */
body {
  overscroll-behavior: none;
  background: #000;
}

/* ============================================================
   VIDEO BACKGROUND GLOBAL — al 5% detrás de TODO el sitio
   ============================================================ */
.bg-video-global {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  object-fit: cover;
  object-position: center;
  z-index: 0;                     /* detrás de glass-panel (1) y secciones (2) */
  pointer-events: none;
  opacity: 0.25;                  /* 25% — más presente, cinemático */
}

/* ============================================================
   GLOW CANVAS — gradientes cálidos por sección (excepto home)
   Cada sección tiene su propio canvas con blobs naranja/rosa/
   amarillo/verde flotando con drift continuo. Vibe warm-tech.
   ============================================================ */
.glow-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* Servicios — naranja + amarillo + rosa */
.glow-s1 { width: 48vw; height: 48vw; background: #FFD93D; top: 8%; left: -10%; opacity: 0.42; }
.glow-s2 { width: 55vw; height: 55vw; background: #FF7A45; bottom: -15%; right: -12%; opacity: 0.5; }
.glow-s3 { width: 38vw; height: 38vw; background: #FF4D8D; top: 35%; right: 22%; opacity: 0.35; }

/* Polarizados — rosa + verde + naranja */
.glow-c1 { width: 55vw; height: 55vw; background: #FF4D8D; top: -10%; right: -15%; opacity: 0.5; }
.glow-c2 { width: 42vw; height: 42vw; background: #B8E063; bottom: -10%; left: -10%; opacity: 0.36; }
.glow-c3 { width: 36vw; height: 36vw; background: #FF7A45; top: 50%; left: 15%; opacity: 0.32; }

/* Proceso — naranja + amarillo + verde */
.glow-p1 { width: 50vw; height: 50vw; background: #FF7A45; top: 18%; left: 12%; opacity: 0.45; }
.glow-p2 { width: 46vw; height: 46vw; background: #FFD93D; bottom: 5%; right: 8%; opacity: 0.4; }
.glow-p3 { width: 38vw; height: 38vw; background: #B8E063; top: 60%; left: 50%; opacity: 0.32; }

/* CTA — todos los colores, intensos (sección climax) */
.glow-cta1 { width: 62vw; height: 62vw; background: #FF7A45; top: -20%; left: -10%; opacity: 0.58; }
.glow-cta2 { width: 56vw; height: 56vw; background: #FF4D8D; bottom: -20%; right: -10%; opacity: 0.55; }
.glow-cta3 { width: 42vw; height: 42vw; background: #B8E063; top: 35%; left: 35%; opacity: 0.5; }

/* Footer — solo un poco de naranja sutil para no quedar muerto */
.glow-f1 { width: 80vw; height: 50vw; background: #FF7A45; bottom: -30%; left: 10%; opacity: 0.3; }
.glow-f2 { width: 38vw; height: 38vw; background: #FF4D8D; top: 25%; right: 18%; opacity: 0.25; }

button, a, input, select, textarea {
  cursor: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

::selection {
  background: rgba(255, 122, 69, 0.4);
  color: #fff;
}

em, .serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

/* ===== GRANO FILMICO ===== */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  animation: grain-shift 1.2s steps(3) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2%, 1%); }
  66%  { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ===== CURSOR — aro conic-gradient compact =====
   Parent solo posición (GSAP). El ::before rota (no choca con transform). */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.25s ease, height 0.25s ease;
}

.cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #FF6F9E,
    #FF7A45,
    #FFD93D,
    #B8E063,
    #6EFCFF,
    #A076F9,
    #FF6F9E);
  -webkit-mask-image: radial-gradient(circle, transparent 48%, #000 56%);
          mask-image: radial-gradient(circle, transparent 48%, #000 56%);
  filter: drop-shadow(0 0 6px rgba(255, 122, 69, 0.55));
  animation: cosmic-spin 4s linear infinite;
}

/* Halo sutil de luz alrededor del aro */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 122, 69, 0.22) 0%,
    rgba(255, 77, 141, 0.12) 40%,
    transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
  transition: width 0.3s ease, height 0.3s ease;
}

.cursor.is-hover { width: 30px; height: 30px; }
.cursor-trail.is-hover { width: 72px; height: 72px; }

/* ============================================================
   CRYSTAL — un solo cuerpo iridiscente central
   Capas iris con conic-gradient + mask radial + screen blend
   = sensación de cristal/burbuja con borde rainbow refractado
   ============================================================ */

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.crystal-stage,
.crystal,
.iris,
.crystal-rim,
.crystal-spec,
#three-canvas {
  display: none !important;
}

/* ============================================================
   COSMIC RING — aro brand compact con glow protagónico
   .cosmic-ring-wrap: anchor para per-section travel (lo mueve morphCrystal)
   .cosmic-ring: el aro real + drift horizontal continuo
   ============================================================ */
.cosmic-ring-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 85vh;
  height: 85vh;
  max-width: 1000px;
  max-height: 1000px;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity, border-radius;
}

.cosmic-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  will-change: transform, opacity;
}

/* GLOW — halo cálido (sin verde, sin azul). El glow PICOS afuera del aro,
   débil en el centro, para no crear "desenfoque" dentro del hueco */
.cosmic-ring-glow {
  position: absolute;
  inset: -40%;
  border-radius: inherit;
  background: radial-gradient(circle,
    transparent 0%,
    rgba(255, 122, 69, 0.25) 20%,
    rgba(255, 122, 69, 0.55) 32%,        /* pico justo en el aro */
    rgba(255, 77, 141, 0.42) 42%,
    rgba(255, 180, 100, 0.25) 54%,
    rgba(255, 217, 61, 0.14) 64%,
    transparent 78%);
  filter: blur(60px);
  z-index: -1;
  will-change: transform, opacity;
}

.cosmic-ring-spinner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Gradient cálido SIN verde, SIN azul — solo naranja/rosa/amarillo/púrpura sutil */
  background: conic-gradient(from 0deg,
    #FF7A45 0%,
    #FF6F61 14%,
    #FF4D8D 30%,
    #FFAB66 50%,
    #FFD93D 68%,
    #FF7A45 88%,
    #FF7A45 100%);
  /* Center TRANSPARENTE con EDGE SHARP (sin desenfoque interno) */
  -webkit-mask-image: radial-gradient(circle, transparent 41%, #000 43%);
          mask-image: radial-gradient(circle, transparent 41%, #000 43%);
  animation: cosmic-spin 18s linear infinite;
  filter: drop-shadow(0 0 25px rgba(255, 122, 69, 0.5))
          drop-shadow(0 0 50px rgba(255, 77, 141, 0.35));
  will-change: transform;
}

@keyframes cosmic-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   HERO VIDEO BACKGROUND — placeholder para el video del cliente
   ============================================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   CC LIGHT SWEEP — barrido de luz diagonal (como After Effects)
   Aplicar `<span class="light-sweep">` dentro de cualquier
   contenedor con position:relative + overflow:hidden.
   ============================================================ */
.light-sweep {
  position: absolute;
  top: -60%;
  left: -100%;
  width: 60%;
  height: 220%;
  background: linear-gradient(110deg,
    transparent 28%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 72%);
  transform: rotate(18deg);
  pointer-events: none;
  filter: blur(8px);
  z-index: 3;
  animation: cc-light-sweep 4.5s ease-in-out infinite;
}

@keyframes cc-light-sweep {
  0%   { left: -100%; opacity: 0; }
  10%  { opacity: 1; }
  60%  { left: 180%; opacity: 1; }
  61%  { left: 180%; opacity: 0; }
  100% { left: -100%; opacity: 0; }
}

/* Light sweep en service cards: solo al hacer hover (single shot) */
.service-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -100%;
  width: 60%;
  height: 220%;
  background: linear-gradient(110deg,
    transparent 28%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 72%);
  transform: rotate(18deg);
  pointer-events: none;
  filter: blur(8px);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover::after {
  opacity: 1;
  animation: cc-light-sweep-once 1.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes cc-light-sweep-once {
  0%   { left: -100%; opacity: 0; }
  15%  { opacity: 1; }
  100% { left: 180%; opacity: 0.6; }
}

/* Hover más cinematográfico de service cards: crecen + glow + brillo */
.service-card {
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.55s ease,
    background 0.55s ease,
    box-shadow 0.55s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.04);
  border-color: rgba(255, 122, 69, 0.55);
  background: rgba(40, 18, 8, 0.65);
  box-shadow:
    0 30px 80px rgba(255, 122, 69, 0.3),
    0 0 60px rgba(255, 77, 141, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover .mini-ring-spinner {
  animation-duration: 2s;
}

/* btn-large debe poder clip el sweep */
.btn-large {
  position: relative;
  overflow: hidden;
}

/* mockup-window: contiene el light-sweep */
.case-mockup-fullscreen .mockup-window {
  position: relative;
  overflow: hidden;
}

/* Process steps: hover dramático */
.process-step {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.process-step:hover {
  transform: translateX(12px);
}

.process-step:hover .process-num-wrap {
  transform: scale(1.15);
  transition: transform 0.4s ease;
}

.process-num-wrap {
  transition: transform 0.4s ease;
}

/* Footer links: hover más vivo */
.footer-link:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(255, 122, 69, 0.2);
}

.crystal-stage-hidden {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
}

.crystal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72vh;
  height: 72vh;
  max-width: 880px;
  max-height: 880px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  will-change: transform, border-radius, width, height;
}

/* IRIS — capas iridiscentes rotando.
   Cada una es un conic-gradient enmascarado para mostrar solo el borde.
   Mix-blend-mode: screen las hace brillantes/iridiscentes al stackearse.
   Tres capas con offsets crean aberración cromática simulada (prisma). */
.iris {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-mask-image: radial-gradient(circle, transparent 46%, #000 70%);
          mask-image: radial-gradient(circle, transparent 46%, #000 70%);
  mix-blend-mode: screen;
  will-change: transform;
}

.iris-1 {
  background: conic-gradient(from 0deg,
    #ff6b9d 0%,
    #ff9ce6 11%,
    #c89cff 22%,
    #9cc5ff 33%,
    #6efcff 44%,
    #aaffaa 55%,
    #ffe27a 67%,
    #ff9c7c 79%,
    #ff6b9d 100%);
  filter: blur(22px) saturate(160%);
}

.iris-2 {
  background: conic-gradient(from 60deg,
    #ff6b9d 0%,
    #6efcff 22%,
    #ffe27a 44%,
    #c89cff 66%,
    #ff9c7c 88%,
    #ff6b9d 100%);
  filter: blur(18px) saturate(180%);
  transform: scale(0.96) translate(-6px, -4px);
  opacity: 0.85;
}

.iris-3 {
  background: conic-gradient(from 180deg,
    #aaffaa 0%,
    #ff9c7c 25%,
    #9cc5ff 50%,
    #ff6b9d 75%,
    #aaffaa 100%);
  filter: blur(28px) saturate(150%);
  transform: scale(1.04) translate(5px, 4px);
  opacity: 0.7;
}

/* RIM — borde fino más definido (contorno cristalino) */
.crystal-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-mask-image: radial-gradient(circle, transparent 64%, #000 68%, #000 72%, transparent 78%);
          mask-image: radial-gradient(circle, transparent 64%, #000 68%, #000 72%, transparent 78%);
  background: conic-gradient(from 45deg,
    #ff6b9d, #ffe27a, #aaffaa, #6efcff, #c89cff, #ff6b9d);
  filter: blur(3px) saturate(180%);
  mix-blend-mode: screen;
  opacity: 0.8;
  will-change: transform;
}

/* SPECULAR — reflejo blanco arriba-izquierda */
.crystal-spec {
  position: absolute;
  top: 18%;
  left: 22%;
  width: 28%;
  height: 22%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.18) 35%,
    transparent 75%);
  border-radius: 50%;
  filter: blur(6px);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Inertizar restos del sistema anterior */
.liquid-stage, .liquid-aura, .liquid-blobs, .blob { display: none !important; }

/* Container raíz (no es la rueda vieja — esto solo da un anchor de tamaño/escala) */
/* (cosmic-ring duplicado viejo removido) */

.cosmic-aura {
  position: absolute;
  width: 240%;
  height: 240%;
  top: -70%;
  left: -70%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 122, 69, 0.6) 0%,
    rgba(255, 77, 141, 0.45) 14%,
    rgba(255, 217, 61, 0.28) 28%,
    rgba(184, 224, 99, 0.18) 42%,
    rgba(79, 195, 247, 0.1) 55%,
    transparent 72%
  );
  filter: blur(80px);
  z-index: -1;
  will-change: transform, opacity;
}

.cosmic-stage {
  position: absolute;
  inset: 0;
  perspective: 1600px;
  perspective-origin: 50% 35%;
}

.cosmic-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(22deg) rotateY(-2deg);
  will-change: transform;
}

/* GLOW exterior — el resplandor de la forma */
.cosmic-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 0 90px rgba(255, 122, 69, 0.5),
    0 0 160px rgba(255, 77, 141, 0.35),
    0 60px 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.cosmic-tilt {
  border-radius: 50%;
}

/* CUERPO del anillo — recibe border-radius líquido por JS */
.cosmic-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: border-radius;
  /* MASK — esto crea el aro ABIERTO (centro transparente, ring real) */
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
    transparent 0%,
    transparent 32%,
    rgba(0,0,0,0.4) 38%,
    #000 46%,
    #000 100%);
          mask-image: radial-gradient(circle at 50% 50%,
    transparent 0%,
    transparent 32%,
    rgba(0,0,0,0.4) 38%,
    #000 46%,
    #000 100%);
}

/* Gradient cónico — el RGB que gira */
.cosmic-gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg,
    #FF7A45 0%,
    #FF4D8D 16%,
    #FFD93D 34%,
    #B8E063 52%,
    #4FC3F7 70%,
    #A076F9 86%,
    #FF7A45 100%
  );
  animation: ring-spin 18s linear infinite;
  will-change: transform;
}

/* Máscara interna eliminada (el aro ya está abierto vía mask-image en .cosmic-body)
   Dejamos .cosmic-mask sin background para que no genere recuadro */
.cosmic-mask {
  display: none;
}

/* TEXTURA — grano metálico encima del gradient */
.cosmic-texture {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
  animation: ring-spin 32s linear infinite reverse;
}

/* RIM — borde interno con profundidad (efecto torus) */
.cosmic-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 8px 18px rgba(255, 255, 255, 0.32),
    inset 0 -10px 22px rgba(0, 0, 0, 0.5),
    inset 8px 0 18px rgba(255, 255, 255, 0.1),
    inset -8px 0 18px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* HIGHLIGHT — luz especular fija en la parte superior */
.cosmic-highlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 30% at 50% 10%, rgba(255, 255, 255, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 30% 50% at 15% 50%, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* SHINE — barrido que cruza la rueda */
.cosmic-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg,
    transparent 30%,
    rgba(255, 255, 255, 0.32) 48%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0.32) 52%,
    transparent 70%
  );
  background-size: 220% 220%;
  background-position: 100% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: shine-sweep 6s ease-in-out infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes shine-sweep {
  0%, 100% { background-position: 110% 110%; opacity: 0.4; }
  50%      { background-position: -10% -10%; opacity: 1; }
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.6vh 2.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 42px;
}

.brand-logo {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-logo {
  opacity: 0.85;
  transform: scale(1.05);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #B8E063, #4FC3F7, #A076F9, #FF7A45);
  position: relative;
  box-shadow: 0 0 18px rgba(255, 122, 69, 0.55);
  animation: ring-spin 8s linear infinite;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #050505;
  border-radius: 50%;
}

.brand-text em {
  font-size: 1.05em;
  margin-left: 0.1em;
  opacity: 0.85;
}

/* Pill DISPONIBLE — peach gradient (mismo look en desktop y mobile) */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(255, 180, 160, 0.6);
  border-radius: 100px;
  background: linear-gradient(135deg,
    #FFD7C2 0%,
    #FFB088 40%,
    #FF8B7E 70%,
    #FF6F6F 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 18px rgba(255, 122, 100, 0.3);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0;
  font-weight: 600;
  color: #1a0a0a;
}

.nav-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a8a3a;
  box-shadow: 0 0 8px #2a8a3a;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem 0.7rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  background: #fff;
  color: #050505;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.nav-cta-arrow {
  transition: transform 0.3s ease;
}

.nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }

/* ===== INDICADORES ===== */
/* Eliminados: section-label (abajo-izq) + section-indicator (abajo-der)
   + eyebrows (las pills "02 · Lo que hacemos" en cada sección) */
.section-label,
.section-indicator,
.eyebrow {
  display: none !important;
}

.section-indicator {
  position: fixed;
  bottom: 4vh;
  right: 2.5vw;
  z-index: 90;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  padding: 0.5rem 0.8rem;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
}

.section-indicator .current {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.section-indicator .divider {
  opacity: 0.4;
}

.section-indicator .total {
  opacity: 0.55;
}

.section-label {
  position: fixed;
  bottom: 4vh;
  left: 2.5vw;
  z-index: 90;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 100px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* ===== APP CONTAINER ===== */
#app {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: 5;                    /* arriba del cosmic-ring */
}

/* ===== SECCIONES — transparentes para que la rueda se vea ===== */
.section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
  /* Por defecto invisible — evita FOUC (que se vean todas las secciones
     apiladas por un instante antes de que el JS las posicione).
     GSAP las hace visibles al inicio. */
  opacity: 0;
}
/* El hero arranca visible (la primera sección) */
.section[data-section="hero"] {
  opacity: 1;
}

.section-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 13vh 8vw 18vh;
  text-align: center;
}

/* Marquee + scroll-hint eliminados del hero */
.marquee,
.scroll-hint {
  display: none !important;
}

/* ============================================================
   GLASS PANEL GLOBAL — un solo recuadro fijo siempre visible
   (opacity 1). El backdrop-filter NUNCA se descarga del GPU
   porque el elemento nunca se vuelve invisible.
   ============================================================ */
.glass-panel-global {
  position: fixed;
  top: 9vh;                          /* más aire desde el nav/pill arriba */
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 1350px);
  height: calc(100dvh - 16vh);       /* compensa el offset top */
  background:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(0, 0, 0, 0.15) 100%);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
  opacity: 1;                                    /* SIEMPRE visible */
  transition: opacity 0.55s ease;
}

/* En el hero se oculta (el video del cliente va de fondo) */
.glass-panel-global.is-hero {
  opacity: 0;
}

/* Trazo naranja "seleccionado" — solo en la sección Polarizados */
.glass-panel-global.is-case {
  border-color: rgba(255, 145, 40, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 120, 0.35),
    0 0 60px rgba(255, 130, 30, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Las secciones no llevan glass propio — solo dan padding al contenido */
@media (min-width: 900px) {
  .section:not([data-section="hero"]) .section-inner {
    max-width: 1350px;
    margin: 9vh auto 7vh;            /* matchea con top: 9vh del panel */
    height: calc(100dvh - 16vh);
    padding: 7vh 5vw 7vh;
  }
}

@media (max-width: 899px) {
  .glass-panel-global {
    top: 3vh;
    width: 94vw;
    height: calc(100dvh - 6vh);
    border-radius: 22px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
  }
}

/* ===== PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFD93D;
  opacity: 0.7;
  box-shadow:
    0 0 8px rgba(255, 217, 61, 0.95),
    0 0 18px rgba(255, 217, 61, 0.5);
}

/* Layer global de partículas — starfield amarillo por todo el fondo */
.particles-global {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.particles-global .particle {
  animation: particle-twinkle 3s ease-in-out infinite;
}
@keyframes particle-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.particle:nth-child(1) { top: 15%; left: 12%; }
.particle:nth-child(2) { top: 25%; left: 78%; width: 3px; height: 3px; }
.particle:nth-child(3) { top: 65%; left: 18%; width: 5px; height: 5px; }
.particle:nth-child(4) { top: 75%; left: 70%; }
.particle:nth-child(5) { top: 40%; left: 88%; width: 3px; height: 3px; }
.particle:nth-child(6) { top: 55%; left: 5%; }
.particle:nth-child(7) { top: 10%; left: 50%; width: 3px; height: 3px; }
.particle:nth-child(8) { top: 85%; left: 45%; width: 5px; height: 5px; }

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF7A45;
  box-shadow: 0 0 10px #FF7A45;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

/* ===== TÍTULOS ===== */
.hero-title,
.section-title,
.cta-title,
.case-headline {
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.0;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffeadc 30%,
    #ffd9e2 50%,
    #fff5cf 70%,
    #ffffff 100%
  );
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: title-shimmer 9s ease-in-out infinite;
}

/* Degrade animado + descender visible.
   Combinación que funciona:
   - line-height: 1.3 en .hero-title y .word (da espacio al descender italic)
   - overflow: visible en padres (que no clipeen)
   - padding-bottom + margin-bottom negativo en .word-inner (extiende el área
     pintada del gradient sin afectar el layout entre líneas)
   - will-change: auto / transform: none (sin capa GPU que recorte) */
.hero-title,
.hero-title .word {
  overflow: visible !important;
  line-height: 1.3 !important;
}

.hero-title .word-inner,
.hero-title em {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffeadc 30%,
    #ffd9e2 50%,
    #fff5cf 70%,
    #ffffff 100%
  );
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: title-shimmer 9s ease-in-out infinite;
  display: inline-block;
  padding: 0 0.02em 0.5em;
  margin-bottom: -0.5em;
  overflow: visible;
  vertical-align: baseline;
  will-change: auto;
  transform: none;
  line-height: 1.3;
}

@keyframes title-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-title,
.case-headline {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: clamp(3rem, 8.5vw, 8rem);
  margin-bottom: 1rem;
}

.hero-title em,
.section-title em,
.cta-title em,
.case-headline em {
  font-size: 1.18em;
  letter-spacing: -0.01em;
  margin-left: 0.02em;
}

.word {
  display: inline-block;
  vertical-align: baseline;
}

.word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* ===== HERO ===== */
.hero-inner {
  gap: 0;
  padding: 14vh 8vw 22vh;
}

.hero-sub {
  margin-top: 2.4rem;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  letter-spacing: 0.04em;
  opacity: 0.85;
  font-weight: 300;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== BOTONES ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem 0.95rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.005em;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(20, 20, 20, 0.75);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary {
  background: #fff;
  color: #050505;
  border-color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: #050505;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(10, 10, 10, 0.4);
}

.btn-large {
  padding: 1.4rem 2.4rem 1.4rem 2.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  color: #050505;
  border-color: #fff;
  margin-top: 1.2rem;
  text-decoration: none;
}

/* CTA buttons row — Llámanos + WhatsApp lado a lado */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* Variante WhatsApp del botón grande — verde brand WhatsApp */
.btn-large-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-large-wa .btn-glow {
  background: conic-gradient(from 0deg, #25D366, #128C7E, #25D366);
  filter: blur(35px);
}

.btn-large-wa:hover {
  background: #1EBE5C;
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.45);
}

.btn-wa-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.2rem;
}

/* Hero CTAs ahora con glow rotando (igual que el CTA principal) */
.btn-with-glow {
  position: relative;
  text-decoration: none;
}

.btn-with-glow .btn-glow {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #FF7A45);
  filter: blur(25px);
  opacity: 0.65;
  z-index: -1;
  animation: ring-spin 4.5s linear infinite;
}

/* Variante WhatsApp tamaño hero (verde brand) */
.btn-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-wa:hover {
  background: #1EBE5C;
  border-color: #1EBE5C;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
}
.btn-with-glow.btn-wa .btn-glow {
  background: conic-gradient(from 0deg, #25D366, #128C7E, #25D366);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-whatsapp .btn-glow {
  background: conic-gradient(from 0deg, #25D366, #128C7E, #1EBE5C, #25D366);
  filter: blur(28px);
  opacity: 0.7;
}

.btn-whatsapp:hover {
  background: #1EBE5C;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.4);
}

.btn-large .btn-glow {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #B8E063, #4FC3F7, #A076F9, #FF7A45);
  filter: blur(35px);
  opacity: 0.75;
  z-index: -1;
  animation: ring-spin 4s linear infinite;
}

.btn-large:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 60px rgba(255, 122, 69, 0.45);
}

/* ===== MARQUEE ===== */
.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  overflow: hidden;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-slide 28s linear infinite;
}

.marquee-item {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.78;
}

.marquee-item:nth-child(4n+1) {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  opacity: 0.95;
}

.marquee-dot {
  font-size: 0.4rem;
  opacity: 0.5;
}

@keyframes marquee-slide {
  to { transform: translateX(-50%); }
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.5;
  z-index: 5;

}

.scroll-hint-arrow {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* ============================================================
   MOMENTO 2 · SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 3rem auto 2rem;
}

/* ============================================================
   SERVICIOS — layout editorial 2 columnas asimétricas
   Título a la izquierda, cards apiladas a la derecha
   ============================================================ */
.services-grid-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  gap: 5vw;
  align-items: center;
  align-content: center;
  text-align: left;
  padding: 9vh 5vw;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  justify-content: stretch;
}

.services-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}

.services-left-col .eyebrow {
  margin-bottom: 0;
}

.services-left-col .section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  text-align: left;
  margin-bottom: 0;
  text-wrap: balance;                /* el browser balancea las líneas */
}

.services-left-col .section-footer-line {
  margin-top: 0.5rem;
  text-align: left;
}

/* Stack vertical de cards (en la columna derecha) */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  margin: 0;
}

.services-stack .service-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num name ring"
    "num desc ring"
    "num tags ring";
  align-items: center;
  gap: 0.4rem 1.4rem;
  padding: 1.5rem 1.8rem;
}

.services-stack .service-num {
  grid-area: num;
  margin: 0;
  font-size: 2.6rem;
  align-self: center;
  opacity: 0.55;
}

.services-stack .service-name {
  grid-area: name;
  margin: 0;
  font-size: 1.5rem;
}

.services-stack .service-desc {
  grid-area: desc;
  margin: 0;
  font-size: 0.88rem;
}

.services-stack .service-tags {
  grid-area: tags;
  margin-top: 0.3rem;
}

.services-stack .service-card-mini-ring {
  grid-area: ring;
  position: static;
  align-self: center;
  width: 36px;
  height: 36px;
}

/* GLASSMORPHISM PREMIUM — cards de vidrio con highlight de borde,
   reflejos sutiles, backdrop muy blureado, saturate alto */
/* Cards GLASSMORPHISM clarito — translúcido con backdrop blur fuerte */
.service-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(0, 0, 0, 0.2) 100%);
  backdrop-filter: blur(36px) saturate(170%);
  -webkit-backdrop-filter: blur(36px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease;
}

/* Highlight reflejo arriba (simula luz que pega en el cristal) */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 100%);
  pointer-events: none;
  border-radius: 22px 22px 0 0;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.06);
  border-color: rgba(255, 122, 69, 0.5);
  background: linear-gradient(165deg, #2a1c22 0%, #1c1018 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 35px 80px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(255, 122, 69, 0.35);
}

/* Featured card glass con tinte naranja sutil */
.service-card-featured {
  border-color: rgba(255, 122, 69, 0.4);
  background:
    linear-gradient(165deg,
      rgba(255, 122, 69, 0.12) 0%,
      rgba(255, 77, 141, 0.05) 50%,
      rgba(40, 18, 8, 0.3) 100%);
}

/* Mini-ring rotando ELIMINADO de las service-cards
   (eran las líneas que veías cruzando) */
.service-card-mini-ring {
  display: none !important;
}

.mini-ring-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #B8E063, #4FC3F7, #A076F9, #FF7A45);
  animation: ring-spin 6s linear infinite;
}

/* Pero LO MANTENGO en process steps (timeline) y otros usos */
.process-mini-ring {
  display: block;
}

.mini-ring-spinner::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #0a0a0a;
  border-radius: 50%;
}

.service-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2.4rem;
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 2.2rem;
}

.service-name {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.service-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-footer-line {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  margin-top: 2rem;
  opacity: 0.95;
  font-weight: 300;

}

.line-emphasis {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.18em;
  background: linear-gradient(90deg, #FF7A45, #FF4D8D, #FFD93D);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   MOMENTO 3 · CASO POLARIZADOS
   ============================================================ */
.case-inner {
  padding: 12vh 4vw 14vh;
  gap: 1.2rem;
  justify-content: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================================
   POLARIZADOS — layout magazine 2 columnas asimétricas
   ============================================================ */
.case-inner-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.3fr);
  gap: 5vw;
  align-items: center;
  align-content: center;
  text-align: left;
  padding: 9vh 5vw;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  justify-content: stretch;
}

.case-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;                       /* todo centrado */
  text-align: center;
}

.case-left-col .eyebrow {
  margin-bottom: 0;
}

/* Tag "Últimos trabajos" — IDÉNTICO al botón Llámanos (blanco + glow rotando) */
.case-section-tag {
  position: relative;
  display: inline-flex;
  align-self: center;
  align-items: center;
  padding: 0.95rem 1.6rem 0.95rem 1.8rem;
  border: 1px solid #fff;
  border-radius: 100px;
  background: #fff;
  color: #050505;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden;
  margin-bottom: 1.4rem;
  z-index: 1;
}

.case-section-tag::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #FF7A45);
  filter: blur(25px);
  opacity: 0.65;
  z-index: -1;
  animation: ring-spin 4.5s linear infinite;
}

/* Glow exclusivo de la sección Polarizados — naranja-amarillo sutil pero visible */
.case-section-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 70% at 50% 55%,
      rgba(255, 175, 60, 0.45) 0%,
      rgba(255, 140, 30, 0.28) 30%,
      rgba(255, 110, 20, 0.14) 55%,
      transparent 82%);
}

/* Label "Nuevo sitio" en serif italic — mismo blanco que el resto */
.case-project-label {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  opacity: 0.8;
  margin-bottom: -0.4rem;
}

.case-left-col .case-headline {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  text-align: center;
  margin-bottom: 0.5rem;
}

.case-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto;                /* centrado horizontalmente */
}

.case-meta-stack .case-meta-chip {
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
}

.case-meta-stack .meta-chip-label {
  flex: 0 0 auto;
}

.case-meta-stack .meta-chip-value {
  text-align: right;
}

.case-left-col .case-quote {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  margin-top: 0.5rem;
}

.case-left-col .case-author {
  margin-top: 0.2rem;
}

.case-left-col .case-link {
  margin-top: 1rem;
  align-self: center;                /* botón centrado también en desktop */
}

.case-right-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.case-right-col .case-mockup-fullscreen {
  margin: 0;
  max-width: 100%;
  flex: none;
  width: 100%;
}

.case-headline {
  margin-bottom: 0.8rem;
}

.case-meta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.case-meta-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(18, 14, 22, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  text-align: left;
  min-width: 110px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.case-meta-chip:hover {
  transform: scale(1.05);
  border-color: rgba(255, 122, 69, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 122, 69, 0.15);
}

.case-meta-chip-link {
  border-color: rgba(255, 122, 69, 0.45);
  background: rgba(40, 18, 8, 0.6);
}

.meta-chip-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}

.meta-chip-value {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-meta-chip-link .meta-chip-value {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
}

.case-mockup-fullscreen {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1800px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-mockup-fullscreen .mockup-window {
  width: 100%;
  border-radius: 18px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(255, 122, 69, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateX(3deg) rotateY(-4deg);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.5s ease;
}

.case-mockup-fullscreen:hover .mockup-window {
  transform: rotateX(3deg) rotateY(-4deg) scale(1.03);
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.85),
    0 0 140px rgba(255, 122, 69, 0.45);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.1rem;
  background: rgba(20, 20, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dot-red    { background: #FF5F57; }
.mockup-dot-yellow { background: #FEBC2E; }
.mockup-dot-green  { background: #28C840; }

.mockup-url {
  margin-left: 1rem;
  padding: 0.3rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
  flex: 1;
  text-align: center;
}

.mockup-actions {
  display: flex;
  gap: 0.45rem;
  opacity: 0.5;
}

.mockup-action {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.mockup-content {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

/* Imagen/video real del hero del cliente — cover sobre un contenedor 16:9
   (definido en .mockup-content). Como las proporciones matchean, no se recorta
   nada visible y el logo + navbar quedan visibles igual que en mobile. */
.mockup-real-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 5;
  display: block;
  background: #0a0a0a;
}

/* Como ahora usamos un VIDEO real, ya no necesitamos el fallback estilizado
   detrás. Lo escondemos completamente para que no asome por ningún lado. */
.mockup-content-styled .mockup-content-nav,
.mockup-content-styled .mockup-content-hero,
.mockup-content-styled .mockup-gradient {
  display: none !important;
}

/* ===== Screenshot REAL del sitio Polarizados ===== */
.mockup-content-real {
  background: #0a0a0a;
  min-height: 56vh;
  max-height: 60vh;
  position: relative;
}

.case-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
}

.case-screenshot-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  z-index: 1;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #FF7A45;
  border-radius: 50%;
  animation: ring-spin 0.9s linear infinite;
}

.mockup-content-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-nav-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.mockup-nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  opacity: 0.75;
}

.mockup-nav-cta {
  padding: 0.45rem 1rem;
  background: #fff;
  color: #0a0a0a;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mockup-content-hero {
  position: relative;
  z-index: 3;
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.mockup-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
  text-transform: uppercase;
}

.mockup-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.mockup-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
}

.mockup-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.mockup-cta {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: #fff;
  color: #0a0a0a;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.mockup-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 30%, rgba(255, 122, 69, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 100%, rgba(255, 77, 141, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(184, 224, 99, 0.3), transparent 60%);
  filter: blur(2px);
  z-index: 1;
}

.mockup-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -8%;
  height: 25%;
  background: radial-gradient(ellipse, rgba(255, 77, 141, 0.45), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.case-footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 1.5rem auto 0;
  align-items: flex-end;
  text-align: left;
}

.case-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.95);

}

.quote-mark, .quote-mark-close {
  color: #FF7A45;
  font-size: 1.3em;
  vertical-align: -0.08em;
}

.case-footer-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  text-align: right;
}

.case-author {
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.02em;

}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.8rem 1.3rem;
  border: 1px solid rgba(255, 122, 69, 0.4);
  background: rgba(40, 18, 8, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.case-link:hover {
  transform: translateY(-2px);
  background: rgba(60, 25, 12, 0.7);
  border-color: rgba(255, 122, 69, 0.7);
}

.case-link .link-arrow {
  transition: transform 0.3s ease;
}

.case-link:hover .link-arrow { transform: translate(3px, -3px); }

/* ============================================================
   MOMENTO 4 · PROCESO
   ============================================================ */
.process-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 740px;
  margin: 3rem auto 0;
  text-align: left;
}

/* ============================================================
   PROCESO TIMELINE HORIZONTAL — 3 pasos conectados por línea
   Limpio, claro, no rota nada, no hay centro raro.
   ============================================================ */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  width: 100%;
}

.timeline-track {
  position: absolute;
  top: 50px;                             /* alineado con centro de circles */
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(255, 122, 69, 0.6),
    rgba(255, 77, 141, 0.6),
    rgba(255, 217, 61, 0.6));
  filter: drop-shadow(0 0 8px rgba(255, 122, 69, 0.4));
  z-index: 0;
}

.process-timeline .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #FF7A45, #FF6F61, #FF4D8D, #FFAB66, #FFD93D, #FF7A45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cosmic-spin 8s linear infinite;
  box-shadow: 0 0 30px rgba(255, 122, 69, 0.35);
}

/* Interior glass cálido (no más negro feo) — se filtra el glow del fondo */
.step-circle-bg {
  position: absolute;
  inset: 5px;
  background: rgba(30, 20, 18, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: 50%;
  z-index: 1;
}

.step-num {
  position: relative;
  z-index: 2;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 400;
  color: #fff;
  /* contrarresta rotación del padre */
  animation: cosmic-spin 8s linear infinite reverse;
}

.process-timeline .process-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  max-width: 280px;
}

.process-timeline .process-word {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  text-align: center;
}

.process-timeline .process-desc {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  opacity: 0.75;
  text-align: center;
  line-height: 1.4;
}

/* Responsive: timeline colapsa a vertical */
@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 320px;
  }
  .timeline-track {
    display: none;
  }
  .step-circle { width: 80px; height: 80px; }
  .step-num { font-size: 1.5rem; }
}

/* ============================================================
   PROCESO RADIAL — sistema visual tipo dashboard:
   3 nodos en triángulo (12, 4, 8 o'clock) alrededor de un centro
   ============================================================ */
.process-radial {
  position: relative;
  width: min(58vh, 640px);
  height: min(58vh, 640px);
  margin: 2.5rem auto 0;
}

.radial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.radial-line {
  stroke: rgba(255, 122, 69, 0.4);
  stroke-width: 0.3;
  stroke-dasharray: 1 1.5;
  animation: dash-flow 6s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -10; }
}

/* Centro: pequeño aro brand con label */
.radial-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #FF7A45, #FF4D8D, #FFD93D, #FF7A45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  animation: cosmic-spin 18s linear infinite;
  box-shadow: 0 0 40px rgba(255, 122, 69, 0.4);
}

.radial-center::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: #0a0a0a;
  border-radius: 50%;
  z-index: -1;
}

.radial-center-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  /* contrarresta la rotación del padre para que el texto no rote */
  animation: cosmic-spin 18s linear infinite reverse;
}

.radial-center-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-top: 0.1rem;
  animation: cosmic-spin 18s linear infinite reverse;
}

/* Nodos: posicionados absolutamente en triángulo */
.process-radial .radial-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  z-index: 2;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(18, 14, 22, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.process-radial .radial-node:hover {
  transform: scale(1.08);
  border-color: rgba(255, 122, 69, 0.5);
  box-shadow: 0 0 60px rgba(255, 122, 69, 0.25);
}

/* Posiciones de los nodos */
.node-top   { top: -8%; left: 50%; transform: translateX(-50%); }
.node-right { bottom: 0%; right: -8%; }
.node-left  { bottom: 0%; left: -8%; }

.node-top:hover   { transform: translateX(-50%) scale(1.08); }
.node-right:hover { transform: scale(1.08); }
.node-left:hover  { transform: scale(1.08); }

/* Override del num-wrap dentro del radial para que sea centrado */
.process-radial .process-num-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.process-radial .process-num {
  font-size: 1.5rem;
}

.process-radial .process-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.process-radial .process-word {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  text-align: center;
}

.process-radial .process-desc {
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
}

/* Responsive: radial colapsa a vertical en mobile */
@media (max-width: 768px) {
  .process-radial {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .radial-svg, .radial-center { display: none; }
  .process-radial .radial-node {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.6rem;
  padding: 1.5rem 0;
  align-items: center;
}

.process-num-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-mini-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}

.process-mini-ring .mini-ring-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FF7A45, #FF4D8D, #FFD93D, #B8E063, #4FC3F7, #A076F9, #FF7A45);
  animation: ring-spin 8s linear infinite;
}

.process-mini-ring .mini-ring-spinner::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: #0a0a0a;
  border-radius: 50%;
}

.process-num {
  position: relative;
  z-index: 2;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
}

.process-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.process-word {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;

}

.process-desc {
  font-size: 0.95rem;
  opacity: 0.75;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.process-line {
  position: absolute;
  left: 40px;
  top: 100%;
  width: 1px;
  height: calc(100% - 80px);
  background: linear-gradient(180deg, rgba(255, 122, 69, 0.5), rgba(255, 77, 141, 0.2));
  transform-origin: top;
}

/* ============================================================
   MOMENTO 5 · CTA + PRICING
   ============================================================ */
.cta-inner {
  gap: 0;
}

.cta-sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  opacity: 0.85;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;

}

.pricing-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pricing-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 0.2rem 1.5rem;
}

.pricing-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.pricing-value {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.pricing-value em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  background: linear-gradient(90deg, #FF7A45, #FF4D8D, #FFD93D);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.1em;
  display: inline-block;
  line-height: 1.3;
  padding: 0.05em 0.05em 0.1em;
}

.pricing-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-icon {
  font-size: 1rem;
}

.particles-cta .particle {
  background: linear-gradient(135deg, #FF7A45, #FF4D8D);
  box-shadow: 0 0 12px rgba(255, 122, 69, 0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.section-footer {
  background: transparent;
}

.footer-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12vh 6vw;
  text-align: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffe9d6 25%,
    #ffd9b8 50%,
    #ffe9d6 75%,
    #ffffff 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: tagline-shimmer 14s ease-in-out infinite;
}

.footer-tagline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
}

@keyframes tagline-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.footer-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 69, 0.6);
  background: rgba(40, 18, 8, 0.6);
}

.footer-link .link-arrow {
  transition: transform 0.3s ease;
}

.footer-link:hover .link-arrow { transform: translate(3px, -3px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin-top: 4rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.footer-end {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1em;
  opacity: 0.85;
}

/* ============================================================
   DOT NAV LATERAL
   ============================================================ */
.dot-nav {
  position: fixed;
  right: 2.2vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 80;
}

.dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: background 0.4s ease, transform 0.4s ease, width 0.4s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.5);
}

.dot.is-active {
  background: #FF7A45;
  width: 22px;                                      /* dot activo se vuelve barra */
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(255, 122, 69, 0.6);
}

.dot-label {
  position: absolute;
  right: 38px;                          /* más aire — no pegado al dot */
  top: 50%;
  transform: translateY(-50%) translateX(14px);
  white-space: nowrap;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 0.78rem;
  letter-spacing: 0;
  font-weight: 500;
  color: #fff !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  /* Glassmorphism real, mismo estilo que el resto del sitio */
  background: rgba(18, 14, 22, 0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.dot:hover .dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   BACK TO TOP — botón circular MISMO TAMAÑO que WhatsApp
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 11vh;                          /* misma altura que WhatsApp */
  left: 2vw;                             /* lado izquierdo */
  width: 60px;                            /* = WhatsApp */
  height: 60px;
  border-radius: 50%;
  background: rgba(18, 14, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 94;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255, 122, 69, 0.25);
  border-color: rgba(255, 122, 69, 0.6);
}

.back-to-top svg {
  display: block;
}

/* ============================================================
   WHATSAPP FLOATING — fijo bottom-right, separado del indicador
   ============================================================ */
.wa-floating {
  position: fixed;
  bottom: 11vh;                         /* arriba del section-indicator */
  right: 2vw;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  z-index: 95;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.5),
    0 0 45px rgba(37, 211, 102, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
              box-shadow 0.35s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}

.wa-floating:hover {
  transform: scale(1.12);
  box-shadow:
    0 16px 40px rgba(37, 211, 102, 0.6),
    0 0 80px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow:
      0 12px 30px rgba(37, 211, 102, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  60%, 100% {
    box-shadow:
      0 12px 30px rgba(37, 211, 102, 0.5),
      0 0 0 18px rgba(37, 211, 102, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* ============================================================
   RESPONSIVE — overhaul completo
   ============================================================ */

/* Prevenir overflow horizontal en todo el sitio */
html, body, #app {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ===== TABLET (≤ 1100px) ===== */
@media (max-width: 1100px) {
  .cosmic-ring { width: 70vh; height: 70vh; }
  .hero-title { font-size: clamp(2.4rem, 6.5vw, 5.5rem); }
  .case-headline { font-size: clamp(2.2rem, 5vw, 4rem); }
}

/* ===== TABLET / PHONE GRANDE (≤ 900px) ===== */
@media (max-width: 900px) {
  .nav-pill { display: none; }

  /* Grids 2 col → 1 col */
  .services-grid-editorial,
  .case-inner-grid,
  .case-footer-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 480px; }

  /* Mockup sin tilt 3D — overflow */
  .case-mockup-fullscreen .mockup-window {
    transform: none !important;
  }

  .case-meta-stack { max-width: 100%; }
  .cosmic-ring { width: 60vh; height: 60vh; }
}

/* ===== PHONE (≤ 768px) — donde estaba todo roto ===== */
@media (max-width: 768px) {
  html, body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor, .cursor-trail { display: none; }

  /* === NAVBAR === */
  .nav {
    padding: 1rem 4vw;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .brand { height: 32px; }
  .nav-cta {
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem;
  }

  /* Pill DISPONIBLE en mobile — FIJA abajo-centro, pequeña */
  .nav-pill {
    display: inline-flex !important;
    position: fixed;
    bottom: calc(4vh + 13px);            /* centro alineado con los botones 52×52 */
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    padding: 0.4rem 0.85rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: #1a0a0a;
    background: linear-gradient(135deg,
      #FFD7C2 0%,
      #FFB088 40%,
      #FF8B7E 70%,
      #FF6F6F 100%) !important;
    border: 1px solid rgba(255, 180, 160, 0.6);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 6px 16px rgba(255, 122, 100, 0.3);
    z-index: 90;
    width: auto;
    margin: 0;
    gap: 0.4rem;
  }
  .nav-pill-dot {
    background: #2a8a3a;
    box-shadow: 0 0 6px #2a8a3a;
    width: 5px;
    height: 5px;
  }

  /* Back-to-top mismo tamaño que WhatsApp en mobile, lado izquierdo */
  .back-to-top {
    width: 52px;                            /* = WhatsApp mobile */
    height: 52px;
    bottom: 4vh;                            /* misma altura que WhatsApp */
    left: 4vw;                              /* lado izquierdo */
    right: auto;
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  /* === COSMIC RING fondo === */
  .cosmic-ring-wrap { width: 70vh !important; height: 70vh !important; }

  /* === GLASS PANEL — más chico, con aire para pill abajo + dots der === */
  .glass-panel-global {
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    width: 86vw;                              /* aire a los lados (no toca dots) */
    height: calc(100dvh - 22vh);              /* aire abajo (no toca pill) */
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 8, 14, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 20px 50px rgba(0, 0, 0, 0.4);
  }
  .glass-panel-global.is-hero { opacity: 0; }

  /* TODAS las secciones no-hero deben encajar EXACTO con el glass panel
     (top: 8vh, height: calc(100dvh - 22vh)) → así nada se sale del recuadro */
  .section:not([data-section="hero"]) .section-inner {
    margin-top: 8vh;
    height: calc(100dvh - 22vh);
    max-height: calc(100dvh - 22vh);
    overflow: hidden;
  }

  /* ========================================================
     GPU LAYER HINTS — iOS Safari sufre cuando varios elementos
     con backdrop-filter / opacity se animan a la vez. La
     técnica oficial es decirle al browser POR ANTICIPADO
     "este elemento va a cambiar opacity, dale su capa GPU
     pre-warmed". Eso ELIMINA el stutter en el fade-in.
     ======================================================== */
  /* NO incluimos .hero-title .word-inner aquí — su descender italic
     ("p" de "planeta") se corta cuando el elemento tiene su propia capa
     GPU porque la layer recorta al box del elemento. El fix con padding-
     bottom + margin negativo necesita que NO haya translateZ. */
  .section-title .word-inner,
  .case-headline .word-inner,
  .cta-title .word-inner,
  .hero-sub,
  .cta-sub,
  .eyebrow,
  .service-card,
  .case-meta-chip,
  .case-section-tag,
  .case-project-label,
  .case-quote,
  .case-author,
  .case-link,
  .process-step,
  .pricing-row,
  .btn,
  .btn-large,
  .case-mockup-fullscreen,
  .footer-brand,
  .footer-tagline,
  .footer-link,
  .footer-bottom,
  .section-footer-line {
    will-change: opacity, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* Centrado VERTICAL respecto al recuadro — el contenido aprovecha
     el espacio del panel y queda balanceado arriba/abajo */
  .services-grid-editorial,
  .case-inner.case-inner-grid {
    align-content: center !important;
    align-items: center !important;
  }


  /* DURANTE la animación de entrada de cada sección, QUITAMOS el
     backdrop-filter de los hijos animados (iOS Safari pelea contra
     backdrop-filter + opacity simultáneos → stutter).
     Estructura: base state tiene la transition (para el restore suave),
     .animating-in snap a none con transition:none (cambio instantáneo). */
  .service-card,
  .case-meta-chip,
  .case-section-tag,
  .pricing-row,
  .mockup-window,
  .btn,
  .btn-large,
  .eyebrow {
    transition: backdrop-filter 0.45s ease 0.2s,
                -webkit-backdrop-filter 0.45s ease 0.2s;
  }
  .section.animating-in .service-card,
  .section.animating-in .case-meta-chip,
  .section.animating-in .case-section-tag,
  .section.animating-in .pricing-row,
  .section.animating-in .mockup-window,
  .section.animating-in .btn,
  .section.animating-in .btn-large,
  .section.animating-in .eyebrow,
  .section.animating-out .service-card,
  .section.animating-out .case-meta-chip,
  .section.animating-out .case-section-tag,
  .section.animating-out .pricing-row,
  .section.animating-out .mockup-window,
  .section.animating-out .btn,
  .section.animating-out .btn-large,
  .section.animating-out .eyebrow {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
  }

  /* === SECTION INNER — matchea las dimensiones del glass panel === */
  .section-inner,
  .section:not([data-section="hero"]) .section-inner {
    padding: 9vh 5vw 9vh !important;
    margin: 8vh auto !important;
    height: calc(100dvh - 22vh) !important;
    max-width: 86vw !important;
    width: 86vw !important;
    text-align: center;
  }

  /* === HERO === */
  .hero-title br { display: none; }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1.05;
  }
  .hero-sub { font-size: 0.95rem; }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 0.7rem;
    align-items: center;
  }
  .hero-cta-row .btn {
    width: 90%;
    max-width: 320px;
    justify-content: center;
  }
  .marquee { padding: 0.9rem 0; }
  .marquee-item { font-size: 0.82rem; }
  .marquee-track { gap: 1.6rem; }
  .scroll-hint { bottom: 11vh; font-size: 0.62rem; }

  /* === SERVICIOS — aprovecha el espacio del recuadro, centrado vertical === */
  .services-grid-editorial {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 4vh 5vw;
    align-content: center;
  }
  .services-left-col .section-title {
    font-size: clamp(1.55rem, 5.2vw, 2rem) !important;
    line-height: 1.05;
    margin-bottom: 0 !important;
  }
  .services-left-col .section-footer-line {
    font-size: 0.88rem !important;
    margin-top: 0.35rem !important;
  }
  .services-left-col {
    gap: 0.5rem !important;
  }

  /* === PERFORMANCE — backdrop-filter MUCHO más liviano en mobile.
     El GPU del celular sufre con blurs grandes en muchos elementos
     a la vez. Bajamos el blur de los glass elements grandes/visibles
     (NO incluimos .nav-pill porque su override mobile es peach sólido). */
  .case-section-tag,
  .service-card,
  .case-meta-chip,
  .pricing-row,
  .back-to-top,
  .mockup-window,
  .glass-panel-global {
    backdrop-filter: blur(10px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
  }

  .services-left-col {
    align-items: center;
    text-align: center;
  }
  .services-left-col .section-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
    text-align: center;
  }
  .services-left-col .section-footer-line {
    text-align: center;
    font-size: 1rem;
  }
  .services-stack { gap: 0.7rem; }
  .services-stack .service-card {
    padding: 0.95rem 1.1rem;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num name"
      "num desc"
      "tags tags";
    gap: 0.3rem 0.8rem !important;
  }
  .services-stack .service-num { font-size: 1.7rem; }
  .services-stack .service-name { font-size: 1.1rem; }
  .services-stack .service-desc { font-size: 0.78rem; line-height: 1.3; }
  .services-stack .tag { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
  .services-stack .service-tags { gap: 0.4rem !important; margin-top: 0.25rem; }
  /* Sin mini-ring en mobile tampoco */
  .services-stack .service-card-mini-ring { display: none !important; }

  /* === POLARIZADOS (case) — encaja EXACTO con el recuadro
     Glass panel mobile: top 8vh + height calc(100dvh - 22vh)
     Padding 5vh arriba/abajo para que el pill y el mockup NO toquen
     el trazo del recuadro */
  .case-inner.case-inner-grid {
    grid-template-columns: 1fr !important;
    padding: 5vh 5vw !important;
    gap: 0.25rem;
    margin-top: 8vh !important;
    height: calc(100dvh - 22vh) !important;
    overflow: hidden;
    align-content: center;
    align-items: center;
  }
  .case-inner.case-inner-grid::-webkit-scrollbar {
    display: none;
  }
  .case-left-col {
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
  .case-headline {
    font-size: clamp(1.2rem, 4.8vw, 1.6rem);
    line-height: 1.05;
    text-align: center;
    margin-bottom: 0 !important;
  }
  .case-meta-stack {
    max-width: 100%;
    gap: 0.25rem;
    margin: 0.2rem 0;
  }
  .case-meta-stack .case-meta-chip {
    padding: 0.32rem 0.7rem;
    width: 100%;
    min-width: 0;
    border-radius: 10px;
  }
  .case-meta-stack .meta-chip-label { font-size: 0.5rem; }
  .case-meta-stack .meta-chip-value { font-size: 0.72rem; }
  .case-quote { font-size: 0.74rem; line-height: 1.35; margin-top: 0.1rem; }
  .case-author { font-size: 0.65rem; opacity: 0.7; margin-top: 0.05rem; }
  .case-left-col .case-link,
  .case-link {
    align-self: center !important;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    margin-top: 0.15rem;
  }
  .case-project-label { font-size: 1rem !important; margin-bottom: 0 !important; }
  .case-section-tag {
    padding: 0.5rem 1.1rem !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
  }

  /* Mockup compacto — sin tilt 3D, sin sombras pesadas que ensucian el corner */
  .case-mockup-fullscreen {
    max-width: 68%;
    margin-top: 0.15rem;
  }
  .case-mockup-fullscreen .mockup-window {
    transform: none !important;
    width: 100%;
    border-radius: 12px;
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
  .mockup-bar { padding: 0.55rem 0.7rem; }
  .mockup-dot { width: 8px; height: 8px; }
  .mockup-url { font-size: 0.58rem; padding: 0.15rem 0.5rem; }
  .mockup-actions { display: none; }
  .mockup-content { min-height: 0; aspect-ratio: 16 / 9; }
  .mockup-content-nav { padding: 0.5rem 0.8rem; }
  .mockup-nav-brand { font-size: 0.6rem; letter-spacing: 0.12em; }
  .mockup-nav-links { display: none; }
  .mockup-nav-cta { font-size: 0.55rem; padding: 0.25rem 0.55rem; }
  .mockup-content-hero { padding: 1.4rem 0.9rem; gap: 0.35rem; }
  .mockup-eyebrow { font-size: 0.58rem; letter-spacing: 0.12em; }
  .mockup-title { font-size: clamp(1.1rem, 4.5vw, 1.4rem); line-height: 1.08; }
  .mockup-subtitle { font-size: 0.62rem; }
  .mockup-cta { font-size: 0.62rem; padding: 0.4rem 0.85rem; margin-top: 0.5rem; }

  /* === PROCESO MOBILE — lista limpia, sin círculos grandes === */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 100%;
    margin-top: 1.5rem;
  }
  .timeline-track { display: none; }

  /* Cada step pasa a fila horizontal: número | (palabra + desc) */
  .process-timeline .timeline-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .process-timeline .timeline-step:last-child { border-bottom: none; }

  /* El "círculo" pasa a un número grande sin aro de colores */
  .process-timeline .step-circle {
    width: auto;
    height: auto;
    background: none !important;
    animation: none !important;
    box-shadow: none;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
  }
  .process-timeline .step-circle-bg { display: none; }
  .process-timeline .step-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: rgba(255, 122, 69, 0.85);       /* color brand */
    animation: none !important;
  }

  .process-timeline .process-content {
    align-items: flex-start;
    text-align: left;
    gap: 0.15rem;
    max-width: 100%;
  }
  .process-timeline .process-word {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
  }
  .process-timeline .process-desc {
    font-size: 0.78rem;
    text-align: left;
    line-height: 1.3;
    opacity: 0.7;
  }

  /* Título del proceso más sutil — sin la "Nada más" gigante en serif */
  .section-process .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    line-height: 1.05;
  }
  .section-process .section-title em {
    font-size: 1em;                        /* el em no se hace más grande en mobile */
    opacity: 0.7;
  }

  /* === CTA === */
  .cta-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .cta-sub { font-size: 0.92rem; }
  .pricing-row {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 22px;
    margin: 0 auto;
    width: fit-content;
    max-width: 90%;
  }
  .pricing-divider { width: 80%; height: 1px; }
  .btn-large {
    padding: 0.8rem 1.4rem;
    font-size: 0.88rem;
    width: 72%;
    max-width: 240px;
    justify-content: center;
  }
  /* Botones del CTA: más pegados entre sí + un poco más abajo */
  .cta-buttons {
    gap: 0.3rem;
    margin-top: 2.2rem;
  }
  .cta-meta { gap: 0.8rem; font-size: 0.72rem; }

  /* === FOOTER === */
  .footer-inner { padding: 10vh 5vw; gap: 1.5rem; }
  .footer-tagline { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .footer-links { gap: 0.5rem; }
  .footer-link { padding: 0.65rem 1.1rem; font-size: 0.82rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.68rem;
    text-align: center;
    width: 80%;                          /* línea no se sale del recuadro */
    margin-left: auto;
    margin-right: auto;
  }

  /* === WHATSAPP FLOATING === */
  .wa-floating {
    width: 52px;
    height: 52px;
    bottom: 4vh;
    right: 4vw;
  }
  .wa-floating svg { width: 24px; height: 24px; }

  /* === DOT NAV — más pequeño y pegado al borde === */
  .dot-nav {
    right: 0.6rem;
    gap: 0.7rem;
  }
  .dot {
    width: 5px;
    height: 5px;
  }
  .dot.is-active {
    width: 16px;
  }
  .dot-label { display: none; }
}

/* ===== PHONE PEQUEÑO (≤ 420px) ===== */
@media (max-width: 420px) {
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 0.85rem; }
  .case-headline { font-size: 1.7rem; }
  .section-title { font-size: 1.7rem; }
  .cta-title { font-size: 1.9rem; }
  .btn { padding: 0.8rem 1.2rem; font-size: 0.85rem; }
  .marquee-item { font-size: 0.74rem; }
}
