:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #101526;
  --primary: #32d474;
  --primary-soft: rgba(50, 212, 116, 0.12);
  --text: #f5f5f7;
  --muted: #a4a8bc;
  --border: #242941;
  --danger: #ff4d4d;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141a33 0, #050816 40%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout base */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem auto;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  gap: 0.75rem;
}

.logo a {
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.logo span {
  color: var(--primary);
  font-weight: 500;
  margin-left: 0.25rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.main-nav .nav-cta {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(50, 212, 116, 0.4);
  color: var(--primary);
}

/* Hero */

.hero {
  padding: 4.2rem 0 3.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(50, 212, 116, 0.45);
  background: radial-gradient(circle at top left, rgba(50, 212, 116, 0.18), transparent 70%);
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.85rem 0;
}

.hero-text {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 36rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem 0;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  padding-left: 1.15rem;
}

.hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-photo {
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2bb165);
  color: #050816;
  box-shadow: 0 14px 35px rgba(50, 212, 116, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(50, 212, 116, 0.42);
}

.section-cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Cards / Grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-list li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Timeline (Metodología) */

.timeline {
  max-width: 720px;
  margin: 0 auto;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}

.timeline-step {
  position: relative;
  padding-bottom: 1.6rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-number {
  position: absolute;
  left: -1.2rem;
  top: 0.2rem;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #050816;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Testimonios */

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.2rem 1.4rem;
  border: 1px solid var(--border);
}

.testimonial-text {
  margin: 0 0 0.9rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.faq-item {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.1rem 1.25rem;
  border: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 0.45rem 0;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contacto (sin formulario) */

.section-contact {
  background: radial-gradient(circle at top left, rgba(50, 212, 116, 0.12), transparent 55%), #050816;
}

.contact-single {
  max-width: 720px;
  margin: 0 auto;
}

.contact-single h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.contact-single p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.contact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.6rem 0 2rem 0;
  background: #050816;
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-photo {
    order: 2; /* contenido primero, foto abajo en móvil */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-photo img {
    max-width: 260px;
  }

  .grid-3,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline-step {
    padding-left: 2rem;
  }

  .timeline-step .step-number {
    left: 0;
    transform: none;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .main-nav {
    gap: 0.6rem;
  }

  .main-nav a {
    font-size: 0.8rem;
  }
}
