html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Golos Text", "Arial", sans-serif;
  font-style: normal;
  color: var(--black);
  background: var(--white);
}

:root {
  --black: #221E1F;
  --gray: #E4DED0;
  --white: #FFFAEE;
  --white-exstra: #FFEECA;
  --red: #E73E41;
  --red-exstra: #C83033;
  --green: #02785E;
  --green-exstra: #025E4A;
  --blue: #2183C0;
  --blue-exstra: #1A6FA4;
  --yellow: #F3BE4C;
  --yellow-exstra: #E4A928;

  --space8: 8px;
  --space16: 16px;
  --space24: 24px;
  --space32: 32px;
  --space40: 40px;
  --space48: 48px;
  --space56: 56px;
  --space64: 64px;
  --space80: 80px;
  --space90: 90px;
  --space100: 100px;
  --space120: 120px;
  --space160: 160px;
}

::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: var(--gray);
}

.bg-red {
  background: var(--red);
}

.bg-green {
  background: var(--green);
}

.bg-blue {
  background: var(--blue);
}

.bg-yellow {
  background: var(--yellow);
}

.bg-black {
  background: var(--black);
}

.title-1,
.title-2,
.title-3,
.title-3-caps,
.title-4,
.title-5,
.title-6 {
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  line-height: 120%;
  font-weight: 500;
}

.title-1 {
  font-weight: 700;
  font-size: 38px;
}

.title-2 {
  font-size: 32px;
}

.title-3,
.title-3-caps {
  font-size: 20px;
  text-transform: none;
}

.title-3-caps {
  text-transform: uppercase;
}

.title-4 {
  font-size: 16px;
  line-height: 136%;
  text-transform: none;
}

.title-5,
.title-6 {
  font-size: 14px;
  line-height: 136%;
  text-transform: none;
}

.text-large-1,
.text-large-2,
.text-large-3,
.text-large-4 {
  font-weight: 400;
  line-height: 120%;
}

.text-large-1 {
  font-size: 20px;
  line-height: 128%;
}

.text-large-2,
.text-large-2_1 {
  font-size: 16px;
  line-height: 130%;
}

.text-large-2_1 {
  font-weight: 500;
}

.text-large-3 {
  font-weight: 500;
  font-size: 14px;
}

.text-large-4 {
  font-size: 12px;
}

.tabs_tags {
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 120%;
  text-transform: uppercase;
}

.btn {
  display: block;
  text-align: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  text-transform: uppercase;
  padding: 22px;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  color: var(--white);
  min-height: 62px;
  box-sizing: border-box;
  cursor: pointer;
}

.btn:hover {
  background: var(--green-exstra);
}

.btn_primary_green {
  background: var(--green);
}

.btn_primary_black {
  background: var(--black);
}

.btn_size_m {
  font-size: 14px;
  padding: 18px;
  min-height: 52px;
}

.btn_size_s {
  font-size: 14px;
  padding: 12px;
  min-height: 40px;
}

.btn_secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 116%;
  text-align: center;
  text-transform: uppercase;
  background: var(--white);
}

.btn_secondary:hover {
  background: var(--blue-exstra);
  color: var(--white);
}

.btn_secondary_blue {
  color: var(--blue);
}

.btn_secondary_blue:hover {
  background: var(--blue-exstra);
}

.btn_secondary_green {
  color: var(--green);
}

.btn_secondary_green:hover {
  background: var(--green-exstra);
}

.btn_secondary_red {
  color: var(--red);
}

.btn_secondary_red:hover {
  background: var(--red-exstra);
}

.btn.btn-more {
    width: auto;
} 

.link {
  display: inline-block;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 116%;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid var(--black);
}

.link-back {
  display: flex;
  flex-direction: row;
  width: fit-content;
  align-items: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 116%;
  text-transform: uppercase;
  text-decoration: none;
  gap: 2px;
  color: var(--gray);
}

.link-back svg {
  width: 24px;
  height: 24px;
}

.link:hover,
.link-back:hover {
  color: var(--green);
}

.link:hover {
    border-bottom: 1px solid var(--green);
}

.input-text {
    position: relative;
}

.input-error {
    position: absolute;
    top: 10px;
    left: var(--space16);
    color: var(--red-exstra);
    font-size: 12px;
}

.input-text input,
.input-text textarea {
  width: 100%;
  border-radius: 2px;
  padding: var(--space24) var(--space16);
  border: 1.2px solid var(--black);
  box-sizing: border-box;
  background: none;
  outline: none;
  appearance: none;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  color: var(--black);
}

.input-text textarea {
  padding: var(--space16);
  resize: none;
}

.input-text input::placeholder,
.input-text textarea::placeholder {
  color: var(--black);
  opacity: 0.7;
}

.input-text input:focus::placeholder,
.input-text textarea:focus::placeholder {
  opacity: 1;
}

.input-text .counter {
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  line-height: 116%;
  text-align: right;
}

.input-text-title {
  margin-bottom: calc(var(--space24) / 2);
}

.choice-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

.radio span.label {
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
}

.checkbox,
.radio {
  display: flex;
  flex-direction: row;
  gap: var(--space8);
  position: relative;
  cursor: pointer;
}

.radio {
  align-items: center;
}

.checkbox input[type="checkbox"],
.radio input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
}

.checkbox .checkmark,
.radio .checkmark {
  flex: none;
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: none;
  border: 1.2px solid var(--black);
  border-radius: 2px;
  box-sizing: border-box;
}

.radio .checkmark {
  border-radius: 50%;
}

.checkbox .checkmark:after,
.radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--black);
  transform: translate(-50%, -50%);
}

.radio .checkmark:after {
  border-radius: 50%;
}

/* Показываем галочку при checked */
.checkbox input:checked~.checkmark:after,
.radio input:checked~.checkmark:after {
  display: block;
}



.wrapper {
  min-width: 300px;
  max-width: 100%;
  min-height: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.header {
  position: relative;
  z-index: 10;
  background: var(--white);
  height: 80px;
  padding: 0 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--gray);
  margin: 0 calc(var(--space40) * -1);
  box-sizing: border-box;
}

.logo {
  width: 144px;
  height: 100%;
  padding: 0 40px;
  border-right: 1px solid var(--gray);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logo a,
.logo img {
  width: 100%;
}

.menu {
    position: relative;
    flex: 1;
    height: calc(100% + 1px);
    border-right: 1px solid var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*gap: 20px;*/
    justify-content: space-between;
    width: 100%;
    height: 100%;
    /*padding: 0 40px;*/
    box-sizing: border-box;
}

.menu ul .dropdown {
    display: none;
}

.menu ul li:hover .dropdown {
    display: flex;
}

.menu ul .dropdown {
    position: absolute;
    left: -1px;
    top: 81px;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-right: 1px solid var(--gray);
    border-left: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
    box-sizing: border-box;
    width: calc(100% + 2px);
    height: auto;
}

.menu ul li.active .dropdown li a {
    color: var(--black);
}

.menu ul li.active .dropdown li:hover a,
.menu ul li.active .dropdown li.active a {
    color: var(--green);
}

.menu ul .dropdown li {
    width: 100%;
    border-bottom: 1px solid var(--gray);
}

.menu ul .dropdown li:last-child {
    border-bottom: none;
}

.menu ul .dropdown li a {
    padding: var(--space16) var(--space40);
    box-sizing: border-box;
    justify-content: left;
}

.menu ul li {
    flex: auto;
    height: 100%;
}

.menu ul li a {
    font-family: "Unbounded", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 115%;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.menu ul li.active a,
.menu ul li a:hover {
    color: var(--green);
}

.menu .nav {
    width: 100%;
    height: 100%;
}

.menu .nav div {
    height: 100%;
}

.phone {
    padding: 0 40px;
}

.phone a {
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    text-transform: uppercase;
}

.phone a:hover {
  color: var(--green);
}

.signup {
  height: 100%;
}

.signup a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
}

.menu .checkbox-toggle,
.menu .hamburger,
.nav-container .phone,
.nav-container .signup {
  display: none;
}

.main {
  padding: var(--space80) var(--space40) calc(var(--space160) + 496px);
  display: flex;
  flex-direction: column;
  gap: var(--space120);
}

.hero {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 720px;
  margin: calc(var(--space80) * -1) calc(var(--space40) * -1);
  padding: 0 var(--space40) 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  z-index: 1;
  top: var(--space40);
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hero-bg-left,
.hero-bg-right {
  position: relative;
  width: 100%;
  height: 120%;
}

.hero-bg-left img,
.hero-bg-right img {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  transform: translate(-50%, 0);
}

.hero-bg-right img {
  right: 0;
  left: auto;
  transform: translate(50%, 0);
}

.hero-bg-left:before,
.hero-bg-right:before {
  content: '';
  position: absolute;
  z-index: 2;
  display: block;
  width: 100%;
  height: 60%;
  bottom: 0;
  background: linear-gradient(179.98deg, rgba(255, 250, 238, 0) 8.28%, rgba(255, 250, 238, 0.7) 49.11%, #FFFAEE 74.57%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space64);
}

.hero-title {
  margin-bottom: var(--space16);
}

.hero-title span {
  color: var(--red);
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
}

.hero-item {
  display: flex;
  flex-direction: column;
  gap: var(--space16);
}

.hero-level {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.hero-level span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gray);
}

.hero-level span.level {
  background: var(--red);
}

.btn-hero-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: var(--space24);
}

.hero-btn .btn {
  display: inline-block;
}

.benefits {
  position: relative;
  z-index: 1;
}

.benefits-title {
  text-align: center;
  margin-bottom: var(--space40);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
}

.benefits-item {
  position: relative;
  color: var(--white);
  padding: var(--space24);
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.benefits-number {
  background: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin: calc(var(--space24) * -1);
}

.benefits-item.bg-green .benefits-number {
  color: var(--green);
}

.benefits-item.bg-red .benefits-number {
  color: var(--red);
}

.benefits-item.bg-blue .benefits-number {
  color: var(--blue);
}

.benefits-item.bg-yellow .benefits-number {
  color: var(--yellow);
}

.benefits-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  top: var(--space24);
  right: var(--space24);
}

.benefits-icon svg {
  width: 100%;
  height: 100%;
}

.benefits-item.bg-green .benefits-icon svg {
  color: var(--green-exstra);
}

.benefits-item.bg-red .benefits-icon svg {
  color: var(--red-exstra);
}

.benefits-item.bg-blue .benefits-icon svg {
  color: var(--blue-exstra);
}

.benefits-item.bg-yellow .benefits-icon svg {
  color: var(--yellow-exstra);
}

.benefits-item.bg-yellow .benefits-item-title {
  color: var(--black);
}

.directions {
  padding: var(--space80) 0;
  background: var(--yellow);
  margin: 0 calc(var(--space40) * -1);
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  align-items: center;
}

.directions-title {
  text-align: center;
}

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

.directions-item {
  position: relative;
  padding: var(--space100) var(--space24);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space40);
  align-items: center;
}

.directions-item:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 0 0 500px 500px;
}

.directions-item:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.directions-item.bg-green:before {
  background: var(--green);
}

.directions-item.bg-red:before {
  background: var(--red);
}

.directions-item.bg-blue:before {
  background: var(--blue);
}

.directions-item.bg-green:after {
  background: var(--green-exstra);
}

.directions-item.bg-red:after {
  background: var(--red-exstra);
}

.directions-item.bg-blue:after {
  background: var(--blue-exstra);
}

.directions-top,
.directions-item-btn {
  position: relative;
  z-index: 2;
}

.directions-item-title {
  margin-bottom: var(--space24);
  text-align: center;
}

.directions-text ul {
  list-style: inherit;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

.directions-btn {
  width: 100%;
  padding: 0 var(--space40);
  box-sizing: border-box;
}

.consultation {
    background: var(--yellow);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space24);
    overflow: hidden;
}

.consultation-info {
    position: relative;
    background: var(--red);
    padding: var(--space40);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--space16);
}

.consultation-info:before {
    content: '';
    position: absolute;
    right: calc(var(--space40) * -1);
    top: 50%;
    transform: translate(0, -50%);
    pointer-events: none;
    width: 0;
    height: 0;
    border-top: 500px solid transparent;
    border-bottom: 500px solid transparent;
    border-left: 100px solid var(--red);
    z-index: 1;
}

.consultation-title,
.consultation-text {
    position: relative;
    z-index: 1;
}

.consultation-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space24);
    padding: var(--space40);
}

.popup-form .popup-content {
    padding-right: var(--space24);
}

.form-popup,
.popup-form form .input-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space24);
}

.input-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

.agreement {
  font-weight: 400;
  font-size: 14px;
  line-height: 116%;
}

.agreement a {
  text-decoration: underline;
}

.successMessage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.successMessage.show {
    pointer-events: auto;
    background: var(--yellow);
}

.success-message {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space24);
}

.success-popup {
    position: relative;
}

.success-popup .success-message-popup {
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space24);
}

.success-popup .success-message-popup * {
    margin: 0;
}

.success-message-popup img {
    height: 140px;
}

.success-message-popup .popup-close {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    pointer-events: all;
}

/* Брифинг (доп. стили) */

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-left: calc(var(--space32) * -1);
    margin-right: 0;
    margin-bottom: 30px;
    padding: 0 var(--space32);
    /* padding-right: var(--space40); */
    position: relative;
    width: auto;
    box-sizing: border-box;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: #02785e;
    color: white;
    border-color: #02785e;
}

.progress-step.completed .step-circle::after {
    content: '✓';
}

.progress-step.completed .step-circle span {
    display: none;
}

.step-label {
    font-size: 12px;
    margin-top: 5px;
    color: #999;
    text-align: center;
    max-width: 94px;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #02785e;
    font-weight: 600;
}

.brief-screen {
    display: none;
}

.brief-screen.active {
    animation: fadeIn 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space24);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.buttons {
    display: flex;
    flex-direction: row;
    gap: var(--space24);
}

#brief-form-element .success-popup .success-message-popup {
    width: 100%;
}



.cases {
  position: relative;
  padding: var(--space64) var(--space40);
  background: var(--green);
  margin: 0 calc(var(--space40) * -1);
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  align-items: center;
  overflow: hidden;
}

.cases:before {
  content: '';
  position: absolute;
  display: block;
  top: -400px;
  right: -350px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: var(--blue);
}

.cases:after {
  content: '';
  position: absolute;
  display: block;
  left: -690px;
  bottom: -350px;
  width: 1030px;
  height: 1030px;
  border-radius: 50%;
  background: var(--yellow);
}

.cases-title {
  color: var(--white);
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 674px;
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
  position: relative;
  z-index: 2;
  width: 100%;
}

.cases-item {
  background: var(--white);
  padding: var(--space24);
  min-height: 514px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space24);
}

.cases-label {
  margin-bottom: var(--space24);
  color: var(--green);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 0;
}

.cases-label:before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.cases-item-title {
  margin-bottom: 12px;
}

.cases-item-text {
    overflow: hidden;  
    display: -webkit-box;  
    -webkit-line-clamp: 6;  
    -webkit-box-orient: vertical;  
    text-overflow: ellipsis;  
}

.cases-list .swiper-scrollbar.scrollbar-slider.swiper-scrollbar-horizontal,
.way-list .swiper-scrollbar.scrollbar-slider.swiper-scrollbar-horizontal {
  display: none;
  position: relative;
  bottom: auto;
  height: var(--space8);
  background: var(--white);
  margin-top: var(--space32);
  width: 100%;
  left: 0;
}

.way-list .swiper-scrollbar.scrollbar-slider.swiper-scrollbar-horizontal {
  background: var(--gray);
}

.cases-list .swiper-scrollbar-drag,
.way-list .swiper-scrollbar-drag {
  background: var(--black);
}

.btn-nav-slider {
  display: flex;
  flex-direction: row;
  gap: var(--space8);
}

.btn_prev,
.btn_next {
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn_prev svg,
.btn_next svg {
  width: 24px;
  height: 24px;
  color: var(--black);
}

.btn_prev:hover,
.btn_next:hover {
  background: var(--black);
}

.btn_prev:hover svg,
.btn_next:hover svg {
  color: var(--white);
}

.nav-dark .btn_prev,
.nav-dark .btn_next {
  background: var(--black);
}

.nav-dark .btn_prev svg,
.nav-dark .btn_next svg {
  color: var(--white);
}

.nav-dark .btn_prev:hover,
.nav-dark .btn_next:hover {
  background: var(--gray);
}

.nav-dark .btn_prev:hover svg,
.nav-dark .btn_next:hover svg {
  color: var(--black);
}



.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space40);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
}

.faq-item {
  position: relative;
  min-height: 454px;
  overflow: hidden;
  border-radius: 4px;
}

.faq-item.bg-red,
.faq-item.bg-blue,
.faq-item.bg-green {
  color: var(--white);
}

.faq-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  height: 100%;
  padding: var(--space24);
  position: relative;
  box-sizing: border-box;
}

.faq-item.active .faq-info {
  gap: var(--space16);
}

.faq-item-title {
  margin-top: auto;
}

.faq-text {
  bottom: var(--space24);
  left: var(--space24);
  right: var(--space24);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
}

.faq-button {
  position: absolute;
  top: var(--space24);
  right: var(--space24);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2;
  background: var(--white);
  border-radius: 2px;
}

.faq-button::before,
.faq-button::after {
  content: '';
  position: absolute;
  background: var(--black);
  transition: transform 0.3s ease;
}

.faq-item.bg-yellow .faq-button::before,
.faq-item.bg-yellow .faq-button::after {
  background: var(--yellow);
}

.faq-item.bg-red .faq-button::before,
.faq-item.bg-red .faq-button::after {
  background: var(--red);
}

.faq-item.bg-blue .faq-button::before,
.faq-item.bg-blue .faq-button::after {
  background: var(--blue);
}

.faq-item.bg-green .faq-button::before,
.faq-item.bg-green .faq-button::after {
  background: var(--green);
}

.faq-button::before {
  width: 20px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-button::after {
  width: 2px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-item-title {
  margin-top: 0;
  margin-right: 60px;
}

.faq-item.active .faq-text {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.active .faq-button::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}




.request {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space24);
  border-radius: 4px;
  overflow: hidden;
}

.request-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space40);
  color: var(--white);
}

.request-title {
  margin-bottom: var(--space24);
}

.request-text {
  margin-bottom: var(--space40);
}

.request-quote {
  margin-bottom: var(--space40);
  padding: 19px 0 19px 24px;
  border-left: 6px solid var(--yellow);
}

.request-btn .btn {
  display: inline-block;
}

.request-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 588 / 440;
  width: 100%;
  height: 100%;
}

.request-image img {
  position: absolute;
  aspect-ratio: 588 / 440;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.request-image.left-top img {
  object-position: left top;
}


.principles,
.audience {
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  align-items: center;
}

.principles-list-wrapper,
.audience-list-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space24);
  width: 100%;
}

.principles-list-image,
.audience-list-image {
  position: relative;
  padding: var(--space48);
  box-sizing: border-box;
  border-radius: 500px 500px 0 0;
  overflow: hidden;
}

.principles-list-image img,
.audience-list-image img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  padding: var(--space48);
  box-sizing: border-box;
}

.principles-list,
.audience-list {
  grid-column: 3 span;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space24);
}

.principles-item,
.audience-item {
  flex: 1 auto;
  flex-basis: 30%;
  min-width: 30%;
  padding: var(--space24);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space24);
  min-height: 243px;
  border-radius: 4px;
  color: var(--white);
}

.principles-item.bg-yellow,
.audience-item.bg-yellow {
  color: var(--black);
}

.principles-item:nth-child(-n+2),
.audience-item {
  flex-basis: 48%;
}

.principles-item:first-child,
.audience-item:first-child {
  border-radius: 32px 4px 4px 4px;
}

.principles-item:nth-child(2),
.principles-item:nth-child(3),
.audience-item:nth-child(2) {
  border-radius: 4px 32px 4px 4px;
}

.principles-item:last-child,
.audience-item:last-child {
  border-radius: 4px 4px 32px 4px;
}

.principles-item-icon,
.audience-item-icon {
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: 0;
}

.principles-item-icon svg,
.audience-item-icon svg {
  width: 100%;
  height: 100%;
}

.principles-item.bg-yellow .principles-item-icon svg,
.audience-item.bg-yellow .audience-item-icon svg {
  color: var(--yellow-exstra);
}

.principles-item.bg-green .principles-item-icon svg,
.audience-item.bg-green .audience-item-icon svg {
  color: var(--green-exstra);
}

.principles-item.bg-red .principles-item-icon svg,
.audience-item.bg-red .audience-item-icon svg {
  color: var(--red-exstra);
}

.principles-item.bg-blue .principles-item-icon svg,
.audience-item.bg-blue .audience-item-icon svg {
  color: var(--blue-exstra);
}

.way {
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  align-items: center;
}

.way-list {
  width: 100%;
}

.way-list.swiper {
  overflow: visible;
}

.way-item {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space24);
  padding: var(--space24);
  border-radius: 4px;
  min-height: 240px;
  box-sizing: border-box;
  color: var(--white);
}

.way-item.bg-yellow {
  color: var(--black);
}

.way-item-year {
  padding: 4px 8px;
  border-radius: 2px;
}

.bg-blue .way-item-year {
  background: var(--blue-exstra);
}

.bg-green .way-item-year {
  background: var(--green-exstra);
}

.bg-red .way-item-year {
  background: var(--red-exstra);
}

.bg-yellow .way-item-year {
  background: var(--yellow-exstra);
}


.efficiency {
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  align-items: center;
}

.efficiency-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: var(--space24);
}

.efficiency-item {
  padding: var(--space24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space24);
  color: var(--white);
  border-radius: 4px;
  min-height: 240px;
  box-sizing: border-box;
}


.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space40);
}

.error-404-number {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  gap: var(--space8);
}

.error-404-number-four {
  height: 120px;
  font-size: 0;
}

.error-404-number-four svg {
  height: 100%;
  width: auto;
}

.error-404-number img {
  height: 140px;
}

.error-404-number svg path {
  fill: var(--red);
}

.error-404-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space8);
  max-width: 645px;
  text-align: center;
}

.error-404-title {
  color: var(--green);
}

.error-404-btn .btn {
  display: inline-block;
}


.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space40);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
}

.blog-item {
  border-radius: 4px;
  padding: var(--space24);
  background: var(--white-exstra);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space16);
  min-height: 590px;
  box-sizing: border-box;
}

.blog-item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space24);
}

.blog-item-image {
  aspect-ratio: 336 / 216;
  display: block;
  width: 100%;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.blog-item-image:after {
  content: '';
  display: block;
  padding-top: 65%;
}

.blog-item-image img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.blog-item-date {
  padding: 6px 4px;
  border-left: 2px solid var(--green);
  border-top: 2px solid var(--green);
  border-right: 16px solid var(--green);
  border-bottom: 2px solid var(--green);
  border-radius: 3px;
}

.blog-item-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}



.article {
  max-width: 768px;
  margin: 0 auto;
}

.article-top {
  margin-bottom: var(--space24);
}

.article-content {
  margin-bottom: var(--space64);
  font-weight: 400;
  font-size: 20px;
  line-height: 138%;
  display: flex;
  flex-direction: column;
  gap: var(--space40);
}

.article-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space24);
}

.article-title {
  font-size: 34px;
  text-transform: none;
}

.article-image-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--space16);
}

.article-image {
  aspect-ratio: 768 / 432;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  position: relative;
}

.article-image:after {
  content: '';
  display: block;
  padding-top: 57%;
}

.article-image img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.article-content p:not(:last-child),
.article-content ul:not(:last-child),
.article-content ol:not(:last-child),
.article-content blockquote:not(:last-child) {
  margin-bottom: var(--space16);
}

.article-content li:not(:last-child) {
  margin-bottom: var(--space8);
}

.article-content ul,
.article-content ol {
  margin-left: var(--space24);
}

.article-content ul li {
  list-style: square;
}

.article-content ol li {
  list-style: auto;
}

.article-content li::marker {
  color: var(--green);
}

.article-post *:first-child {
  margin-top: 0;
}

.article-post h1,
.article-post h2,
.article-post h3,
.article-post h4,
.article-post h5,
.article-post h6 {
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
  text-transform: none;
  font-size: 24px;
  line-height: 100%;
  margin-top: var(--space40);
  margin-bottom: var(--space16);
}

.article-post h3 {
  font-size: 20px;
}

.article-post h4 {
  font-size: 16px;
}

.article-post h5,
.article-post h6 {
  font-size: 14px;
}

.article-date {
  display: inline-block;
  padding: 6px 4px;
  border-left: 2px solid var(--green);
  border-top: 2px solid var(--green);
  border-right: 16px solid var(--green);
  border-bottom: 2px solid var(--green);
  border-radius: 3px;
}

.article-down {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space24);
}

.article-share {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space24);
}

.article-share-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space8);
}

.article-share-btn a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--black);
    color: var(--white);
    border-radius: 2px;
}

.article-share-btn a svg {
    width: 24px;
    height: 24px;
}

.article-share-btn a:hover {
    background: var(--green);
}

.article-share-btn .notification-container {
    position: absolute;
    bottom: -20px;
    color: var(--green);
    font-size: 16px;
    font-weight: 700;
}

.article-btn .btn {
  height: 40px;
  padding: 12px 22px;
  box-sizing: border-box;
}


.solutions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space40);
  margin: 0 calc(var(--space40) * -1);
  padding: var(--space80) var(--space40);
  overflow: hidden;
}

.solutions:before,
.solutions:after {
  content: '';
  position: absolute;
  display: block;
  width: 577px;
  height: 577px;
  background: url(../images/solutions-bg.svg);
  background-size: cover;
  top: -238px;
  left: -382px;
  z-index: 1;
}

.solutions:after {
  width: 767px;
  height: 767px;
  top: auto;
  left: auto;
  right: -383px;
  bottom: -550px;
}

.solutions-title,
.solutions-list,
.solutions-btn {
  position: relative;
  z-index: 2;
}

.solutions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space24);
}

.solutions-item {
  background: url(../images/directions/bg-solutions-item.png);
  background-size: cover;
  background-position: bottom;
  min-height: 123px;
  padding: var(--space24);
  box-sizing: border-box;
  border-radius: 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space40);
  align-items: center;
  color: var(--white);
}

.solutions-item-subtitle {
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 116%;
  text-align: center;
  text-transform: uppercase;
  display: none;
}

.methodology {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space40);
}

.methodology-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space24);
  overflow: hidden;
  border-radius: 8px;
}

.methodology-info {
  padding: var(--space40) 0 var(--space40) var(--space40);
  display: flex;
  flex-direction: column;
  gap: var(--space40);
}

.methodology-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

.methodology-text-wrapper svg {
  color: var(--yellow);
  width: 42px;
  height: 32px;
}

.methodology-text-forging-down {
  margin-left: auto;
  margin-right: 0;
}

.methodology-text-text {
  color: var(--white);
}

.methodology-essence {
  background: #292526;
  color: var(--yellow);
  border-radius: 2px;
  padding: calc(var(--space24) / 2) var(--space24);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space16);
}

.methodology-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.methodology-image img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space24);
  border-radius: 8px;
  overflow: hidden;
}

.outcomes-caption {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space24);
  padding: var(--space40) 0 var(--space40) var(--space40);
}

.outcomes-title {
  color: var(--white);
}

.outcomes-image {
  width: 180px;
}

.outcomes-image img {
  width: 100%;
}

.outcomes-list {
  margin: var(--space40) var(--space40) var(--space40) 0;
  padding: var(--space24);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space32);
  background: var(--white);
  border-radius: 4px;
}

.outcomes-item {
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

.outcomes-number {
  display: block;
  padding: 4px;
  border: 2px solid var(--red);
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  text-align: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  color: var(--red);
}

.process {
  position: relative;
  z-index: 1;
}

.process-title {
  text-align: center;
  margin-bottom: var(--space40);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
}

.process-item {
  position: relative;
  color: var(--white);
  padding: var(--space24);
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.process-item:nth-child(3) {
  grid-column: span 2;
}

.process-item:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.process-number {
  background: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin: calc(var(--space24) * -1);
}

.process-item.bg-green .process-number {
  color: var(--green);
}

.process-item.bg-red .process-number {
  color: var(--red);
}

.process-item.bg-blue .process-number {
  color: var(--blue);
}

.process-item.bg-yellow .process-number {
  color: var(--yellow);
}

.process-item.bg-yellow .process-item-content {
  color: var(--black);
}

.process-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  top: var(--space24);
  right: var(--space24);
}

.process-icon svg {
  width: 100%;
  height: 100%;
}

.process-item.bg-green .process-icon svg {
  color: var(--green-exstra);
}

.process-item.bg-red .process-icon svg {
  color: var(--red-exstra);
}

.process-item.bg-blue .process-icon svg {
  color: var(--blue-exstra);
}

.process-item.bg-yellow .process-icon svg {
  color: var(--yellow-exstra);
}

.process-item-content {
  display: flex;
  flex-direction: column;
  gap: var(--space8);
}

/* Popup */

.popup {
  display: none;
  position: fixed;
  z-index: 99993;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-content-wrapper.fancybox-content {
    background-color: var(--white);
    max-width: 860px;
    padding: var(--space40) var(--space32);
    border-radius: 8px;
    position: relative;
}

.popup-container {
  background-color: var(--white);
  padding: var(--space40) 0 var(--space40) var(--space32);
  width: 100%;
  max-width: calc(860px - (var(--space32)));
  max-height: calc(100% - (var(--space40) * 2));
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.popup-form .popup-container {
  max-width: calc(442px - (var(--space32)));
  padding: var(--space64) 0 var(--space24) var(--space24);
}

.popup-form .popup-title {
  color: var(--green-exstra);
  text-align: center;
}

.popup-form .popup-subtitle {
  color: var(--black);
  text-align: center;
}

.popup-content {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding-right: var(--space40);
}

.fancybox-container .fancybox-slide--html .fancybox-close-small,
.popup-close {
  position: absolute;
  right: var(--space16);
  top: var(--space16);
  line-height: 1;
  cursor: pointer;
  width: 28px;
  height: 28px;
  z-index: 10;
  opacity: 1;
  padding: 0;
}

.popup-title {
  margin-bottom: var(--space24);
}

.popup-subtitle {
  margin-bottom: var(--space32);
  color: var(--green);
}

.popup-list {
  display: flex;
  flex-direction: column;
  gap: var(--space32);
}

.popup-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space24);
  padding-top: var(--space16);
  border-top: 1px solid var(--gray);
}

.popup-item-content img {
  margin-top: var(--space24);
  width: 100%;
  cursor: zoom-in;
}

.popup-item-content .btn {
  margin-top: var(--space24);
}


.footer {
  position: relative;
  background: var(--green);
  color: var(--white);
  height: 496px;
  margin: -496px auto 0;
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer:before {
  content: '';
  position: absolute;
  display: block;
  width: 856px;
  height: 856px;
  border-radius: 50%;
  background: var(--red);
  z-index: 1;
  top: -24px;
  right: -366px;
}

.footer-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: var(--space80) 0 var(--space24);
  z-index: 2;
}

.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--space24);
}

.footer-logo {
  width: 143px;
}

.footer-logo img {
  width: 100%;
}

.footer-btn-top {
  font-size: 0;
  cursor: pointer;
}

.footer-btn-top:hover svg {
  color: var(--black);
}

.footer-btn-top svg {
  width: 44px;
  height: 44px;
  color: var(--white);
}

.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--space24);
  padding-bottom: var(--space40);
  border-bottom: 4px solid var(--white);
  margin-bottom: var(--space40);
  ;
}

.footer-down {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
  ;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: var(--space16);
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 116%;
  text-transform: uppercase;
}

.footer-address {
  max-width: 300px;
}

.footer-menu ul {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 116%;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: var(--space24);
}

.footer-phone a:hover,
.footer-menu ul li a:hover,
.footer-info a:hover {
  color: var(--black);
}

.footer-signup {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space24);
}

.footer-info {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space24);
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 116%;
  text-transform: uppercase;
  margin-bottom: var(--space24);
  z-index: 2;
}

.footer-develop {
  text-align: right;
}

@media (max-width: 1279px) {

  .title-1 {
    font-size: 30px;
  }

  .title-2 {
    font-size: 26px;
  }

  .logo {
    border: none;
    padding: 0 32px;
  }

  .header {
    position: fixed;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--gray);
  }

  .menu,
  .phone,
  .signup {
    display: none;
  }

  /* Мобильное меню */

  .menu {
    position: relative;
    flex: none;
    display: inline-block;
    z-index: 20;
    width: 80px;
    box-sizing: border-box;
    border: none;
  }

  .bg-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    background: #000000;
    transition: opacity 0.3s ease;
  }

  .menu .checkbox-toggle:checked~.bg-menu {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: -1;
  }

  .menu .checkbox-toggle {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    width: 100%;
    height: 100%;
    opacity: 0;
    box-sizing: border-box;
    border: 0;
    margin: 0;
  }

  .menu .checkbox-toggle:checked+.hamburger {
    background: var(--white);
    border: 1px solid var(--gray);
  }

  .menu .checkbox-toggle:checked+.hamburger>div {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--black);
    position: fixed;
    width: 25px;
  }

  .menu .checkbox-toggle:checked+.hamburger>div:before,
  .menu .checkbox-toggle:checked+.hamburger>div:after {
    top: 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    background: var(--black);
    position: fixed;
    width: 25px;
  }

  .menu .checkbox-toggle:checked+.hamburger>div:after {
    opacity: 0;
    position: fixed;
    width: 25px;
  }

  .menu .checkbox-toggle:checked~.nav {
    pointer-events: auto;
  }

  .menu .checkbox-toggle:checked~.nav>div {
    width: 100%;
    height: 100%;
    transform: translateX(0);
  }

  .menu .checkbox-toggle:checked:hover+.hamburger>div {
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    position: fixed;
    width: 25px;
  }

  .menu .hamburger {
    padding: 20px 20px;
    background: var(--green);
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
    z-index: 1;
  }

  .menu .hamburger>div {
    position: relative;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .menu .hamburger>div:before,
  .menu .hamburger>div:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -7px;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .menu .hamburger>div:after {
    top: 7px;
  }

  .menu .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    max-width: 320px;
    padding: 0;
    margin: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: normal;
    -webkit-align-items: normal;
    -ms-flex-align: normal;
    align-items: normal;
    -webkit-box-pack: normal;
    -webkit-justify-content: normal;
    -ms-flex-pack: normal;
    justify-content: normal;
  }
  
  .menu .nav div {
    height: auto;
  }

  .menu .nav>div {
    display: block;
    background: var(--white);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    transform: translateX(100%);
  }

  .menu .nav>div>.nav-container>ul {
    list-style: none;
    margin: 0;
    display: block;
    text-align: left;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0;
    padding-left: 0;
    opacity: 0;
    box-sizing: border-box;
  }

  .menu .checkbox-toggle:checked~.nav>div>.nav-container>ul {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .menu .nav>div>.nav-container>ul>li {
    width: 100%;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-left: 0;
    height: auto;
    border-bottom: 1px solid var(--gray);
  }

    .menu .nav>div>.nav-container>ul>li>a {
        padding: var(--space24) var(--space16);
        font-weight: 500;
        text-decoration: none;
        position: relative;
        display: inline-block;
        cursor: pointer;
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        box-sizing: border-box;
    }
    
    .menu ul li.parent {
        position: relative;
    }
  
    .menu ul li.parent:after {
        content: "";
        position: absolute;
        background-image: url(../images/icon/chevron-down.svg);
        background-repeat: no-repeat;
        background-position: center;
        width: 24px;
        height: 24px;
        right: 0;
        top: 0;
        padding: 20px;
    }
    
    .menu ul li.parent.active:after {
        transform: rotate(180deg);
    }
  
  .menu ul .dropdown {
    position: relative;
    left: 0;
    top: 0;
    border: none;
    padding-bottom: 8px;
  }
  
  .menu ul li:hover .dropdown {
     display: none; 
  }
  
  .menu ul li.active:hover .dropdown {
     display: block; 
  }
  
  .menu ul .dropdown.visible {
     display: block; 
  }
  
  .menu ul .dropdown li {
    border-bottom: none;
  }
  
  .menu ul .dropdown li a {
    padding: calc(var(--space16) / 2) var(--space16);
  }

  .menu .nav .nav-container {
    margin-top: 79px;
    border-top: 1px solid var(--gray);
    height: calc(100% - 79px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space24);
  }

  .nav-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-container .phone,
  .nav-container .signup {
    display: block;
    width: 100%;
  }

  .nav-container .phone a {
    display: block;
    width: 100%;
    padding: 32px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid var(--gray, #E4DED0);
  }

  .nav-container .signup a {
    justify-content: center;
    border-radius: 0;
  }

  /* END Мобильное меню */

  .main {
    padding: 144px var(--space32) calc(var(--space120) + 496px);
    gap: var(--space90);
  }

  .hero {
    min-height: 576px;
    height: auto;
    margin-bottom: -90px;
  }

  .hero-container {
    max-width: 720px;
    gap: var(--space48);
  }

  .directions {
    padding: var(--space64) 0;
    margin: 0 calc(var(--space32) * -1);
  }

  .directions-item {
    padding: var(--space80) var(--space24);
  }

  .consultation {
    grid-template-columns: repeat(12, 1fr);
  }

  .consultation-info {
    grid-column: span 5;
    justify-content: center;
    padding: var(--space32);
  }

  .consultation-form {
    grid-column: span 7;
    padding: var(--space32);
  }

  .request {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-info {
    padding: var(--space32);
  }

  .request-title {
    word-break: break-all;
    margin-bottom: var(--space16);
  }

  .request-text {
    margin-bottom: var(--space32);
  }

  .principles-list-image img,
  .audience-list-image img {
    padding: var(--space32);
  }

  .solutions {
    gap: var(--space40);
    margin: 0 calc(var(--space32) * -1);
    padding: var(--space64) var(--space32);
  }

  .outcomes-caption {
    padding: var(--space32) 0 var(--space32) var(--space32);
  }

  .outcomes-list {
    margin: var(--space32) var(--space32) var(--space32) 0;
  }

  .directions-btn {
    padding: 0 var(--space32);
  }

  .footer-down {
    grid-template-columns: 1fr auto 1fr;
  }

}

@media (max-width: 960px) {

  .title-1 {
    font-size: 30px;
  }

  .title-2 {
    font-size: 24px;
  }

  .title-3 {
    font-size: 18px;
  }

  .text-large-1 {
    font-size: 18px;
    line-height: 134%;
  }

  .text-large-2,
  .text-large-2_1 {
    font-size: 16px;
    line-height: 124%;
  }

  .text-large-3 {
    font-size: 14px;
    line-height: 130%;
  }

  .text-large-4 {
    font-size: 12px;
  }

  .btn_secondary {
    width: 130px;
    height: 130px;
  }

  .header {
    height: 64px;
  }

  .logo {
    width: 128px;
    padding: 0 24px;
  }

  .menu {
    width: 64px;
  }
  
    .menu .nav .nav-container {
        margin-top: 63px;
        height: calc(100% - 63px);
    }

  .nav-container {
    margin-top: 63px;
    height: calc(100% - 63px);
  }

  .main {
    padding: 128px var(--space24) calc(var(--space120) + 496px);
    gap: var(--space64);
  }

  .hero {
    min-height: auto;
    margin: 0 calc(var(--space40) * -1) 0;
  }

  .hero-bg {
    display: none;
  }

  .hero-text.text-large-2_1 {
    font-weight: 400;
  }

  .benefits-title {
    margin-bottom: var(--space32);
  }

  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space16);
  }

  .benefits-item:last-child {
    grid-column: 2 span;
  }

  .benefits-item {
    padding: var(--space16);
    min-height: 186px;
  }

  .benefits-icon {
    width: 40px;
    height: 40px;
    top: var(--space16);
    right: var(--space16);
  }

  .directions {
    padding: var(--space56) 0;
    margin: 0 calc(var(--space24) * -1);
    gap: var(--space32);
  }

  .directions-list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .directions-item {
    padding: var(--space32) var(--space24);
    gap: var(--space32);
  }

  .directions-top {
    max-width: 460px;
  }

  .directions-item-title {
    margin-bottom: var(--space16);
  }

  .directions-text.text-large-2 {
    font-size: 14px;
    line-height: 130%;
  }

  .directions-item.bg-red:before {
    border-radius: 0 0 500px 500px;
  }

  .directions-btn {
    padding: 0 var(--space24);
  }

  .consultation {
    padding: var(--space32) var(--space16);
  }

  .consultation-info {
    grid-column: span 12;
    text-align: center;
    background: none;
    color: var(--black);
    gap: var(--space8);
    padding: 0;
  }

  .consultation-info:before {
    content: none;
  }

  .consultation-text.text-large-1 {
    font-size: 16px;
    line-height: 130%;
  }

  .consultation-form {
    grid-column: span 12;
    padding: 0;
  }

  .cases {
    padding: var(--space56) var(--space24);
    margin: 0 calc(var(--space24) * -1);
    gap: var(--space32);
  }

  .cases:before,
  .cases:after {
    content: none;
  }

  .cases-list.case_slider.swiper {
    overflow: visible;
  }

  .cases-list .swiper-scrollbar.scrollbar-slider.swiper-scrollbar-horizontal,
  .way-list .swiper-scrollbar.scrollbar-slider.swiper-scrollbar-horizontal {
    display: block;
  }

  .cases-item {
    max-width: 288px;
  }

  .btn-nav-slider {
    display: none;
  }

  .faq {
    gap: var(--space32);
  }

  .faq-title {
    text-align: center;
  }

  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space16);
  }

  .faq-item {
    min-height: 332px;
  }

  .faq-info {
    padding: var(--space16);
  }

  .faq-button {
    top: var(--space16);
    right: var(--space16);
  }

  .request {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0;
  }

  .request-info {
    padding: var(--space56) var(--space24) var(--space24);
    text-align: center;
  }

  .bg-red .request-quote,
  .bg-green .request-quote,
  .bg-blue .request-quote,
  .bg-yellow .request-quote {
    padding: 8px;
    border-left: 0;
  }

  .bg-red .request-quote {
    background: var(--red-exstra);
  }

  .bg-green .request-quote {
    background: var(--green-exstra);
  }

  .bg-blue .request-quote {
    background: var(--blue-exstra);
  }

  .bg-yellow .request-quote {
    background: var(--yellow-exstra);
  }

  .request-image {
    aspect-ratio: 720 / 405;
  }

  .request-image img {
    aspect-ratio: 720 / 595;
    width: auto;
    object-position: top center;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .principles,
  .audience {
    gap: var(--space32);
  }

  .principles-title,
  .audience-title {
    text-align: center;
  }

  .principles-list-wrapper,
  .audience-list-wrapper {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .principles-list-image,
  .audience-list-image {
    display: none;
  }

  .principles-list,
  .audience-list {
    gap: var(--space16);
  }

  .way {
    gap: var(--space32);
  }

  .way-title {
    text-align: center;
  }

  .way-item {
    max-width: 384px;
  }

  .efficiency {
    gap: var(--space32);
  }

  .efficiency-title {
    text-align: center;
  }

  .efficiency-list {
    gap: var(--space16);
  }

  .efficiency-item {
    padding: var(--space16);
    gap: var(--space16);
    min-height: 160px;
  }

  .solutions {
    gap: var(--space32);
    margin: 0 calc(var(--space24) * -1);
    padding: var(--space56) var(--space24);
  }

  .solutions-list {
    gap: var(--space16);
  }

  .solutions-item {
    background: var(--green);
    min-height: 152px;
    padding: var(--space16);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space24);
  }

  .solutions-item-text {
    flex: 1;
    width: 100%;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space24) / 2);
    background: var(--green-exstra);
    box-sizing: border-box;
    padding: 6px;
  }

  .solutions-item-subtitle {
    display: block;
  }

  .methodology {
    gap: var(--space32);
  }

  .methodology-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .methodology-info {
    padding: var(--space40) var(--space24) 0;
  }

  .methodology-essence {
    padding: calc(var(--space24) / 2);
    flex-direction: column;
    gap: var(--space8);
    text-align: center;
  }

  .methodology-image {
    aspect-ratio: 720 / 406;
  }

  .outcomes {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space32);
  }

  .outcomes-caption {
    padding: var(--space24) var(--space24) 0;
    text-align: center;
  }

  .outcomes-image {
    display: none;
  }

  .outcomes-list {
    margin: 0 var(--space24) var(--space24) var(--space24);
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space16);
    padding: var(--space16);
  }

  .outcomes-item {
    flex-direction: row;
    gap: var(--space16);
  }

  .outcomes-number {
    flex: none;
    padding: 1px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .process-title {
    margin-bottom: var(--space32);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space16);
  }

  .process-item {
    padding: var(--space16);
    min-height: 186px;
  }

  .process-item:nth-child(3) {
    grid-column: auto;
  }

  .process-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-number {
    margin: calc(var(--space16) * -1);
  }

  .process-icon {
    width: 40px;
    height: 40px;
    top: var(--space16);
    right: var(--space16);
  }

  .error-404 {
    gap: var(--space32);
  }

  .error-404-number-four {
    height: 74px;
    font-size: 0;
  }

  .error-404-number-four svg {
    height: 100%;
    width: auto;
  }

  .error-404-number img {
    height: 90px;
  }

  .error-404-info {
    max-width: 600px;
  }

  .blog {
    gap: var(--space32);
  }

  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space16);
  }

  .blog-item {
    padding: var(--space16);
    min-height: 550px;
  }

  .article {
    max-width: none;
  }

  .article-content {
    margin-bottom: var(--space48);
    font-size: 18px;
    gap: var(--space32);
  }

  .article-post h1,
  .article-post h2,
  .article-post h3,
  .article-post h4,
  .article-post h5,
  .article-post h6 {
    font-size: 22px;
  }

  .request-btn .btn {
    font-size: 14px;
    padding: 18px;
    min-height: 52px;
  }

  .popup-container {
    padding: var(--space40) 0 var(--space40) var(--space24);
  }
  
  .popup-content-wrapper.fancybox-content {
     padding: var(--space40) var(--space24); 
  }

  .popup-content {
    padding-right: var(--space24);
  }

  .popup-list {
    gap: var(--space24);
  }

  .popup-item {
    grid-template-columns: 1fr;
    gap: calc(var(--space24) / 2);
  }

  .footer {
    padding: 0 24px;
    height: auto;
  }

  .footer:before {
    width: 673px;
    height: 673px;
    top: -261px;
    right: -337px;
  }

  .footer-wrapper {
    justify-content: flex-start;
    margin: var(--space40) 0 0;
  }

  .footer-top {
    padding-bottom: var(--space32)
  }

  .footer-down {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    margin-bottom: var(--space40);
  }
  
  .footer-menu {
    margin-bottom: var(--space40);
  }
  
  .footer-menu.menu-directions {
    margin-bottom: var(--space24);
  }

  .footer-contacts {
    order: 0;
    text-align: left;
    align-items: flex-start;
  }

  .footer-menu {
    order: 0;
  }

  .footer-signup {
    order: 3;
    text-align: left;
    align-items: flex-start;
    gap: var(--space40);
  }

  .footer-signup .btn {
    display: inline-block;
    font-size: 14px;
    padding: 18px;
    min-height: 52px;
  }

  .footer-info {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space8);
    margin-bottom: var(--space16);
  }

  .footer-develop {
    order: 0;
    text-align: left;
  }

  .footer-policy {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 2;
    order: 2;
  }

  .footer-copy {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    order: 1;
    text-align: right;
  }

}

@media (max-width: 680px) {

  .title-1 {
    font-size: 26px;
  }

  .title-2 {
    font-size: 24px;
  }

  .title-3 {
    font-size: 18px;
  }

  .title-4 {
    font-size: 16px;
  }

  .logo {
    padding: 0 16px;
  }

  .main {
    padding: 112px var(--space16) calc(var(--space120) + 496px);
    gap: var(--space56);
  }

  .hero-container {
    text-align: left;
    gap: var(--space32);
  }

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

  .hero-item {
    gap: 12px;
  }

  .hero-level {
    justify-content: left;
  }
  
  .btn-hero-wrapper {
    flex-direction: column;
  }

  .hero-btn .btn {
    display: block;
  }
  
  .step-label {
    display: none;
  }

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

  .benefits-item:last-child {
    grid-column: auto;
  }

  .directions {
    padding: var(--space48) 0;
    margin: 0 calc(var(--space16) * -1);
  }

  .directions-item {
    padding: var(--space32) var(--space16);
  }

  .directions-top {
    max-width: none;
  }

  .directions-btn {
    padding: 0 var(--space16);
  }

  .cases {
    padding: var(--space48) var(--space16);
    margin: 0 calc(var(--space16) * -1);
  }

  .faq-list {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space8);
  }

  .request-info {
    padding: var(--space48) var(--space16) var(--space24);
  }

  .request-title {
    word-break: normal;
  }

  .principles-list,
  .audience-list {
    flex-direction: column;
    gap: var(--space8);
  }

  .principles-item,
  .audience-item,
  .principles-item:nth-child(-n+2) {
    flex: none;
    flex-basis: auto;
    min-height: 196px;
  }

  .efficiency-list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .solutions {
    margin: 0 calc(var(--space16) * -1);
    padding: var(--space48) var(--space16);
  }

  .solutions-title.title-2 {
    text-align: center;
  }

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

  .methodology-title.title-2 {
    text-align: center;
  }

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

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

  .article-down {
    flex-direction: column;
  }

  .article-share {
    width: 100%;
    justify-content: space-between;
  }

  .article-btn {
    width: 100%;
  }

  .article-btn .btn {
    height: 52px;
    padding: 18px 22px;
  }

  .popup-container {
    padding: var(--space40) 0 var(--space40) var(--space16);
  }
  
  .popup-content-wrapper.fancybox-content {
     padding: var(--space40) var(--space16); 
  }

  .popup-content {
    padding-right: var(--space16);
  }

  .popup-form .popup-container {
    max-width: calc(442px - (var(--space16)));
    padding: var(--space56) 0 var(--space24) var(--space16);
  }

  .popup-form .popup-content {
    padding-right: var(--space16);
  }

  .footer {
    padding: 0 16px;
  }

  .footer:before {
    top: -280px;
    right: -485px;
  }

  .footer-signup .btn {
    display: block;
    width: 100%;
  }

  .footer-info {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-copy,
  .footer-policy {
    grid-column-start: auto;
    grid-column-end: auto;
    grid-row-start: auto;
    grid-row-end: auto;
    text-align: left;
  }

  .footer-copy {
    order: 3;
  }

}