* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --fontsize85: 85px;
  --fontsize52: 52px;
  --lineheight54: 54px;
  --fontsize32: 32px;
  --fontsize20: 20px;
  --fontsize12: 12px;
  --lineheight16: 16px;
}

@font-face {
  font-family: "ProximaNova-Regular";
  src: url("/wp-content/themes/designhead/fonts/ProximaNova-Regular.eot");
  src: url("/wp-content/themes/designhead/fonts/ProximaNova-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/designhead/fonts/ProximaNova-Regular.woff")
      format("woff"),
    url("/wp-content/themes/designhead/fonts/ProximaNova-Regular.ttf")
      format("truetype");
}

@font-face {
  font-family: "ProximaNova-Bold";
  src: url("/wp-content/themes/designhead/fonts/ProximaNova-Bold.eot");
  src: url("/wp-content/themes/designhead/fonts/ProximaNova-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/designhead/fonts/ProximaNova-Bold.woff")
      format("woff"),
    url("/wp-content/themes/designhead/fonts/ProximaNova-Bold.ttf")
      format("truetype");
}

@font-face {
  font-family: "Literal-Light";
  src: url("/wp-content/themes/designhead/fonts/Literal-Light.eot");
  src: url("/wp-content/themes/designhead/fonts/Literal-Light.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/designhead/fonts/Literal-Light.woff") format("woff"),
    url("/wp-content/themes/designhead/fonts/Literal-Light.ttf")
      format("truetype");
}

.post,
.page {
  margin: 0;
}

body {
  font-weight: 400;
  margin: 0;
  font-family: "ProximaNova-Regular";
  font-size: 18px;
  line-height: 130%;
  background-color: #0a0a0a;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

.section {
  width: 100%;
  padding: 20px;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.header {
  display: flex;
  gap: 100px;
  align-items: center;
}

.head_menu_logo a {
  font-family: "ProximaNova-Bold";
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
}

.head_menu_logo a:hover {
  background: linear-gradient(to right, #ebab24, #cf0070, #449fde, #6fa725);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.head_menu_links,
.head_menu_links_404 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.service_item_info {
  flex: 1 0%;
  display: flex;
  flex-flow: column nowrap;
  place-content: space-between flex-start;
  align-items: flex-start;
}

.head_menu_links li {
  list-style-type: none;
}

.head_menu_links a,
.head_menu_links_404 a {
  color: #fff;
  text-decoration: none;
  font-size: 28px;
}

.head_menu_links a:hover {
  color: #ff5b1a;
}

.phone {
  color: #fff;
  text-decoration: none;
  font-size: 28px;
}

.soc {
  display: flex;
  gap: 10px;
}

.soc img {
  transition: all 0.3s;
  width: 50px;
}

a:visited {
  color: #fff;
}

.soc img:hover {
  scale: 1.2;
}

.title {
  font-family: "Literal-Light";
  font-size: 80px;
  line-height: 82px;
  margin: 40px 0px;
  text-transform: uppercase;
  font-weight: 100;
}

.title span {
  color: #ff5b1a;
}

.header_contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.descr {
  margin-top: 40px;
}
.contact_descr {
  color: #ff5b1a;
}

.contact a {
  display: block;
}

.addr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #ff5b1a;
}

.footer_contacts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.phone_time {
  color: #767676;
  display: flex;
  gap: 10px;
  font-size: 14px;
  align-items: center;
  margin-top: 15px;
}

.footer .soc {
  margin-top: 30px;
}

.map_photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 500px;
  width: 100%;
}

.map {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 500px;
  width: 100%;
}

.map ymaps {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.map_photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 500px;
  width: 100%;
}

.map_photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu_min {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu_min a {
  color: #ff5b1a;
  font-size: 28px;
}

.menu_min a:hover {
  color: #fff;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu_container .contact a {
  color: #fff;
}

.contact {
  font-size: 28px;
  line-height: 30px;
  margin-top: 10px;
}

.menu_container .contact a:hover {
  color: #ff5b1a;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.make {
  display: flex;
  margin-top: auto;
  margin-bottom: 0;
  color: #767676;
}

.site_info {
  color: #767676;
}

.make:hover {
  color: #ff5b1a;
}

.service_block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.texture_block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.service_item {
  background-color: #151515;
  border-radius: 10px;
  padding: 50px;
  display: flex;
  flex-direction: column;
}

.service_item_thumb {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  height: 280px;
  width: 100%;
  margin-top: 30px;
}

.service_item_thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: all 0.3s ease-out;
}

.service_item_thumb img:hover {
  scale: 1.1;
}

p {
  margin-bottom: 0em;
  margin-top: 10px;
}

.service_item_title {
  font-size: 28px;
  line-height: 32px;
}
.service_item_excerpt {
  color: #767676;
}

.service_item_cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.card-container {
  perspective: 1000px;
}

.card {
  position: relative;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.2s;
}

.service_item_cta_btn {
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 20px 30px;
  font-size: 14px;
  border-radius: 100px;
  background: none;
  color: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service_item_cta_btn span {
  text-align: center;
}

.service_item_cta_btn img {
  width: 14px;
  transition: all 0.3s;
  margin-top: -2px;
}

.service_item_cta_btn:hover img {
  rotate: 45deg;
}

.service_item_cta_btn:active {
  scale: 0.9;
}

.service_item_cta_btn:hover {
  border: 1px solid #ff5b1a;
  background-color: #ff5b1a;
  color: #fff;
}

.service_item_cta_phone {
  margin-left: 0px;
}

.service_item_cta_phone .contact {
  margin-top: 0px;
}

.service_item_cta_phone .contact a {
  font-size: 18px;
}

.service_item_cta_phone .phone_time {
  margin-top: 0px;
}

.section_white {
  background-color: #f5f5f5;
  margin-top: 60px;
  margin-bottom: 0px !important;
  overflow: hidden;
  padding-bottom: 60px;
}

.section_white .title {
  color: #0a0a0a;
}

.slider {
  position: relative;
  width: 240vw; /* ширина на всю страницу */
  margin-top: 40px;
}

.section_slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.slide {
  width: calc(
    50% - 25px
  ); /* расчет ширины, чтобы показывать 2 карточки и часть третьей */
  padding: 50px;
  max-width: 600px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 50px;
  background-color: #0a0a0a;
  border-radius: 10px;
  color: #fff;
  opacity: 0.6;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}

.slide_digit {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  line-height: 32px;
  padding: 10px;
  background-color: #1e1e1e;
  border-radius: 5px;
}

.visible {
  opacity: 1;
  /* background-color: #ff5b1a; */
  /* -webkit-box-shadow: inset 0px 0px 0px 2px #ff5b1a;
  -moz-box-shadow: inset 0px 0px 0px 2px #ff5b1a;
  box-shadow: inset 0px 0px 0px 2px #ff5b1a; */
}

.slide_title {
  color: #fff;
  font-size: 28px;
  line-height: 32px;
  margin-top: 30px;
}

.slide_text {
  color: #767676;
}

.slider_nav {
  display: flex;
  gap: 20px;
  justify-content: end;
}

.slider_nav button img {
  width: 14px;
  transition: all 0.3s;
  margin-top: -2px;
}

.slider_nav button {
  text-transform: uppercase;
  border: 2px solid #0a0a0a;
  padding: 25px 30px;
  border-radius: 100px;
  background: none;
  color: #0a0a0a;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider_nav button:active {
  scale: 0.9;
}

.slider_nav button:hover {
  cursor: pointer;
  opacity: 0.6;
}

#prev img {
  rotate: 180deg;
}

.hidden {
  display: none !important;
}

.about_container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.about_container_head .title {
  margin-top: 0px;
}

.about_descr {
  font-family: "Literal-Light";
  font-size: 40px;
  line-height: 44px;
}

.about_container_info {
  color: #767676;
  text-indent: 30px;
}

.about_block {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.logo_clients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.logo_clients img {
  width: 100%;
}

.section_about {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 60px 20px;
  height: auto;
  perspective: 1px;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/wp-content/themes/designhead/img/bg.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-out;
  transform: translateZ(-1px) scale(2);
  opacity: 0.3;
  z-index: -1;
}

.about_block {
  position: relative;
  z-index: 2;
}

.gall_block .splide__slide {
  border-radius: 10px;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
  position: relative;
}

.gall_block .splide__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover !important;
  object-fit: cover !important;
  transition: all 0.3s ease;
}

.gall_block .splide__slide img:hover {
  scale: 1.1;
}

.rew_block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.service_item_cta_block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.t1 {
  text-indent: 50px;
}

.t2 {
  text-indent: 200px;
}

.t3 {
  text-indent: 100px;
}

.videobg {
  position: absolute;
  top: 20%;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0.3;
}

#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0) 50%,
    rgba(10, 10, 10, 1) 100%
  );
  z-index: 1;
}

.service_item:hover .circle {
  display: block;
}

.circle {
  position: relative;
  display: none;
}

.circle img {
  border-radius: 100px;
  background-color: #ffffff20;
  padding: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -25px; /* половина высоты */
  margin-left: -25px; /* половина ширины */
  animation: upDown 3s infinite ease-in-out;
}

@keyframes upDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
}

.bcmbs {
  font-size: 14px;
  color: #767676;
}

.bcmbs a {
  text-decoration: underline;
  color: #767676;
}

.bcmbs a:hover {
  text-decoration: none;
  color: #ff5b1a;
}

.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 500px;
  width: 100%;
}

.thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
  object-fit: cover;
}

.price_block_item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 40px;
  justify-content: space-between;
  padding: 20px 0px;
  border-bottom: 1px solid #242424;
}

.price_block_item_title {
  font-size: 28px;
  line-height: 30px;
}

.price_digit {
  font-size: 28px;
  line-height: 30px;
}

.price_block_item_info {
  color: #767676;
}

.descr_price {
  color: #767676;
  font-size: 14px;
}

.price_block_item_contacts .soc {
  margin-top: 30px;
}

.price_block {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

@media screen and (min-width: 1101px) {
  .splide__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  .photo_gal_single {
    display: grid !important;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .photo_gal_single .splide__slide {
    position: relative;
    background: #ccc;
    display: flex;
  }

  .photo_gal_single .splide__slide:nth-child(10n + 1),
  .photo_gal_single .splide__slide:nth-child(10n + 10) {
    grid-row: span 2;
    grid-column: span 2;
    height: auto;
  }
}

@media screen and (min-width: 1800px) {
}

@media screen and (max-width: 1210px) {
  .service_item_cta {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    row-gap: 20px;
  }

  .service_item_cta_btn {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service_item_cta_phone {
    grid-column: 1;
    grid-row: 2;
    font-size: 18px;
  }
}

@media screen and (max-width: 1080px) {
  .container_404 {
    background-image: url("/wp-content/themes/designhead/img/404.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh !important;
  }
  .thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 240px;
    width: 100%;
  }

  .price_block_item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 0px;
    border-bottom: 1px solid #242424;
  }

  .t1 {
    text-indent: 0px;
  }

  .t2 {
    text-indent: 0px;
  }

  .t3 {
    text-indent: 0px;
  }
  .videobg {
    display: none;
  }

  .rew_block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about_block {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .about_descr {
    font-family: "Literal-Light";
    font-size: 30px;
    line-height: 34px;
  }

  .about_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .slider_nav button:hover {
    cursor: pointer;
    border: 1px solid #0a0a0a;
    background-color: #f5f5f5 !important;
  }
  .slider_nav span {
    display: none;
  }

  .slider_nav button {
    padding: 30px;
  }
  .slide {
    padding: 20px;
    max-width: 100%;
    min-width: 300px;
    margin-right: 20px;
  }

  .head_menu_links {
    display: none;
  }

  .slide_title {
    font-size: 20px;
    line-height: 24px;
  }

  .header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .head_menu_logo {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .phone {
    grid-column: 1;
    grid-row: 2;
    font-size: 18px;
  }

  .soc {
    grid-column: 2;
    grid-row: 2;
  }

  .title {
    font-family: "Literal-Light";
    font-size: 30px;
    line-height: 32px;
    margin: 40px 0px;
    text-transform: uppercase;
    font-weight: 100;
  }

  .descr {
    width: 100%;
    margin-top: 0px;
  }

  .service_item {
    background-color: #151515;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .service_item_title {
    font-size: 20px;
    line-height: 24px;
  }

  .service_item_excerpt {
    display: none;
  }

  .service_item_thumb {
    height: 220px;
  }

  .service_block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service_item_cta_phone {
    margin-left: 0px;
  }

  .texture_block {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer_contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .make {
    margin-top: 30px;
  }

  .menu_min {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }

  .map {
    height: 300px;
    order: 2;
  }

  .map_photo {
    height: 300px;
    order: 1;
  }

  .phone_time {
    font-size: 14px;
  }

  .card {
    height: 140px;
  }
}
