@charset "UTF-8";
@font-face {
  font-family: Furore;
  font-display: swap;
  src: url("../fonts/Furore.woff2") format("woff2"), url("../fonts/Furore.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Inter;
  font-display: swap;
  src: url("../fonts/Inter-VariableFont.woff2") format("woff2"), url("../fonts/Inter-VariableFont.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
}
:root {
  --container-width: 1360px;
  --container-padding: 25px;
  --container-padding-ph: 10px;
  --font-head: "Furore";
  --font-main: "Inter", sans-serif;
  --none-color: transparent;
  --white: rgba(255, 255, 255, 1);
  --light-gray: rgba(166, 166, 166, 1);
  --gray: rgba(82, 84, 83, 1);
  --dark-gray: rgba(42, 40, 41, 1);
  --section: rgba(31, 31, 31, 1);
  --black: rgba(21, 21, 21, 1);
  --green: rgba(48, 57, 36, 1);
  --red: rgba(255, 98, 1, 1);
  --section-margin-pc: 150px;
  --section-margin-tablet: 75px;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

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: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  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;
}

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

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

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-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;
}

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

html {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
}

header, section, main, footer {
  width: 100%;
}

ul, ol, h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
a:focus-visible:not(:active), a:focus:not(:active) {
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  line-height: 0;
  font-size: 0;
}

svg {
  width: 100%;
  height: 100%;
  font-size: 0;
}

address {
  font-style: normal;
}

input,
textarea {
  outline: none;
  border: none;
}

button {
  display: block;
  padding: 0;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
button:focus-visible:not(:active), button:focus:not(:active) {
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

html {
  scroll-behavior: smooth;
}
html.pre-hidden {
  padding-right: 4px;
  overflow-y: hidden !important;
}
@media (max-width: 1360px) {
  html.pre-hidden {
    padding-right: 0;
  }
}
html.mod-open {
  padding-right: 4px;
  overflow-y: hidden !important;
}
@media (max-width: 1360px) {
  html.mod-open {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }
}

a {
  cursor: pointer;
  transition: none;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 100%;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--white);
  background-color: var(--black);
}
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
}
body::-webkit-scrollbar {
  width: 6px;
  background-color: var(--gray);
}
body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: var(--red);
}

.section {
  position: relative;
  margin-bottom: 70px;
}

.section-inv {
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}
@media (max-width: 767px) {
  .section-inv {
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

.container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--container-width);
  width: 100%;
}
@media (max-width: 1360px) {
  .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}
@media (max-width: 767px) {
  .container {
    padding-left: var(--container-padding-ph);
    padding-right: var(--container-padding-ph);
  }
}

.content-wrap-inner {
  max-width: 100%;
}
@media (max-width: 767px) {
  .content-wrap-inner {
    max-width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.none {
  display: none !important;
}

.logo {
  position: relative;
  display: flex;
  font-size: 0;
  flex-shrink: 0;
  transition: opacity 0.2s linear;
}
.logo_ph {
  display: none;
}
@media (max-width: 767px) {
  .logo_ph {
    display: flex;
  }
}
@media (hover: hover) {
  .logo:hover {
    opacity: 0.7;
  }
}
.logo__img {
  width: 100%;
  height: 100%;
  font-size: 0;
  transition: opacity 0.2s linear;
}

.h2, h2 {
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .h2, h2 {
    font-size: 32px;
  }
}

.h3, h3 {
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  font-family: var(--font-head);

}
@media (max-width: 767px) {
  .h3, h3 {
    font-size: 28px;
  }
}

.h4, h4 {
  font-weight: 500;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  font-family: var(--font-head);

}
@media (max-width: 767px) {
  .h4, h4 {
    font-size: 26px;
  }
}

section {
  margin-bottom: var(--section-margin-pc);
}
@media (max-width: 1199px) {
  section {
    margin-bottom: var(--section-margin-tablet);
  }
}

a.button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 54px;
  border: 1px solid var(--red);
  border-radius: 4px;
  transition: 0.3s ease-in-out all;
  color: var(--red);
}
a.button svg{
    width: 16px;
    height: 16px;
}
a.button svg path {
    transition: 0.3s ease-in-out all;
}
a.button:hover svg path{
    stroke: var(--white)
}
@media (max-width: 767px) {
  a.button {
    margin: 0 auto;
  }
}
@media (max-width: 399px) {
  a.button {
    max-width: 100%;
    width: 100% !important;
  }
}
a.button_regular {
  width: 351px;
}
a.button:hover {
  color: var(--white);
  background: var(--red);
}

.why-us {
  background-color: var(--section);
  padding: 100px 0;
}
.why-us .content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 1199px) {
  .why-us .content {
    flex-direction: column;
  }
}
.why-us__content {
  display: flex;
  flex-direction: column;
  gap: 35px;
  justify-content: space-between;
  max-width: 712px;
}
@media (max-width: 1199px) {
  .why-us__content {
    max-width: 100%;
  }
}
.why-us .h2 {
  max-width: 422px;
  font-family: var(--font-head);
}
@media (max-width: 1199px) {
  .why-us .h2 {
    max-width: 100%;
  }
}

.why-us-list .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 16px 20px;
}
@media (max-width: 767px) {
  .why-us-list .content {
    grid-template-columns: 1fr;
  }
}
.why-us-list .why-us__item {
  border-radius: 6px;
  background-color: var(--white);
  overflow: hidden;
  height: 160px;
  display: flex;
  gap: 24px;
  position: relative;
}
@media (max-width: 767px) {
  .why-us-list .why-us__item {
    gap: 16px;
    height: 140px;
  }
}
.why-us-list .why-us__item::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  content: "";
  height: 100%;
  width: 11px;
  background-color: var(--red);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
.why-us-list .why-us__number {
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: -0.04em;
  color: var(--red);
  margin-left: 25px;
  margin-top: 25px;
}
@media (max-width: 767px) {
  .why-us-list .why-us__number {
    margin-top: 12px;
  }
}
.why-us-list .why-us__item-content {
  padding: 32px 0;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .why-us-list .why-us__item-content {
    padding: 12px 0;
    padding-right: 20px;
  }
}
.why-us-list .why-us__title {
  color: rgb(0, 0, 0);
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  vertical-align: middle;
}
.why-us-list .why-us__content {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.04em;
  vertical-align: middle;
  color: rgb(118, 118, 118);
}

.gallery .button {
  margin: 40px auto 0 auto;
}
.gallery .slider-container {
  position: relative;
  height: 278px;
  margin-top: 64px;
}
@media (max-width: 767px) {
  .gallery .slider-container {
    margin-top: 32px;
  }
}
.gallery .slider-button {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out all;
  z-index: 10;
}
.gallery .slider-button:hover {
  opacity: 0.7;
}
.gallery .slider-button#prev {
  left: 0;
}
.gallery .slider-button#prev img {
  rotate: -90deg;
}
.gallery .slider-button#next {
  right: 0;
}
.gallery .slider-button#next img {
  rotate: 90deg;
}
.gallery .title-container {
  display: flex;
  gap: 57px;
  align-items: center;
}
.gallery .title-container h2 {
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .gallery .title-container h2 {
    white-space: normal;
    max-width: 100%;
    width: 100%;
  }
}
.gallery .title-container h2::after {
  content: "";
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 1px;
  background-color: var(--red);
  margin-left: 57px;
}
@media (max-width: 767px) {
  .gallery .title-container h2::after {
    display: none;
  }
}
.gallery .slider {
  display: flex;
  gap: 20px;
  max-width: calc(100% - 120px);
  margin: 0 auto;
}
.gallery .slider .slide {
  height: 278px;
  display: block;
  border-radius: 6px;
  transition: 0.3s ease-in-out all;
  overflow: hidden;
}
.gallery .slider .slide img {
  height: 100%;
  object-fit: cover;
}
.gallery .slider .slide:hover {
  opacity: 0.65;
}
@media (max-width: 991px) {
  .gallery .slider {
    max-width: 100%;
  }
}

.about-us h2 {
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .about-us h2 {
    white-space: normal;
    max-width: 100%;
    width: 100%;
  }
}
.about-us h2::after {
  content: "";
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 1px;
  background-color: var(--red);
  margin-left: 49px;
}
@media (max-width: 767px) {
  .about-us h2::after {
    display: none;
  }
}
.about-us__content {
  margin-top: 72px;
  display: flex;
  gap: 43px;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  vertical-align: middle;
}
@media (max-width: 991px) {
  .about-us__content {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .about-us__content {
    margin-top: 32px;
    font-size: 16px;
  }
}
.about-us__content-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.about-us p:first-of-type {
  margin-bottom: 29px;
}
.about-us__image {
  height: 331px;
  max-width: 578px;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1360px) {
  .about-us__image {
    max-width: 50%;
  }
}
@media (max-width: 991px) {
  .about-us__image {
    max-width: 100%;
    width: 100%;
  }
}

.services h2 {
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .services h2 {
    white-space: normal;
    max-width: 100%;
    width: 100%;
  }
}
.services h2::after {
  content: "";
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 1px;
  background-color: var(--red);
  margin-left: 49px;
}
@media (max-width: 767px) {
  .services h2::after {
    display: none;
  }
}
.services .services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 20px;
}
@media (max-width: 767px) {
  .services .services-container {
    grid-template-columns: 1fr;
  }
}
.services .service-item {
  border-radius: 6px;
  background-color: var(--white);
  overflow: hidden;
  height: 172px;
  display: flex;
  gap: 24px;
  position: relative;
  justify-content: space-between;
  align-items: flex-end;
  transition: 0.3s ease-in-out all;
}
.services .service-item:hover {
  background-color: rgb(31, 31, 31);
}
.services .service-item:hover .service-name {
  color: var(--white);
}
.services .service-item::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  content: "";
  height: 100%;
  width: 11px;
  background-color: rgb(81, 83, 82);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
.services .service-name {
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.04em;
  vertical-align: middle;
  color: rgb(42, 40, 41);
  margin-bottom: 24px;
  margin-left: 22px;
  transition: 0.3s ease-in-out all;
}
.services .service-image {
  height: 100%;
  width: 191px;
  position: absolute;
  bottom: 0;
  right: 0;
  object-fit: cover;
}
.services .services-container {
  margin-top: 71px;
}
@media (max-width: 767px) {
  .services .services-container {
    margin-top: 32px;
  }
}

.footer {
  margin-top: auto;
  margin-bottom: 25px;
}
.footer .content {
  background-color: var(--white);
  border-radius: 12px;
  padding: 56px 95px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 1360px) {
  .footer .content {
    padding: 40px 15px;
  }
}
.footer .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 278px;
  margin-left: 100px;
  
}
@media (max-width: 991px) {
  .footer .footer-contacts {
    margin-left: 0;
    
  }
}
@media (max-width: 490px){
      .footer .footer-contacts {
    align-items: center;
    max-width: 100%;
    
    
  }
}
.footer .logo img {
  width: 246px;
  height: 54px;
}
@media (max-width: 767px) {
  .footer .logo {
    margin: 0 auto;
  }
}
.footer .footer-soc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer .footer-soc a {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 17.48px;
  letter-spacing: 0;
  color: rgb(42, 40, 41);
  vertical-align: middle;
  transition: 0.3s ease-in-out all;
}
.footer .footer-soc a:hover {
  text-decoration: underline;
}
.footer .footer-menu {
  display: flex;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .footer .footer-menu {
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 32px;
  }
}@media (max-width: 490px) {
  .footer .footer-menu {
    flex-direction: column;
    align-items: center;
  }
  .footer-c
  .footer .footer-soc{
      align-items: center;
  }
  .footer .footer-address{
      text-align: center;
  }
}
.footer .footer-address {
  font-weight: 400;
  font-size: 16px;
  line-height: 17.48px;
  letter-spacing: 0;
  vertical-align: middle;
  color: rgb(126, 126, 126);
}
.footer .footer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 80px;
  max-width: fit-content;
  width: 100%;
}
@media (max-width: 991px) {
  .footer .footer-menu-list {
    margin-left: 0;
  }
}
.footer .footer-menu-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 17.48px;
  letter-spacing: 0;
  vertical-align: middle;
  color: rgb(42, 40, 41);
  transition: 0.3s ease-in-out all;
}
.footer .footer-menu-link:hover {
  text-decoration: underline;
}

.copyright {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 767px) {
  .copyright {
    gap: 8px;
  }
}
.copyright .link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: 0;
  vertical-align: middle;
  color: rgb(166, 166, 166);
  transition: 0.3s ease-in-out all;
}
.copyright .link:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .copyright .link {
    text-align: center;
  }
}

.hero .content {
  display: flex;
  gap: 54px;
  align-items: center;
}
@media (max-width: 991px) {
  .hero .content {
    flex-direction: column-reverse;
  }
}
.hero .hero-image {
  max-width: 732px;
  height: 613px;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1360px) {
  .hero .hero-image {
    max-width: 50%;
  }
}
@media (max-width: 1199px) {
  .hero .hero-image {
    height: 350px;
  }
}
@media (max-width: 991px) {
  .hero .hero-image {
    max-width: 100%;
    width: 100%;
  }
}
.hero .hero-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero .hero-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 400;
  font-size: 20px;
  line-height: 17.48px;
  letter-spacing: 0;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .hero .hero-item {
    font-size: 18px;
  }
}
.hero .list-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.hero .button_hero {
  max-width: 340px;
  width: 100%;
}
.hero .h1, .hero h1 {
  font-weight: 500;
  font-size: 64px;
  line-height: 117%;
  letter-spacing: -0.04em;
  vertical-align: middle;
  margin-bottom: 47px;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .hero .h1, .hero h1 {
    font-size: 40px;
  }
}

.single-service h2 {
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
}
@media (max-width: 767px) {
  .single-service h2 {
    white-space: normal;
    max-width: 100%;
    width: 100%;
  }
}
.single-service h2::after {
  content: "";
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 1px;
  background-color: var(--red);
  margin-left: 49px;
}
@media (max-width: 767px) {
  .single-service h2::after {
    display: none;
  }
}
.single-service .content {
  padding: 89px 140px;
  margin-left: -140px;
  margin-right: -140px;
  background-color: rgb(31, 31, 31);
  border-radius: 16px;
}
.single-service .single-content {
  display: flex;
  gap: 40px;
  margin-top: 70px;
}
@media (max-width: 991px) {
  .single-service .single-content {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .single-service .single-content {
    margin-top: 32px;
  }
}
.single-service .single-service__image {
  height: 331px;
  max-width: 578px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1360px) {
  .single-service .single-service__image {
    max-width: 50%;
  }
}
@media (max-width: 991px) {
  .single-service .single-service__image {
    max-width: 100%;
    width: 100%;
  }
}
.single-service p:first-of-type {
  margin-bottom: 29px;
}
.single-service .right-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}

.header {
  margin-top: 28px;
}
@media (max-width: 767px) {
  .header {
    margin-bottom: 60px;
  }
}
.header .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .header-content {
  display: flex;
  align-items: center;
  gap: 72px;
}
@media (max-width: 1199px) {
  .header .header-content {
    gap: 24px;
  }
}
.header .button_header {
  width: 223px;
}
@media (max-width: 767px) {
  .header .button_header {
    display: none;
  }
}
.header .header-contacts-container {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .header .header-contacts-container {
    gap: 16px;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .header .header-contacts-container {
    display: none;
  }
}
.header .header-contacts-container a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 17.48px;
  letter-spacing: 0;
  vertical-align: middle;
  color: var(--white);
  transition: 0.3s ease-in-out al;
}
.header .header-contacts-container a:hover {
  text-decoration: underline;
}
.menu {
    z-index: 2;
}
.menu .menu-list {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  margin: 25px 0 92px 0;
}
.menu .menu-item {
  font-weight: 500;
  font-size: 16px;
  line-height: 17.48px;
  display: flex;
  align-items: center;
  position: relative;
}
.menu .menu-item a {
  color: inherit;
  transition: color 0.3s ease-in-out;
}
.menu .menu-item.curent a {
  color: rgb(126, 126, 126);
}
.menu .menu-item:hover a {
  color: rgb(126, 126, 126);
}
.menu .menu-item.parent {
  padding-right: 25px;
  /* показать подменю + анимация стрелки */
  /* стрелка вращается при открытии */
}
.menu .menu-item.parent::after {
  content: "";
  width: 13px;
  height: 13px;
  background: url("../img/arrow-up.svg") no-repeat center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease-in-out;
}
.menu .menu-item.parent .submenu {
  background-color: var(--white);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.13);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  width: 272px;
  z-index: 30;
  left: 0;
  top: 100%;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  will-change: opacity, transform;
}
.menu .menu-item.parent:hover > .submenu, .menu .menu-item.parent:focus-within > .submenu,
.menu .menu-item.parent .submenu:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.menu .menu-item.parent:hover::after, .menu .menu-item.parent:focus-within::after,
.menu .menu-item.parent .submenu:hover::after {
  transform: translateY(-50%) rotate(-180deg);
}
.menu .menu-item.parent .submenu-item {
  padding: 6px 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 17.48px;
  color: rgb(42, 42, 42);
  border-radius: 4px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.menu .menu-item.parent .submenu-item a {
  display: block;
  width: 100%;
  height: 100%;
  transition: inherit;
}
.menu .menu-item.parent .submenu-item:hover {
  background-color: var(--red);
}

.menu .menu-item.parent .submenu-item:hover {
  background-color: var(--red);
}
.menu .menu-item.parent .submenu-item:hover a {
  color: var(--white);
}
.submenu-item.curent{
    background-color: var(--red) !important;

}
.submenu-item.curent a{
    color: var(--white) !Important;
}
.menu-item.parent.open > .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
}
.burger.burger_close span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.burger_close span:nth-child(2) {
  opacity: 0;
}
.burger.burger_close span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
}
.mobile-menu.open .mobile-menu__overlay {
  opacity: 1;
}
.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu__panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 90%;
  max-width: 320px;
  height: 100%;
  background-color: var(--section);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-menu .mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.mobile-menu .mobile-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 18px;
}
.mobile-menu .mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu .mobile-menu-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu .mobile-menu-item a, .mobile-menu .mobile-menu-item button {
  font-size: 18px;
  color: var(--white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu .mobile-menu-item .submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
}
.mobile-menu .mobile-menu-item.open .submenu {
  display: flex;
}

/* стрелочка у submenu-toggle */
.submenu-toggle {
  display: flex;
  gap: 16px;
  align-items: center;
}
.submenu-toggle::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mobile-menu-item.open > .submenu-toggle::after {
  transform: rotate(-135deg);
}

@media (max-width: 768px) {
  .header-content, .menu {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: 24px;
  }
}
.rte {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--white);
}
@media (max-width: 991px) {
  .rte {
    font-size: 16px;
  }
}
.rte h1, .rte h2, .rte h3, .rte h4, .rte h5, .rte h6 {
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.75em 0;
  line-height: 1.3;
  font-family: var(--font-head);
}
.rte h5 {
  font-size: 18px;
}
.rte h6 {
  font-size: 16px;
}
.rte p {
  margin: 0 0 1em 0;
}
.rte ul, .rte ol {
  margin: 0 0 1em 2em;
}
.rte ul li {
  list-style-type: disc;
  margin-bottom: 0.5em;
}
.rte ol li {
  list-style-type: decimal;
  margin-bottom: 0.5em;
}
.rte img {
  max-width: 100%;
  /* width: auto; */
  object-fit: cover;
  height: auto;
  display: block;
  margin: 1em 0;
}
@media (max-width: 399px) {
  .rte img {
    width: 100%;
  }
}
.rte table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  border-radius: 6px;
}
.rte table th, .rte table td {
  border: 1px solid var(--red);
  padding: 0.5em 1em;
  text-align: left;
}
.rte table th {
  background-color: var(--red);
  font-weight: 600;
}
.rte blockquote {
  border-left: 4px solid var(--red);
  padding-left: 1em;
  margin: 1em 0;
  color: #555;
  font-style: italic;
  background-color: var(--white);
}
.rte .button, .rte a.button {
  display: inline-block;
  padding: 0.6em 1.2em;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  margin: 0.5em 0;
}
.rte .button:hover, .rte a.button:hover {
  background-color: var(--red);
}
.rte hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}
.rte .align-left {
  text-align: left;
}
.rte .align-center {
  text-align: center;
}
.rte .align-right {
  text-align: right;
}
.rte strong {
  font-weight: 700;
}
.rte em {
  font-style: italic;
}
.rte iframe, .rte video {
  max-width: 100%;
  display: block;
  margin: 1em 0;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-color: var(--black);
  transition: opacity 0.3s linear;
}
.preloader__wrapper {
  width: 40px;
  height: 40px;
  opacity: 0.75;
  animation: clockwise 500ms linear infinite;
}
.preloader.hidden {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
  z-index: -1;
}
.preloader__item-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 40px;
  overflow: hidden;
}
.preloader__item {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 4px solid var(--white);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
}

@keyframes clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes donut-rotate {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-140deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.scroll-top {
  position: fixed;
  z-index: 30;
  right: 15px;
  bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--red);
  opacity: 0;
  visibility: hidden;
  transition: background-color 0.2s linear, opacity 0.2s linear, visibility 0.2s linear, transform 0.3s linear;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .scroll-top {
    right: 10px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}
@media (hover: hover) {
  .scroll-top:hover {
    opacity: 0.7;
  }
}
.scroll-top:focus-visible:not(:active), .scroll-top:focus:not(:active) {
  background-color: var(--red);
}
.scroll-top:active {
  transform: scale(0.94);
}
.scroll-top__icon {
  width: 20px;
  height: 20px;
  fill: var(--black);
  rotate: deg;
}

.overlay {
  position: fixed;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 20px;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .overlay {
    top: 75%;
  }
}
.overlay a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255, 98, 1);
  border-radius: 4px;
  transition: 0.3s ease-in-out all;
}
@media (max-width: 767px) {
  .overlay a {
    width: 40px;
    height: 40px;
  }
}
.overlay a:hover {
  background-color: var(--red);
}
.overlay a:hover svg path{
    fill: var(--white);
}
.overlay a svg path{
      transition: 0.3s ease-in-out all;

}
.overlay a img, .overlay a svg {
  height: 32px;
  width: 32px;
}
@media (max-width: 767px) {
  .overlay a img, .overlay a svg {
    width: 20px;
    height: 20px;
  }
}

.contacts-wrapper{
    display: flex;
    gap: 32px;
    align-items: center;
    
}

.contacts-wrapper .phone, .email{
    display: flex;
    gap: 4px;
    align-items: center;
}
.contacts-wrapper a{
    transition: 0.3s ease-in-out all;
}
.contacts-wrapper a:hover{
    text-decoration: underline;
}

.contacts-map{
    width: 50%;
}
.contacts-item{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.soc-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.soc-item{
    display: flex;
    align-items: center;
    gap: 6px;
}
.contacts-info{
    display: flex;
    flex-direction: column;
    gap: 18px;
}


@media (max-width: 1100px){
    .contacts-wrapper{
        flex-direction: column;
        align-items: flex-start;
    }
    .contacts-map{
        width: 100%;
    }
}
.portfolio{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(401px, 1fr));
      gap: 20px;
      max-width: 1360px;
      width: 100%;
      margin-top: 40px;
}
@media (max-width: 500px){
    .portfolio{
        grid-template-columns: 1fr;

    }
}
.portfolio .slide{
    height: 278px;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
    overflow: hidden;
    transition: 0.3s ease-in-out all;
    
}
.portfolio .slide:hover{
    opacity: 0.7;
}
.portfolio .slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
