/* ─── Page wrapper ─────────────────────────────────────── */

.page-wrapper {
  padding-bottom: 7rem; /* space for mobile bottom nav */
}

@media (min-width: 768px) {
  .page-wrapper {
    padding-bottom: 0;
  }
}

/* ─── Container ─────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* ─── Sections ──────────────────────────────────────────── */

.section {
  padding: 5rem 0;
}

.section--hero {
  padding: 0 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Decorative glow behind hero content */
.section--hero::before {
  content: '';
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 28rem;
  height: 28rem;
  background: var(--color-primary-light);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.section--white {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* ─── Section header ────────────────────────────────────── */

.section-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.7;
  max-width: 52ch;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ─── Grids ─────────────────────────────────────────────── */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.grid-align-center {
  align-items: center;
}
