/*
Theme Name: G-ravitacia
Theme URI: 
Author: G-ravitacia
Author URI: 
Description: 

Version: 1.7
License: GNU General Public License
License URI: license.txt
Text Domain: g-ravitacia

*/
html {
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  position: relative;
  color: #3f4246;
  font-family: 'circe', sans-serif;
  font-size: 16px;
  letter-spacing: .2px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

ol {
  padding-left: 40px;
}

h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 40px;
}

h2 {
  font-size: 30px;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 90px 0 60px;
}

h3 {
  font-size: 28px;
  line-height: 1.3;
  margin: 30px 0 20px;
}

h4 {
  font-size: 24px;
  line-height: 1.3;
  margin: 20px 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

input::-moz-focus-inner {
  border: 0px !important;
}

input:hover,
input:active,
input:focus {
  outline: none !important;
}

input[type="file"],
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

label {
  cursor: pointer;
}

.wp-block-image, .wp-block-columns {
  margin-bottom: 0;
}

.main {
  width: 1160px;
  margin: 0 auto;
}

.btn {
  background-image: linear-gradient(to right, #fe8c00 0%, #f83600 51%, #fe8c00 100%);
  width: auto;
  background-size: 200% auto;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  border: 0;
  outline: 0;
  padding: 15px 25px;
  cursor: pointer;
  transition: .5s;
}

.btn:hover {
  background-position: right center;
}

.center {
  position: relative;
  width: 33.33%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 50px;
}

/* Формы
--------------------*/
.input_your {
  width: 100%;
  height: 44px;
  padding: 0 25px;
  font-size: 14px;
  background-color: #efefef;
  border: 1px solid #efefef;
  border-radius: 5px;
  margin-bottom: 10px;
}

.wpcf7-response-output {
  position: fixed;
  width: 300px;
  text-align: center;
  padding: 10px 25px !important;
  background: #4fb300;
  color: #fff;
  border: 0 !important;
  top: 50px;
  right: 50px;
  z-index: 9999;
  margin: 0 !important;
}

.win_modal .wpcf7-response-output {
  position: absolute;
  width: calc(100% - 80px);
  top: 40px;
  right: 40px;
}

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

.wpcf7-not-valid {
  border: 1px solid red !important;
}

.close {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 20px;
  right: 20px;
  opacity: 0.5;
  cursor: pointer;
}

.close:before,
.close:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.close:after {
  transform: rotate(-45deg);
  transition: all 0.3s;
}

.close:hover:before,
.close:hover:after {
  transform: rotate(180deg);
}

.popup_modal {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  -webkit-overflow-scrolling: touch;
  z-index: 888;
  overflow-y: auto;
  overflow-x: hidden;
}

.win_modal {
  position: absolute;
  background: #fff;
  width: 400px;
  overflow: hidden;
  margin-top: -200px;
  display: none;
  opacity: 0;
  top: 50%;
  left: 50%;
  padding: 30px;
  transform: translate(-50%, -50%);
}

.win_modal h3 {
  margin-top: 0;
}

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

/* Шапка
--------------------*/
.header {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1160px;
  margin: 0 auto;
  padding: 50px 0 0;
}

.head-logo {
  display: flex;
  align-items: center;
  gap: 40px;
}

.head-logo img {
  width: 250px;
}

.head-logo .kp-title {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.head-contact {
  display: flex;
  align-items: center;
}

.head-contact .phone {
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  margin-right: 40px;
}

.head-contact .telegram,
.head-contact .whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #24A1DE;
  border-radius: 5px;
  margin-right: 10px;
}

.head-contact .whatsapp {
  background: #25D366;
}

.head-contact .js-call {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  background: #fe8c00;
  color: #fff;
  border-radius: 5px;
  padding: 0 25px;
  cursor: pointer;
}

/* Главная
--------------------*/
.home-block-1 {
  position: relative;
  background: url(/wp-content/uploads/B6wTvFDe.jpg) no-repeat top center;
  background-size: cover;
  height: 100vh;
  margin: 0 calc((-100vw + 1160px) / 2);
  padding: 250px calc((100vw - 1160px) / 2) 50px;
}

.home-block-1 .wp-block-column {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.3) 100%);
  padding: 30px;
  border-radius: 5px;
}

.home-block-1 h3 {
  margin: 0 0 30px;
}

.home-block-1 form {
  margin-top: 50px;
}

.home-block-1 .wpcf7-tel {
  width: calc(50% - 10px);
  height: 44px;
  padding: 0 25px;
  font-size: 14px;
  background-color: #ddd;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 20px;
}

.home-block-1 .btn {
  width: calc(50% - 10px);
}

.galery-slider {
  width: 1540px;
  display: block !important;
}

.galery-slider .wp-block-image {
  width: 100% !important;
}

.galery-slider img {
  border-radius: 5px;
}

.owl-nav {
  width: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 0 !important;
}

.owl-nav button {
  position: relative;
  width: 25px;
  height: 25px;
}

.owl-nav button.disabled {
  opacity: .5;
}

.owl-nav button span {
  display: none;
}

.owl-nav button:before {
  content: '';
  position: absolute;
  background: url(images/arrows.svg) no-repeat center;
  background-size: contain;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.owl-nav .owl-prev:before {
  transform: rotate(180deg);
}

.step-butons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  left: 150px;
  margin-top: -27px;
  z-index: 5;
}

.step-butons li {
  background: #292B39;
  color: #fff;
  border-radius: 5px;
  padding: 3px 10px;
  transform: skewX(-20deg);
  cursor: pointer;
}

.home-block-2>.wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 100px;
  padding: 0 60px;
}

.home-block-2 .wp-block-group__inner-container .wp-block-group {
  position: relative;
  width: calc((100% - 200px) / 3);
  text-align: center;
}

.home-block-2 p {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right, #f83600 0%, #fe8c00 100%);
  padding-top: 3px;
  color: #fff;
  font-size: 18px;
  left: 0;
  top: 0;
}

.home-block-2 h4 {
  position: relative;
  font-size: 22px;
  margin: 20px 0 0;
}

.home-block-2 h4:before {
  content: '';
  position: absolute;
  background: #ddd;
  width: 100px;
  height: 3px;
  border-radius: 50%;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.galery-2 {
  width: 100% !important;
  display: block !important;
}

.galery-2 .wp-block-image {
  width: 100% !important;
}

.galery-2 img {
  border-radius: 5px;
}

.galery-2 .owl-nav {
  margin: 20px auto 0 !important;
}

.home-block-3 {
  position: relative;
  z-index: 5;
}

.home-block-3 .wp-block-column {
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 10px 30px rgb(30 30 30 / 50%);
}

.home-block-3 img {
  border-radius: 5px;
}

.home-block-3 .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
}

.home-block-3 .icon img {
  border-radius: 0;
}

.home-block-3 p {
  margin: 20px 0 10px;
  font-size: 26px;
}

.home-block-3 .wp-text {
  border: 1px solid #ffa500;
  padding: 30px 30px 23px;
}

.home-block-3 .wp-text p {
  margin-bottom: 7px;
}

.home-block-4 {
  margin: 0 calc((-100vw + 1160px) / 2);
}

.home-block-5 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px 10px !important;
  grid-auto-flow: column;
  grid-template-areas:
    "grid-1 grid-2 grid-3 grid-3"
    "grid-1 grid-4 grid-5 grid-6"
    "grid-7 grid-7 grid-8 grid-9";
}

.home-block-5 figcaption {
  background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .4) 70%, transparent) !important;
  font-size: 20px !important;
  line-height: 1.3;
  overflow: visible !important;
  padding: 20px 10px 15px !important;
}

.home-block-5 .wp-block-image {
  position: relative;
  width: 100% !important;
  border-radius: 5px;
  overflow: hidden;
}

.home-block-5 .grid-1 {
  grid-area: grid-1;
}

.home-block-5 .grid-2 {
  grid-area: grid-2;
}

.home-block-5 .grid-3 {
  grid-area: grid-3;
}

.home-block-5 .grid-4 {
  grid-area: grid-4;
}

.home-block-5 .grid-5 {
  grid-area: grid-5;
}

.home-block-5 .grid-6 {
  grid-area: grid-6;
}

.home-block-5 .grid-7 {
  grid-area: grid-7;
}

.home-block-5 .grid-8 {
  grid-area: grid-8;
}

.home-block-5 .grid-9 {
  grid-area: grid-9;
}

.home-block-6 {
  margin-top: 70px;
}

.wp-block-kadence-tabs {
  margin-top: 100px;
}

.map-container {
  position: relative;
}

.map-container img {
  width: 100%;
}

#svg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#svg-container svg {
  position: relative;
  width: 100%;
  display: block;
}

#svg-container svg path {
  opacity: 0;
  fill: #0f0;
  transition: .3s;
  cursor: pointer;
}

#svg-container svg path:hover {
  opacity: .3 !important;
}

#svg-container svg [data-reserv='1'] {
  fill: #f00;
}

.zu-info {
  position: absolute;
  background: #fff;
  width: 250px;
  border-radius: 5px;
  padding: 20px;
  display: none;
  box-shadow: 0 10px 30px rgb(30 30 30 / 50%);
  z-index: 50;
}

.zu-info p {
  font-size: 20px;
  margin-bottom: 15px;
}

.zu-info .number {
  font-weight: bold;
}

.zu-info .js-call {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background: #fe8c00;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 0;
}

.zu-info .js-call.disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: #efefef;
  color: #3f4246;
}

.zu-close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  opacity: 0.5;
  cursor: pointer;
}

.zu-close:before,
.zu-close:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.zu-close:after {
  transform: rotate(-45deg);
  transition: all 0.3s;
}

.mobile-plan {
  display: none;
}

.home-block-7 {
  margin-top: 120px;
}

.home-block-7 .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.home-block-7 h2 {
  margin: 0;
}

.home-block-7 h4 {
  text-align: center;
  background: #efefef;
  border-radius: 5px;
  padding: 14px;
  margin: 0 30px 0 0;
}

.home-block-7 .wp-block-column:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.home-block-7 .wp-block-column:last-child .wp-block-group {
  width: calc((100% - 30px) / 3);
  background: #efefef;
  border-radius: 5px;
}

.home-block-7 .wp-block-column:last-child .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-block-7 .wp-block-column:last-child .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #0E6C28;
  border-radius: 5px;
  padding: 13px;
  margin: 0 !important;
}

.home-block-7 .wp-block-column:last-child p {
  font-size: 22px;
  margin: 0 !important;
}

/* footer
--------------------*/
.footer {
  position: relative;
  width: 100%;
  background: #636466;
  color: #fff;
  z-index: 5;
  margin-top: 200px;
}

.footer:before {
  content: '';
  position: absolute;
  background: url(/wp-content/uploads/footer-bg.svg) no-repeat center;
  width: 100%;
  height: 70px;
  top: -65px;
  left: 0;
  z-index: 5;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  width: 1160px;
  padding: 50px 0;
  margin: 0 auto;
}

.footer-col {
  max-width: 33.33%;
}

.footer-row .footer-col:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-col .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-col a+.title {
  margin-top: 25px;
}

.footer-contact {
  display: flex;
  gap: 10px;
}

.footer-contact .telegram,
.footer-contact .whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #24A1DE;
  border-radius: 5px;
  margin-right: 10px;
}

.footer-contact .whatsapp {
  background: #25D366;
}

.footer-row .footer-col:last-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-col .js-call {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  background: #fe8c00;
  color: #fff;
  border-radius: 5px;
  padding: 0 25px;
  cursor: pointer;
}

.footer-col .copy {
  font-size: 14px;
  opacity: .7;
}

/* 404
--------------------*/
.page-not-found {
  text-align: center;
  margin-top: 140px;
}

.page-not-found h2 {
  font-size: 30px;
  margin: 30px 0 10px;
}

.page-not-found p {
  margin-bottom: 40px;
}

.page-not-found .btn {
  width: max-content;
  margin: auto;
}