/* ================================================
   DISARM — Layout Utilities
   Container, section defaults, flex/grid helpers,
   responsive breakpoint overrides
   ================================================ */

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ---- Section Base ---- */
.section {
  position: relative;
  width: 100%;
}

/* ---- Flex Helpers ---- */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-center    { align-items: center; justify-content: center; }
.flex-between   { justify-content: space-between; }
.flex-align-c   { align-items: center; }
.gap-xs         { gap: var(--space-xs); }
.gap-sm         { gap: var(--space-sm); }
.gap-md         { gap: var(--space-md); }
.gap-lg         { gap: var(--space-lg); }
.gap-xl         { gap: var(--space-xl); }

/* ============================================
   Responsive Breakpoint Overrides
   Mobile-first: default → 768 → 1024 → 1440
   ============================================ */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 40px;
    --text-h1: 48px;
    --text-h2: 28px;
  }
}

/* ---- Mobile / Small Tablet (≤ 768px) ---- */
@media (max-width: 768px) {
  :root {
    --container-padding: 24px;
    --text-h1: 36px;
    --text-h2: 24px;
    --text-body: 15px;
  }
}

/* ---- Mobile Small (≤ 480px) ---- */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --text-h1: 28px;
    --text-h2: 20px;
  }
}
