/* ============================================
   LANDING.CSS — Monitoreo 360
   ============================================ */

:root {
  --bg-dark:    #0d1117;
  --bg-dark2:   #161b22;
  --bg-light:   #1a2030;
  --bg-lighter: #1e2535;
  --border:     rgba(255,255,255,0.08);
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-glow:  rgba(37,99,235,0.2);
  --green:      #22c55e;
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;
}

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

html { scroll-behavior: smooth; }

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

/* ===== WHATSAPP FLOTANTE ===== */
.wsp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(34,197,94,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wsp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(34,197,94,0.5); }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--blue);
  color: white !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-light) !important; }

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

/* ===== BOTONES GLOBALES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); }
.btn-full { width: 100%; }

/* ===== CONTENEDOR ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== SECCIONES ===== */
.section { padding: 80px 0; }
.section-dark  { background: var(--bg-dark); }
.section-light { background: var(--bg-light); }

.section-tag {
  display: inline-block;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-sub strong { color: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 60px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-accent { color: var(--blue-light); }
.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-plus { color: var(--blue-light); }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ===== SERVICIOS ===== */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.serv-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.serv-card:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-3px); }
.serv-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.serv-icon-blue   { background: rgba(37,99,235,0.15); }
.serv-icon-red    { background: rgba(239,68,68,0.15); }
.serv-icon-green  { background: rgba(34,197,94,0.15); }
.serv-icon-cyan   { background: rgba(6,182,212,0.15); }
.serv-icon-orange { background: rgba(249,115,22,0.15); }
.serv-icon-purple { background: rgba(168,85,247,0.15); }

.serv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.serv-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.serv-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.serv-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.serv-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== PROYECTOS ===== */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.proyecto-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s;
}
.proyecto-card:hover { transform: translateY(-3px); }
.proyecto-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.proyecto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.proyecto-card:hover .proyecto-img img { transform: scale(1.05); }
.proyecto-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.proyecto-info { padding: 20px; }
.proyecto-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.proyecto-info p  { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.proyecto-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ptag {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.proyectos-ig {
  text-align: center;
  padding-top: 16px;
}
.proyectos-ig p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-ig:hover { background: rgba(255,255,255,0.1); }

/* ===== POR QUÉ ELEGIRNOS ===== */
.features-list { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.feature-blue { background: rgba(37,99,235,0.12); }
.feature-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-item p  { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== CTA ===== */
.section-cta {
  background: var(--bg-dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 20px;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-inner p  { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACTO ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacto-items { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.contacto-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contacto-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ci-green { background: rgba(34,197,94,0.12); color: var(--green); }
.ci-blue  { background: rgba(37,99,235,0.12); color: var(--blue-light); }
.ci-pink  { background: rgba(236,72,153,0.12); color: #ec4899; }
.ci-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; }
.ci-val   { display: block; font-size: 15px; font-weight: 600; color: var(--text); }

.contacto-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.social-btn-green { background: rgba(34,197,94,0.1); color: var(--green); }
.social-btn-green:hover { background: rgba(34,197,94,0.2); }

/* form contacto */
.contacto-form-wrap {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.contacto-form .field { margin-bottom: 16px; }

/* ===== FORM TURNOS ===== */
.turno-form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  max-width: 640px;
}

/* campos compartidos */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
input[type="text"],
input[type="tel"],
input[type="password"],
textarea,
select {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-light); }
select { cursor: pointer; }
select option { background: var(--bg-dark2); }
select:disabled { opacity: 0.4; cursor: not-allowed; }
textarea { resize: vertical; }

.flatpickr-input {
  background: var(--bg-dark) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  cursor: pointer;
}
.flatpickr-input:focus { border-color: var(--blue-light) !important; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* horarios */
#horarios-wrap { margin: 4px 0; }
.horarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn-hora {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 0;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-hora:hover { border-color: var(--blue-light); color: var(--blue-light); }
.btn-hora.seleccionado { background: var(--blue); border-color: var(--blue); color: white; font-weight: 700; }
.sin-horarios { color: #f87171; font-size: 14px; padding: 10px 0; }
.cargando { color: var(--text-dim); font-size: 14px; padding: 10px 0; }

.alerta {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  max-width: 640px;
}
.alerta-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: #4ade80; }
.alerta-error   { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); color: #f87171; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark2); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.footer-desc { color: var(--text-dim); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 14px; color: var(--text-dim); }
.footer-col ul li a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-wsp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.footer-wsp:hover { opacity: 0.88; }
.footer-contact-item { font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

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

@media (max-width: 768px) {
  #navbar { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(13,17,23,0.98);
    padding: 12px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; border-radius: 8px; }

  .hero { padding: 80px 16px 48px; text-align: center; }
  .hero-inner { max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; }
  .hero-stats { justify-content: center; gap: 24px; }

  .section { padding: 56px 0; }
  .servicios-grid { grid-template-columns: 1fr; }
  .proyectos-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .turno-form { padding: 24px 16px; }
  .contacto-form-wrap { padding: 24px 16px; }
  .horarios-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .stat-num { font-size: 1.6rem; }
  .hero-stats { gap: 20px; }
  .container { padding: 0 14px; }
  .wsp-float { bottom: 16px; right: 16px; width: 46px; height: 46px; }
}

/* =============================================
   ANIMACIONES Y EFECTOS MODERNOS
   ============================================= */

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero partículas de fondo --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(34,197,94,0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* --- Números del hero que cuentan --- */
.stat-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* --- Cards de servicios mejoradas --- */
.serv-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1),
              box-shadow 0.35s cubic-bezier(.22,1,.36,1),
              border-color 0.35s;
}
.serv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.serv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(37,99,235,0.25);
  border-color: rgba(37,99,235,0.3);
}
.serv-card:hover::before { opacity: 1; }

/* Icono servicio animado */
.serv-icon {
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.serv-card:hover .serv-icon {
  transform: scale(1.18) rotate(-4deg);
}

/* --- Proyectos mejorados --- */
.proyecto-card {
  transition: transform 0.4s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s cubic-bezier(.22,1,.36,1);
}
.proyecto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.45);
}

/* Overlay en hover sobre imagen del proyecto */
.proyecto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
  backdrop-filter: blur(2px);
}
.overlay-icon {
  font-size: 32px;
  transform: scale(0.6);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.proyecto-card:hover .proyecto-overlay { opacity: 1; }
.proyecto-card:hover .overlay-icon { transform: scale(1); }

/* Badge de categoría con colores */
.proyecto-badge {
  transition: transform 0.2s;
}
.proyecto-badge.cat-comercio   { background: #2563eb; }
.proyecto-badge.cat-residencial{ background: #7c3aed; }
.proyecto-badge.cat-empresa    { background: #ea580c; }
.proyecto-badge.cat-industrial { background: #0891b2; }
.proyecto-badge.cat-institucional { background: #059669; }

/* Tags de proyecto */
.ptag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

/* --- Feature items animados --- */
.feature-item {
  transition: transform 0.3s cubic-bezier(.22,1,.36,1),
              background 0.3s;
  border-radius: 12px;
  padding: 12px;
  margin: -12px;
}
.feature-item:hover {
  transform: translateX(6px);
  background: rgba(37,99,235,0.06);
}

/* --- Botones con shimmer --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 150%; }

/* --- Nav con indicador de sección activa --- */
.nav-link.active {
  color: var(--text) !important;
  background: rgba(37,99,235,0.12) !important;
}

/* --- Efecto typewriter en hero (opcional) --- */
.hero-accent {
  position: relative;
  display: inline-block;
}

/* --- Línea de progreso scroll --- */
#scroll-progress {
  position: fixed;
  top: 60px; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 101;
  transition: width 0.1s linear;
}

/* --- Stat cards con glow al hover --- */
.stat {
  transition: transform 0.3s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.stat:hover {
  transform: translateY(-4px);
}
.stat-num {
  background: linear-gradient(135deg, #fff 60%, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Contacto items animados --- */
.contacto-item {
  transition: transform 0.3s cubic-bezier(.22,1,.36,1),
              background 0.3s;
}
.contacto-item:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}

/* --- Sección CTA con partícula --- */
.section-cta {
  position: relative;
  overflow: hidden;
}
.section-cta::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: ctaFloat 6s ease-in-out infinite alternate;
}
@keyframes ctaFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-30px, 20px) scale(1.1); }
}

/* --- WhatsApp flotante pulsing --- */
.wsp-float {
  animation: wspPulse 2.5s ease-in-out infinite;
}
@keyframes wspPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(34,197,94,0.7), 0 0 0 8px rgba(34,197,94,0.08); }
}
.wsp-float:hover { animation: none; }
