:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --primary: #0f4c81;
  --secondary: #1f7a8c;
  --accent: #f29e4c;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.95), rgba(31, 122, 140, 0.9)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80")
      center/cover;
  color: #fff;
  padding: 32px 7vw 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  background: var(--accent);
  color: #1b1b1b;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.16);
  padding: 24px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.hero-card h3 {
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 18px;
}

.hero-card li {
  margin-bottom: 8px;
}

.stats {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat {
  font-size: 1.8rem;
  font-weight: 700;
}

main {
  padding: 60px 7vw;
}

.section {
  margin-bottom: 60px;
}

.section.alt {
  background: #fff;
  padding: 50px 6vw;
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 8px;
}

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

.grid article {
  background: var(--card);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 10px 16px;
  background: rgba(15, 76, 129, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
}

.timeline {
  counter-reset: steps;
  list-style: none;
  display: grid;
  gap: 16px;
}

.timeline li {
  background: #fff;
  padding: 18px 20px 18px 50px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--secondary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-panel {
  background: #f8fafc;
  padding: 0 20px;
  border-radius: 0 0 14px 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.faq-panel.open {
  padding: 16px 20px 20px;
  max-height: 200px;
}

.icon {
  font-size: 1.2rem;
}

.footer {
  padding: 30px 7vw 50px;
  background: #0b243b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-note {
  opacity: 0.7;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: min(460px, 90vw);
  position: relative;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.info-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.info-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.info-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
  }
}
