/*
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: #212121;
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

ol {
  padding-left: 40px;
}

h1 {
  font-size: 52px;
  line-height: 1.2;
  margin: 40px 0;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 80px 0 40px;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 30px 0 20px;
}

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

h5 {
  font-size: 18px;
  margin: 20px 0 10px;
}

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;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: number-input;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

label {
  cursor: pointer;
}

.wp-block-columns {
  display: flex;
  gap: 20px;
}

.wp-block-columns .wp-block-column {
  flex-basis: 0;
  flex-grow: 1;
}

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

.main {
  width: 100%;
  max-width: 1170px;
  margin: 103px auto 0;
}

.btn {
  position: relative;
  width: max-content;
  outline: none;
  border-radius: 7px;
  background: #138426;
  border: 2px solid #138426;
  color: #fff;
  text-align: center;
  cursor: pointer;
  padding: 12px 20px;
  transition: .3s;
}

.btn:hover {
  background: #fff;
  color: #138426;
}

.btn-invert {
  position: relative;
  width: max-content;
  outline: none;
  border-radius: 7px;
  text-align: center;
  background: #fff;
  border: 2px solid #138426;
  color: #138426;
  cursor: pointer;
  padding: 12px 20px;
  transition: .3s;
}

.btn-invert:hover {
  background: #138426;
  color: #fff;
}

.btn a,
.btn-invert a {
  display: block;
  text-align: center;
  margin: -12px -20px;
  padding: 12px 20px;
}

/* Формы
--------------------*/
.input_your {
  width: 100%;
  padding: 15px 20px 15px 50px;
  font-size: 16px;
  background-color: #ecf2e0;
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 20px;
  border: 2px solid #138426;
  border-radius: 7px;
  margin-bottom: 15px;
}

[type="text"] {
  background-image: url(images/input-name.svg);
}

[type="tel"] {
  background-image: url(images/input-tel.svg);
}

textarea.input_your {
  height: 150px;
  padding: 15px;
}

.form_police {
  font-size: 14px;
}

.form_police .label {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer;
}

.form_police .label:before {
  content: '';
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 2px solid #ddecc7;
  border-radius: 4px;
  width: 14px;
  height: 14px;
  padding: 0 1px 2px 1px;
  top: 2px;
  left: 0;
}

.form_police .label.check:before {
  content: url(images/check.svg);
  background: #138426;
  border: 2px solid #138426;
}

[type="submit"] {
  font-size: 16px;
}

[type="submit"].disabled {
  pointer-events: none;
  opacity: 0.6;
}

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

.wpcf7-not-valid {
  border-color: red !important;
}

/* Модальные окна
--------------------*/
.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: 99999;
  overflow-y: auto;
  overflow-x: hidden;
}

.win_modal {
  position: absolute;
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  background-image: url(/wp-content/uploads/ff_654678_hjk.png);
  background-repeat: no-repeat;
  background-position: top right -270px;
  background-size: auto 95%;
  border-radius: 12px;
  margin-top: -200px;
  display: none;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
}

.win_content {
  width: 45%;
}

.win_modal h3 {
  font-size: 30px;
  position: relative;
  margin: 0 0 30px;
}

.win_modal h3:before {
  content: '';
  position: absolute;
  border-top: 2px solid #138426;
  width: 100px;
  height: 1px;
  bottom: -16px;
  left: 0;
}

.win_modal .desc {
  margin-bottom: 15px;
}

.win_modal .desc-2 {
  text-align: center;
  margin-bottom: 10px;
}

.win_modal .other {
  position: relative;
  text-align: center;
  margin: 15px 0 10px;
  z-index: 1;
}

.win_modal .other span {
  display: inline-block;
  background: #fff;
  padding: 0 15px;
}

.win_modal .other:before {
  content: '';
  position: absolute;
  border-top: 2px solid #ecf2e0;
  width: 100%;
  height: 1px;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.win_modal .input_your {
  background-color: #fff;
  margin-bottom: 10px;
}

.win_modal .form_police .label {
  font-size: 12px;
}

.win_modal .form_police .label:before {
  padding: 0;
  top: 1px;
}

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

.messenger-links {
  display: flex;
  gap: 20px;
}

.messenger-links a {
  width: 33.33%;
  height: 90px;
  border: 2px solid #ecf2e0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  transition: .3s;
}

.messenger-links a:hover {
  background: #ecf2e0;
}

.messenger-links a img {
  width: 40px;
}

.close {
  position: absolute;
  background: url(images/modal-close.svg);
  background-size: contain;
  width: 30px;
  height: 30px;
  top: 30px;
  right: 30px;
  cursor: pointer;
  transition: .3s;
}

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

/* Шапка
--------------------*/
.toggle-menu {
  display: none;
}

.header {
  position: fixed;
  width: 100%;
  background: #fff;
  box-shadow: 0px 5px 15px rgba(25, 27, 25, 0.1);
  z-index: 100;
  top: 0;
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 25px 0;
}

.head-col {
  display: flex;
  gap: 25px;
  align-items: center;
}

.header .custom-logo {
  width: 260px;
}

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

.header .menu li a {
  position: relative;
  transition: .3s;
}

.header .menu li a:before {
  content: '';
  position: absolute;
  border-top: 1px solid #138426;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  opacity: 0;
  transition: .3s;
}

.header .menu li a:hover {
  color: #138426;
}

.header .menu li a:hover:before {
  opacity: 1;
  width: 60%;
}

.head-phone {
  position: relative;
  padding-left: 22px;
}

.head-phone a {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.head-phone:before {
  content: '';
  position: absolute;
  background: url(images/call.svg) no-repeat center;
  background-size: contain;
  width: 16px;
  height: 16px;
  top: 6px;
  left: 0;
}

/* 1 Блок
--------------------*/
.block-1 {
  position: relative;
  background-color: #f8f9f8;
  background-image: url(/wp-content/uploads/ff_654678_hjk.png);
  background-repeat: no-repeat;
  background-position: top right 20px;
  background-size: auto 90%;
  margin: 0 calc((-100vw + 100%) / 2);
  padding: 140px calc((100vw - 100%) / 2);
}

.block-1 .shild a {
  position: absolute;
  display: block;
  background: #fff;
  width: 150px;
  height: 150px;
  line-height: 1.3;
  border-radius: 50%;
  padding: 20px 10px;
  top: 180px;
  left: 53%;
  box-shadow: 0px 5px 15px rgba(25, 27, 25, 0.1);
}

.block-1 .shild a:before {
  content: '';
  position: absolute;
  background: url(images/strelka_vniz.svg) no-repeat center;
  width: 32px;
  height: 32px;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  transition: .4s;
}

.block-1 .shild a:hover:before {
  bottom: -15px;
}

.block-1 .shild a mark {
  font-size: 18px;
  text-decoration: underline;
}

.block-1 h3 {
  position: relative;
  margin: 0;
}

.block-1 h3:before {
  content: '';
  position: absolute;
  background: #138426;
  width: 200px;
  height: 2px;
  bottom: -22px;
  left: 0;
}

.block-1 .wp-block-column {
  flex-grow: 0;
  flex-basis: auto;
}

.block-1 .icons {
  gap: 30px;
  margin-bottom: 40px;
}

.block-1 .icons p {
  position: relative;
  padding-left: 50px;
}

.block-1 .icons p strong {
  font-size: 18px;
}

.block-1 .icons p img {
  position: absolute;
  top: 2px;
  left: 0;
}

.block-1 .btn,
.block-1 .btn-invert {
  width: 250px;
}

.block-2 {
  margin-bottom: 20px;
}

.block-2>.wp-block-column {
  width: 50%;
  background: #f3f6e7;
  border-radius: 12px;
  overflow: hidden;
}

.block-2 .wp-block-columns {
  gap: 0;
  height: 100%;
}

.block-2 .img {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.block-2 .img .wp-block-image {
  width: 100%;
  height: 100%;
}

.block-2 .img .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border-left: 5px solid #fff;
}

.block-2 .revers .img .wp-block-image img {
  border-left: 0;
  border-right: 5px solid #fff;
}

.block-2 .img .price {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 160px;
  background: #EEEFF4;
  color: #E73C5C;
  font-weight: 700;
  border-radius: 30px;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
}

.block-2 .revers .img .price {
  right: auto;
  left: 10px;
}

.block-2 .img .price strong {
  position: relative;
  color: #7d817d;
  font-weight: 700;
}

.block-2 .img .price strong:before {
  content: '';
  position: absolute;
  background: #7d817d;
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(12deg);
}

.block-2 .text {
  position: relative;
  padding: 20px 20px 90px;
}

.block-2 .text h3 {
  font-size: 20px;
  margin: 0 0 20px;
}

.block-2 .text p:not(.btn) {
  font-size: 14px;
}

.block-2 .text .btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.block-2 .revers .text .btn {
  right: 20px;
  left: auto;
}

.block-3 {
  margin-top: 80px;
  gap: 30px;
}

.block-3 .wp-block-column {
  width: 50%;
}

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

.block-3 h4 {
  margin: 0;
}

.block-3 h2 {
  margin: 20px 0;
}

.block-3 p {
  margin-top: 15px;
}

.block-4 {
  margin-top: 30px;
}

.block-4 .wp-block-group__inner-container {
  display: flex;
  gap: 20px;
}

.block-4 .wp-block-columns {
  flex-grow: 1;
  border: 2px solid #138426;
  border-radius: 12px;
  gap: 30px;
  padding: 30px;
}

.block-4 .wp-block-column {
  display: flex;
  align-items: center;
  gap: 10px;
}

.block-4 .wp-block-column p {
  font-weight: 700;
}

.block-4 .js-video {
  width: 33.33%;
}

.block-4 .js-video a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: url(/wp-content/uploads/video-fon.jpg) no-repeat bottom left;
  background-size: cover;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 30px;
}

.block-4 .js-video a img {
  position: relative;
  transition: .3s;
}

.block-4 .js-video a:hover img {
  transform: scale(1.1);
}

h2#methods {
  margin-bottom: 10px;
}

.block-5 .wp-block-column {
  padding: 30px 20px 20px;
  border-radius: 10px;
  box-shadow: 0px 0 15px rgba(25, 27, 25, 0.1);
}

.block-5 .wp-block-column:not(:last-child) .wp-block-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
}

.block-5 .wp-block-column:last-child {
  position: relative;
  background: #ecf2e0;
  flex-basis: 22%;
  flex-grow: 0;
  z-index: 1;
}

.block-5 .wp-block-column:last-child:before {
  content: '';
  position: absolute;
  background: #ddecc7;
  width: 200px;
  height: 110px;
  border-radius: 50%;
  top: 0;
  right: 20px;
  z-index: -1;
}

.block-5 .wp-block-column:last-child .wp-block-image {
  margin-top: -70px;
  margin-left: 40px;
  margin-bottom: 30px;
}

.block-5 .wp-block-column:last-child p:not(.btn) {
  font-size: 14px;
  margin-bottom: 20px;
}

.block-5 .wp-block-column:last-child .btn {
  width: 100%;
}

.block-6 {
  gap: 30px;
  margin-top: 80px;
  align-items: flex-end;
}

.block-6 h2 {
  margin: 0 0 10px;
}

.block-6 .wp-block-column:last-child .wp-block-image {
  position: relative;
}

.block-6 .wp-block-column:last-child .wp-block-image figcaption {
  position: absolute;
  width: max-content;
  background: #fff;
  border-radius: 7px;
  left: 20px;
  bottom: 20px;
  padding: 15px 30px;
}

.block-6 .wp-block-column:last-child img {
  border-radius: 12px;
}

.quiz_item {
  margin-top: 20px;
}

.quiz_item:not(.step1) {
  display: none;
}

.quiz_item h3 {
  font-size: 22px;
  height: 58px;
  display: flex;
  align-items: flex-end;
  margin: 0 0 20px;
}

.quiz_item .labels-block {
  height: 220px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.quiz_item .radio-check {
  width: calc(50% - 10px);
}

.quiz_item .radio-check label {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  gap: 8px;
  background: #ecf2e0;
  border-radius: 7px;
}

.quiz_item .radio-check label:before {
  content: '';
  background: url(images/checked.svg) no-repeat center;
  background-size: cover;
  width: 30px;
  height: 30px;
  opacity: .2;
  transition: .3s;
}

.radio-check input[type='radio']:checked+label:before {
  opacity: 1;
}

.quiz_item.step21 .labels-block {
  display: block;
}

.quiz_item .labels-block .name {
  font-size: 18px;
  font-weight: 600;
  margin-left: 25px;
  margin-bottom: 3px;
}

.quiz_item .labels-block .input_your {
  max-width: 560px;
}

.quiz_line {
  background: #f7f7f6;
  height: 3px;
  overflow: hidden;
  margin: 30px 0 20px;
}

.quiz_line .track {
  background: #138426;
  width: 0;
  height: 3px;
  transition: width .3s ease-in;
}

.block-6 .buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.block-6 .buttons .prevstep,
.block-6 .buttons .nextstep {
  width: 125px;
}

.block-6 .buttons .prevstep.hidden {
  visibility: hidden;
}

.buttons [type='submit'] {
  display: none;
  width: 125px;
  font-size: 16px;
  line-height: 1.5;
}

.block-7 {
  width: 100%;
  max-width: 800px;
  gap: 40px;
  margin: auto;
}

.block-7 .wp-block-column {
  border-radius: 12px;
  overflow: hidden;
}

.block-7 img {
  width: 100%;
}

.block-7 .caption {
  position: relative;
  background: #ecf2e0;
  border-radius: 12px;
  padding: 20px 20px 30px;
  margin-top: -50px;
  z-index: 5;
}

.block-7 .caption h3 {
  color: #138426;
  margin: 0 0 10px;
}

.block-7 .caption .stag {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 20px;
}

.block-7 .caption .prof {
  height: 72px;
  font-weight: 500;
  margin-bottom: 10px;
}

.block-7 .caption .stag img {
  height: 20px;
}

.block-7 .caption .js-call {
  position: relative;
  color: #138426;
  width: max-content;
  margin: auto;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.block-7 .caption .js-call:before {
  content: '';
  position: absolute;
  border-top: 1px solid #138426;
  width: 30%;
  height: 1px;
  bottom: -2px;
  left: 0;
  transition: .3s;
}

.block-7 .caption .js-call:hover:before {
  width: 100%;
}

.block-8 {
  align-items: center;
  gap: 40px;
  margin-top: 80px;
}

.block-8 .wp-block-column {
  width: 50%;
  flex-shrink: 0;
}

.block-8 .wp-block-column .portfolio img {
  border-radius: 12px;
}

.block-8 .wp-block-image,
.block-8 .wp-block-image img {
  width: 585px;
}

.block-8 h3 {
  font-size: 20px;
  margin: 0;
}

.block-8 h2 {
  margin: 25px 0;
}

.block-8 li {
  position: relative;
  font-size: 14px;
  padding-left: 20px;
  margin-bottom: 10px;
}

.block-8 li:before {
  content: '';
  position: absolute;
  background: #138426;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 6px;
  left: 0;
}

.block-8 .icons {
  border: 2px solid #138426;
  border-radius: 7px;
  padding: 20px;
  margin-top: 20px;
}

.block-8 .icons p {
  position: relative;
  padding-left: 50px;
  line-height: 1.2;
}

.block-8 .icons p img {
  position: absolute;
  top: 1px;
  left: 0;
}

.block-9 {
  background-color: #dcf7e1;
  background-image: url(/wp-content/uploads/pro-fon.jpg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  align-items: center;
  border-radius: 12px;
  gap: 40px;
  padding: 30px 40px;
  margin: 80px 0 30px;
}

.block-9 .wp-block-image {
  border: 7px solid #fff;
  border-radius: 15px;
  overflow: hidden;
}

.block-9 h2 {
  font-size: 48px;
  margin-top: 0;
}

.block-9 .btn-invert {
  margin-top: 50px;
}

.stars-box {
  position: relative;
  width: 100px;
}

.stars-box img {
  width: 100px !important;
  max-width: none;
}

.stars-gold {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.reviews-head {
  background: #f7f7f6;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.reviews-head .cat-tabs-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews-head .cat-tabs-list ul {
  display: flex;
  align-items: center;
}

.reviews-head .cat-tabs-list ul li {
  width: 230px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 15px;
  cursor: pointer;
  transition: .3s;
}

.reviews-head .cat-tabs-list ul li.active {
  background: #ecf2e0;
}

.reviews-head .cat-tabs-list ul li img {
  width: auto;
  height: 22px;
}

.reviews-head .stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.reviews-head .stars .rate {
  font-size: 20px;
  font-weight: 500;
}

.reviews-head .stars .grade {
  font-size: 12px;
  color: #757575;
}

.reviews-head .stars .stars-box {
  width: 140px;
}

.reviews-head .stars .stars-box img {
  width: 140px !important;
}

.reviews-head .links-button {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.reviews-head .links-button .btn {
  width: 310px;
}

.reviews-head .links-button .btn.hidden {
  visibility: hidden;
}

.tab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.review-item {
  display: none;
  width: calc((100% - 40px) / 3);
  border-radius: 12px;
  box-shadow: 0px 0 15px rgba(25, 27, 25, 0.1);
  padding: 30px;
}

.review-item .col-title {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.review-item .col-title .avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0px 0 15px rgba(25, 27, 25, 0.1);
}

.review-item .col-title h3 {
  font-size: 18px;
  margin: 0;
}

.review-item .col-title .date {
  font-size: 13px;
}

.review-item .review-content {
  max-height: 3lh;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-item .review-content.full {
  max-height: none;
  display: block;
}

.review-item .review-readmore {
  font-size: 13px;
  margin-top: 10px;
  cursor: pointer;
}

.review-item .review-link {
  display: inline-block;
  color: #138426;
  border-bottom: 1px solid #138426;
  font-size: 14px;
  margin-top: 20px;
}

.block-10 .reviews-open {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 30px;
}

.block-11 {
  gap: 30px;
}

.block-11 .wp-block-column:first-child {
  border: 4px solid #F7F7F6;
  border-top-width: 3px;
  border-radius: 12px;
  overflow: hidden;
}

.block-11 .wp-block-column:last-child {
  background: #ddecc7;
  border-radius: 12px;
  padding: 30px 40px;
}

.block-11 .wp-block-column:last-child .wp-block-image {
  text-align: center;
}

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

.block-installment {
  background-color: #138426;
  background-image: url(/wp-content/uploads/actia-fon.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  border-radius: 12px;
  padding: 30px 0 30px 60px;
  margin-top: 80px;
}

.block-installment .wp-block-columns {
  gap: 50px;
}

.block-installment .wp-block-column {
  flex-shrink: 0;
}

.block-installment .wp-block-columns .wp-block-column:first-child {
  width: 175px;
  height: 175px;
  flex-basis: 175px;
  flex-grow: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  border-radius: 12px;
}

.block-installment .wp-block-columns .wp-block-column:first-child p {
  line-height: 1.2;
}

.block-installment .wp-block-columns .wp-block-column:last-child {
  flex-grow: 1;
}

.block-installment h3 {
  font-size: 28px;
  color: #fff;
  margin: 0 0 20px;
}

.block-installment .wp-block-columns .wp-block-column:last-child p:not(.js-installment) {
  color: #fff;
  margin-bottom: 15px;
}

.block-installment .js-installment {
  width: max-content;
  background: #fff;
  color: #138426;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 50px;
  cursor: pointer;
}

.block-actia {
  background-color: #138426;
  background-image: url(/wp-content/uploads/actia-fon-2.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  border-radius: 12px;
  padding: 30px 0 30px 60px;
  margin-top: 80px;
}

.block-actia .wp-block-columns {
  gap: 50px;
}

.block-actia .wp-block-column {
  flex-shrink: 0;
}

.block-actia .wp-block-columns .wp-block-column:first-child {
  width: 190px;
  height: 190px;
  flex-basis: 190px;
  flex-grow: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  border-radius: 12px;
}

.block-actia .wp-block-columns .wp-block-column:first-child p {
  line-height: 1.2;
}

.block-actia .wp-block-columns .wp-block-column:first-child .sale {
  position: relative;
}

.block-actia .wp-block-columns .wp-block-column:first-child .sale:before {
  content: '';
  position: absolute;
  background: #9e9e9e;
  width: 100%;
  height: 5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(12deg);
}

.block-actia .wp-block-columns .wp-block-column:last-child {
  flex-grow: 1;
}

.block-actia h3 {
  font-size: 28px;
  color: #fff;
  margin: 0 0 20px;
}

.block-actia .wp-block-columns .wp-block-column:last-child p:not(.js-actia) {
  color: #fff;
  margin-bottom: 15px;
}

.block-actia .js-actia {
  width: max-content;
  background: #fff;
  color: #138426;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 50px;
  cursor: pointer;
}

/* карта
--------------------*/
.block-map {
  display: flex;
  gap: 100px;
  width: 100%;
  max-width: 1170px;
  background: #f7f7f6;
  border-radius: 12px;
  margin: 80px auto 0;
  padding: 30px;
}

#map {
  height: 100%;
}

.block-map-map {
  flex-grow: 1;
  border: 7px solid #fff;
  border-radius: 15px;
  overflow: hidden;
}

.block-map-info {
  flex-shrink: 0;
}

.map-title {
  font-weight: bold;
  font-size: 26px;
  color: #138426;
  margin-bottom: 20px;
}

.map-content {
  position: relative;
  flex-shrink: 0;
  font-weight: 600;
  padding-left: 28px;
  margin-bottom: 15px;
}

.map-content:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 5px;
  left: 0;
}

.map-content.cont-1:before {
  background: url(images/map.svg) no-repeat center;
  background-size: contain;
}

.map-content.cont-2:before {
  background: url(images/call.svg) no-repeat center;
  background-size: contain;
}

.map-content.cont-3:before {
  background: url(images/mail.svg) no-repeat center;
  background-size: contain;
}

.map-content.cont-4:before {
  background: url(images/clock.svg) no-repeat center;
  background-size: contain;
  top: 5px;
}

.block-map-info .btn {
  margin-top: 25px;
}

/* footer
--------------------*/
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  max-width: 1170px;
  padding: 50px 0 35px;
  margin: 0 auto;
}

.footer-col {
  flex-shrink: 0;
}

.footer-col-big {
  flex-shrink: 0;
}

.footer .custom-logo {
  width: 250px;
  margin-bottom: 15px;
}

.footer .copy {
  color: #7d817d;
}

.footer .menu {
  column-count: 2;
  column-gap: 100px;
}

.footer .menu li {
  margin-bottom: 15px;
}

.footer .menu li a {
  font-weight: 500;
  transition: .3s;
}

.footer .menu li a:hover {
  color: #138426;
}

.footer .phone {
  display: block;
  font-weight: 600;
  font-size: 20px;
}

.footer .messenger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.footer .messenger a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #138426;
  border-radius: 7px;
}

.footer .messenger a:before {
  content: '';
  width: 20px;
  height: 20px;
}

.footer .whatsapp:before {
  background: url(images/whatsapp.svg) no-repeat center;
  background-size: contain;
}

.footer .telegram:before {
  background: url(images/telegram.svg) no-repeat center;
  background-size: contain;
}

.footer .max:before {
  background: url(images/max.svg) no-repeat center;
  background-size: contain;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  -webkit-overflow-scrolling: touch;
  z-index: 90;
}

.overlay.active {
  display: block;
}

/* страница спасибо
--------------------*/
.thanks-block .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 70px 0 0;
}

.thanks-block h1 {
  margin: 0;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #138426;
  stroke-miterlimit: 10;
  animation: scale .3s ease-in-out .9s both;
  position: relative;
  margin: 0 auto;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #138426;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;

}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

/* 404
--------------------*/
.text-404 {
  text-align: center;
}

.text-404 h1 {
  color: #138426;
  font-size: 300px;
  margin: 80px 0 50px;
}

.text-404 .btn {
  margin: auto;
}