.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

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

.section-header h2 {
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 50, 74, 0.08);
}

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

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}

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

.split-reverse {
  grid-template-columns: 1fr 1.15fr;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.button-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cta-inner {
  padding: 4rem 0;
}

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

@media (max-width: 980px) {
  .split,
  .split-reverse,
  .cards-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .section-header p {
    font-size: 1rem;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem;
    z-index: 999;
  }

  .nav.mobile-open {
    display: flex;
  }

  .nav a,
  .nav button {
    padding: 0.8rem 1rem;
    text-align: left;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  .nav a:hover,
  .nav button:hover {
    background: var(--card);
  }

  .dropdown-menu {
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    background: var(--card) !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0.5rem !important;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex !important;
    flex-direction: column;
  }

  .dropdown-menu a {
    padding: 0.7rem 1rem !important;
    margin: 0 !important;
    border-radius: 6px !important;
  }

  .dropdown-menu a::before {
    display: none;
  }
}