/*
Theme Name: Terzi Theme
Author: Sofona
Version: 1.0.1
*/
@font-face {
  font-family: "Medula One";
  src: url("./assets/fonts/MedulaOne-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Prata";
  src: url("./assets/fonts/Prata-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Lato";
  src: url("./assets/fonts/Lato/Lato-Regular.ttf") format("truetype");
}
:root {
  --font-text: "Medula One", cursive;
  --font-accent: "Prata", serif;
  --font-caption: "Lato", serif;
  --accent-color: #d9b256;
  --primary-color: #4a4a4a;
  --content-width: 1200px;
  --content-padding: 0 15px;
}

body {
  background: #242424;
  font-family: var(--font-text);
  font-size: 16px;
}
body section {
  padding-top: 100px;
  padding-bottom: 100px;
}
body section.bg_accent {
  background: var(--accent-color);
}
body ul {
  margin-bottom: 15px;
}
body ul li {
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: normal;
  color: #fff;
  letter-spacing: 1.5px;
}
body ol {
  margin-bottom: 15px;
}
body ol li {
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: normal;
  color: #fff;
  letter-spacing: 1.5px;
}
body p {
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: normal;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}
body p:last-child {
  margin-bottom: 0;
}
body h2 {
  font-size: 38px;
  color: #fff;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 600;
  margin-bottom: 25px;
}
body h3 {
  font-size: 28px;
  color: #fff;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 600;
  margin-bottom: 25px;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-padding);
}

.hidden-h1 {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.wp-block-buttons {
  margin-top: 55px;
}
.wp-block-buttons .not_bg a {
  border: 1px solid #fff;
  background: unset;
  color: #fff;
}
.wp-block-buttons .not_bg a:hover {
  font-family: var(--font-accent);
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: #fff;
}
.wp-block-buttons a {
  font-family: var(--font-accent);
  background: var(--accent-color);
}
.wp-block-buttons a:hover {
  color: var(--primary-color);
  background: #fff;
}

.ww {
  opacity: 0;
  visibility: hidden;
  transition-duration: 0.5s;
}

.ww.fadeDown {
  transform: translateY(-100px);
}

.ww.fadeLeft {
  transform: translateX(-100%);
}

.ww.fadeRight {
  transform: translateX(100%);
}

.ww.zoomIn {
  transform: scale3d(0.3, 0.3, 0.3);
}

.ww.dn {
  transform: translate(0);
  opacity: 1;
  visibility: visible;
  transition-duration: 1s;
}

.wp-block-table thead {
  border-bottom: none;
}
.wp-block-table thead th {
  background: var(--accent-color);
  font-weight: 600;
  font-size: 18px;
}

.wp-block-table td,
.wp-block-table th {
  border-color: var(--accent-color);
  color: #fff;
  padding: 10px;
}

.breadcrumbs {
  margin-bottom: 20px;
}
.breadcrumbs span,
.breadcrumbs a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent-color);
}

/**---------------------------------*/
.site-header {
  padding-top: 25px;
  padding-bottom: 30px;
}
.site-header .burger_menu {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10000;
}
.site-header .burger_menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.site-header .burger_menu.active span:nth-child(2) {
  opacity: 0;
}
.site-header .burger_menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.site-header .burger_menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  background-color: #fff;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.site-header .burger_menu span:nth-child(1) {
  top: 2px;
}
.site-header .burger_menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.site-header .burger_menu span:nth-child(3) {
  bottom: 0;
}
.site-header .mobile_menu {
  position: absolute;
  top: -175vh;
  left: 0;
  width: calc(100% - 40px);
  background: #242424;
  color: white;
  padding: 20px;
  transition: top 0.4s ease-in-out;
  z-index: 10000;
  height: 100vh;
}
.site-header .mobile_menu.active {
  top: 200px;
  position: fixed;
}
.site-header .mobile_menu.active .menu {
  display: block;
}
.site-header .mobile_menu.active .menu ul {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: 0 auto;
}
.site-header .mobile_menu.active .menu ul ul {
  background: unset;
  position: relative;
}
.site-header .mobile_menu.active .button_menu {
  display: block;
  margin-top: 30px;
}
.site-header .mobile_menu.active .button_menu ul {
  justify-content: center;
  flex-wrap: wrap;
}
.site-header .header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo img {
  width: 80px;
}
.site-header .topLine_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  font-family: var(--font-accent);
  font-weight: 400;
}
.site-header .topLine_container .top_line__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header .topLine_container .top_line__right .contactPhone a {
  color: #fff;
  font-family: var(--font-caption);
}
.site-header .topLine_container .top_line__right .contactPhone a:hover {
  color: var(--accent-color);
}
.site-header .topLine_container .top_line__right .social-icons {
  display: flex;
  gap: 5px;
}
.site-header .topLine_container .top_line__right .social-icons a {
  text-decoration: none;
}
.site-header .button_menu li {
  margin: 10px;
}
.site-header .button_menu li a {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  font-style: initial;
  text-decoration: none;
  color: var(--primary-color);
  font-family: var(--font-accent);
  padding: 19px 40px;
  background: #fff;
  border-radius: 30px;
}
.site-header .button_menu li:hover a {
  background: #eaebee;
}
.site-header .button_menu li.bg_accent a {
  font-weight: 500;
  color: #fff;
  background: var(--accent-color);
}
.site-header .button_menu li.bg_accent:hover a {
  color: var(--primary-color);
  background: #fff;
}
.site-header .menu li {
  position: relative;
  padding: 5px;
  list-style: none;
}
.site-header .menu li:hover a {
  color: var(--accent-color);
}
.site-header .menu li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .menu li:hover ul li:hover a {
  color: var(--accent-color);
}
.site-header .menu li:hover ul li a {
  color: #fff;
}
.site-header .menu li a {
  font-family: var(--font-text);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
}
.site-header .menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  min-width: 200px;
  border-radius: 5px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  z-index: 10;
  display: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .menu li ul li {
  padding: 8px 15px;
}
.site-header .menu li ul li a {
  font-size: 14px;
  color: #fff;
  transition: color 0.2s ease-in-out;
  padding: 8px 0;
}
.site-header .menu li ul li a:hover {
  color: var(--accent-color);
}
.site-header .wp-block-buttons {
  margin-top: 0;
  color: #fff;
}
.site-header nav ul {
  display: flex;
  margin: 0;
  padding: 0;
}
.site-header nav ul a {
  word-break: break-word;
}
.site-header .lang_swither {
  display: flex;
  gap: 10px;
  margin: 0;
}
.site-header .lang_swither li {
  list-style: none;
}
.site-header .lang_swither li img {
  width: 20px !important;
  height: 15px !important;
}

.site-footer {
  padding-top: 120px;
  padding-bottom: 120px;
  color: #fff;
}
.site-footer .logo img {
  width: 150px;
}
.site-footer .footer_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.site-footer .name {
  font-size: 22px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 400;
  position: relative;
  margin-bottom: 30px;
  color: var(--accent-color);
}
.site-footer .name:before {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 63px;
  border-top: 3px solid var(--accent-color);
}
.site-footer .menu {
  margin-top: 30px;
}
.site-footer .menu ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.site-footer .menu li {
  margin-bottom: 10px;
  list-style: none;
}
.site-footer .menu li a {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-accent);
}
.site-footer .menu li a:hover {
  color: var(--accent-color);
}
.site-footer .phone_numbers {
  margin-bottom: 20px;
}
.site-footer .social-icons {
  display: flex;
  gap: 10px;
}
.site-footer .social-icons a {
  text-decoration: none;
}

.page-template-home .first_screen {
  position: relative;
  padding: 0;
}
.page-template-home .first_screen .info_block {
  position: absolute;
  top: 50%;
  left: 120px;
  z-index: 1000;
  max-width: 40%;
}
.page-template-home .first_screen .info_block h1 {
  color: var(--primary-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}
.page-template-home .first_screen .info_block p.description {
  color: #eaebee;
  font-size: 21px;
  line-height: 36px;
}
.page-template-home .first_screen .slider_block {
  height: 100vh;
}
.page-template-home .first_screen .slider_block .swiper-slide {
  height: 100vh;
}
.page-template-home .first_screen .slider_block .swiper-slide .wp-block-image img {
  height: 100%;
}
.page-template-home .aboute_section {
  max-width: var(--content-width);
  margin: 0 auto;
}
.page-template-home .aboute_section .-block-group__inner-container {
  padding: var(--content-padding);
}
.page-template-home .aboute_section h2 {
  color: var(--accent-color);
}
.page-template-home .aboute_section .wp-block-image img {
  max-height: 463px;
  object-fit: cover;
}
.page-template-home .aboute_section .list_priority {
  margin-top: 50px;
}
.page-template-home .aboute_section .list_priority .wp-block-media-text {
  grid-template-columns: 90px 1fr;
  padding-top: 8px;
  padding-bottom: 8px;
}
.page-template-home .aboute_section .list_priority .wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}
.page-template-home .aboute_section .list_priority .wp-block-media-text p {
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: normal;
  color: #fff;
  margin: 8px;
}
.page-template-home .aboute_section .list_priority figure {
  background: #eaebee;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px;
}
.page-template-home .aboute_section .list_priority figure img {
  width: 40px;
  height: 40px;
}
.page-template-home .cooperation {
  max-width: var(--content-width);
  margin: 0 auto;
}
.page-template-home .cooperation .wp-block-group__inner-container {
  padding: var(--content-padding);
}
.page-template-home .cooperation h2 {
  color: var(--accent-color);
}
.page-template-home .cooperation .wp-block-columns {
  margin-bottom: 20px;
}
.page-template-home .cooperation .wp-block-columns:last-child {
  margin-bottom: 0;
}
.page-template-home .cooperation .wp-block-columns .wp-block-column {
  background: #fff;
  padding: 15px;
  text-align: center;
}
.page-template-home .cooperation .wp-block-columns .wp-block-column h3 {
  color: var(--primary-color);
}
.page-template-home .cooperation .wp-block-columns .wp-block-column p {
  color: var(--primary-color);
}

.services-template .first_screen {
  position: relative;
  padding: 0;
  margin-bottom: 100px;
}
.services-template .first_screen .info_block {
  position: absolute;
  top: 50%;
  left: 120px;
  z-index: 1000;
  max-width: 40%;
}
.services-template .first_screen .info_block h1 {
  color: var(--primary-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}
.services-template .first_screen .info_block p.description {
  color: #eaebee;
  font-size: 21px;
  line-height: 36px;
}
.services-template .first_screen .slider_block {
  height: 100vh;
}
.services-template .first_screen .slider_block .swiper-slide {
  height: 100vh;
}
.services-template .first_screen .slider_block .swiper-slide .wp-block-image img {
  height: 100%;
}
.services-template section.text {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-padding);
}
.services-template section.text h2 {
  color: var(--accent-color);
}
.services-template .pros_cons {
  margin-top: 100px;
  margin-bottom: 100px;
}
.services-template .pros_cons .wp-block-group__inner-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-padding);
}
.services-template .price_table {
  padding: var(--content-padding);
  max-width: var(--content-width);
  margin: 0 auto;
}
.services-template .price_table h2 {
  color: var(--accent-color);
}
.services-template .faq_block {
  width: var(--content-width);
  padding: 100px 15px;
  margin: 0 auto;
}
.services-template .faq_block h2 {
  color: var(--accent-color);
}
.services-template .faq_block p {
  color: var(--primary-color);
}

section.services-blok.bg_accent {
  background: var(--accent-color);
}
section.services-blok .wp-block-group__inner-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-padding);
}
section.services-blok .description_section {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--font-accent);
  font-weight: 400;
}
section.services-blok .latest-services {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
section.services-blok .latest-services .service-item {
  padding-left: 15px;
  padding-right: 15px;
}
section.services-blok .latest-services .service-item .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  word-break: break-word;
  padding: 19px 40px;
  margin: 40px 10px;
  border-radius: 30px;
  box-shadow: 0 8px 20px 3px rgba(0, 0, 0, 0.1);
}
section.services-blok .latest-services .service-item .price:hover {
  background: #eaebee;
}
section.services-blok .latest-services .service-item .price span {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #4a4a4a;
  font-family: var(--font-accent);
}
section.services-blok .latest-services .service-item .price svg {
  width: 24px;
  height: 24px;
}
section.services-blok .latest-services .service-item h3 {
  height: 80px;
  overflow: hidden;
  text-align: center;
}
section.services-blok .latest-services .service-item h3 a {
  font-weight: bold;
  font-size: 23px;
  text-decoration: underline;
  line-height: 1.3;
  font-family: var(--font-accent);
  margin-top: 20px;
  color: var(--primary-color);
}
section.services-blok .latest-services .service-item .service-description {
  font-size: 16px;
  line-height: 1.4;
  font-family: var(--font-caption);
  color: #fff;
  height: 180px;
  overflow: hidden;
}
section.services-blok .latest-services .service-item .service-image img {
  width: 100%;
  height: 217px;
  object-fit: cover;
}
section.services-blok .wp-block-buttons a {
  box-shadow: 0 8px 20px 3px rgba(0, 0, 0, 0.1);
  color: #fff;
}
section.services-blok .wp-block-buttons a:hover {
  background: #4d4f5b;
  color: #fff;
}
section.contact_form {
  padding: 0;
}
section.contact_form .wp-block-columns {
  align-items: center !important;
}
section.contact_form .wp-block-image img {
  height: 700px;
  object-fit: cover;
}
section.contact_form p {
  max-width: 60%;
}
section.contact_form form {
  margin-top: 40px;
  max-width: 60%;
}
section.contact_form form p {
  max-width: unset;
}
section.contact_form form .item {
  margin-bottom: 20px;
}
section.contact_form form .item label {
  margin-bottom: 20px;
  width: 100%;
}
section.contact_form form .item label input {
  padding: 10px;
  width: calc(100% - 20px);
}
section.contact_form form .button {
  margin-top: 40px;
}
section.contact_form form .button input {
  font-family: var(--font-accent);
  background: var(--accent-color);
  color: #fff;
  border-radius: 30px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
  border: 0;
}
section.reviews_home.bg_accent {
  background: var(--accent-color);
}
section.reviews_home .single-item-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
section.reviews_home .single-item-wrapper .item-content p {
  color: var(--primary-color);
}
section.gallery {
  margin: 0 auto;
  width: 100%;
}
section.gallery .wp-block-group__inner-container {
  padding: var(--content-padding);
}
section.seotext_page {
  padding: 100px 15px;
  max-width: var(--content-width);
  margin: 0 auto;
  color: #fff;
}

.tss-wrapper .tss-layout3 .item-content-wrapper:before,
.tss-wrapper .tss-isotope1 .item-content-wrapper:before,
.tss-wrapper .tss-video1 .item-content-wrapper:before,
.tss-wrapper .tss-carousel3 .item-content-wrapper:before {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .site-header .burger_menu {
    display: flex;
  }
  .site-header .button_menu {
    display: none;
  }
  .site-header .menu {
    display: none;
  }
  section.services-blok .latest-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .form {
    padding: 52px 70px;
  }
}
@media (max-width: 781px) {
  .services-template section.text .wp-block-column {
    order: 2;
  }
  .services-template section.text .wp-block-column.image_column {
    order: 1;
  }
}
@media (max-width: 768px) {
  .site-footer .footer_container {
    grid-template-columns: 1fr;
  }
  .site-footer .form {
    padding: 43px 55px;
  }
  .site-footer {
    padding-top: 90px;
    padding-bottom: 105px;
  }
}
@media (max-width: 480px) {
  section.services-blok .latest-services {
    grid-template-columns: 1fr;
  }
}