* {
  box-sizing: border-box;
}

*::before {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 50px;
  background-color: #EFEFEF;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 700;
  font-size: 70px;
  line-height: 110px;
  color: #E6C7AC;
  margin: 0;
}

h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  color: #171718;
  margin: 0;
}

h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #171718;
  margin: 0;
}

.seo-text {
  font-weight: 500;
  font-size: 26px;
  line-height: 50px;
  color: #474747;
}

.text {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #474747;
}

a {
  text-decoration: none;
  color: #FFF;
}

.input {
  background-color: #FFFFFF;
  border: 1px solid #E5C7AC;
  border-radius: 5px;
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #666666;
  padding: 14px 55px 14px 15px;
  outline: none;
  transition: 0.25s;
  width: 100%;
}

.input::placeholder {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #666666;
}

.input-box {
  position: relative;
}

.input-box::before {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  height: 24px;
  width: 24px;
}

.input-box.error::before {
  background-image: url(../img/input/error.svg);
}

.input-box.success::before {
  background-image: url(../img//input/check.svg);
}

.input:focus {
  border: 1px solid #B39377;
}

.input-box.error .input {
  color: #D86335;
  border: 1px solid #D86335;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 35px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #FFF;
  border-radius: 5px;
  background: linear-gradient(180deg, #D86335 0%, #9C4624 100%);
  border: none;
  cursor: pointer;
}

.button:hover {
  background: #D86335;
}

.button:active {
  background: #9C4624;
}

.button:disabled {
  background: linear-gradient(180deg, #D86335 0%, #9C4624 100%);
  opacity: 0.5;
}

.button-blur {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 33px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #FFFFFF;
  backdrop-filter: blur(15px);
  border-radius: 5px;
}

.btn-burger {
  margin-left: 10px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 30px;
  width: 30px;
  background-color: transparent;
  padding: 4px 2px;
  border: none;
  cursor: pointer;
  transition: 0.25s;
}

.line {
  height: 2px;
  width: 100%;
  background: #B39377;
  border-radius: 6px;
}

.line:nth-child(2) {
  width: 80%;
}

.btn-burger.active {
  background-image: url(../img/mobile-menu/close.svg);
}

.btn-burger.active .line {
  display: none;
}

.container {
  max-width: 1360px;
  margin: auto;
}

/* HEADER */

.header {
  padding-top: 23px;
  padding-bottom: 32px;
  background-color: #383838;
}

.header-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-logo a {
  display: flex;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-info {
  display: flex;
  align-items: center;
}

.phone-link-mobile {
  display: none;
}

.header-block {
  display: flex;
}

.header-social {
  margin-left: 67px;
  margin-right: 30px;
  display: flex;
  align-items: center;
}

.mail-link {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-decoration-line: underline;
}

.mail-link img {
  height: 15px;
  margin-right: 15px;
}

.whatsapp-link {
  margin-left: 15px;
}

.phone-link {
  position: relative;
  margin-left: 15px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: center;
}

.phone-link img {
  margin-right: 15px;
}

.header-button {
  box-shadow: -3px -3px 10px rgba(164, 164, 164, 0.25), 3px 3px 10px rgba(36, 36, 36, 0.8);
}

/* MOBILE */

.mobile-menu {
  /* display: none; */
  padding: 30px 15px;
  position: fixed;
  top: 100px;
  left: 100%;
  width: 100%;
  height: calc(100% - 100px);
  background-color: #E5C7AC;
  overflow: auto;
  z-index: 100;
  transition: 0.25s;
}

.mobile-menu.active {
  left: 0;
}

.mobile-input {
  margin-bottom: 30px;
}

.mobile-nav {
  list-style-type: none;
  margin-bottom: 30px;
}

.mobile-link {
  position: relative;
  margin-bottom: 10px;
}

.mobile-link a {
  position: relative;
  display: flex;
  padding: 10px 0;
  padding-left: 19px;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #474747;
  transition: 0.25s;
}

.mobile-link a::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 8px;
  width: 4px;
  background-image: url(../img/marker.svg);
}

.mobile-link a:hover {
  color: #9C4624;
}

.mobile-link a:hover::before {
  background-image: url(../img/marker-active.svg);
}

.mobile-block {
  padding-left: 20px;
  margin-bottom: 30px;
}

.mobile-title {
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 20px;
}

.mobile-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-phone {
  display: flex;
  margin-right: 10px;
  align-items: center;
}

.mobile-phone span {
  font-size: 15px;
  line-height: 24px;
  color: #3E0B3D;
  margin-left: 10px;
}

.mobile-telegramm {
  display: flex;
  margin-right: 10px;
}

.mobile-whatsapp {
  display: flex;
}

.mobile-map {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-map span {
  font-size: 15px;
  line-height: 22px;
  color: #3E0B3D;
  margin-left: 10px;
}

.mobile-mail {
  display: flex;
  align-items: center;
}

.mobile-mail span {
  font-size: 15px;
  line-height: 22px;
  text-decoration-line: underline;
  color: #3E0B3D;
  margin-left: 10px;
}

.mobile-button {
  margin: auto;
}

.mobile-social {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-social a {
  display: flex;
  margin: 0 5px;
}

/* MAIN */

.main {
  position: relative;
  background-color: #383838;
  padding-top: 40px;
  padding-bottom: 183px;
  margin-bottom: 217px;
}

.main-wrapper {
  display: flex;
}

.main-title {
  margin-bottom: 30px;
}

.main-title-mobile {
  display: none;
}

.main-text-mobile {
  display: none;
}

.main-right {
  min-width: 660px;
  margin-left: 40px;
}

.main-text {
  margin-bottom: 45px;
  color: #FFF;
}

.main-left .main-text {
  max-width: 410px;
}

.main-right .main-text {
  margin-bottom: 85px;
}

.main-button {
  box-shadow: -3px -3px 10px rgba(164, 164, 164, 0.25), 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.main-img {
  position: relative;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  height: 720px;
  width: 660px;
}

.image img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  position: relative;
  z-index: 10;
}

.main-img .image::before {
  position: absolute;
  content: '';
  top: -40px;
  right: -40px;
  width: 100%;
  height: 100%;
  border: 2px solid #9C4624;
  z-index: 1;
  box-sizing: border-box;
}

.main-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #9C4624;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  margin: 0;
  padding: 0;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 20;
}

/* SUBMAIN */

.submain {
  position: relative;
  padding-top: 110px;
  padding-bottom: 80px;
}

.submain::before {
  position: absolute;
  content: '';
  top: 110px;
  right: 0;
  height: calc(100% - 190px);
  width: 50%;
  background-color: #E5C7AC;
}

.submain-wrapper {
  display: flex;
  position: relative;
  background-color: #E5C7AC;
  padding: 60px 0 60px 550px;
}

.submain-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 150px;
  background-color: #EFEFEF;
}

.submain-text {
  color: #474747;
}


.submain-img {
  position: absolute;
  top: -60px;
  left: 0;
  width: 520px;
  height: 520px;
}

.submain-img::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  bottom: 40px;
  right: 40px;
  border: 2px solid #9C4624;
}

.submain-img img {
  position: relative;
  z-index: 10;
}

.advantage {
  background-color: #383838;
  padding: 50px 0;
}

.advantage-title {
  padding-top: 30px;
  margin-bottom: 40px;
  position: relative;
  color: #E5C7AC;
  text-align: center;
}

.advantage-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;

}

.advantage-wrapper {
  display: flex;
  justify-content: space-between;
}

.advantage-box {
  text-align: center;
  flex-basis: 30%;
}

.advantage-img {
  margin-bottom: 20px;
}

.advantage-text {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
}

/* WORK */

.work {
  position: relative;
  margin-bottom: 80px;
  padding: 40px 0 20px 0;
}

.work-title {
  position: relative;
  padding-top: 30px;
  margin-bottom: 10px;
  color: #171718;
  text-align: center;
}

.work-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background: #9C4624;
}

.work-subtitle {
  color: #474747;
  margin-bottom: 40px;
  text-align: center;
}

.work-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.work-wrapper:not(:first-child) {
  margin-top: 30px;
}

.work-hidden {
  display: none;
}

.work-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 500px;
  padding-bottom: 30px;
}

.work-block::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  cursor: pointer;
  transition: 0.25s;
  z-index: 2;
}

.work-block:hover::before {
  background-color: #171718;
  opacity: 0.6;
}

.work-block__gallery {
  display: none;
}

.work-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.work-info {
  position: relative;
  min-height: 500px;
  grid-column: 1 / 3;
}

.work-info::before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  height: 100%;
  background-image: url(../img/background-work.png);
  z-index: 1;
  width: 100vw;
  background-position-x: right;
  background-position-y: bottom;
  background-repeat: no-repeat;
  background-color: #E5C7AC;
}

.work-info h3 {
  margin-bottom: 20px;
}

.work-info-content {
  height: 100%;
  padding: 55px 0;
  max-width: 490px;
}

.work-text {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #474747;
}

.work-info-content {
  position: relative;
  z-index: 10;
}

.work-box {
  margin-bottom: 30px;
}

.work-box:last-child {
  margin-bottom: 0;
}

.work-button {
  position: relative;
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 30px;
  z-index: 10;
  cursor: pointer;
}

.work-block:hover .work-button {
  padding: 0 35px;
  background: linear-gradient(180deg, #D86335 0%, #9C4624 100%);
  box-shadow: -3px -3px 10px rgba(164, 164, 164, 0.25), 3px 3px 10px rgba(36, 36, 36, 0.8);
  border: none;
}

.work-content {
  opacity: 0;
  visibility: hidden;
  position: relative;
  z-index: 10;
  flex-grow: 1;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 60px;
  transition: 0.25s;
  cursor: pointer;
}

.work-content img {
  display: block;
  margin: 0 auto 65px;
}

.work-content-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.work-list {
  margin: 0;
  padding: 0;
  padding-left: 20px;
}

.work-item {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #FFFFFF;
}

.work-block:hover .work-content {
  opacity: 1;
  visibility: visible;
}

.work-scroll {
  position: absolute;
  left: 50%;
  bottom: -85px;
  transform: translateX(-50%);
  z-index: 10;
  content: '';
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #9C4624;
  text-align: center;
  min-width: 300px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.work-scroll-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #9C4624;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  margin: 0 auto 20px;
  padding: 0;
  cursor: pointer;
}

.work-scroll-image img {
  height: 35px;
}

/* REQUEST */

.request {
  padding: 80px 0;
}

.request-title span {
  color: #9C4624;
}

.request-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.request-form {
  flex-grow: 1;
}

.request-title {
  position: relative;
  padding-top: 30px;
  margin-bottom: 30px;
  color: #171718;
}

.request-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background: #9C4624;
}

.request-input {
  margin-bottom: 30px;
}

.request-button {
  margin: auto;
}

.request-img {
  position: relative;
  height: 477px;
  margin-left: 30px;
}

.request-img::before {
  position: absolute;
  content: '';
  top: 40px;
  left: 40px;
  height: 100%;
  width: 100%;
  border: 2px solid #9C4624;
  box-sizing: border-box;
}

.request-img img {
  position: relative;
  z-index: 10;
}

/* CONSULTATION */

.consultation {
  padding: 80px 0;
  position: relative;
}

.consultation::before {
  position: absolute;
  content: '';
  top: 80px;
  right: 0;
  height: calc(100% - 160px);
  width: 50%;
  background-color: #E5C7AC;
}

.consultation-wrapper {
  position: relative;
  padding: 42px 0 42px 660px;
  background-color: #E5C7AC;
}

.consultation-wrapper::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 100%;
  width: 148px;
  background-color: #EFEFEF;
}

.consultation-image {
  height: 432px;
  width: 630px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.consultation-image::before {
  position: absolute;
  content: '';
  top: 40px;
  right: 40px;
  height: 100%;
  width: 100%;
  border: 2px solid #9C4624;
  box-sizing: border-box;
}

.consultation-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 10;
}

.consultation-title {
  position: relative;
  padding-top: 30px;
}

.consultation-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;
}

.consultation-subtitle {
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  color: #D86335;
  margin-bottom: 30px;
}

.consultation-input {
  margin-bottom: 30px;
}

/* PRODUCTS */

.products {
  padding: 80px 0;
}

/* splide arrows */
.products__splide-arrows{
  position: absolute;
  width: 110px;
  height: 40px;
  top: 160px;
  right: 0;

  display: flex;
  justify-content: space-between;
}

.products__splide-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  background: none;
  border: 2px solid #9C4624;
}

.products__splide--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
}


.products-title {
  position: relative;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 30px;
}

.products-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;
}

.products-tabs {
  padding: 0;
  list-style-type: none;
  display: flex;
  position: relative;
  margin-bottom: 30px;
}

.products-tabs::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #9C4624;
}

.products-tab {
  padding: 20px 30px;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #C4C4C4;
  margin-right: 8px;
  border: 2px solid #C4C4C4;
  border-radius: 6px 6px 0px 0px;
  cursor: pointer;
}

.products-tab.active {
  position: relative;
  border: 2px solid #9C4624;
  border-bottom: 2px solid #EFEFEF;
  color: #171718;
}

.products-image {
  position: relative;
  flex-grow: 1;
  margin-right: 30px;
}

.products-image::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  left: -40px;
  bottom: -40px;
  border: 1px solid #9C4624;
}

.products-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-content {
  display: none;
}

.products-content.active {
  display: flex;
  justify-content: space-between;
}

.products-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-block {
  margin-top: 42px;
}

.products-info-title {
  font-weight: 600;
  font-size: 30px;
  line-height: 50px;
  color: #171718;
  margin-bottom: 20px;
}

.products-info-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #171718;
  margin-bottom: 20px;
}

.products-materials {
  margin: 0;
  padding-left: 20px;
}

.products-item {
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  color: #474747;
}

.products-pagination {
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
  bottom: -13px;
  font-size: 2px;
}

.products-page {
  background: #D9D9D9;
  height: 2px;
  width: 10px;
  border-radius: 0;
  margin: 0;
  margin-right: 5px;
}

.products-page.is-active {
  background: #9C4624;
  transform: none;
}

#thumbnail-carousel .splide__track--nav>.splide__list>.splide__slide {
  border: none;
}

.arrow-prev {
  width: 40px;
  height: 40px;
  background: transparent;
  rotate: 90deg;
}

.arrow-next {
  width: 40px;
  height: 40px;
  background: transparent;
  rotate: -90deg;
}

/* QUESTIONS */

.questions-title {
  position: relative;
  padding-top: 30px;
  margin-bottom: 40px;
  color: #171718;
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  text-align: center;
}

.questions-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;
}

.questions-answer {
  /* display: none; */
  font-size: 15px;
  line-height: 25px;
  padding-top: 8px;

  /* test */
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: calc(100% - 50px);
}

.questions-panel {
  position: relative;
  transition: 0.25s;

  margin-bottom: 30px;
  border-radius: 5px;
  background: #FFFFFF;
  padding: 25px;
  cursor: pointer;
}

.questions-panel.active {
  background: #E5C7AC;
}

.questions-panel.active .questions-img {
  rotate: 180deg;
}

.questions-panel.active .questions-answer {
  /* display: block; */
  /* position: static; */
  opacity: 1;
  visibility: visible;
}

.questions-img {
  margin-left: 10px;
}

.questions-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.questions-box:last-child {
  margin: 0;
}

/* MEET */

.meet {
  background-color: #383838;
  margin-top: 95px;
}

.meet-block {
  max-width: 850px;
}

.meet-title {
  position: relative;
  color: #E5C7AC;
  display: inline-block;
  margin-bottom: 20px;
  padding-top: 30px;
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
}

.meet-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;
  text-align: center;
}

.meet-wrapper {
  position: relative;
  padding: 50px 0;
}

.meet-text {
  font-weight: 500;
  font-size: 26px;
  line-height: 50px;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.meet-img {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* FOOTER */

.footer {
  position: relative;
  padding: 115px 0;
  background-image: url(../img/footer/background.png);
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-size: 700px;
}

/* .footer::before {
  position: absolute;
  content: '';
  background-image: url(../img/footer/background.png);
  left: 0;
  bottom: 0;
  height: 100%;
  width: 40%;
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-size: contain;
} */

.footer-aboutus-title {
  margin-bottom: 20px;
}

.footer-title {
  position: relative;
  color: black;
  display: inline-block;
  margin-bottom: 30px;
  padding-top: 30px;
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
}

.footer-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background-color: #9C4624;
  text-align: center;
}

.footer-wrapper {
  padding-left: 440px;
}

.footer-aboutus {
  display: flex;
  margin-bottom: 73px;
}

.footer-contacts {
  margin-right: 112px;
}

.footer-phone span {
  margin-left: 15px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #171718;
}

.footer-phone,
.footer-mail {
  display: flex;
  align-items: center;

}

.footer-phone {
  margin-bottom: 20px;
}

.footer-mail span {
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  margin-left: 15px;
  text-decoration: underline;
  color: #171718;
}

.footer-geo {
  display: flex;
  align-items: flex-start;
}

.footer-block {
  margin-left: 16px;
}

.footer-block-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #171718;
  margin-bottom: 12px;

}

.footer-block p {
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #474747;
}

.footer-social {
  display: flex
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}


/* MODAL */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #383838;
  opacity: 0.7;
}

.modal-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100vh - 5%);
  overflow: auto;
  min-width: 640px;
}

.modal-content {
  background-color: #E5C7AC;
  border: 2px solid #9C4624;
  padding: 40px 64px 45px 64px;
  z-index: 101;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: linear-gradient(180deg, #D86335 0%, #9C4624 100%);
  border: none;
  border-radius: 6px 6px 0px 0px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  position: relative;
  bottom: -1px;
}

.modal-title {
  padding-top: 30px;
  position: relative;
  text-align: center;
}

.modal-title::before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 2px;
  background: #9C4624;
}

.modal-subtitle {
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  color: #D86335;
  text-align: center;
  margin-bottom: 30px;
}

.modal-input {
  margin-bottom: 30px;
}

.modal-button {
  margin: auto;
}

.notyf__message {
  font-size: 16px;
}

/* MEDIA */

@media (max-width: 1850px) {
  .footer {
    background-position-x: -100px;
  }
}

@media (max-width: 1620px) {
  .footer {
    background-position-x: -180px;
  }
}

@media (max-width: 1460px) {
  .container {
    max-width: 1150px;
  }

  /* MAIN */

  .main {
    padding-bottom: 163px;
    margin-bottom: 160px;
  }

  .main-right {
    min-width: 555px;
  }

  .image {
    width: 558px;
    height: 650px;
  }

  .main-text {
    font-size: 26px;
    margin-bottom: 80px;
  }

  .main-title {
    font-size: 60px;
    line-height: 100px;
    margin-bottom: 40px;
  }

  /* SUBMAIN */

  .submain-img {
    width: 458px;
  }

  .submain-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .submain-wrapper {
    padding-bottom: 50px;
    padding-left: 488px;
  }

  .submain-text {
    font-size: 26px;
  }

  /* REQUEST */

  .request-img {
    height: 428px;
  }

  .request-img img {
    object-fit: cover;
    height: 100%;
  }

  .request-title {
    font-size: 30px;
    line-height: 50px;
  }

  /* WORK */

  .work-title {
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 20px;
  }

  .work-subtitle {
    font-size: 26px;
  }

  /* CONSULTATION */

  .consultation-image {
    width: 558px;
  }

  .consultation-wrapper {
    padding-left: 588px;
  }

  /* MEET */

  .meet-block {
    max-width: 754px;
  }

  .meet-img {
    right: -40px;
  }

  /* FOOTER */

  .footer {
    background-position-x: -100px;
    background-size: 48%;
  }
}

@media (max-width: 1300px) {
  .container {
    max-width: 1140px;
  }

  /* MAIN */

  .image {
    width: 500px;
  }

}

@media (max-width: 1250px) {
  .container {
    max-width: 960px;
  }

  /* HEADER */

  .header-block {
    flex-direction: column;
  }

  .header-social {
    margin-left: 0;
  }

  /* MAIN */

  .main-right {
    min-width: auto;
  }

  .image {
    width: 400px;
    height: 600px;
  }

  /* REQUEST */

  .request-img {
    height: 350px;
  }

  /* WORK */

  .work-info::before {
    background-size: 750px;
  }

  /* PRODUCTS */

  .products-tab {
    padding: 15px;
  }

  /* CONSULTATION */

  .consultation-wrapper {
    padding-left: 480px;
  }

  .consultation-image {
    width: 450px;
  }

  /* MEET */

  .meet-text {
    max-width: 600px;
    font-size: 20px;
    line-height: 35px;
  }

  .meet-img {
    height: 650px;
    right: 0;
  }

  /* FOOTER */

  .footer {
    background-size: 55%;
  }

  .footer-aboutus {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .footer-contacts {
    margin-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 1070px) {
  .container {
    max-width: 720px;
  }

  /* HEADER */

  .header-social {
    margin-right: 0;
  }

  .header-block {
    margin-right: 15px;
  }

  /* MAIN */

  .main-title {
    font-size: 30px;
    line-height: 50px;
  }

  .main-text {
    font-size: 20px;
    line-height: 35px;
  }

  .main-left,
  .main-right {
    flex-basis: 50%;
  }

  .image {
    width: 300px;
    height: 450px;
  }

  .main-img .image::before {
    top: -20px;
    right: -20px;
  }

  .main-scroll {
    width: 100px;
    height: 100px;
    bottom: -50px;
  }

  .main-scroll img {
    height: 35px;
  }

  /* SUBMAIN */

  .submain {
    padding-top: 30px;
  }

  .submain::before {
    top: 30px;
    height: calc(100% - 110px);
  }

  .submain-text {
    font-size: 20px;
    line-height: 35px;
  }

  .submain-img {
    top: -30px;
    width: 300px;
    height: 300px;
  }

  .submain-img::before {
    bottom: 20px;
    right: 20px;
  }

  .submain-wrapper {
    padding-left: 330px;
  }

  .submain-wrapper::before {
    width: 75px;
  }

  /* ADVANTAGE */

  .advantage-title {
    margin-bottom: 30px;
    font-size: 26px;
    line-height: 40px;
    padding-top: 20px;
  }

  /* REQUEST */

  .request {
    padding: 60px 0;
  }

  .request-title {
    font-size: 26px;
    line-height: 40px;
  }

  .request-img {
    display: none;
  }

  /* WORK */

  .work-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .work-info {
    grid-row: 3;
  }

  .work-title {
    font-size: 26px;
    line-height: 40px;
  }

  .work-subtitle {
    font-size: 20px;
    line-height: 35px;
  }

  /* PRODUCTS */

  .products-content {
    flex-direction: column;
  }

  /* splide */
  .products__splide-arrows {
    top: -521px;
  }

  .products-image {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .products-image::before {
    left: -10px;
    bottom: -10px;
  }

  .products-tabs {
    flex-direction: column;
    margin-bottom: 80px;
  }

  .products-tabs::before {
    display: none;
  }

  .products-tab {
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 20px;
    text-align: center;
  }

  .products-tab:last-child {
    margin-bottom: 0;
  }

  .products-tab.active {
    border: 2px solid #9C4624;
  }

  .products-title {
    font-size: 26px;
    line-height: 40px;
  }

  /* QUESTIONS */

  .questions-title {
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 30px;
  }

  .questions-panel {
    margin-bottom: 20px;
  }

  /* CONSULTATION */

  .consultation {
    padding: 60px 0;
  }

  .consultation::before {
    top: 60px;
    height: calc(100% - 120px);
  }

  .consultation-wrapper {
    padding: 42px;
  }

  .consultation-wrapper::before {
    display: none;
  }

  .consultation-image {
    display: none;
  }

  .consultation-title {
    font-size: 26px;
    line-height: 40px;
    text-align: center;
  }

  .consultation-subtitle {
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* MEET */

  .meet {
    margin-top: 0;
  }

  .meet-wrapper {
    padding-top: 30px;
  }

  .meet-title {
    font-size: 26px;
    line-height: 40px;
  }

  .meet-img {
    display: none;
  }

  .meet-text {
    max-width: none;
  }

  /* FOOTER */

  .footer {
    background-size: 500px;
    background-position-x: 0;
    padding-top: 60px;
    padding-bottom: 400px;
  }

  .footer-wrapper {
    padding-left: 0;
  }

  .footer-title {
    display: block;
    text-align: center;
    font-size: 26px;
    line-height: 40px;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  /* HEADER */

  .header {
    padding: 12px 0;
  }

  .header-info {
    display: none;
  }

  .btn-burger {
    display: flex;
  }

  .phone-link-mobile {
    display: block;
    margin-right: 10px;
  }

  /* MAIN */

  .main {
    padding-top: 40px;
    padding-bottom: 65px;
    margin-top: 100px;
    margin-bottom: 140px;
  }

  .main-title {
    margin-bottom: 20px;
  }

  .main-right .main-text {
    margin-bottom: 40px;
  }

  .image {
    width: 200px;
    height: 300px;
  }

  /* SUBMAIN */

  .submain {
    padding: 0;
  }

  .submain::before {
    top: 0;
    height: 100%;
  }

  .submain-wrapper {
    padding-left: 0;
    padding-top: 20px;
    padding-bottom: 40px;
    display: flow-root;
  }

  .submain-wrapper::before {
    display: none;
  }

  .submain-text {
    padding-left: 20px;
  }

  .submain-img {
    position: relative;
    top: -20px;
    left: auto;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
  }

  /* ADVANTAGE */

  .advantage {
    margin-top: 60px;
  }

  .advantage-wrapper {
    flex-direction: column;
  }

  .advantage-box {
    margin-bottom: 30px;
  }

  .advantage-box:last-child {
    margin-bottom: 0;
  }

  .advantage-img {
    margin-bottom: 0;
  }

  /* WORK */

  .work-block {
    grid-column: 1 / 3;
  }

  .work-box {
    width: 70%;
  }

  .work-box:first-child {
    width: 100%;
  }

  .work-info {
    grid-row: 5;
    min-height: auto;
  }

  .work-info::before {
    background-size: 600px;
  }

  .work-info h3 {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 10px;
  }

  .work-info-content {
    padding: 30px 0 40px 0;
    max-width: none;
  }

  /* MODAL */

  .modal-form {
    min-width: auto;
    width: 100%;
  }

  .modal-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .modal-title {
    font-size: 26px;
    line-height: 40px;
  }

  .modal-subtitle {
    font-size: 26px;
    line-height: 40px;
  }

  .close-modal {
    margin-right: 15px;
  }

}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }

  /* HEADER */

  .header-logo a img {
    max-width: 177px;
  }

  /* MOBILE */

  .mobile-menu {
    top: 87px;
    height: calc(100% - 87px);
  }

  /* MAIN */

  .main {
    margin-top: 87px;
    margin-bottom: 100px;
  }

  .main-title {
    display: none;
  }

  .main-text {
    display: none;
  }

  .main-title-mobile {
    display: block;
  }

  .main-text-mobile {
    display: block;
    margin-bottom: 20px;
  }

  .main-left .main-text {
    margin-bottom: 40px;
  }

  .main-left .main-text {
    display: block;
  }

  .image {
    height: 266px;
    top: auto;
    bottom: -10px;
  }

  .main-img {
    height: calc(100% + 65px);
    min-height: 201px;
  }

  .main-img .image::before {
    top: -10px;
    right: -10px;
  }

  .main-img img {
    width: 100%;
    height: 100%;
  }

  .main-scroll {
    width: 70px;
    height: 70px;
    bottom: -40px;
  }

  .main-scroll img {
    height: 25px;
  }

  .main-wrapper {
    justify-content: space-between;
  }

  .main-left,
  .main-right {
    flex-basis: 48%;
    margin-left: 0;
  }

  /* SUBMAIN */

  .submain-img {
    height: 165px;
    width: 156px;
    top: -40px;
    left: 0;
  }

  .submain-img::before {
    bottom: 10px;
    right: 10px;
  }

  /* WORK */

  .work-block {
    padding: 30px 20px;
  }

  .work-content {
    padding-top: 10px;
  }

  .work-content img {
    margin-bottom: 35px;
  }

  .work-box {
    margin-bottom: 20px;
    width: 60%;
  }

  .work-info::before {
    right: -15px;
    background-position-y: calc(100% + 45px);
    background-position-x: calc(100% + 25px);
  }

  .work-scroll {
    bottom: -45px;
  }

  .work-scroll-image {
    margin-bottom: 10px;
    width: 70px;
    height: 70px;
  }

  .work-scroll-image img {
    height: 25px;
  }

  /* PRODUCTS */

  /* splide */
  .products__splide-arrows {
    top: -295px;
  }
  
  .products-info-title {
    font-size: 26px;
    line-height: 40px;
  }

  .products-pagination {
    justify-content: center;
  }

  /* QUESTIONS */

  .questions-img {
    display: none;
  }

  /* CONSULTATION */

  .consultation-wrapper {
    padding: 42px 0;
  }

  .consultation-title {
    text-align: start;
    display: inline-block;
  }

  .consultation-subtitle {
    text-align: start;
  }

  .consultation::after {
    position: absolute;
    content: '';
    top: 60px;
    height: calc(100% - 120px);
    left: 0;
    width: 15px;
    background-color: #E5C7AC;
  }

  /* FOOTER */

  .footer {
    background-size: 344px;
    padding-bottom: 270px;
  }

  .footer-block-title {
    margin-bottom: 5px;
  }
}

@media (max-width: 474px) {
  .main-img {
  }
  
  .image {
  }
  
  .image img {
    width: 70%;
  }
  
  .main-img .image::before {
    right: 50px;
    width: 70%;
  }
}