@charset "UTF-8";
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  --content-width: 1420px;
  --content-padding: 20px;
}

*, :before, :after {
  box-sizing: inherit;
  flex: 0 1 auto;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font: normal normal 20px/1.5 "SF Pro Display", sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: hard-light;
  --accent-color: #2A3759;
  --reverse-color: #fff;
  --alt-color: #758AC5;
  --social-btn-color: #758AC5;
  --translucent-accent: rgba(42, 55, 89, 0.5);
  --pale-accent: rgba(42, 55, 89, 0.2);
  color: var(--accent-color);
}

.dark-theme {
  background-color: #2A3759;
  --accent-color: #fff;
  --reverse-color: #2A3759;
  --alt-color: #758AC5;
  --social-btn-color: #3D4C70;
  --translucent-accent: rgba(255,255,255, 0.5);
  --pale-accent: rgba(255,255,255, 0.2);
  color: var(--accent-color);
}

header, footer {
  flex: 0 0 auto;
}

.main {
  flex-grow: 1;
  padding-bottom: 100px;
}
.main--center {
  flex: 0 1 auto;
  margin: auto 0;
}
.main--no-pb {
  padding-bottom: 0;
}

img,
iframe,
svg,
video {
  max-width: 100%;
  user-select: none;
}

img {
  height: auto;
}

a {
  color: var(--alt-color);
  text-decoration: none;
}

a img {
  border: none;
}

p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding: 0 0 0 1.5em;
  margin: 0 0 1em;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
}
ul > li {
  position: relative;
  margin: 0 0 0.4em;
}
ul > li:last-child {
  margin-bottom: 0;
}
ul > li:before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.4em;
  background-color: var(--alt-color);
  position: absolute;
  left: -1.5em;
  top: 0.5em;
}

*:focus {
  outline: none;
}

*:invalid {
  box-shadow: none;
}

/*элементы форм*/
input, textarea, button, select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: none;
}

[type=search] {
  appearance: textfield;
}
[type=search]::-webkit-search-decoration, [type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-results-button, [type=search]::-webkit-search-results-decoration {
  display: none;
}

label {
  user-select: none;
}

.text-input {
  display: block;
  width: 100%;
  border: 1px solid var(--pale-accent);
  font: normal normal 18px/normal "SF Pro Display", sans-serif;
  padding: 0.917em;
  border-radius: 0.67em;
  background: none;
  color: var(--accent-color);
}
.text-input::-webkit-input-placeholder {
  color: var(--translucent-accent);
}
.text-input::-moz-placeholder {
  color: var(--translucent-accent);
}
.text-input:-ms-input-placeholder {
  color: var(--translucent-accent);
}
.text-input:focus {
  border-color: var(--alt-color);
}

.field {
  display: block;
}
.field__label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 0.8em;
}
.field__label:last-child {
  margin-bottom: 0;
}

.js-select {
  display: flex;
  align-items: center;
  font: normal normal 18px/normal "SF Pro Display", sans-serif;
  position: relative;
  text-align: left;
  min-height: 56px;
  padding: 0.5em 1.33em;
  color: var(--accent-color);
  border: 1px solid var(--pale-accent);
  border-radius: 12px;
  user-select: none;
  cursor: pointer;
}
.js-select:after {
  content: "";
  width: 0.56em;
  height: 0.56em;
  background: currentColor;
  flex: 0 0 auto;
  mask: url(../img/icons/angle-down.svg) no-repeat center/contain;
}
.js-select--open:after {
  transform: rotate(180deg);
}
.js-select:focus {
  border-color: var(--alt-color);
}
.js-select__input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.js-select__output {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}
.js-select__output:after {
  content: " ";
}
.js-select__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: #fff;
  color: #2A3759;
  z-index: 2;
  border-radius: 10px;
  max-height: 320px;
  overflow: auto;
  box-shadow: 0 4px 6px rgba(42, 55, 89, 0.1), 0 20px 24px rgba(42, 55, 89, 0.06);
}
.js-select__list > li {
  margin: 0;
}
.js-select__list > li:before {
  display: none;
}
.js-select__list--top {
  top: auto;
  bottom: calc(100% + 3px);
}
.js-select__list > li {
  padding: 0.53em 1.33em;
  cursor: pointer;
}
.js-select--open .js-select__list {
  display: block;
}
@media (hover: none) {
  .js-select__input {
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
  }
  .js-select--open:after {
    transform: none;
  }
  .js-select--open .js-select__list {
    display: none;
  }
}

.variable-input {
  display: block;
  position: relative;
}
.variable-input__input {
  padding-left: 46px;
  padding-right: 60px;
}
.variable-input__icon {
  position: absolute;
  font-size: 20px;
  left: 16px;
  top: calc(50% - 0.5em);
  pointer-events: none;
}
.variable-input__toggler {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 100%;
  font-size: 10px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.variable-input--open .variable-input__toggler {
  transform: scaleY(-1);
}
.variable-input__list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: #fff;
  color: rgba(42, 55, 89, 0.5);
  z-index: 2;
  border-radius: 10px;
  max-height: 320px;
  font-size: 18px;
  overflow: auto;
  box-shadow: 0 4px 6px rgba(42, 55, 89, 0.1), 0 20px 24px rgba(42, 55, 89, 0.06);
}
.variable-input__list--top {
  top: auto;
  bottom: calc(100% + 3px);
}
.variable-input--open .variable-input__list {
  display: block;
}
.variable-input__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
}
.variable-input__option--active {
  display: none;
}
.variable-input__option-icon {
  font-size: 20px;
  color: #2A3759;
}

.checkbox {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  border-radius: 0.17em;
  border: 1px solid;
  flex: 0 0 auto;
  margin: 0;
}
.checkbox:before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  opacity: 0;
  mask: url(../img/icons/check.svg) no-repeat center/contain;
}
.checkbox:checked:before {
  opacity: 1;
}

.option {
  display: flex;
  align-items: flex-start;
  line-height: normal;
  gap: 0.56em;
}
.option__input {
  margin-top: 0.1em;
}

.ajax-form {
  transition: opacity 0.3s ease;
}
.ajax-form--busy {
  opacity: 0.5;
  pointer-events: none;
}

/*кнопки*/
button,
[type=submit],
[type=reset],
[type=image] {
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.56em;
  vertical-align: top;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  max-width: 100%;
  user-select: none;
  text-decoration: none;
  text-align: center;
  text-shadow: none;
  font: 500 18px/normal "SF Pro Display", sans-serif;
  background-color: #758AC5;
  color: #fff;
  min-height: 64px;
  border: none;
  border-radius: 16px;
  padding: 10px 24px;
}
.btn:has(.btn__circle) {
  gap: 0.83em;
}
.btn--small {
  min-height: 56px;
  border-radius: 12px;
  padding: 8px 20px;
}
.btn--stroke {
  background: none;
  color: var(--accent-color);
  border: 1px solid #778ED1;
}
.btn--white-stroke {
  color: #fff;
  border: 2px solid #fff;
  background: none;
}
.btn--full-width {
  display: flex;
  width: 100%;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
.btn__icon {
  font-size: 1.11em;
}
.btn__icon--small {
  font-size: 0.83em;
}
.btn__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.22em;
  height: 2.22em;
  border: 1.5px solid;
  border-radius: 50%;
}
.btn__circle--colored {
  color: #778ED1;
}

.circle-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  width: 3.76em;
  height: 3.76em;
  color: var(--alt-color);
  border-radius: 50%;
  border: 1px solid;
  padding: 0;
  background: none;
  flex: 0 0 auto;
}
.circle-btn--dark {
  color: #2A3759;
}
.circle-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/*заголовки*/
html {
  --h1: 56px;
  --h2: 48px;
  --h3: 32px;
  --h4: 24px;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.125;
  color: var(--accent-color);
  margin: 1em 0 0.7em;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child {
  margin-top: 0;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child {
  margin-bottom: 0;
}
h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong, h4 b, h4 strong, h5 b, h5 strong {
  font-weight: inherit;
  color: var(--alt-color);
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

h4 {
  font-size: var(--h4);
}

h5 {
  font-size: var(--h5);
}

/*таблицы*/
/*контейнеры*/
.wrapper {
  width: 100%;
  max-width: calc(var(--content-width) + var(--content-padding) * 2);
  margin: auto;
  padding: 0 var(--content-padding);
}
.wrapper--fluid {
  max-width: 100%;
}

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

/*иконки*/
.svg-icon {
  display: inline-block;
  vertical-align: top;
  width: 1em;
  height: 1em;
  line-height: 1;
  fill: currentColor;
  flex: 0 0 auto;
}
.svg-icon use {
  width: 100%;
  height: 100%;
}

.img-icon {
  display: inline-block;
  vertical-align: top;
  width: 1em;
  height: 1em;
  line-height: 1;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.font-icon {
  font: normal normal 1em/1 icomoon;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mask-icon {
  display: inline-block;
  vertical-align: top;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  flex: 0 0 auto;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

/*для слайдеров*/
.swiper-slide {
  box-sizing: border-box;
  height: auto;
}

.slider-scrollbar {
  position: relative;
  background: linear-gradient(rgba(45, 55, 59, 0.2), rgba(45, 55, 59, 0.2)) no-repeat 0 50%/auto 1px;
  height: 6px;
}
.slider-scrollbar .swiper-scrollbar-drag {
  height: 100%;
  background: #758AC5;
  border-radius: 100px;
}
.slider-scrollbar--white {
  background-image: linear-gradient(#fff, #fff);
}
.slider-scrollbar--white .swiper-scrollbar-drag {
  background: #fff;
}

.swiper {
  --swiper-scrollbar-sides-offset: 0;
  --swiper-scrollbar-bottom: auto;
  --swiper-scrollbar-size: 20px;
}
.swiper-horizontal > .swiper-scrollbar {
  position: relative;
  margin: 14px 0 0;
}
.swiper-scrollbar {
  border-radius: 0;
  background: linear-gradient(rgba(217, 217, 217, 0.4), rgba(217, 217, 217, 0.4)) no-repeat center/auto 2px;
}
.swiper-scrollbar-drag {
  background: linear-gradient(#D9D9D9, #D9D9D9) no-repeat center/auto 2px;
  border-radius: 0;
  cursor: pointer;
}

/*модальные окна*/
.modal {
  display: none;
  width: 480px;
  max-width: 100%;
  --radius: 32px;
  border-radius: var(--radius);
  background-color: #fff;
  position: relative;
  font-size: 18px;
  padding: 0;
  overflow: visible;
}
.modal .fancybox-close-small {
  display: none;
}
.modal--big {
  width: 1040px;
}
.modal--small {
  width: 440px;
}
.modal__close-btn {
  font-size: 19px;
  cursor: pointer;
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(42, 55, 89, 0.5);
}
.modal__close-btn--white {
  color: #fff;
}
.modal__inner {
  display: flex;
  border-radius: inherit;
}
.modal__inner--vertical {
  display: block;
}
.modal__head {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  padding: 50px 64px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: url(../img/pattern.jpg) repeat-y center top/100% auto;
}
.modal__bg {
  width: 40%;
  flex: 0 0 auto;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  background: #2A3759 url(../img/modal-bg.jpg) no-repeat center/cover;
}
.modal__body {
  padding: 40px 64px;
  flex: 1 1 auto;
}
.modal__body--big {
  padding: 64px;
}
.modal__body--dark {
  background: #2A3759 url(../img/pattern-small.svg) no-repeat right top/auto 100%;
  border-radius: inherit;
}
.modal__form-head {
  margin: 0 0 32px;
}
.modal__form-head:last-child {
  margin-bottom: 0;
}
.modal__form-fields {
  margin: 0 0 32px;
}
.modal__form-fields:last-child {
  margin-bottom: 0;
}
.modal__form-field {
  margin: 0 0 10px;
}
.modal__form-field:last-child {
  margin-bottom: 0;
}
.modal__form-option {
  color: var(--alt-color);
  margin: 1em 0;
}
.modal__form-option:first-child {
  margin-top: 0;
}
.modal__form-option:last-child {
  margin-bottom: 0;
}
.modal__text {
  margin: 0 0 1.33em;
}
.modal__text:last-child {
  margin-bottom: 0;
}
.modal__text--center {
  text-align: center;
}
.modal__text h3 b, .modal__text h3 strong, .modal__text h4 b, .modal__text h4 strong {
  font-size: 1.17em;
  font-weight: 600;
}
.modal__contacts {
  margin: 0 0 0.9em;
}
.modal__contacts:last-child {
  margin-bottom: 0;
}
.modal__contact {
  display: flex;
  align-items: flex-start;
  gap: 0.56em;
  font-weight: 500;
  color: inherit;
  margin: 0 0 0.8em;
}
.modal__contact:last-child {
  margin-bottom: 0;
}
.modal__contact-icon {
  font-size: 1.11em;
  color: var(--alt-color);
  margin-top: 0.15em;
}

/*ШАПКА*/
.logo {
  display: inline-block;
}
.dark-theme .logo {
  filter: brightness(100);
}
.logo__img {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: left center;
  height: var(--height, auto);
}

.lang-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  font-weight: 500;
  text-transform: uppercase;
}
.lang-switcher > li {
  margin: 0;
}
.lang-switcher > li:before {
  display: none;
}
.lang-switcher__item:after {
  content: " / ";
  color: var(--translucent-accent);
}
.lang-switcher__item:last-child:after {
  display: none;
}
.lang-switcher__item a {
  color: inherit;
  text-decoration: none;
  color: var(--translucent-accent);
}

.social {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  gap: 0.56em;
}
.social__link {
  width: 2.56em;
  height: 2.56em;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--social-btn-color);
  color: #fff;
  border-radius: 0.67em;
}

.menu-btn {
  display: none;
  flex: 0 0 auto;
  position: relative;
  z-index: 5;
  width: 46px;
  height: 46px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:before, .menu-btn:after {
  content: "";
  display: block;
  width: 80%;
  position: absolute;
  left: 10%;
  transition: all 0.3s ease;
  border-top: 2px solid;
}
.menu-btn:before {
  height: 40%;
  border-bottom: 2px solid;
  top: 30%;
}
.menu-btn:after {
  top: calc(50% - 1px);
}
.menu-btn--active:before {
  border-width: 2px 0 0 0;
  height: 2px;
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.menu-btn--active:after {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.header {
  padding: 40px 0;
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}
.header__logo {
  margin-right: auto;
  --height: 66px;
}
.header__logo--mobile {
  display: none;
}
.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
  gap: 0.4em 1.5em;
}
.header__menu > li {
  margin: 0;
}
.header__menu > li:before {
  display: none;
}
.header__menu > li > a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 5px 0;
  position: relative;
}
.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.header__contact {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.56em;
  max-width: 100%;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  color: inherit;
  text-decoration: none;
}
.header__contact-icon {
  font-size: 1.11em;
}

/*ОСНОВНОЕ СОДЕРЖИМОЕ*/
.light-block {
  --accent-color: #2A3759;
  --reverse-color: #fff;
  --alt-color: #758AC5;
  --social-btn-color: #758AC5;
  --translucent-accent: rgba(42, 55, 89, 0.5);
  --pale-accent: rgba(42, 55, 89, 0.2);
  color: var(--accent-color);
}

.dark-block {
  --accent-color: #fff;
  --reverse-color: #2A3759;
  --alt-color: #758AC5;
  --social-btn-color: #3D4C70;
  --translucent-accent: rgba(255,255,255, 0.5);
  --pale-accent: rgba(255,255,255, 0.2);
  color: var(--accent-color);
}

.intro {
  padding: 20px 0;
}
.intro:last-child {
  padding-bottom: 80px;
}
.intro__text {
  max-width: 820px;
  margin: 0 0 40px;
}
.intro__text:last-child {
  margin-bottom: 0;
}
.intro__text h1, .intro__text h2 {
  letter-spacing: -0.02em;
  font-weight: bold;
  font-size: calc(var(--h1) * 1.14);
  margin-bottom: 0.38em;
}

.tax-slider {
  overflow: hidden;
}
.tax-slider__inner {
  background-color: #fff;
  border-radius: 32px 32px 0 0;
  padding: 60px 80px 60px;
  overflow: hidden;
  margin: 0 -80px;
}
.tax-slider__body:not(.swiper-initialized) {
  display: flex;
  gap: 40px;
  overflow: hidden;
}
.tax-slider__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9em;
  width: 460px;
  max-width: 100%;
  flex: 0 0 auto;
  font-size: 18px;
}
.tax-slider__item:before {
  content: "";
  display: block;
  width: 100px;
  max-width: 100%;
  height: 4px;
  background-color: #758AC5;
}
.tax-slider__item-text h3, .tax-slider__item-text h4, .tax-slider__item-text h5 {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.tax-slider__item-text h3:last-child, .tax-slider__item-text h4:last-child, .tax-slider__item-text h5:last-child {
  margin-bottom: 0;
}
.tax-slider__item-link {
  display: block;
  color: inherit;
  margin-top: auto;
  font-weight: 500;
}
.tax-slider__item-link:after {
  content: "";
  display: inline-block;
  width: 0.83em;
  height: 0.83em;
  background-color: #758AC5;
  margin-left: 1em;
  vertical-align: -0.1em;
  mask: url(../img/icons/angle-right.svg) no-repeat center/contain;
}

.breadcrumbs {
  font-size: 18px;
}
.breadcrumbs__body {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: normal;
  gap: 0 0.44em;
}
.breadcrumbs__body > li {
  margin: 0;
}
.breadcrumbs__body > li:before {
  display: none;
}
.breadcrumbs__body > li:after {
  content: "/";
  margin-left: 0.44em;
}
.breadcrumbs__body > li:last-child:after {
  display: none;
}
.breadcrumbs__body > li a {
  color: inherit;
  color: var(--translucent-accent);
}

.map {
  display: block;
  width: 100%;
  height: 306px;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--alt-color);
}
.map [class*=ground-pane] {
  filter: grayscale(1);
}

.contacts {
  padding: 46px 0 40px;
}
.contacts__wrapper {
  display: flex;
  gap: 80px;
}
.contacts__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: calc(56.34% - 40px);
}
.contacts__head h1 {
  font-size: var(--h2);
}
.contacts__footer {
  display: flex;
  align-items: center;
  gap: 20px 40px;
}
.contacts__social {
  flex: 0 0 auto;
}
.contacts__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 40px;
}
.contacts__item {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  gap: 0.56em;
  color: inherit;
}
.contacts__form {
  width: calc(43.66% - 40px);
}
.contacts__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin: 0 0 20px;
}
.contacts__fields:last-child {
  margin-bottom: 0;
}
.contacts__field {
  width: calc(50% - 7.5px);
  flex: 1 1 auto;
}

.line-decor {
  margin: 13px 0;
}
.line-decor:first-child {
  margin-top: 0;
}
.line-decor:last-child {
  margin-bottom: 0;
}
.line-decor__img {
  display: block;
  margin: auto;
}

.portfolio {
  margin: 60px 0 70px;
}
.portfolio:first-child {
  margin-top: 0;
}
.portfolio:last-child {
  margin-bottom: 0;
}
.portfolio__inner {
  padding: 60px 80px;
  background-color: #F4F5F5;
  border-radius: 32px;
  color: var(--translucent-accent);
  overflow: hidden;
}
.portfolio__head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  border-bottom: 1px solid var(--pale-accent);
  padding-bottom: 40px;
  margin: 0 0 40px;
}
.portfolio__head:last-child {
  margin-bottom: 0;
}
.portfolio__filter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}
.portfolio__filter-field {
  display: flex;
  align-items: center;
  gap: 20px;
}
.portfolio__filter-label {
  font-size: var(--h4);
  color: var(--accent-color);
  font-weight: 500;
}
.portfolio__filter-input {
  width: 240px;
}
.portfolio__body {
  margin: 0 0 40px;
}
.portfolio__body:last-child {
  margin-bottom: 0;
}
.portfolio__item {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.portfolio__item:not(.swiper-slide):nth-child(n+2) {
  display: none;
}
.portfolio__item-main {
  width: calc(100% - 520px);
  flex: 1 1 auto;
}
.portfolio__item-main h3 {
  font-weight: bold;
}
.portfolio__item-sidebar {
  width: 440px;
  max-width: 100%;
  flex: 0 0 auto;
}
.portfolio__item-img {
  display: block;
  width: 100%;
  border-radius: 24px;
  margin: 0 0 24px;
}
.portfolio__item-img:last-child {
  margin-bottom: 0;
}
.portfolio__features-title {
  font-weight: bold;
}
.portfolio__features-box {
  gap: 30px 20px;
}
.portfolio__feature {
  width: calc((100% - 40px) / 3);
  font-size: 18px;
  line-height: 1.44;
}
.portfolio__feature-value {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color);
}
.portfolio__footer {
  display: flex;
  align-items: center;
  gap: 80px;
}
.portfolio__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.portfolio__nav:after {
  content: "";
  display: block;
  height: 26px;
  border-right: 1px solid var(--pale-accent);
}
.portfolio__nav-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  background: none;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #758AC5;
  -webkit-tap-highlight-color: transparent;
}
.portfolio__nav-btn:disabled {
  opacity: 0.5;
}
.portfolio__nav-btn--next {
  order: 1;
}
.portfolio__nav-icon {
  font-size: 0.83em;
}
.portfolio__scrollbar {
  flex: 1 1 auto;
}

.info {
  margin: 80px 0;
}
.info:first-child {
  margin-top: 0;
}
.info:last-child {
  margin-bottom: 0;
}
.info__inner {
  background-color: #758AC5;
  padding: 60px 80px;
  border-radius: 32px;
}
.info__head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 0 0 40px;
}
.info__head:last-child {
  margin-bottom: 0;
}
.info__head-text {
  flex: 1 1 auto;
}
.info__btn {
  flex: 0 0 auto;
}
.info__line {
  height: auto;
  width: auto;
  border: none;
  color: inherit;
  border-top: 1px solid;
  margin: 40px 0;
}
.info__line:first-child {
  margin-top: 0;
}
.info__line:last-child {
  margin-bottom: 0;
}
.info__body {
  gap: 60px;
}
.info__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: calc((100% - 120px) / 3);
  font-size: 18px;
}
.info__item-icon {
  font-size: 21px;
  margin-top: 0.15em;
}
.info__item-body {
  flex: 1 1 auto;
}
.info__item-body h3, .info__item-body h4, .info__item-body h5 {
  margin-bottom: 10px;
}
.info__item-body h3:last-child, .info__item-body h4:last-child, .info__item-body h5:last-child {
  margin-bottom: 0;
}
.info__scrollbar {
  margin: 40px 0 0;
}
.info__scrollbar:first-child {
  margin-top: 0;
}
.info__pagination {
  font-size: 24px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  margin: 0 0 36px;
}
.info__pagination:last-child {
  margin-bottom: 0;
}
.info__pagination-item {
  flex: 1 1 1%;
  cursor: pointer;
  opacity: 0.6;
  user-select: none;
  padding: 24px 0;
  word-break: break-all;
}
.info__pagination-item--active {
  opacity: 1;
}
.info__slide {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.info__slide:not(.swiper-slide):nth-child(n+2) {
  display: none;
}
.info__slide-img {
  display: block;
  width: calc(40% - 40px);
  flex: 0 0 auto;
  border-radius: 24px;
  order: 1;
}
.info__slide-text {
  width: calc(60% - 40px);
  flex: 1 1 auto;
}

.post-card {
  border-top: 1px solid var(--pale-accent);
}
.post-card:first-child {
  border-top: none;
}
.post-card__head {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 30px 0;
}
.post-card__index {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color);
  width: 2.14em;
  flex: 0 0 auto;
}
.post-card__pic {
  display: block;
  width: 320px;
  flex: 0 0 auto;
  aspect-ratio: 32/14;
  background-color: #758AC5;
  border-radius: 24px;
  overflow: hidden;
}
.post-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 32/14;
  object-fit: cover;
  object-position: center;
}
.post-card__info {
  display: contents;
}
.post-card__title {
  margin: 0;
  width: 377px;
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: bold;
}
.post-card__description {
  font-size: 18px;
  color: var(--translucent-accent);
}
.post-card__toggler {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
  position: relative;
  color: #758AC5;
  border: 1px solid;
  cursor: pointer;
}
.post-card__toggler:before, .post-card__toggler:after {
  content: "";
  display: inline-block;
  width: 13px;
  border-top: 2px solid;
  position: absolute;
  top: calc(50% - 1px);
  left: calc(50% - 6.5px);
  transition: all 0.2s ease;
}
.post-card__toggler:after {
  transform: rotate(-90deg);
}
.post-card__toggler--active:after {
  transform: rotate(0);
}
.post-card__body {
  display: none;
  border-top: 1px solid var(--pale-accent);
  padding: 60px 120px;
}
.post-card:last-child .post-card__body {
  padding-bottom: 0;
}
.post-card__text {
  margin: 0 0 32px;
}
.post-card__text:last-child {
  margin-bottom: 0;
}

.blog {
  margin: 60px 0 70px;
}
.blog:first-child {
  margin-top: 0;
}
.blog:last-child {
  margin-bottom: 0;
}
.blog__head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 0 0 60px;
}
.blog__head:last-child {
  margin-bottom: 0;
}
.blog__head-text {
  flex: 1 1 auto;
}
.blog__btn {
  flex: 0 0 auto;
}

.brands {
  margin: 60px 0;
}
.brands:first-child {
  margin-top: 0;
}
.brands:last-child {
  margin-bottom: 0;
}
.brands__inner {
  padding: 60px 80px;
  background-color: #F4F5F5;
  border-radius: 32px;
}
.brands__head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 0 48px;
}
.brands__head-text {
  flex: 1 1 auto;
  align-self: center;
}
.brands__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brands__slider {
  padding: 70px 0 25px;
}
.brands__slider:not(.swiper-initialized) {
  display: flex;
  align-items: center;
  gap: 49px;
  overflow: hidden;
}
.brands__slide {
  width: auto;
  opacity: 0.25;
}
.brands__logo {
  display: block;
  width: auto;
  height: 50px;
  flex: 0 0 auto;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.page-head {
  margin: 60px 0 80px;
}
.page-head:first-child {
  margin-top: 0;
}
.page-head:last-child {
  margin-bottom: 0;
}
.page-head__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.page-head__text {
  width: calc(67.6% - 40px);
}
.page-head__nav {
  width: calc(32.4% - 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.stat {
  margin: 80px 0;
}
.stat:first-child {
  margin-top: 0;
}
.stat:last-child {
  margin-bottom: 0;
}
.stat__inner {
  background-color: #F4F5F5;
  padding: 60px 80px;
  border-radius: 32px;
}
.stat__body {
  gap: 80px;
  margin: 0 0 60px;
}
.stat__body:last-child {
  margin-bottom: 0;
}
.stat__feature {
  width: 240px;
  max-width: 100%;
  flex: 0 0 auto;
  font-weight: 500;
}
.stat__feature-value {
  font-size: 84px;
  font-weight: 500;
  line-height: 1;
  color: var(--alt-color);
  margin: 0 0 0.2em;
}
.stat__feature-value:last-child {
  margin-bottom: 0;
}
.stat__img {
  max-height: 150px;
  margin: auto;
}
.stat__footer {
  border-top: 1px solid var(--pale-accent);
  padding-top: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}
.stat__footer-column {
  width: 400px;
  max-width: 100%;
}
.stat__footer-column--big {
  width: 650px;
}
.stat__text {
  color: var(--translucent-accent);
  font-size: 18px;
  margin: 0 0 1.33em;
}
.stat__text:last-child {
  margin-bottom: 0;
}
.stat__text--big {
  color: var(--accent-color);
  font-size: 24px;
}

.people {
  margin: 80px 0;
}
.people:first-child {
  margin-top: 0;
}
.people:last-child {
  margin-bottom: 0;
}
.people__inner {
  background-color: #F4F5F5;
  padding: 60px 80px;
  border-radius: 32px;
}
.people__head {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  font-size: 18px;
  color: var(--translucent-accent);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--pale-accent);
  margin: 0 0 60px;
}
.people__head:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}
.people__head-column {
  width: calc(50% - 40px);
}
.people__head-column--big {
  width: 100%;
}
.people__head-column p > strong {
  font-weight: inherit;
  color: var(--accent-color);
  font-size: 1.33em;
}
.people__body {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.people__text-slider {
  width: calc(50% - 40px);
}
.people__text-slide {
  display: flex;
  flex-direction: column;
  gap: 35px;
  min-height: 480px;
}
.people__text-slide:not(.swiper-slide):nth-child(n+2) {
  display: none;
}
.people__text {
  font-size: 18px;
}
.people__text p {
  margin: 1.78em 0;
}
.people__text p:first-child {
  margin-top: 0;
}
.people__text p:last-child {
  margin-bottom: 0;
}
.people__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 1em;
}
.people__link:after {
  content: "";
  display: inline-block;
  width: 0.56em;
  height: 0.56em;
  background-color: currentColor;
  mask: url(../img/icons/arrow-right-down.svg) no-repeat center/contain;
  margin-left: 0.33em;
}
.people__image-slider {
  width: calc(50% - 40px);
}
.people__image-slide {
  width: 320px;
  border-radius: 30px;
  overflow: hidden;
  margin: auto;
}
.people__image-slide:not(.swiper-slide):nth-child(n+2) {
  display: none;
}
.people__image-slide.swiper-slide {
  --opacity: 0;
}
.people__image-slide.swiper-slide-active {
  --opacity: 1;
}
.people__image-slide.swiper-slide-prev, .people__image-slide.swiper-slide-next {
  --opacity: 50%;
}
.people__img {
  display: block;
  width: 100%;
  aspect-ratio: 32/48;
  object-fit: cover;
  object-position: center top;
  opacity: var(--opacity, 1);
  transition: all 0.1s ease;
}
.people__nav-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}
.people__nav-btn--prev {
  left: 0;
}
.people__nav-btn--next {
  right: 0;
}

/*ПОДВАЛ*/
.footer {
  padding: 24px 0 32px;
  border-top: 1px solid #F4F5F5;
  font-size: 16px;
}
.dark-theme .footer {
  border-color: rgba(255, 255, 255, 0.2);
}

.feedback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 40%;
  transform: traslateY(-50%);
  background-color: #3D4C70;
  font-size: 20px;
  color: #fff;
  width: 3.2em;
  height: 3.2em;
  border-radius: 0 0.8em 0.8em 0;
}
.dark-theme .feedback-btn {
  background-color: #3D4C70;
}

/*АДАПТИВ*/
@media (hover: hover) {
  .btn {
    transition: background 0.2s ease;
  }
  .btn:hover {
    background-color: #637ABD;
  }
  .btn--stroke:hover {
    background-color: #778ED1;
    color: #fff;
  }
  .btn--white-stroke:hover {
    background-color: #fff;
    color: #758AC5;
  }
  .btn:hover .btn__circle {
    color: inherit;
  }
  .js-select__list > li {
    transition: all 0.2s ease;
  }
  .js-select__list > li:hover {
    background-color: #F4F5F5;
  }
  .variable-input__option {
    transition: all 0.2s ease;
  }
  .variable-input__option:hover {
    background-color: #F4F5F5;
  }
  .social__link {
    transition: background 0.2s ease;
  }
  .social__link:hover {
    background-color: rgb(99.0459183673, 122.7780612245, 189.4540816327);
  }
  .lang-switcher a {
    transition: all 0.2s ease;
  }
  .lang-switcher a:hover {
    color: inherit;
  }
  .header__contact {
    transition: all 0.2s ease;
  }
  .header__contact:hover {
    color: #758AC5;
  }
  .header__menu > li > a {
    background: linear-gradient(currentColor, currentColor) no-repeat center bottom/0 2px;
    transition: background 0.2s ease;
  }
  .header__menu > li > a:hover {
    background-size: 100% 2px;
  }
  .tax-slider__item-link:after {
    transition: all 0.2s ease;
  }
  .tax-slider__item-link:hover {
    color: #758AC5;
  }
  .tax-slider__item-link:hover:after {
    transform: translateX(20%);
  }
  .breadcrumbs__body > li a {
    transition: all 0.2s ease;
  }
  .breadcrumbs__body > li a:hover {
    opacity: 1;
  }
  .contacts__item[href] {
    transition: all 0.2s ease;
  }
  .contacts__item[href]:hover {
    color: #758AC5;
  }
  .portfolio__nav-btn {
    transition: all 0.2s ease;
  }
  .portfolio__nav-btn:not(:disabled):hover {
    color: var(--accent-color);
  }
  .portfolio__nav-icon {
    transition: transform 0.4s ease;
  }
  .portfolio__nav-btn:not(:disabled):hover .portfolio__nav-icon {
    transform: translateX(-20%);
  }
  .portfolio__nav-btn:not(:disabled):hover .portfolio__nav-icon:last-child {
    transform: translateX(20%);
  }
  .post-card__toggler {
    transition: all 0.2s ease;
  }
  .post-card__toggler:hover {
    background-color: currentColor;
  }
  .post-card__toggler:hover:before, .post-card__toggler:hover:after {
    border-color: #fff;
  }
  .brands__slide[href] {
    transition: all 0.2s ease;
  }
  .brands__slide[href]:hover {
    opacity: 1;
  }
  .feedback-btn {
    transition: background 0.2s ease;
  }
  .feedback-btn:hover {
    background-color: rgb(99.0459183673, 122.7780612245, 189.4540816327);
  }
}
@media (min-width: 1680px) and (max-height: 939px) {
  html {
    --h1: 48px;
  }
  .header {
    padding: 30px 0;
  }
  .intro:last-child {
    padding-bottom: 40px;
  }
  .intro__text h1, .intro__text h2 {
    font-size: var(--h1);
  }
  .tax-slider__inner {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .tax-slider__item {
    font-size: 16px;
  }
  .line-decor--not-important {
    display: none;
  }
}
@media (max-width: 1679px) {
  html {
    --content-width: 1200px;
    --h1: 48px;
    --h2: 42px;
  }
  body {
    font-size: 16px;
  }
  .header {
    font-size: 18px;
    padding: 25px 0;
  }
  .header__wrapper {
    gap: 30px;
  }
  .header__contact {
    font-size: inherit;
  }
  .intro:last-child {
    padding-bottom: 45px;
  }
  .intro__text {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .intro__text h1, .intro__text h2 {
    font-size: var(--h1);
  }
  .tax-slider__inner {
    margin: 0 -40px;
    padding: 35px 40px;
  }
  .tax-slider__item {
    width: 370px;
    font-size: inherit;
  }
  .breadcrumbs {
    padding-top: 15px;
  }
  .contacts__wrapper {
    gap: 50px;
  }
  .contacts__main, .contacts__form {
    width: calc(50% - 25px);
  }
  .portfolio__inner {
    padding: 60px;
  }
  .info__inner {
    padding: 60px;
  }
  .info__pagination {
    font-size: 20px;
  }
  .post-card__head {
    gap: 30px;
  }
  .post-card__info {
    display: block;
    flex: 1 1 auto;
  }
  .post-card__title {
    width: auto;
    margin: 0 0 0.5em;
  }
  .post-card__description {
    width: auto;
  }
  .post-card__body {
    padding: 30px 90px;
  }
  .blog__head {
    margin: 0 0 40px;
  }
  .brands__inner {
    padding: 60px;
  }
  .page-head__wrapper {
    gap: 50px;
  }
  .page-head__text {
    width: calc(60% - 25px);
  }
  .page-head__nav {
    width: calc(40% - 25px);
  }
  .stat__inner {
    padding: 60px;
  }
  .stat__body {
    gap: 40px;
    margin: 0 0 40px;
  }
  .stat__footer {
    padding: 40px 0 0;
    gap: 50px;
  }
  .stat__footer-column {
    width: calc(50% - 25px);
  }
  .people__inner {
    padding: 60px;
  }
  .people__head {
    gap: 40px 50px;
  }
  .people__head-column {
    width: calc(50% - 25px);
  }
  .people__head-column--big {
    width: 100%;
  }
  .people__body {
    gap: 50px;
  }
  .people__text-slider, .people__image-slider {
    width: calc(50% - 25px);
  }
  .feedback-btn {
    transform: none;
    left: auto;
    top: auto;
    bottom: 0;
    right: 0;
    border-radius: 0.8em 0 0 0;
    font-size: 18px;
  }
  .footer {
    padding: 20px 0;
    font-size: 14px;
  }
  .footer__wrapper {
    padding-right: 60px;
  }
}
@media (min-width: 1280px) and (max-height: 939px) {
  .line-decor--not-important {
    display: none;
  }
}
@media (max-width: 1279px) {
  html {
    scroll-padding-top: 95px;
    --h1: 42px;
    --h2: 38px;
    --h3: 28px;
    --h4: 22px;
  }
  .circle-btn {
    font-size: 15px;
    width: 3.33em;
    height: 3.33em;
  }
  .wrapper {
    max-width: 100%;
  }
  .main {
    padding-top: 25px;
    padding-bottom: 60px;
  }
  .main--no-pb {
    padding-bottom: 0;
  }
  .modal--big {
    width: 540px;
  }
  .modal__bg {
    display: none;
  }
  .modal__body {
    padding: 40px;
  }
  .menu-btn {
    display: inline-block;
  }
  .header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    padding: 15px 0;
    background: linear-gradient(var(--reverse-color), var(--reverse-color)) no-repeat left bottom/100% 0;
  }
  .header--scroll {
    background-size: 100% 100%;
    box-shadow: 0 5px 10px rgba(42, 55, 89, 0.2);
  }
  .header--open {
    background-size: 100% 100%;
    box-shadow: none;
  }
  .header__logo {
    --height: 48px;
  }
  .header__menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--reverse-color);
    text-align: right;
    pointer-events: none;
    transition: transform 0.25s ease;
    transform-origin: center top;
    transform: perspective(100vh) rotateX(-90deg);
    max-height: calc(100vh - 100%);
    overflow: auto;
  }
  .header__menu > li {
    border-top: 1px solid var(--translucent-accent);
  }
  .header__menu > li > a {
    display: block;
    padding: 0.75em var(--content-padding);
  }
  .header--open .header__menu {
    transform: perspective(100vh) rotateX(0deg);
    pointer-events: auto;
    box-shadow: 0 5px 10px rgba(42, 55, 89, 0.2);
  }
  .tax-slider {
    border-radius: 20px 20px 0 0;
    background-color: #fff;
  }
  .tax-slider__inner {
    margin: 0;
    padding: 35px 0;
    background: none;
    border-radius: 0;
    overflow: visible;
  }
  .tax-slider__body {
    overflow: visible;
  }
  .tax-slider__item {
    width: 320px;
    max-width: calc(100vw - var(--content-padding) * 2 - 40px);
  }
  .tax-slider__item br {
    display: none;
  }
  .portfolio {
    margin: 45px 0;
  }
  .portfolio__inner {
    padding: 35px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
  }
  .portfolio__head {
    padding-bottom: 20px;
    flex-direction: column;
    gap: 25px;
    margin: 0;
  }
  .portfolio__filter {
    width: 100%;
  }
  .portfolio__filter-label {
    font-size: 18px;
  }
  .portfolio__body {
    order: 1;
    width: 100%;
    margin: 0;
  }
  .portfolio__item {
    gap: 50px;
  }
  .portfolio__item-main, .portfolio__item-sidebar {
    width: calc(50% - 25px);
  }
  .portfolio__feature {
    font-size: 14px;
  }
  .portfolio__feature-value {
    font-size: 1.7em;
  }
  .portfolio__footer {
    display: contents;
  }
  .portfolio__nav {
    justify-content: center;
    gap: 20px;
  }
  .portfolio__nav-btn {
    width: calc(50% - 10.5px);
  }
  .portfolio__nav-btn--prev {
    justify-content: flex-end;
  }
  .portfolio__scrollbar {
    order: 2;
    width: 100%;
  }
  .info {
    margin: 45px 0;
  }
  .info__inner {
    padding: 35px;
    border-radius: 20px;
  }
  .info__head-text {
    font-size: 18px;
  }
  .info__body {
    gap: 40px;
  }
  .info__item {
    width: calc((100% - 80px) / 3);
    font-size: inherit;
  }
  .blog {
    margin: 45px 0;
  }
  .post-card__description {
    font-size: inherit;
  }
  .brands {
    margin: 45px 0;
  }
  .brands__inner {
    padding: 35px;
    border-radius: 20px;
  }
  .brands__nav {
    gap: 10px;
  }
  .brands__slider {
    padding: 50px 0 20px;
  }
  .page-head {
    margin: 45px 0;
  }
  .page-head__wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-head__text {
    width: 100%;
  }
  .page-head__nav {
    width: 100%;
    justify-content: flex-start;
  }
  .stat {
    margin: 45px 0;
  }
  .stat__inner {
    padding: 35px;
    border-radius: 20px;
  }
  .stat__feature {
    width: 170px;
  }
  .stat__feature-value {
    font-size: calc(var(--h2) * 1.7);
  }
  .stat__footer {
    gap: 40px;
  }
  .stat__footer-column {
    width: calc(50% - 20px);
  }
  .stat__text {
    font-size: inherit;
  }
  .stat__text--big {
    font-size: 1.2em;
  }
  .people {
    margin: 45px 0;
  }
  .people__inner {
    padding: 35px;
    border-radius: 20px;
  }
  .people__head {
    gap: 20px;
    flex-direction: column;
  }
  .people__head-column {
    width: 100%;
  }
  .people__head-column p > strong {
    font-size: 1.2em;
  }
  .people__image-slide {
    width: 300px;
  }
}
@media (max-width: 991px) {
  .header__wrapper {
    gap: 20px;
  }
  .header__contact {
    padding: 0.5em;
  }
  .header__contact-icon {
    font-size: 1em;
  }
  .header__contact-text {
    display: none;
  }
  .tax-slider {
    border-radius: 0;
  }
  .breadcrumbs {
    font-size: inherit;
  }
  .contacts {
    padding: 30px 0;
  }
  .contacts__wrapper {
    flex-direction: column;
  }
  .contacts__main, .contacts__form {
    width: 100%;
  }
  .contacts__footer {
    flex-wrap: wrap;
  }
  .info__head {
    flex-direction: column;
    gap: 30px;
  }
  .info__item {
    width: calc(50% - 20px);
    flex: 1 1 auto;
  }
  .info__scrollbar .swiper-scrollbar-drag {
    visibility: hidden;
  }
  .info__pagination {
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 0;
    margin: 0 -15px;
  }
  .info__pagination-item {
    flex: 0 1 auto;
    padding: 5px 15px;
  }
  .info__slide {
    display: block;
    overflow: hidden;
  }
  .info__slide-text {
    width: auto;
  }
  .info__slide-img {
    float: right;
    border-radius: 15px;
    width: auto;
    max-width: calc(40% - 0.75em);
    margin: 0 0 0.5em 1.5em;
  }
  .post-card__head {
    padding: 20px 0;
    align-items: flex-start;
    gap: 20px;
  }
  .post-card__index {
    display: none;
  }
  .post-card__pic {
    width: 280px;
    border-radius: 20px;
  }
  .post-card__title {
    font-size: var(--h4);
  }
  .post-card__body {
    padding: 20px 0;
  }
  .post-card__text {
    margin: 0 0 20px;
  }
  .blog__head {
    flex-direction: column;
    gap: 25px;
    margin: 0 0 30px;
  }
  .brands {
    overflow: hidden;
  }
  .brands__inner {
    overflow: hidden;
  }
  .brands__head {
    padding: 0 0 30px;
  }
  .brands__slider {
    overflow: visible;
    padding: 35px 0 10px;
  }
  .brands__slider:not(.swiper-initialized) {
    gap: 30px;
  }
  .brands__logo {
    height: 35px;
  }
  .stat__img {
    display: none;
  }
  .stat__footer {
    flex-direction: column;
    gap: 1.2em;
  }
  .stat__footer-column {
    width: 100%;
  }
  .people__head {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .people__body {
    flex-direction: column;
    gap: 30px;
  }
  .people__text-slider {
    width: 100%;
  }
  .people__image-slider {
    width: 100%;
    order: -1;
  }
  .people__text-slide {
    min-height: 0;
  }
  .people__text {
    font-size: inherit;
  }
  .people__text p {
    margin: 1.2em 0;
  }
}
@media (max-width: 767px) {
  html {
    --h1: 36px;
    --h2: 32px;
    --h3: 24px;
    --h4: 20px;
  }
  .modal {
    font-size: inherit;
    width: 440px;
    --radius: 10px;
  }
  .modal__close-btn {
    top: 10px;
    right: 10px;
  }
  .modal__head {
    padding: 35px 20px;
  }
  .modal__body {
    padding: 35px 20px 30px;
  }
  .modal__form-head {
    margin: 0 0 25px;
  }
  .modal__form-head h2 {
    font-size: calc(var(--h3) * 1.1);
  }
  .modal__form-btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .header__social {
    display: none;
  }
  .map {
    border-radius: 15px;
  }
  .contacts__field {
    width: 100%;
  }
  .contacts__items {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .portfolio__inner {
    padding: 20px;
    border-radius: 15px;
  }
  .portfolio__filter {
    align-items: flex-start;
  }
  .portfolio__filter-field {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .portfolio__filter-input {
    width: 100%;
  }
  .portfolio__nav-btn {
    line-height: normal;
  }
  .portfolio__item {
    flex-direction: column;
    gap: 25px;
  }
  .portfolio__item-main {
    width: 100%;
  }
  .portfolio__item-sidebar {
    display: contents;
  }
  .portfolio__item-img {
    order: -1;
    border-radius: 15px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    margin: 0;
  }
  .info__head-text {
    font-size: inherit;
  }
  .info__inner {
    padding: 20px;
    border-radius: 15px;
  }
  .info__body {
    gap: 30px;
  }
  .info__item {
    width: 100%;
  }
  .info__slide-img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    float: none;
    margin: 1.5em auto;
  }
  .info__slide-img:first-child {
    margin-top: 0;
  }
  .info__slide-img:last-child {
    margin-bottom: 0;
  }
  .post-card__head {
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .post-card__info {
    width: calc(100% - 68px);
  }
  .brands__nav {
    display: none;
  }
  .brands__inner {
    padding: 20px;
    border-radius: 15px;
  }
  .stat__inner {
    padding: 20px;
    border-radius: 15px;
  }
  .stat__body {
    gap: 20px;
  }
  .stat__feature {
    width: 100%;
    text-align: center;
  }
  .people__inner {
    padding: 20px;
    border-radius: 15px;
  }
}
@media (max-width: 479px) {
  html {
    --h1: 32px;
    --h2: 28px;
  }
  .text-input {
    font-size: 16px;
    padding: 0.907em;
  }
  .variable-input__input {
    padding-left: 46px;
    padding-right: 60px;
  }
  .js-select {
    font-size: 16px;
    padding: 0.907em;
    min-height: 50px;
  }
  .field__label {
    font-size: 16px;
  }
  .btn {
    font-size: 16px;
    min-height: 60px;
  }
  .btn--small {
    min-height: 50px;
  }
  .header__wrapper {
    gap: 15px;
  }
  .header__logo--desktop {
    display: none;
  }
  .header__logo--mobile {
    display: inline-block;
  }
  .intro__text {
    font-size: inherit;
  }
  .intro__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .contacts__form-btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .portfolio__nav {
    gap: 5px;
  }
  .portfolio__nav-btn {
    width: calc(50% - 5.5px);
    font-size: 12px;
    justify-content: center;
  }
  .portfolio__item-img {
    height: auto;
    aspect-ratio: 16/12;
  }
  .portfolio__features-box {
    gap: 15px;
  }
  .portfolio__feature {
    width: 100%;
  }
  .info__line {
    margin: 25px 0;
  }
  .info__body {
    gap: 20px;
  }
  .info__btn {
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .post-card__pic {
    width: 100%;
    border-radius: 15px;
  }
  .post-card__toggler {
    width: 100%;
    height: 32px;
  }
  .post-card__info {
    font-size: 14px;
    width: 100%;
  }
  .post-card__body {
    font-size: 14px;
  }
  .post-card__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .blog__head {
    margin: 0 0 20px;
  }
  .blog__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .brands__slider:not(.swiper-initialized) {
    gap: 15px;
  }
  .page-head__text h1 {
    font-size: var(--h2);
  }
  .page-head__nav-item {
    flex: 1 1 auto;
  }
  .stat__btn {
    display: flex;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .people__head {
    font-size: 14px;
  }
  .people__image-slider {
    padding-bottom: 65px;
    margin: 0 -20px;
    width: calc(100% + 40px);
  }
  .people__image-slide {
    width: 220px;
    border-radius: 10px;
  }
  .people__nav-btn {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .people__nav-btn--prev {
    left: auto;
    right: calc(50% + 5px);
  }
  .people__nav-btn--next {
    right: auto;
    left: calc(50% + 5px);
  }
}
