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

:root {
  --primary: #00c6ff;
  --primary-dark: #0072ff;
  --accent: #7b2ff7;
  --green: #10b981;
  --purple: #a78bfa;
  --bg: #07090f;
  --bg2: #0d1117;
  --bg3: #111827;
  --card: #141c2b;
  --card-hover: #1a2336;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.12);
  --text: #e2e8f0;
  --muted: #8892a4;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); }
h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); }
h4 { font-size: 1.1rem; font-weight: 600; color: var(--white); }
h5 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); }
p { color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SECTIONS ─── */
section { padding: 110px 0; }
.dark-section { background: var(--bg2); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.section-header h2 { margin: 14px 0 18px; }
.section-header p { font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: rgba(0,198,255,0.1);
  color: var(--primary);
  border: 1px solid rgba(0,198,255,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,114,255,0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0,114,255,0.55); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary.large { padding: 16px 36px; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border-light);
  color: var(--text);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,198,255,0.05); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(0,114,255,0.4);
}
.logo-ai { color: var(--primary); }
.logo-system { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.btn-demo {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-demo:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0,114,255,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(123,47,247,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(0,198,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

#hero h1 { margin-bottom: 24px; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 540px; margin-bottom: 36px; line-height: 1.7; }

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

.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-avatars { display: flex; }
.trust-avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  object-fit: cover;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-stars { color: #fbbf24; font-size: 0.85rem; display: flex; align-items: center; gap: 4px; }
.trust-stars strong { color: var(--white); margin-left: 6px; font-weight: 700; }
.trust-label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ─── HERO DASHBOARD MOCKUP ─── */
.hero-visual { position: relative; }

.dashboard-mock {
  background: linear-gradient(180deg, #0f1623, #0a0f1a);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.dashboard-mock:hover { transform: perspective(1500px) rotateY(-4deg) rotateX(2deg); }

.dm-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #0a0f1a;
  border-bottom: 1px solid var(--border);
}
.dm-dots { display: flex; gap: 5px; }
.dm-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2a3447; }
.dm-dots span:first-child { background: #ff5f57; }
.dm-dots span:nth-child(2) { background: #febc2e; }
.dm-dots span:nth-child(3) { background: #28c840; }
.dm-url {
  flex: 1;
  background: #131a28;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  padding: 4px 10px;
  text-align: center;
}
.dm-url i { font-size: 0.6rem; margin-right: 4px; color: var(--green); }

.dm-body { display: grid; grid-template-columns: 48px 1fr; min-height: 380px; }

.dm-sidebar {
  background: #0a0f1a;
  border-right: 1px solid var(--border);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dm-logo {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.dm-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.dm-icon.active { background: rgba(0,198,255,0.15); color: var(--primary); }
.dm-icon:hover { color: var(--white); }

.dm-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.dm-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.dm-stat {
  background: #131a28;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.dm-label { display: block; font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.dm-value { display: block; font-size: 1.3rem; font-weight: 800; color: var(--white); margin-top: 2px; }
.dm-trend { display: inline-block; font-size: 0.65rem; font-weight: 600; margin-top: 2px; }
.dm-trend.up { color: var(--green); }
.dm-trend.down { color: var(--green); }

.dm-map {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #0d1320, #131a28);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,198,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,198,255,0.05) 1px, transparent 1px);
  background-size: 25px 25px;
}
.map-route {
  position: absolute;
  top: 30%; left: 10%;
  width: 75%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  border-radius: 2px;
  transform: rotate(20deg);
  box-shadow: 0 0 12px rgba(0,198,255,0.5);
}
.map-pin {
  position: absolute;
  color: var(--primary);
  font-size: 0.9rem;
  filter: drop-shadow(0 2px 8px rgba(0,198,255,0.5));
}
.map-pin.pin1 { top: 25%; left: 12%; color: var(--green); }
.map-pin.pin2 { top: 45%; left: 50%; color: var(--purple); }
.map-pin.pin3 { top: 60%; right: 18%; color: var(--primary); }
.map-vehicle {
  position: absolute;
  top: 38%; left: 38%;
  color: var(--white);
  background: var(--primary);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  animation: vehicleMove 6s ease-in-out infinite;
}
@keyframes vehicleMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, -10px); }
}
.vehicle-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: vehiclePulse 2s ease-out infinite;
}
@keyframes vehiclePulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.dm-list { display: flex; flex-direction: column; gap: 6px; }
.dm-list-item {
  display: flex; align-items: center; gap: 10px;
  background: #131a28;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}
.dm-list-item > i { color: var(--primary); font-size: 0.85rem; }
.dm-list-item > div { flex: 1; display: flex; flex-direction: column; }
.dm-list-item strong { font-size: 0.78rem; color: var(--white); }
.dm-list-item span { font-size: 0.7rem; color: var(--muted); }
.dm-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.dm-badge.ok { background: rgba(16,185,129,0.15); color: var(--green); }
.dm-badge.warn { background: rgba(251,191,36,0.15); color: #fbbf24; }

.float-card {
  position: absolute;
  background: rgba(20,28,43,0.95);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.float-card.alert { bottom: -16px; left: -32px; animation-delay: 0s; }
.float-card.success { top: 60px; right: -32px; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.float-card.alert .fc-icon { background: rgba(239,68,68,0.15); color: #ef4444; }
.float-card.success .fc-icon { background: rgba(16,185,129,0.15); color: var(--green); }
.float-card strong { display: block; font-size: 0.85rem; color: var(--white); }
.float-card span { font-size: 0.72rem; color: var(--muted); }

/* ─── CLIENTES BANNER ─── */
#clientes-banner {
  padding: 50px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 600;
}
.clients-track {
  display: flex;
  gap: 60px;
  animation: scrollX 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.clients-track span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.clients-track span:hover { opacity: 1; color: var(--white); }
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(0,198,255,0.3); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: rgba(0,198,255,0.3); }
.service-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,114,255,0.08), rgba(123,47,247,0.05));
  pointer-events: none;
  z-index: 0;
}

.sc-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.sc-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .sc-image img { transform: scale(1.08); }
.sc-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,15,0.2) 0%, rgba(7,9,15,0.95) 100%),
              linear-gradient(135deg, rgba(0,114,255,0.4), rgba(0,198,255,0.2));
  mix-blend-mode: multiply;
}
.sc-image-overlay.purple {
  background: linear-gradient(180deg, rgba(7,9,15,0.2) 0%, rgba(7,9,15,0.95) 100%),
              linear-gradient(135deg, rgba(123,47,247,0.45), rgba(167,139,250,0.25));
}
.sc-image-overlay.green {
  background: linear-gradient(180deg, rgba(7,9,15,0.2) 0%, rgba(7,9,15,0.95) 100%),
              linear-gradient(135deg, rgba(16,185,129,0.4), rgba(52,211,153,0.2));
}

.sc-icon {
  position: absolute;
  bottom: -28px;
  left: 28px;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: var(--shadow);
  z-index: 1;
}
.sc-icon.gps { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.sc-icon.adas { background: linear-gradient(135deg, var(--accent), var(--purple)); }
.sc-icon.dms { background: linear-gradient(135deg, #047857, var(--green)); }

.sc-body { padding: 44px 28px 32px; position: relative; z-index: 1; }
.sc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0,198,255,0.12);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.sc-tag.purple { background: rgba(167,139,250,0.12); color: var(--purple); }
.sc-tag.green { background: rgba(16,185,129,0.12); color: var(--green); }

.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 20px; font-size: 0.93rem; }

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(123,47,247,0.4);
}
.featured-badge i { margin-right: 4px; font-size: 0.65rem; }

.service-features { margin-bottom: 28px; }
.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li i { color: var(--green); font-size: 0.75rem; }

.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 600; font-size: 0.9rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }

/* ─── PLATAFORMA ─── */
.platform-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.platform-main img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) saturate(1.2);
}
.platform-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,114,255,0.15), rgba(123,47,247,0.1));
  pointer-events: none;
}

.platform-tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ptag {
  position: absolute;
  background: rgba(20,28,43,0.95);
  border: 1px solid var(--border-light);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ptag i { color: var(--primary); font-size: 0.6rem; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.platform-features { display: flex; flex-direction: column; gap: 24px; }
.pf-item { display: flex; gap: 18px; align-items: flex-start; }
.pf-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(0,114,255,0.15), rgba(123,47,247,0.12));
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}
.pf-item h4 { margin-bottom: 6px; }
.pf-item p { font-size: 0.9rem; }

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

.industry-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,9,15,0.95) 100%);
}
.industry-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  z-index: 1;
}
.industry-body i {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.industry-body h4 { margin-bottom: 6px; }
.industry-body p { font-size: 0.85rem; color: var(--text); }

/* ─── BENEFITS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  border-color: rgba(0,198,255,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--card-hover);
}
.benefit-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,114,255,0.15), rgba(123,47,247,0.15));
  border: 1px solid rgba(0,198,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.benefit-card h4 { margin-bottom: 10px; }
.benefit-card p { font-size: 0.9rem; }

/* ─── TESTIMONIOS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
}
.testimonial:hover { border-color: rgba(0,198,255,0.2); transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(0,198,255,0.15);
  line-height: 1;
}
.t-stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 16px; }
.testimonial > p { color: var(--text); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.t-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-author strong { display: block; color: var(--white); font-size: 0.92rem; }
.t-author span { display: block; color: var(--muted); font-size: 0.78rem; }

/* ─── NOSOTROS ─── */
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-text .section-tag { margin-bottom: 16px; display: inline-block; }
.nosotros-text h2 { margin-bottom: 20px; }
.nosotros-text p { margin-bottom: 16px; font-size: 0.97rem; }

.nosotros-stats {
  display: flex;
  gap: 24px;
  margin: 32px 0 40px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.n-stat { text-align: center; flex: 1; }
.n-num { display: block; font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.n-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; display: block; }

.nosotros-visual {
  position: relative;
  height: 480px;
}
.nv-main {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.nv-card {
  position: absolute;
  background: rgba(20,28,43,0.95);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  max-width: 240px;
}
.nv-card i {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
}
.nv-card strong { display: block; color: var(--white); font-size: 0.88rem; }
.nv-card span { display: block; color: var(--muted); font-size: 0.76rem; }
.nv-card-1 { top: 24px; left: -24px; }
.nv-card-2 { bottom: 24px; right: -24px; }

/* ─── CTA BANNER ─── */
#cta-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(0,114,255,0.15), rgba(123,47,247,0.12)),
    radial-gradient(circle at 70% 50%, rgba(0,198,255,0.1), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { margin-bottom: 8px; }
.cta-text p { font-size: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}
.contact-card:hover { border-color: rgba(0,198,255,0.25); transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,114,255,0.12), rgba(123,47,247,0.12));
  border: 1px solid rgba(0,198,255,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 20px;
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { font-size: 0.88rem; margin-bottom: 12px; }
.contact-card a, .contact-card span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.93rem;
}

/* ─── FOOTER ─── */
footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-brand .logo { font-size: 1.4rem; display: inline-flex; margin-bottom: 14px; }
.footer-brand > p { font-size: 0.88rem; max-width: 280px; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary); background: rgba(0,198,255,0.08); }

.footer-links h5 { margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a, .footer-links ul li span {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: var(--primary); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

/* ─── WHATSAPP FLOATING ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  z-index: 999;
  transition: all 0.3s;
  animation: floatBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.services-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.industries-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.industries-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.industries-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }
.benefits-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.benefits-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.benefits-grid .fade-up:nth-child(4) { transition-delay: 0.24s; }
.benefits-grid .fade-up:nth-child(5) { transition-delay: 0.32s; }
.benefits-grid .fade-up:nth-child(6) { transition-delay: 0.4s; }
.testimonials-grid .fade-up:nth-child(2) { transition-delay: 0.12s; }
.testimonials-grid .fade-up:nth-child(3) { transition-delay: 0.24s; }
.platform-features .fade-up:nth-child(2) { transition-delay: 0.1s; }
.platform-features .fade-up:nth-child(3) { transition-delay: 0.2s; }
.platform-features .fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .float-card.alert { left: -16px; }
  .float-card.success { right: -16px; }
  .platform-showcase { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-inner { grid-template-columns: 1fr; gap: 64px; }
  .nosotros-visual { height: 400px; max-width: 520px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,9,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.2rem; padding: 12px 24px; }

  .dashboard-mock { transform: none; }
  .float-card.alert { bottom: -24px; left: 0; }
  .float-card.success { top: auto; bottom: -24px; right: 0; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .nosotros-stats { flex-direction: column; gap: 16px; }
  .nv-card-1 { left: 0; top: 12px; }
  .nv-card-2 { right: 0; bottom: 12px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .dm-stats { grid-template-columns: 1fr 1fr; }
  .dm-stats .dm-stat:last-child { grid-column: 1 / -1; }
}
