.bg-swoop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, #ffffff 0%, transparent 38%),
    radial-gradient(circle at 90% 8%, #eef0ff 0%, transparent 45%),
    linear-gradient(180deg, #f6f7ff 0%, #eef0ff 55%, #f6f7ff 100%);
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

main > section + section {
  padding: 40px 0 40px;
}

.site-header {
  padding: 18px 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 12px 24px rgba(64, 56, 156, 0.2);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  flex: 0 0 20%;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--white);
}

.footer-brand .brand-name {
  font-size: 1.3rem;
}

.nav {
  display: flex;
  gap: 20px;
  flex: 0 0 40%;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

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

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 0;
  flex: 0 0 40%;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 16px 0 20px;
  background: var(--primary);
  box-shadow: 0 18px 30px rgba(64, 56, 156, 0.2);
}

.mobile-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  text-align: center;
}

.mobile-nav .btn {
  width: min(260px, 90%);
  margin: 8px auto 0;
  display: block;
}

.site-header .btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: none;
}

.site-footer {
  padding: 60px 0 40px;
  color: rgba(255, 255, 255, 0.7);
  background: #213d5c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .brand {
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

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

.menu-open .mobile-nav {
  display: block;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-open .menu-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1200px) {
  .header-grid {
    flex-wrap: wrap;
  }

  .brand,
  .nav,
  .header-actions {
    flex: initial;
  }

  .nav,
  .header-actions {
    display: none;
  }

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

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

  .header-actions {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 600px) {
  .nav,
  .header-actions {
    display: none;
  }

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

  .header-grid {
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .social-links {
    justify-content: center;
  }
}
