:root {
  --bg-dark: #020617;
  --bg-dark-alt: #0b1120;
  --bg-light: #f9fafb;
  --text-main: #111827;
  --text-muted: #4b5563;
  --border-subtle: #e5e7eb;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --white: #ffffff;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
}

/* Layout base */

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f3f4f6;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-header {
  max-width: 700px;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Header & nav */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: #cbd5f5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #e5e7eb;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

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

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.2);
}

.nav-cta:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  background: radial-gradient(circle at top, #1d2537 0, #020617 45%, #000 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

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

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  margin: 0 0 1.25rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.hero-benefits li::before {
  content: "";
  margin-top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

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

.hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
}

/* Hero panel */

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.99));
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.hero-metrics {
  display: flex;
  gap: 1.5rem;
}

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

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* Grillas y bloques de texto */

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.text-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.text-block p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Cards */

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

.card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.card-minimal {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

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

.card-minimal p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Enfoque / pasos */

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

.step {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contacto */

.section-contact {
  background: radial-gradient(circle at top left, #e5e7eb 0, #f9fafb 45%, #e5e7eb 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.contact-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-highlights li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-form {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid #d1d5db;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  background: #f9fafb;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.4);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Footer */

.footer {
  background: var(--bg-dark);
  color: #9ca3af;
  padding: 1.75rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.footer-legal {
  max-width: 800px;
}

/* Responsivo */

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    padding: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
