:root {
  --color-bg: #0f1117;
  --color-bg-alt: #171a23;
  --color-text: #f4f5f7;
  --color-text-muted: #a9adba;
  --color-accent: #4f7cff;
  --color-card-bg: #1d2029;
  --max-width: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  padding: 2rem 1.5rem 5rem;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-cta {
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-accent);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 124, 255, 0.35);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.nosotros,
.servicios,
.proceso,
.resultados,
.testimonios,
.faq {
  text-align: center;
  border-top: 1px solid var(--color-bg-alt);
}

.nosotros h2,
.servicios h2,
.proceso h2,
.resultados h2,
.testimonios h2,
.faq h2,
.contacto h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  text-align: left;
  align-items: start;
}

.nosotros-grid h2 {
  margin-bottom: 1.25rem;
}

.nosotros-grid p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.nosotros-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.card ul {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card ul li {
  margin-bottom: 0.4rem;
}

.pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.paso {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 1.75rem;
}

.paso-numero {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.paso h3 {
  margin-bottom: 0.5rem;
}

.paso p {
  color: var(--color-text-muted);
}

.resultados-nota {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: -1.75rem;
  margin-bottom: 2.5rem;
}

.testimonio p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonio-autor {
  display: block;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.faq-lista {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-lista details {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq-lista summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-lista p {
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.card p {
  color: var(--color-text-muted);
}

.contacto {
  padding: 4rem 0 5rem;
  text-align: center;
}

.contacto p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-bg-alt);
}
