/* =============================================
   LAYOUT — nav, footer, section containers
   ============================================= */

/* ----- NAV ----- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo__icon {
  background: var(--green);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ----- SECTION BASE ----- */
.section {
  padding: 4.5rem 5%;
}

.section--alt {
  background: var(--section-bg);
}

.section--dark {
  background: #0a2018;
}

.section--dark .section__label { color: #5DCAA5; }
.section--dark .section__title { color: #fff; }
.section--dark .section__sub   { color: var(--text-xmuted); }

.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #0a0a0a;
}

.section__sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 3rem;
}

/* ----- FOOTER ----- */
.footer {
  background: #0a0a0a;
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 5%;
  font-size: 0.82rem;
}

.footer__brand {
  color: var(--green);
  font-weight: 700;
}

.footer__links {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--green);
}

.footer__copy {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #374151;
}
