@charset "UTF-8";

/* ==================== УТИЛИТЫ И ВСПОМОГАТЕЛЬНЫЕ ФУНКЦИИ ==================== */

/* ==  Переменные для управления стилями  == */

:root {
  /* ==  Переменные для управления цветом  == */
  --main-color-black: #000;
  --main-color-white: #fff;
  --main-color-default: #efd48b;
  --main-color-primary: #ddd;
  /* ==  Переменные для управления контейнером  == */
  --container-width: 1164px;
  --container-padding: 12px;
  /* ==  Переменные для управления шрифтом  == */
  --font-family: "Inter", sans-serif;
  --font-family-secondary: "Oranienbaum", serif;
  --font-size-default: 16px;
  --line-height-default: 130%;
  --font-weight-default: 400;
  --font-size-default-media: 16px;
  --line-height-default-media: 120%;
  /* ==  Переменные для управления заголовками  == */
  --h1-default-fz: 85px;
  --h1-default-lh: 85px;
  --h2-default-fz: 45px;
  --h2-default-lh: 100%;
  --h3-default-fz: 38px;
  --h3-default-lh: normal;
  --h4-default-fz: 30px;
  --h4-default-lh: normal;
  --h5-default-fz: 24px;
  --h5-default-lh: normal;
  --h6-default-fz: 21px;
  --h6-default-lh: normal;
  --h-default-font-weight: 400;
}

/*==  Сброс стилей  ==*/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ==  Дефолтные настройки  == */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--h-default-font-weight);
  color: var(--main-color-default);
  display: block;
  text-transform: uppercase;
  font-family: var(--font-family-secondary);
}

h1 {
  font-size: var(--h1-default-fz);
  line-height: var(--h1-default-lh);
  letter-spacing: -0.85px;
}

h2 {
  font-size: var(--h2-default-fz);
  line-height: var(--h2-default-lh);
  letter-spacing: -0.45px;
}

h3 {
  font-size: var(--h3-default-fz);
  line-height: var(--h3-default-lh);
}

h4 {
  font-size: var(--h4-default-fz);
  line-height: var(--h4-default-lh);
}

h5 {
  font-size: var(--h5-default-fz);
  line-height: var(--h5-default-lh);
}

h6 {
  font-size: var(--h6-default-fz);
  line-height: var(--h6-default-lh);
}

p {
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
}

a {
  text-decoration: none;
  color: var(--main-color-default);
  display: inline-block;
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
}

b,
strong {
  font-weight: 700;
}

img,
svg,
picture {
  max-width: 100%;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: flex;
}

ol,
ul {
  margin-bottom: 30px;
  list-style-type: none;
}

ul li,
ol li {
  position: relative;
  color: var(--main-color-default);
  padding-left: 22px;
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
}

ul li::before,
ol li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--main-color-default);
}

figure {
  margin: 0 0 20px 0;
}

figure:last-child {
  margin-bottom: 0;
}

iframe {
  display: block;
  width: 100%;
  border: none;
  box-shadow: none;
  margin: 0 0 20px 0;
}

iframe:last-child {
  margin-bottom: 0;
}

hr {
  display: block;
  border: 1px solid var(--main-color-default);
}

/* ==  Шрифты  == */

@font-face {
  font-family: "Cormorant";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Cormorant-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Cormorant-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Inter-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Inter-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "InterTight";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/InterTight-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Oranienbaum";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Oranienbaum-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src:
    local(""),
    url("../font/Roboto-Medium.woff2") format("woff2");
}

/* ==  Стили полей при вводе  == */

input:-webkit-autofill {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

textarea:-webkit-autofill {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

select:-webkit-autofill {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #4f4f4f;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==  Эффекты наведения  == */

._btn-hover-scale {
  transition: transform 0.3s ease 0s;
  will-change: transform;
}

._btn-hover-scale:hover {
  transform: scale(0.97);
}

._btn-hover-bg {
  background-color: var(--main-color-default);
  transition: all 0.3s ease 0s;
}

._btn-hover-bg:hover {
  background-color: #b69e5f;
}

/* ==================== ГЛОБАЛЬНЫЕ СТИЛИ ==================== */

body {
  font-family: var(--font-family);
  color: var(--main-color-default);
  font-weight: var(--font-weight-default);
  font-size: var(--font-size-default);
  line-height: var(--line-height-default);
  background: var(--main-color-black);
}

body._disable-scroll {
  overflow: hidden;
  touch-action: none;
  -ms-touch-action: none;
}

.n-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

main {
  flex: 1;
  position: relative;
}

.container {
  max-width: var(--container-width);
  width: 100%;
  padding-inline: var(--container-padding);
  margin-inline: auto;
}

.swiper {
  width: 100%;
}

.scroller {
  height: 100vh;
  will-change: transform;
}

/* ==================== ПОДКЛЮЧЕНИЕ КОМПОНЕНТОВ ==================== */

/* == Шапка сайта == */

.header {
  background: var(--main-color-black);
  padding-top: 32px;
  padding-bottom: 25px;
  z-index: 2;
  position: relative;
}

.header__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.header__logo {
  max-width: 76px;
  width: 100%;
}

.header__info {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.header__tg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--main-color-default);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.header__tg img {
  width: 18px;
  height: 15px;
}

.header-menu__list {
  display: flex;
  -moz-column-gap: 40px;
  column-gap: 40px;
  row-gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.header-menu li {
  color: var(--main-color-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
  padding-bottom: 6.5px;
  padding-left: 0px;
  position: relative;
  text-transform: lowercase;
}

.header-menu li p {
  cursor: default;
}

.header-menu li a,
.header-menu li p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  transition: color 0.3s ease 0s;
}

.header-menu li._is-parent > p {
  padding-right: 13px;
  position: relative;
}

.header-menu li._is-parent > p::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 9px;
  height: 6px;
  background: url("../img/icons/arrow-menu.svg") no-repeat center/contain;
  filter: grayscale(1);
  transition: filter 0.2s ease 0s;
}

.header-menu li:hover > p,
.header-menu li:hover > a {
  color: var(--main-color-default);
}

.header-menu li:hover p::after {
  filter: none;
}

.header-menu li::before {
  display: none;
}

.header-menu li ul {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 8px;
  border: 1px solid var(--main-color-default);
  background: #202020;
  transition: all 0.3s ease 0s;
  margin-bottom: 0;
  min-width: 250px;
  max-width: 250px;
}

.header-menu li ul li {
  color: var(--main-color-primary);
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
  padding: 15px;
}
.header-menu li ul li:not(:last-child) {
  border-bottom: 1px solid rgba(221, 221, 221, 0.3);
}

.header-menu li ul li::before {
  display: none;
}

.header-menu li ul li a,
.header-menu li ul li p {
  display: block;
}

.header-menu li ul li ul {
  left: auto;
  right: -100%;
  bottom: auto;
  top: 0;
  z-index: 1;
  transform: translate(0, 100%);
}
.header-menu li ul li:hover ul {
  transform: translate(0, 0);
}

.header-menu li ul li {
  position: relative;
}

.header-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 100%);
  pointer-events: auto;
}

.header-burger {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.header-burger span {
  width: 31px;
  height: 1px;
  background: var(--main-color-default);
  transition: all 0.3s ease 0s;
}

.header-burger span:nth-child(2) {
  width: 22px;
}

.header-burger._is-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header-burger._is-active span:nth-child(2) {
  transform: translateX(-100%);
  opacity: 0;
}

.header-burger._is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.phone {
  padding: 6px 37px 6px 10px;
  border-radius: 35px;
  color: var(--main-color-black);
  background: var(--main-color-default);
  font-family: "InterTight", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  position: relative;
}

.phone::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("../img/icons/phone.svg") no-repeat center/contain;
}

/* == Главная страница == */

.hero {
  margin-bottom: 90px;
}

.hero__wrapper {
  display: flex;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100vh;
  max-height: 752px;
}

.hero__block {
  max-width: 821px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  margin-bottom: 7px;
  text-align: center;
}

.hero__list {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.hero__item {
  color: var(--main-color-default);
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.4px;
  text-align: center;
  position: relative;
}

.hero__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--main-color-default);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 8px;
  overflow: hidden;
}

.hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, #546595 35.48%, rgba(155, 148, 158, 0.49) 69.78%, rgba(212, 186, 175, 0) 100%);
  mix-blend-mode: multiply;
}

.hero__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.circle-btn {
  border-radius: 50%;
  position: relative;
  z-index: 1;
  padding: 5px;
  background: transparent;
}

.circle-btn p {
  color: var(--main-color-black);
  text-align: center;
  font-family: var(--font-family-secondary);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.32px;
  padding: 32px 12px;
  max-width: 117px;
  background: #d2b056;
  border-radius: 50%;
}

.circle-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #d2b056;
  z-index: -1;
  transition: all 0.3s ease 0s;
}

.circle-btn:hover::before {
  border-color: var(--main-color-default);
}

.services {
  margin-bottom: 90px;
}

.services__wrapper {
  display: flex;
  gap: 41px;
  justify-content: space-between;
  align-items: flex-start;
}

.services__left {
  max-width: 330px;
  width: 100%;
}

.services__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.services__content {
  display: flex;
  flex-direction: column;
  gap: 73px;
  align-items: flex-start;
}

.services__right {
  max-width: 656px;
  width: 100%;
}

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

.services__item {
  border-radius: 10px;
  background: #202020;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 20px 30px;
  transition: transform 0.3s ease 0s;
}

.services__item:hover {
  transform: translateY(-5px);
}

.services__name {
  font-size: 40px;
  line-height: 100%;
  letter-spacing: -1.2px;
  flex-grow: 1;
}

.services__description {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.services__description ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0px;
}

.services__description ul li {
  padding-left: 25px;
}

.services__description ul li::before {
  height: 1px;
  width: 15px;
  transform: none;
  border-radius: 0;
}

.services__description * {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
}

.services__img {
  max-width: 220px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.services__img img {
  aspect-ratio: 1/1;
}

._btn {
  font-family: "Roboto", sans-serif;
  color: var(--main-color-black);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.1px;
  padding: 17.5px 55.5px;
  border-radius: 8px;
  background: var(--main-color-default);
  cursor: pointer;
}

._title-border {
  padding-bottom: 25px;
  position: relative;
}

._title-border::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 75%;
  height: 1px;
  background: var(--main-color-default);
}

.exp {
  margin-bottom: 90px;
}

.exp__title {
  max-width: 445px;
  margin-bottom: 60px;
}

.exp__title._title-border::after {
  width: 95%;
}

.exp__list {
  display: flex;
  gap: 20px 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.exp__item {
  width: calc(25% - 18px);
  padding: 20px 25px 20px 20px;
  border-radius: 8px;
  background: #202020;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
}

.exp__img {
  flex-shrink: 0;
  flex-grow: 1;
}

.exp__img img {
  width: 54px;
  height: 40px;
}

.exp__name {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.4px;
}

.exp__text {
  padding: 26px 19px;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  border-radius: 8px;
  background: #202020;
}

.consult {
  margin-bottom: 90px;
}

.consult__wrapper {
  padding: 30px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.consult__left {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 70px;
  align-items: flex-start;
}

.consult__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/main/consult-block/bg.jpg") no-repeat center/cover;
  z-index: -1;
  pointer-events: none;
}

.consult__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #414141;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

.consult__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-grow: 1;
}

.consult__title {
  max-width: 300px;
}

.consult__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.consult__item {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  display: flex;
  gap: 14px;
  align-items: center;
  counter-increment: roman-counter;
}

.consult__item::before {
  content: counter(roman-counter, upper-roman);
  color: var(--main-color-default);
  font-family: "Cormorant", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.212px;
  text-transform: uppercase;
  width: 35px;
  height: 35px;
  border: 1px solid var(--main-color-default);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.consult__text {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.consult__text span {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.form {
  max-width: 530px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  border-radius: 5px;
  background: #202020;
}

.form__title {
  font-size: 40px;
  line-height: 100%;
  letter-spacing: -2px;
}

.form__policy {
  font-size: 14px;
  line-height: normal;
}

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

.form input {
  color: #4f4f4f;
  font-size: 14px;
  line-height: 155%;
  padding: 19px 20px;
  border-radius: 8px;
  border: 1px solid #828282;
  background: var(--main-color-white);
  width: 100%;
}

.form input::-moz-placeholder {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form input::placeholder {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form input[type="submit"] {
  color: var(--main-color-black);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
  padding: 17.5px;
  width: 100%;
  border-radius: 5px;
  background: var(--main-color-default);
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.form input[type="submit"]:hover {
  background-color: #b69e5f;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cooperation {
  margin-bottom: 90px;
}

.cooperation__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.cooperation__title._title-border::after {
  width: 100%;
}

.cooperation__list {
  display: flex;
  flex-wrap: wrap;
}

.cooperation__item {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cooperation__item:not(:last-child) {
  padding-right: 37px;
  border-right: 1px solid var(--main-color-default);
}

.cooperation__item:not(:first-child) {
  padding-left: 20px;
}

.cooperation__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.cooperation__text {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cooperation__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.plan {
  margin-bottom: 90px;
}

.plan__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 45px 30px;
  background: #414141;
}

.plan__title {
  max-width: 348px;
}

.plan__title._title-border::after {
  width: 100%;
}

.plan__item {
  counter-increment: roman-counter;
  display: flex;
  gap: 55px;
  align-items: center;
}

.plan__item:not(:first-child) {
  padding-top: 20px;
}

.plan__item:not(:last-child) {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.plan__name {
  max-width: 333px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
  flex-shrink: 0;
}

.plan__name::before {
  content: counter(roman-counter, upper-roman);
  color: var(--main-color-default);
  font-family: "Cormorant", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 66px;
}

.plan__text {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
}

.reviews {
  margin-bottom: 221px;
}

.reviews__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.reviews__title._title-border::after {
  width: 100%;
}

.reviews__slider {
  position: relative;
}

.reviews__item {
  height: auto;
}

.reviews__item img {
  aspect-ratio: 53/75;
  -o-object-fit: cover;
  object-fit: cover;
}

.reviews__fancy {
  display: block;
}

.reviews__prev {
  left: 15px;
}

.reviews__prev,
.reviews__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.reviews__next {
  right: 15px;
}

.slide-prev,
.slide-next {
  width: 32px;
  height: 32px;
  background-color: var(--main-color-default);
  cursor: pointer;
  border-radius: 50%;
}
.slide-prev.swiper-button-disabled,
.slide-next.swiper-button-disabled {
  opacity: 0.7;
  pointer-events: none;
}
.slide-prev {
  background-image: url("../img/icons/arrow-left.svg");
  background-size: 7px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.slide-next {
  background-image: url("../img/icons/arrow-right.svg");
  background-size: 7px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.clients {
  margin-bottom: 90px;
}

.clients__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.clients__top {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.clients__title._title-border::after {
  width: 100%;
}

.clients__item {
  border-radius: 8px;
  background: #202020;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  min-height: 267px;
  padding: 20px;
}

.clients__img {
  max-width: 199px;
}

.clients__img img {
  width: auto;
  height: auto;
}

.clients-nav {
  display: flex;
  gap: 61px;
}

.slide-prev-big,
.slide-next-big {
  width: 101px;
  height: 16px;
  cursor: pointer;
}

.slide-prev-big {
  background: url("../img/icons/arrow-left-big.svg") no-repeat center/contain;
}

.slide-next-big {
  background: url("../img/icons/arrow-right-big.svg") no-repeat center/contain;
}

.problem {
  margin-bottom: 90px;
}

.problem__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.problem__title._title-border::after {
  width: 100%;
}

.problem__list {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.problem__item {
  width: calc(20% - 17.6px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  counter-increment: problem-count;
}

.problem__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.problem__name::before {
  content: counter(problem-count, upper-roman);
  color: var(--main-color-default);
  font-family: "Cormorant", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--main-color-default);
  border-radius: 50%;
  min-width: 70px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.problem__text {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.callback {
  margin-bottom: 90px;
}

.callback__wrapper {
  display: flex;
  gap: 59px;
  border-radius: 8px;
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.callback__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 496px;
}

.callback__left p {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  max-width: 337px;
}

.callback__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/main/consult-block/bg.jpg") no-repeat center/cover;
  z-index: -1;
  pointer-events: none;
}

.callback__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #414141;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

.callback__right {
  width: 100%;
}

.faq {
  margin-bottom: 90px;
}

.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq__title._title-border::after {
  width: 100%;
}

.faq__item {
  padding: 24px 30px 24px 0px;
  border-bottom: 1px solid var(--main-color-default);
  cursor: pointer;
  position: relative;
}

.faq__item:not(:first-child) {
  border-top: 1px solid var(--main-color-default);
}

.faq__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
}

.faq__name::before {
  content: "";
  position: absolute;
  bottom: 50%;
  right: 9px;
  transform: translateY(50%);
  background: var(--main-color-default);
  width: 23px;
  height: 1px;
  transition: all 0.3s ease 0s;
}

.faq__name::after {
  content: "";
  position: absolute;
  bottom: 50%;
  right: 9px;
  transform: translateY(50%);
  background: var(--main-color-default);
  width: 23px;
  height: 1px;
  transform: rotate(90deg);
  transition: all 0.3s ease 0s;
}

.faq__item._is-active .faq__name::after {
  transform: rotate(0);
  opacity: 0;
  bottom: 25px;
  transform: translateY(0);
}

.faq__item._is-active .faq__name::before {
  bottom: 25px;
  transform: translateY(0);
}

.faq__content {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  height: 0;
  max-width: 860px;
  transition: all 0.3s ease 0s;
}

.faq__content * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.faq__item._is-active .faq__content {
  margin-top: 20px;
  height: 100%;
}

/* == 404 страница == */

/* == Подвал сайта == */

.footer__wrapper {
  padding-top: 45px;
  padding-bottom: 41px;
  display: flex;
  position: relative;
  z-index: 1;
}

.footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 508px;
  width: 100%;
}

.footer__title {
  margin-bottom: 60px;
}

.footer__title._title-border::after {
  width: 100%;
}

.footer__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "contacts menu" "copy policy";
  gap: 13px 75px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 30px;
  grid-area: contacts;
}

.footer__address {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
}

.footer__copy {
  max-width: 216px;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  grid-area: copy;
}

.footer__policy {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  grid-area: policy;
  align-self: end;
  transition: color 0.3s ease 0s;
}

.footer__policy:hover {
  color: #b69e5f;
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.footer__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.footer-phone__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-phone__item {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
  transition: color 0.3s ease 0s;
}

.footer-phone__item:hover {
  color: #b69e5f;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  grid-area: menu;
}

.footer-menu__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.2px;
}

.footer-menu__list {
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-menu__item {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.14px;
  padding-left: 0px;
}

.footer-menu__item:hover a {
  color: #b69e5f;
}

.footer-menu__item a {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  transition: color 0.3s ease 0s;
}

.footer-menu__item::before {
  display: none;
}

/* ==  Бургер меню  == */

.burger {
  position: fixed;
  inset: 0;
  z-index: 9;
  transform: translateX(100%);
  pointer-events: none;
  transition: all 0.3s ease 0s;
  display: none;
  background: var(--main-color-black);
}

.burger._is-show {
  transform: translateX(0);
  pointer-events: auto;
}

.burger__wrapper {
  padding-top: 32px;
  padding-bottom: 32px;
  height: 100%;
  overflow: auto;
}

.burger__top {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 12px 12px 12px;
  border-bottom: 1px solid var(--main-color-default);
}

.burger__middle {
  padding: 0px 12px;
}

.burger__logo {
  max-width: 76px;
}

.burger__close {
  width: 16px;
  height: 16px;
}

.burger__phone {
  margin-bottom: 15px;
  padding: 6px 37px 6px 10px;
  border-radius: 35px;
  color: var(--main-color-black);
  font-family: "Inter Tight";
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.burger-menu {
  margin-bottom: 40px;
}

.burger-menu__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
}

.burger-menu ul._is-show {
  display: block;
}

.burger-menu > ul > li {
  border-bottom: 1px solid #d2b056;
}

.burger-menu li {
  padding: 10px 0px;
  color: var(--main-color-default);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
}

.burger-menu li::before {
  display: none;
}

.burger-menu li a,
.burger-menu li p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.burger-menu li ul {
  display: none;
  padding-left: 10px;
  margin-bottom: 0px;
}

.burger-menu li ul li {
  color: var(--main-color-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.42px;
  padding: 10px 0px;
}

.burger-menu li ul li:not(:first-child) {
  border-top: 1px solid rgba(221, 221, 221, 0.3);
}

.burger-menu li ul li a,
.burger-menu li ul li p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.burger-menu li ul li::before {
  display: none;
}

.burger-menu li ul li ul {
  padding-left: 10px;
}

.burger-menu li ul li ul li {
  font-weight: 400;
}

.burger-menu li ul li ul li:not(:first-child) {
  padding-bottom: 10px;
}

.burger-menu li ul li ul li:not(:last-child) {
  border-bottom: 1px solid rgba(221, 221, 221, 0.3);
}

.burger-menu li ul li ul li a,
.burger-menu li ul li ul li p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.burger-menu li ul .burger-menu__icon {
  filter: grayscale(1);
}

.burger-menu__top {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.burger-menu__icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease 0s;
}

.burger-menu__top._is-active .burger-menu__icon {
  transform: rotate(180deg);
}

.burger-menu__icon img {
  width: 9px;
  height: 6px;
}

.burger-social__list {
  display: flex;
  gap: 10px;
}

.burger-social__item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--main-color-default);
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger-social__item img {
  width: 18px;
  height: 15px;
}

/* == Детальная страница услуг == */

.s-hero {
  margin-bottom: 90px;
}

.s-hero__wrapper {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 40px 40px 31px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 410px;
}

.s-hero__content {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-hero__title {
  text-align: center;
  margin-bottom: 20px;
}

.s-hero__description {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 45px;
  max-width: 690px;
}

.s-hero__description * {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.s-hero__btn {
  color: var(--main-color-black);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.1px;
  padding: 17.5px 47.5px;
  border-radius: 8px;
  background: var(--main-color-default);
}

.s-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.s-hero__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.s-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(64, 60, 56, 0.8);
}

.s-services {
  margin-bottom: 90px;
}

.s-services__list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.s-services__item {
  padding: 10px 15px;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.4px;
  border-radius: 60px;
  border: 1px solid #efd48b;
}

.s-problem {
  margin-bottom: 90px;
}

.s-problem__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.s-problem__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.s-problem__title {
  max-width: 500px;
}

.s-problem__title._title-border::after {
  width: 100%;
}

.s-problem__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.s-problem__item {
  width: calc(25% - 15px);
  border-radius: 8px;
  background: #202020;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}

.s-problem__icon {
  max-width: 40px;
}

.s-problem__name {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.4px;
}

.s-problem__bottom {
  display: flex;
  gap: 30px;
  padding: 20px 93px 20px 20px;
  border-radius: 8px;
  background: #202020;
}

.s-problem__img {
  border-radius: 10px;
  overflow: hidden;
  max-width: 220px;
  width: 100%;
}

.s-problem__img img {
  aspect-ratio: 110/141;
  -o-object-fit: cover;
  object-fit: cover;
}

.s-problem__text {
  width: 100%;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s-problem__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.s-trust {
  margin-bottom: 90px;
}

.s-trust__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.s-trust__title._title-border::after {
  width: 100%;
}

.s-trust__list {
  display: flex;
  flex-wrap: wrap;
}

.s-trust__item {
  width: 33.333%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  position: relative;
}

.s-trust__item::after {
  content: "";
  height: calc(100% - 30px);
  width: 1px;
  background: var(--main-color-default);
  position: absolute;
  top: 0;
  right: 0;
}

.s-trust__item::before {
  content: "";
  height: 1px;
  width: calc(100% - 30px);
  background: var(--main-color-default);
  position: absolute;
  top: 0;
  left: 0;
}

.s-trust__item:nth-child(3n) {
  padding-right: 0;
}

.s-trust__item:nth-child(3n)::after {
  display: none;
}

.s-trust__item:nth-child(3n + 1) {
  padding-left: 0;
}

.s-trust__item:nth-child(n + 4) {
  padding-top: 30px;
}

.s-trust__item:nth-child(n + 4)::after {
  top: 30px;
  height: calc(100% - 60px);
}

.s-trust__item:nth-child(-n + 3) {
  padding-bottom: 30px;
  padding-top: 0px;
}

.s-trust__item:nth-child(-n + 3)::before {
  display: none;
}

.s-trust__item:nth-child(3n + 2)::before {
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
}

.s-trust__item:nth-child(3n)::before {
  left: auto;
  right: 0;
}

.s-trust__subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.s-trust__text {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s-trust__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.s-price__value {
  padding: 9.5px;
  border-radius: 5px;
  border: 1px solid var(--main-color-default);
  color: var(--main-color-default);
  font-family: var(--font-family-secondary);
  font-size: 30px;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  text-align: center;
}

.callback.s-price .callback__left {
  max-width: 525px;
  width: 100%;
}

.callback.s-price .callback__left p {
  flex-grow: 1;
}

.callback.s-price .callback__left .callback__title {
  max-width: 337px;
}

.callback.s-price .callback__wrapper {
  gap: 30px;
}

.s-cases {
  margin-bottom: 90px;
}

.s-cases__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.s-cases__title._title-border::after {
  width: 100%;
}

.s-cases__block {
  position: relative;
  padding: 0px 62px;
  width: 100%;
}

.s-cases__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border-radius: 8px;
  background: #202020;
  padding: 20px;
  height: auto;
  min-height: 215px;
}

.s-cases__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.s-cases__price {
  font-family: var(--font-family-secondary);
  font-size: 30px;
  line-height: 100%;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.s-cases__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
}

.s-cases__btn {
  padding: 6.5px 21px;
  color: var(--main-color-black);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
  border-radius: 5px;
  background: var(--main-color-default);
}

.s-cases__prev {
  left: 0;
}

.s-cases__prev,
.s-cases__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.s-cases__next {
  right: 0;
}

.reviews._margin-default {
  margin-bottom: 90px;
}

/* == О компании == */

.a-hero {
  margin-bottom: 90px;
}

.a-hero__wrapper {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 30px;
  min-height: 410px;
}

.a-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  max-width: 460px;
}

.a-hero__description {
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a-hero__description * {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.a-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.a-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #403c38 0.16%, rgba(64, 60, 56, 0) 95.64%);
}

.a-hero__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.a-info {
  margin-bottom: 90px;
}

.a-info__wrapper {
  border-radius: 8px;
  background: #202020;
  padding: 20px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.a-info__title {
  max-width: 362px;
  width: 100%;
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.a-info__description {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 708px;
  width: 100%;
}

.a-info__description * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.a-contacts {
  margin-bottom: 90px;
}

.a-contacts__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.a-contacts__title._title-border::after {
  width: 100%;
}

.a-contacts__list {
  display: flex;
  flex-wrap: wrap;
}

.a-contacts__item {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 290px;
}

.a-contacts__item:first-child {
  padding-right: 54px;
}

.a-contacts__item:nth-child(2) {
  padding-right: 51px;
  padding-left: 30px;
}

.a-contacts__item:last-child {
  padding-left: 30px;
}

.a-contacts__item:not(:last-child) {
  border-right: 1px solid var(--main-color-default);
}

.a-contacts__icon {
  width: 35px;
  height: 35px;
}

.a-contacts__mail {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
  transition: all 0.3s ease 0s;
}
.a-contacts__mail:hover {
  color: #b69e5f;
}

.a-contacts__address {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
}

.a-contacts-phone__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.a-contacts-phone__item {
  font-size: 20px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.6px;
  transition: all 0.3s ease 0s;
}
.a-contacts-phone__item:hover {
  color: #b69e5f;
}
/* == Контакты == */

.c-hero {
  margin-bottom: 90px;
}

.c-hero__wrapper {
  border-radius: 8px;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 410px;
  overflow: hidden;
  padding: 40px;
}

.c-hero__title {
  max-width: 792px;
  text-align: center;
}

.c-hero__description {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.4px;
  max-width: 621px;
}

.c-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.c-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(84, 101, 149, 0.8) 35.48%,
    rgba(155, 148, 158, 0.4) 69.78%,
    rgba(212, 186, 175, 0) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.c-hero__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.c-map {
  margin-bottom: 90px;
}

.c-map__wrapper {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 484px;
}

.c-map__bg {
  position: absolute;
  inset: 0;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}

.c-map__bg::before {
  content: "";
  background: rgba(32, 32, 32, 0.6);
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease 0s;
}

.c-map__bg:hover::before {
  opacity: 0.5;
}

.c-map__bg._is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.c-map__bg img {
  -o-object-fit: cover;
  object-fit: cover;
}

.c-map iframe {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.c-map__container {
  width: 100%;
  height: 100%;
}

.c-social {
  margin-bottom: 90px;
}

.c-social__wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.c-social__list {
  display: flex;
  gap: 20px;
}

.c-social__item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--main-color-default);
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-social__item img {
  width: 24px;
  height: 24px;
}

.c-social__line {
  width: calc(50% - 10px);
  height: 1px;
  background: var(--main-color-default);
}

/* == FAQ == */

.faq-hero .c-hero__bg::before {
  background: linear-gradient(
    180deg,
    rgba(67, 60, 47, 0.6) 35.48%,
    rgba(67, 60, 47, 0.3) 69.78%,
    rgba(67, 60, 47, 0) 100%
  );
  mix-blend-mode: unset;
}

/* == Блог == */

.blog-hero .c-hero__bg::before {
  background: linear-gradient(180deg, rgba(67, 60, 47, 0.6) 12%, rgba(67, 60, 47, 0.29) 59%, rgba(67, 60, 47, 0) 100%);
  mix-blend-mode: unset;
}

.blog {
  margin-bottom: 90px;
}

.blog__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.blog__content {
  width: 100%;
}

.blog__block {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}
.blog__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.blog__item {
  width: calc(33.333% - 13.333px);
  padding: 20px;
  border-radius: 8px;
  background: #202020;
  transition: transform 0.3s ease 0s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog__item:hover {
  transform: translateY(-10px);
}

.blog__img {
  border-radius: 10px;
  overflow: hidden;
}

.blog__img img {
  aspect-ratio: 326/165;
  object-fit: cover;
}

.blog__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.blog__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.blog__description {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
}

.blog-tab__list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.blog-tab__item {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.4px;
  padding: 10px 15px;
  border-radius: 60px;
  border: 1px solid var(--main-color-default);
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.blog-tab__item:hover,
.blog-tab__item._is-active {
  background: var(--main-color-default);
  color: var(--main-color-black);
}

.pag {
  display: flex;
  gap: 30px;
  align-items: center;
}

.pag__list {
  display: flex;
  gap: 15px;
}

.pag__item {
  color: #414141;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.pag__item._is-active {
  color: var(--main-color-default);
}

.pag__prev {
  background-image: url("../img/icons/arrow-left.svg");
  background-size: 7px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.pag__prev,
.pag__next {
  width: 32px;
  height: 32px;
  background-color: var(--main-color-default);
  cursor: pointer;
  border-radius: 50%;
}

.pag__prev._disabled,
.pag__next._disabled {
  pointer-events: none;
  opacity: 0.5;
}

.pag__next {
  background-image: url("../img/icons/arrow-right.svg");
  background-size: 7px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* == Блог детальная == */

.c-hero.bd-hero .c-hero__bg::before {
  background: linear-gradient(180deg, rgba(64, 60, 56, 0) 0%, rgba(64, 60, 56, 0.85) 100%);
  mix-blend-mode: unset;
}

.c-hero.bd-hero .c-hero__wrapper {
  padding: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

.c-hero.bd-hero .c-hero__title {
  text-align: left;
  font-size: 65px;
  line-height: 65px;
  letter-spacing: -0.65px;
  max-width: 528px;
}

.c-hero.bd-hero .c-hero__date {
  padding-left: 30px;
  position: relative;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
}

.c-hero.bd-hero .c-hero__date::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("../img/other-page/blog-detail/hero-block/icon/date.svg") no-repeat center/contain;
}

.quote {
  margin-bottom: 60px;
}

.quote__wrapper {
  padding: 20px 20px 20px 120px;
  border-radius: 8px;
  background: #202020;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.quote__wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 70px;
  height: 70px;
  background: url("../img/other-page/blog-detail/quote-block/icon.svg") no-repeat center/contain;
}

.quote__text {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}

.quote__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.bd-info {
  margin-bottom: 60px;
}

.bd-info__wrapper {
  display: flex;
  justify-content: flex-end;
}

.bd-info__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 800px;
  width: 100%;
}

.bd-info__description h2 {
  padding-bottom: 25px;
  position: relative;
  margin-bottom: 60px;
}

.bd-info__description h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--main-color-default);
}

.bd-info__description p {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
}

.bd-info__description *:not(p, h2, li, h3, h4, h5, h6) {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
}

.bd-info__description *:not(:last-child, h2, li, h3) {
  margin-bottom: 30px;
}

.bd-info__description ol li {
  counter-increment: custom-num;
}

.bd-info__description ol li::before {
  content: counter(custom-num) " .";
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  background: transparent;
  border-radius: 0;
  top: 0;
  left: 5px;
  transform: translateY(0);
  width: auto;
  height: auto;
}

.bd-info__description ul li::before {
  top: 9px;
  left: 9px;
  width: 5px;
  height: 5px;
  transform: translateY(0);
}

.bd-info__description ul,
.bd-info__description ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}

.bd-info__description ul li,
.bd-info__description ol li {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  padding-left: 23px;
}

.bd-info__description img {
  border-radius: 10px;
  aspect-ratio: 800/299;
  -o-object-fit: cover;
  object-fit: cover;
}

.bd-info__description h3 {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
  text-transform: none;
  margin-bottom: 30px;
}

.share {
  margin-bottom: 90px;
}

.share__wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.share__text {
  font-size: 24px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.72px;
}

.share__list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.share__item {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.bd-price {
  margin-bottom: 60px;
}

.bd-price__wrapper {
  overflow: auto;
  /* полоса прокрутки (скроллбар) */
  /* ползунок скроллбара */
}

.bd-price__wrapper::-webkit-scrollbar {
  border-radius: 90px;
  background: #202020;
  height: 8px;
}

.bd-price__wrapper::-webkit-scrollbar-thumb {
  background-color: var(--main-color-default);
  border-radius: 90px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  height: auto;
  background: #202020;
  border: 1px solid var(--main-color-default);
  min-width: 1140px;
}

table td {
  padding: 12px 15px;
  color: var(--main-color-default);
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
  border: 1px solid var(--main-color-default);
}

table tr:first-child {
  background: var(--main-color-default);
}

table tr:first-child td {
  color: var(--main-color-black);
  font-weight: 600;
  white-space: nowrap;
}

table tr:first-child td:not(:last-child) {
  border-right: 1px solid var(--main-color-black);
}

table tr:not(:first-child) td:first-child {
  vertical-align: top;
  text-align: center;
}

.bd-result {
  margin-bottom: 60px;
}

.bd-result__wrapper {
  border-radius: 8px;
  background: #202020;
  padding: 20px;
  display: flex;
  gap: 73px;
  align-items: flex-start;
}

.bd-result__title._title-border::after {
  width: 100%;
}

.bd-result__text {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.2px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bd-result__text * {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.bd-result__text a {
  color: var(--main-color-white);
  text-decoration: underline;
  transition: all 0.3s ease 0s;
}
.bd-result__text a:hover {
  color: var(--main-color-default);
}
.bd-other {
  margin-bottom: 90px;
}

.bd-other__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.bd-other__top {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}

.bd-other__title._title-border::after {
  width: 100%;
}

.bd-other__item {
  padding: 20px;
  border-radius: 8px;
  background: #202020;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
}

.bd-other__img {
  border-radius: 10px;
  overflow: hidden;
}

.bd-other__img img {
  aspect-ratio: 7/5;
  -o-object-fit: cover;
  object-fit: cover;
}

.bd-other__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bd-other__subtitle {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.4px;
}

.bd-other__description {
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.16px;
  display: none;
}

.bd-other-nav {
  display: flex;
  gap: 61px;
}

.bd-other-nav__prev {
  background: url("../img/other-page/blog-detail/other-block/icon/arrow-left.svg") no-repeat center/contain;
}

.bd-other-nav__prev,
.bd-other-nav__next {
  width: 101px;
  height: 16px;
  cursor: pointer;
}

.bd-other-nav__next {
  background: url("../img/other-page/blog-detail/other-block/icon/arrow-right.svg") no-repeat center/contain;
}

/* == Попап форма == */

.popup {
  display: none;
  padding: 0;
  border-radius: 5px;
  background: #202020;
}

.popup .form__title {
  color: var(--main-color-default);
  padding-right: 30px;
}

.popup .f-button {
  top: 30px !important;
  right: 30px !important;
  color: var(--main-color-default);
}

.popup .form__policy {
  color: var(--main-color-default);
}

.popup .form {
  border: 1px solid var(--main-color-default);
}
.wpcf7-spinner {
  display: none;
}

.n-content {
  margin-bottom: 30px;
}

.n-content__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.n-content__wrapper h1 {
  font-size: 65px;
  line-height: 120%;
}
.n-content__text h2,
.n-content__text h3,
.n-content__text h4,
.n-content__text h5,
.n-content__text h6 {
  margin: 35px 0px;
}
.n-content__text p {
  margin-bottom: 16px;
}
.n-content__text a {
  font-weight: 700;
  color: var(--main-color-primary);
}
.error {
  padding-top: 83px;
  padding-bottom: 83px;
}

.error__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.error__text {
  text-align: center;
}
.error__title {
  font-size: 115px;
  line-height: 100%;
  font-family: var(--font-family-secondary);
}
