html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before {
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: inherit;
  height: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

span {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  padding: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

main {
  display: block;
  margin: 0;
}

::placeholder {
  color: inherit;
}

select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0 5px;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #2D2D2D;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 1 0;
}

a {
  transition: 0.35s;
}

.page_title {
  font-size: 50px;
  font-weight: 800;
  text-align: center;
  margin-inline: auto;
  color: #65A55D;
  position: relative;
  margin-right: -30px;
}
.page_title::before {
  content: url("../../icons/title.svg");
  position: absolute;
  top: 0;
  margin-left: -72px;
}
@media (max-width: 500px) {
  .page_title {
    margin-right: 0 !important;
    text-align: center;
    font-size: 45px;
  }
  .page_title::before {
    display: none;
  }
}

.header__top {
  background: #65A55D;
  display: flex;
  justify-content: center;
  padding: 13px 0;
  color: #fff;
}
.header__top_nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.header__top_nav-item {
  font-size: 20px;
  font-weight: 700;
}
.header__top_nav-item:hover {
  color: #2D2D2D;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 17px;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 50px;
}
.header__right_link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
}
.header__right_link:hover {
  color: #65A55D;
}
.header__burger {
  display: none;
}

.burger {
  display: none;
}

@media (max-width: 640px) {
  .header__burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .header__burger span {
    background: #65A55D;
    height: 5px;
    width: 30px;
    border-radius: 5px;
  }
  .header .header__right_link {
    display: none;
  }
  .header__top {
    display: none;
  }
}
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease;
}
.popup.active {
  visibility: visible;
  opacity: 1;
}
.popup__form {
  position: relative;
  background: #1B1818;
  border-radius: 20px;
  padding: 40px 50px;
  color: #fff;
  max-width: 600px;
  width: 100%;
}
.popup__form_title {
  text-align: center;
  font-size: 33px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.popup__form_close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.popup__form_close path {
  fill: #fff;
}
.popup__form_text {
  text-align: center;
  font-size: 22px;
}
.popup__form_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 0;
  gap: 5px;
}
.popup__form_box-error {
  display: none;
  color: #65A55D;
  font-size: 18px;
}
.popup__form_box-input {
  font-family: inherit;
  border-radius: 9px;
  background: transparent;
  border: 2px solid #65A55D;
  padding: 12px 12px;
  color: #fff;
  font-size: 20px;
  width: 100%;
  outline: none;
  transition: 0.3s ease;
}
.popup__form_box-input::placeholder {
  opacity: 0.6;
}
.popup__form_box-input:focus {
  border-color: #65A55D;
  box-shadow: 0px 0px 10px #65A55D;
}
.popup__form textarea {
  resize: none;
  height: 120px;
}
.popup__form_btn {
  cursor: pointer;
  width: fit-content;
  padding: 12px 33px;
  color: #fff;
  background: #65A55D;
  border-radius: 10px;
  font-size: 22px;
  margin-inline: auto;
  display: block;
  border: 2px solid #65A55D;
  transition: 0.3s ease;
}
.popup__form_btn:hover {
  background: transparent;
}

.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 128px 0 40px;
  color: #fff;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  gap: 25px;
}
.hero__title {
  font-size: 65px;
  font-weight: 700;
  max-width: 517px;
}
.hero__text {
  max-width: 391px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
@media (max-width: 440px) {
  .hero .hero__title {
    font-size: 50px;
  }
  .hero .hero__text {
    font-size: 14px;
    line-height: 25px;
  }
}

.services {
  padding: 75px 0 100px;
}
.services__title {
  margin-bottom: 45px;
}
.services__list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.services__list_item {
  display: flex;
  flex-direction: column;
  max-width: 360px;
  gap: 10px;
  border: 1px solid rgba(101, 165, 93, 0.2);
  border-radius: 10px 10px 20px 20px;
}
.services__list_item-img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.services__list_item-content {
  padding: 0 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #65A55D;
}
.services__list_item-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.services__list_item-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: justify;
  width: 100%;
}
.services__list_item-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  background: #65A55D;
  border-radius: 5px;
  display: block;
  margin-inline: auto;
  text-align: center;
  width: fit-content;
  color: #fff;
  border: 1px solid #65A55D;
}
.services__list_item-btn:hover {
  background: none;
  color: #65A55D;
}

.why {
  padding: 100px 0;
  background-size: cover;
  background-repeat: no-repeat;
}
.why__title {
  color: #fff;
  margin-bottom: 60px;
}
.why__title::before {
  content: url("../../icons/title_white.svg");
}
.why__list {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 750px;
  margin-inline: auto;
}
.why__list_item {
  display: flex;
  gap: 13px;
}
.why__list_item-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.why__list_item-head--title {
  font-weight: 700;
  font-size: 16px;
  line-height: 22.4px;
  text-transform: uppercase;
}
.why__list_item-head--text {
  color: #666666;
  font-size: 14px;
  line-height: 23px;
  max-width: 592px;
}

.scheme {
  padding: 100px 0;
}
.scheme__title {
  margin-bottom: 70px;
}
.scheme__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.scheme__list_item {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.scheme__list_item-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}
.scheme__list_item-title {
  margin: 21px 0 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
}
.scheme__list_item-text {
  color: #666666;
  font-size: 14px;
  line-height: 23px;
  width: 170px;
}

.contacts {
  padding: 20px 0;
}
.contacts__inner {
  display: flex;
  justify-content: space-between;
}
.contacts__left {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.contacts__left_title {
  margin-inline: 0;
  text-align: left;
  margin-right: 0px;
  margin-left: 72px;
}
.contacts__left_nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contacts__left_nav-item {
  display: flex;
  align-items: center;
  gap: 30px;
}
.contacts__left_nav-item svg {
  flex-shrink: 0;
}
.contacts__left_nav-item--text {
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  line-height: 20px;
}
.contacts__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts__right_title {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
  line-height: 30px;
  color: #65A55D;
}
.contacts__right_map {
  width: 569px;
  height: 490px;
}
.contacts__right_map iframe {
  width: 100%;
  height: 100%;
}
@media (max-width: 980px) {
  .contacts .contacts__inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .contacts .contacts__right {
    width: 100%;
  }
  .contacts .contacts__right_map {
    max-width: 700px;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .contacts .contacts__left_title {
    margin-left: 0;
  }
  .contacts .contacts__left {
    gap: 40px;
  }
  .contacts .contacts__left_nav-item svg {
    width: 50px;
    height: 50px;
  }
}

.footer {
  background: #140000;
  padding: 5px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__text {
  font-size: 20px;
  font-weight: 600;
  line-height: 31px;
  color: #fff;
}
.footer__developer {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__developer:hover .footer__developer_text {
  color: #fff;
}
.footer__developer:hover .footer__developer_img {
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
}
.footer__developer_text {
  color: #888080;
  font-size: 15px;
  line-height: 31px;
  font-weight: 600;
  transition: 0.35s;
}
.footer__developer_img {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  transition: 0.35s;
}
@media (max-width: 500px) {
  .footer .footer__inner {
    flex-direction: column;
    gap: 20px;
  }
}

.burger {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(27, 24, 24, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(20%);
  visibility: hidden;
  opacity: 0;
  transition: 0.35s ease;
}
.burger__cross {
  position: absolute;
  right: 20px;
  top: 20px;
}
.burger__cross path {
  fill: white;
}
.burger.active {
  transform: none;
  visibility: visible;
  opacity: 1;
}
.burger .header__nav_item, .burger .header__right_link {
  color: #fff;
  font-size: 25px;
}
.burger .header__nav_item path, .burger .header__nav_item svg, .burger .header__right_link path, .burger .header__right_link svg {
  stroke: #fff;
  fill: #fff;
}
.burger .header__nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  align-items: center;
  margin-right: 0;
}
.burger__inner {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-direction: column;
}

.thanks {
  padding: 200px 2px;
}
.thanks__title {
  margin-bottom: 60px;
  font-size: 50px;
  text-align: center;
  font-weight: 700;
}
.thanks__text {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}