:root {
  --main-font-size: 1.25rem;
  --main-font-family: "Manrope", sans-serif;
  --main-background-color: #587114;
  --hover-background-color: #839f35;
  --color-white: #ffffff;
  --color-secondary: #c86262;
}

.ui-kit {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  font-family: var(--main-font-family);
  font-size: var(--main-font-size);
}

.section {
  padding: 3.125rem 0;
}

.section.pb-lg {
  padding-bottom: 6.25rem;
}

.section.pt-lg {
  padding-top: 6.25rem;
}

.section.section--bg {
  background: linear-gradient(320deg, #daebaa 0%, #fff 100%);
  padding: 4.5rem 0;
}

.section.section--bg.section--contacts {
  background: linear-gradient(130deg, #daebaa 0%, #dcecff 100%);
  padding: 4.25rem 0;
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 6.25rem;
}

.section__header.section__header--column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
}

.section__header.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6.25rem;
  text-align: center;
  max-width: 43.25rem;
  margin-inline: auto;
}

/*  Elements Start */

.heading {
  font-family: var(--main-font-family);
  font-weight: 600;
}

.heading-second {
  font-family: var(--main-font-family);
  font-weight: 500;
}

.heading-third {
  font-family: var(--main-font-family);
  font-weight: 400;
}

.heading.heading--h1 {
  font-size: 3.75rem;
  line-height: 100%;
  color: #212121;
}

.heading.heading--h2 {
  font-size: 2.75rem;
  line-height: 109%;
}

.heading.heading--h4 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 113%;
}

.heading.heading--h5 {
  font-size: 1.75rem;
  line-height: 129%;
}

.heading-third.heading--h7 {
  font-size: 1.25rem;
}

.text {
  font-family: var(--main-font-family);
  font-weight: 300;
  font-size: 1rem;
  line-height: 150%;
  color: #000;
}

.text.text--sm {
  font-family: var(--main-font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 129%;
}

.text.text--md {
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
}

.text.text--lg {
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
}

@media (max-width: 767px) {
  .heading--h1 {
    font-size: 2.25rem;
    line-height: 111%;
  }

  .heading--h2 {
    font-size: 1.5rem;
    line-height: 117%;
  }
}

/*Color*/

.background__color-main {
  color: var(--main-background-color);
}

/*================================body text=================================*/
.body__text {
}

.body__text.text-006 {
}

.card-pricing {
  position: relative;
  border-radius: 1rem;
  padding: 2.625rem 2rem 1.875rem;
  border: 2px solid transparent;
  background: #587114;
  transition: 0.3s ease-in-out all;
}

.card-pricing:hover {
  border-color: #15200e;
}

.tariff-card__badge {
  position: absolute;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  top: -1.25rem;
  right: 1.25rem;
  transition: 0.3s ease-in-out all;
}

.card-pricing:hover .card-pricing__bage {
  opacity: 1;
}

/*  Elements  End*/
/*==========================Header=================*/
.header__container {
  max-width: 109.75rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.header {
  margin-bottom: 3.325rem;
  position: fixed;
  width: 100%;
  max-width: 100%;
  padding: 1.75rem 0 1.875rem;
  background-color: var(--color-white);
  top: 0;
  border-bottom: 1px solid #ededed;
  z-index: 1000;
}

.header__inner {
  /*position: relative;*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
}

.header__logo-block {
  position: relative;
  z-index: 3;
}

.logo {
  display: flex;
  gap: 0.625rem;
  align-items: center;

  font-weight: 400;
  font-size: 1.625rem;
  color: #000;
}

/* Новая структура меню */
.navigation {
  display: flex;
  align-items: center;
}

/* MENU START */
.navigation__social {
  display: none;
}

.burger {
  display: none;
  width: 2.25rem;
  height: 2.26rem;
  border-radius: 50%;
  transition: 0.5s all;
}

@media (max-width: 1279px) {
  .burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 0.375rem;
  }
}

.burger__item {
  width: 1.25rem;
  height: 1px;
  background-color: #000000;
  transition: 0.5s all;
}

.burger.js--active {
  transform: rotateZ(225deg);
}

.burger.js--active .burger__item:first-child {
  transform: translateY(7px) rotateZ(90deg);
}

.burger.js--active .burger__item:nth-child(2) {
  opacity: 0;
}

.burger.js--active .burger__item:last-child {
  transform: translateY(-7px);
}

@media (max-width: 1279px) {
  .navigation {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-white);
    width: 100%;
    max-width: 30rem;
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10rem 3rem 4rem;
    border-right: 1px solid #ededed;
    transform: translateX(-120%);
    transition: 0.5s all;
  }

  .navigation.js--active {
    transform: translateX(0);
  }

  .navigation__list {
    display: flex;
    flex-direction: column;
  }

  .navigation__social {
    display: flex;
    margin-top: auto;
    padding-top: 3rem;
  }

  .navigation__social .hero__body-icons {
    gap: 1.75rem;
  }

  .header {
    padding: 1rem 0;
  }

  .header__button-block {
    display: none;
  }

  .header__inner {
    height: auto;
  }
}

@media (max-width: 767px) {
  .navigation {
    width: 100%;
    max-width: none;
    padding: 6.25rem 1.5rem 1.5rem;
    border-right: 1px solid #ededed;
  }

  .navigation__list {
    gap: 1.75rem;
  }

  .navigation-item__link {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
  }
}

/* MENU END */

.navigation__list {
  display: flex;
  padding-left: 0;
  gap: 1.625rem;
  list-style: none;
  margin: 0;
}

.navigation-item {
  display: inline-block;
}

.navigation-item__link {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  font-family: var(--main-font-family);
  font-size: var(--main-font-size);
  transition: 0.3s ease-in-out all;
}

.navigation-item__link:hover {
  opacity: 0.7;
}

.header__button {
  background-color: var(--main-background-color);
  border-radius: 1rem;
  padding: 0.875rem 1.5rem;
  border: none;
}

.primary-button {
  font-family: var(--main-font-family);
  background-color: var(--main-background-color);
  border-radius: 1rem;
  padding: 0.875rem 1.5rem;
  border: none;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 130%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.primary-button:hover {
  background-color: var(--hover-background-color);
}

.primary-button:focus {
  background-color: #3b4c0d;
}

.secondary-button {
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #000;
  border: 2px solid #587114;
  border-radius: 1rem;

  padding: 0.75rem 0.875rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-button:hover {
  background-color: #daebaa;
}

.secondary-button:focus {
  border: 2px solid #0c316e;
  background-color: #7c8662;
}

/*===============================section hero====================================*/
.section-hero {
  padding-top: 10.5rem;
  padding-bottom: 3.125rem;
}

.container {
  max-width: 107.5rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.625rem;
}

.hero__content {
  display: flex;
  gap: 5.0625rem;
}

.hero__main {
  max-width: 59.1875rem;
  width: 100%;
  padding-top: 5.0625rem;
  display: flex;
  flex-direction: column;
  gap: 9.9375rem;
}

.hero__main-titles {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.hero__main-title {
  margin-right: 0.5rem;
}

.hero__main-title-color {
  color: var(--main-background-color);
}

.hero__main-title,
.hero__main-title-color {
  font-size: 2.75rem;
  line-height: 148%;
}

.hero__main-subtitles {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.hero__main-subtitle {
  font-weight: 300;
}

.hero__main-subtitle:before,
.choice__criteria-item:before,
.problems-item__point:before {
  content: "//";
  color: var(--main-background-color);
}

.problems-item__point.color-secondary:before {
  color: var(--color-secondary);
}

.choice__criteria-item.white:before {
  color: var(--color-white);
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 4.4375rem;
}

.hero__body-content {
  max-width: 59.1875rem;
  width: 100%;
}

.hero__body-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__body-button {
  background-color: #daebaa;
  border-radius: 1rem;
  padding: 0.875rem 1.5rem;
  border: none;
  font-weight: 500;
  text-align: center;
}

.hero__body-footer {
  max-width: 12.875rem;
  width: 100%;
  display: flex;
}

.hero__body-footer .desktop-hidden {
  display: none;
}

.hero__body-icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.icon:hover {
  opacity: 0.7;
  color: red;
}

.hero__second-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero__second-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5rem;
  max-width: 20.375rem;
  width: 100%;
  border: 0.0625rem solid #ededed;
  border-radius: 1rem;
  padding: 0 2.375rem;
}

.hero__second-block svg {
  width: 130px;
  height: auto;
}

.hero__second-text {
  text-align: center;
}

/*==========================================section choice==================================*/
.section__choice {
  padding-bottom: 8.1875rem;
}

.choice__title-content {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6.25rem;
}

.choice__title {
  font-size: 2.75rem;
  line-height: 148%;
}

.choice__criteria-blocks {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.choice__text {
  color: var(--main-background-color);
  max-width: 390px;
  font-size: 1.25rem;
  text-indent: 3.25rem;
  text-align: end;
}

.choice__criteria-block {
  max-width: 695px;
  width: 100%;
  border-radius: 1rem;
  color: #fff;
  padding: 4rem;
}

.choice__criteria-block.green {
  background-color: #587114;
}

.choice__criteria-block.gray {
  background-color: #ededed;
  color: #424242;
}

.choice__criteria-title {
  font-size: 36px;
  line-height: 148%;
}

@media (max-width: 1279px) {
}

@media (max-width: 991px) {
}

/*=======================section problems====================*/

.problems__body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.problems__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.75rem;
  max-width: 88.375rem;
  width: 100%;
}

.problems-item {
  display: flex;
  gap: 5.5rem;
}

.problems-item__block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 22.75rem;
  width: 100%;
}

.problems__title {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 114%;
  border: 2px solid #c86262;
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
}

.problems__title.change {
  border: 2px solid var(--main-background-color);
  color: var(--main-background-color);
}

.problems-item__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problems-item__point {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 130%;
}

.services__body {
  display: flex;
  justify-content: center;
}

.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.services-item {
  display: flex;
  align-items: center;
  gap: 3.3125rem;
  border: 2px solid #ededed;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 52.375rem;
  width: 100%;
  height: 122px;
}

.services-item__text {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 114%;
  color: #000;
}

/*===============================section tariffs====================================*/

.tariffs .tariff-card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-template-rows: 1fr;
}

.tariff-card {
  background: #fff;
  border-radius: 16px;
  padding: 42px 32px 32px 32px;
  border: 1px solid transparent;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
}

.tariff-card.accent {
  border: 1px solid #000;
}

.tariff-card__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

.tariff-card__price-info .heading-third {
  font-family: var(--main-font-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 150%;
  color: #000;
}

.tariff-card__price-info span.heading-third {
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: #424242;
}

.tariff-card__description {
  margin-bottom: 10px;
}

.tariff-card__description ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.tariff-card__description li {
  list-style: disc;
}

.tariff-card .primary-button {
  width: 100%;
  margin-top: auto;
}

/*=============================== section tariffs ====================================*/

/*=============================== section accounting ====================================*/
.accounting .section__header .text {
  max-width: 842px;
}

.accounting-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 20px;
}

.accounting-card-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
}

.accounting-card-box .accounting-card-comment {
  max-width: 536px;
  text-align: right;
}

.accounting-card-box .description {
  max-width: 530px;
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-align: right;
  color: #000;
}

.accounting-card {
  border: 2px solid #ededed;
  border-radius: 16px;
  padding: 40px 60px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 36px;
}

.accounting-card__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.accounting-card__inner .title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.accounting-card__inner .title .accent {
  color: var(--main-background-color);
}

.accounting-card__inner .title .gray {
  color: #424242;
}

.accounting-card__inner .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.accounting-card__inner .list ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.accounting-card__inner .list li {
  font-family: var(--main-font-family);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: #424242;
}

.accounting-card__button .primary-button,
.accounting-card__button .secondary-button {
  width: 100%;
}

/*=============================== section accounting end ====================================*/

.beginning-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6.25rem;
}

.beginning-content {
  background-color: #ededed;
  max-width: 88.3125rem;
  margin: 0 auto;
  border-radius: 16px;
}

.beginning__title-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.beginning__text {
  max-width: 520px;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-align: right;
  color: #587114;
}

.beginning-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.75rem;
  padding: 66px 106px;
}

.beginning-list__card {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 28px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-radius: 16px;
}

.beginning-card__icon {
  display: flex;
  align-content: center;
  justify-content: center;
}

.beginning-card__icon svg {
  width: 64px;
  height: auto;
}

.beginning-title__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.beginning-title__list .text {
  color: #424242;
}

/* FORM START */
.form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form__header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ededed;
}

.form__heading {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 133%;
  color: #000;
}

.form__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 70.3125rem;
  width: 100%;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-item__heading {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 130%;
  color: #000;
}

.form-item__heading span {
  color: var(--color-secondary);
}

.input,
.textarea {
  padding: 1rem;
  border: 2px solid #ededed;
  border-radius: 0.875rem;
  padding: 0.75rem 1rem;
  font-weight: 300;
  font-size: 1rem;
  line-height: 150%;
  color: #000;
}

.input {
  height: 3.4375rem;
}

.textarea {
  height: 8.875rem;
  resize: none;
  overflow: auto;
}

.input::placeholder,
.textarea::placeholder {
  font-family: var(--main-font-family);
  font-weight: 300;
  font-size: 1rem;
  line-height: 150%;
  color: #424242;
}

.input:disabled {
  border: 2px solid #767676;
  background: #8f8f8f;
}

.input.js--error {
  border: 2px solid #c86262;
}

.input.js--error::placeholder {
  color: #c86262;
}

.input.js--error {
  color: #c86262;
}

.input:focus,
.textarea:focus {
  border-color: #587114;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.form__footer .primary-button {
  width: 100%;
}

.form__text {
  font-weight: 300;
  font-size: 1rem;
  line-height: 150%;
  text-align: center;
  color: #767676;
}

/* FORM END */

/* POPUP START */
@keyframes popapShow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    opacity: 1;
  }
}

@keyframes popapHidden {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000000;
  display: none;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
}

.popup__overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.84);
  opacity: 0;
  transition: 300ms ease all;
  cursor: pointer;
}

.popup__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 1rem;
  width: 100%;
  max-width: 53.6875rem;
  margin: 0 3.75rem;
  min-height: 50vh;
}

.popup__content.popup__content--width {
  max-width: 30.5rem;
}

@media (max-width: 1440px) {
  .popup__content {
    margin: 0 1.75rem;
  }
}

@media (max-width: 1280px) {
  .popup__content {
    margin: 0 1rem;
    padding: 1.25rem;
  }
}

@media (max-height: 500px) and (max-width: 1280px) {
  .popup__content {
    min-height: 83vh;
  }
}

.popup__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: auto;
  max-height: 90vh;
}

.popup__inner::-webkit-scrollbar {
  width: 5px;
}

.popup__inner::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.popup__inner::-webkit-scrollbar-track {
  margin: 60px 0px;
}

.popup__inner::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.popup__header {
  margin-bottom: 1.875rem;
}

.popup__button-close {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  display: flex;
  width: 1.125rem;
  height: 1.125rem;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  transition: 300ms ease all;
  cursor: pointer;
}

@media (max-width: 767px) {
  .popup__button-close {
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
  }
}

.popup__button-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.popup-button-close__inner {
  transform: rotate(45deg);
  transition: 0.3s all ease;
}

.popup-button-close__inner {
  position: relative;
  transform: rotate(45deg);
  transition: 0.3s all ease;
}

.popup-button-close__inner::after,
.popup-button-close__inner::before {
  content: "";
  position: absolute;
  background-color: #21272a;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 1.125rem;
  height: 2px;
  border-radius: 2px;
}

.popup-button-close__inner::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.popup__heading {
  font-weight: 400;
  font-size: 2.875rem;
  line-height: 100%;
}

@media (max-width: 767px) {
  .popup__heading {
    font-size: 1.75rem;
  }
}

.popup .form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 767px) {
  .popup .form {
    gap: 1.5rem;
  }
}

.popup .dropdown__content {
  left: 2rem;
}

@media (max-width: 767px) {
  .popup .dropdown__content {
    left: 1rem;
    max-width: calc(100% - 2rem);
  }
}

.popup .button {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
}

@media (max-width: 767px) {
  .popup .button {
    margin-top: 0;
  }
}

.popup .dropdown__icon-arrow {
  width: 1.125rem;
  height: 0.625rem;
  position: relative;
}

.popup .dropdown__icon-arrow svg {
  position: absolute;
  top: 0;
  left: 0;
}

.popup iframe {
  overflow: hidden;
}

@media (max-height: 500px) and (max-width: 1280px) {
  .popup iframe {
    min-height: 72vh;
  }
}

.popup.js--active {
  pointer-events: visible;
  opacity: 1;
  display: flex;
}

.popup.js--active .popup__overlay {
  opacity: 1;
}

.popup.js--active .popup__content {
  animation: popapShow 0.5s ease forwards;
}

.popup.js--hidden {
  display: flex;
  opacity: 1;
}

.popup.js--hidden .popup__content {
  animation: popapHidden 0.5s ease forwards;
}

.popup .form__body {
  padding: 0;
  background: transparent;
}

.popup__heading {
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 120%;
  color: #000;
  margin: 3.75rem 0 1.25rem;
}

.popup__text {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 130%;
  color: #000;
}

.popup__block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* POPUP END */

/* FAQ */
.faq .faq-wrapper {
  max-width: 68.375rem;
  margin-left: auto;
}

.faq .faq-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 1rem;
}

.faq .accordion {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  background: #fff;
  border: 2px solid #ededed;
  border-radius: 1rem;
  padding: 1.625rem;
  padding-right: 1.25rem;
  caret-color: transparent;
}

.faq .accordion__intro {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.3s;
}

.faq .accordion__intro h4 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 145%;
  color: #000;
}

.faq .accordion__intro .icon {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 150%;
  color: #587114;
  transition: all 0.25s;
}

.faq .accordion__content {
  border-radius: 0.5rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  will-change: max-height;
  transition: all 0.25s;
  opacity: 0;
}

.faq .accordion__content-wrapper {
  font-weight: 300;
  font-size: 1rem;
  line-height: 150%;
  color: #424242;
  transition: all 0.25s;
}

.faq .accordion.js--active .accordion__intro .icon {
  transform: rotate(180deg);
}

.faq .accordion.js--active .accordion__content {
  margin-top: 16px;
  opacity: 1;
  overflow: visible;
}

/* FAQ */
/* FEATURES */
.features .features-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 48px;
  max-width: 1408px;
  margin: 0 auto;
}

.features .features-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.features .features-card-preview {
  border-radius: 16px;
  overflow: hidden;
}

.features .features-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features .features-card {
  color: #fff;
  background: var(--main-background-color);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
  width: 100%;
}

.features .features-card-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.features .features-card-item .title {
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  color: #fff;
}

.features .features-card-item .sub-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #fff;
}

.features .features-card-item .description {
  margin-top: 6px;
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.features .features-card-bottom {
  width: 100%;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid #fff;
}

.features .features-card-bottom .text {
  font-weight: 500;
  font-size: 16px;
  line-height: 138%;
  color: #fff;
}

.features .features-card-bottom__tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.features .features-card-bottom .tag {
  border-radius: 10px;
  padding: 8px 16px;
  background: #fff;
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: #424242;
}

.features .features-comments {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  gap: 24px;
}

.features .features-comments-card {
  border: 2px solid #ededed;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.features .features-comments-card .heading {
  font-weight: 500;
  font-size: 16px;
  line-height: 138%;
  color: #15200e;
}

.features .features-comments-card .text {
  color: #424242;
}

/* FEATURES */
/* FOOTER */
.footer {
  background: #15200e;
}

.footer .footer-inner {
  padding: 60px 0 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer .footer-bottom {
  padding: 40px;
  border-top: 1px solid #767676;
  width: 100%;
}

.footer .footer-bottom p {
  font-family: var(--main-font-family);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #767676;
}

.footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  font-weight: 300;
  font-size: 14px;
  line-height: 129%;
  color: #ededed;
}

.footer .footer-column .heading {
  font-family: var(--main-font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 180%;
  color: #fff;
}

.footer .footer-column .logo-text {
  color: var(--color-white);
}

.footer .footer-column.logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}

.footer .footer-column.logo-box .text {
  color: var(--color-white);
  max-width: 275px;
}

.footer .footer-column .docs-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.footer .footer-column .socials {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
}

.footer .footer-column .social-link,
.icon {
  transition: all 0.3s;
}

.footer .footer-column .social-link:hover {
  opacity: 0.7;
}

.footer .footer-column .footer-link {
  color: #fff;
  transition: all 0.3s;
}

.footer .footer-column .footer-link:hover {
  opacity: 0.7;
}

/* FOOTER */
@media (max-width: 1720px) {
  .hero__content {
    gap: 3rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
  }

  .hero__second-block svg {
    width: 90px;
    height: auto;
  }

  .hero__main {
    padding-top: 3rem;
    gap: 6rem;
  }

  .problems__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 1440px) {
  .container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .navigation__list {
    display: flex;
    padding-left: 0;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
  }

  .navigation-item__link {
    font-size: 1rem;
    transition: 0.3s ease-in-out all;
  }

  .problems-item {
    gap: 3rem;
  }

  .problems-item__icon svg {
    width: 160px;
    height: auto;
  }

  .tariffs .tariff-card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__content {
    gap: 3rem;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__main {
    max-width: 100%;
  }

  .hero__second-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
    max-width: none;
    width: 100%;
    border: 0.0625rem solid #ededed;
    border-radius: 1rem;
    padding: 2.375rem;
  }

  .section__header {
    margin-bottom: 4.25rem;
  }

  .services-item__text {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 114%;
    color: #000;
  }

  .tariffs .tariff-card-list {
    gap: 40px 20px;
  }

  .accounting-card {
    padding: 32px;
  }

  .features .features-comments {
    gap: 16px;
  }

  .beginning__title-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .beginning__text {
    max-width: 520px;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    text-align: left;
    color: #587114;
  }

  .beginning-list {
    gap: 2.75rem;
    padding: 60px;
  }

  .faq .faq-wrapper {
    max-width: 100%;
    margin-left: auto;
  }

  .footer .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .hero__body-footer .desktop-hidden {
    display: block;
  }

  .hero__main-subtitle {
    font-weight: 300;
    font-size: 12px;
    line-height: 150%;
  }

  .hero__main-titles {
    gap: 1.75rem;
  }

  .hero__body-button {
    font-weight: 500;
    font-size: 12px;
    line-height: 117%;
    color: #000;
  }

  .hero__main {
    padding-top: 3rem;
    gap: 3rem;
  }

  .hero__body-footer {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .choice__title-content {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 3.25rem;
  }

  .choice__text {
    color: var(--main-background-color);
    max-width: 390px;
    font-size: 1.25rem;
    text-indent: unset;
    text-align: left;
  }

  .choice__criteria-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
  }

  .choice__criteria-block {
    max-width: 100%;
    width: 100%;
    border-radius: 1rem;
    color: #fff;
    padding: 1rem;
    gap: 22px;
    display: flex;
    flex-direction: column;
  }

  .choice__criteria-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;
  }

  .choice__criteria-item.white {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: rgba(255, 255, 255, 0.8);
  }

  .choice__criteria-item.white:before {
    color: var(--color-white);
  }

  .choice__criteria-item {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
  }

  .heading.heading--h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
  }
}

@media (max-width: 991px) {
  .hero__body-footer {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .hero__second-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .hero__second-block {
    gap: 1.5rem;
    padding: 10px;
  }

  .hero__second-block svg {
    width: 44px;
    height: auto;
  }

  .hero__second-text {
    font-weight: 500;
    font-size: 11px;
    line-height: 136%;
    text-align: center;
  }

  .problems-item {
    gap: 1.25rem;
    flex-direction: column;
  }

  .problems-item__icon svg {
    width: 68px;
    height: auto;
  }

  .problems__title {
    font-weight: 500;
    border: none;
    border-radius: 1rem;
    padding: 0;
    font-size: 18px;
    line-height: 122%;
    text-align: left;
    color: #c86262;
  }

  .problems__title.change {
    border: none;
    color: var(--main-background-color);
  }

  .problems__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .problems-item__point {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
  }

  .problems-item__block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    width: 100%;
  }

  .services__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
  }

  .services-item {
    display: flex;
    align-items: center;
    gap: 28px;
    border: 2px solid #ededed;
    border-radius: 1rem;
    padding: 14px;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .services-item .services-item__icon svg {
    width: 28px;
    height: auto;
  }

  .services-item__text {
    font-weight: 500;
    font-size: 12px;
    line-height: 117%;
  }

  .tariffs .tariff-card-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .section.section--bg {
    background: linear-gradient(116deg, #daebaa 0%, #fff 100%);
  }

  .heading.heading--h5 {
    font-weight: 500;
    font-size: 18px;
    line-height: 122%;
  }

  .section__header {
    margin-bottom: 32px;
  }

  .tariff-card__price-info .heading-third {
    font-weight: 400;
    font-size: 24px;
    line-height: 117%;
    color: #000;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section.pt-lg {
    padding-top: 5rem;
  }

  .section.pb-lg {
    padding-bottom: 5rem;
  }

  .tariff-card__description li {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: #424242;
  }

  .text.text--lg {
    font-weight: 500;
    font-size: 12px;
    line-height: 117%;
  }

  .accounting-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
  }

  .features .features-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features .features-comments {
    gap: 16px;
    flex-wrap: wrap;
  }

  .features .features-comments-card {
    width: 100%;
  }

  .beginning-list {
    gap: 32px;
    padding: 32px;
  }

  .beginning-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 767px) {
  .heading.heading--h4 {
    font-size: 18px;
  }

  .heading.heading--h5 {
    font-size: 16px;
  }

  .footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 53px 0;
  }

  .faq .accordion__intro h4 {
    font-size: 16px;
  }

  .faq .accordion__content-wrapper {
    font-size: 12px;
  }

  .section-hero {
    padding-top: 3.5rem;
  }
  .section.section--bg.section--contacts {
    padding: 2.68rem 0;
  }

  .section__header.contacts {
    margin-bottom: 2rem;
  }

  .footer .footer-column .socials {
    margin-top: 16px;
  }

  .socials svg {
    width: 20px;
  }

  .section.pt-lg {
    padding-top: 2rem;
  }

  .logo-text,
  .header__logo-text {
    font-weight: 400;
    font-size: 16px;
  }

  img,
  svg,
  .beginning-card__icon svg {
    width: 20px;
  }

  .beginning-title__list {
    justify-content: center;
    align-items: center;
  }

  .primary-button {
    padding: 9px 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 129%;
  }

  .section {
    padding: 20px 0;
  }

  .section.section--bg {
    padding: 38px 0;
  }

  .beginning-wrapper {
    gap: 32px;
  }
}

/* --- Корень попапа (дополните position/z-index из своего макета) --- */
.popup {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.popup.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.popup.is-open .popup__overlay {
  opacity: 1;
}

/* --- Окно результата #popup-success --- */
#popup-success .popup__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#popup-result-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  width: 100%;
  max-width: 26rem;
}

#popup-result-success,
#popup-result-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#popup-result-success svg,
#popup-result-error svg {
  display: block;
  width: min(200px, 45vw);
  height: auto;
  flex-shrink: 0;
}

.popup-result-success.is-hidden,
.popup-result-error.is-hidden {
  display: none !important;
}

#popup-result-heading {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text, #1a1a1a);
}

#popup-result-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-muted, #555);
  max-width: 22rem;
}

#popup-result-block.popup__block--error #popup-result-text {
  color: #b00020;
  text-align: center;
  font-size: 20px;
}

#popup-result-block.popup__block--error #popup-result-heading {
  display: none;
}

#popup-success .popup__button-close {
  margin-top: 0.5rem;
}

/* По желанию: не растягивать карточку на полэкрана */
#popup-success .popup__content {
  min-height: auto;
}
#popup-result-block.popup__block--error #popup-result-text {
  white-space: pre-line;
}
