/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'DM Sans', 'Outfit', sans-serif; 
  background: #0B0F1A; 
  color: #E2E8F0; 
  overflow-x: hidden; 
}

/* Base Component Classes */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #00E5A0, #0A8FE0);
  color: #0B0F1A; font-weight: 600; font-size: 15px;
  border: none; border-radius: 50px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,229,160,0.3);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: #00E5A0; font-weight: 600; font-size: 15px;
  border: 2px solid rgba(0,229,160,0.4); border-radius: 50px; cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
}
.btn-outline:hover {
  border-color: #00E5A0;
  background: rgba(0,229,160,0.08);
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #00E5A0;
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}
.section-label::before {
  content: ''; width: 24px; height: 2px;
  background: linear-gradient(90deg, #00E5A0, #0A8FE0);
  border-radius: 2px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc {
  color: #94A3B8; font-size: 16px; max-width: 500px; margin: 0 auto; line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Animations */
.anim-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.anim-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav */
.nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav-scrolled {
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links button {
  background: none; border: none;
  color: #94A3B8; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: color 0.2s;
}
.nav-links button:hover {
  color: #fff;
}
.menu-btn {
  display: none;
  background: none; border: none; color: #fff; cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11,15,26,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1; pointer-events: auto;
}
.mobile-menu button {
  background: none; border: none;
  color: #E2E8F0; font-size: 22px; font-weight: 500; cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-lg { gap: 14px; }
.logo-lg svg { width: 52px; height: 52px; }
.logo-md { gap: 10px; }
.logo-md svg { width: 36px; height: 36px; }
.logo-sm { gap: 10px; }
.logo-sm svg { width: 28px; height: 28px; }

.logo-text { font-weight: 700; color: #ffffff; letter-spacing: -0.02em; font-family: 'Outfit', sans-serif; }
.logo-lg .logo-text { font-size: 28px; }
.logo-md .logo-text { font-size: 22px; }
.logo-sm .logo-text { font-size: 18px; }

.logo-highlight {
  background: linear-gradient(135deg, #00E5A0, #0A8FE0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,229,160,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(10,143,224,0.06) 0%, transparent 60%),
              #0B0F1A;
  overflow: hidden;
}
#particlesCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 54px; font-weight: 800; line-height: 1.1; color: #fff;
  margin-bottom: 20px; letter-spacing: -0.03em;
}
.text-gradient {
  background: linear-gradient(135deg, #00E5A0, #0A8FE0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px; color: #94A3B8; max-width: 560px; margin: 0 auto 40px; line-height: 1.6;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Services */
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden; height: 100%;
}
.service-card-border {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 20px 20px 0 0; opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.service-card:hover .service-card-border { opacity: 0.6; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 10px;
}
.service-card p {
  color: #94A3B8; font-size: 15px; line-height: 1.65;
}

/* Por Que Elegirnos */
.bg-gradient-radial {
  background: radial-gradient(ellipse at 60% 50%, rgba(10,143,224,0.05) 0%, transparent 70%);
}
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-item { text-align: center; padding: 24px 16px; }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,229,160,0.1), rgba(10,143,224,0.1));
  border: 1px solid rgba(0,229,160,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; color: #00E5A0;
}
.why-item h4 {
  font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 8px;
}
.why-item p { color: #94A3B8; font-size: 14px; line-height: 1.6; }

/* Proceso */
.steps-row {
  display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: nowrap;
}
.step-wrap { display: flex; align-items: center; }
.step-content { text-align: center; width: 180px; }
.step-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,160,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #00E5A0; position: relative;
}
.step-num {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #00E5A0, #0A8FE0);
  color: #0B0F1A; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
}
.step-content h4 {
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px;
}
.step-content p { color: #94A3B8; font-size: 13px; line-height: 1.55; }
.step-connector {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, rgba(0,229,160,0.3), rgba(10,143,224,0.3));
  flex-shrink: 0;
}

/* CTA */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, rgba(0,229,160,0.06), rgba(10,143,224,0.06));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 100px 24px;
}
.cta-container { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-methods {
  display: flex; flex-direction: column; gap: 20px; align-items: center; margin-bottom: 36px;
}
.contact-link {
  display: flex; align-items: center; gap: 12px;
  color: #E2E8F0; text-decoration: none; font-size: 18px; font-weight: 500; font-family: 'Outfit', sans-serif;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-phone { background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.2); color: #00E5A0; }
.contact-mail { background: rgba(10,143,224,0.1); border: 1px solid rgba(10,143,224,0.2); color: #0A8FE0; }

/* Footer */
.footer { background: #060912; border-top: 1px solid rgba(255,255,255,0.05); padding: 48px 24px 32px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
}
.footer-links { display: flex; gap: 28px; }
.footer-links button {
  background: none; border: none;
  color: #64748B; font-size: 13px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: color 0.2s;
}
.footer-links button:hover { color: #E2E8F0; }
.footer-copy { color: #475569; font-size: 13px; font-family: 'DM Sans', sans-serif; }

/* Responsive */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 24px; }
}
