@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
:root {
  --color-green: #064a2f;
  --accent-color-orange: #d99d78;
  --accent-color-green: #6bb77b;

  --sb-track-color: rgb(228, 226, 226);
  --sb-thumb-color: #064a2f;
  --sb-size: 5px;

  --transition: all, 0.3s;
  --border-radius-card: 10px;
  --box-shadow-div: 5px 5px 15px rgba(0, 0, 0, 0.3);
  --index: calc(1vw + 1vh);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(at center, white, var(--color-green) 300%);
}
header {
  color: white;
}
main {
  position: relative;
  color: black;
  flex: 1 1 auto;
  &::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: radial-gradient(at center, white, var(--color-green) 300%);
    z-index: -1;
  }
}
section {
  padding-top: calc((var(--index) * 4));
  padding-bottom: calc((var(--index) * 3));
}
.section__title-span {
  color: var(--accent-color-orange);
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}
h2,
h3 {
  font-weight: 600;
}
h2 {
  text-align: left;
}
p {
  text-align: justify;
}
a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  & svg {
    margin-right: 5px;
  }
}
ul {
  margin: 0;
  padding: 0;
  & li {
    list-style: none;
    width: 100%;
    display: inline-block;
  }
}
input,
textarea {
  border-radius: 0 !important;
}
.btn-main {
  padding: 20px 50px;
  background: var(--accent-color-orange);
  color: black;
  display: inline-block;
  transition: var(--transition);
}
.row {
  margin: auto;
}
/* scrollbar */
body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 1px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
/* scrollbar-end */
.text-anim {
  opacity: 0;
  -webkit-transform: translateY(150px);
  -ms-transform: translateY(150px);
  transform: translateY(150px);
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.text-active {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
/* header */
nav {
  background: var(--color-green);
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  height: 60px;
}

.nav__logo-link {
  & img {
    border-radius: 10%;
    width: 50px;
  }
  & span {
    color: var(--accent-color-orange);
    margin-left: 10px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  & li {
    white-space: nowrap;
  }
}

.nav-links a {
  position: relative;
  padding: 5px;
  color: inherit;
  font-size: 16px;
  transition: color 0.3s;
  overflow: hidden;
  display: block;
}
.nav-links a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--accent-color-orange);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition);
}

.nav-links li:hover {
  & a {
    color: black;
  }
  & a::before {
    transform: translateY(0);
  }
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s;
}
@media (min-width: 991px) {
  .nav-links li.active {
    & a {
      color: black;
    }
    & a::before {
      transform: translateY(0);
    }
  }
}
@media (max-width: 991px) {
  .hamburger {
    display: block;
  }
  /* -- */
  .nav-container {
    padding: 0;
    & .nav-phone {
      & a {
        font-weight: 400;
      }
    }
  }
  .logo-brand {
    text-align: center; /* Центрируем содержимое */
    padding-top: 5px;
  }

  .nav__logo-link {
    display: flex;
    flex-direction: column; /* Ставим элементы в колонку: картинка сверху, текст снизу */
    align-items: center; /* Центрируем по горизонтали */
    justify-content: center;
    font-size: 12px;
    & span {
      margin: 0;
      font-weight: 400;
    }
  }

  .nav__logo-link img {
    width: 30px;
    margin-bottom: 5px; /* Отступ между изображением и текстом */
  }
  .nav-links {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    max-height: 500px;
    padding: 30px 0;
    box-shadow: none;
    background: var(--color-green);
  }

  .hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

.header {
  position: relative;
  height: 100svh;
  & .header__bg-img {
    position: absolute;
    z-index: -2;
    left: 0;
    top: 55px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }

  & .header-content-row {
    color: aliceblue;
    height: 100%;
    & h1 {
      font-weight: 600;
      -webkit-animation-name: animTextUp;
      animation-name: animTextUp;
      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
      -webkit-animation-delay: 0.5s;
      animation-delay: 0.5s;
    }
    & li {
      display: flex;
      -webkit-animation-name: animTextDown;
      animation-name: animTextDown;
      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
      -webkit-animation-delay: 0.8s;
      animation-delay: 0.8s;
    }
    & .btn-main {
      -webkit-animation-name: animTextDown;
      animation-name: animTextDown;
      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
      -webkit-animation-delay: 0.8s;
      animation-delay: 0.8s;
    }
    & li::before {
      content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm10.03 4.97a.75.75 0 0 1 .011 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.75.75 0 0 1 1.08-.022z" fill="%23d99d78"/></svg>');
      width: 20px;
      height: 20px;
      margin-right: 8px;
      flex-shrink: 0;
    }
  }
}
/* animText */
@-webkit-keyframes animTextUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes animTextUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
/* ------ */
@-webkit-keyframes animTextDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  90% {
    -webkit-transform: none;
    transform: none;
  }
  100% {
    opacity: 1;
  }
}

@keyframes animTextDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  90% {
    -webkit-transform: none;
    transform: none;
  }
  100% {
    opacity: 1;
  }
}
/* animText-end */
.header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 1));
  z-index: -1;
}

/* header-end */

/* main */
/* slider-projects */
/* Контейнер слайдера */
.slider {
  overflow: hidden;
  position: relative;
  aspect-ratio: 2 /1;
  box-shadow: var(--box-shadow-div);
}
/* Контейнер слайдов */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
/* Каждый слайд занимает 100% ширины контейнера */
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: #fff;
  /* -- */
  position: relative;
  & img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Стрелки навигации */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5em;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Пагинация */
.pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
}
.pagination-dot.active {
  background-color: rgba(255, 255, 255, 1);
}
/* slider-projects-end */
.why-furniture {
  & h4 {
    font-weight: 600;
  }
}
.why-furniture__card {
  border-bottom: 2px solid var(--accent-color-orange);
}

.steps {
  & .steps__card {
    background: var(--color-green);
    color: white;
    padding: 30px;
    height: 100%;
    box-shadow: var(--box-shadow-div);
  }
  & .steps-num {
    font-size: 90px;
    font-weight: 600;
    color: var(--accent-color-orange);
    transition: all 0.5s;
  }
  & .steps__card:hover .steps-num {
    font-size: 100px;
  }
}

.order-us {
  & a {
    text-decoration: underline;
    font-weight: 600;
    color: var(--accent-color-orange);
  }
}
/* products */
.products__card {
  overflow: hidden;
  height: 18rem;
  box-shadow: var(--box-shadow-div);
  padding-bottom: 8px;
  background: var(--color-green);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  & img {
    object-fit: cover;
    object-position: center;
    transition: all 0.8s;
  }
  & .products__card__title {
    text-align: center;
  }
  & a {
    padding: 5px 20px;
  }
  & .more-link {
    background: transparent;
    color: var(--accent-color-orange);
  }
  &:hover img {
    transform: scale(1.3);
  }
}

.col-anim:nth-child(odd) {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.8s;
}
.col-anim:nth-child(even) {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s;
}
.col-anim.active {
  transform: translateX(0);
  opacity: 1;
}

/* products-end */
/* form */
.section__form {
  scroll-margin-top: 140px;
  background: var(--color-green);
  padding: 0;
  margin-bottom: 50px;
  color: white;
}

.form__container-img-block {
  position: relative;
  & img {
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.btn-form {
  padding: 10px 50px;
  background: var(--accent-color-orange);
  color: black;
  display: inline-block;
  transition: var(--transition);
  border: 0;
}
/* form-end */

/* main-end */

/* footer */
footer {
  color: white;
  position: relative;
  & p {
    margin: 0;
  }
  & svg {
    fill: var(--accent-color-orange);
  }
  & .footer-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 80%;
    z-index: -2;
  }
  & .text-list {
    & li {
      display: flex;
      & p {
        text-align: left;
      }
    }
    & li::before {
      content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm10.03 4.97a.75.75 0 0 1 .011 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.75.75 0 0 1 1.08-.022z" fill="%23d99d78"/></svg>');
      width: 20px;
      height: 20px;
      margin-right: 8px;
      flex-shrink: 0;
    }
  }
}
footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.7);
}
.footer__logo-box {
  & p {
    font-weight: 600;
    color: var(--accent-color-orange);
    margin-top: 5px;
  }
  & img {
    border-radius: 10%;
  }
}
/* footer-end */

/* +++++++++ */
@media (max-width: 1200px) {
  .row-product__card {
    gap: 1rem;
  }
}
@media (max-width: 767px) {
  header {
    & img {
      object-position: 15% center;
    }
  }
  .header::before {
    background: rgba(0, 0, 0, 0.5);
  }
  .slider {
    aspect-ratio: 8 /5;
  }
  .arrow {
    display: none;
  }
    .row-product__card {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* +++++++++ */
@media (hover: hover) {
  .btn-main:hover {
    background: var(--color-green);
    color: white !important;
  }
  .btn-form:hover {
    background: var(--accent-color-green);
  }

  /* main */
}
/* -------- */
@media (hover: none) {
  .btn-main:active {
    background: var(--color-green);
    color: white !important;
  }
}
