/* ===== HERO LUX FIXED ===== */

.cf-hero-lux {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #111;
}

/* ФОН */
.cf-hero-lux::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/custom-furniture/hero-bg.jpg') center center / cover no-repeat;
  transform: scale(1.06);
  animation: cfHeroMoveSmooth 10s ease-in-out infinite alternate;
  z-index: 0;
  will-change: transform;
}

@keyframes cfHeroMoveSmooth {
  from { transform: scale(1.06) translateX(-1.5%); }
  to   { transform: scale(1.06) translateX(1.5%); }
}

/* затемнение */
.cf-hero-lux__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.25) 100%
  );
  z-index: 1;
}

/* контент */
.cf-hero-lux__content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 760px;
  padding: 80px 20px 300px;
  display: grid;
  grid-template-columns: 1fr 640px;
  gap: 40px;
  align-items: center;
}

.cf-hero-lux__visual img {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 720px;
  max-width: none;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.45));
}

/* текст */
.cf-hero-lux__text {
  max-width: 640px;
  color: #fff;
}

.cf-hero-lux__text h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cf-hero-lux__text h3 {
  font-size: 20px;
  color: #d7b16f;
  margin-bottom: 20px;
}

.cf-hero-lux__text p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}

/* кнопка */
.cf-lux-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 36px;
  background: #d7b16f;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.cf-lux-btn:hover {
  transform: translateY(-3px);
  background: #c6a060;
}

/* УБИРАЕМ ПРОБЛЕМНЫЙ БЛОК С КАРТИНКОЙ */
.cf-hero-lux__visual {
  position: relative;
  z-index: 4;
  height: 520px;
  display: none !important;
}

/* НИЖНЯЯ ГЕОМЕТРИЯ */
.cf-hero-lux__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 350px;
  background: url('/images/custom-furniture/group-01.png') center bottom / 100% 100% no-repeat;
  z-index: 3;
  pointer-events: none;
}

/* мобильная версия */
@media (max-width: 991px) {
  .cf-hero-lux__content {
    padding: 80px 20px 200px;
  }

  .cf-hero-lux__text h1 {
    font-size: 40px;
  }
}

/* ВТОРОЙ БЛОК */
.cf-process {
  padding: 40px 20px 40px;
  background: linear-gradient(to bottom, #fff 0%, #ffffff 15%, #f7f7f7 28%, #f7f7f7 100%);
  margin-top: -40px;
}

.cf-process__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 4;
}

.cf-process__head h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cf-process__head p {
  color: #777;
  margin-bottom: 60px;
}

.cf-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cf-process__item {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.cf-process__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.cf-process__num {
  font-size: 28px;
  font-weight: 600;
  color: #c8a97e;
  margin-bottom: 15px;
}

.cf-process__item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.cf-process__item p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .cf-process__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cf-process__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {

  .cf-hero-lux {
    min-height: 760px;
    overflow: hidden;
  }

  .cf-hero-lux::before {
    background-size: cover;
    background-position: center center;
    transform: scale(1.12);
    animation: cfHeroMoveMobile 10s ease-in-out infinite alternate;
  }

  @keyframes cfHeroMoveMobile {
    from {
      transform: scale(1.12) translateX(-3%);
    }
    to {
      transform: scale(1.12) translateX(3%);
    }
  }

  .cf-hero-lux__content {
    display: block;
    min-height: 760px;
    padding: 45px 18px 210px;
  }

  .cf-hero-lux__text {
    max-width: 280px;
  }

  .cf-hero-lux__text h1 {
    font-size: 39px;
    line-height: 1.08;
    margin-bottom: 22px;
  }

  .cf-hero-lux__text h3 {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 24px;
  }

  .cf-hero-lux__text p {
    font-size: 18px;
    line-height: 1.6;
  }

  .cf-lux-btn {
    margin-top: 18px;
    padding: 15px 34px;
  }

  /* на мобилке 3D лучше убрать, он ломает композицию */
  .cf-hero-lux__visual {
    display: none !important;
  }

  .cf-hero-lux__bottom {
    bottom: -42px;
    height: 260px;
    background-size: 180% 100%;
    background-position: center bottom;
  }

  .cf-process {
    padding-top: 90px;
  }

  .cf-process__head h2 {
    font-size: 34px;
    line-height: 1.15;
  }
}
/* ===== VIDEO + TEXT BLOCK ===== */

.cf-video-lux {
  padding: 90px 20px;
  background: #f7f7f7;
}

.cf-video-lux__inner {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.cf-video-lux__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 35px 90px rgba(0,0,0,.16);
}

.cf-video-lux__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.cf-video-lux__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,0) 55%
  );
  pointer-events: none;
}

.cf-video-lux__content {
  padding: 72px 64px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cf-video-lux__content span {
  display: inline-block;
  margin-bottom: 18px;
  color: #c8a97e;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.cf-video-lux__content h2 {
  margin: 0 0 24px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 500;
  color: #242424;
}

.cf-video-lux__content > p {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.75;
  color: #666;
}

.cf-video-lux__points {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.cf-video-lux__points div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.cf-video-lux__points b {
  color: #c8a97e;
  font-size: 18px;
  font-weight: 600;
}

.cf-video-lux__points p {
  margin: 0;
  color: #3a3a3a;
  line-height: 1.55;
}

.cf-video-lux .cf-lux-btn {
  align-self: flex-start;
}

@media (max-width: 991px) {
  .cf-video-lux {
    padding: 70px 16px;
  }

  .cf-video-lux__inner {
    grid-template-columns: 1fr;
  }

  .cf-video-lux__media {
    min-height: 360px;
    border-radius: 18px;
  }

  .cf-video-lux__media video {
    border-radius: 18px;
  }

  .cf-video-lux__content {
    padding: 44px 28px;
    border-radius: 18px;
  }

  .cf-video-lux__content h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .cf-video-lux__media {
    min-height: 280px;
  }

  .cf-video-lux__content {
    padding: 38px 22px;
  }

  .cf-video-lux__content h2 {
    font-size: 28px;
  }

  .cf-video-lux__points div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* ===== REQUEST / CONTACT BLOCK ===== */

.cf-request-lux {
  padding: 0 20px 110px;
  background: #f7f7f7;
}

.cf-request-lux__inner {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.cf-request-lux__info,
.cf-request-lux__form {
  min-height: 620px;
  padding: 72px 64px;
  border-radius: 22px;
  box-shadow: 0 35px 90px rgba(0,0,0,.08);
}

.cf-request-lux__info {
  background:
    radial-gradient(circle at 90% 15%, rgba(200,169,126,.14), transparent 32%),
    #fff;
}

.cf-request-lux__form {
  background: #8a8a8a;
}

.cf-request-lux__info span,
.cf-request-lux__form span {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.cf-request-lux__info span {
  color: #c8a97e;
}

.cf-request-lux__form span {
  color: rgba(255,255,255,.85);
}

.cf-request-lux__info h2,
.cf-request-lux__form h3 {
  margin: 0 0 24px;
  line-height: 1.18;
  font-weight: 500;
}

.cf-request-lux__info h2 {
  font-size: 42px;
  color: #242424;
}

.cf-request-lux__form h3 {
  font-size: 42px;
  color: #fff;
}

.cf-request-lux__info > p {
  max-width: 640px;
  margin: 0 0 46px;
  font-size: 17px;
  line-height: 1.75;
  color: #666;
}

.cf-request-lux__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.cf-request-lux__contacts > div {
  min-height: 235px;
  padding: 22px 24px;
  background: #f7f7f7;
  border-radius: 14px;
}

.cf-request-lux__contacts > div:first-child,
.cf-request-lux__contacts > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cf-request-lux__contacts small {
  display: block;
  margin-bottom: 14px;
  color: #c8a97e;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 11px;
  font-weight: 700;
}

.cf-request-lux__contacts a {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  color: #242424;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
}

.cf-request-lux__contacts a:hover {
  color: #c8a97e;
  border-color: #c8a97e;
}

.cf-request-lux__contacts a[href^="tel:0800"] {
  margin-top: 8px;
  color: #c8a97e;
  font-weight: 700;
}

.cf-request-lux__time {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.cf-request-lux__contacts p {
  margin: 0;
  color: #242424;
  font-size: 16px;
  line-height: 1.7;
}

.cf-request-lux__form form {
  display: grid;
  gap: 20px;
}

.cf-request-lux__form input,
.cf-request-lux__form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: rgba(255,255,255,.92);
  padding: 20px 22px;
  border-radius: 0;
  font-size: 15px;
  color: #242424;
}

.cf-request-lux__form input::placeholder,
.cf-request-lux__form textarea::placeholder {
  color: #8a8a8a;
}

.cf-request-lux__form textarea {
  min-height: 150px;
  resize: vertical;
}

.cf-request-lux__form button {
  width: fit-content;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
  padding: 16px 36px;
  border-radius: 0;
  background: #383838;
  color: #fff;
  font-weight: 600;
  transition: .3s;
}

.cf-request-lux__form button:hover {
  transform: translateY(-3px);
  background: #c6a060;
  color: #fff;
}

@media (max-width: 991px) {
  .cf-request-lux {
    padding: 0 16px 90px;
  }

  .cf-request-lux__inner {
    grid-template-columns: 1fr;
  }

  .cf-request-lux__info,
  .cf-request-lux__form {
    min-height: auto;
    padding: 44px 28px;
    border-radius: 18px;
  }

  .cf-request-lux__info h2,
  .cf-request-lux__form h3 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .cf-request-lux__info,
  .cf-request-lux__form {
    padding: 38px 22px;
  }

  .cf-request-lux__contacts {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cf-request-lux__contacts a {
    font-size: 19px;
  }

  .cf-request-lux__info h2,
  .cf-request-lux__form h3 {
    font-size: 28px;
  }
}
.cf-request-lux__contacts {
  align-items: start;
}

.cf-request-lux__contacts > div {
  display: flex;
  flex-direction: column;
}

.cf-request-lux__time {
  margin-top: auto;
  padding-top: 18px;
}
/* FIX: кнопка над маской */

.cf-hero-lux__content {
  padding-bottom: 300px !important;
}

.cf-hero-lux__content .cf-lux-btn {
  position: relative;
  z-index: 10;
  margin-top: 36px;
}

.cf-hero-lux__bottom {
  z-index: 1;
}

/* HERO ANIMATION FINAL — SAME SPEED DESKTOP / MOBILE */

.cf-hero-lux::before {
  background-size: cover !important;
  background-position: center center !important;
  transform: scale(1.06) translate3d(-2%, 0, 0);
  animation: cfHeroMoveFinal 8s ease-in-out infinite alternate !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes cfHeroMoveFinal {
  from {
    transform: scale(1.06) translate3d(-2%, 0, 0);
  }

  to {
    transform: scale(1.06) translate3d(2%, 0, 0);
  }
}

@media (max-width: 640px) {
  .cf-hero-lux::before {
    transform: scale(1.1) translate3d(-2%, 0, 0);
    animation: cfHeroMoveFinalMobile 8s ease-in-out infinite alternate !important;
  }

  @keyframes cfHeroMoveFinalMobile {
    from {
      transform: scale(1.1) translate3d(-2%, 0, 0);
    }

    to {
      transform: scale(1.1) translate3d(2%, 0, 0);
    }
  }
}