:root {
  --bg: #070707;
  --bg-soft: #0f0f0f;
  --card: #141414;
  --card-2: #181818;
  --accent: #FF6A00;
  --accent-hover: #FF8C42;
  --text: #F1F1F1;
  --muted: #A8A8A8;
  --border: #2A2A2A;
  --danger: #ff4d4d;
  --success: #36d399;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
}

img {
  max-width: 100%;
}

.container {
  width: min(1620px, 96%);
  margin: 0 auto;
}

.highlight {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
 
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.2rem;
  
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
  color: #ffffff;
}

.logo-text .punto {
  color: var(--accent);
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.logo span {
  color: #ffffff;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-cta,
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 22px;
  border-radius: 10px;
  display: inline-block;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 32px;
  height: 32px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  top: 6px;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 6px;
}

/* Animación a X cuando está activo */
.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.hero {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -100px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 106, 0, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 106, 0, 0.08), transparent 30%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.03;
  margin: 12px 0 20px;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

h3 {
  margin-top: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-line {
  margin-top: 18px;
  color: #ffffff;
  font-size: 0.92rem;
}

.mockup-card {
  background: linear-gradient(180deg, #191919, #101010);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.mockup-top {
  height: 12px;
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.8;
}

.mockup-screen {
  background: #090909;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 24px;
}

.metric {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.metric strong {
  color: var(--accent);
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.solution-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.solution-text p {
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
 
}

.grid-3-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
 
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  margin-top: 15px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: 0.25s ease;
}

.card:hover {
  border-color: rgba(255, 106, 0, 0.65);
  transform: translateY(-4px);
}

.card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.13);
  height: 90%;
  margin-top: 10px;
}

.compare {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-cell {
  padding: 20px;
}

.compare-cell.good {
  border-left: 1px solid var(--border);
  background: rgba(255, 106, 0, 0.05);
}

.bad {
  color: var(--danger);
}

.good-text {
  color: var(--success);
}

.local-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.local-list span {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--danger);
}

.pricing-card {
  position: relative;
}

.badge {
  display: inline-block;
  background: rgba(255, 106, 0, 0.14);
  color: var(--accent);
  border: 1px solid rgba(255, 106, 0, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.list {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.list li {
  color: var(--muted);
  margin: 10px 0;
}

.list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}

.form-box {
  background: linear-gradient(180deg, #151515, #101010);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  max-width: 760px;
  margin: 0 auto;
}

.progress {
  height: 5px;
  background: #242424;
  border-radius: 999px;
  margin-bottom: 28px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--accent);
  transition: 0.3s ease;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.options-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.option-btn {
  width: 100%;
  text-align: left;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.25s ease;
}

.option-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 106, 0, 0.07);
}

input,
textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 15px;
  border-radius: 12px;
  margin: 10px 0;
  font: inherit;
}

textarea {
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.back-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 13px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 36px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding-top: 20px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #000000 !important;
  font-weight: 900;
  padding: 13px 18px;
  border-radius: 999px;
  z-index: 50;
  box-shadow: 0 14px 40px rgba(255, 106, 0, 0.28);
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}



/* borde electrico 1 linea */
.electric-live1 {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #ff6a00;
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 106, 0, .35);
}

.electric-live1::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  padding: 2px;

  background:
    conic-gradient(
      from var(--electric-angle),
      transparent 0deg,
      transparent 35deg,
      #ff6a00 48deg,
      #ffd28a 54deg,
      #ffffff 58deg,
      #ff6a00 64deg,
      transparent 82deg,
      transparent 360deg
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter:
    drop-shadow(0 0 5px #ff6a00)
    drop-shadow(0 0 14px rgba(255,106,0,.9))
    url(#electricNoise);

  animation: electricRun 1.6s linear infinite;
}

.electric-live1::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -2;
  opacity: .45;
  background: conic-gradient(
    from var(--electric-angle),
    transparent 0deg,
    transparent 40deg,
    rgba(255,106,0,.9) 56deg,
    transparent 85deg,
    transparent 360deg
  );
  filter: blur(12px);
  animation: electricRun 1.6s linear infinite;
}

.electric-live1:hover::before,
.electric-live1:hover::after {
  animation-duration: .85s;
}

@property --electric-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes electricRun {
  to {
    --electric-angle: 360deg;
  }
}
/* fin borde electrico 1 linea */




/* borde eléctrico PRO 2 lineas */
.electric-live {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #ff6a00;
  color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow:
    0 0 14px rgba(255,106,0,.35),
    inset 0 0 12px rgba(255,255,255,.12);
}

.electric-live::before,
.electric-live::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.electric-live::before {
  inset: -3px;
  z-index: -1;
  padding: 2px;
  background:
    conic-gradient(
      from var(--electric-angle),
      transparent 0deg,
      transparent 26deg,
      rgba(255,106,0,.15) 38deg,
      #ff6a00 48deg,
      #ffd18a 54deg,
      #ffffff 58deg,
      #ff9a2f 63deg,
      rgba(255,106,0,.45) 72deg,
      transparent 92deg,
      transparent 190deg,
      rgba(255,106,0,.08) 205deg,
      #ff6a00 218deg,
      #ffd18a 224deg,
      transparent 240deg,
      transparent 360deg
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter:
    drop-shadow(0 0 4px #fff)
    drop-shadow(0 0 9px #ff6a00)
    drop-shadow(0 0 22px rgba(255,106,0,.85))
    url(#electricNoise);

  animation:
    electricRun 1.35s linear infinite,
    electricFlicker 1.8s steps(8) infinite;
}

.electric-live::after {
  inset: -10px;
  z-index: -2;
  opacity: .55;
  background:
    conic-gradient(
      from var(--electric-angle),
      transparent 0deg,
      transparent 35deg,
      rgba(255,106,0,.95) 56deg,
      rgba(255,210,138,.7) 62deg,
      transparent 86deg,
      transparent 205deg,
      rgba(255,106,0,.5) 224deg,
      transparent 250deg,
      transparent 360deg
    );
  filter: blur(14px);
  animation:
    electricRun 1.35s linear infinite,
    electricGlowPulse 2.4s ease-in-out infinite;
}

.electric-live:hover::before,
.electric-live:hover::after {
  animation-duration: .75s, 1.2s;
}

.electric-live:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 18px rgba(255,106,0,.6),
    0 0 42px rgba(255,106,0,.25),
    inset 0 0 16px rgba(255,255,255,.16);
}

@property --electric-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes electricRun {
  to {
    --electric-angle: 360deg;
  }
}

@keyframes electricFlicker {
  0%, 100% { opacity: .95; }
  12% { opacity: .7; }
  26% { opacity: 1; }
  39% { opacity: .82; }
  52% { opacity: 1; }
  71% { opacity: .68; }
  84% { opacity: 1; }
}

@keyframes electricGlowPulse {
  0%, 100% {
    opacity: .42;
    transform: scale(1);
  }
  50% {
    opacity: .72;
    transform: scale(1.015);
  }
}
/* fin borde eléctrico PRO 2 lineas */



@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
    font-size: 0.85rem;
  }
  
  .header-cta {
    padding: 11px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 850px) {
  .hero-grid,
  .grid-3,
  .grid-3-2,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav,
  .header-cta,
  .attention-once {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .language-selector {
    margin-right: 12px;
  }

  .language-toggle {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .flag-icon {
    font-size: 0.9rem;
  }

  .lang-text {
    display: none; /* Hide text in mobile, show only flag */
  }

  .language-dropdown {
    right: -12px;
    min-width: 120px;
  }

  .lang-option {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .main-nav.active {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #080808;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-cell.good {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .hero {
    padding: 70px 0 50px;
  }

  .whatsapp-float {
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .logo {
    gap: 6px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .logo-subtitle {
    font-size: 0.55rem;
  }
}






.section {
  position: relative;
  overflow: hidden;
}

.section .container {
  position: relative;
  z-index: 2;
}

#revealCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


/* boton primera atencion para whatsapp y diagnostico gratis */

/* diagnostico gratis */
.attention-once {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* PULSO SUAVE REPETIDO */
.attention-once {
  animation: subtlePulse 3s ease-out infinite;
}

/* SHINE REPETIDO */
.attention-once::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 60%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  );
  transform: rotate(20deg);
  animation: shineLoop 6s ease-out infinite;
  pointer-events: none;
}

/* ANIMACIONES */

@keyframes shineLoop {
  0% {
    left: -60%;
    opacity: 0;
  }
  10% {
    opacity: .8;
  }
  30% {
    left: 120%;
    opacity: 0;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes subtlePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,106,0,0);
  }
  10% {
    transform: scale(1.035);
    box-shadow:
      0 0 16px rgba(255,106,0,.45),
      0 0 32px rgba(255,106,0,.22);
  }
  25% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,106,0,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,106,0,0);
  }
}


/* stacking / pinned sections: una sección queda fija “atrás” y la siguiente sube encima como una persiana. */
.stack-page {
  background: #030303;
}

.stack-section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  /* display: flex;
  align-items: center;
  overflow: hidden; */
  background: #030303;
}

.stack-section:nth-child(1) {
  z-index: 1;
}

.stack-section:nth-child(2) {
  z-index: 2;
}

.stack-section:nth-child(3) {
  z-index: 3;
}

.stack-section:nth-child(4) {
  z-index: 4;
}

.stack-section:nth-child(5) {
  z-index: 5;
}

.stack-section:nth-child(6) {
  z-index: 6;
}

.stack-section:nth-child(7) {
  z-index: 7;
}



/* estilos para la tarjeta de proceso sin ia vs con ia */
.automation-visual {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 45px auto 0;
  aspect-ratio: 16 / 7;
  min-height: 360px;
  max-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  background: #050505;
}

.automation-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.automation-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28)),
    radial-gradient(circle at 50% 50%, rgba(255,106,0,.18), transparent 35%);
  z-index: 1;
  pointer-events: none;
}

.auto-badge,
.workflow-card,
.auto-center-card,
.automation-benefits {
  position: absolute;
  z-index: 2;
  background: rgba(14,14,14,.58);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.auto-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 16px;
  width: min(330px, 34%);
}

.auto-badge h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: clamp(.95rem, 1.3vw, 1.25rem);
}

.auto-badge p {
  margin: 0;
  color: #d7d7d7;
  font-size: clamp(.75rem, 1vw, .9rem);
}

.auto-badge-left {
  top: 6%;
  left: 3%;
}

.auto-badge-right {
  top: 6%;
  right: 3%;
}

.auto-badge-right h3 span {
  color: #FF6A00;
}

.badge-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  color: #fff;
  flex: 0 0 26px;
}

.badge-icon.bad {
  background: #B83232;
}

.badge-icon.good {
  background: #44A047;
}

.auto-center-card {
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 16px 20px;
  border-radius: 18px;
  border-color: rgba(255,106,0,.35);
  width: min(280px, 28%);
}

.auto-center-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
}

.auto-center-card p {
  margin: 0;
  color: #FF6A00;
  font-weight: 700;
  font-size: clamp(.75rem, 1vw, .9rem);
}

.workflow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: min(190px, 18%);
  padding: 10px 12px;
  border-radius: 13px;
}

.workflow-card strong {
  color: #fff;
  font-size: clamp(.7rem, .9vw, .85rem);
}

.workflow-card span {
  color: #65d46e;
  font-weight: 900;
}

.wc-1 { right: 36%; top: 30%; }
.wc-2 { right: 36%; top: 42%; }
.wc-3 { right: 36%; top: 54%; }

.wc-4 { right: 4%; top: 33%; }
.wc-5 { right: 4%; top: 45%; }
.wc-6 { right: 4%; top: 57%; }

.automation-benefits {
  left: 7%;
  right: 7%;
  bottom: 3%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
}

.automation-benefits div {
  border-right: 1px solid rgba(255,255,255,.12);
  padding-right: 12px;
}

.automation-benefits div:last-child {
  border-right: 0;
}

.automation-benefits strong {
  display: block;
  color: #fff;
  font-size: clamp(.8rem, 1vw, 1rem);
}

.automation-benefits span {
  display: block;
  color: #d0d0d0;
  font-size: clamp(.7rem, .9vw, .86rem);
}

@media (max-width: 900px) {
  .automation-visual {
    aspect-ratio: auto;
    min-height: auto;
    max-height: none;
    padding: 18px;
  }

  .automation-img {
    position: relative;
    display: block;
    height: auto;
    border-radius: 18px;
    opacity: .72;
  }

  .automation-visual::after {
    display: none;
  }

  .auto-badge,
  .workflow-card,
  .auto-center-card,
  .automation-benefits {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 12px;
  }

  .automation-benefits {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .automation-benefits div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: 12px;
  }

  .automation-benefits div:last-child {
    border-bottom: 0;
  }
}


/* imagen de proceso de automatizacion------------------------ */
.process-image {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.process-image img {
  width: 100%;
  max-width: 1300px;
  border-radius: 20px;
  border: 1px solid rgba(255,106,0,.2);
  box-shadow: 0 25px 70px rgba(0,0,0,.6);
  object-fit: cover;
}

@media (max-width: 768px) {
  .process-image {
    margin-top: 40px;
    padding: 0 10px;
  }

  .process-image img {
    border-radius: 14px;
  }
}

/* estilos para el ciclo de que hacemos con tu web---------------- */
.clean-cycle {
  position: relative;
  width: min(520px, 92vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.clean-cycle::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px dashed rgba(255,106,0,.28);
  animation: cycleSpin 24s linear infinite;
}

.clean-cycle-center {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: #070707;
  border: 1px solid rgba(255,106,0,.55);
  box-shadow: 0 0 45px rgba(255,106,0,.22);
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 3;
  padding: 18px;
}

.clean-cycle-center strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.1;
}

.clean-cycle-center span {
  color: #FF6A00;
  font-size: .78rem;
  font-weight: 800;
  margin-top: 8px;
}

.clean-step {
  position: absolute;
  width: 132px;
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FF6A00, #D94F00);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 45px rgba(0,0,0,.42), 0 0 22px rgba(255,106,0,.22);
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 2;
  transition: transform .3s ease, filter .3s ease;
}

.clean-step:hover { 
  transform: translateY(-6px) scale(1.05);  
  filter: brightness(1.15);
}


.cs-1:hover,
.cs-4:hover {
  transform: translateX(-50%) translateY(-6px) scale(1.05);
}

.clean-step span {
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
}

.clean-step strong {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 6px;
}

.clean-step:nth-child(even) {
  background: linear-gradient(135deg, #2A2A2A, #111);
}

.cs-1 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.cs-2 {
  left: 4%;
  bottom: 18%;
}

.cs-3 {
  left: 4%;
  top: 18%;
}

.cs-4 {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.cs-5 {
  right: 4%;
  top: 18%;
}

.cs-6 {
  right: 4%;
  bottom: 18%;
}

@keyframes cycleSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 650px) {
  .clean-cycle {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    gap: 14px;
  }

  .clean-cycle::before,
  .clean-cycle-center {
    display: none;
  }

  .clean-step {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 86px;
    transform: none !important;
  }
}


/* desactivando el efecto de desplazamiento y superposición de las capas en versión escritorio--- */
/* ================================
   MOBILE FIX — DESACTIVAR STACKING
   ================================ */

@media (max-width: 850px) {

  html,
  body {
    overflow-x: hidden;
  }

  .stack-page {
    background: var(--bg);
  }

  .stack-section {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: auto !important;
  }

  .stack-section > .section,
  .stack-section .section {
    position: relative !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 70px 0 !important;
  }

  .section {
    overflow: visible !important;
  }

  .section .container,
  .container {
    height: auto !important;
    min-height: auto !important;
  }

  .hero {
    min-height: auto !important;
    height: auto !important;
    padding: 80px 0 60px !important;
    overflow: visible !important;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-3-2,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .card.featured {
    height: auto !important;
  }

  .section-head {
    max-width: 100%;
    margin-bottom: 32px;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .eyebrow {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}



/* Language Selector */
.language-selector {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.language-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.language-toggle .arrow {
  font-size: 0.6rem;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.language-selector.active .language-toggle .arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s ease;
  border-bottom: 1px solid var(--border);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: rgba(255, 106, 0, 0.08);
  color: var(--text) !important;
}

.lang-option.active {
  color: var(--accent) !important;
  background: rgba(255, 106, 0, 0.06);
}

.flag-icon {
  font-size: 1rem;
  line-height: 1;
}