/* ========================================
   ISYSTEM S.A.S - Estilos principales
   ======================================== */

:root {
  --blue: #1a56db;
  --blue-dark: #0f3a9e;
  --blue-light: #3b82f6;
  --green: #10b981;
  --green-dark: #065f46;
  --teal: #0891b2;
  --accent: #6366f1;
  --dark: #0a0f1e;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray: #374151;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --white-soft: #f8fafc;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 25px 50px rgba(0,0,0,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.navbar.scrolled {
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo-icon {
  width: auto;
  height: 65px;
  color: var(--blue-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: 0px;
  color: var(--blue-light);
}

.logo-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  opacity: 0.75;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,15,30,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1.5rem 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  display: block;
}

.mobile-menu ul { list-style: none; }
.mobile-menu li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1rem; }
.mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #050810 0%, #0a0f1e 50%, #0d1a2e 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,86,219,0.25) 0%, transparent 70%);
  top: -100px; left: -100px;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
  bottom: -50px; right: 10%;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(59,130,246,0.6);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,86,219,0.15);
  border: 1px solid rgba(26,86,219,0.3);
  border-radius: 50px;
  padding: 0.8rem 1.8rem;
  font-size: 1.2rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.4rem;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,86,219,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: #93c5fd;
  transition: var(--transition);
}

.service-tag i {
  font-size: 0.8rem;
  color: var(--teal);
}

.service-tag:nth-child(1) { border-color: rgba(26,86,219,0.35); }
.service-tag:nth-child(2) { border-color: rgba(99,102,241,0.35); color: #c4b5fd; }
.service-tag:nth-child(2) i { color: var(--accent); }
.service-tag:nth-child(3) { border-color: rgba(16,185,129,0.35); color: #6ee7b7; }
.service-tag:nth-child(3) i { color: var(--green); }
.service-tag:nth-child(4) { border-color: rgba(8,145,178,0.35); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(16,185,129,0.3);
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(16,185,129,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.trust-item i { color: var(--blue-light); }

.trust-divider {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Feature cards grid */
.hero-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
}

.feat-card {
  background: rgba(15,22,40,0.8);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feat-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  border-radius: 20px 20px 0 0;
  opacity: 0.07;
  transition: opacity 0.3s ease;
}

.feat-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.13); }
.feat-card:hover .feat-card-glow { opacity: 0.14; }

.feat-sst { border-top: 2px solid rgba(59,130,246,0.6); }
.feat-sst .feat-card-glow { background: radial-gradient(ellipse at top, #3b82f6, transparent); }
.feat-sst .feat-icon { color: #60a5fa; background: rgba(59,130,246,0.15); box-shadow: 0 0 20px rgba(59,130,246,0.15); }
.feat-sst .feat-norm { color: #60a5fa; border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.08); }

.feat-calidad { border-top: 2px solid rgba(139,92,246,0.6); }
.feat-calidad .feat-card-glow { background: radial-gradient(ellipse at top, #8b5cf6, transparent); }
.feat-calidad .feat-icon { color: #a78bfa; background: rgba(139,92,246,0.15); box-shadow: 0 0 20px rgba(139,92,246,0.15); }
.feat-calidad .feat-norm { color: #a78bfa; border-color: rgba(139,92,246,0.25); background: rgba(139,92,246,0.08); }

.feat-ambiental { border-top: 2px solid rgba(16,185,129,0.6); }
.feat-ambiental .feat-card-glow { background: radial-gradient(ellipse at top, #10b981, transparent); }
.feat-ambiental .feat-icon { color: #34d399; background: rgba(16,185,129,0.15); box-shadow: 0 0 20px rgba(16,185,129,0.15); }
.feat-ambiental .feat-norm { color: #34d399; border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.08); }

.feat-psico { border-top: 2px solid rgba(8,145,178,0.6); }
.feat-psico .feat-card-glow { background: radial-gradient(ellipse at top, #0891b2, transparent); }
.feat-psico .feat-icon { color: #22d3ee; background: rgba(8,145,178,0.15); box-shadow: 0 0 20px rgba(8,145,178,0.15); }
.feat-psico .feat-norm { color: #22d3ee; border-color: rgba(8,145,178,0.25); background: rgba(8,145,178,0.08); }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feat-body { flex: 1; }

.feat-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.feat-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.feat-norm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid;
  align-self: flex-start;
}

.feat-norm i { font-size: 0.6rem; }

/* Stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  backdrop-filter: blur(16px);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.hero-stat-item strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-item span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}

.stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 30px; height: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

/* ========== SECTIONS COMMON ========== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(26,86,219,0.15);
  border: 1px solid rgba(26,86,219,0.3);
  color: #93c5fd;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag.light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-title.light { color: white; }

.section-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== SERVICIOS ========== */
.servicios {
  background: linear-gradient(180deg, #0a0f1e 0%, #0d1420 100%);
}

.servicios .section-container {
  padding-top: 2rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.servicio-card {
  background: rgba(17,24,39,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* brillo deslizante al hover */
.servicio-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.servicio-card:hover::after {
  left: 130%;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.servicio-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(26,86,219,0.45);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 30px rgba(26,86,219,0.15);
  background: rgba(17,24,39,0.9);
}

.servicio-card:hover::before { opacity: 1; }

.servicio-card.featured {
  background: linear-gradient(135deg, rgba(26,86,219,0.15) 0%, rgba(8,145,178,0.1) 100%);
  border-color: rgba(26,86,219,0.3);
}

.servicio-card.featured::before { opacity: 1; background: linear-gradient(90deg, var(--green), var(--teal)); }

.featured-label {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.card-icon.sst { background: rgba(26,86,219,0.2); color: #60a5fa; }
.card-icon.ambiental { background: rgba(16,185,129,0.2); color: var(--green); }
.card-icon.calidad { background: rgba(99,102,241,0.2); color: #a5b4fc; }
.card-icon.psico { background: rgba(8,145,178,0.2); color: #67e8f9; }

.card-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.servicio-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.servicio-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-list li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card-list li i { color: var(--green); font-size: 0.7rem; margin-top: 0.3rem; flex-shrink: 0; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.card-cta:hover { gap: 0.7rem; }
.featured-cta { color: var(--green); }

/* ========== NOSOTROS ========== */
.nosotros {
  background: #090e1c;
}

.nosotros-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.nosotros-desc {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.ventajas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ventaja-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ventaja-item:hover {
  background: rgba(26,86,219,0.08);
  border-color: rgba(26,86,219,0.2);
}
}

.ventaja-icon {
  width: 44px; height: 44px;
  background: rgba(26,86,219,0.15);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
  font-size: 1rem;
}

.ventaja-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ventaja-item p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* Visual card */
.visual-card {
  background: rgba(17,24,39,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vc-icon {
  width: 44px; height: 44px;
  background: rgba(26,86,219,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

.vc-header h4 { font-size: 0.95rem; font-weight: 700; }
.vc-header span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.progress-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.progress-item {}
.pi-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.pi-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.pi-fill { height: 100%; border-radius: 3px; transition: width 1.5s ease; }

.vc-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--green);
}

.certif-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.certif-badge {
  background: rgba(17,24,39,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.certif-badge i { color: var(--blue-light); }

/* Misión & Visión en fila */
.mision-vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Vision card */
.vision-card {
  background: rgba(17,24,39,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--blue-light);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
}

.vision-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: rgba(26,86,219,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 1rem;
}

.vision-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vision-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vision-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* ========== ESTADÍSTICAS ========== */
.estadisticas {
  background: linear-gradient(135deg, #0f1f3d 0%, #0a1428 50%, #071020 100%);
  position: relative;
  overflow: hidden;
}

.estadisticas-bg { position: absolute; inset: 0; }
.est-glow {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(26,86,219,0.1);
  border-color: rgba(26,86,219,0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}

.stat-icon {
  font-size: 1.5rem;
  color: rgba(26,86,219,0.4);
  margin-top: 1rem;
}

/* ========== TESTIMONIOS ========== */
.testimonios {
  background: #090e1c;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonio-card {
  background: rgba(17,24,39,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.testimonio-card:hover {
  border-color: rgba(26,86,219,0.3);
  transform: translateY(-4px);
}

.testimonio-card.featured-t {
  background: linear-gradient(135deg, rgba(26,86,219,0.12), rgba(8,145,178,0.08));
  border-color: rgba(26,86,219,0.25);
}

.t-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonio-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.t-author { display: flex; align-items: center; gap: 0.75rem; }

.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.t-avatar.green { background: linear-gradient(135deg, var(--green), var(--teal)); }
.t-avatar.teal { background: linear-gradient(135deg, var(--teal), var(--accent)); }

.t-author strong { display: block; font-size: 0.88rem; }
.t-author span { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ========== CONTACTO ========== */
.contacto {
  background: linear-gradient(180deg, #0a0f1e 0%, #090e1c 100%);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}

.contacto-info p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-methods { display: flex; flex-direction: column; gap: 1rem; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(17,24,39,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.contact-method:hover { border-color: rgba(26,86,219,0.3); transform: translateX(4px); }

.contact-method.whatsapp i { color: var(--green); font-size: 1.5rem; }
.contact-method.email i { color: var(--blue-light); font-size: 1.3rem; }
.contact-method.location i { color: #f59e0b; font-size: 1.3rem; }

.contact-method strong { display: block; font-size: 0.85rem; font-weight: 600; }
.contact-method span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Form */
.contacto-form-wrap {
  background: rgba(17,24,39,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
}

.contacto-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }

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

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-group select option { background: #1f2937; color: white; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  background: rgba(26,86,219,0.08);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.btn-form {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,86,219,0.4);
}

.form-success, .form-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.form-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ========== FOOTER ========== */
.footer {
  background: #050810;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.footer-links h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.8);
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--blue-light); }

.footer-contact h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.8);
}

.footer-contact { display: flex; flex-direction: column; gap: 0; }
.footer-contact h4 { margin-bottom: 1.25rem; }
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.footer-contact a:hover { color: var(--blue-light); }
.footer-contact i { font-size: 0.9rem; width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========== WHATSAPP FLOAT ========== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  text-decoration: none;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: wa-pulse 3s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(10,15,30,0.9);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-tooltip { opacity: 1; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}

/* ========== AOS ANIMATIONS ========== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }

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

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-service-tags { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .nosotros-grid { gap: 2rem; }
  .ventajas-list { grid-template-columns: 1fr; }
  .mision-vision-row { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .logo-text { font-size: 2rem; }
  .logo-sub { font-size: 0.8rem; }
  .logo-icon { width: 52px; height: 52px; }
}

@media (max-width: 600px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; max-width: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
  .trust-divider { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contacto-form-wrap { padding: 1.5rem; }
  .hero-feat-grid { grid-template-columns: 1fr; }
  .mision-vision-row { gap: 1rem; }
  .vision-card { padding: 1.2rem 1.4rem; }
  .logo-text { font-size: 1.6rem; }
  .logo-sub { font-size: 0.7rem; }
  .hero-badge { font-size: 0.85rem; padding: 0.5rem 1.1rem; white-space: nowrap; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
  .trust-item { font-size: 0.75rem; }
  .trust-divider { display: none; }
}
