/*!
Theme Name: dostfin
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dostfin
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

dostfin is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


.popup__close {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.popup__close::before,
.popup__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #000;
    -webkit-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center;
}

.popup__close::before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
        -ms-transform: translate(-50%, -50%) rotate(45deg);
            transform: translate(-50%, -50%) rotate(45deg);
}

.popup__close::after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
        -ms-transform: translate(-50%, -50%) rotate(-45deg);
            transform: translate(-50%, -50%) rotate(-45deg);
}

#all-cities {
    -webkit-column-count: 6;
       -moz-column-count: 6;
            column-count: 6;
}

#cities {
    max-width: 85%;
}
.city-highliter {
    color: #4d8a4a;
    font-size: 1.5em;
    font-weight: 700;
    padding: 10px 0px;
    display: block;
}
.city-item {
    padding-left: 1em;
    padding-bottom: 5px;
    display: block;
}
.custom-list {
    list-style: disc;
    padding-left: 15px;
    font-size: .9em;
}
@media (max-width: 768px) {
    #all-cities {
        -webkit-column-count: 2;
           -moz-column-count: 2;
                column-count: 2;
    }
    .title {
        font-size: 1.45rem!important;
    }
    .calc__form-total-value {
        font-size: 1.8rem!important;
    }
    .calc__form-annual-value, .calc__form-value {
        font-size: 1.35rem!important;
    }
    .calc__consult {
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: flex!important;
        -webkit-box-orient: vertical!important;
        -webkit-box-direction: normal!important;
            -ms-flex-direction: column!important;
                flex-direction: column!important;
    }
}

.type-page p{
    padding-bottom: 1em;
    line-height: 1.5em;
}
.type-page h2{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 140%;
    padding-bottom: .8em;
 }
.type-page h3{
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 140%;
    padding-bottom: .8em;
}


.form__response  {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    background-color: #e6f9ea;
    color: #2e7d32;
    border: 1px solid #c2e0c6;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
h5 {
    font-weight: 600!important;
    padding-bottom: 1em;
    font-size: 1.1em!important;
}
.wp-block-table {
    padding-bottom: 1em;
}

#cookie-consent {
        display:none;
        position:fixed;
        bottom:20px;
        left:20px;
        right:20px;
        max-width:845px;
        margin:auto;
        background:#fff;
        color:#333;
        -webkit-box-shadow:0 0 15px rgba(0,0,0,0.1);
                box-shadow:0 0 15px rgba(0,0,0,0.1);
        border-radius:12px;
        padding:15px;
        z-index:9999;
        font-family:sans-serif;
    }
    .consent-container {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex; gap:16px;-webkit-box-align: center;-ms-flex-align: center;align-items: center;
    }
    #cookie-accept {
        -ms-flex-item-align: start;
            align-self: flex-start;
        background: #4d8a4a;
        color: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        display: inline;
        margin: 0px;
    }
    .cookie-consent-text {
        font-size:15px;
        line-height:1.4;
    }
    .cookie-consent-text a {
        color:#4d8a4a;
        text-decoration:underline;
    }
    @media (max-width:756px) {
        .consent-container{
            -webkit-box-orient:vertical;
            -webkit-box-direction:normal;
                -ms-flex-direction:column;
                    flex-direction:column
        }
        #cookie-accept {
            width: 100%;
        }
        .cookie-consent-text {
            font-size: 14px;
        }
    }


.switch {
    display: inline-block;
    height: 22px;
    position: relative;
    width: 40px;
    margin-right: 10px;
    margin-bottom: 0;
}

.switch input {
  display: none; 
}

.slider-checkbox {
  width: 40px;
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s; 
}

.slider-checkbox:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    width: 16px; 
}

input:checked + .slider-checkbox {
  background-color: #fa7b4e; 
}

input:checked + .slider-checkbox:before {
  -webkit-transform: translateX(16px);
      -ms-transform: translateX(16px);
          transform: translateX(16px); 
        }

.slider-checkbox.round-checkbox {
  border-radius: 34px; 
}

.slider-checkbox.round-checkbox:before {
  border-radius: 50%; 
}
  
  .politic-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: left; 
}

.politic-container span {
  font-size: 14px; 
}

.politic-container span a {
  font-size: 14px;
  text-decoration: underline; 
}

@media screen and (max-width: 576px) {
    .politic-container span {
        padding-left: 12px;
    }
}  
  
  
@media screen and (max-width: 330px) {
    .politic-container span {
        font-size: 10px;
    }
    
    .politic-container span a {
        font-size: 10px;
    }
    
    .custom-btn--popup {
        font-size: 16px;
    }
}  

/* Blog */
.blog {
    padding: 1.5rem 0;
}

.blog-slider__container {
    padding: 0 !important;
}

.blog__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.blog__wrapper.swiper-wrapper {
    -ms-flex-wrap: inherit;
        flex-wrap: inherit;
    gap: 0;
    -webkit-box-pack: inherit;
        -ms-flex-pack: inherit;
            justify-content: inherit;
}

.blog__wrapper.swiper-wrapper .swiper-slide {
    height: auto;
}

/* Blog Card */
.blog__card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    width: calc(33.333% - 17px);
    min-width: 300px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.blog__wrapper.swiper-wrapper .blog__card {
    width: 100%;
    min-width: auto;
    height: 100%;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: 1px solid #eee;
}

.blog__card:hover {
    -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog__wrapper.swiper-wrapper .blog__card:hover {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.blog__card--featured {
    width: calc(66.666% - 17px);
}

/* Article Link */
.blog__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Blog Image */
.blog__image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.blog__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.blog__wrapper .blog__card:hover .blog__image {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
}

/* Blog Content */
.blog__content {
    padding: 20px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

/* Blog Category */
.blog__category {
    display: inline-block;
    background: #f97a4c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    width: auto;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
}

/* Blog Title */
.blog__title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .blog__title {
        font-size: 1.2rem !important;
    }
}

/* Blog Excerpt */
.blog__excerpt {
    color: #4b4b4b;
    margin-bottom: 15px;
    line-height: 1.6;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

/* Blog Meta */
.blog__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Blog Date */
.blog__date {
    color: #4b4b4b;
    font-size: 0.9rem;
}

/* No posts */
.blog__no-posts {
    width: 100%;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.blog-slider__pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.blog-slider__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
    margin: 0 6px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.blog-slider__pagination .swiper-pagination-bullet-active {
    background: #508848;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

/* Pagination */
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
    margin: 40px 0;
}

.pagination__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pagination__item.dots {
    pointer-events: none;
}

.pagination__item:hover,
.pagination__item--active {
    background: #508848;
    color: white;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
}

.pagination__item--active {
    background: #f97a4c;
}

.pagination__item--prev,
.pagination__item--next {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog__card {
        width: calc(50% - 13px);
    }
    
    .blog__card--featured {
        width: calc(100% - 25px);
    }
}

@media (max-width: 768px) {
    .blog__card {
        width: 100%;
    }
    
    .header__title {
        font-size: 2rem;
    }
    
    .pagination {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination__item {
        width: 40px;
        height: 40px;
    }
}

/* Деталка статьи */
.blog__article-content {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
}

.article__header {
    order: 1;
    margin-bottom: 40px;
    text-align: center;
}

.article__header h1 {
    margin-bottom: 30px;
}

.article__category {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.article__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.article__date,
.article__author,
.article__reading-time {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

/* Изображение */
.blog__article-image {
    order: 2;
    margin-bottom: 40px;
}

.blog__article-content .article__navbar {
    order: 3;
    margin-top: 0;
}

.article__thumbnail {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 10px;
}

.article__image-caption {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Контент */
.article__content-detail {
    order: 4;
    position: relative;
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article__content-detail h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
}

.article__content-detail h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

.article__content-detail p {
    margin-bottom: 20px;
    color: #4b4b4b;
}

.article__content-detail ul.wp-block-list li:before {
    top: 5px;
}

.article__content-detail blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #7f8c8d;
}

.article__content-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Навигация */
.article__navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article__nav-prev a,
.article__nav-next a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.article__nav-prev a:hover,
.article__nav-next a:hover {
    text-decoration: underline;
}

/* Похожие статьи */
section.article__related {
    padding: 3rem 0 1rem;
}


@media screen and (max-width: 768px) {
    section.article__related {
        padding: 2rem 0 0.5rem;
    }
}

.article__related {
    margin-bottom: 40px;
}

@media screen and (max-width: 576px) {
    .article__related-header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }

    .article__related-header .title {
        width: 50%;
    }

    .article__related-header .article__btn-all {
        position: relative !important;
        right: 0;
    }
}

.article__related-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.article__related-posts {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.article__related-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.article__related-post:hover {
    -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
            transform: translateY(-5px);
}

.article__related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article__related-image img {
    width: 100%;
    height: 150px;
    -o-object-fit: cover;
       object-fit: cover;
}

.article__related-post-title {
    padding: 15px;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.article__related-date {
    padding: 0 15px 15px;
    color: #7f8c8d;
    font-size: 0.8rem;
    display: block;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .article__title {
        font-size: 2rem;
    }

    .article__meta {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 10px;
    }

    .article__navigation {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 15px;
    }

    .article__share-buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .article__related-posts {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

.article__container {
    position: relative;
}

.article__btn-all {
    position: absolute !important;
    right: 18px;
    top: -12px;
}

@media (max-width: 576px) {
    .article__btn-all {
        top: 0;
    }

    .faq__side-btn {
        width: 100%;
    }
}

/* Слайдер с отзывами */
.reviews-slider {
    position: relative;
    margin-bottom: 120px;
}

.reviews-slider__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 40px 0;
}

.reviews-slider__title {
    font-size: 2.5rem;
    text-align: center;
}

.reviews-slider__btn-all {
    margin-left: auto;
}

.reviews-slider__wrapper {
    position: relative;
    margin: 0 -20px;
}

.reviews-slider__container {
    padding: 20px 0;
}

.reviews-slider__container .swiper-wrapper {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

/* .reviews-slider__container .swiper-slide {
    height: auto;
} */

.reviews-slider__item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border: 1px solid #eee;
}

.reviews-slider__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 20px;
}

.reviews-slider__info {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.reviews-slider__name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.reviews-slider__service {
    display: inline-block;
    background: #f97a4c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    width: auto;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
}

.reviews-slider__date {
    font-size: 0.8rem;
    color: #95a5a6;
}

.reviews-slider__rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 3px;
}

.reviews-slider__star {
    color: #ffd700;
    font-size: 1.2rem;
}

.reviews-slider__star--empty {
    color: #ecf0f1;
}

.reviews-slider__content {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.reviews-slider__text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.reviews-slider__text--expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.reviews-slider__read-more {
    margin-top: 10px;
    color: #4c884a;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    padding: 0;
    font-weight: 500;
}

.reviews-slider__read-more:hover {
    text-decoration: underline;
}

.reviews-slider__video {
    width: 100%;
    height: 280px;
}

.reviews-slider__navigation {
    position: absolute;
    right: 20px;
    bottom: -60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 9;
    pointer-events: none;
}

.reviews-slider__button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
    background: white;
    border: 2px solid #508848;
    color: #508848;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 0;
    pointer-events: auto;
}

.reviews-slider__button:last-child {
    margin-right: 0;
}

.reviews-slider__button:hover {
    background: #508848;
    color: white;
}

.reviews-slider__button--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-slider__button--disabled:hover {
    background: white;
    color: #508848;
}

.reviews-slider__pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 30px;
}

.reviews-slider__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
    margin: 0 6px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.reviews-slider__pagination .swiper-pagination-bullet-active {
    background: #508848;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

@media (max-width: 1024px) {
    .reviews-slider__title {
        font-size: 2.2rem;
    }
    
    .reviews-slider__item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .reviews-slider__container {
        padding: 0;
    }

    .reviews-slider {
        margin: 2rem 0 4rem;
    }

    .reviews-slider__top {
        margin-bottom: 0;
    }

    .reviews-slider__btn-all {
        margin: 0 auto;
        position: absolute;
        top: -16px;
        right: 20px;
    }

    .reviews-slider__title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .reviews-slider__wrapper {
        padding: 0;
    }
    
    .reviews-slider__item {
        padding: 20px;
    }
    
    .reviews-slider__header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 15px;
    }
    
    .reviews-slider__rating {
        -ms-flex-item-align: start;
            align-self: flex-start;
    }
    
    .reviews-slider__button {
        width: 45px;
        height: 45px;
    }

    .reviews-slider__navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .reviews-slider__name {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .reviews-slider__btn-all {
        top: 0;
    }

    .reviews-slider__title {
        max-width: 52%;
        text-align: left;
        font-size: 1.8rem;
    }
    
    .reviews-slider__item {
        padding: 18px;
    }
    
    .reviews-slider__text {
        font-size: 0.95rem;
    }
    
    .reviews-slider__button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .reviews-slider__video {
        width: 100%;
        height: 200px;
    }
}

.services-slider {
    padding: 20px 0 80px;
}

.services-slider__wrapper {
    margin: 0 -20px;
}

.services-slider__container {
    padding: 0 !important;
}

.services-slider__item {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    min-height: 340px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border: 1px solid #eee;
    overflow: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.services-slider__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 12px;
}

.services-slider__bg {
    position: absolute;
    right: 10px;
    bottom: 15px;
    width: 210px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.services-slider__item:hover .services-slider__bg {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
}

.services-slider__bg img {
    width: 100%;
    height: auto;
}

.services-slider__btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background:rgba(214, 223, 106, 0.5);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.services-slider__btn svg {
    width: 18px;
    height: 18px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.services-slider__btn svg path {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.services-slider__item:hover .services-slider__btn {
    background: #4c884a;
}

.services-slider__item:hover .services-slider__btn svg path {
    stroke: #fff;
}

.services-slider__pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 30px;
}

.services-slider__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
    margin: 0 6px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.services-slider__pagination .swiper-pagination-bullet-active {
    background: #508848;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .services-slider__title {
        font-size: 1.2rem;
    }

    .services-slider__bg {
        width: 160px;
    }
}

@media screen and (max-width: 576px) {
    .services-slider__wrapper {
        margin: 0;
    }

    .services-slider__bg {
        width: 210px;
    }
}

@media screen and (max-width: 330px) {
    .services-slider__item {
        min-height: 280px;
    }

    .services-slider__bg {
        width: 160px;
    }
}

.faq-page {
    padding: 1.5rem 0 2rem;
}

/*Табы*/
.services-tabs {
  padding-top: 40px;
}

.services-tabs__navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ecf0f1;
}

.services-tabs__button {
    padding: 15px 25px;
    background: white;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #7f8c8d;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.services-tabs__button:hover {
    color: #4c884a;
    background: #f8f9fa;
}

.services-tabs__button--active {
    color: #4c884a;
    border-bottom-color: #4c884a;
    background: #f8f9fa;
}

.services-tabs__item {
    display: none;
}

.services-tabs__item--active {
    display: block;
}

.services-tabs__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .services-tabs__navigation {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 5px;
    }

    .services-tabs__button {
        border-radius: 8px;
        border-bottom: 2px solid #ecf0f1;
        text-align: center;
    }

    .services-tabs__button--active {
        border-bottom-color: #4c884a;
    }

    .services-tabs__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-tabs__button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .services-tabs__text {
        font-size: 1rem;
    }
}

/* Требования к заемщику */
.user-require {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 40px -1% 0;
    padding: 12px;
    background-color: rgb(255 255 255 / 10%);
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
}

.user-require--green {
    background: rgb(76 136 74 / 10%);
    color: #333;
}

.user-require__col {
    width: 48%;
    margin: 0 1%;
}

.user-require__title {
    font-weight: 600;
    margin-bottom: 8px;
}

.user-require__list {
    padding-left: 20px;
}

.user-require__item {
    list-style: disc;
    margin-bottom: 4px;
}

.user-require__general {
    width: 98%;
    margin: 8px auto 0;
    padding-top: 8px;
    border-top: 1px solid #fff;
}

@media (max-width: 576px) {
    .user-require {
        margin: 40px 0 0;
    }

    .user-require__col {
        width: 100%;
        margin: 0 0 16px;
    }

    .user-require__general {
        width: 100%;
    }
}

.bold {
    font-weight: 600;
}

@media (max-width: 992px) {
    .header {
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
    }

    main.page {
        padding-top: 75px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 120px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: #4c884a;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9;
}

.back-to-top:hover {
    background: #f97b4c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 110px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 340px) {
    .footer__menu {
        flex-flow: column;
    }

    .footer__menu-column {
        flex: auto !important;
    }

    .footer__menu-column:last-child {
        margin-top: 30px !important;
    }
}


@media (max-width: 992px) {
    .history__video {
        width: 100% !important;
    }
}

.is-mobile {
    display: none !important;
}

.is-desktop {
    display: block !important;
}

@media (max-width: 992px) {
    .is-mobile {
        display: block !important;
    }

    .is-desktop {
        display: none !important;
    }
}

.header__location {
    display: none !important;
}

@media (max-width: 992px) {
    .header__callback {
        order: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        flex: 0 !important;
    }
}

.header__socials {
    margin: 24px 0;
}

.header__contacts-phone::before {
    /* font-size: 2.2rem !important;
    font-weight: 600 !important; */
    content: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 0C1.11929 0 0 1.11929 0 2.5V4.5C0 10.299 4.70101 15 10.5 15H12.5C13.8807 15 15 13.8807 15 12.5V11.118C15 10.5499 14.679 10.0305 14.1708 9.77639L11.7549 8.56843C10.9384 8.1602 9.94971 8.56975 9.66105 9.43573L9.36328 10.329C9.25014 10.6684 8.90197 10.8705 8.55114 10.8003C6.35528 10.3612 4.63885 8.64472 4.19967 6.44886C4.12951 6.09803 4.33156 5.74986 4.67097 5.63672L5.7796 5.26718C6.52319 5.01932 6.95058 4.24075 6.76048 3.48035L6.17444 1.1362C6.0075 0.468446 5.40752 0 4.71922 0H2.5Z' fill='%2340703e'/%3E%3C/svg%3E%0A") !important;
}

.icon-menu {
    color: #fff !important;
    background: #f97a4d !important;
}

.types-slider__container {
    padding: 0 !important;
}

.types-slider__pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.types-slider__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
    margin: 0 6px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.types-slider__pagination .swiper-pagination-bullet-active {
    background: #508848;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

@media (max-width: 1000px) {
    .types__list {
        grid-template-columns: none !important;
        display: flex !important;
        gap: 0 !important;
        margin: 3.8rem 0 2rem !important;
    }

    .types__item {
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .dignity__item-caption {
        font-size: 1.2rem !important;
    }

    .types__item-caption {
        font-size: 1.2rem !important;
    }

    .benefits__item-caption {
        font-size: 1.2rem !important;
    }

    .benefits__item-list li {
        font-size: 1rem !important;
    }

    .review__name {
        font-size: 1.2rem !important;
    }
}

.calc__form-range {
    position: relative;
}

.calc__form-label {
    position: absolute;
    z-index: 9;
    top: 10px;
    left: 10px;
    font-size: 14px;
}

.range__input-text {
    font-size: 16px;
    padding: 30px 10px 25px;
    border-radius: 6px;
    position: relative;
    border: 0.0625rem solid rgba(27, 43, 69, 0.31);
    width: 100%;
    font-weight: 600;
}

.range__caption {
    position: absolute !important;
    left: 0 !important;
    bottom: -5px !important;
    width: 100% !important;
}


.term-input__year {
    position: absolute;
    z-index: 9;
    right: 0;
    top: 0;
}

.review__video video {
    width: 100%;
    height: auto;
}

.history__video-poster {
    position: relative;
}

.history__video-btn {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgb(0 0 0 / 50%);
    border-radius: 100%;
    transition: 0.3s;
}

.history__video-poster:hover .history__video-btn {
    background: rgb(0 0 0 / 70%);
    transform: scale(1.1);
}

.history__video-btn svg {
    width: 40px;
    height: 40px;
}

.history__video-btn svg path {
    fill: #fff;
}

.rating-area {
	overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.rating-area:not(:checked) > input {
	display: none;
}
.rating-area:not(:checked) > label {
    margin: 0 6px;
	width: 42px;
	padding: 0;
	cursor: pointer;
	font-size: 32px;
	line-height: 32px;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-area:not(:checked) > label:before {
	content: '★';
}
.rating-area > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label {
	color: gold;
}
.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
	color: gold;
}
.rate-area > label:active {
	position: relative;
}

.reviews__container {
    position: relative;
}

.reviews__btn {
    position: absolute !important;
    top: 55px;
    right: 20px;
}

@media (max-width: 992px) {
    .reviews__btn {
        position: relative !important;
        right: auto;
        top: auto;
        margin-top: 20px;
    }
}

ul.wp-block-list:not(:last-child) {
  margin-bottom: 1.5rem;
}

ul.wp-block-list li {
  position: relative;
  color: #4b4b4b;
  padding-left: 20px;
}

ul.wp-block-list li::before {
    position: absolute;
    left: 0;
    content: "";
    margin-top: 0.35rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    background: #4d8a4a;
}

ul.wp-block-list li:not(:last-child) {
  margin-bottom: 1.12rem;
}

.article__content-preview {
    display: flex;
    flex-direction: column;
}

.article__content-preview .page {
    order: 2;
}

.article__content-preview .article__navbar {
    order: 1;
}

@media (max-width: 992px) {
    .btn {
        padding: 16px 24px !important;
    }

    .contacts .btn {
        width: 100%;
    }

    .benefits__btn {
        width: 100% !important;
    }
}

.form__control {
    text-align: left !important;
}

.form__control::placeholder {
    text-align: left !important;
}

.form__control:focus::-webkit-input-placeholder {
  opacity: 1 !important;
}

.form__control:focus::-moz-placeholder {
  opacity: 1 !important;
}

.form__control:focus:-ms-input-placeholder {
  opacity: 1 !important;
}

.form__control:focus::-ms-input-placeholder {
  opacity: 1 !important;
}

.form__control:focus::placeholder {
  opacity: 1 !important;
}

.article__content-detail h2 {
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 992px) {
    .benefits__item {
        overflow: hidden;
    }

    .benefits__item-picture {
        margin: auto -2.75rem -4.5rem -2.15rem !important;
    }
}

@media (max-width: 576px) {
  .promo__image {
    margin-bottom: 10px !important;
  }

  .promo__image img {
    max-width: 15rem !important;
  }

  .promo__btns {
    flex-flow: column !important;
  }

  .promo__btn {
    width: 100% !important;
  }

  .benefits__item-desc {
    margin-bottom: 20px !important;
  }

  .benefits__item-picture {
    margin: -20px -2rem -2.5rem auto !important;
    height: 220px !important;
  }

  .benefits__item-picture img {
    height: 100% !important;
  }

  .guarantees__image {
    text-align: center !important;
  }
  
  .guarantees__image:before {
    top: 44% !important;
    width: 9.5rem !important;
    height: 9.5rem !important;
  }

  .guarantees__image img {
    max-width: 240px !important;
  }

  .blog__image-wrapper {
    height: 240px;
  }

  .types__item {
    padding: 30px !important;
  }

  .types__item img {
    max-width: 80px;
    margin-bottom: 10px;
  }

  .benefits {
    padding: 3rem 0 !important;
  }

  .benefits__list {
    margin-top: 3rem !important;
  }

  .calc__consult {
    margin-top: 2rem !important;
  }

  .history {
    padding: 3rem 0 !important;
  }

  .dignity {
    padding: 3rem 0 !important;
  }

  .types {
    padding: 3rem 0 !important;
  }

  .steps {
    padding: 2rem 0 5rem !important;
  }

  .article__navbar {
    margin-top: 1rem !important;
  }

  .article__content-detail {
    font-size: 16px;
  }

  .article__content-detail h2 {
    font-size: 1.2rem;
  }

  /* .guarantees__item {
    position: relative !important;
  }

    .guarantees__item:before {
        position: absolute;
        left: 0;
        top: 0;
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .guarantees__item-caption {
        padding-left: 40px;
        margin-bottom: 35px;
    } */
}

article.toc {
    display: flex;
    flex-direction: column;
}

article.toc .page {
    order: 2;
}

article.toc .article__navbar {
    order: 1;
}

.popup__success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup__success-title {
    font-size: 32px !important;
    margin-top: 12px !important;
}

.popup__success-desc {
    font-size: 18px;
    margin-top: 12px;
    text-align: center;
    color: #4b4b4b;
}

.popup__success-close {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .popup__success-title {
        font-size: 21px !important;
    }

    .popup__success-desc {
        font-size: 14px;
    }
}

.calc__main {
    order: 2;
    padding-left: 40px;
}

@media (max-width: 992px) {
    .calc__body {
        -webkit-box-shadow: .25rem .25rem 6.25rem rgba(66, 114, 63, .15);
        box-shadow: .25rem .25rem 6.25rem rgba(66, 114, 63, .15);
        border-radius: 1.25rem;
        overflow: hidden;
    }

    .calc__main {
        border-radius: 0 !important;
        background: #fff;
        padding: 40px;
        margin-top: -20px;
        border-top: 1px solid #e7bbbb;
    }

    .calc__form {
        padding: 40px !important;
        border-radius: 0 !important;
    }

    .calc__image {
        display: none;
    }
}

@media (max-width: 576px) {
    .calc__body {
        display: flex !important;
        flex-direction: column;
    }

    .calc__main {
        padding: 20px;
    }

    .calc__form {
        padding: 26px !important;
    }
}

@media (min-width: 992px) {
    .promo__image img {
        max-width: 400px !important;
    }
}


.types__list--large {
    grid-template-columns: repeat(2, 1fr) !important;
}

.types__item--large {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
}

.types__item--full {
    grid-column: 1 / -1;
}

.types__item-left {
    width: 60%;
    padding-right: 10px;
}

.types__item-right {
    width: 40%;
}

.types__item-btn {
    margin-top: 20px !important;
}

@media (max-width: 992px) {
    .types__item--large {
        flex-flow: column;
        justify-content: center;
    }
    
    .types__item-right {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }

    .types__item-left {
        order: 2;
        width: 100%;
    }

    .types__item-img img {
        width: auto;
        max-width: none !important;
        height: 220px;
    }

    .types__item-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {

    .types__list--large {
        margin-top: 30px !important;
    }

    .types__item-img img {
        height: 180px;
    }
}

.problems__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
    padding-top: 40px;
}

.problems__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 31.33%;
    margin: 0 1% 30px;
}

.problems__item-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.problems__item-icon:before {
    position: absolute;
    top: 0;
    left: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f9fae9;
    color: #4d8a4a;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    padding-left: 12px;
    padding-top: 14px;
}

.problems__item-title {
    position: relative;
    width: calc(100% - 2.5rem);
    font-size: 21px;
    padding-left: 10px;
}

@media (max-width: 1200px) {
    .problems__item {
        background: #fff;
        border-radius: 20px;
        border: .0625rem solid rgba(0, 0, 0, .27);
    }

    .problems__item-title {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .problems__item {
        width: 48%;
    }
}

@media (max-width: 576px) {
    .problems__list {
        padding-top: 30px;
    }

    .problems__item {
        margin: 0 1% 15px;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .problems__item-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .problems__item-icon:before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.5rem;
        padding-left: 7px;
        padding-top: 8px;
    }

    .problems__item-title {
        width: calc(100% - 1.5rem);
    }
}

@media (max-width: 380px) {
    .problems__item {
        width: 100%;
    }
}


.callback {
    margin: 2rem 0 4rem;
}

.callback__wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: -webkit-gradient(linear, left top, left bottom, from(#72bb6e), to(#466b44));
    background: linear-gradient(180deg, #72bb6e 0%, #466b44 100%);
    -webkit-box-shadow: .25rem .25rem 6.25rem rgba(66, 114, 63, .15);
    box-shadow: .25rem .25rem 6.25rem rgba(66, 114, 63, .15);
    color: #fff;
    padding: 60px 80px;
    border-radius: 8px;
}

.callback__content {
    max-width: 600px;
    z-index: 9;
}

.callback__desc {
    padding: 20px 0 30px;
}

.callback__bg {
    position: absolute;
    right: 80px;
    bottom: 0;
    width: 400px;
    height: 400px;
    background: url('/wp-content/themes/dostfin/img/woman-form.png');
    background-size: 100%;
}

@media (max-width: 1200px) {
    .callback__wrapper {
        padding: 30px 50px;
    }

    .callback__bg {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .callback__wrapper {
        padding: 30px;
    }

    .callback__content {
        max-width: none;
        padding-right: 260px;
    }

    .callback__bg {
        right: 30px;
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 576px) {
    .callback__wrapper {
        padding: 30px;
    }

    .callback__content {
        z-index: 9;
        padding-bottom: 30px;
        padding-right: 0;
    }

    .callback__btn {
        width: 100%;
    }

    .callback__bg {
        right: 10px;
        width: 200px;
        height: 200px;
        opacity: 0.7;
    }
}

.contacts {
    padding: 4rem 0 3rem !important;
}

.steps__btn {
    padding-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .steps__item-caption {
        font-size: 1.2rem !important;
    }

    .steps__btn .btn {
        width: 100%;
    }

    .article__content h2 {
        font-size: 1.2rem !important;
    }

    .contacts__phone {
        font-size: 1.2rem !important;
    }

    .case__title {
        font-size: 1.2rem !important;
    }

    .case__item-caption {
        font-size: 1rem !important;
    }

    .case__item-desc--large {
        font-size: 1rem !important;
    }

    .works__item-title {
        font-size: 1.2rem !important;
    }

    .type-page h2 {
        font-size: 1.2rem !important;
    }
}

.contacts__info {
    margin-top: 20px;
}

.contacts__info-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1%;
}

.contacts__info-item {
    width: 48%;
    margin: 0 1%;
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
    background: rgb(76 136 74 / 10%);
    color: #333;
}

.contacts__info-title {
    font-weight: bold;
    margin-bottom: 4px;
}

@media (max-width: 1200px) {
    .contacts__info-item {
        width: 100%;
        margin: 0 1% 10px;
    }

    .contacts__info-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .contacts__body {
        display: flex !important;
        flex-flow: column !important;
    }

    .contacts__form {
        order: 2;
        padding: 20px !important;
    }

    .contacts__column {
        order: 1;
        padding: 20px !important;
    }

    .contacts__map {
        order: 2;
        width: 100%;
    }

    .contacts__main {
        width: 100%;
        padding-left: 0 !important;
    }
}

.icon-vk-fill:before {
  content: "\e913";
  font-size: 12px;
  color: #086ee2;
}

.history-about {
    padding-top: 4rem !important;
}

@media (max-width: 992px) {
    .feedback__main {
        flex: 0 0 100% !important;
    }

    .feedback__image {
        display: none !important;
    }
}

.steps__other {
    margin-top: 40px;
}

.types-car {
    background: none !important;
}

.menu-parent--large {
    position: initial !important;
}

.submenu-large {
    top: calc(100% - 24px);
    left: 0;
    position: absolute;
    color: #111827;
    z-index: 11;
    width: 100%;
    -webkit-transform-origin: center top;
        -ms-transform-origin: center top;
            transform-origin: center top;
    -webkit-transition: opacity 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
    transition: opacity 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
    min-width: 20rem;
    opacity: 0;
    visibility: hidden;
    will-change: transform;
    -webkit-transform: translate3d(0, -0.4375rem, 0);
            transform: translate3d(0, -0.4375rem, 0);
}

.submenu-large::before {
    content: "";
    position: absolute;
    z-index: -9;
    top: 0;
    left: -25vw;
    width: 100vw;
    height: 100%;
    background: #fff;
}

.submenu-large::after {
    content: "";
    position: absolute;
    z-index: -9;
    top: 0;
    right: -25vw;
    width: 100vw;
    height: 100%;
    background: #fff;
}

.menu__item.menu-parent:hover .submenu-large {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.submenu-large__wrapper {
    position: relative;
    padding: 30px 0;
    margin-top: 30px;
    background: #fff;
}

.submenu-large__wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    z-index: 9;
    left: -25vw;
    width: 150vw;
    height: .0625rem;
    background: #e8e8e8;
}

.submenu-large__list {
    display: flex;
    gap: 60px;
}

.submenu-large__title {
    color: #787878;
    font-weight: bold;
    margin-bottom: 24px;
    display: block;
}

.submenu-large__menu-item {
    max-width: 320px;
    margin-bottom: 16px;
}

.submenu-large__menu-item a {
    transition: 0.3s;
}

.submenu-large__menu-item a:hover {
    color: #4d8a4a;
}

.submenu-large__overlay {
    position: fixed;
    left: -25vw;
    top: 1px;
    z-index: -999999;
    width: 150vw;
    height: 150vh;
    background: #000;
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 992px) {
    .submenu-large {
        top: auto;
        left: auto;
        position: relative;
        transform: none;
        margin-top: 1rem;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .submenu-large.open {
        display: block;
    }

    .submenu-large::before {
        display: none;
    }

    .submenu-large::after {
        display: none;
    }

    .submenu-large__wrapper {
        margin: 0;
        padding: 0;
    }

    .submenu-large__wrapper::before {
        display: none;
    }

    .submenu-large__list {
        display: block;
    }

    .submenu-large__item {
        max-width: 33.75rem;
        margin: 0 auto 30px;
        padding: 0;
    }
    
    .submenu-large__item:last-child {
        margin-bottom: 0;
    }

    .submenu-large__title {
        font-weight: initial;
        margin: 0 0 20px;
        display: block;
    }

    .submenu-large__menu {
        padding-left: 20px;
    }

    .submenu-large__menu-item a {
        font-weight: 300;
    }

    .submenu-large__overlay {
        display: none;
    }
}

@media (max-width: 576px) {
    .submenu-large__item {
        padding-left: 12px;
    }
}