/* =====================================================================
   UNIVAC.ERP — DESIGN SYSTEM
   Paleta derivada del imagotipo: azul eléctrico + cian + violeta + coral.
   Tipografía: Poppins (display) + Inter (cuerpo) + JetBrains Mono (datos).
   ===================================================================== */

:root{
  /* --- Color: fondo --- */
  --bg-deep:        #f4f7fc;
  --bg-elevated:    #ffffff;
  --bg-elevated-2:  #e9eff9;

  /* --- Color: marca --- */
  --blue-electric:  #2c5fd2;
  --blue-soft:      #5a8dff;
  --cyan:           #087d9b;
  --violet:         #6545d5;
  --coral:          #d84a3e;

  /* --- Color: texto --- */
  --text-primary:   #16223a;
  --text-muted:     #40516e;
  --text-faint:     #61718b;

  /* --- Superficies glass --- */
  --glass-fill:     rgba(255,255,255,.74);
  --glass-fill-hi:  rgba(255,255,255,.94);
  --glass-border:   rgba(38,61,105,.16);
  --satellite-bg:   rgba(255,255,255,.94);
  --satellite-shadow: rgba(38,61,105,.18);

  /* --- Gradientes de marca --- */
  --grad-brand: linear-gradient(120deg, var(--blue-electric) 0%, var(--violet) 55%, var(--coral) 100%);
  --grad-cool:  linear-gradient(120deg, var(--cyan) 0%, var(--blue-electric) 100%);

  /* --- Tipografía --- */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* --- Layout --- */
  --container-w: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* =====================================================================
   RESET Y BASE
   ===================================================================== */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }

html{
  scroll-behavior: smooth;
  background: var(--bg-deep);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

body{
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font-family: inherit; border:none; background:none; cursor:pointer; }
input, textarea{ font-family: inherit; }

::selection{
  background: var(--violet);
  color: #fff;
}

/* Scrollbar personalizada */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--bg-deep); }
::-webkit-scrollbar-thumb{
  background: linear-gradient(var(--blue-electric), var(--violet));
  border-radius: 10px;
}

.container{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================================================
   PARTÍCULAS DE FONDO
   ===================================================================== */
#particles-canvas{
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
}

/* =====================================================================
   UTILIDADES DE TEXTO / SECCIÓN
   ===================================================================== */
.text-gradient{
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section{
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.section-eyebrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-text{
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-head{ text-align: center; margin-bottom: 36px; }
.section-head .section-text--center{ max-width: 640px; }

.problems .section-head,
.benefits .section-head,
.modules .section-head,
.workflow .section-head,
.use-cases .section-head,
.integrations .section-head,
.gallery .section-head,
.testimonials .section-head{
  text-align: center;
}
.problems .section-text--center,
.benefits .section-head + .cards-grid,
.modules .section-text--center{ margin-left: auto; margin-right: auto; }
.section-text--center{ margin: 0 auto; }

/* =====================================================================
   ANIMACIONES DE ENTRADA (Intersection Observer)
   ===================================================================== */
.reveal-up{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--delay, 0) * 90ms);
}
.reveal-up.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   BOTONES
   ===================================================================== */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}
.btn:hover{ transform: translateY(-3px); }

.btn--primary{
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(59,111,232,0.55);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
.btn--primary:hover{ box-shadow: 0 16px 40px -8px rgba(124,92,250,0.6); }

.btn--outline{
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
}
.btn--outline:hover{ border-color: var(--cyan); background: var(--glass-fill-hi); }

.btn--ghost{
  border: 1px solid var(--glass-border);
  padding: 10px 22px;
  font-size: 0.88rem;
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover{ border-color: var(--cyan); }

.btn--lg{ padding: 17px 38px; font-size: 1.02rem; }
.btn--full{ width: 100%; }

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

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled{
  padding: 12px 0;
  background: rgba(244,247,252,.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--glass-border);
}
.navbar__inner{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__brand{ display:flex; align-items:center; }
.navbar__logo{ height: 60px; width:auto; transition: transform .3s var(--ease); }
.navbar__brand:hover .navbar__logo{ transform: scale(1.05); }

.navbar__links{
  display:flex;
  gap: 30px;
  flex: 1;
  justify-content: flex-end;
}
.navlink{
  position: relative;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color .25s;
  padding: 4px 0;
}
.navlink::after{
  content:'';
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--grad-cool);
  transition: width .3s var(--ease);
}
.navlink:hover{ color: var(--text-primary); }
.navlink:hover::after{ width: 100%; }

.navbar__cta{ flex-shrink:0; }

.navbar__burger{
  display:none;
  flex-direction:column;
  gap:5px;
  width: 26px;
}
.navbar__burger span{
  height:2px; width:100%;
  background: var(--text-primary);
  transition: transform .3s var(--ease), opacity .3s;
}
.navbar__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2){ opacity:0; }
.navbar__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  top: 0; right: 0;
  width: min(78vw, 340px);
  height: 100vh;
  background: rgba(244,247,252,.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  z-index: 99;
  display:flex;
  flex-direction:column;
  gap: 26px;
  padding: 110px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-menu .navlink{ font-size: 1.1rem; }

@media (max-width: 900px){
  .navbar__links, .navbar__cta{ display:none; }
  .navbar__burger{ display:flex; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: 160px 0 100px;
  /* Permite que el halo violeta se desvanezca naturalmente hacia la sección siguiente. */
  overflow: visible;
}
.hero__glow{
  position:absolute;
  border-radius:50%;
  filter: blur(110px);
  pointer-events:none;
  z-index:-1;
}
.hero__glow--1{
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(59,111,232,0.35), transparent 70%);
  top: -120px; left: -140px;
  animation: floatGlow 9s ease-in-out infinite;
}
.hero__glow--2{
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,92,250,0.3), transparent 70%);
  bottom: -160px; right: -120px;
  animation: floatGlow 11s ease-in-out infinite reverse;
}
@keyframes floatGlow{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(30px,-20px); }
}

.hero__inner{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: var(--cyan);
  margin-bottom: 26px;
}
.eyebrow__dot{
  width:7px; height:7px;
  border-radius:50%;
  background: #4fd8a0;
  box-shadow: 0 0 8px #4fd8a0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; transform: scale(1); }
  50%{ opacity:.4; transform: scale(1.3); }
}

.hero__title{
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero__subtitle{
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero__actions{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom: 56px; }

.hero__trust-label{
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.hero__trust-logos{
  display:flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Tarjeta orbital del hero --- */
.hero__visual{ position: relative; display:flex; justify-content:center; }
.orbit-card__glass--image{
  padding: 12px; /* marco fino en vez de los 32px pensados para texto */
  overflow: hidden;
}
.orbit-card__screenshot{
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
}
.orbit-card__glass{
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 32px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-14px) rotate(0.4deg); }
}
.orbit-card__logo{ width: 46px; margin-bottom: 24px; opacity:.9; }
.orbit-card__row{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.orbit-card__row strong.counter{
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 1.05rem;
}
.orbit-card__pill{
  font-family: var(--font-mono);
  font-size: 0.75rem !important;
  color: var(--cyan) !important;
  background: rgba(79,216,240,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.orbit-card__bars{
  display:flex; align-items:flex-end; gap:8px;
  height: 70px; margin-top: 22px;
}
.orbit-card__bars span{
  flex:1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: var(--grad-cool);
  opacity: .85;
  animation: barGrow 1.4s var(--ease) both;
}
@keyframes barGrow{ from{ transform: scaleY(0); transform-origin:bottom; } to{ transform: scaleY(1); } }

.orbit-card__satellite{
  position:absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--satellite-bg);
  border: 1px solid var(--glass-border);
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px -10px var(--satellite-shadow);
  animation: floatSat 5s ease-in-out infinite;
}
.orbit-card__satellite--1{ top: -18px; right: -10px; color: var(--cyan); }
.orbit-card__satellite--2{ bottom: 20px; left: -36px; color: var(--cyan); animation-delay: 1.2s; }
@keyframes floatSat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.scroll-indicator{
  position:absolute;
  bottom: 36px; left:50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--glass-border);
  border-radius: 20px;
}
.scroll-indicator span{
  position:absolute;
  top:8px; left:50%;
  width:4px; height:8px;
  background: var(--cyan);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot{
  0%{ opacity:1; top:8px; }
  70%{ opacity:0; top: 22px; }
  100%{ opacity:0; top:8px; }
}

.hero__trust-logos{
  display:flex;
  flex-wrap: nowrap;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.hero__trust-logos span{ white-space: nowrap; }

@media (max-width: 900px){
  .hero__inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual{
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px){
  .hero__trust-logos{
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }
}

/* =====================================================================
   QUÉ ES EL SISTEMA
   ===================================================================== */
.what-is__grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items:center;
  text-align: center;
}
.what-is__grid--single{
  grid-template-columns: 1fr;
}
.what-is__grid--single .section-text{
  max-width: none;
  margin: 0px 80px;
}
.what-is__stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 42px;
}
.stat{ max-width: none; text-align: center; }

.stat strong.counter,
.stat .stat__suffix,
.stat strong.stat__text{
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  background: var(--grad-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat strong.stat__text{ display: block; }

.stat p{
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 0.88rem;
}

.what-is__stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 42px;
  padding: 40px 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

@media (max-width: 720px){
  .what-is__stats{ grid-template-columns: repeat(2, 1fr); }
}
.glass-panel{
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 30px;
}
.glass-panel--code{ position: relative; }
.glass-panel__dots{ display:flex; gap:7px; margin-bottom:22px; }
.glass-panel__dots span{ width:11px; height:11px; border-radius:50%; background: var(--glass-border); }
.glass-panel__dots span:nth-child(1){ background: var(--coral); }
.glass-panel__dots span:nth-child(2){ background: #ffd166; }
.glass-panel__dots span:nth-child(3){ background: #4fd8a0; }
.glass-panel__line{
  height: 12px;
  width: var(--w);
  border-radius: 6px;
  background: var(--glass-fill-hi);
  margin-bottom: 16px;
}
.glass-panel__line--accent{ background: var(--grad-cool); }

@media (max-width: 900px){
  .what-is__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .what-is__stats{ grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   TARJETAS (problemas / beneficios / integraciones)
   ===================================================================== */
.cards-grid{ display:grid; gap: 26px; }
.cards-grid--2{ grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.cards-grid--3{ grid-template-columns: repeat(3, 1fr); }
.cards-grid--4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px){
  .cards-grid--2, .cards-grid--3, .cards-grid--4{ grid-template-columns: 1fr; }
}
.card--product{ display: flex; flex-direction: column; }
.card__link{
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap .3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card__link:hover{ gap: 8px; }

.card{
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card:hover{
  transform: translateY(-8px);
  border-color: rgba(79,216,240,0.4);
  box-shadow: 0 24px 50px -20px rgba(59,111,232,0.35);
}
.card h3{ font-family: var(--font-display); font-size: 1.12rem; font-weight:600; margin-bottom:10px; }
.card p{ color: var(--text-muted); font-size: 0.94rem; }

.card__icon{
  width: 52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 16px;
  color: var(--cyan);
  font-size: 1.55rem;
  margin-bottom: 8px;
  background: var(--glass-fill-hi);
}
.material-symbols-rounded{
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}
.card__icon--blue{ box-shadow: inset 0 0 0 1px rgba(59,111,232,0.4); }

/* =====================================================================
   BENEFICIOS — layout de dos columnas (screenshot + lista)
   ===================================================================== */
.benefits__grid{
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.benefits__visual{ position: relative; }
.benefits__visual .orbit-card__glass{ animation: none; }
.benefits__content .section-eyebrow{ display:block; }
.benefits__content .section-title{ margin-bottom: 16px; }
.benefits__content .section-text{ max-width: 520px; margin-bottom: 36px; }

.benefit-list{
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.benefit-item{
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.benefit-item .card__icon{
  flex-shrink: 0;
  margin-bottom: 0;
}
.benefit-item__text h3{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.benefit-item__text p{
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 980px){
  .benefits__grid{ grid-template-columns: 1fr; gap: 44px; }
  .benefits__visual{ max-width: 480px; margin: 0 auto; }
}

@media (max-width: 980px){
  .cards-grid--3{ grid-template-columns: 1fr 1fr; }
  .cards-grid--4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .cards-grid--3, .cards-grid--4{ grid-template-columns: 1fr; }
  .section{ padding: 56px 0; }
  .section-head{ margin-bottom: 28px; }
}

/* =====================================================================
   MÓDULOS
   ===================================================================== */
.modules-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card{
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), border-color .4s;
}
.module-card:hover{ transform: translateY(-6px) scale(1.015); border-color: rgba(124,92,250,0.4); }
.module-card--wide{ grid-column: span 1; } /* ya no se usa como "ancha", queda igual que las demás */
.module-card__icon{
  display: flex;
  align-items: center;
  color: var(--cyan);
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.module-card h3{ font-family: var(--font-display); font-weight:600; font-size:1.05rem; margin-bottom:8px; }
.module-card p{ color: var(--text-muted); font-size:0.9rem; }

@media (max-width: 980px){
  .modules-grid{ grid-template-columns: 1fr 1fr; }
  .module-card--wide{ grid-column: span 2; }
}
@media (max-width: 640px){
  .modules-grid{ grid-template-columns: 1fr; }
  .module-card--wide{ grid-column: span 1; }
}

/* =====================================================================
   TIMELINE
   ===================================================================== */
.timeline{ position: relative; max-width: 760px; margin: 0 auto; }
.timeline__line{
  position:absolute;
  left: 15px; top: -24px; bottom: -24px;
  width: 2px;
  background: linear-gradient(var(--blue-electric), var(--violet), var(--coral));
  opacity: .5;
}
.timeline__item{
  position: relative;
  padding-left: 56px;
  margin-bottom: 48px;
}
.timeline__item:last-child{ margin-bottom: 0; }
.timeline__marker{
  position:absolute;
  left: 6px; top: 4px;
  width: 20px; height:20px;
  border-radius:50%;
  background: var(--bg-elevated);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 16px rgba(79,216,240,0.5);
}
.timeline__content h3{ font-family: var(--font-display); font-weight:600; margin-bottom:8px; }
.timeline__content p{ color: var(--text-muted); }

.app-badges{
  margin-top: 60px;
  text-align: center;
}
.app-badges__label{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.app-badges{
  margin-top: 60px;
  text-align: center;
}
.app-badges__label{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.app-badges__row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.app-badges__img{
  max-width: 220px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4));
  transition: transform .3s var(--ease);
}
.app-badges__img:hover{
  transform: translateY(-4px);
}

/* =====================================================================
   TESTIMONIOS
   ===================================================================== */
.testimonial-slider{ max-width: 720px; margin: 0 auto; text-align:center; }
.testimonial-track{ position: relative; min-height: 270px; }
.testimonial-slide{
  position:absolute; inset:0;
  opacity:0;
  transform: translateX(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events:none;
}
.testimonial-slide.is-active{
  opacity:1; transform: translateX(0);
  pointer-events:auto;
  position: relative;
}
.testimonial-slide p{
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 22px;
}
.testimonial-slide strong{ color: var(--cyan); font-size: 0.9rem; }
.testimonial-company__avatar{
  width: 68px;
  height: 68px;
  display: block;
  margin: 16px auto 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 22px -12px rgba(0,0,0,.55);
}

.testimonial-dots{ display:flex; justify-content:center; gap:10px; margin-top: 30px; }
.testimonial-dots button{
  width:9px; height:9px;
  border-radius:50%;
  background: var(--glass-border);
  transition: background .3s, transform .3s;
}
.testimonial-dots button.is-active{ background: var(--cyan); transform: scale(1.3); }

/* =====================================================================
   CONTACTO
   ===================================================================== */
.contact__grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items:start;
}
.contact-list{ margin-top: 30px; display:flex; flex-direction:column; gap:16px; }
.contact-list a{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-muted);
  transition: color .3s;
}
.contact-list a:hover{ color: var(--cyan); }

.contact-form{ display:flex; flex-direction:column; gap: 20px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label{ display:flex; flex-direction:column; gap:8px; font-size:0.85rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline:none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(79,216,240,0.15);
}
.form-success{
  display:none;
  text-align:center;
  color: var(--cyan);
  font-size: 0.9rem;
}
.form-success.is-visible{ display:block; }
.form-success.form-error{ color: #ff5c4d; }

@media (max-width: 900px){
  .contact__grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{
  position: relative;
  z-index:1;
  padding: 0 0 18px;
  border-top: 1px solid var(--glass-border);
}
.footer__top{
  padding: 36px 0;
  background: linear-gradient(120deg, #e8edf7 0%, #f4eef3 100%);
  border-bottom: 1px solid rgba(38,61,105,.12);
}
.footer__grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 28px;
  margin-bottom: 0;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 16px;
}
.footer__logo{
  height: 60px;
  margin-bottom: 0;
  flex-shrink:0;
}
.footer__brand p{
  color: #303956;
  font-size: 0.82rem;
  white-space: nowrap;
}
.footer__nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap: 10px 22px;
}
.footer__nav a{ color: #303956; font-size:0.86rem; transition: color .3s; }
.footer__nav a:hover{ color: #8d344d; }

.footer__bottom{
  padding-top: 18px;
  background: transparent;
  border-top: 1px solid var(--glass-border);
  text-align:center;
  color: var(--text-faint);
  font-size: 0.82rem;
}

@media (max-width: 720px){
  .footer__grid{ flex-direction:column; align-items:center; gap:20px; margin-bottom:0; }
  .footer__brand{ text-align:left; }
  .footer__logo{ height: 34px; }
  .footer__brand{ gap:10px; }
  .footer__brand p{ font-size:0.72rem; }
  .footer__nav{ width:100%; justify-content:center; gap:10px 16px; }
}

/* =====================================================================
   PLANES
   ===================================================================== */
.card--pricing{ display:flex; flex-direction:column; }
.card--pricing h3{ font-size: 1.25rem; margin-bottom: 6px; }
.card--pricing > p{ margin-bottom: 8px; }
.card--pricing .contact-list{ flex:1; margin-top: 4px; margin-bottom: 28px; gap: 12px; }
.card--pricing .contact-list li{ font-size: 0.92rem; color: var(--text-muted); }
.card--pricing-featured{
  border-color: rgba(124,92,250,0.5);
  box-shadow: 0 24px 50px -20px rgba(124,92,250,0.35);
  transform: scale(1.03);
}
.card--pricing__badge{
  position:absolute;
  top: -13px; left: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-brand);
  color:#fff;
  padding: 5px 14px;
  border-radius: 999px;
}
@media (max-width: 980px){
  .card--pricing-featured{ transform: none; }
}
.pricing__cta{
  text-align: center;
  margin-top: 44px;
}

/* =====================================================================
   PREGUNTAS FRECUENTES
   ===================================================================== */
.faq-list{ max-width: 760px; margin: 0 auto; display:flex; flex-direction:column; gap:16px; }
.faq-item{
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  backdrop-filter: blur(16px);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'⌄';
  font-size: 1.2rem;
  line-height: 1;
  color: var(--cyan);
  transition: transform .3s var(--ease);
  flex-shrink:0;
}
.faq-item[open] summary::after{ transform: rotate(180deg); }
.faq-item__answer{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s var(--ease), opacity .3s var(--ease), margin-top .35s var(--ease);
}
.faq-item[open] .faq-item__answer{ margin-top: 16px; }
.faq-item__answer p{ color: var(--text-muted); font-size: 0.94rem; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html{ scroll-behavior: auto; }
}

/* Foco visible accesible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.icon-svg{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}
.hero__trust-logos a{
  transition: color .3s, opacity .3s;
  opacity: 0.85;
}
.hero__trust-logos a:hover{
  color: var(--cyan);
  opacity: 1;
}

.card--product{ display: flex; flex-direction: column; }
.card__link{
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap .3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card__link:hover{ gap: 8px; }
