/* =========================
   RESET / VARIABLES
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light only;
  --bg: #f2efe8;
  --bg2: #eae6dc;
  --bg3: #e2ddd2;
  --black: #0e0e0e;
  --off-black: #1c1c1c;
  --gray: #5a5a5a;
  --lgray: #9a9a9a;
  --accent: #6b3ecc;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 60px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  background: #f2efe8 !important;
  color-scheme: light !important;
}
html,
body {
  background-color: #f2efe8 !important;
}
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Inter", sans-serif;
  background: #f2efe8 !important;
  color: #0e0e0e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: light !important;
}

/* Prevent content from going under sticky nav */
body > *:not(nav):not(.nav-mobile):first-of-type {
  scroll-margin-top: 66px;
}

/* =========================
   OCULTAR BADGE reCAPTCHA (v3)
   (Solo oculta el badge visual)
========================= */
.grecaptcha-badge{
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================
   TYPOGRAPHY
========================= */
.display {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif;
}
h2 {
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* =========================
   UTILITIES
========================= */
.label {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9a9a9a !important;
}
.center {
  text-align: center;
}
section {
  padding: 100px 6%;
  background-color: #f2efe8;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  color: var(--black);
}
.btn-ghost:hover {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #5a30b5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(107, 62, 204, 0.3);
}
.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: #f0f0f0;
}

/* =========================
   ICON BLOCKS
========================= */
.icon-block {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-block svg {
  width: 22px;
  height: 22px;
}
.ib-accent {
  background: rgba(107, 62, 204, 0.1);
  border: 1px solid rgba(107, 62, 204, 0.2);
}
.ib-dark {
  background: rgba(255, 255, 255, 0.1);
}
.ib-light {
  background: var(--bg3);
}

/* =========================
   NAV
========================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 232, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Logo como imagen local */
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover {
  color: var(--black);
}
.nav-right {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

/* Hamburger & mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: rgba(242, 239, 232, 0.98);
  backdrop-filter: blur(16px);
  padding: 1.25rem 5% 1.75rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
}
.nav-mobile a:last-child {
  border-bottom: none;
}
.nav-mobile .btn {
  display: flex;
  margin-top: 0.5rem;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 40px 6% 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: auto;
  background: #f2efe8;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.09);
  padding: 0.38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #6b3ecc;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(107, 62, 204, 0.18);
}
.eyebrow-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  margin-bottom: 1rem;
  max-width: 560px;
}
.hero h1 .muted {
  color: var(--lgray);
  font-weight: 700;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-proof {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.proof-num {
  font-family: "Inter", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--black);
}
.proof-lbl {
  font-size: 0.76rem;
  color: var(--lgray);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero right */
.hero-right {
  position: relative;
}
.hero-screen {
  background: var(--off-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  aspect-ratio: 16/10;
}
.mock-live-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b3ecc;
  font-family: "Inter", sans-serif;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #6b3ecc;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(107, 62, 204, 0.2);
  animation: livepulse 2s infinite;
}
@keyframes livepulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(107, 62, 204, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(107, 62, 204, 0.06);
  }
}
.screen-live {
  flex: 1;
  background: linear-gradient(135deg, #060614 0%, #0b1630 40%, #0e2048 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* HERO: video (desktop default) */
.hero-live-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 1;
  background: #000; /* Si tarda en cargar, no se ve azul */
}

.screen-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.sbb-left {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Inter", sans-serif;
}
.sbb-right {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.sbb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.sbb-dot.active {
  background: var(--accent);
  width: 16px;
  border-radius: 3px;
}

/* Keep old mock classes */
.mock-topbar {
  background: #161616;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.m-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Inter", sans-serif;
  margin-left: 4px;
  letter-spacing: 0.3px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}
.fc-left {
  bottom: -18px;
  left: -22px;
}
.fc-right {
  top: -16px;
  right: -18px;
}
.fc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-ico-g {
  background: #edf9f2;
}
.fc-ico-b {
  background: #eef2ff;
}
.fc-title {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.fc-sub {
  font-size: 0.7rem;
  color: var(--lgray);
  font-family: "Inter", sans-serif;
}

/* =========================
   LOGOS
========================= */
.logos-strip {
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.logos-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lgray);
  text-align: center;
  margin-bottom: 0.65rem;
}
.logos-ticker-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.logos-row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: nowrap;
  width: max-content;
  animation: logoScroll 18s linear infinite;
}
.logos-row:hover {
  animation-play-state: paused;
}
@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.logo-name {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c0bbb0;
  letter-spacing: -0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================
   PAIN
========================= */
.pain-header {
  text-align: center;
}
.pain .label {
  color: var(--lgray);
}
.pain h2 {
  color: var(--black);
  max-width: 100%;
}
.pain .intro {
  color: var(--gray);
  font-size: 1rem;
  max-width: 780px;
  margin-top: 0.85rem;
  line-height: 1.75;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.pain-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.pain-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.pain-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--off-black);
}
.pain-card h3 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.pain-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* =========================
   STEPS
========================= */
.steps-wrap {
  margin-top: 4rem;
  position: relative;
}
.steps-line {
  position: absolute;
  top: 26px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(107, 62, 204, 0.1) 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.step {
  text-align: center;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 18px rgba(107, 62, 204, 0.35);
}
.step h3 {
  font-size: 0.97rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.65;
}

/* =========================
   PRODUCTS
========================= */
.products-bg {
  background: #eae6dc;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-header {
  padding: 2rem 2rem 1rem;
}
.product-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pill-blue {
  background: #eef2ff;
  color: #4060ee;
}
.pill-warm {
  background: #fff3ee;
  color: #d95a2b;
}
.pill-green {
  background: #f0ebff;
  color: #6b3ecc;
}
.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.product-card .pdesc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}
.product-band {
  margin: 1rem 2rem;
  border-radius: var(--radius-sm);
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.band-cms {
  background: linear-gradient(135deg, #0a0a20, #1a1a40);
}
.band-mirror {
  background: linear-gradient(135deg, #1a0a0a, #301010);
}
.band-trans {
  background: linear-gradient(135deg, #0a1a0a, #0f2f1a);
}
.product-feats {
  padding: 0.75rem 2rem 1rem;
  flex: 1;
}
.product-feats li {
  font-size: 0.87rem;
  color: var(--gray);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.product-feats li:last-child {
  border: none;
}
.feat-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f0ebff;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-check svg {
  width: 9px;
  height: 9px;
  stroke: #6b3ecc;
  stroke-width: 2.5;
}
.product-price-row {
  padding: 0 2rem 1.25rem;
}
.price-from {
  font-size: 0.72rem;
  color: var(--lgray);
  letter-spacing: 0.5px;
}
.price-amt {
  font-family: "Inter", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.price-per {
  font-size: 0.8rem;
  color: var(--gray);
  font-family: "Inter", sans-serif;
  font-weight: 400;
}
.product-foot {
  padding: 0 2rem 2rem;
}
.product-foot .btn {
  width: 100%;
  justify-content: center;
}

/* =========================
   HARDWARE (VIDEO)
========================= */
.hw-img-static {
  margin: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #000; /* Antes era azul; negro evita “cuadro azul” al cargar */
}

/* Video en cards de hardware */
.hw-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  background: #000; /* Evita azul mientras carga o si falla */
}

/* =========================
   DIFF
========================= */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3.5rem;
}
.diff-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.diff-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.diff-row h4 {
  font-size: 0.97rem;
  margin-bottom: 0.3rem;
}
.diff-row p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
}
.diff-visual {
  background: var(--off-black);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.dv-bg-grad {
  position: absolute;
  inset: 0;
  background: #0e0e0e;
}
.dv-glow-1 {
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(60px);
  top: -40px;
  left: -40px;
}
.dv-glow-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(50px);
  bottom: 20px;
  right: 20px;
}
.dv-content {
  position: relative;
  z-index: 1;
}
.dv-big {
  font-family: "Inter", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -3px;
  line-height: 1;
}
.dv-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2rem;
  margin-top: 0.25rem;
}
.dv-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dv-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
}
.dv-bar-header span:last-child {
  color: var(--white);
  font-weight: 700;
}
.dv-bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.dv-bar-fill {
  height: 100%;
  background: var(--white);
  border-radius: 3px;
}

/* =========================
   CASE STUDY SLIDER
========================= */
.case-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.case-label {
  color: var(--lgray);
  margin-bottom: 0.85rem;
}
.case-inner h3 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: #0e0e0e !important;
}
.case-inner p {
  font-size: 0.93rem;
  color: #5a5a5a !important;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.case-metrics {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.c-metric .num {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.c-metric .lbl {
  font-size: 0.76rem;
  color: var(--lgray);
  margin-top: 2px;
}

.case-slider {
  position: relative;
  overflow: hidden;
}
.case-slide {
  display: none;
}
.case-slide.active {
  display: block;
  animation: slideIn 0.4s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.case-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}
.case-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
  width: 24px;
}
.case-dot.active {
  background: var(--accent);
  width: 48px;
}
.case-dot:hover:not(.active) {
  background: rgba(0, 0, 0, 0.35);
}

/* =========================
   CASE IMAGES (4:3)
   - Evita la franja de fondo
========================= */
.case-img-static{
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3; /* NUEVO: 4:3 real */
  display: block;      /* Evita comportamientos de flex */
}
.case-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   INDUSTRIES
========================= */
.ind-bg {
  background: #ffffff;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.ind-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ind-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ind-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--off-black);
}
.ind-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.ind-card p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.55;
}

/* =========================
   PORTAL
========================= */
.portal-bg {
  background: #e2ddd2;
}
.portal-bg .label {
  color: var(--lgray);
}
.portal-bg h2 {
  color: var(--black);
}
.portal-intro {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 500px;
  margin-top: 0.85rem;
}
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}
.portal-feats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pf-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pf-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-row h4 {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}
.pf-row p {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.6;
}
.portal-mock {
  background: #141414;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.pm-bar {
  background: #0e0e0e;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.pm-title {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: "Inter", sans-serif;
  margin-left: 6px;
}
.pm-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.pm-section-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pm-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}
.pm-thumb-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.pm-item-info {
  flex: 1;
}
.pm-item-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
}
.pm-item-meta {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Inter", sans-serif;
}
.pm-status {
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  font-size: 0.63rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  flex-shrink: 0;
}
.st-live {
  background: rgba(107, 62, 204, 0.9);
  color: #ffffff;
}
.st-sched {
  background: rgba(107, 62, 204, 0.5);
  color: #ffffff;
}
.pm-upload {
  margin-top: 0.75rem;
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
}
.pm-upload-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}
.pm-upload-icon svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.35);
}

/* =========================
   CONTACT
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(107, 62, 204, 0.08);
  border: 1px solid rgba(107, 62, 204, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}
.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lgray);
  margin-bottom: 0.2rem;
}
.contact-item-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item-val:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray);
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--black);
  background: var(--bg);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--lgray);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
.form-note {
  font-size: 0.82rem;
  text-align: center;
  color: var(--gray);
  min-height: 1.2rem;
}
.form-note.success {
  color: #1a9952;
  font-weight: 600;
}
.form-note.error {
  color: #cc3333;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--off-black);
  color: rgba(255, 255, 255, 0.35);
  padding: 3.5rem 6% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: 0.25rem;
}
.f-about {
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 220px;
}
.f-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.f-soc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  transition: all 0.2s;
}
.f-soc:hover {
  background: var(--accent);
  color: var(--black);
}
footer h5 {
  font-family: "Inter", sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
footer ul li a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.18s;
}
footer ul li a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* =========================
   FADE ANIMATION
========================= */
.fade {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.js-loaded .fade {
  opacity: 0;
  transform: translateY(22px);
}
.fade.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =========================
   RESPONSIVE
========================= */
.scroll-section-wrap {
  position: relative;
}
.scroll-hint {
  display: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 6% 40px;
    gap: 2.5rem;
  }
  .hero-right {
    max-width: 520px;
    margin: 0 auto;
  }
  .diff-grid,
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 48px 5%;
  }
  .logos-strip {
    padding: 0.85rem 5%;
  }

  nav {
    padding: 0 5%;
    height: 58px;
  }
  .nav-links {
    display: none;
  }
  .nav-right {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 28px 5% 24px;
    gap: 0;
  }

  /* =========================
     HERO VIDEO (móvil)
     - Evita recorte (cover) y elimina franjas raras por recorte
  ========================== */
  .hero-live-video{
    object-fit: contain;        /* NO recorta: se ve completo */
    object-position: 50% 0%;   /* centrado */
    background: #000;           /* si sobra espacio, que sea negro parejo */
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    margin-bottom: 0.65rem;
    max-width: 100%;
    line-height: 1.08;
  }
  .hero-body {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
    max-width: 100%;
    line-height: 1.6;
  }
  .hero-actions {
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }
  .btn-lg {
    padding: 0.7rem 1.3rem;
    font-size: 0.86rem;
  }
  .hero-eyebrow {
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.85rem;
  }
  .eyebrow-text {
    font-size: 0.7rem;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 0.9rem;
    flex-wrap: unset;
  }
  .proof-num {
    font-size: 1.35rem;
  }
  .proof-lbl {
    font-size: 0.68rem;
  }

  .logos-lbl {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }
  .logo-name {
    font-size: 0.82rem;
  }

  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    justify-content: flex-start;
    padding-left: 5%;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lgray);
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }
  .scroll-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.5;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .pain h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    text-align: left;
  }
  .pain .intro {
    font-size: 0.88rem;
    text-align: left;
    max-width: 100%;
  }
  .pain-header {
    text-align: left;
  }

  .pain-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    margin: 0 -5%;
    padding-left: 5%;
    padding-right: 5%;
  }
  .pain-grid::-webkit-scrollbar {
    display: none;
  }
  .pain-card {
    flex: 0 0 80vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  .steps-line {
    display: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .step {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    align-items: flex-start;
  }
  .step-num {
    margin: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 0.88rem;
  }
  .step-text {
    flex: 1;
    min-width: 0;
  }
  .step h3 {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  .step p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-band {
    height: 110px;
    margin: 0.6rem 1.25rem;
  }
  .product-band svg {
    height: 110px;
  }
  .product-feats {
    padding: 0.4rem 1.25rem 0.6rem;
  }
  .product-feats li {
    font-size: 0.8rem;
    padding: 0.28rem 0;
  }
  .product-header {
    padding: 1.1rem 1.25rem 0;
  }
  .pdesc {
    font-size: 0.82rem;
  }
  .product-price-row {
    padding: 0 1.25rem 0.6rem;
  }
  .price-amt {
    font-size: 1.15rem;
  }
  .product-foot {
    padding: 0 1.25rem 1.25rem;
  }

  #hardware > div[style*="grid"] {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    margin: 0 -5%;
    padding-left: 5%;
    padding-right: 5%;
    grid-template-columns: unset !important;
  }
  #hardware .product-card {
    flex: 0 0 82vw;
    max-width: 320px;
    scroll-snap-align: start;
  }
  
  .hw-img-static {
    height: 180px; /* prueba 110–140 según tu gusto */
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .diff-visual {
    min-height: 260px;
  }
  .dv-big {
    font-size: 2.8rem;
  }
  .diff-items {
    gap: 1.1rem;
  }
  .diff-row h4 {
    font-size: 0.9rem;
  }
  .diff-row p {
    font-size: 0.82rem;
  }

  .case-inner {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .case-inner h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  .case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .c-metric .num {
    font-size: 1.2rem;
  }
  .c-metric .lbl {
    font-size: 0.65rem;
  }

  .ind-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin: 0 -5%;
    padding-left: 5%;
    padding-right: 5%;
  }
  .ind-grid::-webkit-scrollbar {
    display: none;
  }
  .ind-card {
    flex: 0 0 70vw;
    max-width: 260px;
    scroll-snap-align: start;
    padding: 1.1rem;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portal-feats {
    gap: 1rem;
  }
  .pf-row h4 {
    font-size: 0.88rem;
  }
  .pf-row p {
    font-size: 0.8rem;
  }

  h2[style] {
    font-size: clamp(1.5rem, 5.5vw, 1.9rem) !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .contact-data {
    gap: 1.1rem;
    margin-top: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    font-size: 0.7rem;
  }
  footer {
    padding: 2.25rem 5%;
  }
}

@media (max-width: 480px) {
  section {
    padding: 44px 4.5%;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }
  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pain-card {
    flex: 0 0 88vw;
  }
  #hardware .product-card {
    flex: 0 0 88vw;
  }
  .ind-card {
    flex: 0 0 78vw;
  }
  .case-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}