@font-face {
  font-family: Evolventa;
  font-display: swap;
  src: url("../files/fonts/Evolventa-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.3;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --mine-shaft: #2b2b2b;
  --dark: #1f1f1f;
  --black: #151515;
  --primary: #f8d146;
  --primary-h: #ddb939;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  user-select: none;
}

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

.body {
  font-family: "Evolventa", sans-serif;
  font-size: 16px;
  background-color: var(--dark);
  color: white;
}

.body.error404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.body.error404 main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

:root {
  --content-width: 1760px;
  --offset-width: 15px;
  --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-s {
  --background: var(--primary);
  --border: var(--primary);
  --color: black;
  --background-h: var(--primary-h);
  --border-h: var(--primary-h);
  --color-h: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 17px 40px;
  outline: none;
  border: 1px solid var(--border);
  background-color: var(--background);
  width: fit-content;
  color: var(--color);
  font-size: 15px;
  user-select: none;
  line-height: 100%;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.btn-s._white {
  --background: white;
  --border: white;
  --color: black;
  --background-h: var(--primary);
  --border-h: var(--primary);
  --color-h: black;
}

.btn-s._outline {
  --background: transparent;
  --border: black;
  --color: black;
  --background-h: transparent;
  --border-h: var(--primary);
  --color-h: black;
}

.btn-play {
  --background: rgba(0, 0, 0, 0.4);
  --border: var(--primary);
  --color: var(--primary);
  --background-h: var(--primary);
  --border-h: var(--primary);
  --color-h: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  font-size: 26px;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--color);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.s-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  margin: 0;
}

[data-tab] {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-tab]._active {
  display: block;
}

[data-tab]._show {
  opacity: 1;
}

.social {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.social .social-item {
  --border: white;
  --color: white;
  --background: transparent;
  --border-h: var(--primary);
  --color-h: var(--primary);
  --background-h: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background-color: var(--background);
  flex-shrink: 0;
  color: var(--color);
  font-size: 17px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.form-control {
  width: 100%;
}

.input {
  --border: rgba(0, 0, 0, 0.6);
  --background: white;
  --color: black;
  --border-f: var(--primary);
  --background-f: white;
  --color-f: black;
  border: 1px solid var(--border);
  outline: none;
  padding: 17px 40px;
  background-color: var(--background);
  width: 100%;
  font-size: 16px;
  line-height: 100%;
  color: var(--color);
  font-size: 16px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.input.wpcf7-not-valid {
  --border: #dc3232;
}
.input.wpcf7-not-valid::placeholder {
  color: rgba(220, 50, 50, 0.9);
}
.input:focus {
  border-color: var(--border-f);
  background-color: var(--background-f);
  color: var(--color-f);
}

.input::placeholder {
  color: inherit;
  opacity: 0.6;
}

.check-wrapper {
  position: relative;
}
.check-wrapper .wpcf7-not-valid {
  color: #dc3232;
}
.check-wrapper .wpcf7-not-valid a {
  color: #dc3232 !important;
}
.check-wrapper .wpcf7-not-valid .wpcf7-list-item-label::before {
--border: #dc3232;
}

.check-wrapper input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}

.check-wrapper input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: url("../img/check-dark.svg") center/15px auto no-repeat;
  background-color: var(--background-a);
  border: 1px solid var(--border-a);
}

.check-wrapper .wpcf7-list-item {
  margin-left: 0 !important;
}

.check-wrapper .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  width: fit-content;
  font-size: 13px;
  line-height: 100%;
}

.check-wrapper .wpcf7-list-item-label a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.check-wrapper .wpcf7-list-item-label::before {
  --border: rgba(0, 0, 0, 0.1);
  --background: white;
  --border-a: black;
  --background-a: white;
  content: "";
  display: block;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border: 1px solid var(--border);
  background-color: var(--background);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.file-wrapper {
  position: relative;
}

.file-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
}

.file-wrapper .file-btn {
  --border: rgba(0, 0, 0, 0.6);
  --background: white;
  --color: rgba(0, 0, 0, 0.6);
  --border-h: var(--primary);
  --background-h: white;
  --color-h: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 15px;
  padding: 15px 40px;
  border: 1px solid var(--border);
  background-color: var(--background);
  font-size: 13px;
  color: var(--color);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.file-wrapper .file-btn i {
  font-size: 25px;
  flex-shrink: 0;
}

.file-wrapper .file-btn .file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sect-p {
  padding: 75px 0px;
  scroll-margin-top: 75px;
}

.sect-p.bg-mine-shaft + .sect-p.bg-mine-shaft {
  padding-top: 0 !important;
}

.sect-m {
  margin: 75px 0px;
  scroll-margin-top: 150px;
}

.sect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.bg-mine-shaft {
  background-color: var(--mine-shaft);
}

.sect-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 75px 30px;
}

[data-more-item] {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

[data-more-item]._active {
  display: block;
}

[data-more-item]._show {
  opacity: 1;
  transform: translateY(0);
}

.slider-arrows {
  display: flex;
  gap: 20px;
}

.slider-arrow {
  --border: white;
  --background: transparent;
  --color: white;
  --border-h: var(--primary);
  --background-h: transparent;
  --color-h: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--color);
  font-size: 18px;
  backdrop-filter: blur(6.6px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    opacity 0.3s ease;
}

.slider-arrow.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.slider-arrow._dark {
  --background: rgba(0, 0, 0, 0.4);
  --background-h: rgba(0, 0, 0, 0.6);
}

.slider-pagination {
  display: flex;
  width: fit-content !important;
  gap: 6px;
}

.slider-pagination._blur {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 12px;
}

.slider-pagination .swiper-pagination-bullet {
  --background: white;
  --background-a: var(--primary);
  margin: 0 !important;
  opacity: 1;
  border-radius: 10px;
  flex: 0 0 8px;
  height: 8px;
  background-color: white;
  transition:
    flex-basis 0.3s ease,
    background-color 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--background-a);
  flex-basis: 25px;
}

.slider-scrollbar {
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  height: 1px;
}

.slider-scrollbar .swiper-scrollbar-drag {
  position: relative;
  background-color: var(--primary);
}

.slider-scrollbar .swiper-scrollbar-drag::before {
  position: absolute;
  content: "";
  inset: -1px 0px;
  background-color: var(--primary);
  z-index: 1;
}

.card-portfolio {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  color: black;
}

.card-portfolio__slider {
  width: 100%;
}

.card-portfolio__slider .slider-arrow {
  --background: rgba(0, 0, 0, 0.4);
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

.card-portfolio__slider .slider-arrow._prev {
  left: 30px;
}

.card-portfolio__slider .slider-arrow._next {
  right: 30px;
}

.card-portfolio__slider .slider-pagination {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  z-index: 10;
}

.card-portfolio__slider .btn-play {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 10;
}

.card-portfolio__slide {
  aspect-ratio: 1/0.52;
}

.card-portfolio__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-portfolio__body {
  flex: 1;
  padding: 30px;
}

.card-portfolio__tag {
  font-size: 18px;
  line-height: 100%;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}

.card-portfolio__title {
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  margin: 0;
}

.card-portfolio__content {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  margin-top: 30px;
  color: rgba(0, 0, 0, 0.8);
}

.card-portfolio__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 20px;
}

.card-portfolio__list li {
  padding: 15px 20px;
  border: 1px solid black;
  font-size: 13px;
  line-height: 115%;
}

.content-box {
  line-height: 150%;
}

.content-box > * {
  margin: 0;
}

.content-box > *:not(:last-child) {
  margin-bottom: 1.2rem;
}

.content-box a {
  text-decoration: underline;
  color: var(--primary);
}

.content-box h5 {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
}

.card-team__img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1.18;
}

.card-team__title {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  margin: 30px 0px 0px 0px;
}

.card-team__post {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  padding: 8px 0px;
  z-index: 100;
  font-size: 15px;
}
.header._sticky {
  position: sticky;
}

.header__wrap {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  gap: 30px;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  color: white;
}

.header__logo-wrap {
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.header__logo {
  display: block;
  width: 40px;
}

.header__logo img {
  display: block;
  width: 100%;
}

.header__list {
  display: flex;
  gap: 35px;
}

.header__list a {
  transition: color 0.3s ease;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.header__contacts-info {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}

.header__tel {
  font-size: 18px;
  transition: color 0.3s ease;
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 35px;
  background-color: var(--primary);
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  line-height: 100%;
  color: var(--dark);
  transition: background-color 0.3s ease;
}

.header__burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid white;
  font-size: 18px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.burger-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.burger-overlay._active {
  opacity: 1;
  visibility: visible;
}

.burger {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background-color: white;
  width: 370px;
  max-width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 120;
  color: var(--dark);
  transition:
    transform 0.4s ease,
    visibility 0.4s ease,
    opacity 0.4s ease;
}

.burger._open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.burger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.burger__logo {
  display: block;
  width: 35px;
}

.burger__logo img {
  display: block;
  width: 100%;
}

.burger__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.burger__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.burger__list a {
  transition: color 0.3s ease;
}

.burger__contacts {
  margin-top: auto;
}

.burger__tel {
  font-size: 18px;
  transition: color 0.3s ease;
}

.burger__address {
  margin-top: 5px;
}

.burger__btn {
  margin-top: 20px;
  width: 100%;
}

.fancybox__backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal {
  display: none;
  cursor: auto !important;
  width: 600px;
  max-width: 100%;
  padding: 50px 25px 25px 25px;
}

.modal__body {
  width: 100%;
}

.modal__close {
  position: absolute;
  cursor: pointer;
  font-size: 25px;
  top: 15px;
  right: 15px;
  transition: opacity 0.3s ease;
}

.modal__title {
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  margin: 0px 0px 20px 0px;
}

.modal__content {
  margin: 20px 0px 0px 0px;
}

.modal__form {
  margin-top: 30px;
}

.modal__form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.modal__form .btn-s[type="submit"] {
  width: 100%;
}

.s-hero {
  position: relative;
  min-height: 400vh;
  z-index: 1;
}

.s-hero__gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.s-hero__gallery-inside {
  position: relative;
  min-height: 400vh;
  width: 100%;
  z-index: 1;
}

.s-hero__gallery-inside::before,
.s-hero__gallery-inside::after {
  position: absolute;
  content: "";
  inset: 0;
}

.s-hero__gallery-inside::before {
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.s-hero__gallery-inside::after {
  background: linear-gradient(
    258.04deg,
    rgba(44, 40, 35, 0) 31.33%,
    #2c2823 98.34%
  );
  z-index: 2;
}

.s-hero__scroll-video {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -3;
}

.s-hero__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  overflow: hidden;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  padding: 150px 0px 55px 0px;
}

.s-hero__frame._bottom {
  align-items: flex-end;
}

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

.s-hero__frame-center-wrap {
  display: flex;
  gap: 50px;
}

.s-hero__frame-center-wrap .separator {
  width: 5px;
  height: auto;
  border-radius: 3px;
  background-color: currentColor;
}

.s-hero__frame-wrap-logo {
  align-self: center;
}

.s-hero__frame-logo {
  display: block;
  width: 385px;
}

.s-hero__frame-text {
  max-width: 555px;
  font-size: 55px;
  line-height: 109%;
}

.s-hero__scroll-btn {
  position: absolute;
  left: 50%;
  bottom: 75px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  line-height: 100%;
}

.s-hero__scroll-btn .item-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 30px;
  border: 1px solid currentColor;
  font-size: 12px;
}

.s-hero__frame-bottom {
  display: flex;
  align-items: flex-end;
  width: 100%;
}

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

.s-hero__frame-content {
  font-size: 40px;
  line-height: 150%;
  text-transform: uppercase;
  max-width: 715px;
  margin: 0;
}

.s-hero__frame-btn {
  width: 250px;
  max-width: 100%;
  flex-shrink: 0;
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(-30%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.s-production {
  width: 100%;
  z-index: 10;
  background-color: white;
  color: var(--dark);
}

.s-production__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(0, 0, 0, 0.3);
}

.s-production__item {
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 1;
  padding: 30px;
  height: 100%;
  aspect-ratio: 1/1;
  transition: color 0.3s ease;
}

.s-production__item::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    258.04deg,
    rgba(44, 40, 35, 0) 22.51%,
    #2c2823 87.23%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.s-production__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.s-production__item-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-production__item-head {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.s-production__item-head .item-num {
  font-size: 40px;
  line-height: 100%;
  align-self: center;
}

.s-production__item-head .item-title {
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid currentColor;
  font-size: 24px;
  line-height: 100%;
}

.s-production__item-tag {
  padding: 10px 25px;
  width: fit-content;
  margin-top: auto;
  margin-bottom: 20px;
  background-color: var(--dark);
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: white;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.s-production__item-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border: 1px solid white;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid currentColor;
  backdrop-filter: blur(6.5px);
  color: inherit;
  z-index: 1;
  opacity: 0;
  font-size: 20px;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.s-production__item-icon {
  display: block;
  width: 185px;
  margin: auto 0px 0px auto;
  transition: opacity 0.2s ease;
}

.s-production__btn-more {
  margin-top: 50px;
  width: 100%;
}

.s-portfolio {
  overflow: hidden;
}

.s-portfolio__title {
  max-width: 680px;
}

.s-portfolio__nav-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.s-portfolio__tabs-nav {
  display: flex;
  gap: 30px;
}

.s-portfolio__tabs-btn {
  position: relative;
  cursor: pointer;
  font-size: 18px;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.6);
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.s-portfolio__tabs-btn._active {
  color: white;
}

.s-portfolio__tabs-btn._active::before {
  right: 0;
}

.s-portfolio__tabs-btn::before {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  height: 1px;
  bottom: 0;
  background-color: var(--primary);
  transition: right 0.3s ease;
}

.s-portfolio__tabs-arrows {
  margin-left: auto;
}

.s-portfolio__slider {
  width: 100%;
}

.s-portfolio__slider .swiper-slide {
  box-sizing: border-box;
  height: auto !important;
}

.s-portfolio__slider .swiper-slide .card-portfolio {
  height: 100%;
}

.s-booklet__title {
  max-width: 555px;
}

.s-booklet__picture {
  display: block;
  margin: 0 auto;
}

.s-booklet__picture img {
  display: block;
  margin: 0 auto;
}

.s-order__block {
  width: 765px;
  max-width: 100%;
  padding: 70px 50px;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
}

.s-order__title {
  margin-bottom: 50px;
}

.s-order__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.s-order__form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s-order__form .check-wrapper a {
  color: var(--primary);
}

.s-about__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.s-about__info {
  flex: 0 1 810px;
}

.s-about__title {
  margin-bottom: 30px;
}

.s-about__content {
  color: rgba(255, 255, 255, 0.8);
}

.s-about__adv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.s-about__adv-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.s-about__adv-item img {
  display: block;
  flex-shrink: 0;
  width: 50px;
}

.s-about__gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 1 870px;
}

.s-about__gallery::before {
  position: absolute;
  content: "";
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.s-about__gallery-img {
  display: block;
  width: 100%;
}

.s-about__logo {
  position: absolute;
  z-index: 2;
  display: block;
  width: 250px;
}

.s-get__body {
  background-color: white;
  color: black;
}

.s-get__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.s-get__wrapper {
  max-width: 1040px;
}

.s-get__title {
  max-width: 740px;
  margin-bottom: 20px;
}

.s-get__content {
  color: rgba(0, 0, 0, 0.8);
}

.s-get__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

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

.s-get__form .form-control:nth-child(3) {
  grid-column: 2 span;
}

.s-get__form .file-btn .file-name {
  max-width: 210px;
}

.s-gallery__wrapper {
  display: flex;
  gap: 30px;
}

.s-gallery__slider-wrapper {
  position: relative;
  width: 720px;
}

.s-gallery__slider-wrapper .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.s-gallery__slider-wrapper .slider-arrow._prev {
  left: 30px;
}

.s-gallery__slider-wrapper .slider-arrow._next {
  right: 30px;
}

.s-gallery__slider {
  width: 100%;
}

.s-gallery__slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1/0.65;
}

.s-gallery__slide .btn-play {
  position: absolute;
  z-index: 1;
}

.s-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s linear;
}

.s-gallery__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.s-gallery__content {
  margin-top: 30px;
  max-width: 870px;
  color: rgba(255, 255, 255, 0.8);
}

.s-gallery__thumb-slider {
  margin-top: auto;
  padding-top: 30px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.s-gallery__thumb-slide {
  width: 420px !important;
  max-width: 100%;
  aspect-ratio: 1/0.5;
  cursor: pointer;
}

.s-gallery__thumb-slide.swiper-slide-thumb-active::before {
  opacity: 1;
}

.s-gallery__thumb-slide::before {
  position: absolute;
  content: "";
  inset: 0;
  border: 1px solid var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.s-adv__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.s-adv__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
}

.s-adv__item img {
  display: block;
  width: 180px;
}

.s-video__slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1/1.3;
  z-index: 1;
}

.s-video__slide::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    258.04deg,
    rgba(44, 40, 35, 0) 19.78%,
    #2c2823 83.79%
  );
  z-index: -1;
}

.s-video__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s linear;
  z-index: -2;
}

.s-faq__spollers-wrap {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s-faq__spollers-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.s-faq__spoller {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.s-faq__spoller:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.s-faq__spoller-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
  padding: 15px 0px;
  cursor: pointer;
  font-size: 24px;
  line-height: 100%;
}

.s-faq__spoller-btn._spoller-active .item-rect {
  transform: rotate(180deg);
}

.s-faq__spoller-btn .item-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.s-faq__spoller-content {
  padding-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.s-connect__body {
  position: relative;
  z-index: 1;
}

.s-connect__body::before {
  position: absolute;
  content: "";
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.s-connect__block {
  width: 765px;
  max-width: 100%;
  padding: 75px 50px;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
}

.s-connect__head {
  text-align: center;
  max-width: 375px;
  margin: 0px auto 35px auto;
}

.s-connect__content {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
}

.s-connect__form {
  width: 100%;
}

.s-connect__form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.s-connect__form .btn-s[type="submit"] {
  width: 100%;
  margin-top: 10px;
}

.s-contacts__wrap {
  display: flex;
  gap: 30px;
}

.s-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 0 1 575px;
}

.s-contacts__item:not(:last-child) {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.s-contacts__item .item-name {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.s-contacts__item .item-val {
  font-size: 24px;
  line-height: 100%;
}

.s-contacts__item a.item-val {
  transition: color 0.3s ease;
}

.s-contacts__map {
  flex: 1;
  min-height: 400px;
  background-color: rgba(255, 255, 255, 0.5);
}

.footer {
  background-color: var(--black);
  padding: 50px 0px;
}

.footer__wrap {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.footer__main {
  display: flex;
  gap: 30px;
}

.footer__logo-wrap {
  padding: 15px 30px 15px 0px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__logo {
  display: block;
  width: 75px;
  flex-shrink: 0;
}

.footer__logo img {
  width: 100%;
}

.footer__main-content {
  margin: 20px 0px 0px 0px;
  font-size: 15px;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
}

.footer__list {
  display: flex;
  gap: 35px;
  margin: 0 auto;
}

.footer__list a {
  transition: color 0.3s ease;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  gap: 24px;
}

.footer__contacts a {
  transition: color 0.3s ease;
}

.footer__contacts ._opacity {
  color: rgba(255, 255, 255, 0.8);
}

.footer__contacts-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 320px;
  max-width: 100%;
}

.footer__tel {
  display: block;
  width: fit-content;
  font-size: 24px;
  line-height: 100%;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  row-gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__bottom a {
  transition: color 0.3s ease;
}

.footer__bottom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  row-gap: 20px;
}

@media (min-width: 481px) {
  .s-production__grid [data-more-item]:nth-child(-n + 6) {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 1026px) {
  .social .social-item._adapt {
    display: none !important;
  }

  .slider-scrollbar._lap-min {
    display: none;
  }

  .card-portfolio__slider .slider-pagination {
    display: none !important;
  }

  .header__burger-btn {
    display: none;
  }

  .burger-overlay {
    display: none !important;
  }

  .burger {
    display: none !important;
  }
}

@media (min-width: 1366px) {
  .s-production__grid [data-more-item]:nth-child(-n + 8) {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1539px) {
  .s-production__item-head .item-title {
    font-size: 20px;
  }
}

@media (max-width: 1365px) {
  .card-portfolio__slider .btn-play {
    right: 15px;
    bottom: 15px;
  }

  .header__wrap {
    gap: 20px;
  }

  .header__list {
    gap: 20px;
  }

  .header__contacts {
    gap: 20px;
  }

  .header__address {
    font-size: 14px;
  }

  .s-hero__frame-logo {
    width: 300px;
  }

  .s-hero__frame-text {
    font-size: 45px;
  }

  .s-hero__scroll-btn {
    bottom: 55px;
  }

  .s-production__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .s-order__title {
    margin-bottom: 30px;
  }

  .s-about__adv {
    margin-top: 30px;
  }

  .s-about__logo {
    width: 200px;
  }

  .s-gallery__slider-wrapper {
    width: 550px;
  }

  .s-gallery__thumb-slide {
    width: 300px !important;
  }

  .s-adv__item {
    font-size: 16px;
    gap: 30px;
  }

  .s-adv__item img {
    width: 140px;
  }

  .s-faq__spollers-col {
    gap: 0;
  }

  .s-faq__spoller-btn {
    font-size: 20px;
  }

  .s-contacts__info {
    flex-basis: 450px;
  }

  .footer__logo {
    width: 50px;
  }

  .footer__list {
    gap: 20px;
  }

  .footer__contacts-item {
    width: fit-content;
  }

  .footer__bottom-list {
    gap: 30px;
    row-gap: 15px;
  }
}

@media (max-width: 1199px) {
  .sect-head {
    margin-bottom: 40px;
  }

  .header__contacts-info {
    display: none;
  }

  .s-hero__frame {
    padding-bottom: 40px;
  }

  .s-hero__frame-center-wrap {
    gap: 30px;
  }

  .s-hero__frame-logo {
    width: 250px;
  }

  .s-hero__frame-text {
    font-size: 40px;
    max-width: 410px;
  }

  .s-hero__frame-content {
    font-size: 32px;
    max-width: 575px;
  }

  .s-production__item {
    padding: 20px;
  }

  .s-production__item-icon {
    width: 165px;
  }

  .s-about__logo {
    width: 150px;
  }

  .s-gallery__slider-wrapper {
    width: 500px;
  }

  .s-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .s-contacts__info {
    flex-basis: 400px;
    gap: 20px;
  }

  .s-contacts__item:not(:last-child) {
    padding-bottom: 20px;
  }

  .s-contacts__item .item-val {
    font-size: 20px;
  }

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

  .footer__main {
    width: 100%;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .footer__logo-wrap {
    padding: 0;
    border: none;
  }

  .footer__main-content {
    max-width: none;
    width: 100%;
  }

  .footer__list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__contacts {
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .footer__contacts-item {
    align-items: center;
  }

  .footer__bottom {
    margin-top: 30px;
  }
}

@media (max-width: 1025px) {
  .body {
    font-size: 15px;
  }

  .s-title {
    font-size: 28px;
  }

  .sect-p {
    padding: 60px 0px;
    scroll-margin-top: 60px;
  }

  .sect-m {
    margin: 60px 0px;
    scroll-margin-top: 100px;
  }

  .sect-head {
    margin-bottom: 30px;
  }

  .sect-body {
    padding: 50px 20px;
  }

  .slider-arrows {
    display: none;
  }

  .card-portfolio__slider .slider-arrow {
    display: none;
  }

  .card-portfolio__body {
    padding: 20px;
  }

  .card-portfolio__tag {
    font-size: 16px mb15;
  }

  .card-portfolio__title {
    font-size: 20px;
  }

  .card-portfolio__content {
    margin-top: 20px;
    padding-top: 20px;
  }

  .card-portfolio__list {
    gap: 10px;
  }

  .card-portfolio__list li {
    padding: 12px 16px;
  }

  .header {
    padding: 6px 0px;
  }

  .header__wrap {
    padding: 10px 20px;
  }

  .header__nav {
    position: absolute;
    left: -9999px;
    z-index: -9999;
    opacity: 0;
  }

  .header__btn {
    display: none !important;
  }

  .s-hero__scroll-btn {
    bottom: 40px;
    font-size: 20px;
  }

  .s-hero__frame-content {
    font-size: 26px;
  }

  .s-production__item {
    aspect-ratio: inherit;
  }

  .s-production__item-head {
    gap: 15px;
    margin-bottom: 20px;
  }

  .s-production__item-head .item-num {
    font-size: 32px;
  }

  .s-production__item-head .item-title {
    padding-left: 15px;
    font-size: 18px;
  }

  .s-production__item-tag {
    font-size: 16px;
  }

  .s-production__item-icon {
    width: 140px;
  }

  .s-production__btn-more {
    margin-top: 30px;
  }

  .s-portfolio__nav-wrap {
    display: block;
  }

  .s-portfolio__tabs-nav {
    overflow-x: auto;
    margin: 0 -15px;
    padding: 0 15px;
    white-space: nowrap;
  }

  .s-portfolio__tabs-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .s-portfolio__tabs-arrows {
    display: none;
  }

  .s-order__block {
    padding: 50px 30px;
  }

  .s-about__wrapper {
    flex-wrap: wrap;
  }

  .s-about__info {
    flex: auto;
    width: 100%;
  }

  .s-about__gallery {
    flex: auto;
    width: 100%;
  }

  .s-get__form .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-gallery {
    overflow: hidden;
  }

  .s-gallery__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-gallery__slider-wrapper {
    width: 700px;
    max-width: 100%;
  }

  .s-gallery__slider-wrapper .slider-arrow {
    display: none;
  }

  .s-gallery__slider {
    overflow: visible !important;
  }

  .s-gallery__info {
    flex: auto;
    flex-direction: column-reverse;
    width: 100%;
    overflow: visible;
    gap: 20px;
  }

  .s-gallery__thumb-slider {
    padding-top: 0;
    overflow: visible !important;
  }

  .s-faq__spoller-btn {
    font-size: 18px;
  }

  .s-connect__block {
    padding: 50px 30px;
  }

  .s-contacts__wrap {
    flex-wrap: wrap;
  }

  .s-contacts__info {
    flex: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  .btn-play {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

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

  .input {
    padding: 14px 30px;
  }

  .file-wrapper .file-btn {
    padding: 14px 30px;
  }

  .file-wrapper .file-btn i {
    font-size: 20px;
  }

  .slider-scrollbar {
    margin-top: 20px;
  }

  .card-portfolio {
    border-radius: 12px 12px 0px 0px;
  }

  .content-box h5 {
    font-size: 16px;
  }

  .card-team__title {
    font-size: 16px;
    margin-top: 20px;
  }

  .header {
    padding: 4px 0px;
  }

  .header__wrap {
    padding: 8px 16px;
  }

  .header__logo-wrap {
    padding-right: 20px;
  }

  .header__logo {
    width: 30px;
  }

  .modal {
    padding: 40px 18px 18px 18px;
  }

  .modal__title {
    font-size: 28px;
  }

  .s-hero {
    min-height: 300vh;
  }

  .s-hero__gallery-inside {
    min-height: 300vh;
  }

  .s-hero__frame {
    padding-top: 100px;
  }

  .s-hero__frame-center-wrap {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .s-hero__frame-center-wrap .separator {
    display: none;
  }

  .s-hero__frame-wrap {
    flex-direction: column;
    align-items: start;
  }

  .s-hero__frame-content {
    max-width: none;
    font-size: 24px;
  }

  .s-hero__frame-content {
    font-size: 22px;
  }

  .s-production__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-portfolio__tabs-nav {
    margin: 0 -10px;
    padding: 0 10px;
    gap: 20px;
  }

  .s-portfolio__tabs-btn {
    font-size: 16px;
  }

  .s-order__block {
    padding: 30px 16px;
  }

  .s-order__form {
    gap: 15px;
  }

  .s-order__form .form-grid {
    gap: 15px;
  }

  .s-get__form {
    gap: 15px;
  }

  .s-get__form .form-grid {
    gap: 15px;
  }

  .s-adv__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .s-adv__item {
    gap: 20px;
    font-size: 15px;
  }

  .s-faq__spollers-wrap {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .s-faq__spollers-col:not(:last-child) .s-faq__spoller {
    border-bottom: none;
  }

  .s-connect__block {
    padding: 30px 16px;
  }

  .s-connect__head {
    margin-bottom: 25px;
  }

  .s-connect__form .form-grid {
    gap: 15px;
  }

  .footer {
    padding: 40px 0px;
  }

  .footer__main {
    gap: 20px;
  }

  .footer__bottom {
    padding-top: 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer__bottom-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 575px) {
  .sect-body {
    padding: 50px 18px;
  }

  .card-team__title {
    margin-top: 15px;
    font-size: 15px;
  }

  .card-team__post {
    font-size: 14px;
    margin-top: 15px;
  }

  .modal__close {
    font-size: 23px;
    top: 12px;
    right: 12px;
  }

  .s-hero {
    min-height: 200vh;
  }

  .s-hero__gallery-inside {
    min-height: 200vh;
  }

  .s-hero__frame-text {
    font-size: 22px;
  }

  .s-hero__scroll-btn {
    bottom: 20px;
    font-size: 18px;
  }

  .s-hero__frame-btn {
    width: 100%;
  }

  .s-order__form .form-grid {
    grid-template-columns: 1fr;
  }

  .s-order__form .btn-s {
    width: 100%;
  }

  .s-about__adv {
    grid-template-columns: 1fr;
  }

  .s-about__logo {
    width: 130px;
  }

  .s-get__form .form-control {
    grid-column: 2 span;
  }

  .s-get__form .btn-s[type="submit"] {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .s-production__grid {
    grid-template-columns: 1fr;
  }

  .s-production__grid [data-more-item]:nth-child(-n + 4) {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
}

@media (any-hover: hover) {
  .btn-s:hover {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .btn-play:hover {
    border-color: var(--border-h);
    background-color: var(--background-h);
    color: var(--color-h);
  }

  .social .social-item:hover {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .check-wrapper .wpcf7-list-item-label a:hover {
    text-decoration: none;
    color: var(--primary);
  }

  .file-wrapper .file-btn:hover {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .slider-arrow:hover {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .slider-pagination .swiper-pagination-bullet:hover {
    background-color: var(--background-a);
  }

  .content-box a:hover {
    text-decoration: none;
  }

  .header__list a:hover {
    color: var(--primary);
  }

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

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

  .header__burger-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
  }

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

  .burger__list a:hover {
    color: var(--primary);
  }

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

  .modal__close:hover {
    opacity: 0.7;
  }

  .s-production__item:hover {
    color: white;
  }

  .s-production__item:hover::before {
    opacity: 1;
  }

  .s-production__item:hover .s-production__item-bg {
    opacity: 1;
  }

  .s-production__item:hover .s-production__item-icon {
    opacity: 0;
  }

  .s-production__item:hover .s-production__item-tag {
    background-color: var(--primary);
    color: var(--dark);
  }

  .s-production__item:hover .s-production__item-rect {
    opacity: 1;
  }

  .s-production__item-rect:hover {
    background-color: black;
  }

  .s-portfolio__tabs-btn:hover {
    color: white;
  }

  .s-gallery__slide:hover img {
    transform: scale(1.08);
  }

  .s-gallery__thumb-slide:hover::before {
    opacity: 0.5;
  }

  .s-video__slide:hover img {
    transform: scale(1.08);
  }

  .s-contacts__item a.item-val:hover {
    color: var(--primary);
  }

  .footer__list a:hover {
    color: var(--primary);
  }

  .footer__contacts a:hover {
    color: var(--primary);
  }

  .footer__bottom a:hover {
    color: var(--primary);
  }
}

@media (hover: none) {
  .btn-s:active {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .btn-play:active {
    border-color: var(--border-h);
    background-color: var(--background-h);
    color: var(--color-h);
  }

  .social .social-item:active {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .check-wrapper .wpcf7-list-item-label a:active {
    text-decoration: none;
    color: var(--primary);
  }

  .file-wrapper .file-btn:active {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .slider-arrow:active {
    background-color: var(--background-h);
    border-color: var(--border-h);
    color: var(--color-h);
  }

  .slider-pagination .swiper-pagination-bullet:active {
    background-color: var(--background-a);
  }

  .content-box a:active {
    text-decoration: none;
  }

  .header__list a:active {
    color: var(--primary);
  }

  .header__tel:active {
    color: var(--primary);
  }

  .header__btn:active {
    background-color: var(--primary-h);
  }

  .header__burger-btn:active {
    color: var(--primary);
    border-color: var(--primary);
  }

  .burger__close:active {
    color: var(--primary);
  }

  .burger__list a:active {
    color: var(--primary);
  }

  .burger__tel:active {
    color: var(--primary);
  }

  .modal__close:active {
    opacity: 0.7;
  }

  .s-production__item:active {
    color: white;
  }

  .s-production__item:active::before {
    opacity: 1;
  }

  .s-production__item:active .s-production__item-bg {
    opacity: 1;
  }

  .s-production__item:active .s-production__item-icon {
    opacity: 0;
  }

  .s-production__item:active .s-production__item-tag {
    background-color: var(--primary);
    color: var(--dark);
  }

  .s-production__item:active .s-production__item-rect {
    opacity: 1;
  }

  .s-production__item-rect:active {
    background-color: black;
  }

  .s-portfolio__tabs-btn:active {
    color: white;
  }

  .s-gallery__slide:active img {
    transform: scale(1.08);
  }

  .s-gallery__thumb-slide:active::before {
    opacity: 0.5;
  }

  .s-video__slide:active img {
    transform: scale(1.08);
  }

  .s-contacts__item a.item-val:active {
    color: var(--primary);
  }

  .footer__list a:active {
    color: var(--primary);
  }

  .footer__contacts a:active {
    color: var(--primary);
  }

  .footer__bottom a:active {
    color: var(--primary);
  }
}

.wpcf7-response-output,
.wpcf7-spinner,
.wpcf7-not-valid-tip {
  display: none !important;
}

.s-notfound {
  display: flex;
  align-items: center;
  text-align: center;
  flex: 1;
}
.s-notfound__num {
  font-size: 140px;
}
.s-notfound__descr {
  margin: 20px 0;
}
.s-notfound__btn {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
}