/* ============================================================
   ECOMMERCE LANDING — ESTILOS ESPECÍFICOS
   Archivo: ecommerce/css/ecommerce.css
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   [0] CLASES UTILITARIAS — Limpieza de Estilos Inline
   ──────────────────────────────────────────────────────────── */

.section-hero {
  position: relative;
  overflow: hidden;
}

.canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.layer-content {
  position: relative;
  z-index: 1;
}

.section-padded-rel {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* ── Anti-flicker: CSS containment for animated sections ──
   Prevents internal animations from causing page-wide repaints/reflows */
.erp-features,
.s4-live-sync,
.eco-bento-section,
.bento-ecosystem {
  contain: layout style;
  isolation: isolate;
}

/* Promote animated elements to their own GPU compositing layers */
.anim-checkout,
.anim-stamp,
.anim-laser,
.s4-order-popup,
.s4-particle,
.s4-particle-2,
.s4-invoice-new,
.s4-stock-fill,
.s4-erp-stock-arrow,
.pulse-blue,
.pulse-purple,
.pulse-green,
.data-packet,
.m-cta-shine,
.connector-line {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.section-header-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.problem-eyebrow {
  color: #3b82f6;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.section-title-large {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: #475569;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ────────────────────────────────────────────────────────────
   [S3] FUNCIONALIDADES — Centro de Mando Integrado
   ──────────────────────────────────────────────────────────── */

.s3-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.s3-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.s3-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 102, 255, 0.1);
}

.s3-card-bg-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.s3-card>* {
  position: relative;
  z-index: 1;
}

.s3-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.s3-card:hover .s3-icon-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.s3-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.s3-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Dashboard Pipeline UI */
.cmd-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 3rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  flex-grow: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cmd-node {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  width: 30%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s3-card:hover .cmd-node,
.cmd-pipeline:hover .cmd-node {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.cmd-node-header {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.cmd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.pulse-blue {
  background: #3b82f6;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  animation: pulse-b 3s infinite;
}

.pulse-purple {
  background: #8b5cf6;
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  animation: pulse-p 3s infinite 0.9s;
}

.pulse-green {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-g 3s infinite 1.8s;
}

@keyframes pulse-b {
  0%,
  10% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes pulse-p {
  0%,
  10% {
    box-shadow: 0 0 0 6px rgba(255, 51, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 85, 0);
  }
}

@keyframes pulse-g {
  0%,
  10% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Efecto Dominó Keyframes */
.anim-checkout {
  animation: pressBtn 3s infinite;
}

@keyframes pressBtn {
  0% {
    transform: scale(1);
    background: #3b82f6;
  }
  5% {
    transform: scale(0.95);
    background: #2563eb;
  }
  10% {
    transform: scale(1);
    background: #3b82f6;
  }
  100% {
    transform: scale(1);
    background: #3b82f6;
  }
}

.anim-stamp {
  display: inline-block;
  animation: stampPop 3s infinite;
  transform-origin: center;
}

@keyframes stampPop {
  0%,
  25% {
    opacity: 0;
    transform: scale(1.5) rotate(-10deg);
  }
  30% {
    opacity: 1;
    transform: scale(0.9) rotate(-5deg);
  }
  35% {
    opacity: 1;
    transform: scale(1) rotate(-5deg);
  }
  95% {
    opacity: 1;
    transform: scale(1) rotate(-5deg);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotate(-5deg);
  }
}

.anim-laser {
  position: absolute;
  top: -2px;
  left: 0;
  width: 2px;
  height: calc(100% + 4px);
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
  opacity: 0;
  animation: scanLaser 3s infinite;
  z-index: 10;
}

@keyframes scanLaser {
  0%,
  58% {
    opacity: 0;
    left: 0;
  }
  60% {
    opacity: 1;
    left: 0;
  }
  70% {
    opacity: 1;
    left: 100%;
  }
  72%,
  100% {
    opacity: 0;
    left: 100%;
  }
}

.anim-stock-counter {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
}

.anim-stock-counter::after {
  content: "100";
  animation: updateStock 3s infinite;
}

@keyframes updateStock {
  0%,
  68% {
    content: "100";
    color: #0f172a;
  }
  70%,
  100% {
    content: " 99";
    color: #10b981;
  }
}

.cmd-mini-mockup {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

/* Sub-componentes de cmd-mini-mockup para eliminar estilos inline */
.cmd-mini-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}
.cmd-mini-mockup-header .title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
}
.cmd-mini-mockup-header .badge {
  font-size: 0.6rem;
  color: #3b82f6;
  font-weight: 600;
}
.cmd-mini-mockup .mockup-item {
  margin-bottom: 0;
}
.cmd-mini-mockup .m-img.sky {
  background: #bae6fd;
}
.cmd-mini-mockup .m-img.purple {
  background: #d8b4fe;
}
.cmd-mini-mockup .m-line.dark {
  background: #94a3b8;
}
.cmd-mini-mockup .price {
  font-size: 0.55rem;
  font-weight: 700;
  color: #0f172a;
}
.cmd-mini-mockup .anim-checkout {
  margin-top: auto;
  height: 16px;
  background: #3b82f6;
  border-radius: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
}

/* ERP mockup specifics */
.erp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.erp-header-row span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
}
.erp-invoice-badge {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 6px;
}
.erp-invoice-badge .badge-icon {
  width: 14px;
  height: 14px;
  background: #ff3355;
  border-radius: 4px;
}
.erp-invoice-badge .badge-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.erp-invoice-badge .badge-details .m-line {
  margin: 0;
  background: #64748b;
}
.erp-invoice-badge .badge-details .m-line.short {
  margin: 0;
}
.cmd-mini-mockup .mockup-db-row.mt-4 {
  margin-top: 4px;
}
.cmd-mini-mockup .m-cell.gray-light {
  background: #cbd5e1;
}
.cmd-mini-mockup .m-cell.gray-dark {
  background: #94a3b8;
}
.erp-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
.erp-footer-row .anim-stamp {
  font-size: 0.55rem;
  font-weight: 700;
  color: #10b981;
  background: #d1fae5;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Delivery mockup specifics */
.delivery-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.delivery-header-row .mockup-box-icon {
  margin: 0;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 6px;
}
.delivery-header-row .delivery-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
}
.delivery-header-row .mockup-barcode {
  margin: 4px 0 0 0;
  width: 100%;
  height: 8px;
  position: relative;
  overflow: hidden;
}
.delivery-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}
.delivery-status-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding-left: 10px;
  padding-bottom: 2px;
}
.delivery-status-timeline .timeline-line {
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e2e8f0;
}
.delivery-status-timeline .status-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.delivery-status-timeline .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 1;
  margin-left: -2px;
}
.delivery-status-timeline .status-dot.green {
  background: #10b981;
}
.delivery-status-timeline .status-dot.blue {
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.delivery-status-timeline .status-label {
  font-size: 0.55rem;
  color: #64748b;
  font-weight: 500;
}
.delivery-status-timeline .status-label.active {
  color: #0f172a;
  font-weight: 700;
}
.delivery-footer-row .anim-stock-counter {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}


/* Tienda Mockup */
.mockup-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.m-img {
  width: 14px;
  height: 14px;
  background: #cbd5e1;
  border-radius: 4px;
}

.m-lines {
  flex: 1;
}

.m-line {
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin-bottom: 3px;
  width: 100%;
}

.m-line.short {
  width: 60%;
}

.m-line.center {
  margin: 4px auto;
  width: 50%;
}

.mockup-total {
  height: 4px;
  background: #94a3b8;
  border-radius: 2px;
  width: 30%;
  margin-left: auto;
  margin-top: 2px;
}

/* ERP Mockup */
.mockup-db-row {
  display: flex;
  gap: 4px;
  margin-bottom: 5px;
}

.m-cell {
  height: 5px;
  background: #cbd5e1;
  border-radius: 2px;
  flex: 1;
}

.mockup-db-row:first-child .m-cell {
  background: #94a3b8;
  height: 6px;
}

/* Almacen Mockup */
.mockup-box-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.mockup-barcode {
  height: 10px;
  width: 60%;
  margin: 4px auto 0;
  background: repeating-linear-gradient(90deg, #94a3b8, #94a3b8 2px, transparent 2px, transparent 4px);
  border-radius: 1px;
}

.cmd-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 8px;
}

.bg-blue {
  background: #eff6ff;
  color: #2563eb;
}

.bg-purple {
  background: rgba(255, 51, 85, 0.08);
  color: #ff3355;
}

.bg-green {
  background: #ecfdf5;
  color: #059669;
}

.cmd-connector {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 15px;
  min-width: 80px;
}

.connector-line {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.connector-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  animation: flowStream 3s infinite linear;
}

.cmd-connector.delay .connector-line::after {
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  animation-delay: 0.9s;
}

@keyframes flowStream {
  0 {
    left: -100%;
  }
  30%,
  100% {
    left: 100%;
  }
}

/* Toggle UI for B2B/B2C */
/* Generic mockup container for the cards */
.s3-card-mockup {
  height: 120px;
  background: #f1f5f9;
  border-radius: 12px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Público vs Privado Mockup */
.mockup-public-private {
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  flex: 1;
}

.private-row {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.row-icon {
  width: 28px;
  height: 28px;
  background: #eff6ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-icon.lock {
  background: #f1f5f9;
}

.row-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.row-sub {
  font-size: 0.55rem;
  color: #64748b;
  line-height: 1.2;
}

.row-badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.row-badge.open {
  background: #ecfdf5;
  color: #10b981;
}

.row-badge.closed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Envío Mockup */
.mockup-shipping {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.mockup-rule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  font-size: 0.75rem;
  color: #475569;
  font-weight: 500;
}

.rule-price {
  font-weight: 700;
  color: #0f172a;
}

.rule-price.green {
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Ofertas Mockup */
.mockup-vol {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.vol-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  font-size: 0.75rem;
  color: #475569;
}

.vol-row.vip-row {
  border: 1px solid #fecaca;
  background: #fff5f5;
}

.vol-price {
  font-weight: 700;
  color: #0f172a;
}

.vol-price.red {
  color: #ef4444;
}

/* Fecha Mockup */
.mockup-date {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 90%;
  height: 70%;
}

.date-cal {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cal-head {
  height: 12px;
  background: #3b82f6;
}

.cal-body {
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.cal-day {
  height: 8px;
  background: #f1f5f9;
  border-radius: 2px;
}

.cal-day.active {
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.date-pin {
  width: 40px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.s3-slider-dots {
  display: none;
}

/* ── U1: Mobile padding override ── */
@media (max-width: 992px) {
  .erp-features {
    padding: 60px 0 !important;
  }
}

@media (max-width: 992px) {
  /* ── B1: Slider Theater ── */
  .s3-bento {
    width: 100%;
    height: auto;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    perspective: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    /* Anti-flicker: isolate scroll from page */
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    isolation: isolate;
  }

  .s3-bento::-webkit-scrollbar {
    display: none;
  }

  .s3-card {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    z-index: 1 !important;
    flex: 0 0 85%;
    width: 85%;
    scroll-snap-align: center;
    left: auto;
    /* Reiniciar el centrado absoluto del desktop */
    border-radius: 28px;
    padding: 2rem 1.75rem;
  }

  /* ── U2: Eliminar scale problemáticos ── */
  .cmd-node-body {
    transform: none;
    margin-bottom: 1rem;
  }

  .s3-card-mockup {
    transform: none;
    height: 160px;
    /* más alto que los 120px originales */
  }

  /* ── U3: Font-size mínimo legible en mockups ── */
  .cmd-mini-mockup * {
    font-size: max(0.7rem, 10px) !important;
  }

  .s3-card-mockup * {
    font-size: max(0.7rem, 10px) !important;
  }

  .row-title {
    font-size: 0.75rem !important;
  }

  .row-sub {
    font-size: 0.65rem !important;
  }

  /* ── B4: Pipeline comprimido ── */
  .cmd-pipeline {
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .cmd-node {
    width: 100%;
  }

  .cmd-mini-mockup {
    height: 125px;
  }

  .cmd-mini-mockup .anim-checkout {
    height: 22px;
  }

  .cmd-connector {
    width: 100%;
    margin: 8px 0;
    min-height: 30px;
  }

  .connector-line {
    width: 4px;
    height: 30px;
    margin: 0 auto;
  }

  .connector-line::after {
    top: -100%;
    left: 0;
    background: linear-gradient(180deg, transparent, #3b82f6, transparent);
    /* U4: animación más lenta en mobile, menos distracción */
    animation: flowStreamVert 5s infinite linear;
  }

  .cmd-connector.delay .connector-line::after {
    background: linear-gradient(180deg, transparent, #8b5cf6, transparent);
    animation-delay: 1.5s;
  }

  @keyframes flowStreamVert {
    0% {
      top: -100%;
    }
    30%,
    100% {
      top: 100%;
    }
  }

  /* Puntos del Slider */
  .s3-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }

  .s3-slider-dots .s3-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(52, 110, 211, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .s3-slider-dots .s3-dot.active {
    background: rgba(52, 110, 211, 1);
    width: 24px;
    border-radius: 4px;
  }
}

/* ────────────────────────────────────────────────────────────
   [S5] PROBLEMA — "La Cruda Realidad"
   ──────────────────────────────────────────────────────────── */

@media (max-width: 992px) {
  .eco-bento-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 22px 4% 1.25rem;
    margin-top: -12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Anti-flicker: isolate scroll from page */
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    isolation: isolate;
  }

  .eco-bento-grid::-webkit-scrollbar {
    display: none;
  }

  .eco-bento-grid .eco-card {
    flex: 0 0 88%;
    scroll-snap-align: center;
    min-height: 360px;
    border-radius: 28px;
    padding: 2rem 1.25rem 1.5rem;
    margin-bottom: 0 !important;
    position: relative !important;
    top: auto !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Móvil: el hover táctil no aplica; el efecto pasa a la card centrada del slider */
  .eco-bento-grid .eco-card:hover {
    transform: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  }

  .eco-bento-grid .eco-card.is-focus {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  .eco-bento-grid .eco-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(239, 68, 68, 0.15);
  }

  .eco-bento-grid .eco-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(226, 232, 240, 0.8);
  }

  .eco-bento-grid .eco-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(59, 130, 246, 0.15);
  }

  .eco-visual-container {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0.9rem;
    min-height: 110px;
  }

  .eco-card-header-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .eco-card-icon {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
    flex-shrink: 0;
  }

  .eco-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0 !important;
  }

  .eco-bento-grid .eco-card p {
    font-size: 0.9rem;
  }

  .copy-paste-ui {
    padding: 0 0.5rem;
  }

  .cp-window {
    width: 44%;
  }

  .cp-pointer {
    transform: scale(0.85) translate(-50%, -50%);
  }

  .cp-badge {
    font-size: 0.55rem;
  }

  .price-desync-ui {
    gap: 0.75rem;
  }

  .price-tag {
    padding: 0.5rem 0.75rem;
    min-width: 80px;
  }

  .pt-price {
    font-size: 1.1rem;
  }

  .pt-label {
    font-size: 0.6rem;
  }

  .eco-bento-section {
    padding: 60px 0 120px 0 !important;
  }

  .desktop-only {
    display: none !important;
  }

  .eco-solution-mobile-wrapper {
    margin-top: 3.5rem;
    padding: 0 4%;
  }

  .eco-solution-mobile-wrapper .solution-banner {
    background: #fafaf9 !important;
    border: none !important;
    border-radius: 28px;
    padding: 2rem 1.5rem 2rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 12px 28px rgba(0, 0, 0, 0.05), 0 40px 80px rgba(16, 185, 129, 0.06) !important;
    position: relative;
    overflow: hidden;
  }


  .eco-solution-mobile-wrapper .sol-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .eco-solution-mobile-wrapper .sol-badge {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #065f46 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.75rem !important;
  }

  .eco-solution-mobile-wrapper .solution-banner .eco-card-icon {
    background: #d1fae5 !important;
    border: none !important;
    box-shadow: none !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.25rem !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .eco-solution-mobile-wrapper .solution-banner .eco-card-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #047857 !important;
  }

  .eco-solution-mobile-wrapper .solution-banner h3 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: -0.025em;
  }

  .eco-solution-mobile-wrapper .solution-banner p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
    text-align: center;
  }

  .eco-solution-mobile-wrapper .network-visual {
    position: relative !important;
    width: 100% !important;
    height: 160px !important;
    margin-top: 1rem !important;
    padding: 0 !important;
  }

  .eco-solution-mobile-wrapper .net-node {
    position: absolute !important;
    width: 110px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
    border-radius: 10px !important;
    white-space: nowrap;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    color: #475569 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    top: 96px !important;
  }

  .eco-solution-mobile-wrapper .net-node:first-child {
    left: 8% !important;
  }

  .eco-solution-mobile-wrapper .net-node:last-child {
    right: 8% !important;
  }

  .eco-solution-mobile-wrapper .net-node svg {
    width: 14px !important;
    height: 14px !important;
  }

  .eco-solution-mobile-wrapper .net-node.core {
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    transform: translateX(-50%) !important;
    width: 106px !important;
    height: 50px !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    animation: core-heartbeat-absolute 2.4s infinite ease-in-out !important;
  }

  .eco-solution-mobile-wrapper .net-node.core img {
    height: 24px !important;
    width: auto !important;
  }

  .eco-solution-mobile-wrapper .net-line {
    position: absolute !important;
    top: 37px !important;
    height: 59px !important;
    min-height: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    background: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .eco-solution-mobile-wrapper .net-line:nth-child(2) {
    left: calc(8% + 55px) !important;
    right: calc(50% + 53px) !important;
    border-left: 2px solid rgba(59, 130, 246, 0.25) !important;
    border-top: 2px solid rgba(59, 130, 246, 0.25) !important;
    border-top-left-radius: 12px !important;
  }

  .eco-solution-mobile-wrapper .net-line:nth-child(4) {
    left: calc(50% + 53px) !important;
    right: calc(8% + 55px) !important;
    border-right: 2px solid rgba(16, 185, 129, 0.25) !important;
    border-top: 2px solid rgba(16, 185, 129, 0.25) !important;
    border-top-right-radius: 12px !important;
  }

  .eco-solution-mobile-wrapper .data-packet,
  .eco-solution-mobile-wrapper .data-packet.reverse {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    position: absolute !important;
    margin-top: -3px !important;
    margin-left: -3px !important;
  }

  .eco-solution-mobile-wrapper .data-packet {
    background: #3b82f6 !important;
    box-shadow: 0 0 10px #3b82f6, 0 0 4px #ffffff !important;
    animation: flow-to-core-curved 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .eco-solution-mobile-wrapper .data-packet.reverse {
    background: #10b981 !important;
    box-shadow: 0 0 10px #10b981, 0 0 4px #ffffff !important;
    animation: flow-from-right-to-core-curved 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation-delay: 0.3s !important;
  }

  @keyframes flow-to-core-curved {
    0% { top: 100%; left: 0; opacity: 0; }
    10% { opacity: 1; }
    50% { top: 0; left: 0; }
    90% { opacity: 1; }
    100% { top: 0; left: 100%; opacity: 0; }
  }

  @keyframes flow-from-right-to-core-curved {
    0% { top: 100%; left: 100%; opacity: 0; }
    10% { opacity: 1; }
    50% { top: 0; left: 100%; }
    90% { opacity: 1; }
    100% { top: 0; left: 0; opacity: 0; }
  }

  @keyframes core-heartbeat-absolute {
    0%, 40%, 60%, 100% {
      transform: translateX(-50%) scale(1);
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
    }
    50% {
      transform: translateX(-50%) scale(1.08);
      box-shadow: 0 0 25px rgba(16, 185, 129, 0.35) !important;
    }
  }
}

@media (min-width: 993px) {
  .mobile-only {
    display: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   [S5.6] ANTES / DESPUÉS — WhatsApp Comparison
   ──────────────────────────────────────────────────────────── */

@media (max-width: 992px) {
  /* FIX CRÍTICO: Permitimos el sticky pero evitamos el scroll horizontal aislando SOLO esta sección */
  #section-antes-despues {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  #whatsapp-scene-wrapper {
    display: block;
    width: 100%;
    overflow: visible; /* sticky exige que ningún ancestro recorte/scrollee */
    padding: 0;
    margin: 0;
    transition: none !important;
    /* La altura (pista de scroll) la fija ecommerce.js: alto del split + 130vh */
  }

  #whatsapp-split {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    position: sticky;
    top: 80px;
    overflow: clip; /* oculta la tarjeta buena mientras asoma desde abajo */
    padding: 15px 5px !important; /* aire para que no se recorten las sombras */
    margin: -15px -5px;
    gap: 0 !important;
  }

  /* Ambas tarjetas deben tener las mismas dimensiones y ser transparentes para solaparse perfecto */
  .col-bad,
  .col-good {
    grid-column: 1 !important;
    grid-row: 1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    flex: none !important;
    height: auto !important;
    transition: none !important;
    width: 100%;
  }

  .col-bad {
    position: relative !important;
    top: auto !important;
    z-index: 1;
    padding: 0 !important;
  }

  .col-good {
    position: relative !important;
    top: auto !important;
    z-index: 2;
    transform: translateY(102%); /* arranca oculta bajo el split; ecommerce.js la sube */
    opacity: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .col-good::before {
    display: none !important;
    content: '';
    position: absolute;
    top: 12px;
    /* Subido ligeramente */
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Optimizaciones de tamaño para el mockup de WhatsApp en móviles reales */
  .phone-frame {
    border-radius: 16px !important;
  }

  .ph-topbar {
    padding: 6px 12px 5px !important;
  }

  .ph-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }

  .ph-name {
    font-size: 12px !important;
  }

  .ph-status {
    font-size: 9px !important;
  }

  .ph-icons {
    gap: 10px !important;
  }

  .ph-body {
    padding: 8px 10px !important;
    gap: 2px !important;
  }

  .day-sep {
    margin: 2px 0 !important;
  }

  .day-sep span {
    font-size: 9px !important;
    padding: 1px 8px !important;
  }

  .bubble {
    max-width: 85% !important;
    padding: 5px 9px 4px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .msg-footer {
    font-size: 8.5px !important;
    margin-top: 2px !important;
  }

  .ph-input-bar {
    padding: 6px 10px !important;
  }

  .ph-input {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  .ph-send-btn {
    width: 24px !important;
    height: 24px !important;
  }

  /* Lista de viñetas compacta en móviles */
  .blist {
    margin-top: 10px !important;
    gap: 6px !important;
  }

  .blist li {
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .blist-ic {
    width: 24px !important;
    height: 24px !important;
  }

  .blist-ic svg {
    width: 12px !important;
    height: 12px !important;
  }

  .blist-text {
    margin-top: 2px !important;
  }

  .scene-header {
    margin-bottom: 2rem;
  }

  /* Forzar visibilidad de elementos con scroll animado dentro de las tarjetas en móvil */
  .col-good .animate-on-scroll,
  .col-bad .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   [S6] ECOSISTEMA — Pipeline Mobile
   ──────────────────────────────────────────────────────────── */

@media (max-width: 992px) {
  .ecosystem-pipeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1rem 0 2rem;
    gap: 2.5rem;
  }

  /* Cable de fibra óptica base */
  .ecosystem-pipeline::before {
    content: '';
    position: absolute;
    top: 3rem;
    /* Empieza dentro del primer botón */
    bottom: 3.5rem;
    /* Termina justo dentro del último botón */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
  }

  /* Pulso de luz animado */
  .ecosystem-pipeline::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, transparent, #ff3355, #3b82f6, #0bf597, #8b5cf6, #06b6d4, transparent);
    border-radius: 4px;
    z-index: 1;
    animation: flowPulse 3s infinite linear;
    filter: drop-shadow(0 0 8px rgba(255, 51, 85, 0.8));
  }

  @keyframes flowPulse {
    0% {
      top: 3rem;
      opacity: 0;
    }
    15% {
      opacity: 1;
    }
    85% {
      opacity: 1;
    }
    100% {
      top: calc(100% - 3.5rem - 80px);
      opacity: 0;
    }
  }

  .module-pill {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 280px;
    justify-content: flex-start !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    padding: 1.2rem 1.5rem !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-weight: 600;
    overflow: hidden;
  }

  .module-pill svg {
    color: var(--pill-color) !important;
    margin-right: 14px !important;
    width: 22px;
    height: 22px;
  }

  /* Borde brillante a la izquierda usando la variable inline */
  .module-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--pill-color);
    box-shadow: 0 0 15px var(--pill-color);
  }

  .eco-connector {
    display: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   [GLOBAL] CTA FLOTANTE MOBILE
   ──────────────────────────────────────────────────────────── */

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 992px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 24px;
    left: 50%;
    width: calc(100% - 48px);
    max-width: 400px;
    z-index: 1000;
    transform: translate(-50%, 150%) scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
  }

  .mobile-sticky-cta.visible {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .m-cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

  .m-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
  }

  .m-cta-text {
    letter-spacing: 0.3px;
  }

  .m-cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shineCta 4s infinite;
  }

  @keyframes shineCta {
    0% {
      left: -100%;
    }
    20%,
    100% {
      left: 200%;
    }
  }
}

/* ────────────────────────────────────────────────────────────
   [FASE 3] ESTILOS DE LIMPIEZA DE INLINE STYLES
   ──────────────────────────────────────────────────────────── */

/* S5 Bento Grid adjustments */
.eco-card-icon.icon-success-highlight {
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2) !important;
}
.solution-banner h3 {
  font-size: 1.8rem;
}
.solution-banner p {
  color: #475569;
  font-size: 1.1rem;
  max-width: 750px;
}
.clr-blue {
  color: #3b82f6 !important;
}
.clr-green {
  color: #10b981 !important;
}
.max-w-800 {
  max-width: 800px !important;
  margin: 0 auto 1.5rem !important;
}
.section-header-center.mb-4 {
  margin-bottom: 4rem !important;
}

/* Dots del slider (móvil) */
.eco-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.eco-slider-dots .eco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(52, 110, 211, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.eco-slider-dots .eco-dot.active {
  width: 24px;
  border-radius: 4px;
  background: rgba(52, 110, 211, 1);
}

/* Mobile Solution Banner Styles */
.eco-solution-mobile-wrapper .sol-visual {
  width: 100%;
}
.eco-solution-mobile-wrapper h3 {
  font-size: 1.5rem;
  text-align: center;
}
.eco-solution-mobile-wrapper p {
  color: #475569;
  font-size: 0.95rem;
  text-align: center;
  max-width: 450px;
  margin: 0 auto 1.5rem;
}
.cta-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}
.cta-image-title {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}
.cta-image-btn-wrap {
  margin-top: 2rem;
}
.vip-tag {
  color: #ef4444;
  font-weight: 700;
}

/* S3 delivery sub-class */
.delivery-header-row .delivery-title-container {
  flex: 1;
}

/* WhatsApp chat bubble icons & helpers */
.tick-sent, .tick-read-good {
  display: inline-flex;
  margin-left: 2px;
}
.bubble.sent-good svg {
  margin-right: 3px;
}
.msg-row.mt-1 {
  margin-top: 4px;
}
.delay-100 {
  transition-delay: 0.1s !important;
}

/* Ecosistema module-pills custom variables */
.module-pill.active {
  --pill-color: #346ed3;
}
.module-pill.tpv-pill {
  --pill-color: #0bf597;
}
.module-pill.crm-pill {
  --pill-color: #8b5cf6;
}
.module-pill.cms-pill {
  --pill-color: #06b6d4;
}

.module-pill svg {
  margin-right: 8px !important;
  vertical-align: text-bottom !important;
}

/* ────────────────────────────────────────────────────────────
   [FASE 5] OPTIMIZACIONES PARA RENDIMIENTO Y ACCESIBILIDAD
   ──────────────────────────────────────────────────────────── */

/* Aceleración por hardware selectiva con will-change */
.s4-order-popup,
.col-good,
.col-bad {
  will-change: transform, opacity;
}

@media (max-width: 992px) {
  .s3-card,
  .eco-card {
    /* will-change:transform on scroll-snap children causes flicker — use backface-visibility instead */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

@media (max-width: 768px) {
  /* Eliminar backdrop-filter en móviles para evitar lag en GPUs de gama baja */
  .s3-card,
  .cmd-pipeline,
  .eco-visual-container,
  .module-pill {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .s3-card {
    background: #ffffff !important;
  }
  .cmd-pipeline {
    background: #ffffff !important;
  }
  .eco-visual-container {
    background: transparent !important;
  }
  .module-pill {
    background: #0f172a !important;
  }
  .mobile-sticky-cta .m-cta-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0f172a !important;
  }
}

/* Soporte para preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}



