/* --------- ESTILOS GENERALES --------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------- NAVBAR --------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(5, 8, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.logo img {
  height: 48px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* --------- BOTONES --------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  color: #fff;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.7);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e2e8f0;
}

.btn.secondary:hover {
  background: rgba(148, 163, 184, 0.1);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* --------- HERO --------- */

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top, #1e293b, #020617 55%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: linear-gradient(145deg, #020617, #0f172a);
  border-radius: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.7);
  color: #5eead4;
  margin-bottom: 0.8rem;
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-card li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.1rem;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #22d3ee;
}

/* --------- SECCIONES GENERALES --------- */

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background: #020617;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

/* --------- CARDS (SERVICIOS) --------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.75);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.7rem;
}

.card ul {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.card li {
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1rem;
}

.card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 0.8rem;
}

.card.featured {
  border-color: #6366f1;
  position: relative;
  transform: translateY(-4px);
}

.card-badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
}

/* --------- PASOS (PROCESO) --------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.step {
  background: #020617;
  border-radius: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* --------- CONTACTO --------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-list li {
  margin-bottom: 0.3rem;
}

.contact-card {
  background: linear-gradient(145deg, #020617, #0f172a);
  border-radius: 1.1rem;
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.contact-note {
  font-size: 0.85rem;
  color: #a5b4fc;
}

/* --------- FOOTER --------- */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.2rem 0 1.5rem;
  background: #020617;
}

.footer-content {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-small {
  margin-top: 0.3rem;
  font-size: 0.75rem;
}

/* --------- RESPONSIVE --------- */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none; /* versión sencilla sin menú móvil aún */
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }
}
