:root {
  color-scheme: dark;
  --bg: #f4f7fb;
  --bg-alt: #ffffff;
  --text: #10233b;
  --muted: #55677a;
  --primary: #1757ff;
  --primary-dark: #0f45d1;
  --surface: #ffffff;
  --border: #e3e8ef;
  --shadow: 0 20px 50px rgba(16, 35, 59, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(227, 232, 239, 0.85);
  backdrop-filter: blur(12px);
}

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

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}

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

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.cta {
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}

.cta-primary {
  background: var(--primary);
  color: #fff;
}

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, rgba(23, 87, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #e9efff;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.03;
}

.hero-text {
  margin: 1.5rem 0 2rem;
  max-width: 680px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(16, 35, 59, 0.12);
}

.hero-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-list li {
  background: #fff;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--muted);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-inner {
  width: 100%;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card-inner h2 {
  margin-top: 0;
}

.hero-card-inner p,
.hero-card-inner a {
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 2.7rem);
}

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

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

.card,
.benefit-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 35, 59, 0.04);
}

.card h3,
.benefit-card h3 {
  margin-top: 0;
}

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

.experiencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.stat-item {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.stat-item span {
  color: var(--muted);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 87, 255, 0.12);
}

.site-footer {
  background: #172b4d;
  color: #e8f0ff;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #cbd7ff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

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

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 240px;
  }

  .main-nav a {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(227, 232, 239, 0.8);
  }
}
