/* ============================================
   Главная — sections
   ============================================ */

/* HERO — fullscreen slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.08);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 88px;
  color: #fff;
}
.hero-content-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.hero-text {
  max-width: 880px;
}
.hero-tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 4.6vw, 76px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 28px;
}
.hero h1 .italic {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(14px, 1vw, 17px);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero-cta .btn-primary:hover { background: rgba(255,255,255,0.85); }
.hero-cta .btn-ghost {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* Right-side controls */
.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 4px;
}
.hero-counter {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-counter .current {
  font-size: 32px;
  font-weight: 200;
  letter-spacing: -0.02em;
}
.hero-counter .sep { opacity: 0.4; }
.hero-counter .total { opacity: 0.6; }

.hero-caption {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  max-width: 280px;
  text-align: right;
  line-height: 1.4;
}

.hero-arrows {
  display: flex;
  gap: 10px;
}
.hero-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
.hero-arrow.prev:hover { transform: translateX(-3px); }
.hero-arrow.next:hover { transform: translateX(3px); }

/* Slide progress bar at bottom */
.hero-progress {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
  max-width: 1480px;
  margin: 0 auto;
}
.hero-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.hero-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: #fff;
  transition: width 0.3s;
}
.hero-progress-bar.active::after {
  width: 100%;
  animation: heroProgress 5s linear;
}
@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 980px) {
  .hero-content { padding: 0 24px 80px; }
  .hero-content-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-controls { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-caption { display: none; }
  .hero-progress { left: 24px; right: 24px; }
  .hero h1 { font-size: clamp(40px, 11vw, 72px); }
}

/* ============================================
   Marquee ticker
   ============================================ */
.ticker {
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 56px;
  align-items: center;
  animation: ticker calc(40s / var(--motion, 1)) linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-3);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.ticker-item::after {
  content: '✦';
  font-size: 10px;
  color: var(--accent);
}

/* ============================================
   Section header
   ============================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head-text { max-width: 540px; }
.section-head .lead { color: var(--ink-3); margin-top: 16px; }

@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   Каталог систем — 3 cards
   ============================================ */
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.system-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  isolation: isolate;
}
.system-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.system-card:hover .system-card-img { transform: scale(1.06); }
.system-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.7));
  z-index: 1;
}
.system-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  color: #fff;
  z-index: 2;
}
.system-card-num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 12px;
}
.system-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.system-card-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 280px;
}
.system-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
  transition: gap 0.3s, border-color 0.3s;
}
.system-card:hover .system-card-arrow { gap: 16px; border-color: var(--accent); color: var(--accent); }
.system-card-tag {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 100px;
  z-index: 2;
}

@media (max-width: 900px) {
  .systems-grid { grid-template-columns: 1fr; }
  .system-card { aspect-ratio: 4/3; }
}

/* ============================================
   Фурнитура — masonry
   ============================================ */
.furniture {
  background: var(--bg-warm);
}
.furniture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.furniture-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.furniture-item .pic {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.furniture-item:hover .pic { transform: scale(1.08); }
.furniture-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.65));
}
.furniture-item-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  color: #fff;
  z-index: 1;
}
.furniture-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.furniture-item .count {
  font-size: 11px;
  opacity: 0.7;
  display: flex; align-items: center; gap: 6px;
}
.furniture-item .count::before { content: '→'; }

@media (max-width: 900px) {
  .furniture-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .furniture-item { aspect-ratio: 4/3; }
}
@media (max-width: 540px) {
  .furniture-grid { grid-template-columns: 1fr; }
  .furniture-item { aspect-ratio: 16/9; }
}

/* ============================================
   Калькулятор
   ============================================ */
.calc {
  background: var(--bg-warm);
  color: var(--ink);
}
.calc h2 { color: var(--ink); }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.calc-info { max-width: 480px; }
.calc-info .lead { color: var(--ink-3); margin-bottom: 32px; }
.calc-info ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.calc-info li {
  display: flex; gap: 14px;
  font-size: 15px;
  color: var(--ink-2);
  align-items: baseline;
}
.calc-info li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.calc-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
}
.calc-row:first-child { padding-top: 0; }
.calc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-row-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; justify-content: space-between;
}
.calc-row-label .val { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 500; }
.calc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-pill {
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--bg-warm);
  border: 1px solid transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.calc-pill:hover { border-color: var(--border); color: var(--ink); }
.calc-pill.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--surface);
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.calc-total-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.calc-total-value {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 4px;
}
.calc-total-value { color: var(--ink); }
.calc-total-value .unit { font-size: 16px; opacity: 0.6; font-family: 'Inter', sans-serif; }
.calc-total-value .ruble {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-panel { padding: 24px; }
  .calc-total-value { font-size: 32px; }
}

/* ============================================
   Production split
   ============================================ */
.production {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
}
.production-img {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}
.production-text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.production-text h2 { margin-bottom: 28px; max-width: 480px; }
.production-text p { color: var(--ink-3); margin-bottom: 24px; max-width: 480px; }

.production-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
  max-width: 480px;
}
.production-stat .num {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.production-stat .num .accent { color: var(--accent); }
.production-stat .lbl { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

@media (max-width: 900px) {
  .production {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .production-img {
    min-height: 260px;
    height: 260px;
    background-attachment: scroll;
  }
  .production-text { padding: 48px 20px; }
  .production-text h2 { margin-bottom: 20px; }
  .production-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    margin-top: 28px;
    padding-top: 28px;
  }
  .production-stat .num { font-size: 32px; }
  .production-stat .lbl { font-size: 12px; margin-top: 6px; }
}
@media (max-width: 420px) {
  .production-img { min-height: 220px; height: 220px; }
  .production-stat .num { font-size: 28px; }
}

/* ============================================
   Проекты — horizontal scroller
   ============================================ */
.projects-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px;
}
.projects-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 40px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.projects-scroller::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 460px;
  scroll-snap-align: start;
}
.project-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  position: relative;
  margin-bottom: 20px;
}
.project-img .pic {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover .project-img .pic { transform: scale(1.05); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; }
.project-meta h4 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.project-meta .loc { font-size: 13px; color: var(--ink-3); }
.project-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 768px) {
  .project-card { flex: 0 0 80%; }
}

/* ============================================
   Этапы работы
   ============================================ */
.steps {
  background: var(--bg-warm);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.step h4 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.step p { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.step-time {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 100px;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { padding: 32px 16px 32px 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 540px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: 0; padding: 28px 0; }
}

/* ============================================
   Сертификаты / партнёры
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.partner {
  background: var(--bg);
  aspect-ratio: 5/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  transition: all 0.3s;
  position: relative;
}
.partner:hover { background: var(--bg-warm); color: var(--ink); }
.partner .sub {
  position: absolute;
  bottom: 12px; left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   Отзывы
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  display: flex; gap: 2px;
  margin-bottom: 20px;
}
.testimonial-stars span { color: var(--accent); font-size: 14px; }
.testimonial-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--accent);
}
.testimonial-author .name { font-size: 14px; font-weight: 500; }
.testimonial-author .role { font-size: 12px; color: var(--ink-3); }

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================
   Контакты / форма
   ============================================ */
.contact {
  background: var(--ink);
  color: var(--bg);
  padding: 140px 0;
}
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,0.6); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.contact-info li .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.contact-info li .val { font-size: 22px; font-family: 'Inter', sans-serif; font-weight: 300; letter-spacing: -0.02em; }
.contact-info li .val a:hover { color: var(--accent); }

.contact-form {
  display: flex; flex-direction: column; gap: 4px;
}
.contact-field {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 24px 0 16px;
}
.contact-field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 8px;
}
.contact-field input, .contact-field textarea, .contact-field select {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  outline: none;
  resize: none;
}
.contact-field input::placeholder, .contact-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact-field:focus-within { border-color: var(--accent); }
.contact-submit { margin-top: 32px; align-self: flex-start; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================
   Tweaks panel
   ============================================ */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  background: rgba(20,18,17,0.96);
  backdrop-filter: blur(20px);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.tweaks-row { display: flex; flex-direction: column; gap: 8px; }
.tweaks-row label { font-size: 13px; }
.tweaks-row input[type=range] { width: 100%; }

.palette-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.swatch {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--c);
  border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.swatch:hover { transform: scale(1.08); border-color: rgba(255,255,255,0.3); }
.swatch.active { border-color: #fff; transform: scale(1.08); }

/* ============================================
   Catalog page additions
   ============================================ */
.page-header {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--border-soft);
}
.page-header h1 {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 250;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.page-header .lead { margin-top: 24px; max-width: 640px; }
.page-header-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.page-header-breadcrumb .sep { opacity: 0.4; }

.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.filter-pill {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg);
  transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
  padding-top: 60px;
}
.catalog-card {
  cursor: pointer;
}
.catalog-card-img {
  aspect-ratio: 1;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.catalog-card-img .pic {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.catalog-card:hover .catalog-card-img .pic { transform: scale(1.05); }
.catalog-card-img .badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 100px;
  z-index: 1;
}
.catalog-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.catalog-card-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  color: var(--ink-3);
}
.catalog-card-price {
  color: var(--ink);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 900px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .catalog-grid { grid-template-columns: 1fr; } }
