@charset "UTF-8";

/* ==========  variable  ========== */

:root {
  --main-color-black: #000;
  --main-color-white: #fff;
  --main-color-primary: #616161;
  --container-width: 1335px;
  --conteiner-padding: 0px 15px;
  --font-family: "Montserrat", sans-serif;
  --font-size-default: 15px;
  --line-height-default: 136%;
  --font-weight-default: 400;
  --h2-default-fz: 30px;
  --h2-default-lh: 136%;
  --h-default-font-weight: 700;
}

/*==========  reset  ==========*/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

/* ==========  default  ========== */

.n-h2 {
  font-size: var(--h2-default-fz);
  line-height: var(--h2-default-lh);
  font-weight: var(--h-default-font-weight);
  color: #303030;
  display: block;
}

/* ==========  fonts  ========== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Montserrat-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Montserrat-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Montserrat-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Montserrat-Bold.woff2") format("woff2");
}

/* ==========  field  ========== */

/* стили для input при выобрке сохраненных данных */

input:-webkit-autofill {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

select:-webkit-autofill {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--main-color-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--main-color-white) inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==========  hover  ========== */

/*btn-hover-scale*/

.btn-hover-scale {
  transition: transform 0.3s ease 0s;
}

.btn-hover-scale:hover {
  transform: scale(0.97);
}

/* ==========  Global  ========== */

.n-creating {
  font-family: var(--font-family);
  color: var(--main-color-primary);
  font-weight: var(--font-weight-default);
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* ==========  Custom  ========== */

.n-container {
  max-width: var(--container-width);
  padding: var(--conteiner-padding);
  margin: 0 auto;
}

.n-title {
  position: relative;
}

.n-title::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -305px;
  background: #a06507;
  height: 3px;
  width: 600px;
}

/* ==========  style-page  ========== */

.n-first {
  margin-top: 148px;
  position: relative;
  background: #404040;
  overflow: hidden;
}

.n-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 615px;
  height: 640px;
  background: url("../img/first-block/decor-left.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
}

.n-first::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 903px;
  height: 640px;
  background: url("../img/first-block/decor-right.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
}

.n-first__wrapper {
  position: relative;
  padding: 73px 0px 116px 0px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
  overflow: hidden;
}

.n-first__wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 59%;
  transform: translateX(-50%);
  width: 791px;
  height: 640px;
  background: url("../img/first-block/circle.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
}

.n-first__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  padding-top: 30px;
  max-width: 622px;
}

.n-first__title {
  font-size: 40px;
  color: var(--main-color-white);
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 20px;
}

.n-first__sub-title {
  font-size: 40px;
  color: var(--main-color-white);
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 71px;
}

.n-first__link {
  font-size: 16px;
  font-weight: 500;
  line-height: 136%;
  color: var(--main-color-white);
  padding: 21px 38.5px;
  border-radius: 5px;
  background: #c9a05f;
  display: block;
}

.n-first__img {
  max-width: 653px;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.n-first__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/*=====  n-anchor   =====*/

.n-anchor {
  transform: translateY(-40px);
  position: relative;
  margin-bottom: 87px;
  z-index: 1;
  display: none;
}

.n-anchor__list {
  display: flex;
  gap: 1px;
}

.n-anchor__item {
  border-radius: 2px;
  background: #eae8de;
  color: var(--main-color-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 136%;
  width: calc(25% - 0.75px);
  padding: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.n-anchor__item:first-child {
  -webkit-clip-path: polygon(12% 0%, 100% 0%, 100% 99%, 0% 100%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 99%, 0% 100%);
}

.n-anchor__item:last-child {
  -webkit-clip-path: polygon(0 0, 100% 0%, 88% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0%, 88% 100%, 0% 100%);
}

/*=====  n-service  ======*/

.n-service {
  margin-bottom: 86px;
  display: none;
}

.n-service__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.n-service__info {
  position: relative;
  z-index: 1;
}

.n-service__info::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -307px;
  width: 948px;
  height: 240px;
  background: #b98d47;
  pointer-events: none;
}

.n-service__content {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.n-service__img {
  position: absolute;
  top: -56px;
  left: 416px;
  width: 425px;
  z-index: 1;
}

.n-service__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.n-service-left {
  max-width: 381px;
  width: 100%;
}

.n-service-left__title {
  margin-bottom: 65px;
}

.n-service-right {
  max-width: 305px;
  width: 100%;
  padding-top: 45px;
}

.n-service-right__text {
  margin-bottom: 49px;
}

.n-service-right__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  counter-reset: num;
}

.n-service-right__item {
  padding-bottom: 15px;
  padding-top: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 38px;
  position: relative;
}

.n-service-right__item::before {
  content: counter(num) !important;
  counter-increment: num;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #b98d47;
  color: var(--main-color-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 136%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.n-service-bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 362px;
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.n-service-bottom::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 29px;
  width: 167px;
  height: 155px;
  background: url("../img/service-block/decor.svg") no-repeat;
  pointer-events: none;
}

.n-service-bottom__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 136%;
  color: var(--main-color-white);
  z-index: 1;
  position: relative;
}

.n-service-bottom__link {
  font-size: 16px;
  color: var(--main-color-black);
  font-weight: 500;
  line-height: 136%;
  padding: 23px 33px;
  border-radius: 5px;
  background: #fff;
  z-index: 1;
  position: relative;
}

.n-service-card {
  position: relative;
  z-index: 1;
}

.n-service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.n-service-card__item {
  width: calc(25% - 16.5px);
  border-radius: 2px;
  background: #303030;
  min-height: 163px;
  padding: 24px 28.5px 26px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.n-service-card__item::before {
  content: "";
  position: absolute;
  bottom: -47px;
  right: -90px;
  width: 322px;
  height: 334px;
  background: url("../img/service-block/decor-card.svg") no-repeat;
  pointer-events: none;
}

.n-service-card__item:first-child::before {
  background: url("../img/service-block/decor-one-card.svg") no-repeat;
  width: 512px;
  height: 365px;
  right: -156px;
  bottom: -58px;
}

.n-service-card__title {
  padding-bottom: 32px;
  color: #b98d47;
  font-size: 24px;
  font-weight: 700;
  line-height: 136%;
  position: relative;
  z-index: 1;
}

.n-service-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33px;
  height: 2px;
  background: #b98d47;
  pointer-events: none;
}

.n-service-card__description {
  color: #a9a9a9;
  font-size: 15px;
  font-weight: 500;
  line-height: 136%;
  position: relative;
  z-index: 1;
}

/*=====  n-portfolio  =====*/

.n-portfolio {
  margin-bottom: 91px;
  position: relative;
}

.n-portfolio__bg {
  position: absolute;
  bottom: 127px;
  left: 0;
  background: linear-gradient(91deg, #efd14f 3.75%, #cd9527 24%, #cc9225 33.44%, #efd14f 84.06%, #cb9226 104.39%);
  width: 100%;
  height: 135px;
  overflow: hidden;
}

.n-portfolio__bg::before {
  content: "";
  position: absolute;
  bottom: -230px;
  left: -51px;
  width: 724px;
  height: 545px;
  background: url("../img/portfolio-block/decor-left.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
}

.n-portfolio__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 486px;
  height: 135px;
  background: url("../img/portfolio-block/decor-right.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
}

.n-portfolio__title {
  margin-bottom: 55px;
}

.n-portfolio__description {
  margin-bottom: 32px;
  max-width: 316px;
}

.n-portfolio__box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.n-portfolio__name {
  font-size: 20px;
  font-weight: 500;
  line-height: 136%;
  width: 100%;
  margin-bottom: 15px;
  flex-grow: 1;
}

.n-portfolio__img {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 25px;
}

.n-portfolio__img img {
  aspect-ratio: 395 / 308;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
}
.n-portfolio__bottom {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.n-portfolio__bottom._right {
  justify-content: flex-end;
}

.n-portfolio__view {
  font-size: 14px;
  align-self: flex-end;
  transition: color 0.3s ease 0s;
}

.n-portfolio__prev,
.n-portfolio__next {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 31px;
  top: auto;
}

.n-portfolio__prev::after,
.n-portfolio__next::after {
  content: "";
  width: 50px;
  height: 50px;
  display: block;
}

.n-portfolio__prev {
  left: -4px;
}

.n-portfolio__prev::after {
  background: url("../img/portfolio-block/icon/arrow-left.svg") no-repeat;
  background-size: contain;
}

.n-portfolio__next {
  right: -4px;
}

.n-portfolio__next::after {
  background: url("../img/portfolio-block/icon/arrow-right.svg") no-repeat;
  background-size: contain;
}

/*=====  n-partners  =====*/

.n-partners {
  margin-bottom: 80px;
  display: none;
}

.n-partners__title {
  margin-bottom: 43px;
}

.n-partners__wrapper {
  display: flex;
  gap: 30px;
}

.n-partners__text {
  color: #404040;
  font-size: 24px;
  line-height: 139%;
}

.n-partners__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.n-partners__item {
  width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.n-partners__item:not(:first-child) {
  padding: 25px 43px 28px 42px;
  border-radius: 2px;
  border: 1px solid #f4efe6;
}

.n-partners__item:first-child {
  padding: 42px 42px 60px 2px;
}

.n-partners__logo {
  height: 136px;
  flex-shrink: 0;
}

.n-partners__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.n-partners__btn {
  display: none;
  font-size: 13px;
}

.n-partners__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.n-partners__name {
  color: #656565;
  font-size: 16px;
  font-weight: 700;
  line-height: 136%;
}

/*=====  n-callback  =====*/

.n-callback {
  margin-bottom: 74px;
  position: relative;
}

.n-callback__wrapper {
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

.n-callback__wrapper::before {
  content: "";
  position: absolute;
  top: 90px;
  left: 120px;
  width: 1189px;
  height: 532px;
  background: url("../img/callback-form/decor-n.svg") no-repeat;
  pointer-events: none;
}

.n-callback__block {
  padding: 0px 77px 70px 77px;
  display: flex;
  gap: 79px;
  background: #444;
}

.n-callback__img {
  margin-top: -90px;
  max-width: 499px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.n-callback__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.n-callback-form {
  max-width: 470px;
  width: 100%;
  padding-top: 92px;
  position: relative;
  z-index: 1;
}

.n-callback-form__title {
  font-size: 24px;
  color: var(--main-color-white);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  line-height: 136%;
}

.n-callback-form__description {
  color: #c5c5c5;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.n-callback-form__group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
}

.n-callback-form__box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.n-callback-form__label {
  color: #c5c5c5;
}

.n-callback-form__input {
  width: 100%;
  color: var(--main-color-primary);
  font-weight: var(--font-weight-default);
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
  padding: 16px 20px;
}

.n-callback-form__submit {
  color: var(--main-color-white);
  font-size: 16px;
  padding: 21px 54.5px;
  border-radius: 5px;
  background: #c9a05f;
}

.n-callback-form-policy {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.n-callback-form-policy__input {
  display: none;
}

.n-callback-form-policy__input:checked + .n-callback-form-policy__label::before {
  opacity: 1;
}

.n-callback-form-policy__label {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
}

.n-callback-form-policy__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: url("../img/callback-form/icon/check.svg") no-repeat;
  background-size: contain;
  opacity: 0;
  transition: all 0.3s ease 0s;
}

.n-callback-form-policy__text {
  color: #c5c5c5;
}

.n-callback-form-policy__text a {
  display: inline;
  color: #c5c5c5;
  text-decoration: underline;
}

/*=====  n-stages  =====*/

.n-stages {
  margin-bottom: 99px;
  display: none;
}

.n-stages__title {
  padding-bottom: 16px;
  border-bottom: 3px solid #a06507;
  margin-bottom: 49px;
}

.n-stages__title.n-title::before {
  display: none;
}

.n-stages-accordion__list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.n-stages-accordion__title {
  max-width: 568px;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  line-height: 136%;
  padding: 14px 50px 14px 20px;
  position: relative;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.n-stages-accordion__title::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 22px;
  width: 24px;
  height: 24px;
  background: url("../img/stages-block/icon/plus.svg") no-repeat;
  transition: opacity 0.3s ease 0s;
}

.n-stages-accordion__title::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 22px;
  width: 24px;
  height: 24px;
  background: url("../img/stages-block/icon/minus.svg") no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}

.n-stages-accordion__title._active::before {
  opacity: 0;
}

.n-stages-accordion__title._active::after {
  opacity: 1;
}

.n-stages-accordion__title._active {
  background: #f4f0e8;
}

.n-stages-accordion-content {
  background: #f4f0e8;
  position: absolute;
  top: 0;
  right: 0;
  max-width: 740px;
  width: 100%;
  max-height: 0px;
  overflow: auto;
}

.n-stages-accordion-content__block {
  margin: 0px 60px 0px 60px;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}

.n-stages-accordion__item._show .n-stages-accordion-content__block {
  margin: 57px 60px 60px 57px;
  opacity: 1;
}

.n-stages-accordion-content__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 136%;
  margin-bottom: 20px;
}

/*=====  custom-scrollbar  =====*/

/* полоса прокрутки (скроллбар) */

.n-stages ::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  background-color: transparent;
}

/* ползунок скроллбара */

.n-stages ::-webkit-scrollbar-thumb {
  background-color: #c9a05f;
  border-radius: 9em;
  box-shadow: inset 1px 1px 10px #c9a05f;
}

.n-stages ::-webkit-scrollbar-thumb:hover {
  background-color: #dba752;
}
.n-portfolio__list {
  display: flex;
  column-gap: 20px;
  row-gap: 60px;
  flex-wrap: wrap;
}
.n-portfolio__item {
  width: calc(33.333% - 13.333px);
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
  border-radius: 2px;
  overflow: hidden;
}
.n-portfolio__item:hover .n-portfolio__view {
  color: #c9a05f;
}
.n-portfolio-material {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.n-portfolio-material__text {
  padding-right: 10px;
}
.n-portfolio-material__value {
  padding-left: 10px;
  font-weight: 500;
  text-transform: uppercase;
  border-left: 1px solid #e1e1e1;
}
.n-portfolio__price {
  font-weight: 500;
  font-size: 16px;
}
