:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #111827;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
}

body {
  line-height: 1.6;
}

/* Layout base */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.5);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.menu a {
  margin-left: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.menu a:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.85);
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.hero-text p {
  color: var(--muted);
  max-width: 560px;
}

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--muted);
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #172554, #020617);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.hero-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Secciones genéricas */

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
}

/* Servicios */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.8rem;
}

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.65);
}

.card h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Cómo funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.step {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Agenda */

.agenda {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.2rem;
}

.agenda-list {
  list-style: none;
  padding-left: 0;
}

.agenda-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.agenda-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.agenda-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.agenda-note a {
  color: var(--accent);
  text-decoration: none;
}

.agenda-note a:hover {
  text-decoration: underline;
}

.agenda-form-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: var(--shadow-soft);
}

.agenda-form-card h3 {
  margin-top: 0;
}

.agenda-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.agenda-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.2rem;
}

.agenda-form input,
.agenda-form select,
.agenda-form textarea {
  background: #020617;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  padding: 0.45rem 0.6rem;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.agenda-form input:focus,
.agenda-form select:focus,
.agenda-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
  background: #020617;
}

.agenda-alt {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.agenda-alt a {
  color: var(--accent);
  text-decoration: none;
}

.agenda-alt a:hover {
  text-decoration: underline;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.3rem 0;
  background: #020617;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-content a {
  color: var(--accent);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* Responsivo */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .agenda {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: row;
  }

  .menu {
    display: none; /* si quieres menú móvil luego lo puedes agregar */
  }

  .hero {
    padding-top: 2.4rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
