/* ==========================================================================
   DMGroup — page blocks
   Every value below comes from figma-dmgroup/tree.mjs --props for the
   «Главная — десктоп» frame [5:3]. Section paddings/gaps are reproduced 1:1.
   ========================================================================== */

:root { --c-page: #070706; }
body { background: var(--c-page); }
.page { background: var(--c-page); }

/* section shell: bg + vertical rhythm, matching each Figma frame */
.section { padding-inline: var(--gutter); }
.section--alt { background: #121110; }

.section--hero     { padding-block: 48px 36px; }
.section--dry      { padding-block: 48px; }
.section--selection{ padding-block: 48px; }
.section--rider    { padding-block: 48px; }
.section--shift    { padding-block: 40px; }
.section--catalog  { padding-block: 40px 36px; }
.section--proof    { padding-block: 36px 28px; }

.inner { max-width: var(--content-max); margin-inline: auto; }

/* ==========================================================================
   Hero  [84:12]
   ========================================================================== */

.hero { display: flex; flex-direction: column; gap: 36px; }

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__main { display: flex; gap: 48px; align-items: flex-start; }

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 776px;
}

.hero__title {
  font-size: 64px;
  line-height: 68px;
  font-weight: 600;
  letter-spacing: -1.6px;
  color: var(--c-text);
  max-width: 776px;
}

.hero__lead {
  font-size: 16px;
  line-height: 24px;
  color: var(--c-muted);
  max-width: 776px;
}

.hero__actions { display: flex; align-items: center; gap: 8px; padding-top: 4px; }

.hero__media {
  flex: 0 0 520px;
  width: 520px;
  height: 300px;
  border-radius: var(--r);
  background: #121110;
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: contain; }

/* three channels under the hero */
.channels { display: flex; gap: 28px; }
.channel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}
.channel__rule { height: 1px; background: var(--c-rule); }
.channel__num {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--c-accent);
}
.channel__title { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.2px; color: var(--c-text); }
.channel__text  { font-size: 14px; line-height: 20px; color: var(--c-muted); }
.channel__link  { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--c-accent); }
.channel__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Dry hire  [84:45]  (alt background)
   ========================================================================== */

.dry { display: flex; gap: 48px; align-items: flex-start; }
.dry__copy { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; min-width: 0; max-width: 836px; }
.dry__title { font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.6px; }
.dry__text  { font-size: 16px; line-height: 24px; color: var(--c-muted); max-width: 836px; }
.dry__actions { padding-top: 8px; }

/* dark price plate */
.plate {
  flex: 0 0 460px;
  width: 460px;
  background: #0c0b0a;
  border: 1px solid var(--c-rule);
  border-radius: var(--r);
  padding: 8px 20px;
}
.plate__title {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--c-dim);
  padding-block: 8px;
}
.plate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--c-rule);
  font-size: 14px;
  line-height: 20px;
}
.plate__row span:last-child {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  color: var(--c-muted);
}
.plate__foot { padding: 8px 0; font-size: 13px; line-height: 18px; color: var(--c-dim); }

/* ==========================================================================
   Selection  [84:72]
   ========================================================================== */

.selection { display: flex; flex-direction: column; gap: 28px; }
.selection__head { display: flex; flex-direction: column; gap: 18px; }
.selection__title { display: flex; flex-direction: column; gap: 12px; }
.selection__title h2 { font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.6px; }
.selection__lead { font-size: 16px; line-height: 24px; color: var(--c-muted); max-width: 860px; }

.selection__grid { display: flex; gap: 20px; align-items: stretch; }

.panel {
  flex: 1 1 0;
  min-width: 0;
  background: #121110;
  border: 1px solid var(--c-rule);
  border-radius: var(--r);
  padding: 16px 20px 8px;
}
.panel__title {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--c-dim);
  padding-bottom: 8px;
}
.spec { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; }
.spec__label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.spec__value { font-size: 16px; line-height: 22px; color: var(--c-text); }
.spec__rule { height: 1px; background: var(--c-rule); }

.selection__arrow {
  flex: 0 0 47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
}
.selection__arrow span:first-child {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 22px;
  color: var(--c-accent);
}
.selection__arrow span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-dim);
}

.selection__action { padding-top: 4px; }

/* ==========================================================================
   Rider  [84:113]  (alt background)
   ========================================================================== */

.rider { display: flex; gap: 48px; align-items: flex-start; }
.rider__copy { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; min-width: 0; max-width: 816px; }
.rider__title { font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.6px; }
.rider__text  { font-size: 16px; line-height: 24px; color: var(--c-muted); max-width: 816px; }
.rider__action { padding-top: 8px; }

.rider__doc {
  flex: 0 0 480px;
  width: 480px;
  background: #0c0b0a;
  border: 1px solid var(--c-rule);
  border-radius: var(--r);
  padding: 16px 20px 12px;
}
.rider__doc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--c-dim);
  padding-bottom: 8px;
}
.rider__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-rule);
  font-size: 14px;
  line-height: 20px;
}
.rider__row .state {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.3px;
  color: var(--c-accent);
}
.rider__row .state--dim { color: var(--c-dim); }
.rider__note { padding-top: 12px; font-size: 13px; line-height: 18px; color: var(--c-dim); }

/* ==========================================================================
   Shift  [84:140]
   ========================================================================== */

.shift { display: flex; flex-direction: column; gap: 22px; }
.shift__row { display: flex; gap: 24px; align-items: flex-start; }
.shift__clock { display: flex; flex-direction: column; gap: 6px; flex: 0 0 197px; }
.shift__time {
  font-family: var(--font-mono);
  font-size: 64px;
  line-height: 68px;
  font-weight: 500;
  letter-spacing: -1.5px;
  color: var(--c-text);
}
.shift__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-dim);
}
.shift__item { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.shift__item h3 { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.2px; }
.shift__item p  { font-size: 15px; line-height: 22px; color: var(--c-muted); }

/* ==========================================================================
   Catalog teaser  [84:152]  (alt background)
   ========================================================================== */

.cat-teaser { display: flex; flex-direction: column; gap: 18px; }
.cat-teaser__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cat-teaser__head h2 { font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.4px; }
.cat-teaser__count {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.cat-teaser__lead { font-size: 15px; line-height: 22px; color: var(--c-muted); }

.cat-list { padding-top: 8px; }
.cat-list__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-rule);
  color: inherit;
}
.cat-list__row:hover .cat-list__name { color: var(--c-accent); }
.cat-list__num {
  flex: 0 0 auto;
  min-width: 40px;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  color: var(--c-accent);
}
.cat-list__copy { display: flex; flex-direction: column; gap: 2px; }
.cat-list__name { font-size: 16px; line-height: 22px; color: var(--c-text); }
.cat-list__desc { font-size: 13px; line-height: 18px; color: var(--c-dim); }

/* ==========================================================================
   Proof  [84:193]
   ========================================================================== */

.proof { display: flex; flex-direction: column; gap: 16px; }
.proof__brands { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.3px; color: var(--c-text); }
.proof__lead { font-size: 14px; line-height: 20px; color: var(--c-dim); }
.proof__names { display: flex; gap: 48px; padding-top: 8px; }
.proof__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; }
.proof__col span { font-size: 15px; line-height: 22px; color: var(--c-muted); }

/* ==========================================================================
   Responsive — mobile frame is 390 wide [5:193]
   ========================================================================== */

@media (max-width: 900px) {
  .hero { gap: 24px; }
  .hero__main { flex-direction: column; gap: 24px; }
  .hero__title { font-size: 40px; line-height: 44px; letter-spacing: -1px; }
  .hero__media { flex: 0 0 auto; width: 100%; height: 220px; }
  .channels { flex-direction: column; gap: 0; }
  .channel { padding-block: 16px; border-top: 1px solid var(--c-rule); padding-top: 16px; }
  .channel__rule { display: none; }

  .dry, .rider { flex-direction: column; gap: 24px; }
  .dry__title, .rider__title, .selection__title h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.4px; }
  .plate, .rider__doc { flex: 0 0 auto; width: 100%; }

  .selection__grid { flex-direction: column; }
  .selection__arrow { flex-direction: row; justify-content: center; padding-top: 0; }

  .shift__row { flex-direction: column; gap: 20px; }
  .shift__clock { flex: 0 0 auto; }
  .shift__time { font-size: 48px; line-height: 52px; letter-spacing: -1px; }

  .cat-teaser__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cat-list__num { min-width: 32px; }

  .proof__names { flex-direction: column; gap: 16px; }
}
