/* Hero страницы кухни */
.hero-kitchen {
  background: url("/images/main-kitchen.webp") center / cover no-repeat #111;
}

@media(max-width:600px){
  .hero-kitchen { background-position: center top; }
}

/* ===== Микшер подсветки кухни ===== */
.mixer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.mixer-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  /* isolation, чтобы blend-mode не «протекал» на тёмный фон секции */
  isolation: isolate;
}

.mixer-base {
  display: block;
  width: 100%;
  height: auto;
}

.mixer-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: lighten;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

/* --- каналы --- */
.mixer-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.channel-toggle {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.channel-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: box-shadow .25s ease, filter .25s ease;
  filter: saturate(.4) brightness(.6);
}

.dot-3000 { background: #ffb46b; }
.dot-4000 { background: #fff3dc; }
.dot-6000 { background: #cfe4ff; }

/* включённое состояние — точка «светится» */
.mixer-channel.is-on .channel-dot { filter: none; }
.mixer-channel.is-on .dot-3000 { box-shadow: 0 0 14px 3px rgba(255,180,107,.8); }
.mixer-channel.is-on .dot-4000 { box-shadow: 0 0 14px 3px rgba(255,243,220,.8); }
.mixer-channel.is-on .dot-6000 { box-shadow: 0 0 14px 3px rgba(207,228,255,.8); }

.channel-body { flex: 1; }

.channel-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ddd;
}

.channel-value {
  font-variant-numeric: tabular-nums;
  color: #999;
}

/* --- слайдеры --- */
.channel-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
  outline: none;
  cursor: pointer;
}

.channel-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  cursor: grab;
}
.channel-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  cursor: grab;
}

.slider-3000::-webkit-slider-thumb { background: #ffb46b; }
.slider-4000::-webkit-slider-thumb { background: #fff3dc; }
.slider-6000::-webkit-slider-thumb { background: #cfe4ff; }
.slider-3000::-moz-range-thumb { background: #ffb46b; }
.slider-4000::-moz-range-thumb { background: #fff3dc; }
.slider-6000::-moz-range-thumb { background: #cfe4ff; }

/* --- пресеты --- */
.mixer-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.preset-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #ddd;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s ease;
}

.preset-btn:hover {
  border-color: #ffb46b;
  color: #fff;
}

.mixer-hint {
  margin-top: 18px;
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}

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

/* ===== Подсказка-указатель ===== */
.mixer-controls { position: relative; }

.mixer-cue {
  position: absolute;
  /* по центру колонки, на уровне слайдера первого канала */
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: .85;
  transition: opacity .4s ease;
}

.mixer-cue.is-hidden {
  opacity: 0;
}

.cue-hand {
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
  animation: cue-drag 2.2s ease-in-out infinite;
}

.cue-text {
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 16px;
  white-space: nowrap;
  animation: cue-fade 2.2s ease-in-out infinite;
}

/* рука «тянет» влево-вправо, как ползунок */
@keyframes cue-drag {
  0%   { transform: translateX(0)     rotate(-8deg); }
  50%  { transform: translateX(-46px) rotate(8deg); }
  100% { transform: translateX(0)     rotate(-8deg); }
}

@keyframes cue-fade {
  0%, 100% { opacity: .7; }
  50%      { opacity: 1; }
}

/* ===== Пульс на кнопке-выключателе первого канала ===== */
.mixer-channel.has-pulse .channel-toggle {
  animation: cue-pulse 2.2s ease-out infinite;
}

@keyframes cue-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,180,107,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(255,180,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,180,107,0); }
}

@media (max-width: 600px) {
  .cue-hand { font-size: 26px; }
}

/* ===== Иллюстрации кухонь ===== */

.card-illustration {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  display: block;
}

/* Выравнивание картинок в split-блоке по нижнему краю */
.split-align {
  align-items: stretch;
}

.split-align > div {
  display: flex;
  flex-direction: column;
}

.split-align .card-illustration {
  margin-top: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}