html,
body {
  padding: 0;
  margin: 0;
  font-size: 1rem;
  width: 100%;
}

html {
  min-height: 100%;
  height: 100%;
}

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

body {
  font-family: MuseoSansCyrl, serif;
  color: #000000;
  /* Chrome + Safari =/- */
  text-rendering: geometricPrecision;
  /* Safari */
  -webkit-font-smoothing: antialiased;
  /* Firefox */
  -moz-osx-font-smoothing: grayscale;
  /* Just in case */
  font-smooth: antialiased;
  min-height: 100%;
  max-width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
}
body.a-fixed {
  overflow: hidden;
  width: 100%;
}
body h1,
body h2,
body h3,
body h4 {
  font-family: MuseoSansCyrl, serif;
  color: #000000;
  margin: 0;
}
body h1 {
  font-size: 2rem;
  line-height: 2.625rem;
  font-weight: 900;
}
@media only screen and (min-width: 1025px) {
  body h1 {
    font-size: 3.25rem;
    line-height: 3.875rem;
  }
}
body h2 {
  font-size: 1.75rem;
  line-height: 2.5rem;
  font-weight: 900;
}
@media only screen and (min-width: 1025px) {
  body h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}
body h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
}
@media only screen and (min-width: 1025px) {
  body h3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2rem;
}

picture img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

:is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-weight: normal;
}

:is(h1, h2, h3, h4, h5, h6).a-title_centered {
  text-align: center;
}
:is(h1, h2, h3, h4, h5, h6).a-title + .a-subtitle {
  margin: 20px 0 0 0;
}

.a-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  letter-spacing: 0.01em;
}
@media only screen and (min-width: 1025px) {
  .a-subtitle {
    font-size: 1.25rem;
    line-height: 2rem;
  }
}
.a-subtitle_decorated:before {
  content: "";
  width: 64px;
  height: 6px;
  background: #40b93c;
  margin: 0 0 20px 0;
  display: block;
}
.a-subtitle_centered {
  text-align: center;
}
.a-subtitle_centered.a-subtitle_decorated:before {
  margin: 0 auto 20px;
}

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

li {
  margin: 0;
  padding: 0;
}

p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}

sup {
  line-height: 0;
}

button {
  border: none;
  outline: none;
  appearance: none;
  background: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
}

svg {
  transition: fill 0.3s;
}

.a-container {
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
}
@media only screen and (min-width: 1280px) {
  .a-container {
    max-width: 1280px;
    padding: 0 40px;
  }
}

.a-anchor {
  position: relative;
}
.a-anchor__top {
  position: absolute;
  top: -128px;
  left: 0;
  pointer-events: none;
}

.a-none {
  display: none;
}

.a-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.a-transition {
  pointer-events: auto;
  transition: opacity 0.5s;
}

.a-contacts-block {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.375rem;
}
.a-contacts-block__phone {
  margin: 0 12px 0 0;
}

.a-social {
  display: flex;
  align-items: center;
}
.a-social__item_tg:hover {
  color: #27ace5;
}
.a-social__item_wa:hover {
  color: #40b93c;
}
.a-social__item_yt:hover {
  color: red;
}
.a-social__item_vk:hover {
  color: #4680c2;
}

.a-menu {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.a-email {
  color: #40b93c;
}

.a-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  min-height: 60px;
  transition: all 0.1s ease-in-out;
  background: #40b93c;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.375rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: white;
  border: solid 2px transparent;
  text-transform: uppercase;
  cursor: pointer;
  background: #40b93c;
  color: white;
}
.a-button:hover {
  background: white;
  color: #40b93c;
  border-color: #40b93c;
}
.a-button_border {
  background: transparent;
  color: white;
  border: solid 3px white;
}
.a-button_border:hover {
  background: white;
  color: #40b93c;
}
.a-button_green-border {
  border: solid 3px #40b93c;
  background-color: white;
  color: #000000;
}
.a-button_green-border:hover {
  color: white;
  background: #40b93c;
}
.a-button_white {
  background: white;
  color: #000000;
}
.a-button_white:hover {
  background: #40b93c;
  color: white;
}

.a-form_grey {
  background: #f6f6f6;
  padding: 64px 0 80px;
}
.a-form_grey .a-form__form {
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
  max-width: 558px;
}
@media only screen and (min-width: 1280px) {
  .a-form_grey .a-form__form {
    max-width: 1280px;
    padding: 0 40px;
  }
}
@media only screen and (min-width: 1025px) {
  .a-form_grey .a-form__form {
    max-width: 558px;
  }
}
.a-form_grey .a-form__disclaimer {
  text-align: center;
}
.a-form_grey .a-button {
  width: 280px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.a-form_grey + .a-footer {
  margin-top: 0;
}

.a-image-decoration {
  position: relative;
  height: 504px;
}
.a-image-decoration__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.a-image-decoration:after {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 92px;
  width: 100%;
  background-color: #40b93c;
  background-image: url(../images/assets/white-circle-decor.svg);
  background-size: auto 1329px;
  background-repeat: no-repeat;
  background-position: calc(50% + 160px) calc(50% + 50px);
  content: "";
}
@media only screen and (min-width: 1025px) {
  .a-image-decoration:after {
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
    width: 92px;
    height: 100%;
    background-position: calc(50% + 50px) calc(50% + 254px);
  }
}
.a-image-decoration__logo {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (min-width: 1025px) {
  .a-image-decoration__logo {
    left: 32px;
    transform: none;
  }
}

.a-post, .a-textpage, .a-posts, .a-contacts {
  padding-top: 24px;
}

.a-js-anim-projects {
  opacity: 0;
  transition: opacity 0.5s;
}