:root {
  --ink: #06142f;
  --ink-2: #172a44;
  --muted: #60778e;
  --blue: #0f5f9f;
  --blue-2: #0b78c8;
  --cyan: #38bdf8;
  --cyan-soft: #dff7ff;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.76);
  --glass-2: rgba(255, 255, 255, 0.92);
  --line: rgba(168, 211, 235, 0.62);
  --green: #11a56b;
  --yellow: #e0a21a;
  --red: #df4355;
  --shadow: 0 30px 90px rgba(6, 20, 47, 0.17);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(56, 189, 248, 0.45), transparent 32rem),
    radial-gradient(circle at 82% 22%, rgba(15, 95, 159, 0.22), transparent 34rem),
    linear-gradient(135deg, #f9fdff 0%, #eaf8ff 42%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(15, 95, 159, 0.04) 0 1px, transparent 1px 25px),
    linear-gradient(115deg, transparent 0 36%, rgba(56, 189, 248, 0.12) 36.2% 37.2%, transparent 37.5% 100%);
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  z-index: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.liquid-bg,
.mesh-bg {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.liquid-bg {
  border-radius: 999px;
  filter: blur(6px);
}

.liquid-a {
  width: 740px;
  height: 740px;
  right: -200px;
  top: 120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26), transparent 64%);
}

.liquid-b {
  width: 580px;
  height: 580px;
  left: -170px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(15, 95, 159, 0.20), transparent 68%);
}

.mesh-bg {
  inset: 0;
  background: radial-gradient(circle at center, transparent 0 24%, rgba(255,255,255,0.38) 25%, transparent 46%);
  opacity: 0.65;
}

.top-shell {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem clamp(1.2rem, 4vw, 4.8rem);
}

.brand-button {
  width: max-content;
  background: transparent;
}

.brand-button img {
  height: 54px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(15, 95, 159, 0.18));
}

.screen-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.34rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(6, 20, 47, 0.08);
  backdrop-filter: blur(20px);
}

.screen-nav button {
  min-height: 40px;
  padding: 0 0.95rem;
  color: var(--ink-2);
  background: transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.screen-nav button.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 24px rgba(15, 95, 159, 0.24);
}

.app-access,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 950;
}

.app-access,
.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 34px rgba(15, 95, 159, 0.25);
}

.secondary-action {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(6, 20, 47, 0.06);
}

.stage {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
}

.screen {
  position: absolute;
  inset: 0;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 7.6rem 0 3.4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(36px) scale(0.985);
  transition: opacity 0.62s ease, transform 0.72s cubic-bezier(.2,.8,.2,1);
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.screen.exit-up {
  opacity: 0;
  transform: translateY(-44px) scale(0.985);
}

.screen.exit-down {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
}

.kicker {
  display: inline-flex;
  margin-bottom: 1.05rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.7rem, 6.8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.082em;
  text-wrap: balance;
}

h2 {
  max-width: 960px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 5.4vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.076em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

p {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-screen,
.action-screen,
.trust-screen,
.demo-screen {
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-text p,
.flow-copy p,
.trust-copy p,
.demo-card p {
  max-width: 650px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-device {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.device-glow {
  position: absolute;
  width: 670px;
  height: 670px;
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 58%),
    conic-gradient(from 230deg, rgba(15, 95, 159, 0.16), transparent, rgba(56, 189, 248, 0.22), transparent);
  border-radius: 50%;
  filter: blur(3px);
}

.product-frame {
  position: relative;
  width: min(100%, 610px);
  padding: 1.08rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.3rem 1rem;
}

.frame-header span {
  width: 12px;
  height: 12px;
  background: #cfe1ed;
  border-radius: 50%;
}

.frame-header strong {
  margin-left: 0.75rem;
  color: #6d8294;
  font-size: 0.82rem;
}

.executive-cover {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.3rem;
  align-items: center;
  min-height: 232px;
  padding: 1.7rem;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.42), transparent 13rem),
    linear-gradient(135deg, #0d5e9f, #38bdf8);
  border-radius: 28px;
}

.executive-cover small {
  color: rgba(255,255,255,0.8);
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.executive-cover strong {
  display: block;
  max-width: 370px;
  margin-top: 0.35rem;
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.executive-cover p {
  color: rgba(255,255,255,0.84);
  margin-bottom: 0;
}

.score-orb {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, white 0 52%, transparent 54%),
    conic-gradient(white 0 70%, rgba(255,255,255,0.24) 70% 100%);
  border-radius: 50%;
}

.score-orb span {
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 1000;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.mini-kpis article {
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.mini-kpis small {
  color: var(--muted);
  font-weight: 850;
}

.mini-kpis strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 2rem;
}

.good strong {
  color: var(--green);
}

.watch strong {
  color: var(--yellow);
}

.risk strong {
  color: var(--red);
}

.smart-lines {
  display: grid;
  gap: 0.72rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(246, 251, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.smart-lines span {
  height: 12px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.smart-lines span:nth-child(1) { width: 92%; }
.smart-lines span:nth-child(2) { width: 69%; }
.smart-lines span:nth-child(3) { width: 84%; }
.smart-lines span:nth-child(4) { width: 52%; }

.glass-badge {
  position: absolute;
  display: grid;
  gap: 0.12rem;
  min-width: 170px;
  padding: 1rem 1.12rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(6, 20, 47, 0.12);
  backdrop-filter: blur(18px);
}

.glass-badge span {
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 1000;
}

.glass-badge strong {
  font-size: 0.92rem;
}

.badge-indicators { left: 2%; top: 18%; }
.badge-report { right: -2%; bottom: 18%; }
.badge-identity { left: 16%; bottom: 3%; }

.transform-screen {
  align-content: center;
  gap: 2.4rem;
}

.screen-title {
  max-width: 1000px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 230px 1fr;
  align-items: center;
  gap: 1.2rem;
}

.before-card,
.after-card {
  min-height: 410px;
  padding: 1.7rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.before-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.74), rgba(241,245,249,0.78));
}

.after-card {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.22), transparent 16rem),
    rgba(255,255,255,0.82);
}

.before-card span,
.after-card span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.before-card ul,
.after-card ul {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  color: var(--ink-2);
}

.before-card li,
.after-card li {
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.conversion-core {
  display: grid;
  place-items: center;
}

.conversion-ring {
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle, white 0 48%, transparent 50%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(15,95,159,0.18);
}

.conversion-ring strong {
  color: var(--blue);
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.conversion-ring span {
  max-width: 120px;
  margin-top: -4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.flow-map {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 0.7rem;
}

.flow-map article {
  min-height: 245px;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(6, 20, 47, 0.08);
  backdrop-filter: blur(22px);
}

.flow-map article span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 18px;
  font-weight: 1000;
}

.flow-map article strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.flow-map article p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.flow-map i {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.flow-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.flow-preview > div {
  min-height: 120px;
  padding: 1rem;
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(6,20,47,0.06);
}

.flow-preview strong {
  display: block;
  margin-bottom: 0.8rem;
}

.capture-mini span {
  display: block;
  height: 10px;
  margin: 0.45rem 0;
  background: linear-gradient(90deg, rgba(15,95,159,0.2), rgba(56,189,248,0.45));
  border-radius: 999px;
}

.indicator-mini div {
  display: flex;
  gap: 0.5rem;
}

.indicator-mini b {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.indicator-mini b:nth-child(1) { background: var(--green); }
.indicator-mini b:nth-child(2) { background: var(--yellow); }
.indicator-mini b:nth-child(3) { background: var(--red); }

.report-mini p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.product-screen {
  align-content: center;
  gap: 2rem;
}

.product-heading {
  max-width: 1000px;
}

.module-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 1rem;
}

.module-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(6,20,47,0.08);
  backdrop-filter: blur(22px);
}

.module-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
  border-radius: 50%;
}

.module-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.module-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 360px;
  font-size: clamp(1.45rem, 2.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.module-card.large {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.25), transparent 18rem),
    var(--glass);
}

.mock-chart {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  height: 160px;
  display: flex;
  align-items: end;
  gap: 0.72rem;
}

.mock-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 999px 999px 14px 14px;
}

.mock-chart i:nth-child(1) { height: 42%; }
.mock-chart i:nth-child(2) { height: 78%; }
.mock-chart i:nth-child(3) { height: 58%; }
.mock-chart i:nth-child(4) { height: 90%; }
.mock-chart i:nth-child(5) { height: 70%; }

.architecture-map {
  display: grid;
  gap: 1rem;
}

.architecture-map article {
  padding: 1.45rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 30px;
  box-shadow: 0 24px 64px rgba(15,95,159,0.18);
}

.architecture-map article:nth-child(2) {
  transform: translateX(8%);
  background: linear-gradient(135deg, #063a66, var(--blue));
}

.architecture-map article:nth-child(3) {
  transform: translateX(16%);
  background: linear-gradient(135deg, #06142f, var(--blue));
}

.architecture-map span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255,255,255,0.72);
  font-weight: 850;
}

.architecture-map strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.055em;
}

.architecture-map p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

.trust-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.trust-tags span {
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 850;
}

.demo-card {
  padding: clamp(1.8rem, 4vw, 3rem);
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.contact-card {
  display: grid;
  gap: 0.45rem;
  margin: 1.8rem 0 0;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(223,247,255,0.82));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(6,20,47,0.08);
}

.contact-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.contact-card a {
  width: max-content;
  color: var(--blue);
  font-weight: 850;
}

.demo-visual {
  display: grid;
  gap: 1rem;
}

.demo-orb {
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  justify-self: center;
  background:
    radial-gradient(circle, white 0 46%, transparent 48%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.demo-orb span {
  color: var(--blue);
  font-size: 3rem;
  font-weight: 1000;
  letter-spacing: -0.08em;
}

.demo-visual article {
  padding: 1.3rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(6,20,47,0.08);
  backdrop-filter: blur(22px);
}

.demo-visual article p {
  margin-bottom: 0;
}

.dot-nav {
  position: fixed;
  right: clamp(1rem, 3vw, 2.2rem);
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.dot-nav button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: rgba(15,95,159,0.2);
  border-radius: 999px;
  transition: height 0.25s ease, background 0.25s ease;
}

.dot-nav button.active {
  height: 42px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

@media (max-width: 1120px) {
  body {
    overflow: auto;
  }

  .top-shell {
    position: sticky;
    grid-template-columns: 1fr auto;
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .screen-nav,
  .dot-nav {
    display: none;
  }

  .stage {
    height: auto;
  }

  .screen {
    position: relative;
    min-height: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 5rem 0;
  }

  .hero-screen,
  .action-screen,
  .trust-screen,
  .demo-screen,
  .before-after {
    grid-template-columns: 1fr;
  }

  .conversion-core {
    display: none;
  }

  .flow-map {
    grid-template-columns: 1fr;
  }

  .flow-map i {
    height: 34px;
    width: 3px;
    justify-self: center;
  }

  .module-showcase,
  .flow-preview {
    grid-template-columns: 1fr;
  }

  .module-card.large {
    grid-row: auto;
    min-height: 380px;
  }

  .architecture-map article {
    transform: none !important;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(3.05rem, 15vw, 4.4rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .brand-button img {
    height: 46px;
  }

  .app-access {
    min-height: 42px;
    padding: 0 1rem;
  }

  .hero-device {
    min-height: auto;
  }

  .executive-cover,
  .mini-kpis,
  .demo-screen {
    grid-template-columns: 1fr;
  }

  .glass-badge {
    position: static;
    margin-top: 1rem;
  }

  .score-orb {
    width: 112px;
    height: 112px;
  }
}

/* Ajustes 222W-H05 — secciones más comerciales para cliente */

.transformation-premium {
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.transformation-copy p,
.product-heading p {
  max-width: 660px;
}

.transformation-stage {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  gap: 1rem;
}

.chaos-panel,
.clarity-panel {
  min-height: 430px;
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.chaos-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 244, 248, 0.84));
}

.clarity-panel {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 15rem),
    rgba(255, 255, 255, 0.84);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.messy-files {
  position: relative;
  height: 210px;
  margin: 1.2rem 0;
}

.messy-files i {
  position: absolute;
  display: inline-flex;
  padding: 0.82rem 1rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(6, 20, 47, 0.08);
  font-style: normal;
  font-weight: 850;
}

.messy-files i:nth-child(1) { left: 2%; top: 8%; transform: rotate(-7deg); }
.messy-files i:nth-child(2) { right: 4%; top: 14%; transform: rotate(6deg); }
.messy-files i:nth-child(3) { left: 18%; top: 42%; transform: rotate(3deg); }
.messy-files i:nth-child(4) { right: 8%; bottom: 18%; transform: rotate(-5deg); }
.messy-files i:nth-child(5) { left: 6%; bottom: 5%; transform: rotate(8deg); }

.sigo-transformer {
  display: grid;
  place-items: center;
}

.transform-core {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle, white 0 47%, transparent 49%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 50%;
  box-shadow: 0 24px 64px rgba(15, 95, 159, 0.2);
}

.transform-core strong {
  color: var(--blue);
  font-size: 2.1rem;
  letter-spacing: -0.07em;
}

.transform-core span {
  max-width: 118px;
  margin-top: -3.4rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.clarity-dashboard {
  margin: 1.2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.clarity-header {
  height: 82px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 20px;
}

.clarity-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.clarity-kpis b {
  height: 58px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.clarity-lines {
  display: grid;
  gap: 0.45rem;
}

.clarity-lines i {
  height: 10px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.clarity-lines i:nth-child(1) { width: 92%; }
.clarity-lines i:nth-child(2) { width: 74%; }
.clarity-lines i:nth-child(3) { width: 84%; }

.product-premium {
  align-content: center;
  gap: 1.8rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.product-spotlight,
.product-stack article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.product-spotlight {
  min-height: 440px;
  padding: 1.35rem;
}

.spotlight-top span,
.product-stack span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.spotlight-top strong {
  display: block;
  max-width: 520px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.spotlight-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.spotlight-cover {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.4), transparent 12rem),
    linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 26px;
}

.spotlight-cover b {
  font-size: 4rem;
  letter-spacing: -0.08em;
}

.spotlight-cover span {
  color: rgba(255,255,255,0.84);
  font-weight: 850;
}

.spotlight-metrics {
  display: grid;
  gap: 0.7rem;
}

.spotlight-metrics i {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.spotlight-bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  background: rgba(246,251,255,0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.spotlight-bars em {
  height: 12px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.spotlight-bars em:nth-child(1) { width: 92%; }
.spotlight-bars em:nth-child(2) { width: 68%; }
.spotlight-bars em:nth-child(3) { width: 82%; }

.product-stack {
  display: grid;
  gap: 1rem;
}

.product-stack article {
  padding: 1.25rem;
}

.product-stack strong {
  display: block;
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.product-stack p {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
}

.security-screen {
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.security-card {
  min-height: 190px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 58px rgba(6,20,47,0.08);
  backdrop-filter: blur(22px);
}

.security-card.main-security {
  grid-column: 1 / -1;
  min-height: 230px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.35), transparent 16rem),
    linear-gradient(135deg, var(--blue), var(--blue-2));
}

.security-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.security-card.main-security span {
  color: rgba(255,255,255,0.78);
}

.security-card strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.security-card p {
  margin: 0.75rem 0 0;
  font-size: 0.96rem;
}

.security-card.main-security p {
  color: rgba(255,255,255,0.82);
}

@media (max-width: 1120px) {
  .transformation-premium,
  .transformation-stage,
  .product-gallery,
  .security-screen,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .sigo-transformer {
    display: none;
  }

  .spotlight-screen {
    grid-template-columns: 1fr;
  }
}

/* Ajustes 222W-H06 — más impacto comercial y menos apariencia PowerPoint */

.brand-button img {
  height: 64px;
  opacity: 1;
  filter: drop-shadow(0 14px 24px rgba(15, 95, 159, 0.22));
}

.product-screen {
  padding-top: 6.4rem;
  align-content: start;
}

.product-heading h2 {
  max-width: 980px;
  font-size: clamp(2.85rem, 5.05vw, 5.25rem);
  line-height: 0.94;
}

.product-gallery {
  margin-top: 0.5rem;
}

.ordered-dashboard {
  margin: 1.2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.ordered-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 20px;
}

.ordered-top span {
  color: rgba(255,255,255,0.78);
  font-weight: 850;
}

.ordered-top strong {
  color: white;
}

.ordered-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.ordered-kpis article {
  padding: 0.8rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ordered-kpis span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.ordered-kpis strong {
  display: block;
  margin-top: 0.1rem;
  color: var(--blue);
  font-size: 1.45rem;
}

.ordered-table {
  display: grid;
  gap: 0.45rem;
}

.ordered-table p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #f8fcff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.78rem;
}

.ordered-table b {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 999px;
}

.ordered-table p:nth-child(2) b {
  background: var(--yellow);
}

.ordered-table p:nth-child(3) b {
  background: var(--red);
}

.ordered-table strong {
  color: var(--blue);
  font-size: 0.72rem;
}

.security-premium-panel {
  display: grid;
  gap: 1rem;
}

.security-hero-card {
  min-height: 245px;
  padding: 1.55rem;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.38), transparent 16rem),
    linear-gradient(135deg, #063a66, var(--blue), var(--blue-2));
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.security-hero-card span,
.client-promise-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.security-hero-card span {
  color: rgba(255,255,255,0.78);
}

.security-hero-card strong {
  display: block;
  max-width: 680px;
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.security-hero-card p {
  max-width: 680px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
}

.security-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.security-feature-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  min-height: 135px;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(235,248,255,0.76));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(6,20,47,0.07);
  backdrop-filter: blur(22px);
}

.security-feature-list i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  font-style: normal;
  font-weight: 1000;
}

.security-feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.security-feature-list p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.premium-logo-orb {
  width: 330px;
  height: 330px;
  display: grid;
  place-items: center;
  justify-self: center;
  background:
    radial-gradient(circle, rgba(255,255,255,0.96) 0 50%, transparent 52%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.premium-logo-orb img {
  width: 190px;
  max-width: 72%;
  filter: drop-shadow(0 14px 26px rgba(15,95,159,0.18));
}

.client-demo-visual {
  align-content: center;
}

.client-promise-card {
  padding: 1.45rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(232,247,255,0.82));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 22px 56px rgba(6,20,47,0.08);
  backdrop-filter: blur(22px);
}

.client-promise-card span {
  color: var(--blue);
}

.client-promise-card strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.client-promise-card p {
  margin: 0.65rem 0 0;
}

.demo-orb {
  display: none;
}

.demo-visual article:not(.client-promise-card) {
  display: none;
}

@media (max-width: 1120px) {
  .security-feature-list {
    grid-template-columns: 1fr;
  }

  .premium-logo-orb {
    width: 240px;
    height: 240px;
  }
}

/* Ajustes 222W-H07 — legibilidad, composición completa y balance visual */

/* Menos compresión en titulares grandes */
h1,
h2,
.executive-cover strong,
.spotlight-top strong,
.product-stack strong,
.security-hero-card strong,
.client-promise-card strong,
.module-card strong,
.domain-map strong {
  letter-spacing: -0.045em !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 5.8vw, 6.15rem) !important;
  max-width: 860px;
}

h2 {
  font-size: clamp(2.85rem, 4.65vw, 4.95rem) !important;
  max-width: 980px;
}

/* Menos sensación de scroll: todo más arriba y compacto */
.screen {
  padding-top: 6.25rem !important;
  padding-bottom: 2.25rem !important;
}

.kicker {
  margin-bottom: 0.72rem;
}

/* Header más limpio sin invadir tanto */
.top-shell {
  padding-top: 0.78rem;
  padding-bottom: 0.6rem;
}

.brand-button img {
  height: 58px;
}

/* Transformación: cards más anchas, menos flacas */
.transformation-premium {
  grid-template-columns: 0.78fr 1.22fr !important;
  gap: clamp(1.8rem, 4vw, 3.6rem) !important;
}

.transformation-copy h2 {
  max-width: 620px;
}

.transformation-copy p {
  max-width: 560px;
  font-size: 1.02rem;
}

.transformation-stage {
  grid-template-columns: 1.05fr 120px 1.35fr !important;
  gap: 0.9rem !important;
}

.chaos-panel,
.clarity-panel {
  min-height: 345px !important;
  padding: 1.25rem !important;
  border-radius: 30px;
}

.chaos-panel h3,
.clarity-panel h3 {
  font-size: 1.35rem;
  line-height: 1.05;
}

.messy-files {
  height: 155px !important;
  margin: 0.8rem 0 !important;
}

.messy-files i {
  padding: 0.68rem 0.82rem;
  border-radius: 15px;
  font-size: 0.86rem;
}

.chaos-panel p,
.clarity-panel p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.transform-core {
  width: 120px !important;
  height: 120px !important;
}

.transform-core strong {
  font-size: 1.55rem !important;
}

.transform-core span {
  max-width: 90px;
  margin-top: -2.5rem !important;
  font-size: 0.62rem;
}

.ordered-dashboard {
  margin: 0.75rem 0 !important;
  padding: 0.78rem !important;
  border-radius: 22px;
}

.ordered-top {
  padding: 0.72rem 0.82rem !important;
  border-radius: 17px;
}

.ordered-kpis {
  gap: 0.48rem;
  margin: 0.58rem 0;
}

.ordered-kpis article {
  padding: 0.62rem;
  border-radius: 14px;
}

.ordered-kpis strong {
  font-size: 1.22rem;
}

.ordered-table {
  gap: 0.34rem;
}

.ordered-table p {
  padding: 0.5rem 0.62rem;
  font-size: 0.72rem;
}

/* Flujo: elementos más grandes y con mejor presencia */
.action-screen {
  grid-template-columns: 0.82fr 1.18fr !important;
}

.flow-copy h2 {
  max-width: 610px;
}

.flow-map {
  grid-template-columns: repeat(4, minmax(130px, 1fr)) !important;
  gap: 0.9rem !important;
}

.flow-map i {
  display: none;
}

.flow-map article {
  min-height: 285px !important;
  padding: 1.18rem !important;
  border-radius: 28px;
}

.flow-map article span {
  width: 58px;
  height: 58px;
  font-size: 1rem;
}

.flow-map article strong {
  font-size: 1.36rem;
  line-height: 1.05;
}

.flow-map article p {
  font-size: 0.98rem;
}

.flow-preview {
  margin-top: 1rem !important;
}

.flow-preview > div {
  min-height: 112px;
}

/* Producto: que no parezca que falta bajar */
.product-screen {
  padding-top: 5.85rem !important;
  align-content: center !important;
  gap: 1.1rem !important;
}

.product-heading h2 {
  max-width: 1050px;
  font-size: clamp(2.65rem, 4.25vw, 4.45rem) !important;
}

.product-heading p {
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.product-gallery {
  grid-template-columns: 1.08fr 0.92fr !important;
  gap: 0.9rem !important;
  margin-top: 0.2rem !important;
}

.product-spotlight {
  min-height: 365px !important;
  padding: 1.12rem !important;
  border-radius: 30px;
}

.spotlight-top strong {
  max-width: 600px;
  font-size: clamp(1.85rem, 3vw, 3rem) !important;
}

.spotlight-screen {
  margin-top: 0.85rem !important;
}

.spotlight-cover {
  min-height: 165px !important;
  border-radius: 22px;
}

.spotlight-cover b {
  font-size: 3.15rem;
}

.spotlight-metrics {
  gap: 0.55rem;
}

.spotlight-bars {
  padding: 0.72rem;
  gap: 0.42rem;
  border-radius: 18px;
}

.product-stack {
  gap: 0.72rem !important;
}

.product-stack article {
  padding: 1rem !important;
  border-radius: 26px;
}

.product-stack strong {
  font-size: clamp(1.25rem, 2vw, 1.9rem) !important;
}

.product-stack p {
  font-size: 0.9rem;
  line-height: 1.48;
}

/* Seguridad: menos PowerPoint, más panel de control */
.security-screen {
  grid-template-columns: 0.78fr 1.22fr !important;
}

.trust-copy h2 {
  max-width: 620px;
}

.trust-copy p {
  max-width: 560px;
  font-size: 1rem;
}

.security-premium-panel {
  gap: 0.78rem;
}

.security-hero-card {
  min-height: 190px !important;
  padding: 1.28rem !important;
  border-radius: 30px;
}

.security-hero-card strong {
  max-width: 720px;
  font-size: clamp(1.65rem, 2.8vw, 2.65rem) !important;
}

.security-hero-card p {
  font-size: 0.95rem;
}

.security-feature-list {
  gap: 0.7rem;
}

.security-feature-list article {
  min-height: 112px !important;
  padding: 0.88rem !important;
  border-radius: 22px;
}

.security-feature-list i {
  width: 38px;
  height: 38px;
}

.security-feature-list strong {
  font-size: 1.05rem;
}

.security-feature-list p {
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Demo: logo más protagonista sin hacer que la pantalla pese abajo */
.demo-card h2 {
  max-width: 620px;
}

.premium-logo-orb {
  width: 285px !important;
  height: 285px !important;
}

.premium-logo-orb img {
  width: 175px !important;
}

.client-promise-card {
  padding: 1.18rem !important;
  border-radius: 26px;
}

.client-promise-card strong {
  font-size: clamp(1.2rem, 2vw, 1.9rem) !important;
}

/* Evitar que parezca página con scroll interno en desktop */
@media (min-width: 1121px) {
  .screen {
    max-height: 100vh;
    overflow: hidden;
  }
}

/* Responsive conserva lectura normal */
@media (max-width: 1120px) {
  .transformation-premium,
  .transformation-stage,
  .action-screen,
  .product-gallery,
  .security-screen,
  .flow-map {
    grid-template-columns: 1fr !important;
  }

  .sigo-transformer {
    display: none;
  }
}

/* Ajustes 222W-H08 — textos comerciales finales */

.transformation-copy h2 {
  max-width: 720px;
}

.demo-card h2 {
  max-width: 680px;
}

@media (min-width: 1121px) {
  .demo-card h2 {
    font-size: clamp(2.65rem, 4.35vw, 4.85rem) !important;
  }
}

/* Ajuste 222W-H09 — transición central premium */

.sigo-transformer {
  display: grid;
  place-items: center;
}

.transition-bridge {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  width: 142px;
  min-height: 320px;
}

.transition-bridge::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(15, 95, 159, 0), var(--blue), var(--cyan), rgba(56, 189, 248, 0));
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.55);
}

.transition-bridge::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.98) 0 54%, transparent 56%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(15, 95, 159, 0.22);
}

.transition-bridge strong {
  position: relative;
  z-index: 2;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.transition-bridge span {
  position: relative;
  z-index: 2;
  padding: 0.38rem 0.7rem;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(6, 20, 47, 0.08);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transition-bridge span:first-child {
  align-self: start;
  margin-top: 28px;
}

.transition-bridge span:last-child {
  align-self: end;
  margin-bottom: 28px;
}

.transform-core {
  display: none;
}

@media (max-width: 1120px) {
  .transition-bridge {
    display: none;
  }
}

/* Ajuste 222W-H10 — transición horizontal clara */

.transition-bridge {
  display: none !important;
}

.transformation-stage {
  grid-template-columns: 1fr 210px 1.25fr !important;
}

.horizontal-transform {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-items: center;
  gap: 0.8rem;
  min-height: 300px;
}

.horizontal-transform::before,
.horizontal-transform::after {
  content: "";
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(15,95,159,0), var(--blue), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(56,189,248,0.45);
}

.horizontal-transform::before {
  transform: translateY(8px);
}

.horizontal-transform::after {
  transform: translateY(-8px) rotate(180deg);
}

.horizontal-transform strong {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  color: var(--blue);
  background:
    radial-gradient(circle, rgba(255,255,255,0.98) 0 54%, transparent 56%),
    conic-gradient(var(--blue), var(--cyan), var(--blue));
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(15, 95, 159, 0.22);
  font-size: 1.45rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.horizontal-transform span {
  display: inline-flex;
  justify-content: center;
  width: max-content;
  max-width: 180px;
  padding: 0.55rem 0.85rem;
  color: var(--blue);
  text-align: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(6,20,47,0.08);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .horizontal-transform {
    display: none;
  }
}

/* Ajuste 222W-H11 — motor horizontal de transformación */

.horizontal-transform,
.transition-bridge,
.transform-core {
  display: none !important;
}

.transformation-stage {
  grid-template-columns: 1fr 260px 1fr !important;
  align-items: center !important;
  gap: 1.2rem !important;
}

.chaos-panel,
.clarity-panel {
  min-height: 380px !important;
  padding: 1.35rem !important;
  border-radius: 32px !important;
}

.chaos-panel h3,
.clarity-panel h3 {
  font-size: 1.55rem !important;
  line-height: 1.05 !important;
}

.messy-files {
  height: 175px !important;
}

.transform-engine {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.engine-line {
  position: absolute;
  left: -18px;
  right: -18px;
  height: 5px;
  background: linear-gradient(
    90deg,
    rgba(15, 95, 159, 0.12),
    var(--blue),
    var(--cyan),
    var(--blue),
    rgba(15, 95, 159, 0.12)
  );
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.48);
}

.engine-line::before,
.engine-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  background: var(--cyan);
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.7);
}

.engine-line::before {
  left: 0;
}

.engine-line::after {
  right: 0;
}

.engine-card {
  position: relative;
  z-index: 2;
  width: 230px;
  padding: 1.15rem;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.32), transparent 8rem),
    linear-gradient(135deg, #063a66, var(--blue), var(--blue-2));
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(15, 95, 159, 0.22);
}

.engine-card span {
  display: block;
  margin-bottom: 0.42rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.engine-card strong {
  display: block;
  color: white;
  font-size: 1.45rem;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.ordered-dashboard {
  transform: none !important;
}

@media (max-width: 1120px) {
  .transformation-stage {
    grid-template-columns: 1fr !important;
  }

  .transform-engine {
    display: none;
  }
}

/* Ajuste 222W-H12 — transformación más balanceada y menos comprimida */

@media (min-width: 1121px) {
  .transformation-premium {
    grid-template-columns: 0.68fr 1.32fr !important;
    gap: clamp(1.5rem, 3.4vw, 3rem) !important;
  }

  .transformation-copy {
    align-self: center;
  }

  .transformation-copy h2 {
    max-width: 620px !important;
    font-size: clamp(2.75rem, 4.45vw, 4.65rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.04em !important;
  }

  .transformation-copy p {
    max-width: 520px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .transformation-stage {
    grid-template-columns: 1.08fr 190px 1.18fr !important;
    gap: 0.85rem !important;
  }

  .chaos-panel,
  .clarity-panel {
    min-height: 390px !important;
    padding: 1.28rem !important;
  }

  .chaos-panel {
    min-width: 0;
  }

  .chaos-panel h3,
  .clarity-panel h3 {
    font-size: 1.45rem !important;
    line-height: 1.08 !important;
  }

  .messy-files {
    height: 178px !important;
    margin: 0.85rem 0 0.75rem !important;
  }

  .messy-files i {
    font-size: 0.8rem !important;
    padding: 0.58rem 0.72rem !important;
  }

  .messy-files i:nth-child(1) {
    left: 2%;
    top: 6%;
    transform: rotate(-6deg);
  }

  .messy-files i:nth-child(2) {
    right: 4%;
    top: 10%;
    transform: rotate(5deg);
  }

  .messy-files i:nth-child(3) {
    left: 13%;
    top: 40%;
    transform: rotate(2deg);
  }

  .messy-files i:nth-child(4) {
    right: 4%;
    top: 52%;
    transform: rotate(-4deg);
  }

  .messy-files i:nth-child(5) {
    left: 5%;
    bottom: 4%;
    transform: rotate(6deg);
  }

  .chaos-panel p,
  .clarity-panel p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .transform-engine {
    min-height: 390px !important;
  }

  .engine-line {
    left: -34px !important;
    right: -34px !important;
    height: 4px !important;
  }

  .engine-card {
    width: 178px !important;
    padding: 0.95rem 0.9rem !important;
    border-radius: 24px !important;
  }

  .engine-card span {
    font-size: 0.62rem !important;
    letter-spacing: 0.13em !important;
  }

  .engine-card strong {
    font-size: 1.16rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
  }

  .ordered-dashboard {
    margin: 0.85rem 0 0.75rem !important;
  }

  .ordered-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ordered-table p {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

/* Ajuste 222W-H13 — pulido UI/UX global premium */

/* Sistema visual más consistente */
:root {
  --card-radius: 32px;
  --card-radius-sm: 22px;
  --card-shadow-premium: 0 24px 70px rgba(6, 20, 47, 0.105);
  --card-shadow-soft: 0 16px 44px rgba(6, 20, 47, 0.07);
  --surface-premium: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(240,249,255,0.76));
}

/* Mejor lectura global */
h1,
h2 {
  letter-spacing: -0.032em !important;
  line-height: 1.04 !important;
}

p {
  color: rgba(6, 20, 47, 0.78);
}

/* Header más producto premium */
.top-shell {
  grid-template-columns: 210px 1fr auto;
}

.screen-nav {
  padding: 0.42rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 50px rgba(6, 20, 47, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

.screen-nav button {
  min-height: 42px;
}

.app-access,
.primary-action {
  box-shadow:
    0 18px 34px rgba(15, 95, 159, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

/* Tarjetas premium consistentes */
.product-frame,
.demo-card,
.chaos-panel,
.clarity-panel,
.product-spotlight,
.product-stack article,
.security-hero-card,
.security-feature-list article,
.client-promise-card,
.contact-card,
.flow-map article,
.flow-preview > div {
  border-color: rgba(147, 199, 229, 0.68) !important;
  box-shadow: var(--card-shadow-premium) !important;
  backdrop-filter: blur(24px);
}

/* Transformación: línea integrada correctamente */
@media (min-width: 1121px) {
  .transformation-stage {
    grid-template-columns: 1.08fr 200px 1.18fr !important;
    gap: 1.05rem !important;
  }

  .chaos-panel,
  .clarity-panel {
    position: relative;
    z-index: 3;
    background: var(--surface-premium) !important;
    overflow: hidden;
  }

  .chaos-panel::before,
  .clarity-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 85% 8%, rgba(56,189,248,0.16), transparent 11rem),
      linear-gradient(180deg, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
  }

  .chaos-panel > *,
  .clarity-panel > * {
    position: relative;
    z-index: 2;
  }

  .transform-engine {
    position: relative;
    z-index: 1;
    min-height: 390px !important;
    isolation: isolate;
  }

  .engine-line {
    left: -4px !important;
    right: -4px !important;
    height: 4px !important;
    opacity: 0.95;
    z-index: 0;
    background: linear-gradient(
      90deg,
      rgba(15, 95, 159, 0),
      rgba(15, 95, 159, 0.48) 16%,
      rgba(56, 189, 248, 0.95) 50%,
      rgba(15, 95, 159, 0.48) 84%,
      rgba(15, 95, 159, 0)
    ) !important;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.4) !important;
  }

  .engine-line::before,
  .engine-line::after {
    display: none;
  }

  .engine-card {
    width: 190px !important;
    min-height: 104px;
    display: grid;
    align-content: center;
    background:
      radial-gradient(circle at 85% 10%, rgba(255,255,255,0.35), transparent 7rem),
      linear-gradient(135deg, #05345e, #0f5f9f 58%, #18a7df) !important;
    border-radius: 28px !important;
    box-shadow:
      0 24px 58px rgba(15, 95, 159, 0.24),
      inset 0 1px 0 rgba(255,255,255,0.34) !important;
  }

  .engine-card::before,
  .engine-card::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #38bdf8;
    border: 4px solid rgba(255,255,255,0.95);
    border-radius: 999px;
    box-shadow: 0 0 24px rgba(56,189,248,0.62);
    transform: translateY(-50%);
  }

  .engine-card::before {
    left: -8px;
  }

  .engine-card::after {
    right: -8px;
  }

  .engine-card strong {
    max-width: 150px;
    margin: 0 auto;
  }

  /* Que el "Antes" no vuelva a sentirse flaco */
  .chaos-panel {
    min-width: 250px;
  }

  .clarity-panel {
    min-width: 330px;
  }
}

/* Transformación: mockups más finos */
.messy-files i {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(247,252,255,0.92));
  border-color: rgba(150, 198, 225, 0.76);
  box-shadow:
    0 12px 26px rgba(6,20,47,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.ordered-dashboard {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(244,251,255,0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.65),
    0 14px 34px rgba(6,20,47,0.055);
}

.ordered-top {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.36), transparent 6rem),
    linear-gradient(135deg, #0f5f9f, #38bdf8) !important;
}

.ordered-table p {
  background: linear-gradient(90deg, rgba(248,252,255,0.98), rgba(238,248,255,0.86));
}

/* Flujo: hacer que parezca proceso digital */
.flow-map article {
  background:
    radial-gradient(circle at 85% 10%, rgba(56,189,248,0.15), transparent 8rem),
    var(--surface-premium) !important;
}

.flow-map article span {
  box-shadow:
    0 14px 30px rgba(15,95,159,0.22),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.flow-preview > div {
  background: rgba(255,255,255,0.82) !important;
}

/* Producto: más dashboard real */
.product-spotlight {
  background:
    radial-gradient(circle at 82% 12%, rgba(56,189,248,0.18), transparent 14rem),
    var(--surface-premium) !important;
}

.spotlight-cover {
  position: relative;
  overflow: hidden;
}

.spotlight-cover::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 90px;
  background: rgba(255,255,255,0.18);
  transform: rotate(-5deg);
}

.spotlight-metrics i {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(242,250,255,0.88)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.product-stack article {
  background:
    radial-gradient(circle at 90% 10%, rgba(56,189,248,0.14), transparent 10rem),
    var(--surface-premium) !important;
}

/* Seguridad: más institucional, menos tarjetas sueltas */
.security-premium-panel {
  position: relative;
}

.security-premium-panel::before {
  content: "";
  position: absolute;
  inset: 30px 22px;
  border: 1px solid rgba(15,95,159,0.12);
  border-radius: 38px;
  pointer-events: none;
}

.security-feature-list article {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(239,249,255,0.82)) !important;
}

/* Demo: hacerlo más aspiracional */
.demo-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(56,189,248,0.18), transparent 12rem),
    var(--surface-premium) !important;
}

.premium-logo-orb {
  box-shadow:
    0 28px 90px rgba(15,95,159,0.18),
    inset 0 1px 0 rgba(255,255,255,0.55) !important;
}

.client-promise-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(56,189,248,0.14), transparent 10rem),
    var(--surface-premium) !important;
}

/* Dots más discretos */
.dot-nav button {
  background: rgba(15,95,159,0.16);
}

.dot-nav button.active {
  box-shadow: 0 0 20px rgba(56,189,248,0.38);
}

/* Ajuste 222W-H14 — Seguridad con enfoque de exclusividad del organismo */

.trust-copy h2 {
  max-width: 680px !important;
}

.security-hero-card strong {
  max-width: 760px !important;
}

.security-feature-list article {
  position: relative;
  overflow: hidden;
}

.security-feature-list article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 68%);
  border-radius: 999px;
  pointer-events: none;
}

.security-feature-list strong {
  position: relative;
  z-index: 1;
}

.security-feature-list p {
  position: relative;
  z-index: 1;
}

/* Ajuste 222W-H15 — Flujo premium tipo producto */

.flow-premium-screen {
  grid-template-columns: 0.76fr 1.24fr !important;
  gap: clamp(2rem, 5vw, 4.5rem) !important;
}

.flow-copy h2 {
  max-width: 680px !important;
}

.flow-copy p {
  max-width: 570px;
  font-size: 1rem;
  line-height: 1.65;
}

.flow-command-center {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.flow-command-center::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  background:
    radial-gradient(circle, rgba(56,189,248,0.22), transparent 63%),
    conic-gradient(from 230deg, rgba(15,95,159,0.12), transparent, rgba(56,189,248,0.20), transparent);
  border-radius: 999px;
  filter: blur(2px);
}

.flow-main-device {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 1rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(56,189,248,0.16), transparent 12rem),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(240,249,255,0.82));
  border: 1px solid rgba(147,199,229,0.68);
  border-radius: 34px;
  box-shadow: var(--card-shadow-premium);
  backdrop-filter: blur(24px);
}

.flow-device-top {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.2rem 0.25rem 0.95rem;
}

.flow-device-top span {
  width: 11px;
  height: 11px;
  background: #cfe1ed;
  border-radius: 999px;
}

.flow-device-top strong {
  margin-left: 0.65rem;
  color: #6d8294;
  font-size: 0.8rem;
}

.flow-device-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 190px;
  padding: 1.35rem;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.4), transparent 11rem),
    linear-gradient(135deg, #0f5f9f, #38bdf8);
  border-radius: 26px;
}

.flow-device-hero small {
  color: rgba(255,255,255,0.78);
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-device-hero strong {
  display: block;
  max-width: 350px;
  margin-top: 0.35rem;
  color: white;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.flow-device-hero p {
  margin: 0.45rem 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.flow-device-hero b {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--blue);
  background: white;
  border-radius: 999px;
  font-size: 2.4rem;
  box-shadow: inset 0 0 0 12px rgba(56,189,248,0.18);
}

.flow-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.flow-device-grid article {
  padding: 0.88rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.flow-device-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.flow-device-grid strong {
  display: block;
  margin-top: 0.16rem;
  color: var(--blue);
  font-size: 1.55rem;
}

.flow-device-lines {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
  background: rgba(248,252,255,0.95);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.flow-device-lines i {
  height: 11px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.flow-device-lines i:nth-child(1) { width: 92%; }
.flow-device-lines i:nth-child(2) { width: 72%; }
.flow-device-lines i:nth-child(3) { width: 84%; }

.flow-orbit-card {
  position: absolute;
  z-index: 4;
  width: 210px;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(236,248,255,0.84));
  border: 1px solid rgba(147,199,229,0.68);
  border-radius: 24px;
  box-shadow: var(--card-shadow-soft);
  backdrop-filter: blur(22px);
}

.flow-orbit-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.72rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  font-weight: 1000;
}

.flow-orbit-card strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.flow-orbit-card p {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.42;
}

.flow-input {
  left: 0;
  top: 42px;
}

.flow-engine {
  right: 0;
  top: 24px;
}

.flow-output {
  right: 22px;
  bottom: 10px;
}

@media (max-width: 1120px) {
  .flow-premium-screen {
    grid-template-columns: 1fr !important;
  }

  .flow-command-center {
    min-height: auto;
  }

  .flow-command-center::before {
    display: none;
  }

  .flow-orbit-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 0.8rem;
  }
}

/* Ajuste 222W-H16 — movimiento premium y profundidad 3D ligera */

/* Movimiento base más elegante */
.screen.active .hero-text,
.screen.active .flow-copy,
.screen.active .transformation-copy,
.screen.active .product-heading,
.screen.active .trust-copy,
.screen.active .demo-card {
  animation: premiumTextIn 720ms cubic-bezier(.2,.8,.2,1) both;
}

.screen.active .hero-device,
.screen.active .transformation-stage,
.screen.active .flow-command-center,
.screen.active .product-gallery,
.screen.active .security-premium-panel,
.screen.active .client-demo-visual {
  animation: premiumVisualIn 820ms cubic-bezier(.2,.8,.2,1) 90ms both;
}

@keyframes premiumTextIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes premiumVisualIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.965);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Profundidad 3D ligera */
.hero-device,
.flow-command-center,
.product-gallery,
.security-premium-panel,
.client-demo-visual,
.transformation-stage {
  perspective: 1200px;
}

.product-frame,
.flow-main-device,
.product-spotlight,
.demo-card,
.security-hero-card,
.clarity-panel,
.chaos-panel {
  transform-style: preserve-3d;
  transition:
    transform 420ms cubic-bezier(.2,.8,.2,1),
    box-shadow 420ms cubic-bezier(.2,.8,.2,1),
    border-color 420ms ease;
}

@media (hover: hover) {
  .product-frame:hover,
  .flow-main-device:hover,
  .product-spotlight:hover,
  .demo-card:hover,
  .security-hero-card:hover,
  .clarity-panel:hover,
  .chaos-panel:hover {
    transform: translateY(-8px) rotateX(1.2deg) rotateY(-1.2deg);
    box-shadow: 0 34px 96px rgba(6, 20, 47, 0.16) !important;
    border-color: rgba(56, 189, 248, 0.65) !important;
  }

  .product-stack article:hover,
  .security-feature-list article:hover,
  .client-promise-card:hover,
  .flow-orbit-card:hover,
  .contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 76px rgba(6, 20, 47, 0.13) !important;
    border-color: rgba(56, 189, 248, 0.64) !important;
  }
}

.product-stack article,
.security-feature-list article,
.client-promise-card,
.flow-orbit-card,
.contact-card {
  transition:
    transform 360ms cubic-bezier(.2,.8,.2,1),
    box-shadow 360ms cubic-bezier(.2,.8,.2,1),
    border-color 360ms ease;
}

/* Flotación suave de mockups principales */
.screen.active .product-frame {
  animation:
    premiumVisualIn 820ms cubic-bezier(.2,.8,.2,1) 90ms both,
    productFloat 6.5s ease-in-out 1.1s infinite;
}

.screen.active .flow-main-device {
  animation:
    premiumVisualIn 820ms cubic-bezier(.2,.8,.2,1) 90ms both,
    productFloatSmall 6.8s ease-in-out 1.1s infinite;
}

.screen.active .premium-logo-orb {
  animation: logoBreath 5.8s ease-in-out infinite;
}

@keyframes productFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(1deg) rotateY(-1deg);
  }
}

@keyframes productFloatSmall {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes logoBreath {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 28px 90px rgba(15,95,159,0.18), inset 0 1px 0 rgba(255,255,255,0.55);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 34px 110px rgba(15,95,159,0.24), inset 0 1px 0 rgba(255,255,255,0.65);
  }
}

/* Aparición escalonada de elementos */
.screen.active .glass-badge,
.screen.active .flow-orbit-card,
.screen.active .product-stack article,
.screen.active .security-feature-list article,
.screen.active .client-promise-card,
.screen.active .ordered-table p,
.screen.active .messy-files i {
  animation: staggerIn 620ms cubic-bezier(.2,.8,.2,1) both;
}

.screen.active .glass-badge:nth-of-type(1),
.screen.active .flow-orbit-card:nth-of-type(1),
.screen.active .product-stack article:nth-child(1),
.screen.active .security-feature-list article:nth-child(1),
.screen.active .client-promise-card:nth-of-type(1),
.screen.active .messy-files i:nth-child(1) {
  animation-delay: 180ms;
}

.screen.active .glass-badge:nth-of-type(2),
.screen.active .flow-orbit-card:nth-of-type(2),
.screen.active .product-stack article:nth-child(2),
.screen.active .security-feature-list article:nth-child(2),
.screen.active .client-promise-card:nth-of-type(2),
.screen.active .messy-files i:nth-child(2) {
  animation-delay: 260ms;
}

.screen.active .glass-badge:nth-of-type(3),
.screen.active .flow-orbit-card:nth-of-type(3),
.screen.active .product-stack article:nth-child(3),
.screen.active .security-feature-list article:nth-child(3),
.screen.active .ordered-table p:nth-child(1),
.screen.active .messy-files i:nth-child(3) {
  animation-delay: 340ms;
}

.screen.active .security-feature-list article:nth-child(4),
.screen.active .ordered-table p:nth-child(2),
.screen.active .messy-files i:nth-child(4) {
  animation-delay: 420ms;
}

.screen.active .ordered-table p:nth-child(3),
.screen.active .messy-files i:nth-child(5) {
  animation-delay: 500ms;
}

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Líneas y barras con sensación de carga */
.screen.active .smart-lines span,
.screen.active .flow-device-lines i,
.screen.active .spotlight-bars em,
.screen.active .ordered-table p,
.screen.active .capture-mini span {
  transform-origin: left center;
}

.screen.active .smart-lines span,
.screen.active .flow-device-lines i,
.screen.active .spotlight-bars em,
.screen.active .capture-mini span {
  animation: lineReveal 900ms cubic-bezier(.2,.8,.2,1) both;
}

.screen.active .smart-lines span:nth-child(2),
.screen.active .flow-device-lines i:nth-child(2),
.screen.active .spotlight-bars em:nth-child(2),
.screen.active .capture-mini span:nth-child(2) {
  animation-delay: 160ms;
}

.screen.active .smart-lines span:nth-child(3),
.screen.active .flow-device-lines i:nth-child(3),
.screen.active .spotlight-bars em:nth-child(3),
.screen.active .capture-mini span:nth-child(3) {
  animation-delay: 260ms;
}

.screen.active .smart-lines span:nth-child(4) {
  animation-delay: 360ms;
}

@keyframes lineReveal {
  from {
    transform: scaleX(0.08);
    opacity: 0.25;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Motor de transformación más fino */
.engine-line {
  animation: engineGlow 3.8s ease-in-out infinite;
}

@keyframes engineGlow {
  0%, 100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 8px rgba(56,189,248,0.28));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(56,189,248,0.55));
  }
}

/* Botones con interacción premium */
.primary-action,
.secondary-action,
.app-access,
.screen-nav button,
.dot-nav button {
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

@media (hover: hover) {
  .primary-action:hover,
  .secondary-action:hover,
  .app-access:hover {
    transform: translateY(-3px);
  }

  .screen-nav button:hover {
    transform: translateY(-1px);
  }
}

/* Fondo con movimiento muy sutil */
.liquid-a {
  animation: liquidDriftA 18s ease-in-out infinite;
}

.liquid-b {
  animation: liquidDriftB 21s ease-in-out infinite;
}

@keyframes liquidDriftA {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-28px, 20px, 0) scale(1.04);
  }
}

@keyframes liquidDriftB {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(32px, -22px, 0) scale(1.05);
  }
}

/* Respeto a accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Ajuste 222W-H17 — profundidad visual, corriente de datos y composición premium */

/* Corriente de datos / agua de fondo */
.data-current {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  filter: blur(0.2px);
}

.current-one {
  left: -8vw;
  top: 18vh;
  width: 58vw;
  height: 26vh;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(56,189,248,0.20), transparent 42%),
    linear-gradient(100deg, transparent 0%, rgba(15,95,159,0.10) 38%, rgba(56,189,248,0.20) 52%, transparent 72%);
  border-radius: 999px;
  transform: rotate(-8deg);
  animation: currentDriftOne 16s ease-in-out infinite;
}

.current-two {
  right: -10vw;
  bottom: 12vh;
  width: 64vw;
  height: 30vh;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(15,95,159,0.16), transparent 48%),
    linear-gradient(100deg, transparent 0%, rgba(56,189,248,0.18) 42%, rgba(15,95,159,0.12) 58%, transparent 78%);
  border-radius: 999px;
  transform: rotate(-10deg);
  animation: currentDriftTwo 19s ease-in-out infinite;
}

@keyframes currentDriftOne {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }
  50% {
    transform: translate3d(44px, 18px, 0) rotate(-5deg) scale(1.04);
  }
}

@keyframes currentDriftTwo {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-10deg) scale(1);
  }
  50% {
    transform: translate3d(-38px, -24px, 0) rotate(-13deg) scale(1.05);
  }
}

/* Nodos flotantes de datos */
.floating-nodes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-nodes span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: rgba(56,189,248,0.62);
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  box-shadow:
    0 0 0 8px rgba(56,189,248,0.08),
    0 0 24px rgba(56,189,248,0.38);
  animation: nodeFloat 7s ease-in-out infinite;
}

.floating-nodes span:nth-child(1) { left: 9%; top: 28%; animation-delay: 0s; }
.floating-nodes span:nth-child(2) { left: 17%; bottom: 22%; animation-delay: 1s; }
.floating-nodes span:nth-child(3) { right: 12%; top: 31%; animation-delay: 0.4s; }
.floating-nodes span:nth-child(4) { right: 22%; bottom: 20%; animation-delay: 1.3s; }
.floating-nodes span:nth-child(5) { left: 47%; top: 15%; animation-delay: 0.8s; }
.floating-nodes span:nth-child(6) { left: 55%; bottom: 13%; animation-delay: 1.6s; }

@keyframes nodeFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.58;
  }
  50% {
    transform: translateY(-16px) scale(1.12);
    opacity: 0.92;
  }
}

/* Fondos con más profundidad en pantallas principales */
.hero-screen::before,
.flow-premium-screen::before,
.product-screen::before,
.security-screen::before {
  content: "";
  position: absolute;
  inset: 12% -8% auto auto;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(56,189,248,0.20), transparent 62%),
    conic-gradient(from 240deg, rgba(15,95,159,0.16), transparent, rgba(56,189,248,0.18), transparent);
  border-radius: 999px;
  filter: blur(1px);
  z-index: -1;
}

.hero-screen::after,
.flow-premium-screen::after,
.product-screen::after,
.security-screen::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 5%;
  width: 360px;
  height: 360px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(15,95,159,0.11), transparent 68%);
  border-radius: 999px;
  z-index: -1;
}

/* Hero: más objeto de producto, menos plano */
.product-frame {
  position: relative;
  overflow: hidden;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.38), transparent 28%, transparent 70%, rgba(56,189,248,0.08)),
    radial-gradient(circle at 92% 8%, rgba(56,189,248,0.20), transparent 12rem);
  z-index: 1;
}

.product-frame > * {
  position: relative;
  z-index: 2;
}

.product-frame::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -26px;
  height: 36px;
  background: rgba(15,95,159,0.16);
  filter: blur(18px);
  border-radius: 50%;
}

/* Badges más premium y funcionales */
.premium-badge {
  min-width: 188px;
  background:
    radial-gradient(circle at 90% 8%, rgba(56,189,248,0.18), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(239,249,255,0.82)) !important;
}

.premium-badge small {
  display: block;
  margin-top: 0.22rem;
  color: rgba(6,20,47,0.58);
  font-size: 0.72rem;
  font-weight: 850;
}

.premium-badge::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(56,189,248,0.55);
}

/* Transformación: más profundidad entre antes-después */
.transformation-stage {
  position: relative;
}

.transformation-stage::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 9%;
  top: 50%;
  height: 130px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,95,159,0.06), rgba(56,189,248,0.12), rgba(15,95,159,0.06));
  border-radius: 999px;
  filter: blur(28px);
  transform: translateY(-50%);
  z-index: 0;
}

/* Flujo: conectores visuales */
.flow-connector {
  position: absolute;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, rgba(15,95,159,0), var(--blue), var(--cyan), rgba(56,189,248,0));
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(56,189,248,0.42);
  animation: connectorPulse 3.8s ease-in-out infinite;
}

.connector-a {
  left: 185px;
  top: 154px;
  width: 210px;
  transform: rotate(8deg);
}

.connector-b {
  right: 150px;
  top: 170px;
  width: 210px;
  transform: rotate(-10deg);
  animation-delay: 0.8s;
}

@keyframes connectorPulse {
  0%, 100% {
    opacity: 0.38;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.25));
  }
  50% {
    opacity: 0.9;
    filter: drop-shadow(0 0 14px rgba(56,189,248,0.5));
  }
}

.flow-main-device {
  overflow: hidden;
}

.flow-main-device::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.40), transparent 30%, transparent 70%, rgba(56,189,248,0.08));
  z-index: 1;
}

.flow-main-device > * {
  position: relative;
  z-index: 2;
}

/* Producto: capas visuales tipo software */
.product-spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight-watermark {
  position: absolute;
  right: 1.2rem;
  top: 0.6rem;
  color: rgba(15,95,159,0.055);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 1000;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.product-stack article {
  position: relative;
  overflow: hidden;
}

.product-stack article::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.72rem;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent);
  border-radius: 999px;
  opacity: 0.35;
}

/* Seguridad: escudo/capas protegidas */
.security-shield {
  position: absolute;
  right: -20px;
  top: -24px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 2;
}

.security-shield span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56,189,248,0.42);
  border-radius: 38px;
  transform: rotate(12deg);
  box-shadow: 0 0 28px rgba(56,189,248,0.12);
}

.security-shield span:nth-child(2) {
  inset: 24px;
  transform: rotate(12deg);
  opacity: 0.8;
}

.security-shield span:nth-child(3) {
  inset: 48px;
  transform: rotate(12deg);
  opacity: 0.65;
}

.security-premium-panel {
  isolation: isolate;
}

.security-hero-card,
.security-feature-list {
  position: relative;
  z-index: 3;
}

/* Demo: más aspiracional */
.demo-visual {
  position: relative;
}

.demo-visual::before {
  content: "";
  position: absolute;
  inset: 8% 8% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56,189,248,0.20), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.premium-logo-orb {
  position: relative;
  overflow: hidden;
}

.premium-logo-orb::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(15,95,159,0.12);
  border-radius: 50%;
}

/* Más vida constante en Inicio y Flujo */
.screen.active .glass-badge {
  animation:
    staggerIn 620ms cubic-bezier(.2,.8,.2,1) both,
    badgeFloat 6.2s ease-in-out 1.1s infinite;
}

.badge-report {
  animation-delay: 260ms, 1.6s !important;
}

.badge-identity {
  animation-delay: 340ms, 2.1s !important;
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.screen.active .flow-orbit-card {
  animation:
    staggerIn 620ms cubic-bezier(.2,.8,.2,1) both,
    orbitFloat 6.4s ease-in-out 1.2s infinite;
}

.flow-engine {
  animation-delay: 260ms, 1.7s !important;
}

.flow-output {
  animation-delay: 340ms, 2.2s !important;
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Ajustes responsivos para que los nuevos elementos no estorben */
@media (max-width: 1120px) {
  .data-current,
  .floating-nodes,
  .flow-connector,
  .security-shield {
    display: none;
  }
}

/* Ajuste 222W-H18 — Producto con más impacto visual */

.product-screen {
  overflow: hidden;
}

.product-screen::before {
  width: 620px !important;
  height: 620px !important;
  right: -6% !important;
  top: 10% !important;
  opacity: 0.95;
  background:
    radial-gradient(circle, rgba(56,189,248,0.26), transparent 60%),
    conic-gradient(from 220deg, rgba(15,95,159,0.18), transparent, rgba(56,189,248,0.22), transparent) !important;
}

.product-gallery {
  position: relative;
  isolation: isolate;
}

.product-gallery::before {
  content: "";
  position: absolute;
  inset: -2rem -2.4rem -2rem -2.4rem;
  background:
    radial-gradient(circle at 28% 46%, rgba(15,95,159,0.16), transparent 28%),
    radial-gradient(circle at 76% 42%, rgba(56,189,248,0.18), transparent 32%),
    linear-gradient(115deg, rgba(255,255,255,0.16), rgba(56,189,248,0.09), rgba(255,255,255,0.08));
  border-radius: 48px;
  filter: blur(0.2px);
  z-index: -2;
}

.product-gallery::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -32px;
  height: 80px;
  background: rgba(15,95,159,0.14);
  border-radius: 50%;
  filter: blur(28px);
  z-index: -3;
}

.product-spotlight {
  min-height: 440px;
  padding: 1.25rem !important;
  background:
    radial-gradient(circle at 88% 10%, rgba(56,189,248,0.28), transparent 13rem),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(225,244,255,0.86)) !important;
  box-shadow:
    0 38px 110px rgba(6,20,47,0.16),
    inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

.spotlight-watermark {
  right: -0.7rem !important;
  top: 1.8rem !important;
  color: transparent !important;
  font-size: clamp(7rem, 12vw, 10.5rem) !important;
  line-height: 0.8;
  letter-spacing: -0.13em;
  background: linear-gradient(135deg, rgba(15,95,159,0.10), rgba(56,189,248,0.03));
  -webkit-background-clip: text;
  background-clip: text;
  filter: blur(0.2px);
  opacity: 1;
}

.spotlight-top {
  position: relative;
  z-index: 2;
}

.spotlight-top strong {
  max-width: 520px;
  font-size: clamp(2rem, 3vw, 2.85rem) !important;
  line-height: 1.02 !important;
}

.spotlight-cover {
  min-height: 150px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,0.34), transparent 8rem),
    linear-gradient(135deg, #0a4778, #0f79bc 52%, #38bdf8) !important;
  box-shadow:
    0 22px 54px rgba(15,95,159,0.22),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

.spotlight-cover strong {
  font-size: clamp(3.2rem, 5vw, 4.7rem) !important;
  letter-spacing: -0.055em;
}

.spotlight-bars {
  position: relative;
  z-index: 2;
  padding: 0.8rem;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(147,199,229,0.55);
  border-radius: 20px;
}

.spotlight-bars em {
  height: 13px !important;
  background: linear-gradient(90deg, #0f5f9f, #38bdf8) !important;
  box-shadow: 0 0 18px rgba(56,189,248,0.22);
}

.product-stack {
  gap: 1.05rem !important;
}

.product-stack article {
  min-height: 128px;
  padding: 1.18rem !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(56,189,248,0.22), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(231,247,255,0.86)) !important;
  box-shadow:
    0 28px 86px rgba(6,20,47,0.12),
    inset 0 1px 0 rgba(255,255,255,0.75) !important;
}

.product-stack article:nth-child(1) {
  transform: translateX(8px);
}

.product-stack article:nth-child(2) {
  transform: translateX(-8px);
}

.product-stack article:nth-child(3) {
  transform: translateX(14px);
}

.product-stack article strong {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
  line-height: 1.05 !important;
}

.product-stack article::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(56,189,248,0.65);
}

@media (hover: hover) {
  .product-stack article:hover {
    transform: translateX(0) translateY(-8px) !important;
  }
}

@media (max-width: 1120px) {
  .product-stack article {
    transform: none !important;
  }
}

/* Ajuste 222W-H19 — cambio evidente en Producto */

@media (min-width: 1121px) {
  .product-screen {
    grid-template-rows: auto 1fr !important;
  }

  .product-heading {
    position: relative;
    z-index: 4;
  }

  .product-heading h2 {
    max-width: 980px !important;
  }

  .product-gallery {
    position: relative;
    display: grid !important;
    grid-template-columns: 1.12fr 0.88fr !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
    padding: 1.35rem !important;
    border: 1px solid rgba(147,199,229,0.64);
    border-radius: 44px;
    background:
      radial-gradient(circle at 78% 16%, rgba(56,189,248,0.30), transparent 18rem),
      radial-gradient(circle at 18% 70%, rgba(15,95,159,0.18), transparent 20rem),
      linear-gradient(135deg, rgba(5,52,94,0.96), rgba(15,95,159,0.82) 45%, rgba(214,242,255,0.72));
    box-shadow:
      0 42px 120px rgba(6,20,47,0.22),
      inset 0 1px 0 rgba(255,255,255,0.36);
    overflow: hidden;
  }

  .product-gallery::before {
    content: "SIGO";
    position: absolute;
    right: -0.4rem;
    top: -0.95rem;
    color: rgba(255,255,255,0.10);
    font-size: 9.5rem;
    font-weight: 1000;
    letter-spacing: -0.14em;
    filter: blur(0.2px);
    z-index: 0;
  }

  .product-gallery::after {
    content: "";
    position: absolute;
    inset: auto 7% -40px 7%;
    height: 80px;
    background: rgba(6,20,47,0.26);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
  }

  .product-spotlight,
  .product-stack {
    position: relative;
    z-index: 2;
  }

  .product-spotlight {
    min-height: 430px !important;
    padding: 1.35rem !important;
    background:
      radial-gradient(circle at 90% 8%, rgba(255,255,255,0.34), transparent 13rem),
      linear-gradient(145deg, rgba(255,255,255,0.96), rgba(235,249,255,0.88)) !important;
    border: 1px solid rgba(255,255,255,0.76) !important;
    box-shadow:
      0 30px 90px rgba(0,0,0,0.20),
      inset 0 1px 0 rgba(255,255,255,0.9) !important;
  }

  .spotlight-watermark {
    display: none !important;
  }

  .spotlight-top span {
    color: var(--blue) !important;
  }

  .spotlight-top strong {
    color: var(--ink) !important;
    font-size: clamp(2.1rem, 3.2vw, 3rem) !important;
  }

  .spotlight-cover {
    min-height: 165px !important;
    border-radius: 26px !important;
    background:
      radial-gradient(circle at 88% 15%, rgba(255,255,255,0.42), transparent 8rem),
      linear-gradient(135deg, #063a66, #0f5f9f 52%, #38bdf8) !important;
    box-shadow:
      0 26px 70px rgba(15,95,159,0.30),
      inset 0 1px 0 rgba(255,255,255,0.34);
  }

  .spotlight-cover strong {
    font-size: 4.8rem !important;
  }

  .product-stack {
    display: grid !important;
    gap: 1rem !important;
    align-content: center;
  }

  .product-stack article {
    min-height: 132px !important;
    padding: 1.25rem !important;
    border: 1px solid rgba(255,255,255,0.68) !important;
    background:
      radial-gradient(circle at 92% 12%, rgba(255,255,255,0.34), transparent 9rem),
      linear-gradient(145deg, rgba(255,255,255,0.94), rgba(226,246,255,0.82)) !important;
    box-shadow:
      0 26px 76px rgba(0,0,0,0.16),
      inset 0 1px 0 rgba(255,255,255,0.86) !important;
    backdrop-filter: blur(26px);
  }

  .product-stack article:nth-child(1) {
    transform: translateX(-8px) translateY(-4px) !important;
  }

  .product-stack article:nth-child(2) {
    transform: translateX(20px) !important;
  }

  .product-stack article:nth-child(3) {
    transform: translateX(-2px) translateY(4px) !important;
  }

  .product-stack article span {
    color: var(--blue) !important;
  }

  .product-stack article strong {
    color: var(--ink) !important;
    font-size: 1.65rem !important;
  }

  .product-stack article p {
    color: rgba(6,20,47,0.68) !important;
  }

  .screen.active .product-gallery {
    animation:
      premiumVisualIn 820ms cubic-bezier(.2,.8,.2,1) 90ms both,
      productStageGlow 7s ease-in-out 1.2s infinite;
  }

  @keyframes productStageGlow {
    0%, 100% {
      box-shadow:
        0 42px 120px rgba(6,20,47,0.22),
        inset 0 1px 0 rgba(255,255,255,0.36);
    }
    50% {
      box-shadow:
        0 50px 140px rgba(6,20,47,0.29),
        0 0 80px rgba(56,189,248,0.16),
        inset 0 1px 0 rgba(255,255,255,0.44);
    }
  }
}

/* Ajuste 222W-H20 — refinamiento pantalla Flujo */

@media (min-width: 1121px) {
  .flow-premium-screen {
    grid-template-columns: 0.72fr 1.28fr !important;
    gap: clamp(2rem, 4.6vw, 4.2rem) !important;
  }

  .flow-copy h2 {
    max-width: 620px !important;
    font-size: clamp(3rem, 4.6vw, 4.95rem) !important;
    line-height: 1.04 !important;
  }

  .flow-copy p {
    max-width: 520px !important;
  }

  .flow-command-center {
    min-height: 560px !important;
  }

  .flow-main-device {
    width: min(100%, 560px) !important;
    transform: translateX(-8px);
  }

  .flow-orbit-card {
    width: 190px !important;
    padding: 0.92rem !important;
    border-radius: 22px !important;
  }

  .flow-orbit-card span {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 0.58rem !important;
    border-radius: 13px !important;
  }

  .flow-orbit-card strong {
    font-size: 1rem !important;
  }

  .flow-orbit-card p {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
  }

  .flow-input {
    left: -24px !important;
    top: 62px !important;
  }

  .flow-engine {
    right: -18px !important;
    top: 58px !important;
  }

  .flow-output {
    right: 18px !important;
    bottom: 26px !important;
  }

  .connector-a {
    left: 150px !important;
    top: 178px !important;
    width: 175px !important;
    opacity: 0.55;
  }

  .connector-b {
    right: 130px !important;
    top: 184px !important;
    width: 170px !important;
    opacity: 0.55;
  }

  .flow-device-hero {
    min-height: 185px !important;
  }

  .flow-device-hero strong {
    max-width: 360px !important;
    font-size: clamp(2.2rem, 3.4vw, 3.25rem) !important;
  }

  .flow-device-hero b {
    width: 105px !important;
    height: 105px !important;
  }
}

/* Ajuste 222W-H21 — Transformación con más impacto visual */

@media (min-width: 1121px) {
  .transformation-premium {
    grid-template-columns: 0.62fr 1.38fr !important;
    gap: clamp(1.5rem, 3.2vw, 3rem) !important;
  }

  .transformation-copy h2 {
    max-width: 590px !important;
    font-size: clamp(3rem, 4.55vw, 5rem) !important;
    line-height: 1.035 !important;
  }

  .transformation-copy p {
    max-width: 500px !important;
  }

  .transformation-stage {
    position: relative;
    grid-template-columns: 1fr 210px 1.16fr !important;
    gap: 1rem !important;
    padding: 1.15rem !important;
    border: 1px solid rgba(147,199,229,0.52);
    border-radius: 44px;
    background:
      radial-gradient(circle at 78% 18%, rgba(56,189,248,0.22), transparent 18rem),
      radial-gradient(circle at 20% 70%, rgba(15,95,159,0.12), transparent 18rem),
      linear-gradient(135deg, rgba(255,255,255,0.34), rgba(222,245,255,0.34));
    box-shadow:
      0 38px 110px rgba(6,20,47,0.13),
      inset 0 1px 0 rgba(255,255,255,0.62);
    overflow: hidden;
  }

  .transformation-stage::before {
    left: 8% !important;
    right: 7% !important;
    height: 185px !important;
    background:
      linear-gradient(90deg, rgba(15,95,159,0.08), rgba(56,189,248,0.20), rgba(15,95,159,0.10)) !important;
    filter: blur(22px) !important;
    z-index: 0 !important;
  }

  .transformation-stage::after {
    content: "ANTES  →  SIGO  →  DESPUÉS";
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    color: rgba(15,95,159,0.34);
    font-size: 0.72rem;
    font-weight: 1000;
    letter-spacing: 0.18em;
    white-space: nowrap;
    z-index: 1;
  }

  .chaos-panel,
  .clarity-panel,
  .transform-engine {
    position: relative;
    z-index: 3;
  }

  .chaos-panel,
  .clarity-panel {
    min-height: 410px !important;
    border-radius: 34px !important;
    background:
      radial-gradient(circle at 90% 8%, rgba(56,189,248,0.16), transparent 11rem),
      linear-gradient(145deg, rgba(255,255,255,0.97), rgba(236,248,255,0.86)) !important;
    box-shadow:
      0 28px 86px rgba(6,20,47,0.12),
      inset 0 1px 0 rgba(255,255,255,0.82) !important;
  }

  .chaos-panel {
    min-width: 290px !important;
  }

  .clarity-panel {
    min-width: 355px !important;
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.62) !important;
    box-shadow:
      0 36px 105px rgba(6,20,47,0.16),
      0 0 60px rgba(56,189,248,0.12),
      inset 0 1px 0 rgba(255,255,255,0.86) !important;
  }

  .chaos-panel h3,
  .clarity-panel h3 {
    font-size: 1.55rem !important;
  }

  .messy-files {
    height: 188px !important;
  }

  .transform-engine {
    min-height: 410px !important;
  }

  .engine-line {
    left: -28px !important;
    right: -28px !important;
    height: 5px !important;
    background: linear-gradient(
      90deg,
      rgba(15,95,159,0),
      rgba(15,95,159,0.55),
      rgba(56,189,248,0.95),
      rgba(15,95,159,0.55),
      rgba(15,95,159,0)
    ) !important;
  }

  .engine-card {
    width: 205px !important;
    min-height: 118px !important;
    border-radius: 30px !important;
    transform: translateY(-4px);
    box-shadow:
      0 30px 80px rgba(15,95,159,0.28),
      0 0 70px rgba(56,189,248,0.16),
      inset 0 1px 0 rgba(255,255,255,0.36) !important;
  }

  .engine-card::before,
  .engine-card::after {
    width: 18px !important;
    height: 18px !important;
  }

  .engine-card span {
    font-size: 0.66rem !important;
  }

  .engine-card strong {
    max-width: 168px !important;
    font-size: 1.25rem !important;
  }

  .ordered-dashboard {
    border-radius: 24px !important;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.99), rgba(237,249,255,0.94)) !important;
  }

  .ordered-top {
    min-height: 58px;
  }

  .ordered-kpis article {
    background: rgba(255,255,255,0.92);
  }

  .ordered-table p {
    min-height: 34px;
  }
}

/* Ajuste 222W-H22 — corrección Transformación, composición limpia */

@media (min-width: 1121px) {
  .transformation-premium {
    grid-template-columns: 0.68fr 1.32fr !important;
    gap: clamp(1.6rem, 3.2vw, 3.2rem) !important;
  }

  .transformation-copy h2 {
    max-width: 610px !important;
    font-size: clamp(3rem, 4.45vw, 4.85rem) !important;
    line-height: 1.035 !important;
  }

  .transformation-stage {
    display: grid !important;
    grid-template-columns: 0.96fr 170px 1.08fr !important;
    gap: 1rem !important;
    align-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .transformation-stage::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 3%;
    top: 50%;
    height: 190px !important;
    background:
      radial-gradient(circle at 72% 50%, rgba(56,189,248,0.22), transparent 42%),
      linear-gradient(90deg, rgba(15,95,159,0.04), rgba(56,189,248,0.12), rgba(15,95,159,0.04)) !important;
    border-radius: 999px;
    filter: blur(26px) !important;
    transform: translateY(-50%);
    z-index: 0 !important;
    pointer-events: none;
  }

  .transformation-stage::after {
    display: none !important;
  }

  .chaos-panel,
  .clarity-panel {
    min-height: 390px !important;
    padding: 1.35rem !important;
    border-radius: 34px !important;
    background:
      radial-gradient(circle at 88% 8%, rgba(56,189,248,0.15), transparent 11rem),
      linear-gradient(145deg, rgba(255,255,255,0.96), rgba(238,249,255,0.86)) !important;
    box-shadow:
      0 26px 82px rgba(6,20,47,0.105),
      inset 0 1px 0 rgba(255,255,255,0.82) !important;
    transform: none !important;
  }

  .chaos-panel {
    min-width: 260px !important;
  }

  .clarity-panel {
    min-width: 340px !important;
    transform: translateY(-4px) !important;
    border-color: rgba(56,189,248,0.6) !important;
    box-shadow:
      0 32px 100px rgba(6,20,47,0.14),
      0 0 56px rgba(56,189,248,0.10),
      inset 0 1px 0 rgba(255,255,255,0.86) !important;
  }

  .chaos-panel h3,
  .clarity-panel h3 {
    font-size: 1.48rem !important;
    line-height: 1.08 !important;
  }

  .messy-files {
    height: 176px !important;
  }

  .transform-engine {
    min-height: 390px !important;
    z-index: 4 !important;
  }

  .engine-line {
    left: -22px !important;
    right: -22px !important;
    height: 4px !important;
    opacity: 0.72 !important;
    background: linear-gradient(
      90deg,
      rgba(15,95,159,0),
      rgba(15,95,159,0.42),
      rgba(56,189,248,0.92),
      rgba(15,95,159,0.42),
      rgba(15,95,159,0)
    ) !important;
  }

  .engine-card {
    width: 168px !important;
    min-height: 104px !important;
    padding: 0.9rem 0.8rem !important;
    border-radius: 26px !important;
    transform: none !important;
  }

  .engine-card span {
    font-size: 0.58rem !important;
    letter-spacing: 0.12em !important;
  }

  .engine-card strong {
    max-width: 135px !important;
    font-size: 1.05rem !important;
    line-height: 1.08 !important;
  }

  .engine-card::before,
  .engine-card::after {
    width: 15px !important;
    height: 15px !important;
    border-width: 3px !important;
  }

  .ordered-dashboard {
    margin: 0.9rem 0 0.8rem !important;
  }

  .ordered-top {
    min-height: auto !important;
  }
}

/* Ajuste 222W-H23 — Demo balanceada tras lenguaje institucional */

.demo-card h2 {
  font-size: clamp(3rem, 4.75vw, 5.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
}

.demo-card p {
  max-width: 520px !important;
}

@media (min-width: 1121px) {
  .demo-card {
    padding: 2.15rem !important;
  }
}

/* Ajuste 222W-H24 — Transformación con más aire y dashboards vivos */

@media (min-width: 1121px) {
  .transformation-stage {
    grid-template-columns: 1fr 150px 1.14fr !important;
    gap: 1.35rem !important;
  }

  .chaos-panel {
    min-width: 275px !important;
  }

  .clarity-panel {
    min-width: 360px !important;
  }

  .transform-engine {
    min-height: 390px !important;
  }

  .engine-card {
    width: 150px !important;
    min-height: 96px !important;
    padding: 0.78rem 0.7rem !important;
    border-radius: 24px !important;
  }

  .engine-card span {
    font-size: 0.54rem !important;
  }

  .engine-card strong {
    max-width: 124px !important;
    font-size: 0.96rem !important;
  }

  .engine-line {
    left: -14px !important;
    right: -14px !important;
    opacity: 0.62 !important;
  }

  .engine-card::before,
  .engine-card::after {
    width: 13px !important;
    height: 13px !important;
  }

  .screen.active .engine-card {
    animation: transformPulse 4.6s ease-in-out infinite;
  }

  @keyframes transformPulse {
    0%, 100% {
      transform: translateY(0) scale(1);
      box-shadow:
        0 24px 64px rgba(15,95,159,0.23),
        0 0 48px rgba(56,189,248,0.12),
        inset 0 1px 0 rgba(255,255,255,0.34);
    }
    50% {
      transform: translateY(-4px) scale(1.025);
      box-shadow:
        0 30px 78px rgba(15,95,159,0.28),
        0 0 68px rgba(56,189,248,0.22),
        inset 0 1px 0 rgba(255,255,255,0.42);
    }
  }
}

/* Cambio visual suave cuando los datos se actualizan */
[data-dynamic-value],
[data-dynamic-text] {
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    color 260ms ease;
}

.dynamic-changing {
  opacity: 0.35;
  transform: translateY(-3px) scale(0.985);
}

/* Ajuste 222W-H25 — datos dinámicos más visibles */

[data-dynamic] {
  display: inline-block;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

[data-dynamic].dynamic-changing {
  opacity: 0.28;
  transform: translateY(-5px) scale(0.94);
  filter: blur(2px);
}

[data-dynamic].dynamic-updated {
  animation: dynamicPop 420ms cubic-bezier(.2,.8,.2,1);
}

@keyframes dynamicPop {
  0% {
    transform: translateY(5px) scale(0.92);
    filter: blur(2px);
  }
  60% {
    transform: translateY(-2px) scale(1.08);
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Ajuste 222W-H26 — animación visible de datos vivos */

.dynamic-changing {
  opacity: 0.22 !important;
  transform: translateY(-6px) scale(0.92) !important;
  filter: blur(2px);
}

.dynamic-updated {
  animation: dynamicNumberPop 420ms cubic-bezier(.2,.8,.2,1);
}

@keyframes dynamicNumberPop {
  0% {
    transform: translateY(7px) scale(0.9);
    filter: blur(2px);
  }
  60% {
    transform: translateY(-3px) scale(1.12);
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

strong,
b {
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

/* Ajuste 222W-H27 — dashboards vivos más sutiles */

[data-live] {
  display: inline-block;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease,
    color 220ms ease;
}

.live-changing {
  opacity: 0.28 !important;
  transform: translateY(-5px) scale(0.94) !important;
  filter: blur(2px);
}

.live-updated {
  animation: liveNumberPop 520ms cubic-bezier(.2,.8,.2,1);
}

@keyframes liveNumberPop {
  0% {
    transform: translateY(6px) scale(0.92);
    filter: blur(2px);
  }

  60% {
    transform: translateY(-2px) scale(1.08);
    filter: blur(0);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Barras con vida lenta */
.live-bars span,
.live-bars i,
.live-bars em {
  transition:
    width 1.15s cubic-bezier(.2,.8,.2,1),
    opacity 1.15s ease,
    filter 1.15s ease;
}

.live-bars.live-bars-alt span,
.live-bars.live-bars-alt i,
.live-bars.live-bars-alt em {
  filter: brightness(1.08);
}

/* Respiración sutil de paneles de dashboard */
.screen.active .product-frame,
.screen.active .flow-main-device,
.screen.active .product-spotlight,
.screen.active .ordered-dashboard {
  animation:
    dashboardBreath 7.5s ease-in-out infinite;
}

@keyframes dashboardBreath {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.035);
  }
}

/* Ajuste 222W-H29 — movimiento de números mucho más sutil */

.live-changing,
.dynamic-changing {
  opacity: 0.55 !important;
  transform: translateY(-1.5px) scale(0.992) !important;
  filter: blur(0.4px) !important;
}

.live-updated,
.dynamic-updated {
  animation: liveNumberSoft 360ms cubic-bezier(.2,.8,.2,1) !important;
}

@keyframes liveNumberSoft {
  0% {
    transform: translateY(2px) scale(0.992);
    opacity: 0.65;
    filter: blur(0.4px);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* Ajuste 222W-H30 — optimización móvil y logo demo más protagonista */

/* Demo: logo más completo y con mejor presencia */
.premium-logo-orb {
  width: clamp(220px, 25vw, 330px) !important;
  height: clamp(220px, 25vw, 330px) !important;
}

.premium-logo-orb img {
  width: 68% !important;
  max-width: 220px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 20px rgba(6, 20, 47, 0.14));
}

/* Validación móvil general */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .site-shell {
    min-height: 100svh;
  }

  .top-shell {
    grid-template-columns: 1fr auto !important;
    gap: 0.75rem !important;
    padding: 1rem 1rem 0 !important;
  }

  .brand img {
    width: 118px !important;
  }

  .app-access {
    padding: 0.72rem 1rem !important;
    font-size: 0.78rem !important;
  }

  .screen-nav {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0.85rem;
    top: auto;
    z-index: 80;
    width: calc(100vw - 1.5rem);
    max-width: 430px;
    display: flex;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 0.35rem;
    overflow-x: auto;
    transform: translateX(-50%);
    border-radius: 999px;
    scrollbar-width: none;
  }

  .screen-nav::-webkit-scrollbar {
    display: none;
  }

  .screen-nav button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.55rem 0.78rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .dot-nav {
    display: none;
  }

  .screen {
    min-height: auto !important;
    height: auto !important;
    padding: 6.8rem 1rem 6.5rem !important;
    overflow: visible !important;
  }

  .hero-screen,
  .transformation-premium,
  .flow-premium-screen,
  .product-screen,
  .security-screen,
  .demo-screen {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
    align-items: start !important;
  }

  .hero-text,
  .transformation-copy,
  .flow-copy,
  .product-heading,
  .trust-copy,
  .demo-card {
    max-width: 100% !important;
  }

  h1,
  h2,
  .hero-text h1,
  .transformation-copy h2,
  .flow-copy h2,
  .product-heading h2,
  .trust-copy h2,
  .demo-card h2 {
    font-size: clamp(2.45rem, 13vw, 4.1rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.045em !important;
  }

  p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .hero-actions,
  .demo-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .hero-device,
  .product-frame,
  .flow-main-device,
  .product-gallery,
  .security-premium-panel,
  .client-demo-visual,
  .transformation-stage {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-frame,
  .flow-main-device,
  .product-gallery,
  .security-premium-panel,
  .demo-card,
  .client-promise-card,
  .contact-card {
    border-radius: 28px !important;
  }

  .glass-badge,
  .flow-orbit-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
    margin: 0.65rem 0 0 !important;
  }

  .hero-device {
    display: grid;
    gap: 0.75rem;
  }

  .hero-device .product-frame {
    order: 1;
  }

  .hero-device .glass-badge {
    order: 2;
  }

  .transformation-stage {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .transform-engine,
  .engine-line,
  .flow-connector,
  .security-shield {
    display: none !important;
  }

  .chaos-panel,
  .clarity-panel {
    min-width: 0 !important;
    min-height: auto !important;
  }

  .flow-command-center {
    min-height: auto !important;
    display: grid !important;
    gap: 0.8rem !important;
  }

  .flow-main-device {
    order: 1;
  }

  .flow-input,
  .flow-engine,
  .flow-output {
    order: 2;
  }

  .product-gallery {
    padding: 1rem !important;
    grid-template-columns: 1fr !important;
    border-radius: 34px !important;
  }

  .product-stack article {
    transform: none !important;
  }

  .security-feature-list {
    grid-template-columns: 1fr !important;
  }

  .demo-screen {
    padding-top: 6.3rem !important;
  }

  .demo-card {
    padding: 1.35rem !important;
  }

  .premium-logo-orb {
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto;
  }

  .premium-logo-orb img {
    width: 72% !important;
    max-width: 170px !important;
  }

  .client-demo-visual {
    display: grid !important;
    gap: 0.9rem !important;
  }

  .demo-visual {
    order: -1;
  }

  .data-current,
  .floating-nodes {
    opacity: 0.22;
  }
}

/* Celulares muy angostos */
@media (max-width: 420px) {
  .brand img {
    width: 104px !important;
  }

  .app-access {
    padding: 0.65rem 0.85rem !important;
  }

  .screen {
    padding-inline: 0.85rem !important;
  }

  h1,
  h2,
  .hero-text h1,
  .transformation-copy h2,
  .flow-copy h2,
  .product-heading h2,
  .trust-copy h2,
  .demo-card h2 {
    font-size: clamp(2.25rem, 12.5vw, 3.55rem) !important;
  }

  .premium-logo-orb {
    width: 190px !important;
    height: 190px !important;
  }
}

/* Ajuste 222W-H31 — corrección móvil: una pantalla activa a la vez */

@media (max-width: 760px) {
  .screens,
  .screen-stage,
  main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .screen {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100svh !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .screen.active {
    display: grid !important;
  }

  .hero-screen.active,
  .transformation-premium.active,
  .flow-premium-screen.active,
  .product-screen.active,
  .security-screen.active,
  .demo-screen.active {
    grid-template-columns: 1fr !important;
    gap: 1.4rem !important;
    align-items: start !important;
  }

  .hero-text,
  .transformation-copy,
  .flow-copy,
  .product-heading,
  .trust-copy,
  .demo-card,
  .hero-device,
  .transformation-stage,
  .flow-command-center,
  .product-gallery,
  .security-premium-panel,
  .client-demo-visual {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-device,
  .transformation-stage,
  .flow-command-center,
  .product-gallery,
  .security-premium-panel,
  .client-demo-visual {
    margin: 0 !important;
  }

  .product-frame,
  .chaos-panel,
  .clarity-panel,
  .flow-main-device,
  .product-spotlight,
  .product-stack article,
  .security-hero-card,
  .security-feature-list article,
  .demo-card,
  .client-promise-card,
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .top-shell {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 90 !important;
    background: linear-gradient(180deg, rgba(239, 249, 255, 0.96), rgba(239, 249, 255, 0.72), transparent);
    backdrop-filter: blur(18px);
  }

  .site-shell {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* Ajuste 222W-H32 — navegación móvil usable y scroll interno normal */

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .site-shell {
    min-height: 100svh !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .top-shell {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 0.72rem 0.9rem !important;
    min-height: 64px !important;
  }

  .brand {
    position: relative !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
  }

  .brand img {
    width: 116px !important;
    max-width: 116px !important;
    height: auto !important;
  }

  .app-access {
    position: relative !important;
    z-index: 100 !important;
    padding: 0.62rem 0.85rem !important;
    font-size: 0.74rem !important;
  }

  .screen-nav {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
    z-index: 120 !important;
    width: calc(100vw - 1.1rem) !important;
    max-width: 430px !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0.22rem !important;
    padding: 0.34rem !important;
    overflow-x: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow:
      0 18px 50px rgba(6,20,47,0.16),
      inset 0 1px 0 rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(22px) !important;
    scrollbar-width: none !important;
  }

  .screen-nav::-webkit-scrollbar {
    display: none !important;
  }

  .screen-nav button {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    padding: 0.5rem 0.72rem !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }

  .screen {
    min-height: auto !important;
    height: auto !important;
    padding-top: 5.8rem !important;
    padding-bottom: 6.4rem !important;
    overflow: visible !important;
  }

  .screen.active {
    display: grid !important;
  }

  .screen:not(.active) {
    display: none !important;
  }

  .hero-screen,
  .transformation-premium,
  .flow-premium-screen,
  .product-screen,
  .security-screen,
  .demo-screen {
    align-content: start !important;
  }
}

/* Ajuste 222W-H33 — mobile real: header limpio, nav inferior y scroll normal */

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }

  .site-shell {
    min-height: 100svh !important;
    height: auto !important;
    overflow: visible !important;
  }

  .top-shell {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.8rem 0.95rem !important;
    background: linear-gradient(180deg, rgba(239,249,255,0.96), rgba(239,249,255,0.76)) !important;
    backdrop-filter: blur(18px) !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .brand img {
    width: 112px !important;
    max-width: 112px !important;
    height: auto !important;
  }

  .app-access {
    display: inline-flex !important;
    padding: 0.62rem 0.85rem !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }

  .screen-nav {
    position: fixed !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
    z-index: 200 !important;
    width: calc(100vw - 1rem) !important;
    max-width: 430px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.22rem !important;
    padding: 0.34rem !important;
    overflow-x: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.88) !important;
    box-shadow:
      0 18px 50px rgba(6,20,47,0.18),
      inset 0 1px 0 rgba(255,255,255,0.86) !important;
    backdrop-filter: blur(22px) !important;
    scrollbar-width: none !important;
  }

  .screen-nav::-webkit-scrollbar {
    display: none !important;
  }

  .screen-nav button {
    flex: 0 0 auto !important;
    min-width: auto !important;
    min-height: 36px !important;
    padding: 0.5rem 0.72rem !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }

  .screen {
    padding-top: 1.5rem !important;
    padding-bottom: 6.5rem !important;
  }

  .screen.active {
    display: grid !important;
  }

  .screen:not(.active) {
    display: none !important;
  }
}

/* Ajuste 222W-H34 — navegación móvil tipo app, siempre visible */

@media (max-width: 760px) {
  /* Header superior limpio: solo logo + ingresar */
  .top-shell {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    min-height: 64px !important;
    padding: 0.72rem 0.95rem !important;
    background: linear-gradient(
      180deg,
      rgba(239, 249, 255, 0.98),
      rgba(239, 249, 255, 0.82)
    ) !important;
    backdrop-filter: blur(18px) !important;
  }

  .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .brand img {
    width: 118px !important;
    max-width: 118px !important;
    height: auto !important;
  }

  .app-access {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.62rem 0.85rem !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }

  /* Sacar visualmente el menú del header y convertirlo en barra inferior */
  .screen-nav {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(0.7rem + env(safe-area-inset-bottom)) !important;
    z-index: 300 !important;

    width: calc(100vw - 1rem) !important;
    max-width: 430px !important;
    height: 54px !important;

    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: max-content !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 0.22rem !important;

    padding: 0.36rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    transform: translateX(-50%) !important;
    border: 1px solid rgba(147, 199, 229, 0.72) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow:
      0 18px 52px rgba(6, 20, 47, 0.22),
      inset 0 1px 0 rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(24px) !important;
    scrollbar-width: none !important;
  }

  .screen-nav::-webkit-scrollbar {
    display: none !important;
  }

  .screen-nav button {
    flex: none !important;
    min-width: auto !important;
    min-height: 40px !important;
    padding: 0.55rem 0.76rem !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }

  .screen-nav button[data-screen="transformacion"] {
    font-size: 0 !important;
  }

  .screen-nav button[data-screen="transformacion"]::after {
    content: "Cambio";
    font-size: 0.68rem;
  }

  /* Dar espacio abajo para que la barra no tape contenido */
  .screen {
    padding-bottom: 6.8rem !important;
  }

  .demo-screen {
    padding-bottom: 7.2rem !important;
  }
}

@media (max-width: 420px) {
  .screen-nav {
    height: 52px !important;
  }

  .screen-nav button {
    min-height: 38px !important;
    padding: 0.5rem 0.68rem !important;
    font-size: 0.64rem !important;
  }

  .screen-nav button[data-screen="transformacion"]::after {
    font-size: 0.64rem;
  }

  .brand img {
    width: 108px !important;
  }
}

/* Ajuste 222W-H35 — barra móvil inferior independiente */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  /* Ocultar el menú original dentro del header */
  .top-shell .screen-nav {
    display: none !important;
  }

  .mobile-bottom-nav {
    position: fixed !important;
    left: 50% !important;
    bottom: calc(0.7rem + env(safe-area-inset-bottom)) !important;
    z-index: 9999 !important;

    width: calc(100vw - 1rem) !important;
    max-width: 430px !important;
    height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.22rem !important;

    padding: 0.36rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    transform: translateX(-50%) !important;
    border: 1px solid rgba(147, 199, 229, 0.72) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow:
      0 18px 52px rgba(6, 20, 47, 0.22),
      inset 0 1px 0 rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(24px) !important;
    scrollbar-width: none !important;
  }

  .mobile-bottom-nav::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-bottom-nav button {
    flex: 0 0 auto !important;
    min-height: 40px !important;
    padding: 0.55rem 0.76rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent;
    color: var(--ink);
    font-size: 0.68rem !important;
    font-weight: 900;
    white-space: nowrap !important;
  }

  .mobile-bottom-nav button.active {
    color: white !important;
    background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
    box-shadow: 0 10px 24px rgba(15, 95, 159, 0.24);
  }

  .mobile-bottom-nav button[data-screen="transformacion"] {
    font-size: 0 !important;
  }

  .mobile-bottom-nav button[data-screen="transformacion"]::after {
    content: "Cambio";
    font-size: 0.68rem;
  }

  .screen {
    padding-bottom: 7.3rem !important;
  }

  .demo-screen {
    padding-bottom: 7.7rem !important;
  }
}

@media (max-width: 420px) {
  .mobile-bottom-nav {
    height: 52px !important;
  }

  .mobile-bottom-nav button {
    min-height: 38px !important;
    padding: 0.5rem 0.68rem !important;
    font-size: 0.64rem !important;
  }

  .mobile-bottom-nav button[data-screen="transformacion"]::after {
    font-size: 0.64rem;
  }
}
