/* ============================================================
   LAYOUT — Trener UDT (premium / clean / responsive)
   - container + section rhythm
   - grids that behave well on mobile and desktop
   ============================================================ */

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

/* consistent vertical rhythm */
.section{
  padding: clamp(26px, 4.6vw, 56px) 0;
}
.section--tight{
  padding: clamp(14px, 2.6vw, 22px) 0;
}

/* section titles: minimal, no heavy brand stripe */
.section__title{
  margin: 0 0 14px 0;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 900px){
  .section__title{ font-size: 24px; }
}

/* optional subtle eyebrow label (if used later) */
.section__eyebrow{
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: var(--border-2);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px) saturate(160%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html[data-theme="dark"] .section__eyebrow{
  background: rgba(18,21,28,.55);
  border-color: rgba(255,255,255,.12);
}

.grid{
  display: grid;
  gap: 16px;
}

/* mobile: keep single column by default */
.grid--2,
.grid--3{ grid-template-columns: 1fr; }

@media (min-width: 900px){
  .grid{ gap: 18px; }
  .grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* wide screens: keep content comfortable */
@media (min-width: 1200px){
  .grid{ gap: 20px; }
}