/**
 * Strona /kolor/ — paleta kolorow drewna.
 * Hero + grid (8 kolorow) + eco info + CTA + FAQ.
 */

.ds-kolor-page {
  max-width: var(--ds-max, 1280px);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 48px) 80px;
}

/* ─── HERO ────────────────────────────────────────────── */
.ds-kolor-hero {
  margin: 32px 0 48px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  background: var(--ds-cream-soft, #f6f1e8);
  border-radius: 16px;
  text-align: center;
}
.ds-kolor-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.ds-kolor-hero-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 12px 0 20px;
  color: var(--ds-text, #2b2b2b);
}
.ds-kolor-hero-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--ds-text-muted, #666);
  margin: 0 0 28px;
}
.ds-kolor-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 0 0 28px;
}
.ds-kolor-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ds-olive, #8c8f74);
  font-weight: 600;
}
.ds-kolor-hero-meta-item svg { color: var(--ds-olive, #8c8f74); }
.ds-kolor-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── ECO INFO ───────────────────────────────────────── */
.ds-kolor-eco {
  margin: 0 0 64px;
}
.ds-kolor-eco-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.ds-kolor-eco-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 20px;
  color: var(--ds-text, #2b2b2b);
}
.ds-kolor-eco p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-text, #2b2b2b);
  margin: 0 0 14px;
}

/* ─── GRID SECTION ──────────────────────────────────── */
.ds-kolor-grid-section {
  margin: 0 0 64px;
}
.ds-kolor-grid-head {
  text-align: center;
  margin: 0 0 32px;
}
.ds-kolor-grid-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 12px 0 12px;
  color: var(--ds-text, #2b2b2b);
}
.ds-kolor-grid-sub {
  font-size: 15px;
  color: var(--ds-text-muted, #666);
  margin: 0;
}

.ds-kolor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── COLOR CARD ────────────────────────────────────── */
.ds-kolor-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ds-border, #e7e3dd);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ds-kolor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.ds-kolor-card-swatch {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ds-kolor-card-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ds-kolor-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ds-kolor-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ds-text-muted, #888);
}
.ds-kolor-card-tag {
  background: var(--ds-cream-soft, #f6f1e8);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--ds-olive, #8c8f74);
}
.ds-kolor-card-hex {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #aaa;
}
.ds-kolor-card-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-text, #2b2b2b);
  margin: 4px 0 0;
}
.ds-kolor-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-text, #2b2b2b);
  margin: 0;
}

/* ─── CTA BAR ───────────────────────────────────────── */
.ds-kolor-cta {
  margin: 0 0 64px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px);
  background: var(--ds-cream-soft, #f6f1e8);
  border-radius: 16px;
}
.ds-kolor-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.ds-kolor-cta-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--ds-olive, #8c8f74);
  flex-shrink: 0;
}
.ds-kolor-cta-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: clamp(20px, 2vw, 26px);
  margin: 0 0 6px;
  color: var(--ds-text, #2b2b2b);
}
.ds-kolor-cta-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-text, #2b2b2b);
  margin: 0;
}
.ds-kolor-cta-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
@media (max-width: 720px) {
  .ds-kolor-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ds-kolor-cta-icon { margin: 0 auto; }
  .ds-kolor-cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* ─── FAQ ───────────────────────────────────────────── */
.ds-kolor-faq {
  margin: 0;
}
.ds-kolor-faq-head {
  text-align: center;
  margin: 0 0 32px;
}
.ds-kolor-faq-title {
  font-family: var(--ds-font-display, var(--ds-font, inherit));
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 12px 0 0;
}
.ds-kolor-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-kolor-faq-item {
  background: #fff;
  border: 1px solid var(--ds-border, #e7e3dd);
  border-radius: 12px;
  padding: 14px 20px;
  transition: border-color 0.2s;
}
.ds-kolor-faq-item[open] {
  border-color: var(--ds-olive, #8c8f74);
}
.ds-kolor-faq-q {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--ds-text, #2b2b2b);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.ds-kolor-faq-q::-webkit-details-marker { display: none; }
.ds-kolor-faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--ds-olive, #8c8f74);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ds-kolor-faq-item[open] .ds-kolor-faq-q::after {
  content: '−';
}
.ds-kolor-faq-a {
  padding: 8px 0 4px;
}
.ds-kolor-faq-a p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ds-text, #2b2b2b);
  margin: 0;
}

@media (max-width: 600px) {
  .ds-kolor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
