/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: rgba(0, 0, 0, 0);
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
:root {
  --primary: #fff26c;
  --primary-hover: #dfd34f;
  --white: #fffef6;
  --black: #1f190d;
  --gray: #f6f4ec;
}
html {
  box-sizing: border-box;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
body {
  font-family: Montserrat, sans-serif;
  color: var(--black);
  background-color: var(--white);
}
.body-hidden {
  overflow: hidden;
  touch-action: none;
}
.content {
  font-size: 16px;
  line-height: 150%;
  margin: 0;
}
.content._medium {
  font-weight: 500;
}
.content p {
  margin: 0;
}
.content p:not(:last-child) {
  margin-bottom: 16px;
}
.sect-m {
  margin: 64px 0;
}
.sect-p {
  padding: 64px 0;
}
.sect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
:root {
  --content-width: 1375px;
  --offset-width: 20px;
  --container-width: calc(var(--content-width) + (var(--offset-width) * 2));
}
.container {
  max-width: var(--container-width);
  width: 100%;
  padding: 0 var(--offset-width);
  margin: 0 auto;
}
.btn-reset {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 0;
  padding: 0;
  color: inherit;
}
.btn-s {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  outline: 0;
  padding: 19px 30px;
  border: 1px solid var(--primary);
  background-color: var(--primary);
  outline: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}
.btn-s svg {
  width: 25px;
  height: 25px;
}
.btn-s._outline {
  background-color: rgba(0, 0, 0, 0);
  color: var(--primary);
}
.btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  width: 72px;
  height: 72px;
  color: var(--black);
  transition: background-color 0.3s ease;
}
.btn-play svg {
  width: 32px;
  height: 32px;
}
.list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.lang-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 16px;
  background-color: var(--white);
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  width: 45px;
  height: 35px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--black);
  transition: background-color 0.3s ease;
}
.lang-btn._active {
  pointer-events: none;
  background-color: var(--primary);
}
.input-control {
  position: relative;
  display: flex;
  align-items: center;
}
.input-control svg {
  position: absolute;
  width: 24px;
  height: 24px;
  left: 16px;
  color: var(--black);
}
.input-control svg + input {
  padding-left: 56px;
}
select.input {
  cursor: pointer;
  -webkit-appearance: none; /* Safari and Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* Остальные */
  /*  Для Internet Explorer и Edge */

  background: url(../img/arrow.svg) center right 15px / 20px auto no-repeat;
}
select.input::-ms-expand {
  display: none;
}
.input {
  padding: 19px 16px;
  background-color: var(--white);
  border: 1px solid var(--black);
  outline: 0;
  width: 100%;
  border-radius: 2px;
  font-size: 16px;
  line-height: 150%;
  transition: box-shadow 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease;
}
.input:focus {
  background-color: #fff;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  border-color: #fff;
}
textarea.input {
  resize: none;
}
.input-check {
  display: none;
}
.input-check:checked + label::before {
  background: url(../img/check.svg) center/85% auto no-repeat;
  background-color: var(--primary);
  border-color: var(--primary);
}
.label-check {
  cursor: pointer;
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 16px;
}
.label-check::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  flex-shrink: 0;
  display: block;
  border-radius: 4px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.label-check a {
  text-decoration: underline;
}
.s-title {
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  margin: 0 0 16px 0;
}
[data-tab] {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
[data-tab]._active {
  display: block;
}
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.categories-btn {
  cursor: pointer;
  display: block;
  padding: 15px 37px;
  border: 1px solid var(--black);
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  line-height: 150%;
  transition: color 0.3s ease, border-color 0.3s ease,
    background-color 0.3s ease;
}
.categories-btn._active {
  border-color: var(--primary);
  background-color: var(--primary);
}
.card-product {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--gray);
}
.card-product__adv {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.card-product__adv li {
  border: 1px solid #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
}
.card-product__img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1.13;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 2px;
}
.card-product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
}
.card-product__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 133%;
  margin: 0 0 16px 0;
}
.card-product__content {
  font-size: 16px;
  line-height: 150%;
  margin: 0 0 24px 0;
}
.card-product__spec {
  margin-top: auto;
  display: flex;
  gap: 24px;
}
.card-product__spec li {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  line-height: 150%;
}
.card-product__spec li:not(:last-child)::after {
  content: "";
  height: 24px;
  width: 1px;
  background-color: currentColor;
}
.slider-scrollbar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background-color: var(--gray);
  margin-top: 32px;
}
.slider-scrollbar .swiper-scrollbar-drag {
  background-color: var(--black);
}
.slider-nav {
  display: flex;
  gap: 16px;
}
.slider-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: var(--black);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
.slider-nav__btn.swiper-button-disabled {
  opacity: 0.7;
  pointer-events: none;
}
.slider-nav__btn svg {
  width: 40px;
  height: 40px;
}
.burger-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black);
  opacity: 0;
  visibility: hidden;
  z-index: 90;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.burger-overlay._active {
  opacity: 0.5;
  visibility: visible;
}
.burger {
  position: fixed;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #fff;
  width: 320px;
  max-width: 100%;
  padding: 30px 15px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transition: opacity 0.4s ease, visibility 0.4s ease,
    -webkit-transform 0.4s ease;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease,
    -webkit-transform 0.4s ease;
}
.burger._open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.burger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.burger__logo {
  display: block;
  width: 90px;
}
.burger__logo img {
  display: block;
  width: 100%;
}
.burger__close {
  width: 32px;
  height: 32px;
  transition: opacity 0.2s ease;
}
.burger__close svg {
  width: 100%;
  height: 100%;
}
.burger__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.burger__list a {
  font-size: 16px;
  transition: opacity 0.2s ease;
}
.burger__contacts {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  gap: 20px;
}
.burger__contacts a.burger__contacts-item {
  transition: opacity 0.2s ease;
}
.burger__contacts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.burger__contacts-item svg {
  width: 32px;
  height: 32px;
}
.modal {
  display: none;
  padding: 30px;
  width: 500px;
  max-width: calc(100% - 30px);
  background-color: var(--white);
  color: var(--black);
}
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.header-message {
  position: sticky;
  top: 0;
  display: block;
  padding: 12px 0;
  background-color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 150%;
  z-index: 90;
}
.header-message span {
  color: rgb(172, 34, 34);
}
.header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: var(--white);
  padding-top: 16px;
  top: 48px;
  z-index: 80;
}
.header._dark {
  padding-bottom: 16px;
  background-color: var(--black);
}
.header._static {
  position: static;
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__logo {
  display: block;
  width: 110px;
}
.header__logo img {
  display: block;
  width: 100%;
}
.header__list {
  display: flex;
  gap: 16px;
}
.header__list a {
  position: relative;
  font-size: 16px;
  line-height: 150%;
}
.header__list a::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  right: 100%;
  height: 1px;
  background-color: currentColor;
  transition: right 0.3s ease;
}
.header__end {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.header__contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__contacts a.header__contacts-item {
  transition: opacity 0.2s ease;
}
.header__contacts-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 150%;
}
.header__contacts-item svg {
  width: 24px;
  height: 24px;
}
.header__burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--white);
  border-radius: 16px;
  color: var(--black);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.header__burger-btn svg {
  width: 32px;
  height: 32px;
}
.intro {
  position: relative;
  z-index: 1;
  padding: 160px 0 70px 0;
  color: var(--white);
}
.intro__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -3;
}
.intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.intro::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #000;
  opacity: 0.55;
  z-index: -1;
}
.intro__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.intro__main {
  max-width: 680px;
}
.intro__title {
  font-weight: 600;
  font-size: 72px;
  line-height: 111%;
  margin: 0 0 24px 0;
}
.intro__content {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  margin: 0 0 32px 0;
}
.intro__adv {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid var(--white);
  padding-top: 32px;
}
.intro__adv-item {
  display: flex;
  gap: 8px;
}
.intro__num {
  font-weight: 500;
  font-size: 40px;
  line-height: 80%;
}
.intro__adv-content {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
}
.intro__form-wrapper {
  padding: 24px;
  width: 470px;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: var(--white);
  color: var(--black);
}
.intro__form-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 125%;
  margin: 0 0 32px 0;
}
.intro__form-content {
  font-size: 15px;
  line-height: 133%;
  margin: 0 0 32px 0;
}
.intro__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intro__form-btn {
  width: 100%;
}
.s-partners {
  overflow: hidden;
  padding: 16px 0;
  border-bottom: 1px solid rgba(31, 25, 13, 0.33);
}
.s-partners__slider {
  overflow: visible;
  padding: 0 15px;
}
.s-partners__slider .swiper-wrapper {
  align-items: center;
}
.s-partners__slide img {
  display: block;
  width: 100%;
}
.s-about__wrapper {
  display: flex;
  align-items: start;
  gap: 30px;
}
.s-about__content {
  margin-bottom: 40px;
}
@media (min-width: 992px) {
  .s-about__body {
    width: calc(50% - 15px);
    flex-shrink: 0;
  }
}
.s-about__btn {
  width: 420px;
  max-width: 100%;
}
.s-about__img {
  position: sticky;
  top: 60px;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 2px;
  height: auto;
  width: calc(50% - 15px);
  object-fit: cover;
}
.s-portfolio__content {
  font-weight: 500;
  margin: 0 0 32px 0;
  max-width: 800px;
}
.s-portfolio__slider {
  margin-top: 32px;
}
.s-portfolio__slider .swiper-slide {
  height: auto !important;
}
.s-portfolio__slider .swiper-slide .card-product {
  min-height: 100%;
}
.s-portfolio__btn {
  width: 420px;
  max-width: 100%;
  margin: 40px auto 0 auto;
}
.s-portfolio__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.s-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  row-gap: 32px;
  margin-top: 32px;
}
.s-services__item {
  position: relative;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1/0.74;
  z-index: 1;
  color: #fff;
}
.s-services__item::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #000;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.s-services__item img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -2;
}
.s-services__item-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.s-services__item-title {
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  margin: 0;
}
.s-services__item-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: currentColor;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease;
}
.s-services__item-circle svg {
  width: 40px;
  height: 40px;
}
.s-offer__body {
  position: relative;
  padding: 72px 56px;
  z-index: 1;
  color: var(--white);
}
.s-offer__body::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.4) 0,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}
.s-offer__inside {
  max-width: 675px;
}
.s-offer__title {
  margin-bottom: 24px;
}
.s-offer__timer {
  margin: 24px 0 40px 0;
}
.timer {
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  color: var(--primary);
}
.s-offer__btn {
  width: 420px;
  max-width: 100%;
}
.s-clients__slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  aspect-ratio: 1/0.65;
  box-sizing: border-box;
  border-radius: 4px;
  overflow: hidden;
  color: var(--white);
  z-index: 1;
}
.s-clients__slide::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #000;
  opacity: 0.2;
  z-index: -1;
}
.s-clients__slide .btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.s-clients__slide-content {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.s-quiz__content {
  max-width: 885px;
}
.s-quiz__form {
  margin-top: 32px;
  padding: 40px 0;
  background: #575247;
  color: var(--white);
}
.s-quiz__question {
  opacity: 0;
  display: none;
  transition: opacity 0.4s ease;
}
.s-quiz__question._active {
  display: block;
}
.s-quiz__question-title {
  margin-bottom: 40px;
}
.s-quiz__question-title._center {
  text-align: center;
}
.s-quiz__question-content {
  font-size: 18px;
  text-align: center;
  margin: 0px 0px 20px 0px;
}
.s-quiz__form-subtitle {
  font-size: 24px;
  text-align: center;
  margin: 0px 0px 15px 0px;
}
.s-quiz__question-subcontent {
  font-size: 16px;
  opacity: 0.7;
  text-align: center;
  margin: 0px 0px 15px 0px;
}
.s-quiz__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  row-gap: 24px;
}
.s-quiz__input {
  display: none;
}
.s-quiz__input:checked + label {
  background-color: var(--white);
  color: var(--black);
}
.s-quiz__label {
  display: block;
  cursor: pointer;
  padding: 19px 23px;
  border-radius: 4px;
  border: 1px solid var(--white);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.s-quiz__question-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 64px;
}
.s-quiz__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.s-quiz__pagination div {
  cursor: pointer;
  background-color: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.s-quiz__pagination div._active {
  opacity: 1;
}
.s-quiz__btn-nav {
  width: 280px;
  max-width: 100%;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.s-quiz__profile {
  opacity: 0;
  display: none;
  transition: opacity 0.4s ease;
}
.s-quiz__profile .container {
  width: 600px;
  max-width: 100%;
}
.s-quiz__profile._active {
  display: block;
}
.s-quiz__form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s-gallery__slider {
  border-radius: 4px;
}
.s-gallery__slide {
  position: relative;
  display: flex !important;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  box-sizing: border-box;
  color: #fff;
  aspect-ratio: 1/1.13;
  z-index: 1;
}
.s-gallery__slide::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #000;
  opacity: 0.2;
  z-index: -1;
}
.s-gallery__slide .btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.s-gallery__slide-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
}
.s-reviews {
  background-color: #edeae3;
  overflow: hidden;
}
.s-reviews__slider {
  overflow: visible !important;
}
.s-reviews__slide {
  box-sizing: border-box;
  border-radius: 2px;
  background-color: #fff;
  padding: 24px;
  transition: box-shadow 0.3s ease;
}
.s-reviews__slide:hover {
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.15);
}
.s-reviews__slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.s-reviews__slide-author {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
}
.s-reviews__slide-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}
.s-reviews__stars {
  display: flex;
  gap: 5px;
}
.s-reviews__stars svg {
  color: transparent;
  width: 20px;
  height: 20px;
  stroke: #ffc107;
  stroke-width: 1px;
}
.s-reviews__stars svg._active {
  color: #ffc107;
}
.s-faq__spoller-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--black);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
}
.s-faq__spoller-btn._spoller-active div {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.s-faq__spoller-btn div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.s-faq__spoller-btn svg {
  width: 24px;
  height: 24px;
}
.s-faq__spoller-body {
  padding-top: 20px;
}
.s-connect {
  background-color: #575247;
  color: var(--white);
}
.s-connect._white {
  background-color: var(--white);
  color: var(--black);
}
.s-connect._white .s-connect__btn {
  border-color: rgba(31, 25, 13, 0.33);
}
.s-connect__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.s-connect__main {
  display: flex;
  flex-direction: column;
}
.s-connect__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  row-gap: 24px;
  margin-bottom: 24px;
}
.s-connect__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 23px;
  border: 1px solid hsla(0, 0%, 100%, 0.33);
  border-radius: 4px;
  font-size: 16px;
  line-height: 150%;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.s-connect__btn svg {
  width: 24px;
  height: 24px;
}
.s-connect__form-wrapper {
  margin-top: auto;
}
.s-connect__form-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 125%;
  margin: 0 0 8px 0;
}
.s-connect__form-content {
  margin-bottom: 32px;
}
.s-connect__img {
  width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
  aspect-ratio: 1/0.8;
}
.s-connect__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.s-connect__form .input-control:nth-child(3) {
  grid-column: 2 span;
}
.s-connect__form .label-check {
  grid-column: 2 span;
}
.s-connect__form-btn {
  grid-column: 2 span;
  width: 100%;
}
.footer {
  background: #1f190d;
  color: #fff;
  padding: 56px 0;
}
.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer__logo {
  display: block;
  width: 135px;
}
.footer__logo img {
  display: block;
  width: 100%;
}
.footer__btn {
  margin-top: 40px;
  width: 320px;
  max-width: 100%;
}
.footer__nav {
  display: flex;
  gap: 100px;
}
.footer__nav-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 24px;
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 16px;
  line-height: 150%;
  transition: opacity 0.3s ease;
}
.footer__nav-list a svg {
  width: 24px;
  height: 24px;
}
@media (min-width: 768px) {
  .slider-scrollbar {
    display: none;
  }
}
@media (max-width: 1365px) {
  .intro__title {
    font-size: 64px;
  }
}
@media (max-width: 1199px) {
  .header__wrapper {
    gap: 24px;
  }
  .header__end {
    gap: 24px;
  }
  .header__contacts {
    gap: 24px;
  }
  .intro__title {
    font-size: 48px;
  }
  .s-partners__slide {
    width: 205px !important;
  }
  .s-services__grid {
    gap: 24px;
  }
  .s-services__item {
    padding: 24px;
  }
  .s-services__item-title {
    font-size: 28px;
  }
  .s-services__item-circle {
    width: 56px;
    height: 56px;
  }
  .s-services__item-circle svg {
    width: 32px;
    height: 32px;
  }
  .s-quiz__pagination {
    gap: 16px;
  }
  .s-quiz__pagination div {
    width: 18px;
    height: 18px;
  }
  .footer__nav {
    gap: 32px;
    flex-wrap: wrap;
  }
}
@media (max-width: 991px) {
  .sect-m {
    margin: 56px 0;
  }
  .sect-p {
    padding: 56px 0;
  }
  .s-title {
    font-size: 32px;
    line-height: 125%;
  }
  .header__wrapper .lang-toggle {
    margin-left: auto;
  }
  .header__nav {
    display: none;
  }
  .header__contacts {
    display: none;
  }
  .header__burger-btn {
    display: flex;
  }
  .intro {
    padding: 125px 0 56px 0;
  }
  .intro__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .intro__main {
    max-width: none;
    width: 100%;
  }
  .s-about__wrapper {
    display: block;
  }
  .s-about__img {
    position: static;
    margin-bottom: 32px;
    width: 100%;
  }
  .s-portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .s-quiz__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .s-quiz__question-nav {
    padding-top: 40px;
  }
  .s-quiz__pagination {
    display: none;
  }
  .s-connect._white .s-connect__btn {
    color: var(--black) !important;
  }
  .s-connect__wrapper {
    display: block;
  }
  .s-connect__buttons {
    gap: 16px;
    margin-bottom: 0;
  }
  .s-connect__btn {
    padding: 0;
    border: none;
    color: var(--white) !important;
    background-color: rgba(0, 0, 0, 0) !important;
  }
  .s-connect__img {
    margin: 32px 0;
  }
  .s-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .content {
    font-size: 15px;
    line-height: 147%;
  }
  .slider-nav {
    display: none;
  }
  .modal {
    padding: 30px 16px;
  }
  .header__logo {
    width: 100px;
  }
  .intro::before {
    opacity: 0.6;
  }
  .intro__title {
    font-size: 32px;
    line-height: 125%;
    margin-bottom: 16px;
  }
  .intro__adv-item {
    flex-direction: column;
  }
  .intro__num {
    font-size: 24px;
    line-height: 100%;
  }
  .intro__adv-content {
    line-height: 125%;
  }
  .intro__form-wrapper {
    padding: 24px 16px;
  }
  .intro__form-title {
    margin-bottom: 8px;
  }
  .s-portfolio__btn {
    margin-top: 32px;
  }
  .s-services__grid {
    grid-template-columns: 1fr;
  }
  .s-services__item {
    padding: 24px 16px;
  }
  .s-offer .container {
    padding: 0;
  }
  .s-offer__body {
    padding: 40px 20px;
  }
  .timer {
    font-size: 48px;
  }
  .s-gallery__slide-title {
    font-size: 16px;
  }
  .s-reviews__slide {
    padding: 24px 16px;
  }
  .s-connect__form .input-control {
    grid-column: 2 span;
  }
}
@media (max-width: 644px) {
  .s-portfolio__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .s-services__item {
    aspect-ratio: 1/1.012;
  }
  .s-quiz__grid {
    grid-template-columns: 1fr;
  }
  .s-quiz__question-nav {
    flex-wrap: wrap;
  }
  .s-quiz__btn-nav {
    width: 100%;
  }
  .footer__main {
    width: 100%;
  }
  .footer__btn {
    width: 100%;
  }
}
@media (max-width: 479px) {
  .categories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .s-connect__img {
    aspect-ratio: 1/0.9;
  }
}
@media (any-hover: hover) {
  .btn-s:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
  }
  .btn-s._outline:hover {
    background-color: var(--primary-hover);
    color: var(--black);
  }
  .btn-play:hover {
    background-color: var(--primary);
  }
  .lang-btn:hover {
    background-color: var(--primary-hover);
  }
  .label-check a:hover {
    text-decoration: none;
  }
  .categories-btn:hover {
    border-color: var(--primary);
    background-color: var(--primary);
  }
  .slider-nav__btn:hover {
    background-color: var(--primary-hover);
  }
  .burger__close:hover {
    opacity: 0.7;
  }
  .burger__list a:hover {
    opacity: 0.7;
  }
  .burger__contacts a.burger__contacts-item:hover {
    opacity: 0.7;
  }
  .header__list a:hover::before {
    right: 0;
  }
  .header__contacts a.header__contacts-item:hover {
    opacity: 0.7;
  }
  .header__burger-btn:hover {
    background-color: var(--primary);
  }
  .s-services__item:hover::before {
    opacity: 0.7;
  }
  .s-services__item:hover .s-services__item-circle {
    color: var(--black);
    background-color: var(--primary);
    border-color: var(--primary);
  }
  .s-clients__slide:hover .s-clients__slide-content {
    opacity: 1;
  }
  .s-quiz__label:hover {
    background-color: var(--white);
    color: var(--black);
  }
  .s-quiz__pagination div:hover {
    opacity: 1;
  }
  .s-connect._white .s-connect__btn:hover {
    background-color: var(--black);
    color: #fff;
  }
  .s-connect__btn:hover {
    color: var(--black);
    background-color: var(--white);
  }
  .footer__nav-list a:hover {
    opacity: 0.7;
  }
}
@media (hover: none) {
  .btn-s:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
  }
  .btn-s._outline:active {
    background-color: var(--primary-hover);
    color: var(--black);
  }
  .btn-play:active {
    background-color: var(--primary);
  }
  .lang-btn:active {
    background-color: var(--primary-hover);
  }
  .label-check a:active {
    text-decoration: none;
  }
  .categories-btn:active {
    border-color: var(--primary);
    background-color: var(--primary);
  }
  .slider-nav__btn:active {
    background-color: var(--primary-hover);
  }
  .burger__close:active {
    opacity: 0.7;
  }
  .burger__list a:active {
    opacity: 0.7;
  }
  .burger__contacts a.burger__contacts-item:active {
    opacity: 0.7;
  }
  .header__list a:active::before {
    right: 0;
  }
  .header__contacts a.header__contacts-item:active {
    opacity: 0.7;
  }
  .header__burger-btn:active {
    background-color: var(--primary);
  }
  .s-services__item:active::before {
    opacity: 0.7;
  }
  .s-services__item:active .s-services__item-circle {
    color: var(--black);
    background-color: var(--primary);
    border-color: var(--primary);
  }
  .s-clients__slide:active .s-clients__slide-content {
    opacity: 1;
  }
  .s-quiz__label:active {
    background-color: var(--white);
    color: var(--black);
  }
  .s-quiz__pagination div:active {
    opacity: 1;
  }
  .s-connect._white .s-connect__btn:active {
    background-color: var(--black);
    color: #fff;
  }
  .s-connect__btn:active {
    color: var(--black);
    background-color: var(--white);
  }
  .footer__nav-list a:active {
    opacity: 0.7;
  }
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 13px;
  bottom: 50px;
  transform: translate(-50%, -50%);
  background: #25d366; /*цвет кнопки*/
  border-radius: 50%;
  width: 55px; /*ширина кнопки*/
  height: 55px; /*высота кнопки*/
  color: #fff;
  text-align: center;
  line-height: 53px; /*центровка иконки в кнопке*/
  font-size: 35px; /*размер иконки*/
  z-index: 50;
}
.whatsapp-button a {
  color: #fff;
}
.whatsapp-button:before,
.whatsapp-button:after {
  content: " ";
  display: block;
  position: absolute;
  border: 50%;
  border: 1px solid #25d366; /*цвет анимированных волн от кнопки*/
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: animate 1.5s linear infinite;
  opacity: 0;
  backface-visibility: hidden;
}

.whatsapp-button:after {
  animation-delay: 0.5s;
}

@keyframes animate {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@media (max-width: 767px) {
  .whatsapp-button {
    bottom: 10px;
  }
}

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

.s-gallery__title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.s-gallery__title svg {
  width: 36px;
  height: 36px;
}
.s-reviews__slide-city {
  font-size: 16px;
  opacity: 0.7;
  font-weight: 600;
  margin-top: 20px;
}
.s-portfolio__slider-nav {
  margin: 25px auto;
  justify-content: center;
}

.s-rec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-service {
  text-align: center;
}
.card-service:hover .card-service__img {
  opacity: 0.7;
}
.card-service__img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/0.6;
  transition: opacity 0.3s ease;
}
.card-service__title {
  font-size: 24px;
  opacity: 0.6;
  margin: 20px 0px;
}
.card-service__descr {
  font-size: 18px;
  margin: 0;
}

@media (max-width: 991px) {
  .card-service__title {
    font-size: 20px;
  }
  .card-service__descr {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .s-rec__grid {
    grid-template-columns: 1fr;
  }
}

.form-send-btn._sending {
  pointer-events: none;
}

input[name="subject"] {
  display: none;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.s-cooperation {
}
.s-coopeartion__title {
  margin-bottom: 32px;
}
.s-cooperation__wrapper {
  display: flex;
  align-items: start;
  gap: 40px;
  margin-top: 30px;
}
.s-cooperation__form-wrapper {
  padding: 30px;
  border-radius: 20px;
  background-color: white;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.15);
  flex: 1;
}
.s-cooperation__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.s-coopeartion__info-wrapper {
  width: 320px;
  flex-shrink: 0;
  border-radius: 20px;
  padding: 25px 15px;
  background-color: white;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.15);
}
.s-cooperation__info {
}
.s-cooperation__info-body {
  margin-top: 20px;
}
.s-cooperation__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.s-cooperation__head-line {
  content: "";
  flex: 1;
  height: 2px;
  background-color: currentColor;
}
.s-cooperation__head-title {
  font-size: 16px;
  margin: 0;
}
.s-cooperation__item:not(:last-child) {
  margin-bottom: 20px;
}
.s-cooperation__item-title {
  font-size: 16px;
  margin: 0px 0px 15px 0px;
}
.s-cooperation__item-subcontent {
  font-size: 14px;
  opacity: 0.7;
}
.s-cooperation__item-subcontent p {
  margin: 0;
}
.s-cooperation__item-subconten p:not(:last-child) {
  margin-bottom: 15px;
}
.s-cooperation__head-icon {
  width: 24px;
  height: 24px;
}
.s-cooperation__telephones {
}
.s-cooperation__tel {
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.s-cooperation__tel:hover {
  opacity: 0.7;
}
.s-cooperation__social {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 20px;
}
.s-cooperation__social-btn {
  width: 32px;
  height: 32px;
  display: block;
  transition: opacity 0.3s ease;
}
.s-cooperation__social-btn:hover {
  opacity: 0.7;
}
.s-cooperation__social-btn svg {
  width: 100%;
  height: 100%;
}
.s-cooperation__mail {
  font-size: 16px;
  margin-top: 20px;
  display: block;
  width: fit-content;
  transition: opacity 0.3s ease;
}
.s-cooperation__mail:hover {
  opacity: 0.7;
}

@media (max-width: 991px) {
  .s-cooperation__wrapper {
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .s-cooperation__wrapper {
    flex-wrap: wrap;
  }
  .s-coopeartion__info-wrapper {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .s-cooperation__form-wrapper {
    padding: 25px 15px;
  }
}
.s-not-found {
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 60vh;
}
.s-not-found__num {
  font-size: 128px;
  font-weight: 700;
  margin-bottom: 30px;
}
.s-not-found__content {
  text-align: center;
  font-size: 20px;
}
.s-not-found__btn {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
} /* ==== Mobile fix: услуги в 1 колонку ==== */

@media (max-width: 767px) {
  .s-rec__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-service {
    text-align: left;
  }

  .card-service__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

  .card-service__title {
    font-size: 20px;
    margin: 12px 0 6px;
  }

  .card-service__content {
    font-size: 15px;
    line-height: 1.5;
  }
}
/* hero: мобильная настройка кадра */
@media (max-width: 767px) {
  .intro {
    padding: 112px 0 40px; /* чуть больше воздуха */
    min-height: 620px; /* чтобы картинка не резалась */
  }
  .intro__bg img {
    object-fit: cover; /* оставляем cover */
    object-position: 70% 50%; /* сдвиг вправо, чтобы был виден консоль + дуга */
    /* попробуй 65–75% по вкусу */
  }
  .intro::before {
    opacity: 0.45; /* чуть темнее для читабельности заголовка */
  }
}

@media (max-width: 1199px) {
  .s-rec__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .s-rec__grid {
    grid-template-columns: 1fr;
  }
}