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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f4f4f5;
  --accent: #7c3aed;
  --accent-light: #ede9fe;
  --accent-dark: #5b21b6;
  --green: #10b981;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
}

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

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 800; color: var(--black); }
.logo span { color: var(--accent); }
.btn-nav {
  background: var(--black); color: var(--white);
  padding: 10px 20px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--accent); }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--black);
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; text-align: center; }

/* HERO */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 60%);
}
.badge {
  display: inline-block;
  background: var(--accent-light); color: var(--accent);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
.hero h1 span { color: var(--accent); }
.subtitle {
  font-size: 18px; color: var(--gray);
  max-width: 560px; margin-bottom: 40px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid #e5e7eb;
}
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 14px; color: var(--gray); }

/* SECTION LABELS */
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.5px; margin-bottom: 48px;
}

/* PROBLEMA */
.problema { padding: 80px 0; background: var(--black); color: var(--white); }
.problema h2 { color: var(--white); }
.problema-item {
  padding: 12px 0; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.card-highlight {
  background: var(--accent); border-radius: var(--radius);
  padding: 40px; color: var(--white);
}
.card-highlight p { font-size: 18px; line-height: 1.7; margin-bottom: 24px; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* CASOS */
.casos { padding: 80px 0; background: var(--gray-light); }
.caso-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.caso-card:hover { transform: translateY(-4px); }
.caso-icon { font-size: 36px; margin-bottom: 16px; }
.caso-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.caso-card p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.caso-tag {
  font-size: 12px; color: var(--accent);
  font-weight: 600; letter-spacing: 0.5px;
}

/* SERVICIOS */
.servicios { padding: 80px 0; }
.servicio-item {
  display: flex; gap: 24px; padding: 32px;
  border-radius: var(--radius); border: 1px solid #e5e7eb;
  transition: border-color 0.2s;
}
.servicio-item:hover { border-color: var(--accent); }
.servicio-num {
  font-size: 40px; font-weight: 800;
  color: var(--accent-light); flex-shrink: 0;
}
.servicio-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.servicio-item p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* PROCESO */
.proceso { padding: 80px 0; background: var(--accent); color: var(--white); }
.proceso h2 { color: var(--white); }
.proceso .section-label { color: rgba(255,255,255,0.7); }
.paso {
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(255,255,255,0.2);
}
.paso-num {
  font-size: 48px; font-weight: 800;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.paso h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.paso p { font-size: 14px; opacity: 0.85; line-height: 1.7; }

/* CONTACTO */
.contacto { padding: 80px 0; }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacto-texto h2 { margin-bottom: 16px; }
.contacto-texto p { color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.contacto-info div { margin-bottom: 8px; font-size: 14px; color: var(--gray); }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #e5e7eb; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 15px;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.form-success {
  margin-top: 16px; padding: 16px;
  background: #d1fae5; color: #065f46;
  border-radius: var(--radius); font-weight: 600;
  text-align: center;
}

/* FOOTER */
footer {
  padding: 48px 0; background: var(--black); color: var(--white);
}
.footer-inner { text-align: center; }
.footer-inner p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 8px; }
.footer-copy { margin-top: 4px !important; }
footer .logo { font-size: 22px; margin-bottom: 12px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 24px; }
  nav .btn-nav { display: none; }
}
