/* =========================================================
   Kitchen Concept — Editorial Single Product Page
   Scoped under .kc-product-story to avoid theme conflicts
   ========================================================= */

:root {
  --kcp-gold:     #d6ab60;
  --kcp-dark:     #2e2b28;
  --kcp-text:     #7a7570;
  --kcp-ink:      #1a1714;
  --kcp-white:    #ffffff;
  --kcp-bg:       #f7f5f2;
  --kcp-bg2:      #f0ede8;
  --kcp-border:   #e5e0d8;
  --kcp-r-sm:     10px;
  --kcp-r-md:     18px;
  --kcp-r-lg:     28px;
  --kcp-r-xl:     40px;
  --kcp-fe:       'Montserrat', sans-serif;
  --kcp-fu:       'Montserrat', sans-serif;
  --kcp-ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset for editorial wrapper ─── */
.kc-product-story *,
.kc-product-story *::before,
.kc-product-story *::after {
  box-sizing: border-box;
}
.kc-product-story {
  font-family: var(--kcp-fu);
  color: var(--kcp-dark);
  background: var(--kcp-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.kc-product-story img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hide duplicate CF7 form from footer-product.php */
.kc-product-story .zakazporject_single_prod {
  display: none !important;
}
/* Hide WooCommerce tabs section */
.kc-product-story .woocommerce-tabs {
  display: none !important;
}

/* ── Motion: Scroll reveal ──────────────────────────────── */
.kcp-reveal,
.kcp-reveal-left,
.kcp-reveal-right,
.kcp-reveal-up {
  opacity: 0;
  transition: opacity 0.9s var(--kcp-ease), transform 0.9s var(--kcp-ease);
}
.kcp-reveal        { transform: translateY(28px); }
.kcp-reveal-up     { transform: translateY(44px); }
.kcp-reveal-left   { transform: translateX(-28px); }
.kcp-reveal-right  { transform: translateX(28px); }

.kcp-reveal.is-visible,
.kcp-reveal-left.is-visible,
.kcp-reveal-right.is-visible,
.kcp-reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

.kcp-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--kcp-ease), transform 0.7s var(--kcp-ease);
}
.kcp-stagger.is-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.kcp-stagger.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.1s; }
.kcp-stagger.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.2s; }
.kcp-stagger.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.3s; }
.kcp-stagger.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.4s; }
.kcp-stagger.is-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.5s; }

/* ── Link hover underline ───────────────────────────────── */
.kcp-link {
  position: relative;
  text-decoration: none;
  display: inline-block;
}
.kcp-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--kcp-ease);
}
.kcp-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ═══════════════════════════════════════════════════════════
   ① HERO
   ═══════════════════════════════════════════════════════════ */
.kcp-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  border-radius: 0 0 var(--kcp-r-xl) var(--kcp-r-xl);
  overflow: hidden;
  background: #0e0b08;
}

/* Zoom layer */
.kcp-hero__zoom {
  position: absolute;
  inset: -6%;
  will-change: transform;
  animation: kcpHeroZoom 14s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes kcpHeroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/*
 * Parallax element = background photo.
 * Merged into one element: JS moves this div → bg image moves with it.
 * Extra inset (-12%) gives room for parallax translateY without exposing edges.
 */
.kcp-hero__parallax {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Fallback dark gradient when no photo */
.kcp-hero__parallax--fallback {
  background: linear-gradient(155deg, #2a2014 0%, #160f06 55%, #0c0905 100%);
}

/* Overlay gradient */
.kcp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,6,3,0.9) 0%,
    rgba(8,6,3,0.4) 45%,
    rgba(8,6,3,0.12) 100%
  );
}

/* Content */
.kcp-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 80px 88px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.kcp-hero__left { max-width: 700px; }

.kcp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--kcp-gold);
  margin-bottom: 18px;
  opacity: 0;
  animation: kcpFadeUp 1s 0.4s var(--kcp-ease) forwards;
}
.kcp-hero__eyebrow-line {
  width: 28px; height: 1px;
  background: var(--kcp-gold);
  flex-shrink: 0;
}

.kcp-hero__title {
  font-family: var(--kcp-fe);
  font-size: clamp(36px, 5vw, 108px);
  font-weight: 300;
  line-height: 0.93;
  color: var(--kcp-white);
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  opacity: 0;
  animation: kcpFadeUp 1.1s 0.6s var(--kcp-ease) forwards;
}
.kcp-hero__title em {
  font-style: italic;
  color: rgba(255,255,255,0.55);
  display: block;
}

.kcp-hero__sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin-bottom: 44px;
  opacity: 0;
  animation: kcpFadeUp 1s 0.85s var(--kcp-ease) forwards;
}

.kcp-hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  animation: kcpFadeUp 1s 1.05s var(--kcp-ease) forwards;
}

/* Price / individual block */
.kcp-hero__right {
  text-align: right;
  flex-shrink: 0;
  opacity: 0;
  animation: kcpFadeUp 1s 1.1s var(--kcp-ease) forwards;
}
.kcp-hero__price-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.kcp-hero__price-val {
  font-family: var(--kcp-fe);
  font-size: 38px;
  font-weight: 300;
  color: var(--kcp-white);
  line-height: 1;
}
.kcp-hero__indiv-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}
.kcp-hero__indiv-val {
  font-family: var(--kcp-fe);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}

/* Scroll hint */
.kcp-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: kcpFadeUp 1s 1.4s ease forwards;
}
.kcp-hero__scroll span {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.kcp-hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(214,171,96,0.7), transparent);
  animation: kcpScrollPulse 2.2s ease-in-out infinite;
}

@keyframes kcpFadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes kcpScrollPulse {
  0%,100% { opacity:.35; }
  50%     { opacity:1; }
}

/* ─── Buttons ─── */
.kcp-btn-primary {
  display: inline-block;
  font-family: var(--kcp-fu);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--kcp-gold);
  color: #1a0f00;
  padding: 15px 38px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kcp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(214,171,96,0.32);
}
.kcp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}
.kcp-btn-ghost:hover { color: rgba(255,255,255,0.9); }
.kcp-btn-ghost__arr {
  color: var(--kcp-gold);
  transition: transform 0.3s ease;
}
.kcp-btn-ghost:hover .kcp-btn-ghost__arr { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   ② FACADES
   ═══════════════════════════════════════════════════════════ */
.kcp-facades {
  padding: 64px 80px;
  background: var(--kcp-bg);
  border-bottom: 1px solid var(--kcp-border);
}
.kcp-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kcp-text);
  margin-bottom: 28px;
}
/* ── Facades lane ── */
.kcp-facades__lane {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.kcp-facades__lane::-webkit-scrollbar { display: none; }

.kcp-facade-card {
  flex-shrink: 0;
  width: 176px;
  border-radius: var(--kcp-r-md);
  overflow: hidden;
  background: var(--kcp-white);
  border: 1px solid var(--kcp-border);
  transition: transform 0.35s var(--kcp-ease), box-shadow 0.35s ease;
}
.kcp-facade-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.kcp-facade-card__thumb {
  height: 120px;
  background-size: cover;
  background-position: center;
  background-color: var(--kcp-bg2);
}
.kcp-facade-card__info {
  padding: 10px 14px 13px;
}
.kcp-facade-card__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--kcp-dark);
}

/* ═══════════════════════════════════════════════════════════
   ③ TEXT BLOCK (описание по центру)
   ═══════════════════════════════════════════════════════════ */
.kcp-textblock {
  padding: 88px 80px;
}
.kcp-textblock__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.kcp-textblock__lead {
  font-family: var(--kcp-fe);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--kcp-dark);
  margin-bottom: 32px;
}
.kcp-textblock__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--kcp-text);
}
.kcp-textblock__body p { margin-bottom: 16px; }
.kcp-textblock__body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   ④ PHOTO GRID (12-col, позиции a–f, как в макете)
   ═══════════════════════════════════════════════════════════ */
.kcp-photos {
  padding: 72px 80px 0;
}
.kcp-photos__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 76px;
  gap: 14px;
}
.kcp-cell {
  border-radius: var(--kcp-r-lg);
  overflow: hidden;
  position: relative;
  background: var(--kcp-bg2);
  transition: transform 0.55s var(--kcp-ease), box-shadow 0.55s ease;
}
.kcp-cell:hover {
  transform: scale(1.013);
  box-shadow: 0 20px 48px rgba(0,0,0,0.14);
}
.kcp-cell__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Позиции a–f: landscape wide, portrait tall, medium, detail, medium-v, landscape */
.kcp-cell--a { grid-column: 1/9;  grid-row: 1/6;  }
.kcp-cell--b { grid-column: 9/13; grid-row: 1/8;  }
.kcp-cell--c { grid-column: 1/6;  grid-row: 6/11; }
.kcp-cell--d { grid-column: 6/9;  grid-row: 6/9;  }
.kcp-cell--e { grid-column: 6/9;  grid-row: 9/14; }
.kcp-cell--f { grid-column: 9/13; grid-row: 8/13; }

/* Позиции g–l: горизонтальное зеркало a–f */
.kcp-cell--g { grid-column: 1/5;  grid-row: 1/9;  }
.kcp-cell--h { grid-column: 5/13; grid-row: 1/6;  }
.kcp-cell--i { grid-column: 5/9;  grid-row: 6/11; }
.kcp-cell--j { grid-column: 9/13; grid-row: 6/11; }
.kcp-cell--k { grid-column: 1/5;  grid-row: 9/14; }
.kcp-cell--l { grid-column: 5/13; grid-row: 11/14;}

/* Zoom-иконка поверх ячейки */
.kcp-cell { cursor: zoom-in; }
.kcp-cell__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,8,5,0);
  color: rgba(255,255,255,0);
  transition: background 0.4s ease, color 0.4s ease;
  pointer-events: none;
}
.kcp-cell__zoom svg { width: 28px; height: 28px; }
.kcp-cell:hover .kcp-cell__zoom {
  background: rgba(10,8,5,0.26);
  color: rgba(255,255,255,0.9);
}

/* Кнопка «Показать ещё» */
.kcp-photos__more-wrap {
  display: flex;
  justify-content: center;
  padding: 52px 0 0;
}
.kcp-photos__more-btn {
  font-family: var(--kcp-fu);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--kcp-border);
  color: var(--kcp-dark);
  padding: 16px 42px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.kcp-photos__more-btn:hover {
  border-color: var(--kcp-gold);
  color: var(--kcp-gold);
}

/* Раскрытие дополнительной сетки */
.kcp-photos__extra {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              margin-top 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}
.kcp-photos__extra.is-expanded {
  grid-template-rows: 1fr;
  margin-top: 14px;
}
.kcp-photos__grid--extra { min-height: 0; }

/* ─── Лайтбокс ─────────────────────────────────────────── */
.kcp-lightbox {
  border: none;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  background: rgba(10,8,5,0.97);
  display: none;
  align-items: center;
  justify-content: center;
}
.kcp-lightbox[open] { display: flex; }
.kcp-lightbox::backdrop { background: rgba(10,8,5,0.97); }

.kcp-lightbox__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 100px;
  box-sizing: border-box;
}
.kcp-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  opacity: 1;
  transition: opacity 0.22s ease;
  user-select: none;
}
.kcp-lightbox__img.kcp-lb-fade { opacity: 0; }

.kcp-lightbox__close {
  position: fixed;
  top: 22px; right: 26px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 10px;
  z-index: 10;
  transition: color 0.2s;
}
.kcp-lightbox__close:hover { color: #fff; }

.kcp-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}
.kcp-lightbox__nav:hover { background: rgba(255,255,255,0.14); color: #fff; }
.kcp-lightbox__nav--prev { left: 24px; }
.kcp-lightbox__nav--next { right: 24px; }

.kcp-lightbox__counter {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   ④ EDITORIAL STRIPS
   ═══════════════════════════════════════════════════════════ */
.kcp-ed-wrap { padding: 100px 0; }

.kcp-ed-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 0 80px;
}
.kcp-ed-strip--spaced { margin-top: 60px; }
.kcp-ed-img {
  border-radius: var(--kcp-r-xl);
  overflow: hidden;
  height: 520px;
  position: relative;
  background: var(--kcp-bg2);
  transition: transform 0.6s var(--kcp-ease);
}
.kcp-ed-img:hover { transform: scale(1.014); }
.kcp-ed-img__inner {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.kcp-ed-num {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--kcp-gold);
  margin-bottom: 18px;
}
.kcp-ed-h {
  font-family: var(--kcp-fe);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--kcp-dark);
  margin-bottom: 20px;
}
.kcp-ed-p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--kcp-text);
  margin-bottom: 32px;
}
.kcp-ed-kv {
  display: flex;
  gap: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--kcp-border);
}
.kcp-kv { display: flex; flex-direction: column; gap: 4px; }
.kcp-kv__l {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kcp-text);
}
.kcp-kv__v { font-size: 15px; font-weight: 400; color: var(--kcp-dark); }

/* Dark strip variant */
.kcp-ed-dark-wrap { padding: 0 48px 60px; }
.kcp-ed-dark-wrap--spaced { margin-top: 40px; }
.kcp-ed-strip--dark {
  background: var(--kcp-ink);
  border-radius: var(--kcp-r-xl);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kcp-ed-strip--dark .kcp-ed-img { height: 460px; }
.kcp-ed-strip--dark .kcp-ed-h  { color: var(--kcp-white); }
.kcp-ed-strip--dark .kcp-ed-p  { color: rgba(255,255,255,0.48); }
.kcp-ed-strip--dark .kcp-ed-kv { border-color: rgba(255,255,255,0.1); }
.kcp-ed-strip--dark .kcp-kv__l { color: rgba(255,255,255,0.35); }
.kcp-ed-strip--dark .kcp-kv__v { color: var(--kcp-white); }

/* ═══════════════════════════════════════════════════════════
   ⑤ ARCHITECTURAL INTELLIGENCE
   ═══════════════════════════════════════════════════════════ */
.kcp-arch {
  background: var(--kcp-ink);
  padding: 110px 80px;
  margin-top:20px ;
}
.kcp-arch__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.kcp-arch__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kcp-gold);
  margin-bottom: 20px;
}
.kcp-arch__title {
  font-family: var(--kcp-fe);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--kcp-white);
}
.kcp-arch__title em {
  font-style: italic;
  color: rgba(255,255,255,0.42);
}
.kcp-arch__intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.42);
  max-width: 420px;
  align-self: end;
}
.kcp-arch__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--kcp-r-lg);
  overflow: hidden;
}
.kcp-arch__item {
  background: var(--kcp-ink);
  padding: 44px 38px;
  transition: background 0.4s ease;
}
.kcp-arch__item:hover { background: #22201c; }
.kcp-arch__num {
  font-family: var(--kcp-fe);
  font-size: 34px;
  font-weight: 300;
  color: rgba(214,171,96,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.kcp-arch__name {
  font-family: var(--kcp-fe);
  font-size: 22px;
  font-weight: 400;
  color: var(--kcp-white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.kcp-arch__body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   ⑥ SPECS
   ═══════════════════════════════════════════════════════════ */
.kcp-specs {
  padding: 88px 80px;
  background: var(--kcp-bg);
}
.kcp-specs__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--kcp-border);
  padding-bottom: 22px;
  margin-bottom: 48px;
}
.kcp-specs__title {
  font-family: var(--kcp-fe);
  font-size: 42px;
  font-weight: 300;
  color: var(--kcp-dark);
}
.kcp-specs__brand {
  font-family: var(--kcp-fe);
  font-size: 26px;
  font-weight: 300;
  color: var(--kcp-gold);
}
.kcp-specs__cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.kcp-sc {
  background: var(--kcp-white);
  border-radius: var(--kcp-r-md);
  padding: 26px 26px 30px;
  border: 1px solid var(--kcp-border);
  transition: transform 0.4s var(--kcp-ease), box-shadow 0.4s ease;
}
.kcp-sc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.kcp-sc__l {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kcp-text);
  margin-bottom: 8px;
}
.kcp-sc__v {
  font-family: var(--kcp-fe);
  font-size: 24px;
  font-weight: 400;
  color: var(--kcp-dark);
  line-height: 1.2;
}
.kcp-sc__s {
  font-size: 12px;
  color: var(--kcp-text);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   ⑦ CATALOG DOWNLOAD
   ═══════════════════════════════════════════════════════════ */
.kcp-catalog-wrap { padding: 80px 48px; }
.kcp-catalog-card {
  background: var(--kcp-bg2);
  border-radius: var(--kcp-r-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
}
.kcp-catalog-text {
  padding: 72px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kcp-catalog-title {
  font-family: var(--kcp-fe);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 300;
  color: var(--kcp-dark);
  line-height: 1.1;
  margin-bottom: 14px;
}
.kcp-catalog-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--kcp-text);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 340px;
}
.kcp-catalog-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kcp-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--kcp-dark);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.kcp-catalog-dl:hover { color: var(--kcp-gold); border-color: var(--kcp-gold); }
.kcp-catalog-dl svg { width: 13px; height: 13px; flex-shrink: 0; transition: transform 0.3s ease; }
.kcp-catalog-dl:hover svg { transform: translateY(2px); }
.kcp-catalog-img {
  position: relative;
  overflow: hidden;
}
.kcp-catalog-img__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg,#2a2010 0%,#18120a 35%,#382c1c 65%,#201810 100%);
  background-size: cover;
  background-position: center;
}
.kcp-catalog-img__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--kcp-bg2) 0%, transparent 20%);
}

/* ═══════════════════════════════════════════════════════════
   ⑧ CONSULTATION
   ═══════════════════════════════════════════════════════════ */
.kcp-consult {
  background: var(--kcp-ink);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.kcp-consult__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kcp-gold);
  margin-bottom: 22px;
}
.kcp-consult__title {
  font-family: var(--kcp-fe);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  color: var(--kcp-white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.kcp-consult__title em {
  font-style: italic;
  color: rgba(255,255,255,0.42);
}
.kcp-consult__sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 380px;
}
.kcp-consult__options { display: flex; flex-direction: column; gap: 12px; }
.kcp-consult__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--kcp-r-md);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--kcp-ease);
}
.kcp-consult__opt:hover {
  border-color: rgba(214,171,96,0.4);
  background: rgba(214,171,96,0.04);
  transform: translateX(6px);
}
.kcp-consult__opt-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--kcp-white);
  margin-bottom: 2px;
}
.kcp-consult__opt-sub { font-size: 11px; color: rgba(255,255,255,0.38); }
.kcp-consult__opt-arr {
  font-size: 16px;
  color: var(--kcp-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.kcp-consult__opt:hover .kcp-consult__opt-arr { transform: translateX(4px); }

/* Form */
.kcp-consult__form-title {
  font-family: var(--kcp-fe);
  font-size: 30px;
  font-weight: 300;
  color: var(--kcp-white);
  margin-bottom: 10px;
}
.kcp-consult__form-hint {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-bottom: 32px;
}
.kcp-consult input[type="text"],
.kcp-consult input[type="tel"],
.kcp-consult input[type="email"],
.kcp-consult textarea {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  font-size: 14px !important;
  color: var(--kcp-white) !important;
  font-family: var(--kcp-fu) !important;
  font-weight: 300 !important;
  width: 100% !important;
  outline: none !important;
  box-shadow: none !important;
  display: block !important;
  margin-bottom: 4px !important;
  transition: border-color 0.3s ease !important;
}
.kcp-consult input::placeholder,
.kcp-consult textarea::placeholder {
  color: rgba(255,255,255,0.28) !important;
}
.kcp-consult input:focus,
.kcp-consult textarea:focus {
  border-color: rgba(214,171,96,0.5) !important;
}
.kcp-consult .wpcf7-submit {
  margin-top: 24px !important;
  background: var(--kcp-gold) !important;
  color: #1a0f00 !important;
  border: none !important;
  padding: 14px 38px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 50px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.kcp-consult .wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(214,171,96,0.28) !important;
}
.kcp-consult__consent {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  line-height: 1.55;
  margin-top: 14px;
}
.kcp-consult__consent-link {
  color: inherit;
  opacity: 0.6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   ⑨ SERVICES
   ═══════════════════════════════════════════════════════════ */
.kcp-services {
  padding: 96px 80px;
  border-bottom: 1px solid var(--kcp-border);
}
.kcp-services__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 56px;
}
.kcp-svc {
  background: var(--kcp-bg);
  border-radius: var(--kcp-r-md);
  padding: 34px 28px 38px;
  transition: transform 0.4s var(--kcp-ease), box-shadow 0.4s ease;
}
.kcp-svc:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.07);
}
.kcp-svc__num {
  font-family: var(--kcp-fe);
  font-size: 44px;
  font-weight: 300;
  color: rgba(214,171,96,0.22);
  line-height: 1;
  margin-bottom: 16px;
}
.kcp-svc__name {
  font-family: var(--kcp-fe);
  font-size: 22px;
  font-weight: 400;
  color: var(--kcp-dark);
  margin-bottom: 9px;
}
.kcp-svc__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--kcp-text);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   ⑩ RELATED (Г-format: 50% + 25% + 25%)
   ═══════════════════════════════════════════════════════════ */
.kcp-related { padding: 96px 80px; background: var(--kcp-bg); }
.kcp-related__hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 44px;
}
.kcp-related__title {
  font-family: var(--kcp-fe);
  font-size: 42px;
  font-weight: 300;
  color: var(--kcp-dark);
}
.kcp-related__all {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kcp-gold);
  text-decoration: none;
}

.kcp-related-trio {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  height: 540px;
}
.kcp-related-item {
  position: relative;
  border-radius: var(--kcp-r-lg);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: var(--kcp-bg2);
}
.kcp-related-item__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--kcp-ease);
}
.kcp-related-item:hover .kcp-related-item__img { transform: scale(1.04); }
.kcp-related-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
}
.kcp-related-item__title {
  font-family: var(--kcp-fe);
  font-size: 20px;
  font-weight: 300;
  color: var(--kcp-white);
  line-height: 1.2;
}
.kcp-related-item--main .kcp-related-item__title { font-size: 28px; }
.kcp-related-item__arr {
  font-size: 18px;
  color: var(--kcp-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.kcp-related-item:hover .kcp-related-item__arr { transform: translateX(4px); }

/* ── Footer blocks (аксессуары/доп. мебель из footer-product.php) ── */
/* Скрываем related-kitchens swiper — у нас уже есть своя секция */
.kcp-footer-blocks .kc-related-kitchens { display: none !important; }
/* Скрываем дублирующую форму заказа */
.kcp-footer-blocks .zakazporject_single_prod { display: none !important; }
/* Стилизуем блоки аксессуаров */
.kcp-footer-blocks .plan_accesor { padding: 0 80px; }
.kcp-footer-blocks .body_container { padding: 0 80px 60px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .kcp-hero__content  { padding: 0 48px 72px; }
  .kcp-facades        { padding: 48px 48px; }
  .kcp-textblock      { padding: 64px 48px; }
  .kcp-photos         { padding: 56px 48px 0; }
  .kcp-arch           { padding: 80px 48px; }
  .kcp-specs          { padding: 72px 48px; }
  .kcp-catalog-text   { padding: 56px 56px; }
  .kcp-consult        { padding: 80px 48px; }
  .kcp-services       { padding: 72px 48px; }
  .kcp-related        { padding: 72px 48px; }
  .kcp-specs__cards   { grid-template-columns: repeat(2,1fr); }
  .kcp-services__grid { grid-template-columns: repeat(2,1fr); }
  .kcp-related-trio   { height: 420px; }
}

@media (max-width: 768px) {
  .kcp-hero { border-radius: 0 0 24px 24px; min-height: 100vh; min-height: 100svh; }
  .kcp-hero__content { flex-direction: column; align-items: flex-start; padding: 0 28px 60px; gap: 24px; }
  .kcp-hero__title { font-size: clamp(44px, 12vw, 70px); }
  .kcp-hero__sub   { display: none; }
  .kcp-hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kcp-hero__right { text-align: left; }

  .kcp-facades { padding: 40px 28px; }
  .kcp-facade-card { width: 140px; }
  .kcp-facade-card__thumb { height: 96px; }

  .kcp-textblock { padding: 56px 28px; }

  /* Photo grid: стакаем в 2 колонки на мобайл */
  .kcp-photos { padding: 40px 28px 0; }
  .kcp-photos__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 10px;
  }
  .kcp-cell--a { grid-column: 1/3; grid-row: 1/2; }
  .kcp-cell--b { grid-column: 1/2; grid-row: 2/3; }
  .kcp-cell--c { grid-column: 2/3; grid-row: 2/3; }
  .kcp-cell--d { grid-column: 1/2; grid-row: 3/4; }
  .kcp-cell--e { grid-column: 2/3; grid-row: 3/4; }
  .kcp-cell--f { grid-column: 1/3; grid-row: 4/5; }

  .kcp-arch         { padding: 64px 28px; }
  .kcp-arch__header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .kcp-arch__grid   { grid-template-columns: 1fr; }

  .kcp-specs    { padding: 60px 28px; }
  .kcp-specs__cards { grid-template-columns: 1fr 1fr; }

  .kcp-catalog-wrap  { padding: 48px 16px; }
  .kcp-catalog-card  { grid-template-columns: 1fr; }
  .kcp-catalog-img   { height: 200px; display: block; }
  .kcp-catalog-text  { padding: 44px 36px; }

  .kcp-consult { grid-template-columns: 1fr; padding: 64px 28px; gap: 48px; }
  .kcp-services { padding: 60px 28px; }
  .kcp-services__grid { grid-template-columns: 1fr 1fr; }

  .kcp-related { padding: 60px 28px; }
  .kcp-related-trio {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 200px 200px;
    height: auto;
  }
}
