* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  background: #04060C
}

/* A11y Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 4px;
}

body {
  overflow-x: hidden
}

/* ===== LAYER 0: v40 narrative particles (ALWAYS FIXED BACKGROUND) ===== */
#c {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: block !important;
  z-index: 0 !important;
}

/* ===== LAYER 1: Hero particle canvas (FIXED, covers full screen) ===== */
#hero-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 5 !important;
  pointer-events: none !important;
  will-change: opacity;
}

#hero-overlay canvas {
  pointer-events: auto !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 2 !important;
  transition: opacity 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  cursor: pointer !important;
}

.hero-static-text {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-family: 'Figtree', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #d4eeff !important;
  text-shadow: 0 0 15px rgba(98, 206, 255, 0.4), 0 0 30px rgba(98, 206, 255, 0.2) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0;
  transition: opacity 1.2s ease-in-out !important;
}

@keyframes textPulseHint {
  0% {
    transform: scale(1);
    text-shadow: 0 0 15px rgba(98, 206, 255, 0.4), 0 0 30px rgba(98, 206, 255, 0.2);
  }

  50% {
    transform: scale(1.03);
    text-shadow: 0 0 25px rgba(98, 206, 255, 0.8), 0 0 50px rgba(98, 206, 255, 0.4);
  }

  100% {
    transform: scale(1);
    text-shadow: 0 0 15px rgba(98, 206, 255, 0.4), 0 0 30px rgba(98, 206, 255, 0.2);
  }
}

@media (max-width: 767px) {
  .hero-static-text {
    animation: textPulseHint 0.8s ease-in-out 1.8s 1;
  }
}

#blast-title {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
  gap: 0.28em;
  text-shadow: 0 0 32px rgba(4, 6, 12, 0.95), 0 0 64px rgba(4, 6, 12, 0.80);
}

#blast-title .w1 {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(22px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #d4eeff;
  opacity: 0;
  transition: none;
  text-transform: uppercase;
}

#blast-title .w2 {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(22px, 4vw, 50px);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #d4eeff;
  opacity: 0;
  transition: none;
  text-transform: uppercase;
}

/* ===== LAYER 2: React Landing Content ===== */
/* margin-top creates natural scroll gap — DO NOT add z-index here!
       A z-index would create a stacking context that elevates React's
       internal fixed backgrounds (z-[-3]) ABOVE our hero canvas. */
#root {
  position: relative;
  margin-top: 100vh;
  background-color: #05070A;
}




/* CRITICAL: Hide React's fixed fullscreen background layers.
       React renders fixed divs with bg-[#05070A] that cover our particle hero.
       We hide ANY fixed element at z-index < 0 inside #root that covers the full screen. */
#root .fixed {
  /* Only target fixed-position children of root that are full-screen overlays */
}

/* ===== Reading pace: first section needs more breathing room ===== */
#inicio,
.premium-hero {
  padding-top: 5rem !important;
  padding-bottom: 6rem !important;
  min-height: 110vh;
}

/* ===== RUPTURA POLISHED — Cinematic Blend Upgrade ===== */
:root {
  --primary-glow: rgba(59, 130, 246, 0.6);
  --bg-cinematic: #05070a;
}

#ruptura-section {
  position: relative;
  height: 200vh;
  /* Fix #2: Reducido de 250vh → 200vh (elimina dead scroll zone) */
  background: var(--bg-cinematic);
  isolation: isolate;
  /* Fix #3: Crea stacking context limpio, previene colisión z-index */
  z-index: 0;
}

#r-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  /* Fix #1: 'clip' no crea stacking context → elimina guillotina */
  background: var(--bg-cinematic);
  opacity: 0;
}

#r-sticky-wrap::before,
#r-sticky-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 25vh;
  z-index: 30;
  pointer-events: none;
}

#r-sticky-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-cinematic), transparent);
}

#r-sticky-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-cinematic), transparent);
}

#r-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#r-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.r-content-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 20;
  padding: 2rem;
  flex-direction: column;
  will-change: transform, opacity;
}

#r-acto-1 {
  opacity: 1;
  transform: scale(1) translateY(0);
}

#r-acto-2 {
  opacity: 0;
  transform: scale(0.85) translateY(50px);
}

.font-outfit-r {
  font-family: 'Outfit', sans-serif;
}

.glow-gradient {
  background: linear-gradient(90deg, #2563eb, #60a5fa, #a78bfa, #60a5fa, #2563eb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%
  }

  100% {
    background-position: 100% 50%
  }
}

.neon-text {
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
}

.r-naked-container {
  max-width: 64rem;
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.r-vibrant-line {
  height: 2px;
  width: 100%;
  margin: 2rem auto;
  box-shadow: 0 0 25px rgba(13, 148, 136, 0.4);
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
  transform: scaleX(0);
}

/* === Interactive Tabs keyframes === */
@keyframes ca-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes ca-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SHINY PILLS ── */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

/* ── BEAM BORDER GLOW — "Cómo lo hacemos" stepper ── */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.tabs-beam-wrap {
  position: relative;
  border-radius: 16px;
  margin-bottom: 60px;
}

.tabs-beam-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: conic-gradient(from var(--beam-angle, 0deg),
      transparent 0%,
      transparent 55%,
      rgba(96, 165, 250, 0.5) 72%,
      rgba(139, 92, 246, 0.7) 78%,
      rgba(96, 165, 250, 0.5) 84%,
      transparent 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  animation: beamRotate 4s linear infinite;
}

@keyframes beamRotate {
  to {
    --beam-angle: 360deg;
  }
}

/* ── TABS: mobile grid ── */
@media (max-width: 767px) {
  .tabs-beam-wrap>div {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .tabs-beam-wrap button {
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 14px 10px !important;
  }

  .tabs-beam-wrap button:nth-child(2n) {
    border-right: none !important;
  }

  .tabs-beam-wrap button:last-child {
    grid-column: 1 / -1;
    border-bottom: none !important;
    border-right: none !important;
  }
}

.ca-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ca-pill {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #3b82f6;
  /* Default Blue */
  --shiny-cta-highlight-subtle: #8484ff;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 6px 16px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 360px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, color;

  /* Animation composition */
  animation: var(--animation) var(--duration),
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.ca-pill::before,
.ca-pill::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}

/* Dots pattern */
.ca-pill::before {
  --size: calc(100% - 6px);
  --position: 2px;
  --space: calc(var(--position) * 2);
  margin: 3px;
  background: radial-gradient(circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black);
  opacity: 0;
  transition: opacity var(--transition);
}

/* Inner shimmer */
.ca-pill::after {
  background: linear-gradient(-50deg,
      transparent,
      var(--shiny-cta-highlight),
      transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0;
  transition: opacity var(--transition);
}

.ca-pill:hover {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  color: #fff;
  animation-play-state: running;
}

.ca-pill:hover::before {
  opacity: 0.2;
}

.ca-pill:hover::after {
  opacity: 0.15;
}

/* Stage Colors for Pills */
[data-active-tab="0"] .ca-pill {
  --shiny-cta-highlight: #94a3b8;
  --shiny-cta-highlight-subtle: #cbd5e1;
}

[data-active-tab="1"] .ca-pill {
  --shiny-cta-highlight: #3b82f6;
  --shiny-cta-highlight-subtle: #60a5fa;
}

[data-active-tab="2"] .ca-pill {
  --shiny-cta-highlight: #8b5cf6;
  --shiny-cta-highlight-subtle: #a78bfa;
}

[data-active-tab="3"] .ca-pill {
  --shiny-cta-highlight: #10b981;
  --shiny-cta-highlight-subtle: #34d399;
}

[data-active-tab="4"] .ca-pill {
  --shiny-cta-highlight: #fbbf24;
  --shiny-cta-highlight-subtle: #fcd34d;
}

/* ====== BOTÓN SHINY NAVBAR ====== */
.nav-shiny-cta {
  --shiny-cta-bg: #0c1322;
  --shiny-cta-bg-subtle: #1e293b;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #3b82f6;
  --shiny-cta-highlight-subtle: #8484ff;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  padding: 0.6rem 1.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;

  border-radius: 100px;
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  overflow: hidden;

  color: var(--shiny-cta-fg);
  border: 1px solid transparent;
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)) border-box;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  text-decoration: none;

  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, color, transform, box-shadow;

  animation: var(--animation) var(--duration),
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.nav-shiny-cta::before,
.nav-shiny-cta::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}

.nav-shiny-cta::before {
  --size: calc(100% - 6px);
  --position: 2px;
  --space: calc(var(--position) * 2);
  margin: 3px;
  background: radial-gradient(circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black);
  -webkit-mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black);
  opacity: 0.1;
  transition: opacity var(--transition);
}

.nav-shiny-cta::after {
  background: linear-gradient(-50deg,
      transparent,
      var(--shiny-cta-highlight),
      transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-shiny-cta:hover {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation-play-state: running;
}

.nav-shiny-cta:hover::before {
  opacity: 0.3;
}

.nav-shiny-cta:hover::after {
  opacity: 0.2;
}

.nav-shiny-cta:active {
  transform: scale(0.97);
}

.nav-shiny-cta .content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-shiny-cta .arrow-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.nav-shiny-cta:hover .arrow-icon {
  transform: translateX(3px);
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}


/* ====== SLA PRECISION UI ====== */
.shiny-sapphire-cta {
  --shiny-cta-bg: #040d21;
  --shiny-cta-bg-subtle: #0f1c3f;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #0284c7;
  --shiny-cta-highlight-subtle: #38bdf8;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  padding: 0.8rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;

  border-radius: 100px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  overflow: hidden;

  color: var(--shiny-cta-fg);
  border: 1px solid transparent;
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)) border-box;

  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25), inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  text-decoration: none;

  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, color, transform, box-shadow;

  animation: var(--animation) var(--duration) reverse,
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.shiny-sapphire-cta::before,
.shiny-sapphire-cta::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}

.shiny-sapphire-cta::before {
  --size: calc(100% - 6px);
  --position: 2px;
  --space: calc(var(--position) * 2);
  margin: 3px;
  background: radial-gradient(circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black);
  -webkit-mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black);
  opacity: 0.15;
  transition: opacity var(--transition);
}

.shiny-sapphire-cta::after {
  background: linear-gradient(-50deg, transparent, var(--shiny-cta-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0;
  transition: opacity var(--transition);
}

.shiny-sapphire-cta:hover {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation-play-state: running;
}

.shiny-sapphire-cta:hover::before {
  opacity: 0.4;
}

.shiny-sapphire-cta:hover::after {
  opacity: 0.3;
}

.precision-orb {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
  box-shadow:
    0 0 60px rgba(2, 132, 199, 0.1),
    inset 0 0 0 1px rgba(56, 189, 248, 0.1),
    inset 0 0 40px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.orb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  opacity: 0.5;
  z-index: 0;
}

.radar-scan {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(2, 132, 199, 0.1) 95%, rgba(56, 189, 248, 0.4) 100%);
  animation: spin 4s linear infinite;
  z-index: 1;
}

.precision-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.15);
  z-index: 1;
  animation: slowPulse 4s ease-in-out infinite alternate;
}

.ring-1 {
  width: 280px;
  height: 280px;
}

.ring-2 {
  width: 220px;
  height: 220px;
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.05);
}

.core-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.tech-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #38bdf8;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
}

.tech-label::before,
.tech-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(56, 189, 248, 0.5);
}

.tech-label::before {
  left: -20px;
}

.tech-label::after {
  right: -20px;
}

.glass-promise {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-left: 3px solid #0284c7;
  backdrop-filter: blur(8px);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes slowPulse {
  0% {
    transform: scale(0.98);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.02);
    opacity: 1;
  }
}

/* ====== SLA VANILLA CSS CLASSES (REPLACING TAILWIND JIT) ====== */

.sla-col-left>*+* {
  margin-top: 2rem;
}

.sla-copy-group>*+* {
  margin-top: 1.5rem;
}

.sla-cta-group {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.sla-h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .sla-h2 {
    font-size: 3.75rem;
  }
}

.sla-grad-text {
  background: linear-gradient(to right, #38bdf8, #2563eb);
  -webkit-background-clip: text;
  color: transparent;
}

.sla-p-main {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.625;
  max-width: 32rem;
}

.sla-p-sub {
  color: #64748b;
  font-size: 1.125rem;
}

.glass-promise {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-left: 3px solid #0284c7;
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.glass-promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(14, 165, 233, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}

.glass-promise:hover::before {
  opacity: 1;
}

.sla-box-text {
  color: #e2e8f0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.625;
  margin: 0;
  position: relative;
  z-index: 10;
}

.sla-cta-icon {
  width: 20px;
  height: 20px;
  color: #7dd3fc;
}

.sla-cta-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  opacity: 0.7;
}

.sla-shield-icon {
  width: 40px;
  height: 40px;
  color: #38bdf8;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
  transition: transform 0.5s;
}

.core-content:hover .sla-shield-icon {
  transform: scale(1.1);
}

/* ====== FINAL GSAP FISSURE TRANSITION RULES ====== */
/* ====== FINAL GSAP FISSURE TRANSITION RULES ====== */
/* These baseline states prevent layout flashes before JS hydrates the timeline */
#sla.fissure-ready {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background-color: #05070a;
  /* Solid background prevents transparency overlap over Funnel */
  clip-path: ellipse(0% 0% at 50% 100%);
  pointer-events: none;
  /* Prevent interaction until fully revealed */
}

/* === UTILIDADES DEL PROTOTIPO REAL === */
.font-outfit {
  font-family: 'Outfit', sans-serif;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aspect-vertical {
  aspect-ratio: 9 / 16;
}

.neon-glow {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}


/* === SEGURIDAD: OCULTAR ELEMENTOS MOBILE EN PC === */
#mobile-menu-btn,
#mobile-nav-panel {
  display: none !important;
}

/* === CÓMO LO HACEMOS: Corrección global de pills (todas las resoluciones) === */
.ca-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 100% !important;
}

.ca-pill {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* ============================================================
   MOBILE RESPONSIVE -- Solo aplica en pantallas <= 1024px
   ============================================================ */
@media (max-width: 1024px) {

  /* BUG #1 -- precision-orb desbordado */
  /* Rule moved to bottom of media query */

  .ring-1 {
    width: 160px !important;
    height: 160px !important;
  }

  .ring-2 {
    width: 120px !important;
    height: 120px !important;
  }

  .tech-number {
    font-size: 3rem !important;
  }


  /* BUG #2 -- Navbar & Menu Hamburger (AWWWARDS REDESIGN) */
  #mobile-menu-btn {
    display: flex !important;
    position: fixed;
    top: 22px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    z-index: 10005 !important;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #mobile-menu-btn.active {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
  }

  #mobile-nav-panel {
    display: block !important;
    /* Mantenemos el DOM vivo */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 10004;
    background: transparent;
    transition: all 0.4s ease;
  }

  #mobile-nav-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .fluid-menu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transform-origin: top right;
  }

  .fluid-menu-items a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.4) translateY(-40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--i) * 0.07s);
  }

  #mobile-nav-panel.is-open .fluid-menu-items a {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  #mobile-nav-panel.is-open .fluid-menu-items a:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    transform: scale(1.05);
  }

  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #38bdf8;
  }

  .menu-text {
    white-space: nowrap;
    letter-spacing: 0.02em;
  }

  header button,
  .nav-shiny-cta,
  [class*='ShinyButton'] {
    margin-right: 50px !important;
  }

  /* === PREVENIR DESBORDE DEL CANVAS SIN ROMPER GSAP === */
  canvas,
  #hero-overlay,
  #c,
  #c2 {
    max-width: 100vw !important;
  }

  /* === CÓMO LO HACEMOS: Vista Inmersiva Restaurada === */
  #como {
    padding: 100px 20px 60px 20px !important;
    position: relative !important;
    background: #05070a !important;
    z-index: 10 !important;
  }

  [data-active-tab] {
    display: block !important;
    /* Cambiar a bloque para superponer */
    position: relative !important;
    min-height: 380px !important;
  }

  /* Texto flotando arriba */
  [data-active-tab]>div:first-child {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: none !important;
  }

  [data-active-tab]>div:first-child * {
    pointer-events: auto !important;
  }

  /* Partículas de fondo inmersivas */
  [data-active-tab]>div:last-child {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    opacity: 0.7 !important;
  }

  [data-active-tab] canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* GSAP Fallback para Mobile */
  [data-reveal],
  .reveal-text,
  .hero-reveal,
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  /* === SCROLLYTELLING MOBILE OPTIMIZATION === */
  /* Fijar altura de la sección raíz con svh para evitar el tirón de salida */
  /* 100svh = viewport fijo sticky + 30svh = rango animado activo → cero scroll muerto */
  .scrollytelling-section {
    height: 130svh !important;
    background-color: #05070a !important;
    z-index: 10 !important;
  }

  .scrollytelling-section .viewport-sticky {
    height: 100svh !important;
    overflow: visible !important;
    /* Fix: Evita que el contenedor corte el texto */
    z-index: 10 !important;
  }

  /* El viewport-sticky ya tiene height:100vh. Solo necesitamos ajustar el contenedor interno */
  .scrollytelling-section .st-container {
    width: 92vw !important;
    height: 100% !important;
    /* Usar 100% para evitar el recalculado de dvh/svh que causa el salto */
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 80px 0 40px 0 !important;
    /* Añadimos padding-bottom para suavizar la salida */
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Columna izquierda: HUD compacto, sin crecer */
  .scrollytelling-section .left-col {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
  }

  .scrollytelling-section .hud-card {
    padding: 14px 16px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }

  .scrollytelling-section .hud-header {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .scrollytelling-section .data-blocks {
    gap: 8px !important;
  }

  .scrollytelling-section .data-row {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .scrollytelling-section .data-value {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .scrollytelling-section .data-context {
    font-size: 12px !important;
  }

  .scrollytelling-section .takeaway-box {
    padding: 10px 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .scrollytelling-section .takeaway-mult {
    font-size: 20px !important;
  }

  .scrollytelling-section .takeaway-text {
    font-size: 12px !important;
  }

  /* Columna derecha: toma el espacio restante, flujo normal */
  .scrollytelling-section .right-col {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    /* Fix: Permite que el texto que fluye se vea sin guillotina */
  }

  /* === RESTAURACIÓN TOTAL: Freno GSAP + Menú === */
  html,
  body {
    overflow-x: visible !important;
    /* Volver al estado original para GSAP */
  }

  #mobile-menu-btn {
    display: flex !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2147483647 !important;
    /* El valor máximo posible en CSS */
    background: #0f172a !important;
    /* Color sólido para que no se pierda */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) !important;
  }

  /* Bloques de narrativa: posición absoluta respecto a right-col, centrados */
  .scrollytelling-section .narrative-block {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 16px 16px 16px !important;
    transform: translateY(-50%) !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
  }

  .scrollytelling-section .n-title-main {
    font-size: clamp(22px, 5.5vw, 32px) !important;
    line-height: 1.2 !important;
    padding-bottom: 6px !important;
    text-wrap: initial !important;
  }

  .scrollytelling-section .n-headline {
    font-size: clamp(18px, 4.5vw, 26px) !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
    padding-bottom: 6px !important;
    text-wrap: initial !important;
  }

  .scrollytelling-section .n-sub {
    font-size: 14px !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
    padding-bottom: 8px !important;
    text-wrap: initial !important;
  }

  /* === MENÚ MÓVIL: Visibilidad Forzada === */
  #mobile-menu-btn {
    display: flex !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  }

  #mobile-nav-panel {
    z-index: 9998 !important;
    display: none;
    /* Se activa vía JS */
  }

  #mobile-nav-panel.is-open {
    display: flex !important;
    flex-direction: column !important;
  }

  /* === OPTIMIZACIÓN DE ESPACIOS (QUIRÚRGICO) === */
  #inicio,
  .premium-hero {
    min-height: 50vh !important;
    padding-bottom: 2rem !important;
    padding-top: 5rem !important;
    /* More breathing room for the headline */
  }

  #ruptura-section {
    height: 180vh !important;
    margin-top: -15vh !important;
    /* Smoothly reduces black gap from #realidad without text collision */
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
  }

  .scrollytelling-section .st-container {
    padding: 80px 0 20px 0 !important;
  }

  /* === SECCIÓN GARANTÍA (SLA) MOBILE: IMPACTO VISUAL === */
  /* Reducir espacio entre las partículas y la garantía */
  #como {
    margin-top: -15vh !important;
    /* Smoothly pulls up #como to eliminate black space after #ruptura */
    padding-bottom: 3rem !important;
  }

  #root section:has(.sla-col-left) {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Target the grid inside the SLA section */
  #root section .grid:has(.sla-col-left) {
    display: flex !important;
    flex-direction: column !important;
    /* Cambiado a column (texto arriba, reloj abajo) */
    gap: 2.5rem !important;
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }

  .sla-col-left {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .sla-h2 {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.15em !important;
    /* Evita que el descender de "pago yo." se corte */
  }

  /* El wrapper de GSAP text-reveal tiene overflow:hidden — forzamos visible en mobile */
  .sla-col-left>div:has(.sla-h2),
  .sla-col-left>div>.sla-h2 {
    overflow: visible !important;
  }

  .sla-grad-text {
    display: block !important;
    overflow: visible !important;
    padding-bottom: 0.1em !important;
  }

  .sla-copy-group {
    margin-top: 0.75rem !important;
    gap: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .sla-p-main,
  .sla-p-sub {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }

  .glass-promise {
    padding: 16px !important;
    border-left: none !important;
    border-top: 3px solid #0284c7 !important;
    margin: 0.75rem 0 !important;
  }

  .sla-box-text {
    font-size: 16px !important;
  }

  .sla-cta-group {
    margin-top: 0.5rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .precision-orb {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto !important;
    box-shadow: 0 0 40px rgba(2, 132, 199, 0.3) !important;
  }

  .core-content {
    transform: scale(0.75) !important;
  }

  .tech-number {
    font-size: 2.5rem !important;
  }

  .tech-label {
    font-size: 0.6rem !important;
    letter-spacing: 0.2em !important;
  }

  .precision-ring {
    opacity: 0.7 !important;
    border-width: 1.5px !important;
  }

  /* === FOOTER BREATHING === */
  footer {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    text-align: center !important;
  }

  footer .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  footer .md\:text-right {
    text-align: center !important;
  }

  /* === STAIRCASE EFFECT (ESCALEADO PREMIUM) === */
  .fluid-menu-items a:nth-child(1) {
    min-width: 120px;
    --i: 1;
  }

  .fluid-menu-items a:nth-child(2) {
    min-width: 150px;
    --i: 2;
  }

  .fluid-menu-items a:nth-child(3) {
    min-width: 180px;
    --i: 3;
  }

  .fluid-menu-items a:nth-child(4) {
    min-width: 210px;
    --i: 4;
  }

  .fluid-menu-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
    opacity: 0;
    transform: scale(0.4) translateY(-40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.28s;
    /* Sincronizado como el 5to paso (4 * 0.07s) */
  }

  .fluid-menu-cta .nav-shiny-cta {
    min-width: 230px;
    /* Base sólida para el CTA */
    justify-content: center;
  }

  #mobile-nav-panel.is-open .fluid-menu-cta {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  #mobile-nav-panel .nav-shiny-cta {
    margin-right: 0 !important;
  }

  /* === PROPUESTA 3: FUSIÓN (mobile-only classes) === */
  .sla-desktop-only {
    display: none !important;
  }

  .sla-mobile-only {
    display: block !important;
  }

  /* Ocultar reloj en mobile */
  .sla-clock-col {
    display: none !important;
  }

  /* === TARJETA MÓVIL — idéntica a .warranty-card-proposal del preview === */
  .sla-warranty-card-mobile {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    /* recorta las ondas en los bordes */
    border-radius: 1.25rem !important;
    border: 1px solid rgba(104, 191, 255, 0.12) !important;
    background: linear-gradient(180deg, #060b13, #03060c) !important;
    padding: 2.25rem 1.5rem !important;
    width: 100% !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  }

  /* Ondas dentro de la tarjeta — posición absoluta relativa a la tarjeta */
  .mobile-bg-wave {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Contenido encima de las ondas */
  .mobile-foreground {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
  }

  /* .fw: cada onda independiente — transform en base style = anclaje de centrado */
  .fw {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border: 1px solid #37c3ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #28baff;
    transform: translate(-50%, -50%);
    /* CRÍTICO: mantiene centro al crecer */
    animation: slaWavePing 6s cubic-bezier(.12, .65, .22, 1) infinite;
  }

  .fw-d2 {
    animation-delay: 2s;
  }

  .fw-d3 {
    animation-delay: 4s;
  }

  @keyframes slaWavePing {
    0% {
      width: 9px;
      height: 9px;
      opacity: 0;
      transform: translate(-50%, -50%);
    }

    8% {
      opacity: .52;
    }

    75% {
      opacity: 0;
      width: 440px;
      height: 440px;
    }

    100% {
      opacity: 0;
      width: 440px;
      height: 440px;
    }
  }

  /* Frase clave de la promesa destacada en móvil (identidad zafiro de marca) */
  .sla-promise-highlight {
    color: transparent !important;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800 !important;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
    letter-spacing: -0.01em;
  }

  /* Aurora central: glow suave en el fondo */
  .glow-aura-fusion {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 260px !important;
    height: 260px !important;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%) !important;
    pointer-events: none !important;
    border-radius: 50% !important;
  }

  /* Indicador de estado */
  .status-bar-active {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #6095b9 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9px !important;
    letter-spacing: .14em !important;
    font-weight: 800 !important;
    background: rgba(30, 184, 255, 0.08) !important;
    border: 1px solid rgba(30, 184, 255, 0.15) !important;
    padding: 5px 12px !important;
    border-radius: 99px !important;
    margin-bottom: 0.5rem !important;
  }

  .status-dot {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #38bdf8 !important;
    box-shadow: 0 0 10px #38bdf8 !important;
    animation: blinkDot 1.7s ease infinite !important;
    flex-shrink: 0 !important;
  }

  @keyframes blinkDot {
    50% {
      opacity: .3;
      transform: scale(.65);
    }
  }

  /* Glass promise card en mobile */
  .glass-promise {
    border-radius: 1rem !important;
    border: 1px solid rgba(104, 191, 255, 0.12) !important;
    background: linear-gradient(180deg, rgba(6, 11, 19, 0.95), rgba(3, 6, 12, 0.95)) !important;
    padding: 1.5rem !important;
    margin: 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  }

  /* === CTA FINAL: Eliminar vacío negro en mobile === */
  #cta-final {
    min-height: auto !important;
    padding: 4rem 1.5rem !important;
  }

  #cta-final .fisura-container {
    gap: 2rem !important;
  }

  #cta-final h2.fisura-heading {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  /* === TRANSICIONES ENTRE SECCIONES: Reducir gaps === */
  #garantia-section {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }

  #casos,
  #casos-premium-section {
    margin-top: 0 !important;
    padding-top: 1rem !important;
  }

  #carrusel-premium {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* === GLOBAL: PC defaults para los elementos móviles === */

/* tarjeta móvil: oculta en PC */
.sla-warranty-card-mobile {
  display: none;
}

/* status-bar-active: oculto en PC */
.status-bar-active {
  display: none;
}

/* sla-clock-col: visible en PC (flex) */
.sla-clock-col {
  display: flex;
}

/* sla-desktop-only: visible en PC */
.sla-desktop-only {
  display: block;
}

/* sla-mobile-only: oculto en PC */
.sla-mobile-only {
  display: none;
}

/* draw-underline: línea animada bajo texto de promesa (mobile) */
.draw-underline {
  position: relative;
  white-space: normal;
}

.draw-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 4s ease infinite;
}

@keyframes drawLine {

  20%,
  80% {
    transform: scaleX(1);
  }

  0%,
  100% {
    transform: scaleX(0);
  }
}

/* Ocultar CTA Navbar en Movil */
@media (max-width: 768px) {
  #cta-whatsapp-nav {
    display: none !important;
  }
}

/* TEST_AUTO_DEPLOYMENT_ACTIVE_2026 */

/* =========================================================================
   ANULACIONES DE VIDEO HERO A FORMATO REEL VERTICAL (9:16)
   ========================================================================= */

/* 0. Subir el reel en PC para alinear con la zona alta del headline */
@media (min-width: 960px) {
  .premium-hero .video-col {
    margin-top: -80px;
  }
}

/* 1. Ocultar HUD y elementos horizontales originales */
.premium-hero .v-hud,
.premium-hero .video-scan,
.premium-hero .v-bar-wrap {
  display: none !important;
}

/* 2. Rediseñar tarjeta de video a Vertical (Reel/Testimonio) */
.premium-hero .video-card {
  aspect-ratio: 9/16 !important;
  border-radius: 2.5rem !important;
  overflow: hidden !important;
  border: 4px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
  background: #0a0e1a !important;
  cursor: pointer !important;
  max-width: 380px !important;
  /* Más protagonismo en PC, formato reel vertical */
  margin: 0 auto !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  position: relative !important;
}

.premium-hero .video-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95) !important;
}

.premium-hero .video-float::before {
  content: '';
  position: absolute;
  inset: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Redimensionamiento móvil (Centrado) */
@media (max-width: 959px) {
  .premium-hero .video-card {
    max-width: 200px !important;
    /* Súper compacto en mobile para evitar scroll */
    border-radius: 1.5rem !important;
  }
}

/* 3. Re-diseñar viñeta como Filtro Cinemático */
.premium-hero .video-vign {
  background: radial-gradient(circle at 50% 40%, rgba(12, 17, 29, 0) 20%, rgba(5, 7, 10, 0.45) 95%),
    linear-gradient(to top, #05070a 10%, transparent 50%) !important;
  opacity: 1 !important;
}

/* 4. Posicionar botón de reproducción en la esquina inferior derecha */
.premium-hero .video-play {
  position: absolute !important;
  inset: auto !important;
  bottom: 1.25rem !important;
  right: 1.25rem !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 30 !important;
}

@media (max-width: 959px) {
  .premium-hero .video-play {
    bottom: 0.75rem !important;
    right: 0.75rem !important;
  }
}

/* 5. Transformar anillo de play en botón azul con latido (Heartbeat) */
.premium-hero .play-ring {
  width: 3.5rem !important;
  height: 3.5rem !important;
  border-radius: 9999px !important;
  background: rgba(37, 99, 235, 0.9) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: hero-heartbeat 1.5s ease-in-out infinite !important;
  transform-origin: center !important;
  transition: transform 0.2s, background-color 0.2s !important;
}

.premium-hero .play-ring:hover {
  transform: scale(1.1) !important;
  background: rgba(37, 99, 235, 1) !important;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.7) !important;
}

.premium-hero .play-ring svg {
  width: 18px !important;
  height: 18px !important;
  fill: #fff !important;
  margin-left: 2px !important;
}

@media (max-width: 959px) {
  .premium-hero .play-ring {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  .premium-hero .play-ring svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* 6. Animación del latido */
@keyframes hero-heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}