/* ======== Почему выбирают студию Нигай Design ======== */
.nigai-why-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    max-width: 1140px;
    margin: 60px auto 60px auto; /* верхний отступ! */
    padding: 0;
  }
  
  .nigai-why-text {
    width: 605px;
    min-width: 300px;
    height: 720px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
  }
  
  .nigai-why-title {
    font-family: 'Poiret One', Arial, sans-serif;
    font-size: 45px;
    color: #bca882;
    font-weight: 600; /* жирный! */
    margin: 0 0 40px 0;
    line-height: 1.1;
  }
  
  .nigai-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nigai-why-list li {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 80px;
    margin-bottom: 38px; /* увеличенное расстояние между пунктами */
  }
  
  .nigai-why-list li:last-child {
    margin-bottom: 0;
  }
  
  .nigai-why-num {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #bca882;
    color: #fff;
    font-family: 'Poiret One', Arial, sans-serif;
    font-size: 38px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(44,36,18,0.10);
    letter-spacing: 0.02em;
    user-select: none;
  }
  /* Вертикальная линия между кружками */
  .nigai-why-list li:not(:last-child) .nigai-why-num::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 4px;
    height: 58px;
    background: #bca882;
    z-index: 0;
  }
  .nigai-why-desc {
    margin-left: 24px;
    font-size: 25px;
    font-family: 'Poiret One', Arial, sans-serif;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
  }
  .nigai-why-img {
    width: 500px;
    height: 700px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(44,36,18,0.10);
    background: #fff;
  }
  .nigai-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Управление вертикальным положением текста (добавьте класс, если нужно) */
  .nigai-why-text.move-up   { margin-top: -30px; }
  .nigai-why-text.move-down { margin-top: 30px; }
  /* Адаптив */
  @media (max-width: 1100px) {
    .nigai-why-section {
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }
    .nigai-why-text, .nigai-why-img {
      width: 95vw;
      max-width: 600px;
    }
    .nigai-why-img {
      height: 350px;
      max-width: 500px;
    }
    .nigai-why-text {
      height: auto;
    }
  }
  @media (max-width: 700px) {
    .nigai-why-title {
      font-size: 45px;
      font-weight: 600;
      line-height: 45px;
    }
    .nigai-why-desc {
      font-size: 25px;
    }
    .nigai-why-list li {
      min-height: 48px;
      margin-bottom: 22px;
    }
    .nigai-why-num, .nigai-why-num {
      width: 60px;
      height: 60px;
      font-size: 50px;
    }
    .nigai-why-list li:not(:last-child) .nigai-why-num::after {
      width: 3px;
      height: 44px;
    }
    .nigai-why-img {
      height: 549px;
      max-width: 95vw;
    }
    .nigai-why-text {
      height: auto;
    }
  }

/* ======== Стена категорий ======== */
.nigai-category-wall {
  display: grid;
  grid-template-columns: 568px 568px;
  grid-template-rows: 325px 325px 325px;
  grid-template-areas:
    "kuhni garderobnye"
    "kuhni prikhozhiye"
    "shkafy shkafy"
    "vannaya korpusnaya";
  gap: 4px;
  max-width: 1140px;
  margin: 60px auto 0 auto;
  position: relative;
}
.nigai-category-wall__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,36,18,0.08);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nigai-category-wall__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  display: block;
}
.nigai-category-wall__item:hover {
  box-shadow: 0 0 0 4px #bca882, 0 8px 32px rgba(44,36,18,0.16);
  z-index: 2;
}
.nigai-category-wall__item:hover img {
  transform: scale(1.08);
}
.nigai-category-wall__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Poiret One', sans-serif;
  font-size: 65px;
  font-weight: 600;
  text-shadow: 0px 0px 30px rgba(0,0,0,0.7);
  margin: 0;
  text-align: center;
  pointer-events: none;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
/* Грид-позиции */
.nigai-category-wall__item--kuhni { grid-area: kuhni; height: 654px; }
.nigai-category-wall__item--garderobnyye { grid-area: garderobnye; height: 325px; }
.nigai-category-wall__item--prikhozhiye { grid-area: prikhozhiye; height: 325px; }
.nigai-category-wall__item--shkafy { grid-area: shkafy; height: 325px; }
.nigai-category-wall__item--vannaya { grid-area: vannaya; height: 325px; }
.nigai-category-wall__item--korpusnaya { grid-area: korpusnaya; height: 325px; }

/* Мобильная адаптация */
@media (max-width: 900px) {
  .nigai-category-wall {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 98vw;
    margin: 32px auto 0 auto;
  }
  .nigai-category-wall__item {
    width: 100%;
    height: auto !important;
    min-height: 180px;
    border-radius: 8px;
  }
  .nigai-category-wall__title {
    font-size: 36px;
    text-shadow: 0px 0px 16px rgba(0,0,0,0.7);
    }
  }