/*
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: #000;
  font-family: "Inter", serif;
  font-size: 16px;
  line-height: 1.2;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

ol {
  padding-left: 40px;
}

h1 {
  line-height: 1.3;
  font-size: 49px;
}

h2 {
  font-size: 40px;
  line-height: 1.2;
  margin: 100px 0 45px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

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

label {
  cursor: pointer;
}

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

.main {
  max-width: 1200px;
  margin: auto;
}

/* header
--------------------*/
.header {
  width: 100%;
  background: #78eeee;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}

.logo {
  width: 300px;
}

.header__bottom-menu .menu {
  display: flex;
  justify-content: space-between;
}

.header__bottom-menu .menu .menu__item a {
  display: inline-block;
  padding: 12px 33px;
  border: 1px solid #0061F2;
  border-right: 0;
  transition: all 0.3s ease-in-out;
}

.header__bottom-menu .menu .menu__item:last-child a {
  border-right: 1px solid #0061F2;
}

.header__bottom-menu .menu .menu__item a:hover {
  background: #0061F2;
  color: #fff;
}

.header .phone {
  font-size: 24px;
  text-align: right;
}

.header .phone .mail {
  display: block;
  font-size: 16px;
}

/* Блоки
--------------------*/
.home-block-1 {
  position: relative;
  background: url(/wp-content/uploads/1481351241-web.jpg) no-repeat top center;
  background-size: cover;
  height: calc(100vh - 85px);
  margin: 0 calc((-100vw + 1200px) / 2);
  padding: 0 calc((100vw - 1200px) / 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-block-1 .wp-block-column {
  background: linear-gradient(135deg, rgba(67, 177, 177, 0.9), rgba(11, 158, 199, 0.9));
  padding: 50px 40px;
  border-radius: 10px;
}

.home-block-1 ul {
  margin-top: 40px;
}

.home-block-1 li {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}

.home-block-2 h4 {
  font-weight: 300;
  margin-bottom: 30px;
}

.home-block-2 li {
  position: relative;
  font-size: 20px;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.home-block-2 li:before {
  content: '';
  position: absolute;
  border-top: 1px solid #0b9ec7;
  width: 30px;
  height: 1px;
  top: 0;
  left: 0;
}

.home-block-2 li:after {
  content: '';
  position: absolute;
  border-top: 1px solid #ededf0;
  width: calc(100% - 40px);
  height: 1px;
  top: 0;
  right: 0;
}

.home-block-2 li:first-child:before {
  content: none;
}

.home-block-2 li:first-child::after {
  content: none;
}

.home-block-3 {
  position: relative;
  background: url(/wp-content/uploads/setka-01-1.png) no-repeat bottom right;
  background-size: 80% auto;
  margin: 0 calc((-100vw + 1200px) / 2);
  padding: 0 calc((100vw - 1200px) / 2) 100px;
  gap: 0;
}

.home-block-3 img {
  height: 205px;
  object-fit: cover;
}

.home-block-3 p {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  height: 205px;
  padding: 30px;
}

.home-block-3 .green p {
  background: #F55539;
}

.home-block-3 .purple p {
  background: #80CD28;
}

.home-block-3 .blue p {
  background: #F6830E;
}

.home-block-4 {
  background: #78EEEE;
  margin: 0 calc((-100vw + 1200px) / 2);
  padding: 100px calc((100vw - 1200px) / 2) 0;
  gap: 0;
}

.home-block-4 p {
  position: relative;
  height: 115px;
  margin-bottom: 60px;
  padding-left: 100px;
}

.home-block-4 p img {
  position: absolute;
  left: 0;
  top: 0;
}

.home-block-5 .wp-block-column .wp-block-image {
  width: 80px;
  margin-bottom: 20px;
}

.wp-block-columns.is-not-stacked-on-mobile.home-block-6 {
  flex-wrap: wrap !important;
  gap: 10px;
}

.home-block-6 .wp-block-column {
  position: relative;
  flex-basis: calc((100% - 10px) / 2) !important;
  height: 200px;
  padding: 30px;
  padding-right: 330px;
}

.home-block-6 .wp-block-column:nth-child(1) {
  background-image: linear-gradient(139.81deg, #CADAED 9.06%, #E9F1F8 77.03%);
}

.home-block-6 .wp-block-column:nth-child(2) {
  background-image: linear-gradient(136.47deg, #BAD1FF 9.52%, #FFF1BE 81.83%);
}

.home-block-6 .wp-block-column:nth-child(3) {
  background-image: linear-gradient(139.81deg, #FFCAFA 9.06%, #F5E4A6 77.03%);
}

.home-block-6 .wp-block-column:nth-child(4) {
  background-image: linear-gradient(108.61deg, #ABB2EF 9.52%, #DFEEF8 81.83%);
}

.home-block-6 .wp-block-image {
  position: absolute;
  width: 300px;
  top: 0;
  right: 0;
}

.home-block-6 h4 {
  font-size: 17px;
  margin-bottom: 20px;
}

.home-block-6 p {
  font-size: 15px;
}

.home-block-7 {
  background: linear-gradient(to right, #fff 40%, #E9F1F8 90%);
  margin: 100px calc((-100vw + 1200px) / 2) 0;
  padding: 0 calc((100vw - 1200px) / 2);
}

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

.home-block-7 li {
  position: relative;
  font-size: 20px;
  padding-left: 30px;
  margin-bottom: 20px;
}

.home-block-7 li:before {
  content: '';
  position: absolute;
  background: url(/wp-content/uploads/checks.svg) no-repeat center;
  background-size: contain;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 0;
}

.home-block-8 {
  position: relative;
  background: url(/wp-content/uploads/setka-01-1.png) no-repeat bottom center;
  background-size: 100% auto;
  margin: 0 calc((-100vw + 1200px) / 2);
  padding: 0 calc((100vw - 1200px) / 2) 100px;
}

.kt-accordion-panel-inner p+p {
  margin-top: 10px;
}

/* footer
--------------------*/
.footer {
  width: 100%;
  background: #0b9ec7;
  color: #fff;
}

.footer-row {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  margin: auto;
}

.footer-row .name {
  font-size: 20px;
}

.footer-row .phone {
  font-size: 24px;
  text-align: right;
}

.footer-row .phone .mail {
  display: block;
  font-size: 16px;
}

/* 404
--------------------*/
.text-404 {
  padding: 60px 0;
  text-align: center;
}

.text-404 h1 {
  font-size: 70px;
  line-height: 1;
}

.text-404 h2 {
  color: #c1c1c1;
  font-size: 300px;
  line-height: 1;
  margin: 50px 0;
}

.text-404 a {
  font-size: 30px;
  text-decoration: underline;
}