/* =========================================================
   Секция «Материалы» (index-v4.html) — валидный CSS по макету Figma
   Классы с префиксом cat- не пересекаются с index-v.html
   ========================================================= */

.cat-landing {
  width: 100%;
}

.cat-materials-screen {
  --cat-secondary-row-offset: -316px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 582px;
  padding: 120px 20px 80px;
  background: #ffffff;
  box-sizing: border-box;
}

.cat-materials-container {
  max-width: 1320px;
  margin: 0 auto;
}

.cat-materials-badge {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 12px;
  margin: 0 auto 24px;
  width: auto;
  min-height: 32px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 60px;
  box-sizing: border-box;
}

.cat-materials-badge__icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.cat-materials-badge__label {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #181717;
}

.cat-materials-title {
  margin: 0 auto 48px;
  max-width: 866px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #181717;
}

.cat-materials-chips {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.cat-materials-chips__inner {
  display: flex;
  width: max-content;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 0;
}

.cat-materials-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  gap: 10px;
  min-height: 46px;
  background: rgba(100, 107, 65, 0.2);
  border-radius: 4px;
  font-family: "Involve", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #181717;
  white-space: nowrap;
  box-sizing: border-box;
}

.cat-materials-chips-row--secondary {
  margin-top: 16px;
}

.cat-materials-chips--offset .cat-materials-chips__inner {
  transform: translateX(var(--cat-secondary-row-offset));
}

@media (max-width: 767px) {
  .cat-materials-screen {
    padding: 96px 12px 48px;
  }

  .for-whom-section + .cat-materials-screen {
    padding-top: 20px;
  }
}
