/* ==========================================
   Collection page — тематические подборки
   Dark theme (lime #74D414, Manrope)
   ========================================== */

.coll-hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.coll-hero .breadcrumbs { margin-bottom: 16px; }
.coll-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime, #74D414);
  margin-bottom: 12px;
}
.coll-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--text, #ECECEC);
}
.coll-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-muted, #C4C4C4);
  max-width: 820px;
  margin: 0 0 24px;
}
.coll-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted, #B9B9B9);
}
.coll-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(116, 212, 20, 0.12);
  border: 1px solid rgba(116, 212, 20, 0.35);
  color: var(--lime, #74D414);
  font-size: 13px;
  font-weight: 500;
}
.coll-count-pill strong { font-weight: 700; font-size: 14px; }
.coll-audience {
  font-style: italic;
  color: var(--text-muted, #9C9C9C);
  font-size: 13.5px;
}

/* Sections */
.coll-value,
.coll-products,
.coll-projects {
  padding: 48px 0;
  position: relative;
}
.coll-h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text, #ECECEC);
  letter-spacing: -0.01em;
}

/* Value blocks */
.coll-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.value-card {
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.value-card:hover {
  border-color: rgba(116, 212, 20, 0.4);
  background: rgba(116, 212, 20, 0.04);
}
.value-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lime, #74D414);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.value-card-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted, #C9C9C9);
  margin: 0;
}

/* Products focus */
.coll-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.product-focus-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  text-decoration: none;
  color: var(--text, #ECECEC);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-focus-card:hover {
  border-color: rgba(116, 212, 20, 0.45);
  transform: translateY(-2px);
}
.product-focus-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.product-focus-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted, #B9B9B9);
  margin: 0 0 12px;
}
.product-focus-arrow {
  font-size: 13px;
  color: var(--lime, #74D414);
  font-weight: 600;
}

/* Projects in collection */
.coll-projects-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.coll-projects-head .coll-h2 { margin: 0; }
.btn-ghost-sm {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--text, #ECECEC);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost-sm:hover {
  border-color: var(--lime, #74D414);
  color: var(--lime, #74D414);
}

.coll-empty {
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
  color: var(--text-muted, #9C9C9C);
  font-size: 15px;
}

/* Reuse project-card styles from styles.css for grid items */
/* Падать обратно на .project-card из styles.css — он уже там есть */

/* ========================================
   Tematicheskie podborki — карточки на главной
   ======================================== */
.collections-section {
  padding: 64px 0 40px;
}
.collections-section .section-head {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}
.collections-section .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime, #74D414);
  margin-bottom: 12px;
}
.collections-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text, #ECECEC);
}
.collections-section .lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted, #B9B9B9);
  margin: 0;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.collection-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  text-decoration: none;
  color: var(--text, #ECECEC);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.collection-card:hover {
  border-color: rgba(116, 212, 20, 0.5);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(116, 212, 20, 0.06), rgba(116, 212, 20, 0.02));
}
.collection-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime, #74D414);
  margin-bottom: 10px;
}
.collection-card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.collection-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted, #B0B0B0);
  margin: 0 0 16px;
  flex-grow: 1;
}
.collection-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime, #74D414);
}
.collection-card-count {
  color: var(--text-muted, #888);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 720px) {
  .coll-hero { padding: 40px 0 24px; }
  .coll-value, .coll-products, .coll-projects { padding: 36px 0; }
  .coll-h1 { font-size: 28px; }
  .coll-lead { font-size: 14.5px; }
  .coll-projects-head { align-items: flex-start; }
  .collections-section { padding: 48px 0 32px; }
}
