/* =============================================
   TRACKIFY — CSS Principal
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:    #0a0f1e;
  --blue-dark:    #0d1526;
  --blue-mid:     #0f2044;
  --blue-brand:   #1a3a6e;
  --accent:       #8b5cf6;        /* morado — identidad de marca */
  --accent-cyan:  #00d4ff;        /* cyan   — GPS / datos en vivo */
  --accent-glow:  rgba(139,92,246,.22);
  --accent-cyan-glow: rgba(0,212,255,.22);
  --accent-green: #00e676;
  --white:        #ffffff;
  --gray-100:     #f4f6fa;
  --gray-200:     #e8ecf4;
  --gray-400:     #8a96b0;
  --gray-600:     #4a5568;
  --gray-800:     #1e2533;
  --danger:       #ff6b6b;
  --warning:      #ffb347;
  --text-dark:    #0d1526;
  --text-light:   #cbd5e1;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.15);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.25);
  --shadow-glow:  0 0 40px rgba(139,92,246,.18);
  --trans:        0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--trans);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-platform {
  background: linear-gradient(135deg, #00d4ff 0%, #0070e0 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,212,255,.35);
}
.btn-platform:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,.5);
  background: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue-brand);
  color: var(--blue-brand);
}
.btn-outline:hover {
  background: var(--blue-brand);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--gray-600);
}
.btn-ghost:hover {
  border-color: var(--blue-brand);
  color: var(--blue-brand);
}

.btn-ghost-light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--trans);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(10,15,30,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo-track { color: var(--white); }
.logo-ify { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-platform {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 0.88rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #050c1a 0%, #0a1428 40%, #091830 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .5;
  animation: float 8s infinite ease-in-out;
}
.hero-particles span:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.hero-particles span:nth-child(3) { top: 35%; left: 55%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { top: 75%; left: 25%; animation-delay: 1s; }
.hero-particles span:nth-child(5) { top: 15%; left: 70%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .5; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-text {
  /* morado → azul → cyan: conecta marca con energía GPS */
  background: linear-gradient(120deg, #8b5cf6 0%, #3b82f6 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 0.85rem;
}
.trust-dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Dashboard Mockup --- */
.hero-visual { position: relative; margin-right: -100px; margin-top: 46px; }

.dashboard-mockup {
  background: #0d1b35;
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.mockup-bar {
  background: #091428;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  padding: 3px 12px;
  width: auto !important;
  height: auto !important;
}

.mockup-body {
  display: flex;
  height: 395px;
}

.mockup-sidebar {
  width: 52px;
  background: #081122;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 10px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .85rem;
  color: white;
  margin-bottom: 8px;
}
.sidebar-item {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255,255,255,.4);
  transition: var(--trans);
}
.sidebar-item svg { width: 16px; height: 16px; }
.sidebar-item.active { background: rgba(139,92,246,.15); color: var(--accent); }
.sidebar-item:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }

.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 10px;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-title { font-size: 0.78rem; font-weight: 700; color: var(--white); }
.mockup-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--accent-green);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}
.status-dot.live { animation: pulse-dot 1.5s infinite; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.stat-card.alert { border-color: rgba(255,107,107,.2); background: rgba(255,107,107,.05); }
.stat-num { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.62rem; color: rgba(255,255,255,.4); margin-top: 1px; }

.mockup-map {
  flex: 1;
  background: #091828;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  cursor: pointer;
  /* transición suave al cambiar posición (actualización GPS cada 10s) */
  transition: top 1.2s cubic-bezier(.4,0,.2,1), left 1.2s cubic-bezier(.4,0,.2,1);
}

/* 🟡 En movimiento — amarillo (como en la plataforma real) */
.map-dot.moving {
  background: #f5c400;
  border: 2px solid rgba(245,196,0,.6);
  box-shadow: 0 0 6px rgba(245,196,0,.4);
}
.map-dot.moving::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(245,196,0,.2);
  animation: map-pulse-yellow 2s infinite;
}

/* 🟢 OK / Dentro de geocerca */
.map-dot.ok-dot {
  background: var(--accent-green);
  border: 2px solid rgba(0,230,118,.6);
  box-shadow: 0 0 6px rgba(0,230,118,.4);
}
.map-dot.ok-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(0,230,118,.2);
  animation: map-pulse-green 2s infinite;
}

/* 🔴 Alerta */
.map-dot.alert-dot {
  background: #ff4444;
  border: 2px solid rgba(255,68,68,.6);
  box-shadow: 0 0 6px rgba(255,68,68,.5);
}
.map-dot.alert-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255,68,68,.2);
  animation: map-pulse-red 1.2s infinite;
}

/* ⚪ Detenido / Sin movimiento */
.map-dot.parked {
  background: rgba(180,190,210,.5);
  border: 2px solid rgba(180,190,210,.3);
}

/* pulsos por color */
@keyframes map-pulse-yellow {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes map-pulse-green {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes map-pulse-red {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* flash de actualización en el mapa */
.mockup-map.refreshing { animation: map-refresh-flash .4s ease; }
@keyframes map-refresh-flash {
  0%   { opacity: 1; }
  30%  { opacity: .55; }
  100% { opacity: 1; }
}
.map-label {
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,20,40,.9);
  color: var(--white);
  font-size: 0.52rem;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid rgba(139,92,246,.2);
}

.mockup-alerts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alert-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 500;
}
.alert-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.alert-item.green { background: rgba(0,230,118,.08); color: var(--accent-green); border: 1px solid rgba(0,230,118,.15); }
.alert-item.orange { background: rgba(255,179,71,.08); color: var(--warning); border: 1px solid rgba(255,179,71,.15); }

/* Float cards */
.hero-float-card {
  position: absolute;
  background: rgba(10,20,40,.92);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  z-index: 3;
  min-width: 185px;
  animation: card-bob 4s ease-in-out infinite;
}
.hero-float-card svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-float-card strong { display: block; font-size: 0.8rem; color: var(--white); }
.hero-float-card small { font-size: 0.7rem; color: rgba(255,255,255,.5); }
.card1 { bottom: -56px; left: -60px; animation-delay: 0s; }
.card2 { top: -18px; right: -20px; animation-delay: 2s; }
@keyframes card-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =============================================
   SECTIONS GENERAL
   ============================================= */
.section { padding: 90px 0; }
.section-light { background: var(--gray-100); }
.section-dark { background: var(--blue-deep); color: var(--white); }
.section-grad {
  background: linear-gradient(135deg, #061020 0%, #0a1e3a 100%);
  color: var(--white);
}

.section-intro { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  background: rgba(139,92,246,.12);
  color: var(--accent);
  border: 1px solid rgba(139,92,246,.25);
}

.section-light .section-tag {
  background: rgba(26,58,110,.1);
  color: var(--blue-brand);
  border-color: rgba(26,58,110,.2);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section-dark .section-title,
.section-grad .section-title { color: var(--white); }
.section-light .section-title { color: var(--text-dark); }

.section-desc {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark .section-desc,
.section-grad .section-desc { color: rgba(255,255,255,.6); }
.section-light .section-desc { color: var(--gray-600); }

/* =============================================
   BENEFITS
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--trans);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,112,224,.2);
}
.benefit-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(0,112,224,.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--blue-brand); }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.benefit-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: var(--trans);
}
.service-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(139,92,246,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.service-card--featured {
  background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(0,112,224,.06));
  border-color: rgba(139,92,246,.3);
  box-shadow: 0 0 30px rgba(139,92,246,.1);
}

.service-icon {
  width: 48px; height: 48px;
  background: rgba(139,92,246,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,.55); line-height: 1.65; }

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0,230,118,.15);
  color: var(--accent-green);
  border: 1px solid rgba(0,230,118,.25);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.services-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PLANS
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--trans);
}
.plan-card:hover {
  border-color: rgba(26,58,110,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.plan-card--featured {
  background: linear-gradient(160deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0,112,224,.3), var(--shadow-glow);
  transform: scale(1.03);
}
.plan-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .3px;
}

.plan-header { margin-bottom: 28px; }
.plan-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.plan-card--featured .plan-name { color: var(--white); }
.plan-desc { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }
.plan-card--featured .plan-desc { color: rgba(255,255,255,.6); }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.plan-card--featured .plan-features li { color: rgba(255,255,255,.8); }
.plan-features li svg {
  width: 16px; height: 16px;
  stroke: var(--accent-green);
  flex-shrink: 0;
}
.plan-card:not(.plan-card--featured) .plan-features li svg { stroke: var(--blue-brand); }

.plan-actions { display: flex; flex-direction: column; gap: 10px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--trans);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(139,92,246,.25);
  transform: translateY(-4px);
}
.testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--white); }
.testimonial-author span { font-size: 0.78rem; color: rgba(255,255,255,.45); }

/* =============================================
   ABOUT
   ============================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.97rem;
}
.about-text strong { color: var(--white); }

.about-quote {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 20px;
  margin: 28px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.7);
}
.value-item svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.about-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--trans);
}
.about-stat:hover { background: rgba(139,92,246,.06); border-color: rgba(139,92,246,.2); }
.stat-big { display: block; font-size: 2rem; font-weight: 900; color: var(--accent); margin-bottom: 6px; }
.about-stat span:last-child { font-size: 0.78rem; color: rgba(255,255,255,.5); }

.about-tech-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(139,92,246,.07);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.about-tech-badge svg { width: 24px; height: 24px; stroke: var(--accent); flex-shrink: 0; }
.about-tech-badge strong { display: block; color: var(--white); font-size: 0.92rem; }
.about-tech-badge span { font-size: 0.78rem; color: rgba(255,255,255,.5); }

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--trans);
}
.faq-item:hover { border-color: rgba(26,58,110,.2); }
.faq-item.open { border-color: rgba(0,112,224,.3); box-shadow: 0 4px 20px rgba(0,112,224,.08); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  gap: 16px;
  transition: var(--trans);
}
.faq-question:hover { color: var(--blue-brand); }
.faq-item.open .faq-question { color: var(--blue-brand); }

.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--trans);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
  font-size: 0.97rem;
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: var(--trans);
}
.contact-channel:hover { transform: translateX(6px); }
.contact-channel svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-channel strong { display: block; font-size: 0.9rem; color: var(--white); }
.contact-channel span { font-size: 0.78rem; color: rgba(255,255,255,.45); }

.contact-channel.whatsapp { border-color: rgba(37,211,102,.25); background: rgba(37,211,102,.06); }
.contact-channel.whatsapp svg { fill: #25d366; }
.contact-channel.whatsapp:hover { background: rgba(37,211,102,.1); }
.contact-channel.email:hover { background: rgba(139,92,246,.06); }
.contact-channel.instagram:hover { background: rgba(225,48,108,.06); }
.contact-channel.linkedin:hover { background: rgba(0,119,181,.06); }

/* --- Form --- */
.contact-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--white);
  font-family: inherit;
  transition: var(--trans);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(139,92,246,.05);
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,107,107,.12);
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--danger);
}

.form-success {
  padding: 14px 18px;
  background: rgba(0,230,118,.1);
  border: 1px solid rgba(0,230,118,.3);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #050c17;
  color: var(--white);
  padding: 70px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; display: inline-block; }
.footer-slogan { font-size: 0.88rem; color: rgba(255,255,255,.45); margin-bottom: 20px; line-height: 1.5; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--trans);
  color: rgba(255,255,255,.6);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: rgba(255,255,255,.14); color: var(--white); transform: translateY(-2px); }
.social-btn.whatsapp-social svg { fill: #25d366; }
.social-btn.whatsapp-social:hover { background: rgba(37,211,102,.15); }

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-nav a,
.footer-contact a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: var(--trans);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); transform: translateX(4px); }

.footer-platform-btn { margin-top: 16px; font-size: 0.85rem; padding: 11px 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.35); }
.footer-copy { color: rgba(255,255,255,.25) !important; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--trans);
  color: white;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(10,20,40,.92);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--trans);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.1);
}

/* =============================================
   AOS ANIMATIONS
   ============================================= */
[data-aos].aos-init {
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
}
[data-aos="fade-up"].aos-init { transform: translateY(28px); }
[data-aos="fade-right"].aos-init { transform: translateX(-28px); }
[data-aos="fade-left"].aos-init { transform: translateX(28px); }

[data-aos].aos-visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 600px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .card1 { bottom: -14px; left: 0; }
  .card2 { top: -14px; right: 0; }

  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-4px); }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,15,30,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--trans);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-platform { margin: 8px 0 0; text-align: center; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-title { font-size: 1.7rem; }

  .mockup-body { height: 240px; }
  .mockup-sidebar { width: 40px; }

  .section { padding: 64px 0; }

  .benefits-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 24px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .card1 { display: none; }
  .card2 { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
  .services-cta { flex-direction: column; }
  .services-cta .btn { width: 100%; }
  .btn-lg { padding: 14px 24px; }
  .section-title { font-size: 1.5rem; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 24px; height: 24px; }

  /* 2 columnas en mobile para benefits y services */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .benefit-card {
    padding: 18px 14px;
  }
  .benefit-icon {
    width: 38px; height: 38px;
    margin-bottom: 10px;
  }
  .benefit-icon svg { width: 18px; height: 18px; }
  .benefit-card h3 { font-size: 0.85rem; margin-bottom: 6px; }
  .benefit-card p { font-size: 0.78rem; line-height: 1.5; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card {
    padding: 18px 14px;
  }
  .service-icon {
    width: 38px; height: 38px;
    margin-bottom: 10px;
  }
  .service-icon svg { width: 18px; height: 18px; }
  .service-card h3 { font-size: 0.85rem; margin-bottom: 6px; }
  .service-card p { font-size: 0.78rem; line-height: 1.5; }
  .service-badge { font-size: 0.6rem; padding: 2px 7px; top: 10px; right: 10px; }
}

/* =============================================
   SERVICE CARD HOVER ANIMATIONS
   ============================================= */

/* --- Shared: icon position context --- */
.service-card .service-icon { position: relative; overflow: visible; }

/* ── 1. Seguimiento en vivo — pulso GPS ── */
.gps-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
  transition: none;
}
.gps-ring.r1 { width: 36px; height: 36px; }
.gps-ring.r2 { width: 52px; height: 52px; }
.gps-ring.r3 { width: 68px; height: 68px; }

.sc--gps:hover .gps-ring.r1 { animation: gps-pulse 1.2s ease-out infinite; }
.sc--gps:hover .gps-ring.r2 { animation: gps-pulse 1.2s ease-out 0.25s infinite; }
.sc--gps:hover .gps-ring.r3 { animation: gps-pulse 1.2s ease-out 0.5s infinite; }

@keyframes gps-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ── 2. Geocercas — borde dibujado ── */
.sc--geo { overflow: hidden; }
.geo-border {
  position: absolute;
  background: var(--accent);
  opacity: 0;
  transition: none;
  pointer-events: none;
}
.geo-top    { top: 0; left: 0; height: 2px; width: 0; }
.geo-right  { top: 0; right: 0; width: 2px; height: 0; }
.geo-bottom { bottom: 0; right: 0; height: 2px; width: 0; }
.geo-left   { bottom: 0; left: 0; width: 2px; height: 0; }

.sc--geo:hover .geo-top    { opacity: 1; animation: draw-h 0.25s ease forwards; }
.sc--geo:hover .geo-right  { opacity: 1; animation: draw-v 0.25s ease 0.25s forwards; }
.sc--geo:hover .geo-bottom { opacity: 1; animation: draw-h 0.25s ease 0.5s forwards; }
.sc--geo:hover .geo-left   { opacity: 1; animation: draw-v 0.25s ease 0.75s forwards; }

@keyframes draw-h { from { width: 0; } to { width: 100%; } }
@keyframes draw-v { from { height: 0; } to { height: 100%; } }

/* ── 3. Alertas en vivo — campana shake + badge ── */
.sc--alert .bell-icon { transform-origin: top center; }
.sc--alert:hover .bell-icon { animation: bell-shake 0.5s ease; }

@keyframes bell-shake {
  0%, 100% { transform: rotate(0deg); }
  15%  { transform: rotate(14deg); }
  30%  { transform: rotate(-12deg); }
  45%  { transform: rotate(10deg); }
  60%  { transform: rotate(-8deg); }
  75%  { transform: rotate(5deg); }
  90%  { transform: rotate(-3deg); }
}

.notif-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 16px; height: 16px;
  background: #ff4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s 0.3s, transform 0.25s 0.3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.sc--alert:hover .notif-badge {
  opacity: 1;
  transform: scale(1);
}

/* ── 4. Anti Jammer — glitch + escudo verde ── */
.sc--jammer:hover { animation: glitch 0.45s steps(1) forwards; }

@keyframes glitch {
  0%   { transform: translateY(-4px); filter: brightness(1); }
  10%  { transform: translateX(3px) translateY(-4px); filter: hue-rotate(30deg) brightness(1.15); }
  20%  { transform: translateX(-3px) translateY(-4px); filter: hue-rotate(-20deg); }
  30%  { transform: translateX(2px) translateY(-4px); filter: hue-rotate(10deg); }
  40%  { transform: translateX(0) translateY(-4px); filter: brightness(1); }
  100% { transform: translateY(-4px); filter: brightness(1); }
}

.sc--jammer .shield-icon { transition: stroke 0.3s 0.4s; }
.sc--jammer:hover .shield-icon { stroke: var(--accent-green); filter: drop-shadow(0 0 6px var(--accent-green)); }

.jammer-noise {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(139,92,246,.06) 3px,
    rgba(139,92,246,.06) 4px
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}
.sc--jammer:hover .jammer-noise {
  opacity: 1;
  animation: noise-flicker 0.4s steps(2) forwards;
}
@keyframes noise-flicker {
  0%, 100% { opacity: 0; }
  25%, 75%  { opacity: 1; }
}

/* ── 5. Reportes — barras animadas ── */
.sc--report .service-icon svg .bar {
  transform-origin: bottom center;
  transition: none;
}
.sc--report:hover .bar1 { animation: bar-grow 0.4s ease 0.1s both; }
.sc--report:hover .bar2 { animation: bar-grow 0.4s ease 0.2s both; }
.sc--report:hover .bar3 { animation: bar-grow 0.4s ease 0s   both; }

@keyframes bar-grow {
  0%   { stroke-dasharray: 1 30; stroke-dashoffset: 30; opacity: 0.3; stroke: rgba(139,92,246,.4); }
  60%  { stroke: var(--accent); opacity: 1; }
  100% { stroke-dasharray: 30 0; stroke-dashoffset: 0; stroke: var(--accent); opacity: 1; }
}

/* ── 6. Registro de conductores — check ── */
.driver-check {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  transition: opacity 0.2s 0.2s, transform 0.3s 0.2s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.driver-check svg { width: 10px; height: 10px; stroke: #fff; }

.sc--driver:hover .driver-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ── 7. Plataforma web — URL tooltip ── */
.url-tooltip {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  white-space: nowrap;
}
.sc--platform:hover .url-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SERVICE MODAL
   ============================================= */
.svc-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 10, 22, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.svc-overlay.visible { opacity: 1; }
.svc-overlay[hidden] { display: none; }

.svc-modal {
  background: linear-gradient(145deg, #0d1b35, #091428);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 60px rgba(139,92,246,.08);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease;
  opacity: 0;
}
.svc-overlay.visible .svc-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.svc-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--trans);
  z-index: 10;
  cursor: pointer;
}
.svc-close svg { width: 16px; height: 16px; }
.svc-close:hover { background: rgba(255,255,255,.14); color: var(--white); transform: rotate(90deg); }

.svc-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  min-height: 360px;
}

.svc-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.07);
}

.svc-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(139,92,246,.1);
  color: var(--accent);
  border: 1px solid rgba(139,92,246,.25);
  margin-bottom: 14px;
  width: fit-content;
}

.svc-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -.3px;
}

.svc-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.svc-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.svc-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,.75);
}
.svc-points li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.svc-cta { font-size: 0.88rem; padding: 11px 20px; align-self: flex-start; }

/* Illustration panel */
.svc-illustration {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.15);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.svc-illustration svg { width: 100%; height: auto; max-height: 300px; }

/* Illustration internal styles */
.il-panel {
  font-family: 'Inter', sans-serif;
}
.il-win-bar { /* browser/app top bar */ }

/* Modal responsive */
@media (max-width: 680px) {
  .svc-modal-inner { grid-template-columns: 1fr; }
  .svc-info { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 28px 22px; }
  .svc-illustration { border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 20px; }
  .svc-title { font-size: 1.25rem; }
}

/* Service cards clickable cursor */
[data-svc] { cursor: pointer; }

/* --- Brand name inline --- */
.brand-inline { font-style: normal; }
.brand-fy { color: var(--accent); }

/* =============================================
   LO QUE OFRECEMOS — OFFERS STRIP
   ============================================= */
.section-offers {
  background: linear-gradient(160deg, #07101f 0%, #0b1828 50%, #081220 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

/* background glow orbs */
.offers-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .18;
}
.orb-left  { width: 500px; height: 500px; background: radial-gradient(circle, #3b82f6, transparent); top: -120px; left: -160px; }
.orb-right { width: 420px; height: 420px; background: radial-gradient(circle, #8b5cf6, transparent); bottom: -100px; right: -140px; }

/* section tag/title overrides inside dark section */
.section-offers .section-tag  { background: rgba(139,92,246,.1); color: var(--accent); border-color: rgba(139,92,246,.25); }
.section-offers .section-title { color: var(--white); }
.section-offers .section-desc  { color: rgba(255,255,255,.55); }

/* strip container */
.offers-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
}

/* gradient connector line */
.offers-connector {
  position: absolute;
  top: 93px; /* vertically centered on the bubble */
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,92,246,.15) 5%,
    rgba(139,92,246,.45) 30%,
    rgba(0,112,224,.6)  50%,
    rgba(139,92,246,.45) 70%,
    rgba(139,92,246,.15) 95%,
    transparent 100%
  );
  z-index: 0;
}
.offers-connector::before,
.offers-connector::after {
  content: '';
  position: absolute;
  top: -1px;
  width: 40%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.6));
  animation: connector-sweep 3.5s ease-in-out infinite;
}
.offers-connector::after {
  right: 0; left: auto;
  background: linear-gradient(270deg, transparent, rgba(139,92,246,.6));
  animation-delay: 1.75s;
}
@keyframes connector-sweep {
  0%   { opacity: 0; transform: scaleX(0); transform-origin: left; }
  40%  { opacity: 1; transform: scaleX(1); }
  80%  { opacity: 0; transform: scaleX(1); }
  100% { opacity: 0; }
}

/* each step */
.offer-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
  cursor: default;
}

/* big gradient number */
.offer-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, rgba(139,92,246,.9) 0%, rgba(0,112,224,.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(139,92,246,.35));
  transition: filter var(--trans), transform var(--trans);
  display: block;
}
.offer-step:hover .offer-num {
  filter: drop-shadow(0 0 22px rgba(139,92,246,.7));
  transform: scale(1.06);
}

/* icon bubble */
.offer-bubble {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d1e38, #091428);
  border: 1.5px solid rgba(139,92,246,.25);
  box-shadow:
    0 0 0 0 rgba(139,92,246,0),
    0 8px 28px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition: var(--trans);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.offer-bubble svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  position: relative;
  z-index: 2;
  transition: var(--trans);
}
.offer-step:hover .offer-bubble {
  border-color: rgba(139,92,246,.7);
  box-shadow:
    0 0 0 8px rgba(139,92,246,.06),
    0 0 0 16px rgba(139,92,246,.03),
    0 12px 36px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.1);
  background: linear-gradient(145deg, #0f2444, #0b1830);
  transform: translateY(-6px) scale(1.08);
}
.offer-step:hover .offer-bubble svg {
  stroke: #fff;
  filter: drop-shadow(0 0 8px rgba(139,92,246,.8));
}

/* pulse ring on bubble */
.offer-bubble-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,.18);
  transition: var(--trans);
  pointer-events: none;
}
.offer-step:hover .offer-bubble-ring {
  border-color: rgba(139,92,246,.4);
  inset: -10px;
}

/* text block */
.offer-text h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color var(--trans);
}
.offer-text p {
  font-size: 0.76rem;
  color: rgba(255,255,255,.42);
  line-height: 1.6;
  transition: color var(--trans);
  max-width: 130px;
  margin: 0 auto;
}
.offer-step:hover .offer-text h3 { color: var(--accent); }
.offer-step:hover .offer-text p  { color: rgba(255,255,255,.65); }

/* responsive */
@media (max-width: 1024px) {
  .offers-strip { flex-wrap: wrap; justify-content: center; gap: 36px 0; }
  .offer-step   { flex: 0 0 33.33%; }
  .offers-connector { display: none; }
}
@media (max-width: 600px) {
  .offer-step { flex: 0 0 50%; padding: 0 12px; }
  .offer-num  { font-size: 2.2rem; }
  .offer-bubble { width: 58px; height: 58px; }
  .offer-bubble svg { width: 22px; height: 22px; }
  .offer-text p { font-size: 0.72rem; }
}

/* --- Benefit highlight variant (inicio) --- */
.benefit-card--highlight {
  border-top: 3px solid transparent;
  background: var(--white);
  transition: var(--trans);
}
.benefit-card--highlight:hover {
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: var(--blue-brand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --- Selection --- */
::selection { background: rgba(139,92,246,.25); color: var(--white); }

/* =============================================
   CAPA CINEMÁTICA — pulido pro + toques de profundidad
   ============================================= */

/* ── Barra de progreso de scroll ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 50%, #00d4ff 100%);
  box-shadow: 0 0 12px rgba(139,92,246,.5), 0 0 20px rgba(0,212,255,.25);
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Reveals cinematográficos (mejora del AOS existente) ──
   Añade un desenfoque que se aclara + soporte de delay escalonado
   vía la variable --aos-delay que asigna el JS. */
[data-aos].aos-init {
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1),
    filter .7s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--aos-delay, 0ms);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}
[data-aos="fade-up"].aos-init   { transform: translateY(34px); }
[data-aos="fade-right"].aos-init{ transform: translateX(-34px); }
[data-aos="fade-left"].aos-init { transform: translateX(34px); }
[data-aos="zoom-in"].aos-init   { transform: scale(.92); }

[data-aos].aos-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
  will-change: auto;
}

/* ── Botones: barrido de brillo + feedback de presión ── */
.btn-platform, .btn-whatsapp { position: relative; overflow: hidden; }
.btn-platform::after, .btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  transition: left .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.btn-platform:hover::after, .btn-whatsapp:hover::after { left: 140%; }
.btn:active { transform: translateY(0) scale(.97); }

/* ── Navbar: encoge al hacer scroll (sensación cinematográfica) ── */
.navbar .nav-container { transition: height .3s cubic-bezier(.4,0,.2,1); }
.navbar.scrolled .nav-container { height: 60px; }
.nav-logo { transition: transform .3s cubic-bezier(.4,0,.2,1); transform-origin: left center; }
.navbar.scrolled .nav-logo { transform: scale(.92); }

/* ── Parallax del hero (el JS aplica el transform) ── */
.hero-bg-grid, .hero-particles { will-change: transform; }

/* =============================================
   ACCESIBILIDAD — respetar prefers-reduced-motion
   Desactiva movimiento para usuarios sensibles.
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos].aos-init { filter: none; opacity: 1; transform: none; }
  .hero-particles, .scroll-progress { display: none; }
  .hero-bg-grid { transform: none !important; }
  .btn-platform::after, .btn-whatsapp::after { display: none; }
}
