/* ============================================================
   catalog-pro.css — шаблон B2B-каталога / питомник-хаба
   Использует DS-токены + service-light.css базовые компоненты
   ============================================================ */

/* ============================================================
   HERO — компактнее service-light
   ============================================================ */
.cp-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #2c3a16;
  color: var(--brand-paper);
  overflow: hidden;
}
.cp-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(60,73,21,0.50) 0%, rgba(26,26,24,0.75) 100%);
  z-index: 1;
}
.cp-hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px var(--container-padding) 60px;
}
.cp-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-2);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--plate-green-light);
  margin-bottom: var(--space-3);
}
.cp-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  max-width: 800px;
  color: var(--brand-paper);
  margin-bottom: var(--space-4);
}
.cp-hero__lede {
  font-size: var(--fs-5);
  line-height: var(--lh-normal);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: var(--space-5);
}
.cp-hero__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ============================================================
   CATEGORIES (главный блок)
   ============================================================ */
.cp-categories {
  padding: var(--space-8) 0;
  background: var(--brand-paper);
}
.cp-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.cp-cat {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--brand-paper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-2);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.cp-cat:hover {
  border-color: var(--plate-green);
  transform: translateY(-2px);
}
.cp-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-1);
  background: var(--plate-green);
  color: var(--brand-ink);
  margin-bottom: var(--space-3);
}
.cp-cat__icon .ds-icon { width: 32px; height: 32px; }
.cp-cat__title {
  font-size: var(--fs-6);
  font-weight: var(--fw-semibold);
  color: var(--brand-ink);
  margin-bottom: var(--space-2);
}
.cp-cat__text {
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  flex: 1;
}
.cp-cat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-3);
}
.cp-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  padding: 4px 10px;
  background: var(--brand-paper-soft);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.cp-audience {
  padding: var(--space-7) 0;
  background: var(--brand-paper);
  border-top: 1px solid var(--color-border-subtle);
}
.cp-audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.cp-aud {
  padding: var(--space-4);
  border-left: 3px solid var(--plate-green);
}
.cp-aud__icon {
  color: var(--plate-green-deep);
  margin-bottom: var(--space-2);
}
.cp-aud__title {
  font-size: var(--fs-5);
  font-weight: var(--fw-semibold);
  color: var(--brand-ink);
  margin-bottom: var(--space-2);
}
.cp-aud__text {
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

/* ============================================================
   PROCESS
   ============================================================ */
.cp-process {
  padding: var(--space-8) 0;
  background: var(--brand-paper);
  border-top: 1px solid var(--color-border-subtle);
}
.cp-process__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  list-style: none;
  margin: 0; padding: 0;
}
.cp-process__num {
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  color: var(--plate-green);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}
.cp-process__step-title {
  font-size: var(--fs-5);
  font-weight: var(--fw-semibold);
  color: var(--brand-ink);
  margin-bottom: var(--space-2);
}
.cp-process__step-text {
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

/* ============================================================
   FACTS
   ============================================================ */
.cp-facts {
  padding: var(--space-7) 0;
  background: var(--plate-green);
  color: var(--brand-ink);
}
.cp-facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  text-align: center;
}
.cp-fact__num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: var(--fw-bold);
  color: var(--brand-ink);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.cp-fact__label {
  font-size: var(--fs-4);
  color: var(--brand-ink);
  opacity: 0.85;
}

/* ============================================================
   CONTENT (SEO sections)
   ============================================================ */
.cp-content {
  padding: var(--space-7) 0;
  background: var(--brand-paper);
}
.cp-content__section { margin-bottom: var(--space-6); }
.cp-content__title {
  font-size: var(--text-h2-size);
  font-weight: var(--text-h2-weight);
  color: var(--brand-ink);
  margin-bottom: var(--space-3);
}
.cp-content p {
  margin-bottom: var(--space-3);
  line-height: var(--lh-relaxed);
}
.cp-content ul, .cp-content ol {
  margin: var(--space-3) 0 var(--space-4) var(--space-4);
}
.cp-content li { margin-bottom: var(--space-2); line-height: var(--lh-relaxed); }
