/* =============================================
   LAYOUT — Containers, Sections
   ============================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  position: relative;
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}

/* Gradient dividers between sections — richer red */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 37, 53, 0.15) 20%,
    var(--c-red) 50%,
    rgba(229, 37, 53, 0.15) 80%,
    transparent
  );
  box-shadow: 0 0 10px rgba(229, 37, 53, 0.15);
}

.section:first-of-type::before {
  display: none;
}

.section__title {
  text-align: center;
  margin-bottom: var(--gap-xxl);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-rose));
  margin: var(--gap-md) auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(229, 37, 53, 0.4), 0 0 25px rgba(229, 37, 53, 0.15);
}

.section__subtitle {
  text-align: center;
  max-width: 600px;
  margin: calc(var(--gap-xxl) * -0.5) auto var(--gap-xxl);
  color: var(--c-text-muted);
  font-size: var(--fs-body);
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* Grid utility */
.grid {
  display: grid;
  gap: var(--gap-lg);
}
