/*============= ALIGNES ===============*/
/* 
.alignwide {
  width: 100%;
} */
.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 1920px;
}
@media only screen and (min-width: 1920px) {
  .alignfull {
    width: 100vw !important;
    max-width: unset;
  }
}
/* =========== BASE CONFIG =========== */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-weight: 400;
  box-sizing: inherit;
  color: var(--background);
}
body {
  background: var(--background) url('../images/bg-attach.png')  no-repeat center / 100% auto;
  background-attachment:fixed;
  overflow-x: hidden;
  margin: 0 auto;
  width: auto;
  max-width: 1920px;
}
.seo-text:has(.text-holder)::-webkit-scrollbar  {
  width: 3px;
	background: var(--main_text_primary);
  border: 1px solid var(--head_primary);
}
.seo-text:has(.text-holder)::-webkit-scrollbar-thumb {
  background-color: var(--primary);
	border-radius: 100px;
}
a {
  text-decoration: none;
  color: var(--background);
  transition: all 0.3s ease-in;
}
a:hover {
  color: var(--primary);
}
ul li {
  list-style-position: inside;
  font-size: 18px;
  line-height: 130%;
  list-style-type: none;
}
ol li {
  list-style-position: inside;
  font-size: 18px;
  line-height: 130%;
}
p {
  font-size: 20px;
  line-height: 130%;
  font-weight: 400;
}

.p2 {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
}

.p3 {
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
}

h1.page-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 100px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--primary);
}

h5.description {
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: var(--h1);
  line-height: 100%;
} 

h2 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--h2);
  line-height: 100%;
}

h3 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--h3);
  line-height: 100%;
}

h4 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--h4);
  line-height: 120%;
}

h5 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--h5);
  line-height: 120%;
  color: var(--second);
}

h6 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--h6);
  line-height: 120%;
}

main.foned {
  position: relative;
  overflow: hidden;
  z-index: 999;
}
main.foned:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.breadcrumbs {
  padding: 20px 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--second);
}
.breadcrumbs span {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: var(--second);
  transition: 0.3s;
}
.breadcrumbs span:hover {
  color: var(--primary);
}
.breadcrumbs .current-item {
  color: var(--primary);
}
.breadcrumbs .current-item span {
  color: var(--primary);
}
.container {
  max-width: 1530px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}
.container-header {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  white-space: nowrap;
  height: fit-content;
  background-color: var(--primary);
  border-radius: 5px;
  outline: none;
  padding: 20px 40px;
  color: var(--head_primary);
  cursor: pointer;
  transition: all 0.3s ease-in;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
}
.btn:hover {
  background-color: var(--primary_hover);
  color: var(--head_primary);
  background-image: linear-gradient(270deg, var(--primary) 0%, var(--primary_hover-2) 25%, var(--primary_hover) 66.7%, var(--primary_hover) 100% );
  transition: all 0.3s ease-in-out;
}

.block-title {
  color: var(--stroke);
  margin-bottom: 40px;
}
#main {
  min-height: 83vh;
}

#main > .container{
  padding: 0 15px;
}

.fixed-socials {
    position: fixed;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    padding: 15px;
}

.fixed-socials img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fixed-socials a:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .fixed-socials {
        display: none; /* Скрываем на мобильных */
    }
}


:root {
  --font-family: Onest;

  --primary: #F7F707;
  --second: #FFFFFF;
  --third: #0E0E10;
  --primary_hover: #AAFF00;
  --primary_hover-2: #FFF600;
  --secondary-hover: #4F5166;
  --head_primary: #0E0E10;
  --main_text_primary: #252525;
  --main_text_secondary: #595959;
  --head-secondary: #FFFFFF;
  --secondary-text: #F6F6F6;
  --background: #24242E;
  --background_secondary: #2F313E;
  --background_thirdly: #62647D;
  --stroke: #FFFFFF;
  --stroke-secondary: #D8D8D8;

  --h1: 100px;
  --h2: 48px;
  --h3: 40px;
  --h4: 32px;
  --h5: 24px;
  --h6: 18px;
}

.btn-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
}


/*============ HEADER =================*/
#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  background: transparent;
  z-index: 999;
}
#header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); 
  z-index: 1;
}
#header .header-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 10px 30px 10px 30px;
  align-items: center;
  position: relative;
  z-index: 10;
}

#header .header-wrapper ul {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

#header .header-menu .nav-menu-element.has-childs {
  position: relative;
  margin-right: 10px;
}
#header .nav-menu-element.has-childs>a::before {
  content: "";
  width: 7px;
  height: 1px;
  position: absolute;
  left: unset;
  right: -13px;
  top: 12px;
  transform: rotate(218deg);
  transition: all 0.5s ease;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background: var(--main_text_primary);
}
#header .nav-menu-element.has-childs>a:after {
  content: "";
  width: 7px;
  height: 1px;
  position: absolute;
  left: unset;
  right: -17px;
  top: 12px;
  transform: rotate(138deg);
  transition: all 0.5s ease;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background: var(--main_text_primary);
}
#header .nav-menu-element.has-childs:hover>a::before {
  transform: rotate(137deg);
  background: var(--primary);
}
#header .nav-menu-element.has-childs:hover>a::after {
  transform: rotate(223deg);
  background: var(--primary);
}
#header .header-menu .sub-menu {
  position: absolute;
  top: 100%;
  width: max-content;
  height: max-content;
  min-width: 371px;
  padding: 10px 25px;
  left: 50%;
  right: 0;
  opacity: 0;
  transform: translate(-15%, 16px);
  transition: all 0.2s ease;
  transition-delay: 0.15s;
  visibility: hidden;
  z-index: -100;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 10px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
  background: var(--background_secondary);
}
#header .header-menu>.nav-menu-element.has-childs:hover .sub-menu {
  opacity: 1;
  left: 0%;
  transform: translate(-6%, 45px);
  visibility: visible;
  z-index: 100;
}
#header .header-menu .sub-menu .nav-menu-element a {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--background);
  position: relative;
  padding: 10px 0px 10px 17px;
  padding-left: 17px;
}
#header .header-menu .sub-menu .nav-menu-element a:first-child {
  padding-top: unset;
}
#header .header-menu .sub-menu .nav-menu-element a:last-child {
  padding-bottom: unset;
}
#header .header-menu .sub-menu .nav-menu-element a:hover {
  color: var(--primary);
}
#header .header-menu .sub-menu .nav-menu-element a:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 0;
  transition: 0.3s;
  background: var(--background);
}
#header .header-menu .sub-menu .nav-menu-element a:hover:before {
  background: var(--primary);
}

#header .logo_holder {
  display: flex;
  position: relative;
}

#header .logo_holder img {
  max-width: 200px;
  max-height: 100px;
  width: 100%;
  height: 100%;
}

#header .phones__holder {
  display: flex;
  gap: 15px;
  position: relative;
  flex-direction: column;
}

#header .phones__holder a {
  color: var(--second);
  white-space: nowrap;
}

#header .menu-boxes {
  display: flex;
  position: relative;
  gap: 10px; 
  padding: 10px; 
}

#header .menu-boxes a {
  color: var(--second);
  padding: 10px 15px;
  border-radius: 5px;
  position: relative;
  z-index: 1; 
  text-decoration: none; 
}

#header .menu-boxes a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--second);
  opacity: 0.3;
  z-index: 0;
  border-radius: 5px;
}

.menu-item-content {
  color: var(--stroke);
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}

.menu-item-icon-wrapper {
  display: inline-block;
  flex-direction: row;
  gap: 10px;
}

.menu-link-redesigned {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 10px;

}

.menu-item-icon-left,
.menu-item-icon-right {
  display: flex;
  align-content: center;
  justify-content: center;
  z-index: 1;
}

.menu-item-text {
  color: var(--stroke);
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}


.nav-menu-element {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.menu-item-icon-right {
  position: relative;
  display: inline-flex; 
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 24px;
}

.menu-item-icon-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: #000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-item-icon-right svg {
  position: relative;
  z-index: 1;
  transition: filter 0.3s ease;
}

.menu-item-icon-right svg path {
  display: block;
  transform-origin: center; 
  transform-box: fill-box; 
  transition: transform 0.3s ease;
}

.nav-menu-element:hover .menu-item-icon-right::after {
  opacity: 1;
}

.nav-menu-element:hover .menu-item-icon-right svg {
  filter: invert(1) hue-rotate(180deg);
}

.nav-menu-element:hover .menu-item-icon-right svg path {
  transform: rotate(45deg); 
}


/*================ MOBILE MNU Start =============*/
#header .burger.open_menu {
  display: none;
  flex-direction: column;
  background-color: transparent;
  height: 30px;
  width: 30px;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
#header .burger.open_menu span {
  background-color: var(--primary);
  pointer-events: none;
  width: 24px;
  height: 2px;
  transition: all 0.3s ease-in;
}
#header .burger.open_menu.clicked {
  background-color: var(--primary);
}
#header .burger.open_menu.clicked span {
  background-color: var(--background);
}
#header #mobile-mnu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 320px;
  background-color: var(--background_secondary);
  padding: 30px;
  transition: all 0.3s ease-in;
  transform: translateX(-350px);
  z-index: 9999;
}
#header #mobile-mnu #close-mnu {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  display: block;
  width: 30px;
  height: 30px;
}
#header #mobile-mnu #close-mnu svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
#header #mobile-mnu a {
  font-size: 16px;
  line-height: 130%;
  font-weight: 450;
}
#header #mobile-mnu a:hover {
  color: var(--primary_hover);
}
#header #mobile-mnu .logo-holder {
  display: flex;
  margin-bottom: 20px;
}
#header #mobile-mnu .logo-holder .text-wrap {
  gap: 10px;
}
#header #mobile-mnu .logo-holder .title {
  font-size: 14px;
}
#header #mobile-mnu .logo-holder .subtitle {
  font-size: 12px;
}
/* #header #mobile-mnu .logo-holder img {
  width: 50px;
} */
#header #mobile-mnu .menuTop {
  list-style-type: none;
  display: flex;
  flex-direction: column;
}
#header #mobile-mnu .menuTop li {
  margin-bottom: 10px;
}
#header #mobile-mnu .menuTop li a {
  font-size: 16px;
  line-height: 130%;
  font-weight: 450;
  color: var(--background);
  position: relative;
}
#header #mobile-mnu .menuTop li a:hover {
  color: var(--primary);
}
#header #mobile-mnu .menuTop li.active a {
  color: var(--primary);
}
#header #mobile-mnu .adresses__holder {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  width: 100%;
}
#header #mobile-mnu .adresses__holder:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-image: url("../images/map.svg");
  background-position: center center;
  background-repeat: no-repeat;
}
#header #mobile-mnu .adresses__holder p {
  font-size: 16px;
  line-height: 130%;
  font-weight: 450;
}
#header #mobile-mnu .email__holder {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}
#header #mobile-mnu .email__holder .email__item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
}
#header #mobile-mnu .email__holder .email__item:hover {
  color: var(--primary_hover);
}
#header #mobile-mnu .email__holder .email__item svg {
  margin-right: 10px;
}
#header #mobile-mnu .phones__holder {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}
#header #mobile-mnu .phones__holder .phone__item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  line-height: 130%;
  font-weight: 450;
}
#header #mobile-mnu .phones__holder .phone__item:hover {
  color: var(--primary_hover);
}
#header #mobile-mnu .phones__holder .phone__item svg {
  margin-right: 10px;
}
#header #mobile-mnu.opened {
  transform: translateX(0);
}
#header #mobile-mnu .site-name-holder {
  order: unset;
  width: max-content;
  max-width: unset;
}
#header #mobile-mnu .site-name,
#header #mobile-mnu a,
#header #mobile-mnu .site-subtitle {
  color: var(--primary_hover);
}
#header #mobile-mnu .soc-holder {
  margin-top: 10px;
}
#header #mobile-mnu .soc {
  width: 35px;
  height: 35px;
}
#header #mobile-mnu .sub-menu {
  display: none;
}
#header #mobile-mnu .sub-menu .nav-menu-element a {
  padding-left: 10px;
  position: relative;
}
#header #mobile-mnu .sub-menu .nav-menu-element a:before {
  content: "";
  width: 5px;
  height: 1px;
  top: 10px;
  left: 0;
  position: absolute;
  background: var(--background);
}
#header #mobile-mnu .phones-holder {
  margin: 10px 0px;
}
/*================ MOBILE MNU End =============*/



.category-title {
  color: var(--stroke);
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
}



/*============ FOOTER Start ===============*/

#footer {
  background-color: var(--background_secondary);
  color: var(--second);
  margin-top: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 0;
}

#footer.has-background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; 
  background-image: var(--footer-bg-image);
  background-position: var(--footer-bg-position, center 85%);
  background-size: var(--footer-bg-size, cover);
  background-repeat: no-repeat;
  background-attachment: var(--footer-bg-attachment, scroll);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}


#footer.has-background-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; 
  background-color: rgba(0, 0, 0, var(--footer-overlay-opacity, 0.2));
  z-index: -1;
  pointer-events: none;
}

.footer-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

#footer::before {
  content: "";
  background-image: url('https://9930.grampus-server.ru/wp-content/uploads/2025/07/logo-traced.svg');
  left: 0;
  right: 0;
  top: 0;
  bottom: -80px;
  position: absolute;
  z-index: -99;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 65%;
}

#footer.has-background-image .footer-bot-wrapper {
  background-color: transparent;
}

.footer-top-wrapper {
  padding: 30px 0 40px;
  /* border-bottom: 1px solid var(--background_thirdly); */
}

#footer.has-background-image .footer-top-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
}

.footer-logo .logo-image {
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-family: var(--font-family);
  color: var(--second);
  margin-bottom: 10px;
}

.foot-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-menu li a {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: var(--stroke);
  text-decoration: none;
  transition: color 0.3s ease;
}

.foot-menu li a:hover {
  color: var(--primary);
}

.info-holder {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-value {
  font-size: 16px;
  line-height: 150%;
  color: var(--stroke);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-value:hover {
  color: var(--primary);
}

.time {
  font-size: 14px;
  line-height: 150%;
  color: var(--main_text_secondary);
  margin-top: 10px;
}

.soc-holder {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--second);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.soc svg {
  width: 30px;
  height: 30px;
}

/* Улучшенные иконки соцсетей для фонового изображения */
#footer.has-background-image .soc {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.soc:hover {
background-color: var(--primary_hover);
  color: var(--head_primary);
  background-image: linear-gradient(270deg, var(--primary) 0%, var(--primary_hover-2) 25%, var(--primary_hover) 66.7%, var(--primary_hover) 100% );
  transition: all 0.3s ease-in-out;
}

.soc:hover svg path{
  fill: var(--third);
  transition: all 0.3s ease-in-out;;
}

.soc-icon {
  font-size: 20px;
}

.reqs-holder {
  display: flex;
  flex-direction: column;
}

.reqs-holder p {
  color: var(--stroke);
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  line-height: 0.8;
}


.footer-bot-wrapper {
  border-top: 1px solid var(--background_thirdly);
  padding: 20px 0;
}


.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.privacy-holder {
  font-size: 14px;
  line-height: 150%;
  color: var(--stroke);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-holder:hover {
  color: var(--primary);
}

.dev {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 150%;
  color: var(--stroke);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dev:hover {
  color: var(--primary);
}

.dev-logo svg {
  height: 16px;
  width: auto;
}

.rights {
  font-size: 14px;
  line-height: 150%;
  color: var(--main_text_secondary);
}

.company-holder {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: var(--secondary-text);
}

/* Адаптивный дизайн */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .reqs-holder {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-bot {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-top-wrapper {
    padding: 40px 0 30px;
  }

  .footer-bot-wrapper {
    padding: 20px 0;
  }

  /* Отключаем fixed attachment на мобильных */
  #footer.has-background-image::before {
    background-attachment: scroll !important;
  }
}

@media (max-width: 480px) {
  .footer-top-wrapper {
    padding: 30px 0 20px;
  }

  .footer-top {
    gap: 30px;
  }

  .soc-holder {
    justify-content: center;
  }
}

/* Оптимизация производительности */
#footer.has-background-image {
  will-change: transform;
  transform: translateZ(0);
}

/* Плавные переходы */
#footer.has-background-image::before {
  transition: background-position 0.3s ease;
}

#footer.has-background-image::after {
  transition: background-color 0.3s ease;
}

/* Убираем любые отступы после футера */


#footer {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Убираем пространство после футера */
#footer::after {
  margin-bottom: 0;
}


/*============ FOOTER End ===============*/






/* ============== MODAL Start ============= */
.theme-modal {
	display: none;
  position: relative;
}
.theme-modal .title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--head-secondary);
  margin-bottom: 15px;
}
#modal-success.theme-modal.fancybox__content .title {
  font-size: 31px;
}
.theme-modal .subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--secondary-text);
  margin-bottom: 30px;
}
.theme-modal .btn {
  width: 100%;
}
.fancybox__content>.f-button.is-close-btn {
  top: 20px !important;
  right: 20px !important;
  --f-button-width: 18px !important;
  --f-button-height: 18px !important;
  --f-button-border-radius: unset !important;
  --f-button-color: unset !important;
  --f-button-hover-color: unset !important;
  --f-button-bg: transparent !important;
  --f-button-hover-bg: transparent !important;
  --f-button-active-bg: transparent !important;
  --f-button-svg-width: 100% !important;
  --f-button-svg-height: 100% !important;
}
.f-button svg path{
  fill: var(--primary) !important;
  stroke: var(--primary) !important;
}
.fancybox__content>.f-button.is-close-btn:hover path {
  fill: var(--primary) !important;
  transition: 0.3s !important;
}
.fancybox__content>.f-button.is-close-btn:hover path {
  stroke: transparent !important;
}
.theme-modal.fancybox__content {
  width: 600px;
  display: flex;
  flex-direction: column;
  padding: 60px 50px;
  background: var(--background_secondary);
  border-radius: 20px;
  overflow: auto;
}
#modal-success.theme-modal.fancybox__content {
  width: 620px;
}
.theme-modal.fancybox__content .f-button.is-close-btn svg path {
  transition: stroke .3s ease-in;
}
.theme-modal.fancybox__content .f-button.is-close-btn:hover svg path {
  fill: var(--primary);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
button {
  border: unset;
}
button, input {
  outline: none;
}
.form input {
  border: unset;
  border-radius: 10px;
  padding: 14px 20px;
  background: var(--secondary-text);
  transition: 0.3s;
  outline: none;
  cursor: pointer;
  width: 100%;
  border: 1px solid var(--stroke-secondary);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--main_text_primary);
}
.form textarea {
  height: 122px;
  border: unset;
  background: var(--head_primary);
  border: 1px solid var(--main_text_primary);
  border-radius: 10px;
  padding: 14px 20px;
  cursor: pointer;
  transition: 0.3s;
  resize: none;
}
.form input:hover,
.form textarea:hover {
  background: var(--stroke-secondary);
  border-color: var(--background);
  color: var(--head_primary);
}
.form input,
.form textarea {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--main_text_primary);
  cursor: pointer;
}
.form input.error,
.form textarea.error {
  border-color: red !important;
}
.form input::placeholder,
.form textarea::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--main_text_primary);
}
.form input:hover::placeholder,
.form input:hover::placeholder {
  color: var(--head_primary);
}
.form .btn {
  width: 100%;
  margin-top: 20px;
}
.form .privacy-policy {
  width: 100%;
  display: flex;
  flex-direction: row;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: var(--secondary-text);
  text-align: center;
  margin-top: 10px;
}
.form .privacy-policy a {
  text-decoration: underline;
  color: var(--secondary-text);
}
.form .privacy-policy a:hover {
  color: var(--primary);
} 
.theme-modal #file {
  display: none;
}
.theme-modal .file span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--background);
  cursor: pointer;
  transition: 0.3s;
}
.theme-modal .file span:hover {
  color: var(--primary);
}
.fancybox__container {
  --fancybox-bg: #ffffffb9 !important;
}

.form-v2__privacy,
.form-v2__privacy-link {
  color: var(--secondary-text);
}

.form-v2__privacy-link {
  text-decoration: underline;
}

/* .form-one-block__form .form-v2__input {
  background: var(--secondary-text);
  border-radius: 5px;
  width: 100%;
  padding: 20px 15px;
  border: none;
  color: inherit;
  max-width: 444px;
  border-radius: 5px;
} */

.form-v2__input.label {
  width: 100%;
  max-width: 444px;
}

.form-one-block__form .form-v2__input input {
  display: block;
  background: var(--secondary-text);
  border-radius: 5px;
  width: 100%;
  padding: 20px 15px;
  border: none;
  color: inherit;
  max-width: 444px;
  padding-left: 30px;
}
/* ============== MODAL End ============= */


@media (max-width: 768px) {

  h2 {
    font-size: 32px;
  }
}


@media (max-width: 1500px) {
  #header .header-wrapper .menu-item-icon-right,
  #header .header-wrapper .menu-item-icon-left {
    display: none;
  }
}

  #header .header-wrapper {
    gap: 20px;
  }

@media (max-width: 1240px) {
    #header .header-wrapper ul {
      display: none;
    }


    #header .phones__holder {
      margin-left: auto;
    }

        #header .burger.open_menu {
    display: flex !important;
  }
}


@media (max-width: 1024px) {
  #header .header-menu {
    display: none !important;
  }
}

@media (max-width: 840px) {
  #header .button_holder {
    display: none !important;
  }

  #header .header-wrapper {
    padding: 0;
    padding-top: 10px;
  }
}

@media (max-width: 768px) {

  #header .header-menu {
    display: none !important;
  }

}

@media (max-width: 540px) {

  #header .phones__holder svg {
    display: none;
    visibility: hidden;
  }

  #header .menu-boxes {
    display: none;
  }

    #header .header-wrapper {
      gap: 10px;
  }

  #header {
    height: fit-content;
    padding-bottom: 10px;
  }
}

@media (max-width: 380px) {
  #header .phones__holder a {
    font-size: 14px;
  }
}

/* =============== FOOTER =============== */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  
  .footer-logo {
    align-items: center !important;
  }
  
  .menu-item {
    align-items: center !important;
  }
  
  .soc-holder {
    justify-content: center !important;
  }
}


.about-gallery-img {
  cursor: pointer;
}

.site-main {
  margin-top: 100px;
}

.content p {
  color: var(--second);
  gap: 20px;
}

td {
  color: var(--second);
}

.error-wrapper {
  display: flex;
  flex-direction: column;
align-items: center;
gap: 30px;
margin-top: 150px;
}


.error-title {
font-family: var(--font-family);
font-weight: 800;
font-size: 100px;
line-height: 100%;
text-transform: uppercase;
text-align: center;
color: var(--second);
}

.error-subtitle {
  font-family: var(--font-family);
font-weight: 400;
font-size: 20px;
line-height: 130%;
text-align: center;
color: var(--second);
max-width: 600px;
}


.all-services-wrapper {
    display: block;
}

.services-lists {
    display: block !important;
    margin-bottom: 40px;
    opacity: 1 !important;
    visibility: visible !important;
}

.services-category-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.services-category-title:first-child {
    border-top: none;
    padding-top: 0;
}

.services-grid {
    display: grid;
    gap: 20px;
}

.phones__wrapper,
.email__wrapper {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.site-main h1.page-title {
  font-size: 45px;
}

@media (max-width: 640px) {
.site-main h1.page-title {
  font-size: 36px;
}

.site-main .content {
  font-size: 18px;
}
}

@media (max-width: 480px) {
.site-main h1.page-title {
  font-size: 28px;
}
}

@media (max-width: 380px) {
.site-main h1.page-title {
  font-size: 24px;
}
}

@media (max-width: 768px) {
  .error-title {
    font-size: 64px;
  }
}

@media (max-width: 500px) {
  .error-title {
    font-size: 48px;
  }

  .error-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .error-title {
    font-size: 32px;
  }

  .error-subtitle {
    font-size: 14px;
  }
}