/*для всех страниц*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.woff?357fne') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^='icon-'],
[class*=' icon-'] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^='icon-']::before {
  margin: 5px;
}

.icon-instagram:before {
  content: '\e900';
}
.icon-phone:before {
  content: '\e942';
}
.icon-location:before {
  content: '\e947';
}
.icon-clock:before {
  content: '\e94e';
}
.icon-whatsapp:before {
  content: '\ea93';
}
.icon-telegram:before {
  content: '\ea95';
}

:root {
  --red: #ff3e3e;
  --darkred: #da3838;
  --gray-main: #2b2b2a;
  --darkgray: #555353;
  --gray: #878686;
  --lightgray: #dadada;
  --gray-table: #f2f2f2;
  --gray-bg: #fafafa;
  --white: #ffffff;
  --purple: #460649;
  --purple-main: #ff03f714;
  --tr: 0.2s ease all;
}

body {
  /* font-family: 'Poppins', sans-serif; */
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-main);
  line-height: 1.9;
  background-color: #ff03f714;
  margin: 0 auto;
  min-height: 100vh;
}

h1 {
  font-size: 1.2rem;
}

h2,
h3,
h4 {
  font-size: 1.1rem;
}

header {
  display: flex;
  flex-direction: column;
  background-color: #040409;
  /* display: grid;
  grid-template-areas:
    'logo phone nav'
    'photo photo phpto';
  grid-template-columns: minmax(150px, 200px) 10fr 1fr;
  align-items: center;
  justify-content: space-between;
  grid-gap: 5px; */
}

nav {
  /* grid-area: nav; */
}
main {
  padding: 0 0 4rem;
  border-bottom: 5px solid #5f4561;
  text-align: center;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: var(--darkgray);
  transition: var(--tr);
}

a:hover {
  transform: scale(1.07);
}

input, input:hover, input:focus, button, button:hover, button:active, button:focus, textarea:focus {
    outline: none;
}

.logo {
  grid-area: logo;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  width: 170px;
  height: 35px;
  padding-top: 5px;
  text-align: center;
  border-radius: 8px;
  letter-spacing: -1px;
  font-size: 1rem;
  color: var(--white);
  background-color: rgb(26, 1, 41);
  margin: 10px 0;
}

.logo span:first-child {
  color: rgb(216 213 40);
}

.logo img {
  margin: 15px;
  float: left;
  height: 50px;
  width: auto;
}

.navigation {
  display: flex;
  height: 70px;
  position: fixed;
  width: 100%;
  background-color: #ffecfc;
  transition: 0.7s all;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  width: 1200px;
  padding: 0 0.8rem;
  justify-content: space-between;
}

.nav__list {
  display: none;
  align-items: center;
  list-style-type: none;
  padding: 0;
  box-sizing: border-box;
  justify-content: center;
}

.nav__list li {
  display: block;
  position: relative;
  padding-right: 10px;
}

.nav__link {
  position: relative;
  border-color: transparent;
  display: block;
  padding: 0 10px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  line-height: 30px;
  color: var(--darkgray);
  transition: var(--tr);
}

header .nav__link::after {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  left: 0;
  display: block;
  width: 0;
  height: 100%;
  border-top: 1px solid #5a0257;
  border-bottom: 1px solid #5a0257;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.nav__link:hover::after {
  left: 0;
  width: 100%;
}

.nav__link:hover {
  transform: scale(1.07);
}

.nav__link:active {
  transform: scale(1.07);
}

.burger-menu__contacts {
  display: flex;
  flex-direction: column;
}

.burger-menu__address,
.burger-menu__phone {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 15px;
  color: var(--darkgray);
}

.burger-menu__schedule {
  display: flex;
  flex-direction:column;
  justify-content: center;
  padding-bottom: 15px;
  color: var(--darkgray);
}

.burger-menu__schedule span:last-child {
    display: flex;
    justify-content: center;
    padding-left: 25px;
    margin-top: 10px;
}

.burger-menu__phone a {
  text-decoration: none;
  color: var(--darkgray);
}

.social-links ul {
  display: table;
  padding: 10px 0px;
  margin: 0 auto;
  text-align: center;
  list-style: none;
}

.social-links__item {
  display: table-cell;
}

.callback__button {
  margin: 10px auto;
  text-align: center;
}

header .callback__button {
  display: none;
}

.header-phones {
  grid-area: phone;
  display: flex;
  position: relative;
  padding: 0;
  border-left: 1px solid var(--purple);
}

.header-phones__links {
  display: none;
}

.header-phones__links:before {
  content: '';
  position: absolute;
  top: -12px;
  left: 12px;
  width: 32px;
  height: 32px;
  background: url(icons/phone-header.svg) no-repeat;
}

.header-phones a {
  display: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.header-phones a:hover {
  transform: scale(1.07);
}

.header-phones a span {
  display: none;
  font-size: 13px;
  color: var(--purple);
  text-align: left;
  font-weight: 400;
}

button.open__callback {
  color: var(--darkgray);
  border: 1px solid #303030;
  height: 40px;
  font-size: 14px;
  padding-left: 30px;
  padding-right: 30px;
  text-transform: uppercase;
}

/*тень для модальных окон*/
.shadow {
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: all 0.5
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: all 0.5s;
}
/*бургер-меню*/

.burger-menu {
  padding-right: 15px;
  color: var(--darkgray);
  display: block;
  height: 50px;
  padding-top: 10px;
  transition: var(--tr);
  width: 40px;
  order: 1;
}

.burger-menu .material-icons {
  font-size: 2.5em;
}

.burger-menu:hover {
  color: var(--purple);
  transform: scale(1.07);
}

.burger-menu:active {
  color: var(--purple);
}

.burger-menu__nav {
  position: fixed;
  top: 0;
  width: 90%;
  height: 100%;
  max-height: calc(100% - 0.5vh);
  background-color: #f3e2f5;
  z-index: 15;
  animation: openBurgerMenu 1.5s 1 ease;
  overflow-y: auto;
}

@keyframes openBurgerMenu {
  from {
    left: -50%;
  }
  to {
    left: 0;
  }
}

#img_container img.top {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-direction: alternate;
}

@keyframes cf3FadeInOut {
  0% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.burger-menu__list {
  list-style-type: none;
  padding: 20px 10px;
  text-align: center;
  margin: 0;
}

.burger-menu__list li {
  display: block;
  position: relative;
  padding-right: 15px;
}

.burger-menu__nav-close {
  display: inline-block;
  position: fixed;
  top: -15px;
  right: 15%;
  z-index: 12;
  text-decoration: none;
  color: var(--gray);
  font-size: 50px;
  transition: var(--tr);
}

.burger-menu__nav-close:hover {
  color: var(--purple);
  transform: scale(1.15);
}

.burger-menu__nav-close:active {
  color: var(--purple);
}

.burger-menu__nav .button {
  margin-bottom: 15px;
}

/* DIVIDER-lIGHT OF SECTIONS*/
.divider-light {
  padding: 30px 0 24px;
}
.divider-light__line {
  position: relative;
  display: block;
  height: 2px;
  background-color: #4f254d;
}
.divider-light__line:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border: 2px solid #4f254d;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.divider-light__line:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
}
.divider-light__line--reasons:before {
  width: 33px;
  height: 32px;
  margin: -16px 0 0 -16px;
  background: url('/icons/ico-divider-reasons.png') no-repeat;
}
.divider-light__line_chat {
  margin-top: -30px;
}
.divider-light__line_chat:before {
  width: 40px;
  height: 36px;
  margin: -20px 0 0 -18px;
  background: url('/icons/ico-divider-chat.png') no-repeat;
}
.divider-light__line--star:before {
  width: 38px;
  height: 37px;
  margin: -19px 0 0 -19px;
  background: url('/icons/ico-divider-star.png') no-repeat;
}

.divider-light__line_calculator {
  margin-top: -30px;
}
.divider-light__line_calculator:before {
  width: 40px;
  height: 36px;
  margin: -20px 0 0 -18px;
  background: url('/icons/ico-divider-calculator.png') no-repeat;
}

.divider-light__line_location {
  margin-top: -30px;
}
.divider-light__line_location:before {
  width: 40px;
  height: 36px;
  margin: -20px 0 0 -18px;
  background: url('/icons/ico-divider-lacation.png') no-repeat;
}

/* All SECTIONS*/
.section {
  transition: transform 0.5s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(6rem);
}

.section__title {
  font-weight: 300;
}

/*SECTION 1 ABOUT*/
.first-section {
  margin-top: 69px;
}
.first-section__container {
  padding: 1.5rem 0.8rem;
}

.first-section__container {
  background-image: url(../main-photo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  text-align: center;
}

.first-section__title {
  color: #fff;
  margin-top: 30px;
}

.first-section__title h1 {
  line-height: 1.2rem;
  font-size: 1rem;
}

.first-section__title p {
  line-height: 1.2rem;
  font-weight: 500;
  font-size: 0.8rem;
}

.first-section__description {
  color: #fff;
  font-size: 0.9rem;
  padding-top: 15px;
}

.button {
  height: auto;
}
.first-section .button {
  display: block;
  text-align: center;
  vertical-align: middle;
  margin-top: 20px;
  margin-bottom: 20px;
}


.first-section .btn {
  text-align: center;
  border: 0 none;
  font-size: 14px;
  -webkit-appearance: none;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  background: transparent;
  height: 40px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background-color: #c8b50d82;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.first-section .button__effects {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0.1)),
    to(rgba(255, 255, 255, 0.4))
  );
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  background: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  background: linear-gradient(
    90deg,
    rgb(199 207 16 / 20%),
    rgb(241 202 35 / 40%)
  );
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 30px;
  -webkit-transform: skewX(-45deg);
  -ms-transform: skewX(-45deg);
  transform: skewX(-45deg);
}

/* SECTION 2 OUR-WORKS*/

#section--2 {
  padding: 40px 0 30px;
}

.our-works__list figure {
  margin: 20px;
}

.our-works__image {
  width: 100%;
  height: inherit;
  object-fit: fill;
  display: flex;
  align-items: center;
}

.our-works .button {
  margin: 20px 0;
}

/* ---------- why-reasons ---------- */
.why-reasons {
  padding: 10px 0.8rem 30px;
}
.why-reasons h3 {
  display: block;
  margin: 50px 0 54px;
  font-weight: 300;
  color: #69426b;
  text-align: center;
}
.list-ordered-circle {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.list-ordered-circle li {
  position: relative;
  margin-bottom: 50px;
  padding-left: 68px;
  font-weight: 400;
  line-height: 1.429;
  color: #58375a;
  text-align: justify;
}
.list-ordered-circle li:before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 43px;
  height: 43px;
  border: 1px solid #d2c6d2;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  line-height: 43px;
  color: #69426b;
  text-align: center;
}
.list-ordered-circle,
.list-ordered-circle {
  display: block;
  width: auto;
  vertical-align: top;
}
.list-ordered-circle {
  padding-right: 0;
  counter-reset: ol;
}
.list-ordered-circle li:before {
  content: counter(ol) '';
  counter-increment: ol;
}

/* SECTION 3 WORK-STEPS*/

.work-steps {
  margin: -25px 0 0;
  padding: 56px 0.8rem 84px;
  overflow: hidden;
  background: radial-gradient(#7f5b86, #522951);
  color: #fff;
}
.work-steps__title {
  display: block;
  margin: 0 0 50px;
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  text-align: center;
  background-color: transparent;
}
.work-steps__content {
  width: 100%;
  max-width: 990px;
  margin: auto;
  border: 2px solid #fff;
  table-layout: fixed;
  font-size: 0;
}
.work-steps__item {
  position: relative;
  float: none;
  height: 220px;
  padding: 44px 2% 0;
  text-align: center;
  vertical-align: top;
  display: block;
  width: auto;
}
.work-steps__text {
  font-size: 14px;
  font-weight: 500;
}
.work-steps__ico {
  width: auto;
  height: 58px;
  border-bottom: 0;
}
.work-steps__ico img {
  display: block;
  max-width: 100%;
  margin: auto;
}
.work-steps__item + .work-steps__item:before {
  content: none;
}
.work-steps__item + .work-steps__item:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 221px;
  margin-top: -110px;
  background: url('/icons/divider.png') no-repeat;
}
.work-steps__item:nth-child(2) {
  border-top: 2px solid #fff;
}
.work-steps__item:nth-child(3) {
  border-top: 2px solid #fff;
}
.work-steps__item:nth-child(4) {
  border-top: 2px solid #fff;
}

.work-steps__item:nth-child(2):after,
.work-steps__item:nth-child(3):after,
.work-steps__item:nth-child(4):after {
  content: none;
}

/* SECTION 4 CAlCUlATE-FORM*/
.calculate-project {
  margin: -56px 0 0;
  padding: 76px 0.8rem 20px;
}

.calculate__form {
  display: flex;
  flex-direction: column;
}

.calculate__input {
  border: 1px solid rgba(209, 211, 212, 0.3);
  box-sizing: border-box;
  border-radius: 3px;
  padding: 15px;
  margin: 10px 0;
}

.calculate__secure-text {
  margin: 10px 0 30px;
  font-size: 12px;
}
.calculate-project .button {
  margin-top: 15px;
}
.btn,
.btn__instagram,
.button__submit,
.our-works__instagram-link a {
  text-align: center;
  border: 0 none;
  font-size: 14px;
  padding-left: 60px;
  padding-right: 60px;
  -webkit-appearance: none;
  font-weight: 700;
  white-space: nowrap;
  background-image: none;
  cursor: pointer;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  background: transparent;
  height: 40px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-color: #341437;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.button__wrap-effects {
  animation-name: flash-md;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: translateX(-85px);
  -ms-transform: translateX(-85px);
  transform: translateX(-85px);
  -webkit-animation-name: flash;
  animation-name: flash;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.button__effects {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0.1)),
    to(rgba(255, 255, 255, 0.4))
  );
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  background: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 30px;
  -webkit-transform: skewX(-45deg);
  -ms-transform: skewX(-45deg);
  transform: skewX(-45deg);
}

@keyframes flash {
  20% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.social-links ul {
  margin: 0 auto;
  text-align: center;
  list-style: none;
}

.social-links__item a {
  box-sizing: border-box;
  padding: 12px;
}

.calculate-project .social-links {
  padding: 10px 0.8rem 30px;
}

/*SECTION CONTACTS*/
iframe {
  height: 300px;
}

/*Скрыть элемент*/

.hidden {
  display: none;
}

/* ---------- footer ---------- */

footer {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  margin: 30px auto;
}

.footer__address,
.footer__phone {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__address li,
.footer__phone li {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-left: 0;
}

.footer__address li a,
.footer__phone li a {
  text-decoration: none;
  color: #58375a;
}

.footer__viber {
  text-align: center;
  cursor: pointer;
}

.social-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0 0 30px;
}

.social-links li {
  display: inline-block;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid #e1d9e1;
  vertical-align: middle;
  transition: background-color 0.15s;
  transform: rotate(45deg);
}

.social-links li a {
  display: flex;
  height: 32px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  vertical-align: middle;
  transform: rotate(-45deg);
  font-size: 20px;
  color: #604562;
}

.social-links li:nth-child(even) {
  margin-top: 22px;
}

.social-links li:hover {
  background-color: #604562;
}
.social-links li:hover [class^='icon-'] {
  color: #fff;
}

/*MODAl*/
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  background-color: #fce8fc;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 3;
  transition: all 0.5s;
}
.modal__content {
  padding: 50px 100px;
  text-align: center;
  border-radius: 4px;
  max-width: 95%;
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.4s ease;
}

.success__content {
  margin: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.button__close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.1rem;
  right: 1rem;
  font-size: 3rem;
  cursor: pointer;
  border: none;
  background: none;
}

/*MEDIA*/
@media (min-width: 490px) {
  .our-works__list {
    display: flex;
    flex-wrap: wrap;
  }
  .our-works__list figure {
    width: 14rem;
    margin: 5px auto;
  }

  .work-steps__content {
    display: flex;
    flex-wrap: wrap;
  }
  .work-steps__item {
    width: 46%;
    height: 175px;
  }
  .work-steps__item:nth-child(2) {
    border-top: none;
  }
  .work-steps__item:nth-child(2):after,
  .work-steps__item:nth-child(4):after {
    content: '';
  }

  .header-phones__links {
    position: relative;
    max-width: 190px;
    margin-right: 10px;
    padding: 10px 6px 0 36px;
    display: block;
    float: left;
  }
  .header-phones__links:before {
    top: 0px;
  }
  .header-phones a span {
    display: block;
  }
  .header-phones a {
    display: block;
    margin-left: 10px;
  }
  .list-ordered-circle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .list-ordered-circle li {
    width: 35%;
  }
}

@media (min-width: 520px) {
}

@media (min-width: 640px) {
  .our-works__list figure {
    width: 46%;
  }
}

@media (min-width: 992px) {
  body {
    display: grid;
    grid-template: auto 1fr auto / 1fr minmax(300px, 1200px) 1fr;
    grid-template-areas:
      'header header header'
      'main main main'
      '. footer .';
  }
  .burger-menu__nav {
    display: none;
  }
  .shadow {
    display: none;
  }
  .nav {
    margin: 0 auto;
  }
  .nav.sticky {
    position: fixed;
    height: 70px;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    transition: all 0.5s ease 0s;
  }
  header {
    grid-area: header;
    /* display: grid;
    grid-template-areas: 'logo nav phone';
    grid-template-columns: minmax(150px, 200px) 10fr 4fr;
    align-items: center;
    grid-gap: 10px; */
  }
  .burger-menu {
    display: none;
  }
  .nav__list {
    display: flex;
    flex-direction: row;
  }
  .nav__link {
    text-transform: none;
  }
  header .callback__button {
    display: block;
  }
  .first-section .button__link {
    display: flex;
    width: 80%;
}

  main {
    grid-area: main;
    display: grid;
    grid-template-areas:
      'photo photo photo'
      '. our-works .'
      '. reasons .'
      '. work-steps .'
      '. calc-map .';
    grid-template-columns: 1fr 10fr 1fr;
    display: flex;
    flex-direction: column;
  }
  #section--1 {
    grid-area: photo;
    position: relative;
    min-width: 300px;
  }
  .our-works {
    grid-area: our-works;
    max-width: 1200px;
    margin: 0 auto;
  }
  .our-works__list figure {
    width: 23%;
  }
  .why-reasons {
    grid-area: reasons;
    max-width: 1200px;
    margin: 0 auto;
  }
  .work-steps {
    grid-area: work-steps;
  }
  .calc-map {
    grid-area: calc-map;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .work-steps__content {
    flex-wrap: nowrap;
  }
  .work-steps__item {
    width: 25%;
  }
  .work-steps__item:nth-child(3),
  .work-steps__item:nth-child(4) {
    border-top: none;
  }
  .work-steps__item:nth-child(3)::after {
    content: '';
  }

  .calculate-project,
  .contacts {
    width: 48%;
  }
  .article-text {
    margin-bottom: 4rem;
  }
  .article-text p {
    margin: 10px 0;
}
  iframe {
    height: 35rem;
  }

  .divider-light__line_location {
    width: 50%;
    right: -18rem;
    top: -56px;
  }

  .divider-light__line_calculator {
    left: -18rem;
    top: -3px;
  }

  footer {
    grid-area: footer;
    display: grid;
    grid-template-areas: 'logo address phone social';
    grid-template-columns: minmax(150px, 200px) 8fr 6fr 4fr;
    align-items: center;
    grid-gap: 10px;
    margin: 20px 0;
  }

  footer .logo {
    grid-area: logo;
  }
  footer .footer__nav {
    grid-area: address;
  }
  footer .footer__phone {
    grid-area: phone;
  }
  footer .social-links {
    grid-area: social;
    margin: 0;
  }

  .first-section h1 ~ p {
    border-left: 5px solid #fff;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block !important;
    font-size: 1.2rem;
    margin-left: 3rem;
    position: absolute;
  }

  .first-section__title {
    text-align: left;
    max-width: 1200px;
    margin: 60px auto;
  }
  .first-section__title h1 {
    display: inline;
    font-size: 2.9rem;
    line-height: 1.139;
  }

  .first-section__description {
    text-align: left;
    max-width: 1200px;
    margin: 60px auto;
  }
  .button {
    max-width: 1200px;
    margin: 30px auto;
    width: 100%;
  }


  .first-section .btn,
  .our-works .btn,
  .calculate-project .btn {
    width: 40%;
  }
}