.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

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

.section--dark {
  background: var(--secondary);
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.55); }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__header h2 { margin-bottom: 16px; }
.section__header p { max-width: 640px; margin: 0 auto; }

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

.two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}
.two-col--reverse { grid-template-columns: 2fr 3fr; }
.two-col--reverse > :first-child { order: 2; }
.two-col--reverse > :last-child { order: 1; }

@media (max-width: 1199px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 20px; }
  .two-col, .two-col--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .two-col--reverse > :first-child { order: 0; }
  .two-col--reverse > :last-child { order: 0; }
  .section__header { margin-bottom: 32px; }
  .section__header p { font-size: 15px; }
}
