/*
    Theme Name: Правовой эксперт 27-06
    Author: Бурханов Ильдар
    Author URI: https://vk.com/burhanoff1992
    Description: Ведущие налоговые эксперты снизят Ваши риски и помогутбезболезненно пройти камеральные и выездные проверки.
    Requires at least: 6.1
    Tested up to: 6.3
    Requires PHP: 5.6
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    Text Domain: pravx
    Tags: tag1, tag2, tag3
*/
:root {
    /* fonts */
    --font-default: "Manrope", sans-serif;

    /* font-size 56-24 */
    --font-title: clamp(1.5rem, 0.5rem + 4vw, 3.5rem);
    /* font-size 36-25 */
    --font-size-36: clamp(1.625rem, 1.313rem + 1.25vw, 2.25rem);
    /* font-size 40-26 */
    --font-size-40: clamp(1.625rem, 1.187rem + 1.75vw, 2.5rem);

    /* colors */
    --header-bg: #0F0F0F;
    --color-title: #212121;
    --color-main: #212529;
    --color-secondary: #181818;
    --text-white: #ffffff;
    --text-header-link: #85848A;
    --black: #000000;
    --ltblue: #F8FAFF;
    --light: #f6f5f5;
    --white: #ffffff;
    --heading-color: #646464;
    --gray: #8e8e8e;
    --button-border-color-rgba: rgba(233, 233, 233, 0.4);
    --service-border-color-rgba: rgba(64, 66, 71, 0.2);
    --service-border-color-hover-rgba: rgba(64, 66, 71, 1);
    --spec-info-bg: #262626;
    --red: #C34249;
    --dark: #202020;

    /* etc... */
    /* --section-padding: 64px 0 calc(80px + var(--section-radius)); */
    --section-padding: 64px 0 calc(34px + var(--section-radius));
    --page-padding: clamp(24px, calc(24px + 40 * ((100vw - 400px) / 880)), 64px);
    --page-padding-md: clamp(24px, calc(24px + 16 * ((100vw - 400px) / 880)), 40px);
    --page-padding-sm: clamp(16px, calc(16px + 8 * ((100vw - 400px) / 880)), 24px);
    --u-mt-top-section: clamp(24px, calc(24px + 18 * ((100vw - 400px) / 880)), 42px);
    --section-radius: 30px;
    --header-sticky-offset: 160px;
    --trans-all: all 0.2s linear;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

/* ::-webkit-scrollbar {
    display: none;
} */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

body {
    font-family: var(--font-default);
    font-size: 16px;
    background-color: var(--white);
    color: var(--color-main);
}

img,
svg {
    vertical-align: middle;
}

button,
input,
select,
textarea {
    font-family: var(--font-default);
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

p,
ul,
ol,
li {
    margin-bottom: 0px;
    margin-top: 0px;
    line-height: 1.2;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 500;
    line-height: 1.2;
}

.visually-hidden-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-main :where(p, h2, h3, h4, h5, h6, ul) {
    margin-bottom: 0;
}

.site-main {
    background-color: var(--ltblue);
}

@media (max-width: 1200px) {
    .home .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.section {
    /* padding: var( --page-padding); */
    margin-top: var(--page-padding);
    margin-bottom: var(--page-padding);
    border-radius: var(--section-radius) var(--section-radius) 0 0;
    /* margin-top: calc(var(--section-radius) * -1); */
    position: relative;
}

.section-padding {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--page-padding);
    padding-bottom: var(--page-padding);
    position: relative;
}

.section-light {
    background-color: var(--ltblue);
}

.section-head,
.section-heading {
    font-size: 16px;
    font-weight: 400;
    color: var(--heading-color);
}

.section-head {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
}

.section-heading {
    margin: 0;
}

.section-title {
    font-weight: 700;
    font-size: var(--font-size-36);
    color: var(--color-secondary);
}

.section-title-new {
    font-weight: 800;
    font-size: var(--font-title);
    color: var(--color-title);
    position: relative;
    display: flex;
    flex-flow: column;
    margin-bottom: 0;
}

.row-title-block .title-new-wrapper {
    padding-left: 50px;
}

.section-title span {
    color: var(--red);
}

.section-title-new::before {
    content: 'Правовой Эксперт';
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--red);
}

.section-margin {
    margin-left: 8px;
    margin-right: 8px;
}

.u-mt-section {
    margin-top: var(--u-mt-top-section);
}

img,
svg {
    max-width: 100%;
}

/* ПОИСК SITE SEARCH */
.asl_w_container {
    max-width: 100% !important;
}

/* BREADCRUMBS */
.page-breadcrumbs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}

.pravx-breadcrumbs {
    display: flex;
    align-items: center;
    padding: 12px 0;
    flex-flow: wrap;
    gap: 7px;
    font-size: 13px;
    color: var(--color-main);
}

.pravx-breadcrumbs a {
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-header-link);
    text-decoration: none;
}

.pravx-breadcrumbs-separator {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pravx-breadcrumbs a:hover {
    text-decoration: underline;
}

.pravx-breadcrumbs-current {
    font-weight: 500;
    font-size: 13px;
}

.block {
    padding: 24px 35px 24px 24px;
    border-radius: 10px;
}

.buttons-new-wrap {
    display: flex;
    flex-flow: wrap;
    gap: 15px;
}

.button {
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 40px;
    line-height: 1.0;
    background-color: transparent;
    color: var(--text-white);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    overflow: hidden;
    border: unset;
}

.button[disabled] {
    opacity: 0.6;
}

.button-sm {
    padding: 0 15px;
    font-weight: 600;
    color: inherit;
}

div.asl_m {
    z-index: 1 !important;
}

.button-lg {
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
}

.button-icon {
    display: inline-block;
    font-size: 10px;
    margin-left: 12px;
    margin-top: 2px;
    vertical-align: middle;
}

.button-icon-new {
    display: flex;
    justify-content: center;
    margin-left: 14px;
    border-radius: 100%;
    width: 16px;
    height: 16px;
}

.button-dark:hover {
    border-color: var(--black);
    color: var(--black);
    background-color: var(--black);
}

.button-dark:hover .button-icon::before {
    color: var(--text-white);
}

.button-dark {
    border-color: var(--button-border-color-rgba);
    color: var(--black);
}

.button-dark-border {
    border-color: var(--black);
}

.button-dark-border:hover {
    color: var(--text-white)
}

.button-dark .button-icon::before {
    color: var(--red);
}

.button-circle {
    width: 40px;
    padding: 0 !important;
    text-align: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
}

.button-circle .button-icon {
    margin-left: 0;
}

.button-sharper {
    border-radius: 13px;
    border-color: #5479F7;
    background-color: #5479F7;
}

.button-tg {
    border-color: #2AABEE;
    background-color: transparent;
    color: var(--dark);
    margin-top: 3rem;
    backdrop-filter: blur(25px);
}

.button-tg .button-icon {
    font-size: 18px;
}

.button-tg .button-icon::before {
    color: #2AABEE;
}

.button-label {
    display: flex;
    padding: 28px;
    background-image: url('frontend/assets/img/icons/hero-circle-text.png');
    background-position: right top;
    background-repeat: no-repeat;
}

.button-red {
    background-color: var(--red);
    border-color: var(--red);
}

/* SOCIAL LINKS ИКОНКИ СОЦ.СЕТЕЙ */
.social-link {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0px 16px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    position: relative;
    min-height: 48px;
}

.soc-icon:before {
    content: '';
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-link.tg {
    background: #44afe5;
}

.soc-icon.tg:before {
    background-image: url("data:image/svg+xml,%3Csvg width='27' height='23' viewBox='0 0 27 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.83308 9.51508C8.99332 6.3962 13.7668 4.33997 16.1535 3.34638C22.9761 0.509535 24.392 0.0168373 25.3168 0.000145439C25.5202 -0.00311619 25.973 0.0471508 26.2684 0.286017C26.514 0.487471 26.5831 0.759913 26.6176 0.951198C26.6483 1.14229 26.6905 1.57781 26.656 1.91779C26.2876 5.80105 24.6875 15.2245 23.874 19.5739C23.5325 21.4143 22.8533 22.0313 22.1972 22.0915C20.7697 22.2228 19.6876 21.1491 18.3062 20.2439C16.1459 18.8268 14.9256 17.945 12.8267 16.5625C10.4016 14.9647 11.9748 14.0863 13.3562 12.6512C13.7169 12.2756 20.0023 6.56005 20.1212 6.04164C20.1366 5.97679 20.1519 5.73505 20.0061 5.60765C19.8641 5.47987 19.6531 5.52362 19.4996 5.55815C19.2809 5.60727 15.8312 7.88964 9.13913 12.4049C8.16064 13.0779 7.27425 13.406 6.47611 13.3887C5.60122 13.3699 3.91285 12.893 2.65808 12.4855C1.1232 11.9855 -0.100871 11.7211 0.00657088 10.8719C0.0602918 10.4299 0.670408 9.97747 1.83308 9.51508Z' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 26px;
    height: 22px;
}

.social-link.max {
    background: linear-gradient(90deg, #3cb3fe 0%, #3d48eb 54.81%, #763fe5 100%);
}


.soc-icon.max:before {
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='18' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.36874 17.453C7.56857 17.453 6.732 17.2012 5.27786 16.1938C4.35806 17.3271 1.4454 18.2128 1.31837 16.6975C1.31837 15.56 1.05557 14.5988 0.757728 13.5494C0.40296 12.2566 0 10.8169 0 8.73073C0 3.74833 4.2661 0 9.32057 0C14.3794 0 18.3433 3.93302 18.3433 8.77689C18.3603 13.5459 14.345 17.4276 9.36874 17.453ZM9.44321 4.30659C6.98167 4.18487 5.06323 5.81769 4.63838 8.37814C4.28798 10.4979 4.90994 13.0793 5.43991 13.2136C5.69395 13.2724 6.33343 12.7771 6.732 12.3951C7.39107 12.8314 8.15856 13.0935 8.95704 13.1549C11.5076 13.2724 13.687 11.4116 13.8582 8.97C13.9579 6.52321 11.9941 4.45082 9.44321 4.3108V4.30659Z' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 23px;
}

.soc-icon.subscribe-tg:before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM14.64 6.8C14.49 8.38 13.84 12.22 13.51 13.99C13.37 14.74 13.09 14.99 12.83 15.02C12.25 15.07 11.81 14.64 11.25 14.27C10.37 13.69 9.87 13.33 9.02 12.77C8.03 12.12 8.67 11.76 9.24 11.18C9.39 11.03 11.95 8.7 12 8.49C12.0069 8.45819 12.006 8.42517 11.9973 8.3938C11.9886 8.36244 11.9724 8.33367 11.95 8.31C11.89 8.26 11.81 8.28 11.74 8.29C11.65 8.31 10.25 9.24 7.52 11.08C7.12 11.35 6.76 11.49 6.44 11.48C6.08 11.47 5.4 11.28 4.89 11.11C4.26 10.91 3.77 10.8 3.81 10.45C3.83 10.27 4.08 10.09 4.55 9.9C7.47 8.63 9.41 7.79 10.38 7.39C13.16 6.23 13.73 6.03 14.11 6.03C14.19 6.03 14.38 6.05 14.5 6.15C14.6 6.23 14.63 6.34 14.64 6.42C14.63 6.48 14.65 6.66 14.64 6.8Z' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
}

.social-link.whats {
    background: linear-gradient(0deg, #1faf38 0%, #60d669 100%), rgba(0, 0, 0, 0.2);
}

.soc-icon.whats:before {
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.22847 19.7933L1.92811 19.3165C0.665484 17.309 -0.000950336 14.9891 1.01713e-06 12.607C0.00262112 5.65554 5.66029 0 12.6173 0C15.9863 0.00142847 19.1526 1.31469 21.534 3.69743C23.9153 6.0804 25.2257 9.24809 25.2249 12.6172C25.2218 19.5686 19.564 25.2249 12.6125 25.2249H12.6075C10.344 25.2237 8.12412 24.6159 6.18815 23.4672L5.72744 23.194L0.95382 24.4455L2.22847 19.7933ZM7.9665 5.60984C8.23662 5.62091 8.53555 5.63365 8.8196 6.26493C9.0133 6.69559 9.3389 7.49771 9.59893 8.13829C9.79151 8.6127 9.94812 8.9985 9.98854 9.07919C10.0832 9.26882 10.1465 9.49024 10.02 9.74332C10.0009 9.78145 9.98328 9.81742 9.96644 9.85178C9.87164 10.0452 9.80193 10.1875 9.64139 10.3755C9.57783 10.4497 9.51212 10.5296 9.44643 10.6095C9.316 10.7681 9.18564 10.9266 9.07234 11.0396C8.88222 11.2285 8.68472 11.4339 8.90591 11.813C9.1271 12.1926 9.88806 13.4336 11.0152 14.4385C12.2261 15.5181 13.278 15.9746 13.8123 16.2065C13.9172 16.252 14.0021 16.2889 14.0644 16.3201C14.4435 16.5098 14.6648 16.4782 14.8858 16.2248C15.1072 15.9719 15.8332 15.1182 16.0861 14.7391C16.339 14.3595 16.5917 14.4226 16.9393 14.549C17.2868 14.6756 19.151 15.5929 19.5302 15.7824C19.604 15.8193 19.673 15.8526 19.737 15.8835C20.0018 16.0113 20.1807 16.0975 20.257 16.2248C20.3517 16.3833 20.3517 17.1421 20.0357 18.0273C19.7198 18.9126 18.1717 19.7664 17.4765 19.8295C17.4097 19.8355 17.3432 19.8434 17.2749 19.8514C16.6325 19.9271 15.8217 20.0226 12.9267 18.8811C9.36545 17.4768 7.0172 13.997 6.53147 13.2772C6.49156 13.2181 6.46422 13.1776 6.44982 13.1584L6.44574 13.1529C6.24177 12.8804 4.90171 11.0896 4.90171 9.23715C4.90171 7.49137 5.75977 6.57618 6.15471 6.15495C6.18174 6.12612 6.2066 6.0996 6.22886 6.07529C6.57613 5.69615 6.98696 5.60103 7.23982 5.60103C7.25632 5.60103 7.27282 5.60103 7.28931 5.60103C7.52533 5.60098 7.75975 5.60094 7.9665 5.60984Z' fill='url(%23paint0_linear_6186_4583)' /%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.22847 19.7933L1.92811 19.3165C0.665484 17.309 -0.000950336 14.9891 1.01713e-06 12.607C0.00262112 5.65554 5.66029 0 12.6173 0C15.9863 0.00142847 19.1526 1.31469 21.534 3.69743C23.9153 6.0804 25.2257 9.24809 25.2249 12.6172C25.2218 19.5686 19.564 25.2249 12.6125 25.2249H12.6075C10.344 25.2237 8.12412 24.6159 6.18815 23.4672L5.72744 23.194L0.95382 24.4455L2.22847 19.7933ZM7.9665 5.60984C8.23662 5.62091 8.53555 5.63365 8.8196 6.26493C9.0133 6.69559 9.3389 7.49771 9.59893 8.13829C9.79151 8.6127 9.94812 8.9985 9.98854 9.07919C10.0832 9.26882 10.1465 9.49024 10.02 9.74332C10.0009 9.78145 9.98328 9.81742 9.96644 9.85178C9.87164 10.0452 9.80193 10.1875 9.64139 10.3755C9.57783 10.4497 9.51212 10.5296 9.44643 10.6095C9.316 10.7681 9.18564 10.9266 9.07234 11.0396C8.88222 11.2285 8.68472 11.4339 8.90591 11.813C9.1271 12.1926 9.88806 13.4336 11.0152 14.4385C12.2261 15.5181 13.278 15.9746 13.8123 16.2065C13.9172 16.252 14.0021 16.2889 14.0644 16.3201C14.4435 16.5098 14.6648 16.4782 14.8858 16.2248C15.1072 15.9719 15.8332 15.1182 16.0861 14.7391C16.339 14.3595 16.5917 14.4226 16.9393 14.549C17.2868 14.6756 19.151 15.5929 19.5302 15.7824C19.604 15.8193 19.673 15.8526 19.737 15.8835C20.0018 16.0113 20.1807 16.0975 20.257 16.2248C20.3517 16.3833 20.3517 17.1421 20.0357 18.0273C19.7198 18.9126 18.1717 19.7664 17.4765 19.8295C17.4097 19.8355 17.3432 19.8434 17.2749 19.8514C16.6325 19.9271 15.8217 20.0226 12.9267 18.8811C9.36545 17.4768 7.0172 13.997 6.53147 13.2772C6.49156 13.2181 6.46422 13.1776 6.44982 13.1584L6.44574 13.1529C6.24177 12.8804 4.90171 11.0896 4.90171 9.23715C4.90171 7.49137 5.75977 6.57618 6.15471 6.15495C6.18174 6.12612 6.2066 6.0996 6.22886 6.07529C6.57613 5.69615 6.98696 5.60103 7.23982 5.60103C7.25632 5.60103 7.27282 5.60103 7.28931 5.60103C7.52533 5.60098 7.75975 5.60094 7.9665 5.60984Z' fill='white' /%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_6186_4583' x1='1468.88' y1='2953.11' x2='1468.88' y2='-2.0316' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231FAF38' /%3E%3Cstop offset='1' stop-color='%2360D669' /%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 25px;
    height: 25px;
}

/* ICONS CONTACTS ИКОНКИ ДЛЯ КОНТАКТОВ */
.icon {
    display: flex;
    gap: 6px;
    align-items: center;
}

.icon-arrow::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.81445 11.3469L10.5618 8.59958L7.81445 5.85224' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M16.4491 8.59967C16.4491 4.26436 12.9349 0.750121 8.59955 0.750121C4.26424 0.750122 0.749999 4.26436 0.75 8.59967C0.75 12.935 4.26424 16.4492 8.59955 16.4492C12.9349 16.4492 16.4491 12.935 16.4491 8.59967Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.phone-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6669 11.2802V13.2802C14.6677 13.4659 14.6297 13.6497 14.5553 13.8198C14.4809 13.9899 14.3718 14.1426 14.235 14.2681C14.0982 14.3937 13.9367 14.4892 13.7608 14.5487C13.5849 14.6082 13.3985 14.6303 13.2136 14.6136C11.1622 14.3907 9.19161 13.6897 7.46028 12.5669C5.8495 11.5433 4.48384 10.1777 3.46028 8.56689C2.3336 6.8277 1.63244 4.84756 1.41361 2.78689C1.39695 2.60254 1.41886 2.41673 1.47795 2.24131C1.53703 2.06589 1.63199 1.90469 1.75679 1.76797C1.88159 1.63126 2.03348 1.52203 2.20281 1.44724C2.37213 1.37245 2.55517 1.33374 2.74028 1.33356H4.74028C5.06382 1.33038 5.37748 1.44495 5.62279 1.65592C5.8681 1.86689 6.02833 2.15986 6.07361 2.48023C6.15803 3.12027 6.31458 3.74871 6.54028 4.35356C6.62998 4.59218 6.64939 4.8515 6.59622 5.10081C6.54305 5.35012 6.41952 5.57897 6.24028 5.76023L5.39361 6.60689C6.34265 8.27592 7.72458 9.65786 9.39361 10.6069L10.2403 9.76023C10.4215 9.58099 10.6504 9.45746 10.8997 9.40429C11.149 9.35112 11.4083 9.37053 11.6469 9.46023C12.2518 9.68593 12.8802 9.84248 13.5203 9.92689C13.8441 9.97258 14.1399 10.1357 14.3513 10.3852C14.5627 10.6348 14.6751 10.9533 14.6669 11.2802Z' stroke='%23C34249' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.mail-icon:before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.333 2.6665H2.66634C1.92996 2.6665 1.33301 3.26346 1.33301 3.99984V11.9998C1.33301 12.7362 1.92996 13.3332 2.66634 13.3332H13.333C14.0694 13.3332 14.6663 12.7362 14.6663 11.9998V3.99984C14.6663 3.26346 14.0694 2.6665 13.333 2.6665Z' stroke='%23C34249' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M14.6663 4.6665L8.68634 8.4665C8.48052 8.59545 8.24255 8.66384 7.99967 8.66384C7.7568 8.66384 7.51883 8.59545 7.31301 8.4665L1.33301 4.6665' stroke='%23C34249' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* HEADER ШАПКА */
#header {
    width: 100%;
    z-index: 4;
    transition: var(--trans-all);
}

#header.fixed {
    position: fixed;
    /* width: 100vw; */
    left: 0;
    right: 0;
}


/* @media (min-width: 1200px) {
    .modal-open #header.fixed {
        padding-right: 15px
    }
} */

/* @keyframes header-slide-down {
    from {
        transform: translate(0, -100%);
    }

    to {
        transform: translate(0, 0%);
    }
} */

.header {
    color: #fff;
    font-size: 13px;
}

.header-top {
    background-color: var(--header-bg);
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    --padding: 9px 0;
    padding: var(--padding);
}

.header-info {
    display: flex;
    grid-column-gap: 15px;
}

.header-info-item {
    display: flex;
    gap: 5px;
    align-items: center;
}

.header-info-icon {
    display: inline-block;
    vertical-align: bottom;
}

.header-info-link {
    color: var(--text-white);
    text-decoration: none;
}

.header-info-link:hover {
    text-decoration: underline;
}

.header-social {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
}

.header-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    font-size: 69%;
}

.header-second {
    --padding: 22px 0;
    padding: var(--padding);
    background-color: #fff;
}

.header-logo {
    display: block;
}

.header-second-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-group {
    display: flex;
    align-items: center;
    grid-column-gap: 40px;
}

.header-nav-wrapper {
    order: 2;
    flex: 1;
}

.header-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    position: relative;
}

.header-nav li {
    padding: 8px 12px;
}

.header-nav-link {
    color: var(--text-header-link);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 0;
    background: transparent;
    transition: var(--trans-all);
}

.header-nav li:hover>.header-nav-link {
    color: var(--red);
    text-decoration: underline;
}

.header-nav-arrow {
    width: 10px;
    background: unset;
    border: unset;
    height: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-all);
    pointer-events: none;
}

.menu-item-has-children {
    display: inline-flex;
    flex-flow: wrap;
    gap: 8px;
    align-items: center;
    /* transition: var(--trans-all); */
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

@media (hover: hover) and (pointer: fine) {
    .menu-item-has-children:hover {
        border-color: rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
        background: #fff;
    }

    .header-nav .menu-item-has-children:hover>.sub-menu {
        display: block;
    }

}

.sub-menu {
    padding-left: 0px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 8px;
    z-index: 10;
    list-style: none;
    margin: 0;
    counter-reset: submenu-counter;
    max-width: 420px;
    max-height: 65vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sub-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sub-menu li {
    counter-increment: submenu-counter;
    position: relative;
    padding: 10px 12px;
    transition: var(--trans-all);
}

.sub-menu li:hover,
.sub-menu li.current-menu-item {
    background: rgba(0, 0, 0, 0.04);
}

.sub-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2)
}

.sub-menu li::before {
    content: counter(submenu-counter, decimal-leading-zero);
    font-weight: 600;
    font-size: 8px;
    /* line-height: 2.625; */
    color: var(--text-header-link);
    display: block;
    position: relative;
    z-index: 1;
}

.sub-menu li::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.81445 11.3469L10.5618 8.59958L7.81445 5.85224' stroke='black' stroke-opacity='0.2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M16.4491 8.59967C16.4491 4.26436 12.9349 0.750121 8.59955 0.750121C4.26424 0.750122 0.749999 4.26436 0.75 8.59967C0.75 12.935 4.26424 16.4492 8.59955 16.4492C12.9349 16.4492 16.4491 12.935 16.4491 8.59967Z' stroke='black' stroke-opacity='0.2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 16px;
    height: 16px;
    display: block;
    margin-left: auto;
}

.sub-menu li:hover:before {
    color: var(--black);
}

.sub-menu li:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.81445 11.3469L10.5618 8.59958L7.81445 5.85224' stroke='%23EC6169' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M16.4491 8.59967C16.4491 4.26436 12.9349 0.750121 8.59955 0.750121C4.26424 0.750122 0.749999 4.26436 0.75 8.59967C0.75 12.935 4.26424 16.4492 8.59955 16.4492C12.9349 16.4492 16.4491 12.935 16.4491 8.59967Z' stroke='%23EC6169' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
}

.sub-menu li a {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-header-link);
    transition: var(--trans-all);
    line-height: 1.0;
    flex: 1;
}

.sub-menu li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    transition: var(--trans-all);
}


.header-buttons {
    display: flex;
    grid-column-gap: 30px;
}

.burger-trigger {
    display: none;
}

.burger-icon {
    display: flex;
    flex-flow: column;
    gap: 5px;
    align-items: center;
    width: 16px;
    height: 6px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.burger-icon-line {
    display: block;
    height: 1px;
    background-color: var(--red);
    top: 0;
    width: 100%;
    transition: all .2s ease-in-out;
}

.header-main {
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1.00px solid #d9d9d9;
}

.header-main-left {
    display: flex;
    gap: 48px;
    align-items: center;
    order: 1;
}

.header-main-right {
    display: flex;
    align-items: center;
    gap: 20px;
    order: 3;
}

.header-main-logo {
    display: block;
}

.header-main-logo img {
    height: 48px;
    max-width: 100%;
}

.header-main-row {
    padding: 10px 0;
    display: flex;
    flex-flow: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-main-link {
    color: var(--text-header-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.header.open {
    height: 100%;
}

.burger-menu {
    position: relative;
    z-index: 3;
    display: none;
    padding-top: 60px;
}

.burger-menu-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}

.burger-menu-item {
    margin-bottom: 20px;
}

.burger-menu-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.open-burger #burger_button {
    z-index: 3;
}

.open,
.open-services {
    overflow: hidden;
}

.burger-trigger {
    position: relative;
    display: none;
}

.open #header {
    height: 100%;
}

.open-burger .burger-icon-line:first-child,
.open-services .burger-icon-line:first-child {
    position: absolute;
    height: 2px;
    transform: rotate(135deg);
    top: 50%;
}

.open-burger .burger-icon-line:last-child,
.open-services .burger-icon-line:last-child {
    position: absolute;
    height: 2px;
    transform: rotate(-135deg);
    top: 50%;
}

.header-page .header-nav-link {
    color: var(--black);
}

.header-page .burger-icon-line {
    background-color: var(--black);
}

.open .header-page .header-nav-link {
    color: var(--text-white);
}

.open .header-page .burger-icon-line {
    background-color: var(--text-white);
}

.open-burger .header-page #burger_button {
    border-color: var(--white);
}

.header-page .header-logo-svg path[fill="white"] {
    fill: var(--black);
}

.header-logo-active path[fill="white"] {
    fill: var(--text-white) !important;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 1176px 1fr;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    grid-column-gap: 48px;
}

.header-logo {
    text-align: right;
    padding: 12px 26px;
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: #e5e5e5;
    border-radius: 0 16px 16px 0;
    margin-left: -24px;
}

.mobile-block {
    display: none;
}

@media (max-width: 1200px) {
    #header {
        overflow: auto;
    }

    .header-top {
        display: none;
    }

    .header-top .header-info {
        display: none;
    }

    .header-top-row {
        justify-content: flex-end;
    }

    .header-main {
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-main .container {
        padding: 16px;
    }

    .header-main-left {
        gap: 0;
        flex: 1;
    }

    .header-main-row {
        row-gap: 0;
        transition: 0.5s ease-in-out;
    }

    .header-nav-wrapper {
        position: relative;
        order: 4;
        flex: unset;
        background: #fff;
        width: 100%;
        display: grid;
        grid-template-rows: 0fr;
        /* max-height: calc(100vh - 120px); */
        overflow-y: auto;
        transition: 0.5s ease-in-out;
    }

    .open .header-main-row {
        gap: 20px;
    }

    .open .menu-item-has-children {
        gap: 0;
    }

    .header-nav-wrapper.active {
        grid-template-rows: 1fr;
    }

    .header-nav-wrapper .header-nav-wrapper-inner {

        overflow: hidden;
    }

    .header-nav-wrapper.active .header-nav-wrapper-inner {
        overflow: auto;
    }

    .header-nav {
        flex-flow: column;
        gap: 8px;
    }

    /* .header-nav>li {
        padding-top: 28px;
        padding-bottom: 8px;
        padding-left: 16px;
        padding-right: 16px;
    } */
    .header-nav>li {
        background: rgba(255, 255, 255, 1);
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        padding: 0;
        display: inline-flex;
        flex-flow: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .header-nav>li.menu-item:not(.menu-item-has-children):after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.81445 11.3438L10.5618 8.59641L7.81445 5.84907' stroke='%23C34249' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M16.4491 8.59576C16.4491 4.26046 12.9349 0.746215 8.59955 0.746215C4.26424 0.746215 0.749999 4.26046 0.75 8.59576C0.75 12.9311 4.26424 16.4453 8.59955 16.4453C12.9349 16.4453 16.4491 12.9311 16.4491 8.59576Z' stroke='%23C34249' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 24px;
        position: absolute;
        right: 0;
    }

    .header-nav>li:active,
    .header-nav>li.current-menu-item {
        background: rgba(0, 0, 0, 0.04);
    }

    .header-nav li.menu-item-has-children {
        justify-content: space-between;
    }

    .header-nav-link {
        font-size: 16px;
        font-weight: 600;
        color: var(--black);
        padding: 17px 24px;
        display: block;
        flex: 1;
    }

    .header-nav-arrow {
        width: 30px;
        height: 30px;
        pointer-events: all;
        margin-right: 16px;
    }

    .sub-menu {
        position: relative;
        max-width: 100%;
        width: 100%;
        border-left: 0;
        border-right: 0;
        height: 0;
        display: block;
        overflow: hidden;
        border: 0;
        transition: 0.5s ease-in-out;
    }

    .sub-menu.active {
        border: 1px solid rgba(0, 0, 0, 0.2);
        overflow: auto;
    }

    .sub-menu li a {
        padding: 10px 0;
    }

    .header-nav-arrow-active {
        rotate: 180deg;
    }

    .burger-trigger {
        display: block;
    }

    .burger-btn {
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        max-width: 40px;
        max-height: 40px;
    }

    .mobile-block {
        display: flex;
        width: 100%;
    }
}

/* FOOTER */
.footer * {
    margin-bottom: 0px;
    margin-top: 0px;
}

.footer {
    background: #141414;
    background-image: url('frontend/assets/img/footer-back.jpg');
    border-radius: 30px 30px 0 0;
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: 120% 45%;
    padding-top: 80px;
    padding-bottom: 120px;
    position: relative;
    /* margin-top: 100px; */
}

.footer .container {
    padding: 0;
}

.footer-inner {
    display: flex;
    flex-flow: wrap;
    gap: 24px;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-flow: column;
}

.footer-left {
    max-width: 200px;
}

.footer-logo img,
.footer-logo svg {
    max-width: 141px;
}

.footer-left-inner {
    display: flex;
    flex-flow: column;
    gap: 15px;
    margin-top: 25px;
}

.footer-left-item {
    font-weight: 400;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.footer-left .social-block-wrap.desktop {
    margin-top: 24px;
}

.footer-link {
    font-weight: 400;
    font-size: 12px;
    color: #d9d9d9;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-link img {
    vertical-align: middle;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column;
    gap: 16px;
    font-size: 12px;
}

.footer-nav li a {
    text-decoration: none;
    font-weight: 600;
    color: #d9d9d9;
}

.footer-nav li a:hover {
    text-decoration: underline;
}

.footer-address {
    font-size: 12px;
    color: var(--gray);
    gap: 40px;
    max-width: 300px;
}

.social-footer-block {
    display: flex;
    flex-flow: wrap;
    gap: 12px;
}

.footer-contacts {
    gap: 24px;
}

.footer-contacts .social-footer-block {
    justify-content: flex-end;
}

.footer-social-link {
    border-radius: 20px;
    width: 52px;
    height: 52px;
    padding: 10px;
    background: #999;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #d9d9d9;
}

.footer-btn-consult {
    justify-content: space-between;
}

.footer-btn-consult::after {
    content: '';
    width: 28px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg width='29' height='13' viewBox='0 0 29 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.445 1.58969C22.2891 1.41172 22.2111 1.19331 22.2111 0.934453C22.2111 0.675596 22.2891 0.457185 22.445 0.279221C22.601 0.0931671 22.7888 0.00014019 23.0085 0.00014019C23.2283 0.00014019 23.4161 0.0931671 23.5721 0.279221L28.0802 5.55748C28.1511 5.63838 28.206 5.73747 28.245 5.85477C28.284 5.97206 28.3035 6.09138 28.3035 6.21272C28.3035 6.33406 28.284 6.45337 28.245 6.57067C28.206 6.68796 28.1511 6.78706 28.0802 6.86795L23.5721 12.1462C23.4161 12.3323 23.2283 12.4253 23.0085 12.4253C22.7888 12.4253 22.601 12.3323 22.445 12.1462C22.2891 11.9682 22.2111 11.7498 22.2111 11.491C22.2111 11.2321 22.2891 11.0137 22.445 10.8357L25.5391 7.2077H0.797431C0.577695 7.2077 0.389855 7.11669 0.233913 6.93469C0.077971 6.75268 0 6.53224 0 6.27339C0 6.15205 0.0177207 6.03677 0.0531621 5.92757C0.0886035 5.81836 0.141766 5.72331 0.212648 5.64242C0.283531 5.55344 0.370362 5.48064 0.473142 5.42401C0.575922 5.36739 0.684019 5.33907 0.797431 5.33907H25.6348L22.445 1.58969Z' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.footer-social {
    display: flex;
    grid-column-gap: 57px;
    justify-content: center;
}

.footer .button-red {
    background-color: transparent;
    border: 1px solid var(--red);
    border-radius: 100px;
    gap: 30px;
    padding: 0 40px;
}

.footer-left-inner.mobile,
.social-block-wrap.mobile {
    display: none;
}

@media (max-width: 720px) {
    .footer {
        background-size: 400%;
        background-position: 75% center;
        background-blend-mode: color-dodge;
    }
}

@media (min-width: 720px) and (max-width: 1200px) {
    .footer {
        background-image: none;
    }
}

@media (max-width: 1200px) {
    .footer {
        padding: 24px;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-link {
        font-weight: 600;
        font-size: 16px;
        color: #fff;
    }

    .footer-left-inner.desktop {
        display: none;
    }

    .footer-left-inner.mobile {
        display: flex;
        gap: 40px;
        flex-flow: wrap;
    }

    .social-block-wrap.desktop {
        display: none;
    }

    .social-block-wrap.mobile {
        display: flex;
        width: 100%;
    }

    .social-footer-block {
        justify-content: space-between;
        width: 100%;
    }

    .footer-social-link {
        width: 13vw;
        height: 13vw;
        max-width: 80px;
        max-height: 80px;
    }

    .footer-social-link svg {
        width: 100%;
        height: 100%;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-nav {
        gap: 8px;
    }

    .footer-nav li {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .footer-nav li:after {
        content: '';
        width: 18px;
        height: 18px;
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.81445 11.3472L10.5618 8.59983L7.81445 5.85248' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M16.4491 8.59967C16.4491 4.26436 12.9349 0.750121 8.59955 0.750121C4.26424 0.750122 0.749999 4.26436 0.75 8.59967C0.75 12.935 4.26424 16.4492 8.59955 16.4492C12.9349 16.4492 16.4491 12.935 16.4491 8.59967Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .footer-nav li a {
        font-size: 16px;
        color: #d9d9d9;
        flex: 1;
    }

    .footer-address {
        max-width: 100%;
        font-size: 14px;
        gap: 15px;
        order: 5;
    }

    .footer-contacts {
        order: 4;
        width: 100%;
    }

    .footer-btn-consult {
        width: 100%;
        border-radius: 12px;
        padding: 14px 24px;
    }

    .footer-btn-consult::after {
        content: '';
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33398 8H12.6673' stroke='white' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M8 3.3335L12.6667 8.00016L8 12.6668' stroke='white' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .footer .button-red {
        border-radius: 12px;
    }
}

.content {
    position: relative;
    z-index: 2;
}

/* HERO BLOCK */
.section-hero {
    overflow: hidden;
}

.hero {
    color: var(--text-white);
    position: relative;
    z-index: 0;
}

.hero-slider-new-slide {
    transition: var(--trans-all);
}

.section-hero .section-block-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.section-hero-col {
    padding: 20px 48px 20px 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 min(47%, 100%);
}

.hero-image-desktop {
    flex: 1 1 min(46%, 100%);
}

.hero-slider-new.swiper .hero-slider-new-slide {
    transition-property: transform, opacity, filter;
    opacity: 0.2;
}

.hero-slider-new.swiper .hero-slider-new-slide.swiper-slide-active {
    opacity: 1;
    background: #fff;
}

.hero-slider-new.swiper {
    overflow: visible;
}

.hero-slider {
    position: relative;
}

.hero-prev {
    position: absolute;
    top: 230px;
    left: -20px;
    z-index: 15;
}

.hero-prev button {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-next {
    position: absolute;
    top: 230px;
    right: -20px;
    z-index: 15;
}

.hero-next button {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-new-pagination {
    text-align: center;
    margin-top: 15px;
}

.swiper-horizontal>.hero-slider-new-pagination .swiper-pagination-bullet {
    width: 38px;
    height: 5px;
    border-radius: 8px;
    margin: 0 5px;
    transition: all .2s ease-in-out;
    vertical-align: middle;
    background-color: #D9D9D9;
    opacity: 1;
}

.swiper-horizontal>.hero-slider-new-pagination .swiper-pagination-bullet-active {
    width: 67px;
    height: 12px;
    background-color: #D9D9D9;
}

.consult-form p {
    margin-bottom: 0;
}

.section-hero {
    padding-top: 25px;
    padding-bottom: 25px;
    background: #f8faff;
}

.section-hero-desc {
    font-size: 14px;
    font-weight: 500;
    max-width: 365px;
    font-style: normal;
    line-height: 120%;
    color: var(--black);
    opacity: 0.5;
    line-height: 120%;
    margin-bottom: 24px;
    margin-top: 24px;
}

.section-hero-btns {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 20px;
}


.button-hero {
    font-weight: 600;
    background: #5479f7;
    padding: 12px 24px;
    color: #fff;
    max-width: 256px;
    border: unset;
    justify-content: space-between;
    width: 100%;
}

.section-hero-btns .button-white-new {
    justify-content: space-between;
    max-width: 156px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.section-hero-image {
    border-top-left-radius: 20px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 0px;
    position: relative;
    overflow: hidden;
}

.section-hero-image-new img {
    height: 600px;
    width: 100%;
    position: relative;
    object-fit: cover;
    overflow: hidden;
}

.section-hero-image-text {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 126px 40px 40px;
    font-size: 14px;
    color: white;
    background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, rgba(0, 0, 0, .75) 100%);
}

.section-hero-image-text div {
    opacity: 50%;
}

.section-hero-content {
    position: relative;
    z-index: 3;
}

.section-hero-title {
    font-style: normal;
    font-size: 37px;
    color: var(--color-title);
    margin-top: 10px;
    font-weight: 700;
}

.section-hero-title span {
    color: var(--red);
}

@media (max-width: 1200px) {
    .section-hero .section-block-row {
        gap: 0px;
    }

    .section-block-row {
        gap: 20px;
    }

    .section-hero-col {
        padding: 24px 24px 24px 16px;
        flex: 1 1 min(400px, 100%);
    }

    .hero-image-desktop {
        width: 100%;
    }

    .section-hero-title {
        font-weight: 700;
        font-size: 26px;
        margin-bottom: 15px;
    }

    .section-hero-title span {
        color: #ec6169;
    }

    .section-hero-btns .button {
        justify-content: space-between;
    }

    .section-hero-btns .button-white-new {
        background: transparent;
        color: #202020;
    }

    .section-hero-image-new img {
        height: 320px;
        object-position: top;
    }

    .hero-prev {
        display: none;
    }

    .hero-next {
        display: none;
    }

    .section-hero-image {
        border-radius: 8px;
    }

    .section-hero-image-text {
        padding: 34px;
    }
}

/* @keyframes countingBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
} */

.company {
    background-color: var(--light);
}



/* БЛОК COUNTERS */
.section-counters {
    padding-top: 0;
    padding-bottom: 0;
}

.counters-inner {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.counter-item {
    display: flex;
    flex-flow: wrap;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 0.90px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 40px 50px 40px 20px;
}

.counter-value {
    font-weight: 600;
    font-size: 32px;
    color: var(--color-main);
    line-height: 1.3;
    display: flex;
    gap: 5px;
    align-items: center;
}

.counter-value-symbol {
    font-weight: 500;
}

.counter-content {
    flex: 1;
}

.counter-caption {
    font-weight: 500;
    font-size: 11px;
    line-height: 1.2;
    color: var(--color-main);
}

.counters-text {
    font-size: 24px;
    font-weight: 500;
    color: #ccc;
    text-transform: uppercase;
    text-align: center;
    margin-top: 1.75rem;
}

.counter-v {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 70px;
    background-color: var(--white);
    position: relative;
    z-index: 3;
}

.counter-v-item {
    margin-bottom: 20px;
}

.counter-v-value {
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
}

.counter-v-text {
    font-size: 13px;
    font-weight: 500;
}


@media(max-width: 1200px) {
    .counter-item {
        flex: 1 1 250px;
        padding: 15px 24px;
        gap: 15px;
    }

    .counter-value {
        font-size: 26px;
        font-weight: 700;
    }
}

/* БЛОК РАЗОВЫЕ УСЛУГИ */

.navi {
    margin: 0;
    list-style: none;
    display: flex;
    grid-column-gap: 4px;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    background-color: #fff;
}

.navi-link {
    padding: 12px 22px;
    display: inline-block;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: #393939;
    background-color: #fff;
}

.navi-link.active {
    background-color: var(--red);
    color: #fff;
}

.navi .navi-item {
    flex-grow: 1;
}

.section-tabs {
    margin-top: 40px;
}

.block-bordered {
    border: 1px solid #c7c7c7;
}

.block-white {
    background-color: #fcfcfc;
}

.block-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid var(--red);
}

.color-red {
    color: var(--red);
}

.block-flex {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.block-tabs {
    height: 200px;
    position: relative;
}

.block-desc {
    font-size: 14px;
    font-weight: 500;
    opacity: 50%;
}

.button-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.button-white {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--black);
}

.button-white-new {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
    color: var(--black);
    padding: 12.5px 21.5px;
}

.button-white .button-icon i::before {
    color: var(--black);
}

.block-tabs-alt {
    background-position: right top;
    background-repeat: no-repeat;
}

.block-button-inner {
    text-align: right;
}

.block-dark {
    border-color: black;
    background-color: black;
    color: white;
}

/* .block-tabs-alt:hover {
    background-color: black;
    color: white;
    border-color: black;
} */

.block-title-no-border {
    padding-left: 0;
    border: none;
}

.section-block {
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #c7c7c7;
}

.section-block-new {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    border-radius: 15px;
}

/* ХОВЕР ЭФФЕКТ ДЛЯ ЭТОГО ГОВНА */
@media (min-width: 1200px) {
    .block-tabs:hover {
        border-color: var(--red);
        background-color: var(--red);
        transition: all .125s ease-in-out;
    }

    .block-tabs:after {
        content: '';
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 10px;
        right: 10px;
        transition: var(--trans-all);
    }

    .block-tabs:hover:after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .block-tabs:hover .block-title {
        color: #fff;
        border-color: #fff;
    }

    .block-tabs:hover .block-desc {
        display: none;
    }

    .block-hover-btn {
        display: none;
        max-width: 500px;
    }

    .block-tabs:hover .block-hover-btn {
        display: block;
    }

    .block-tabs:hover .block-hover-btn .button-icon {
        display: none;
    }
}

/* ЗАКАНЧИВАЕТСЯ ЗДЕСЬ */

@media (max-width: 1200px) {
    .section-services {
        border-radius: 0;
    }

    .section-head {
        /* flex-direction: column; */
        align-items: unset;
        gap: 16px;
    }

    .navi-item .navi-link {
        width: 100%;
        height: 100%;
    }

    .section-tabs {
        margin-top: 25px;
    }

    .navi-link {
        padding: 12px 15px;
    }

    .block-tabs {
        padding: 16px;
        height: auto;
    }

    .block-tabs.is-active {
        border-color: var(--red);
        background-color: var(--red);
        transition: all .125s ease-in-out;
    }

    .block-tabs:after {
        content: '';
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 10px;
        right: 10px;
        transition: var(--trans-all);
    }

    .block-tabs.is-active:after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .block-tabs.is-active .block-title {
        color: #fff;
        border-color: #fff;
    }

    .block-hover-btn {
        display: none;
    }

    .block-desc {
        display: none;
    }

    .block-tabs.is-active .block-hover-btn {
        display: block;
    }

    .block-tabs.is-active .block-hover-btn .button-icon {
        display: none;
    }

    .block-tabs.is-active .block-desc {
        display: block;
        color: #fff;
    }

}

/* БЛОК PROMO-SPLIT */
.promo-split-item-left :where(*) {
    margin-bottom: 0;
}

.section-promo-split {
    padding: 0;
    border-radius: 30px;
    border-bottom: 1px solid #ececec;
    overflow: hidden;
    margin-left: 8px;
    margin-right: 8px;
}

.section-promo-split {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.section-services-archive .promo-split {
    margin-top: 15px;
}

.promo-split-inner {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
}

.promo-split-item-left {
    display: flex;
    flex-flow: column;
    max-width: 45%;
}

.promo-split-title {
    font-weight: 700;
    font-size: var(--font-size-36);
    color: var(--color-secondary);
    line-height: 1.2;
}

.promo-split-text {
    font-weight: 500;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    padding-top: 15px;
    line-height: 1.2;
}

.promo-split-title :where(span) {
    font-weight: 700;
    color: var(--red);
}

.btn-promo-split {
    border-radius: 12px;
    margin-top: 50px;
    max-width: max-content;
    padding: 0 40px;
    height: 56px;
}

.promo-split-item-right {
    position: relative;
    margin-bottom: -100px;
    margin-right: -200px;
    max-width: 760px;
}

.promo-split-item-right img {
    width: 100%;
}

@media (max-width: 1200px) {
    /* .section-promo-split {
        margin-right: 12px;
        margin-left: 12px;
    } */

    .promo-split-item-left {
        padding: 24px 5px;
        max-width: 100%;
    }

    .promo-split-item-right {
        display: block;
        margin-bottom: -240px;
        right: -10%;
    }

}

@media (min-width: 760px) and (max-width: 1200px) {
    .promo-split-item-right {
        right: 0;
    }
}

/* БЛОК QUESTION NEW */
.section-question-new :where(p) {
    margin-bottom: 0;
}

.section-question-new {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(142, 142, 142, 0.2);
    border-radius: var(--section-radius);
    padding: 0;
    overflow: hidden;
}

.question-new-inner {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.question-new-item-left {
    display: flex;
    flex-flow: column;
    max-width: 59%;
}

.question-new-title {
    color: var(--red);
    margin-bottom: 30px;
}

.question-new-text {
    font-weight: 600;
    font-size: 38px;
    color: var(--color-title);
}

.question-new-text-small {
    font-weight: 500;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

.question-new-item-right {
    position: relative;
    margin-bottom: -250px;
    margin-right: -100px;
    max-width: 470px;
}

.buttons-question-wrap {
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .section-question-new {
        margin-right: 12px;
        margin-left: 12px
    }

    .question-new-inner {
        padding: 0px 0px 0px 0px;
        gap: 0;
    }

    .question-new-text {
        font-weight: 500;
        font-size: 28px;
        letter-spacing: -0.02em;
        color: #202020;
    }

    .question-new-text-small {
        padding-top: 15px;
        max-width: 90%;
    }

    .question-new-text span:not(.blue) {
        color: var(--red);
    }

    .question-new-item-left {
        max-width: 100%;
    }

    .question-new-item-right {
        right: -20%;
    }
}

/* БЛОК SUBSCRIBE */
.section-subscribe-new :where(*) {
    margin-bottom: 0;
}

.section-subscribe-new {
    background: url('frontend/assets/img/subscribe-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0;
    border-radius: 30px;
    border-bottom: 1px solid #ececec;
    overflow: hidden;
}

.subscribe-inner {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.subscribe-item-left {
    max-width: 470px;
}

.subscribe-btn-text {
    font-weight: 500;
    font-size: 14px;
    opacity: 0.5;
    margin-top: 16px;
    max-width: 50%;
}

.subscribe-text {
    max-width: 50%;
}

.buttons-subscribe-wrap {
    margin-top: 50px;
}

.subscribe-image {
    max-width: 510px;
    margin-bottom: -210px;
    margin-right: 0;
}

.blue {
    color: #278eff;
}

.subscribe-tg {
    background: #5479f7;
    padding: 10px 32px 10px 24px;
}

@media (max-width: 1200px) {
    .subscribe-inner {
        gap: 0;
    }

    .buttons-subscribe-wrap {
        margin-top: 16px;
    }

    .subscribe-image {
        right: -20%;
        margin-bottom: -110px;
    }
}

/* БЛОК COMPANY */
.company-row {
    margin-top: 80px;
}

.company-content {
    position: relative;
    padding-left: 100px;
    padding-top: 80px;
}

.company-content::before {
    position: absolute;
    content: "\e903";
    font-family: "icomoon" !important;
    top: 54px;
    left: 25px;
    width: 54px;
    height: 44px;
    color: #e7e7e7;
    font-size: 44px;
    line-height: 44px;
}

.company-content img {
    margin: 30px 0;
    user-select: none;
}

.company-employee-name {
    font-weight: 500;
    margin-bottom: 10px;
}

.company-employee-status {
    font-size: 13px;
    color: var(--gray);
}

.services {
    background-color: var(--white);
}


.services__title {
    max-width: 680px;
}

.services__title span {
    display: block;
    font-weight: 700;
}

.services-row {
    margin-top: 50px;
}

.service-item {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.service-item-count {
    flex: 0 0 40px;
    font-size: 13px;
    color: var(--gray);
    min-height: 120px;
    display: flex;
    align-items: center;
}

.service-item-body {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 120px;
    border-bottom: 1px solid var(--service-border-color-rgba);
}

.service-item:hover .service-item-body {
    border-color: var(--service-border-color-hover-rgba);
}

.service-item-button {
    flex: 0 0 40px;
}

.service-item-title {
    flex: 1;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 26px;
}

.service-item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 176%;
    color: #282b31;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    box-orient: vertical;
}

.services-grid {
    display: grid;
    gap: 70px;
}

.services-grid__item {
    gap: 30px;
}

.services-grid__item-img {
    max-width: 560px;
    width: 100%;
}

.services-grid__item-content {
    border-left: 2px solid var(--red);
    padding: 35px 0px 35px 40px;
    max-width: 445px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.services-grid__link {
    margin-top: auto;
}

.service-info__title span {
    font-weight: 700;
}

.consult {
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: var(--text-white);
}

.consult::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(20, 20, 20, .75);
}

.consult-inner {
    position: relative;
}

.consult-title {
    max-width: 548px;
    margin: 30px 0 60px;
}

.consult-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.consult-list-item {
    margin-bottom: 30px;
}

.consult-list-item i,
.consult-list-item img {
    font-size: 32px;
    vertical-align: middle;
    margin-right: 10px;
}

.consult-form {
    padding: 70px;
    background: linear-gradient(228.03deg, #282828 8.69%, #1D1D1D 65.33%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.17));
    /* border-radius: var(--section-radius); */
}

.form-shield {
    text-align: right;
    height: 30px;
}

.form-shield-image {
    position: relative;
    top: -40px;
    right: -40px;
}

.form-input-container {
    color: #fff;
    margin-bottom: 1rem;
}

.form-input-container p {
    margin: 0;
}

.form-input {
    color: var(--color-title);
    width: 100%;
    background-color: transparent;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: rgba(135, 135, 135, 47%);
    padding: 13px 0;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    position: relative;
}

.form-input::placeholder {
    color: var(--gray);
}

.wpcf7-list-item-label {
    color: #8d8d8d;
    font-size: 12px;
}

.consult-form .form-input {
    border-color: rgba(255, 255, 255, 0.47);
}

.specs {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.specs>.container {
    position: relative;
}

.specs>.container::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: calc(100% - 14px);
    width: 100%;
    background-color: var(--white);
    z-index: 3;
}

.specs .section-head,
.specs .section-title {
    position: relative;
    z-index: 3;
}

.specs::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: calc(100% - 137px);
    width: 100%;
}

.spec-slide {
    position: relative;
    opacity: 0.5;
}

.spec-photo {
    padding-bottom: 310px;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
}

.spec-slide.swiper-slide-active,
.spec-slide.swiper-slide-next,
.spec-slide.swiper-slide-next+.spec-slide {
    opacity: 1;
}

.spec-info {
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    background-color: var(--spec-info-bg);
    color: var(--white);
    padding: 30px 20px;
}

.spec-name {
    font-size: 16px;
    font-weight: 500;
}

.spec-prof {
    font-size: 13px;
    color: #B7B6B6;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
    align-items: center;
    grid-column-gap: 20px;
}

.slider-pagination {
    display: flex;
    grid-column-gap: 8px;
}

.specs-description {
    margin-top: 70px;
    font-size: 24px;
    font-weight: 500;
}

.quote {
    position: relative;
    color: var(--text-white);
    overflow: hidden;
    padding: 120px 0 153px;
}

.quote::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(20, 20, 20, 0.65);
}

.quote-row {
    margin: 60px 0 10px;
    position: relative;
}

.quote-text {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
}

.quote-author {
    margin-top: 20px;
    font-size: 16px;
}

/* БЛОК ПАРТНЕРОВ НАМ ДОВЕРЯЮТ BLOCK PARTNERS WHAT THEY TRUST */
.partners {
    background-color: var(--white);
}

.partner-card.hidden {
    display: none;
}

.row-partner-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: var(--page-padding);
}

.partner-card-left {
    flex: 1 1 min(48%, 100%);
}

.partner-card-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 min(50%, 100%);
}

.partner-card {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 500;
    border-radius: 20px;
    height: 100%;
    background-color: #fff;
}

.partner-card__photo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 0 0 48%;
    background-color: var(--red);
}

.parter-card-logo {
    order: 1;
    width: 100%;
}

.partner-card__text {
    font-weight: 500;
    margin-top: 30px;
    order: 2;
}

.partner-card-big .partner-card__photo img {
    scale: 1.3;
    margin-bottom: 18%;
}

.partner-card-small .partner-card__photo img {
    margin-top: -45px;
}

.partner-card__content {
    display: flex;
    flex-flow: column;
    padding: 30px 30px 15px;
    align-items: flex-end;
}

.partner-card__name {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.5;
    order: 3;
    margin-top: auto;
}

.partner-card-small .partner-card__photo {
    flex: 0 0 142px;
}

.partner-card-small .partner-card__text {
    font-size: 14px;
    margin-top: 10px;
}

.partner-card-small .partner-card__content {
    padding: 15px 15px 20px 15px;
}

/* .partner-card-right .partner-card-small:nth-child(2) .partner-card__content {
    padding: 15px 15px 30px 15px;
} */

.partners-slider {
    margin-top: 25px;
}

.partner-logo {
    filter: grayscale(100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .2)
}

.partner-logo:hover {
    filter: grayscale(0%);
}

@media (max-width: 1200px) {
    .row-partner-cards {
        gap: 12px;
    }

    .partner-card {
        margin-bottom: 0;
    }

    .partner-card-big .partner-card__content {
        padding: 12px 16px;
    }

    .partner-card-big .partner-card__text {
        margin-top: 21px;
    }

    .partner-card-big .partner-card__name {
        margin-top: 56px;
        text-align: right;
    }

    .partner-card-small .partner-card__content {
        padding: 12px 16px;
        gap: 16px;
        flex-flow: wrap;
    }

    .partner-card-small .partner-card__photo {
        flex: 0 0 128px;
    }

    .partner-card-small .partner-card__text {
        order: 1;
    }

    .partner-card-small .parter-card-logo {
        order: 2;
        flex: 1;
    }

    .partner-card-small .partner-card__name {
        order: 3;
        flex: 1;
        font-size: 9px;
        text-align: initial;
    }

    .partner-card__photo:first-child,
    .partner-card__photo:first-child img {
        border-radius: 16px 0 0 16px;
    }

    .partner-card-right .partner-card:nth-child(1) {
        order: 2;
    }

    .partner-card-right .partner-card:nth-child(2) {
        order: 1;
    }

    .partner-card-right .partner-card:nth-child(3) {
        order: 3;
    }

    .partner-card-small.partner-card-row-reverse .partner-card__photo,
    .partner-card-small.partner-card-row-reverse .partner-card__photo img {
        border-radius: 16px 0px 0px 16px;
    }
}

.privacy {
    background-color: #141414;
    color: var(--text-white);
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.privacy>.container-fluid {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.privacy>.container-fluid>.row {
    height: 100%;
}

.privacy>.container {
    position: relative;
}

.privacy-content {
    padding-top: 80px;
}

.consult-subtitle {
    margin-top: -30px;
    margin-bottom: 30px;
    opacity: 50%;
}


.button-red-text {
    color: var(--red);
}

.button-red-text:hover {
    color: var(--text-white);
}


.consult-free {
    margin-top: 60px;
    padding: 50px;
    /* border-radius: var(--section-radius); */
    border: 1px solid var(--red);
    box-shadow: 15px 15px 0 0 var(--light);
}

.consult-free-title {
    font-size: 16px;
    margin-bottom: 40px;
}

.consult-free .section-title {
    margin-bottom: 44px;
}

.consult-free-logo {
    height: 36px;
}

/* СONTACTS BLOCK БЛОК КОНТАКТЫ */
.contacts {
    overflow: hidden;
    margin-bottom: clamp(32px, calc(24px + 88 * ((100vw - 400px) / 880)), 120px);
}

.contacts-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.contacts-col-left {
    flex: 1 1 min(24%, 100%);
}

.contacts-col-right {
    flex: 1 1 min(73%, 100%);
}

.container-map {
    padding: 0;
}

.contact-name {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.1;
}

.contact-info {
    font-weight: 600;
}

.contact-item {
    margin-top: 30px;
}

.contact-link {
    display: table;
    color: inherit;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.balloon-wrap {
    padding: 5px 15px;
    width: 200px;
    text-align: center;
}

.slider-scroll {
    height: 2px;
    background-color: rgba(33, 33, 33, 0.15);
    opacity: 0;
}

.swiper-scrollbar-drag {
    background-color: var(--red);
}

.slides-count {
    font-size: 16px;
}

.contacts-mobile {
    display: none;
}

/* .swiper.swiper-initialized:not(.hero-slider-new) .swiper-slide {
    max-width: 33%;
} */
@media (max-width: 1200px) {
    .contacts-row {
        gap: 24px;
    }
}

.page-container {
    /* padding: var(--page-padding) 0; */
    /* padding-bottom: calc(100px - var(--section-radius)); */
    background-color: var(--ltblue);
}

.post-thumbnail {
    padding-bottom: 32%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    margin: 30px 0;
}

.post-date {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    margin-top: 15px;
}

.post-content {
    font-size: 16px;
    font-weight: 500;
}


.service-card-counter {
    font-size: 42px;
    color: var(--red);
    margin-bottom: 20px;
}

.services-card-text {
    font-size: 16px;
    font-weight: 500;
}

.services-alt .service-item {
    display: block;
    min-height: unset;
    border: 2px solid #B44B4D;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease-in-out;
}

.services-alt .service-item:hover {
    border-color: var(--black);
}

.services-alt .service-item-body {
    display: flex;
    align-items: center;
    grid-column-gap: 20px;
    padding: 40px;
    border-bottom: none;
}

.services-alt .service-item-image {
    padding-bottom: 66%;
    background-position: center;
    background-size: cover;
}

.service-item__alt:hover .button {
    border-color: var(--black);
    color: var(--black);
    background-color: var(--black);
}

.service-item__alt:hover .button-icon::before {
    color: white;
}


.wpcf7-list-item input[type='checkbox'] {
    margin-right: 10px;
}

.wpcf7-list-item {
    margin: 0;
}

.form-card {
    padding: 20px 55px;
    background-color: rgba(0, 0, 0, 50%);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    border: 1px solid rgba(135, 135, 135, 47%);
}

.form-title {
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.form-subtitle {
    font-size: 30px;
    font-weight: 600;
    color: white;
    line-height: 1.1;
    margin: 30px 0;
}

.checkbox-text {
    color: var(--gray);
    font-size: 11px;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 6px;
}

.section-block-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.section-block-text-big {
    margin-top: 1rem;
    font-size: 32px;
    font-weight: 600;
    color: var(--color-title);
    line-height: 135%;
}

.section-block-text {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.6);
}

.section-block-gray {
    background-color: rgba(142, 142, 142, 0.05);
}


.block-light {
    background-color: var(--ltblue);
    border-color: var(--ltblue);
    padding: 50px;
}

.block-radius {
    border-radius: 24px;
}


.partner-card__content~.partner-card__photo {
    border-radius: 0 20px 20px 0;
}

.partner-card__content~.partner-card__photo img {
    border-radius: 0 0 20px 0;
}

.partner-card__photo:first-child {
    border-radius: 20px 0 0 20px;
}

.partner-card__photo:first-child img {
    border-radius: 0 0 0 20px;
}

.button-slider {
    border: 1px solid #D9D9D9;
    background-color: #fff;
}

.modal-pravx-content {
    padding: 20px;
}

.modal-pravx-title {
    font-size: 24px;
    font-weight: 600;
    padding: 0 16px;
}

.modal-pravx .modal-footer {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    grid-column-gap: 12px;
}

.modal-pravx-close {
    float: right;
    position: relative;
    margin-right: 20px;
    margin-top: 20px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    background: transparent;
}

.modal-body {
    font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    border-radius: 10px;
    font-size: 14px;
    padding: 10px 15px;
    color: #ffff;
}



.button-gray {
    background-color: #f0f0f0
}

.text-bg-pravx {
    background-color: #5479F7;
    font-weight: 600;
    font-size: 16px;
}

.text-right {
    text-align: right;
}

.price {
    font-weight: 800;
    line-height: 1;
}

.price-discount {
    font-size: 58px;
}

.price-actual {
    font-size: 28px;
    color: var(--red);
    text-decoration: line-through;
}

.form-submit-button {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.experience-container {
    position: relative;
    overflow: hidden;
    margin-top: 45px;
    width: 100%;
    max-width: 1200px;
    min-height: 530px;
    display: flex;
    align-items: flex-end;
    border-radius: 30px;
}

.experience-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left;
}

.experience-text-container {
    margin: 40px 47px;
    padding: 25px;
    max-width: 380px;
    max-height: 385px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 30px;
}

.experience-heading {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
}

.experience-text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
}

.experience-link {
    margin-top: 0;
    width: 100%;
    justify-content: center;
}


.work-item-body {
    padding: 25px 20px;
    background-color: #fff;
    border-radius: 15px;
    flex: 1;
}

#how_working {
    background-color: #f9f9f9;
}

.work-list {
    margin-top: 3rem;
}

.work-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.work-item-step {
    position: relative;
    flex: 0 0 100px;
    max-width: 100px;
    font-size: 14px;
}

.work-item-step::before,
.work-item-step::after {
    position: absolute;
}

.work-item-step::before {
    content: '·';
    left: 53px;
    top: 42%;
    line-height: 0;
    font-size: 4.2rem;
    width: 1px;
    height: 1px;
}

.work-item-step::after {
    content: '';
    left: 60px;
    top: -47px;
    bottom: -69px;
    border-left: 2px dotted #333;
}

.work-item:first-child .work-item-step::after {
    top: 55%;
    bottom: -66px;
}

.work-item:last-child .work-item-step::after {
    bottom: 50%;
}

.work-item-title {
    font-size: 20px;
    line-height: 1.1;
}

.work-item-text {
    font-size: 14px;
    opacity: .75;
    margin-top: 1rem;
}

.section-pricing {
    background-color: #f1f1f1;
}

.section-pricing__title {
    font-weight: 600;
}

.section-pricing__subtitle {
    font-size: 0.9375rem;
    color: var(--text-header-link);
}

.section-pricing__card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.section-pricing__card .card-body {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.section-pricing__card--featured {
    background: var(--red);
    color: #ffffff;
}

.section-pricing__card--featured .badge {
    font-size: 0.75rem;
}

.section-pricing__card--featured .section-pricing__price {
    color: #ffffff;
}

.section-pricing__price {
    font-weight: 700;
    font-size: 18px;
}

.section-pricing__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.section-pricing__head p {
    padding-top: 0.16rem;
    font-size: 15px;
}

.section-pricing__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--red);
    transition: color 0.2s ease, transform 0.2s ease;
}

.section-pricing__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(195, 66, 73, 0.1);
}

.section-pricing__icon--arrow {
    width: 20px;
    height: 20px;
    color: #c4c4d0;
}

.section-pricing__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.section-pricing__card:hover .section-pricing__icon {
    color: #e74a4a;
}

.section-pricing__card:hover .section-pricing__icon--arrow {
    color: #e74a4a;
    transform: translateX(2px);
}

.section-pricing__card--featured .section-pricing__icon,
.section-pricing__card--featured .section-pricing__icon--arrow {
    color: #ffffff;
}

.section-pricing__card--featured:hover .section-pricing__icon,
.section-pricing__card--featured:hover .section-pricing__icon--arrow {
    color: #ffffff;
}

.section-pricing__arrow-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.section-pricing-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: .45rem
}

.section-pricing__card--featured .section-pricing__icon-wrap {
    background: rgba(255, 255, 255, 0.2);
}

.section-pricing__card--featured .section-pricing-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.section-pricing__price.text-muted {
    color: #a0a0a0 !important;
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    padding: 6px 12px !important;
    border: 1px solid var(--red);
    color: var(--red) !important
}

@media (max-width: 575.98px) {
    .section-pricing__title {
        font-size: 1.5rem;
    }

    .section-pricing__subtitle {
        text-align: justify;
    }

    .section-pricing__subtitle br {
        display: none;
    }

    .section-pricing {
        border-radius: 0;
    }
}


.grecaptcha-badge {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* BLOCK MODAL CALLBACK */
.section-block-content {
    height: 100%;
    position: relative;
    background-size: 70%;
    background-position: 85% 4%;
    background-repeat: no-repeat;
    padding: 50px 50px 50px 50px;
}

.section-consult-modal-content {
    background-image: image-set(url("frontend/assets/img/callback-3.webp") type("image/webp"),
            url("frontend/assets/img/callback-3.jpg") type("image/jpg"));
    background-size: 45%;
    background-position: 90% 0%;
}

.modal-dialog.callback-modal-dialog {
    max-width: 1200px;
}

.section-consult-form {
    margin-top: 25px;
}

.modal-content.callback-modal-content {
    border-radius: 30px;
    border: unset;
    overflow: hidden;
    display: block;
}

.callback-column {
    padding: 0;
    width: 100%;
    max-width: 45%;
}

.callback-title-top {
    font-size: 14px;
    color: var(--red);
}

.callback-title span {
    color: #ec6169;
}

.wpcf7-list-item {
    display: flex;
    align-items: center;
    flex-flow: wrap;
}

input[type="checkbox"] {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: var(--trans-all);
}

input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 0.5L3 6L0.5 3.5' stroke='white' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center center;
    background-color: var(--red);
    border-color: transparent;
}

input.wpcf7-not-valid,
input.field-invalid {
    border-bottom: 1px solid var(--red);
    color: var(--red);
}

.wpcf7-form-control-wrap:has(input.wpcf7-not-valid):after,
.wpcf7-form-control-wrap:has(input.field-invalid):after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_6186_8937)'%3E%3Cpath d='M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11Z' stroke='%23FB2C36' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M6 4V6' stroke='%23FB2C36' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M6 8H6.005' stroke='%23FB2C36' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_6186_8937'%3E%3Crect width='12' height='12' fill='white' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0%;
    transform: translate(0px, 50%);
    right: 0;
}

input.wpcf7-valid,
input.field-valid {
    border-bottom: 1px solid #00c950;
    color: #00c950;
}


.wpcf7-form-control-wrap:has(input.wpcf7-valid):after,
.wpcf7-form-control-wrap:has(input.field-valid):after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 0.5L3 6L0.5 3.5' stroke='%2300C950' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0%;
    transform: translate(0px, 50%);
    right: 0;
}

.section-consult-form .wpcf7-list-item-label {
    font-weight: 400;
    font-size: 14px;
    color: #8d8d8d;
    flex: 1;
}

.callback-inner .form-submit-button {
    height: 55px;
    max-width: 295px;
    width: 100%;
    justify-content: center;
}

.form-submit-button::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.4849 14.9229L15.8559 9.32743L11.4849 14.9229ZM15.8559 9.32743L11.484 3.73193L15.8559 9.32743ZM15.8559 9.32743H1.86719H15.8559Z' fill='%23F1F1F1' /%3E%3Cpath d='M11.484 3.73193L15.8559 9.32743L11.4849 14.9229M15.8559 9.32743H1.86719' stroke='%23F1F1F1' stroke-width='1.39887' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

select.wpcf7-select {
    font-weight: 500;
    font-size: 16px;
    color: var(--gray);
    opacity: 0.5;
}

@media (max-width: 1200px) {

    .section-block-content {
        background-image: none !important;
    }

    .callback-inner .section-block-content {
        padding: 40px 24px;
    }

    .callback-inner .row {
        width: 100%;
        margin: 0;
    }

    .callback-column {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin-top: -20px;
    }

    .section-consult-form {
        margin-top: 16px;
    }

    .form-input {
        padding: 5px 0;
    }

    .section-consult-form .wpcf7-list-item {
        margin-top: 10px;
    }

    .callback-inner .form-submit-button {
        max-width: 100%;
        justify-content: space-between;
        padding: 0 20px;
    }
}

/* BLOCK DIAG БЛОК ОЦЕНКИ РИСКОВ */
.diag-item-left {
    max-width: 580px;
}

.btn-diag {
    margin-top: 50px;
    height: 55px;
    padding: 0 20px;
    max-width: max-content;
}

.diag-item-right {
    max-width: 580px;
    margin-top: -30px;
    margin-bottom: -150px;
}

@media (max-width: 1200px) {
    .diag-inner {
        gap: 0;
    }

    .diag-item-right {
        margin-bottom: -200px;
        right: -20%;
    }
}

/* SERVICES ARCHIVE */
.section-services-archive:last-of-type {
    padding-bottom: 0;
    margin-bottom: 15px;
}

.services-group-title {
    font-weight: 600;
    font-size: 38px;
    color: var(--color-secondary);
}

.services-grid-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.services-grid-archive .service-block-item:last-child:nth-child(odd) {
    grid-column: span 2;
}

.services-grid-mixed {
    grid-template-columns: repeat(6, 1fr);
}

.services-grid-mixed .service-block-item:nth-child(-n+4) {
    grid-column: span 3;
}

.services-grid-mixed .service-block-item:nth-child(n+5) {
    grid-column: span 2;
}

.service-block-title {
    max-width: 80%;
}

@media (max-width: 1200px) {
    .services-grid-archive {
        margin-top: 24px;
    }
}

@media (max-width: 891px) {

    .services-grid-archive,
    .services-grid-mixed {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .services-grid-mixed .service-block-item {
        grid-column: 1 / -1;
    } */

    /* .services-grid-mixed .service-block-item:nth-child(n+5) {
        grid-column: 1/ -1;
    } */

    .services-grid-mixed .service-block-item:nth-child(-n+4),
    .services-grid-mixed .service-block-item:nth-child(n+5),
    .services-grid-archive .service-block-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {

    .services-grid-archive,
    .services-grid-mixed {
        grid-template-columns: 1fr;
    }
}

/* NEWS BLOCK */
.section-news {
    background-color: var(--ltblue);
}

.news-row {
    margin-top: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 30px;
}

.news-list {
    margin-top: 40px;
}

.news-slide {
    background: #fff;
    border-radius: 16px;
}

.news-card {
    display: flex;
    flex-flow: column;
    text-decoration: none;
}

.news-photo {
    position: relative;
    flex-shrink: 0;
    overflow: visible;
    --news-photo-pt: 13px;
    --news-photo-pr: 11px;
    --news-photo-pb: 18px;
    --news-photo-pl: 13px;
    padding: var(--news-photo-pt) var(--news-photo-pr) var(--news-photo-pb) var(--news-photo-pl);
}

.news-photo-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    -webkit-mask-image: url("frontend/assets/img/news-photo-mask.svg");
    mask-image: url("frontend/assets/img/news-photo-mask.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.news-photo-no-thumb img {
    aspect-ratio: revert-rule;
    object-fit: contain;
    background-color: var(--black);
    padding: 16px;
}

.news-photo::after {
    content: "";
    position: absolute;
    top: var(--news-photo-pt);
    right: var(--news-photo-pr);
    bottom: var(--news-photo-pb);
    left: var(--news-photo-pl);
    z-index: 2;
    pointer-events: none;
    background: url("frontend/assets/img/news-photo-border.svg") center / 100% 100% no-repeat;
}

.news-photo::before {
    content: "";
    position: absolute;
    top: calc(var(--news-photo-pt) + -6px);
    left: 50%;
    z-index: 3;
    width: 78px;
    height: 28px;
    pointer-events: none;
    background: url("frontend/assets/img/icons/logo-new-header.svg") center / contain no-repeat;
    transform: translateX(-50%);
}

.news-slider .news-slide {
    overflow: visible;
    height: auto;
}

.news-card-content {
    padding: 24px 16px 24px 16px;
}

.news-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-main);
}

.news-date {
    color: var(--gray);
    font-weight: 400;
    font-size: 14px;
}

.news-card:hover .news-title {
    text-decoration: underline;
}

.row-title-block {
    display: flex;
    flex-flow: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.title-new-wrapper {
    position: relative;
}

.header-title-section-block .title-new-wrapper:before {
    content: '';
    width: 4px;
    left: 0;
    height: 100%;
    background: var(--red);
    position: absolute;
    border-radius: 30px;
}

.news-pagination {
    margin-top: 40px;
}

.page-numbers {
    list-style: none;
    padding: 0;
}

.news-pagination ul.page-numbers {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 8px;
}

.page-numbers li,
.page-numbers li {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-all);
}

.page-numbers li a {
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    color: var(--text-header-link);
    text-decoration: none;
    transition: var(--trans-all);
    width: 100%;
}

.page-numbers li:hover {
    background: var(--red);
    border-color: transparent;
}

.page-numbers li:hover a {
    color: #fff;
}

.page-numbers li:hover svg,
.page-numbers li:hover path {
    stroke: #fff;
}

.page-numbers li:has(.current) {
    font-size: 13px;
    border-color: transparent;
    background: var(--red);
    color: #fff;
}

.news-mobile-nav {
    display: none;
}

.news-mobile-nav>a {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-all);
}

@media (max-width: 1200px) {

    .news-row {
        margin-top: 25px;
    }

    .news-photo::before {
        width: 56px;
        height: 20px;
    }

    /* .news-mobile-nav {
        margin-top: 50px;
        display: flex;
        flex-flow: wrap;
        gap: 8px;
    } */
}

/* CONTACTS PAGE */
.contacts-page-wrapper :where(*) {
    margin-bottom: 0;
}

.contacts-inner {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}

.contacts-left {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 15px;
    max-width: 570px;
    width: 100%;
}

.contacts-item {
    border: 1px solid rgba(232, 232, 232, 0.6);
    border-radius: 20px;
    padding: 24px;
    background: #fff;
    display: flex;
    flex-flow: column;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-title);
}

.contacts-item-last {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    border-radius: 20px;
    padding: 32px;
    background: var(--color-title);
    display: flex;
    align-items: center;
    flex-flow: wrap;
    gap: 10p;
    justify-content: space-between;
    grid-column: 1 / -1;
}

.contacts-item-link {
    text-decoration: none;
    color: var(--color-title);
}

.contacts-item .contants-item-icon {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
    padding-bottom: 12px;
}

.contacts-text-small {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray);
}

.contacts-item:has(.icon-location) p {
    font-size: 15px;
}

.contacts-item:has(.icon-location) .contacts-text-small {
    font-size: 13px;
}

.icon-phone::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6669 11.2797V13.2797C14.6677 13.4654 14.6297 13.6492 14.5553 13.8193C14.4809 13.9894 14.3718 14.1421 14.235 14.2676C14.0982 14.3932 13.9367 14.4887 13.7608 14.5482C13.5849 14.6077 13.3985 14.6298 13.2136 14.6131C11.1622 14.3902 9.19161 13.6892 7.46028 12.5664C5.8495 11.5428 4.48384 10.1772 3.46028 8.56641C2.3336 6.82721 1.63244 4.84707 1.41361 2.78641C1.39695 2.60205 1.41886 2.41625 1.47795 2.24082C1.53703 2.0654 1.63199 1.9042 1.75679 1.76749C1.88159 1.63077 2.03348 1.52155 2.20281 1.44675C2.37213 1.37196 2.55517 1.33325 2.74028 1.33307H4.74028C5.06382 1.32989 5.37748 1.44446 5.62279 1.65543C5.8681 1.8664 6.02833 2.15937 6.07361 2.47974C6.15803 3.11978 6.31458 3.74822 6.54028 4.35307C6.62998 4.59169 6.64939 4.85102 6.59622 5.10033C6.54305 5.34964 6.41952 5.57848 6.24028 5.75974L5.39361 6.60641C6.34265 8.27544 7.72458 9.65737 9.39361 10.6064L10.2403 9.75974C10.4215 9.5805 10.6504 9.45697 10.8997 9.4038C11.149 9.35063 11.4083 9.37004 11.6469 9.45974C12.2518 9.68544 12.8802 9.84199 13.5203 9.92641C13.8441 9.97209 14.1399 10.1352 14.3513 10.3847C14.5627 10.6343 14.6751 10.9528 14.6669 11.2797Z' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

.icon-mail::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.334 2.66699H2.66732C1.93094 2.66699 1.33398 3.26395 1.33398 4.00033V12.0003C1.33398 12.7367 1.93094 13.3337 2.66732 13.3337H13.334C14.0704 13.3337 14.6673 12.7367 14.6673 12.0003V4.00033C14.6673 3.26395 14.0704 2.66699 13.334 2.66699Z' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M14.6673 4.66699L8.68732 8.46699C8.4815 8.59594 8.24353 8.66433 8.00065 8.66433C7.75777 8.66433 7.5198 8.59594 7.31398 8.46699L1.33398 4.66699' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

.icon-clock::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00065 14.6663C11.6825 14.6663 14.6673 11.6816 14.6673 7.99967C14.6673 4.31778 11.6825 1.33301 8.00065 1.33301C4.31875 1.33301 1.33398 4.31778 1.33398 7.99967C1.33398 11.6816 4.31875 14.6663 8.00065 14.6663Z' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M8 4V8L10.6667 9.33333' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

.icon-location::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.40002 14.5323C9.64002 13.4617 13.3327 9.99501 13.3327 6.66634C13.3327 5.25185 12.7708 3.8953 11.7706 2.89511C10.7704 1.89491 9.41384 1.33301 7.99935 1.33301C6.58486 1.33301 5.22831 1.89491 4.22811 2.89511C3.22792 3.8953 2.66602 5.25185 2.66602 6.66634C2.66602 9.99501 6.35868 13.4617 7.59868 14.5323C7.7142 14.6192 7.85482 14.6662 7.99935 14.6662C8.14388 14.6662 8.2845 14.6192 8.40002 14.5323Z' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M8 8.66699C9.10457 8.66699 10 7.77156 10 6.66699C10 5.56242 9.10457 4.66699 8 4.66699C6.89543 4.66699 6 5.56242 6 6.66699C6 7.77156 6.89543 8.66699 8 8.66699Z' stroke='%23C34249' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

.contacts-right {
    flex: 1 0 42%;
}

.contacts-right #map {
    height: 400px;
    width: 100%;
}

@media (max-width: 1200px) {

    .contacts-left,
    .contacts-right {
        max-width: 100%;
    }

    .contacts-right #map {
        height: 500px;
    }

}

/* DETAILS РЕКВИЗИТЫ */
.details-section :where(*) {
    margin-bottom: 0;
}

.details-title {
    font-weight: 700;
    font-size: var(--font-size-36);
    color: var(--color-title);
}

.details-inner {
    border: 1px solid rgba(232, 232, 232, 0.6);
    border-radius: 24px;
    padding: 41px;
    margin-top: 40px;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
    gap: 24px;
}

.details-item {
    display: flex;
    flex-flow: column;
}

.details-item-title {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
}

.details-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-title);
}

/* УСПЕШНЫЕ КЕЙСЫ CASES BLOCK */
.case-slider p {
    margin-bottom: 0;
}

.cases {
    background-color: var(--light);
    position: relative;
}

.cases-row {
    margin-top: 40px;
}

.cases-nav {
    display: none;
}

.case-slide {
    flex-grow: 1;
}

.case-card {
    position: relative;
    border-radius: 23px;
    height: 520px;
    overflow: hidden;
}

.case-card:before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23fff' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: var(--trans-all);
}

.case-card:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.66797 4.66663H11.3346V11.3333' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M4.66797 11.3333L11.3346 4.66663' stroke='%23C34249' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    transform: rotate(45deg);
}

.case-card-image {
    height: 100%;
}

.case-card-image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #000000 42.06%, rgba(0, 0, 0, 0.3) 56.62%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.3) 37.55%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.case-card-panel {
    position: absolute;
    display: flex;
    flex-flow: column;
    gap: 15px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 24px 24px 48px 24px;
    color: #fff;
}

.case-card-name {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
}

.case-card-shortcontent {
    font-weight: 400;
    font-size: 14px;
    color: #fff;
}

@media (max-width: 1200px) {
    .section-cases .section-head {
        flex-flow: wrap;
    }

    .case-card-name {
        font-size: 18px;
    }
}

/* ВНУТРЕННЯЯ СТРАНИЦА УСЛУГ SERVICES PAGE */
.services-main-wrapper {
    padding-top: 8px;
}

.services-hero-section {
    color: #fff;
    position: relative;
    max-width: 1920px;
    width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
}

.services-hero-image {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 565px;
}

.services-hero-image:has(img) {
    height: auto;
}

.services-hero-image img {
    width: 100%;
    object-position: center 30%;
    object-fit: cover;
}

.services-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(154.54deg, #000000 16.91%, rgba(0, 0, 0, 0.3) 24.46%, rgba(0, 0, 0, 0) 32.52%), linear-gradient(33.07deg, #000000 38.59%, rgba(0, 0, 0, 0.3) 50.99%, rgba(0, 0, 0, 0) 64.23%), linear-gradient(91.11deg, #000000 18.04%, rgba(0, 0, 0, 0.3) 44.28%, rgba(0, 0, 0, 0) 64.55%);
    pointer-events: none;
}

.services-hero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-content: center;
}

.services-hero-inner {
    display: flex;
    flex-flow: column;
    max-width: 750px;
    width: 100%;
}

.services-hero-title {
    font-weight: 800;
    font-size: 56px;
}

.services-hero-text {
    font-weight: 400;
    font-size: 16px;
    max-width: 89%;
}

.btn-services-hero {
    max-width: max-content;
    margin-top: 50px;
    height: 56px;
}

@media (max-width: 767px) {
    .services-hero-wrapper {
        align-content: unset;
        padding: 0;
    }

    .services-hero-image:not(.services-hero-image-has-mobile) img {
        object-position: right 10rem;
        height: 512px;
    }

    .services-hero-image::before {
        background: linear-gradient(154.54deg, #000000 16.91%, rgba(0, 0, 0, 0.3) 24.46%, rgba(0, 0, 0, 0) 32.52%), linear-gradient(176deg, #000000 38.59%, rgba(0, 0, 0, 0.3) 50.99%, rgba(0, 0, 0, 0) 64.23%), linear-gradient(170deg, #000000 18.04%, rgba(0, 0, 0, 0.3) 44.28%, rgba(0, 0, 0, 0) 64.55%);
    }

    .services-hero-inner {
        padding: 24px 16px;
    }

    .services-hero-title {
        font-size: 26px;
        color: #fff;
    }

    .btn-services-hero {
        margin-top: 25px;
        text-align: left;
    }
    .btn-services-hero svg{
        max-width: max-content;
    }
}

/* SERVICES OFFER SECTION */
.services-offer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 80px;
}

.services-offer-left {
    flex: 1 1 min(42%, 100%);
    display: flex;
    flex-flow: column;
}

.services-offer-title {
    font-size: var(--font-size-36);
    font-weight: 700;
    color: var(--color-title);
}

.services-offer-text {
    font-weight: 400;
    font-size: 16px;
    color: var(--heading-color);
    margin-top: 16px;
}

.services-offer-icon-list {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}

.services-offer-icon-item {
    display: flex;
    flex-flow: column;
    gap: 10px;
    flex: 1;
}

.services-offer-icon {
    border-radius: 10px;
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.services-offer-icon-text {
    font-weight: 400;
    font-size: 14px;
    color: var(--heading-color);
}

.services-offer-right {
    flex: 1 1 min(50%, 100%);
}

.outline-card {
    border-style: solid;
    border-color: var(--red);
    border-width: 1px 1px 1px 4px;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-flow: column;
    gap: 12px;
    background: #fff;
}

.services-offer-right-item.outline-card:not(:last-child) {
    margin-bottom: 16px;
}

.outline-card-title {
    font-weight: 700;
    font-size: 17px;
    color: var(--color-title);
}

.outline-card-text {
    font-weight: 400;
    font-size: 14px;
    color: var(--heading-color);
}

@media (max-width: 1200px) {

    :where(.outline-card:not(:last-child)) {
        margin-bottom: 8px;
    }
}

@media (max-width: 750px) {
    .services-offer-inner {
        flex-flow: column;
        gap: 24px;
    }
}

/* HOW WE SUPPORT SECTION КАК МЫ СОПРОВОЖДАЕМ НАЛОГОВУЮ ПРОВЕРКУ */
.how-we-support-inner {
    display: flex;
    flex-flow: column;
    gap: 16px;
    counter-reset: support-step;
}

.how-we-support-title {
    font-weight: 700;
    font-size: var(--font-size-36);
}

.how-we-support-item {
    display: flex;
    flex-flow: column;
    gap: 24px;
    counter-increment: support-step;
    position: relative;

}

.how-we-support-item::after {
    content: counter(support-step, decimal-leading-zero);
    font-weight: 500;
    font-size: 20px;
    color: var(--red);
    position: absolute;
    top: 10px;
    right: 10px;
    width: 21px;
    height: 24px;
    display: flex;
    align-items: center;
}

.how-we-support-item-text {
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.how-we-support-subitems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.how-we-support-subitem {
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.how-we-support-subitem-title {
    font-weight: 700;
}

@media (max-width: 1200px) {
    .how-we-support-item-text {
        display: block;
    }

    .how-we-support-subitems {
        gap: 16px;
    }
}

/* WHAT YOU GET SECTION ЧТО ВЫ ПОЛУЧАЕТЕ */
.section-what-you-get {
    background: url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
}

.what-you-get-title {
    margin-bottom: 40px;
}

.what-you-get-list-item-title {
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
}

.what-you-get-item-left {
    flex: 0 1 min(51%, 100%);
    max-width: 100%;
}

.what-you-get-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px 32px;
}

.what-you-get-list-item-title:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
}

.what-you-get-item-right {
    max-width: 520px;
    margin-bottom: -150px;
    margin-top: -20px;
}

@media (max-width: 1200px) {
    .what-you-get-title {
        margin-bottom: 16px;
    }

    .what-you-get-inner {
        gap: 0;
    }

    .what-you-get-item-left {
        flex-grow: 1;
    }

    .what-you-get-list-item-titl {
        font-size: 14px;
    }

    .what-you-get-list {
        grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
        gap: 16px;
    }

    .what-you-get-item-right {
        margin-bottom: -301px;
        margin-top: 0;
        right: -20%;

    }
}

/* AUDIENCE SECTION ДЛЯ КОГО ПОДХОДИТ */
.audience-title {
    font-weight: 700;
    font-size: var(--font-size-36);
    color: var(--color-title);
}

.audience-title-text {
    font-weight: 400;
    font-size: 16px;
    max-width: 30%;
    text-align: right;
    color: var(--heading-color);

}

.audience-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
}

.audience-item {
    padding: 20px 20px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 15px;
}

.audience-item:has(.audience-item-text) {
    min-height: 216px;
    padding: 30px 20px;
    justify-content: space-between;
}

.audience-item-title {
    font-size: 19px;
}

.audience-item-text {
    color: var(--heading-color);
    opacity: 1;
}

.audience-inner:has(> :nth-child(6)) {
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
}

.audience-section-3-rows .audience-inner:has(> :nth-child(6)) {
    grid-template-columns: repeat(15, 1fr);
}

:where(.audience-section-3-rows .audience-inner:has(> :nth-child(6))> :nth-child(-n + 5)) {
    grid-column: span 3;
}

:where(.audience-section-3-rows .audience-inner:has(> :nth-child(6))> :nth-child(n + 6)) {
    grid-column: span 5;
}

@media (max-width: 1200px) {
    .audience-title-text {
        max-width: 100%;
        text-align: left;
    }

    .audience-inner {
        gap: 8px;
    }

    .audience-section-3-rows .audience-inner:has(> :nth-child(6)) {
        grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    }

    .audience-inner .audience-item {
        height: auto;
    }

    .audience-item:has(.audience-item-text) {
        height: auto;
    }

    .audience-item-title {
        font-weight: 500;
        font-size: 20px;
        color: var(--black);
    }

    .audience-item-text {
        display: block;
    }


    .audience-section-3-rows .audience-inner:has(> :nth-child(6))>* {
        grid-column: auto;
    }

}

/* RISKS SECTION РИСКИ БЛОКА ОЦЕНКИ РИСКОВ */
.risks-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(550px, 100%), 1fr));
    gap: 16px 24px;
}

.risks-item {
    margin-bottom: 0;
}

.risks-item-title {
    font-weight: 500;
    font-size: 20px;
    color: var(--black);
}

.risks-item-text {
    min-height: 34px;
    align-content: end;
    margin-bottom: 0;
    color: rgba(0, 0, 0, 0.6);
    max-width: 95%;
}

/* CTA SECTION БЛОК КОНТАКТНОЙ ИНФОРМАЦИИ */
.cta-section {
    background: url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
    margin-bottom: 8px;
}

.cta-inner {
    padding-top: 15px;
    padding-bottom: 15px;
}

.cta-item-left {
    max-width: 68%;
}

.cta-text {
    font-weight: 500;
    font-size: 14px;
    color: var(--black);
}

.cta-item-right {
    max-width: 500px;
    margin-bottom: -150px;
    margin-top: -20px;
}

.btn-cta {
    max-width: max-content;
    height: 56px;
    padding: 16px 24px;
    margin-top: 48px;
}

@media (max-width: 1200px) {
    .cta-inner {
        padding: 0;
    }

    .cta-item-left {
        max-width: 100%;
    }

    .cta-text {
        padding-top: 16px;
    }

    .btn-cta {
        margin-top: 16px;
    }

    .cta-item-right {
        margin-bottom: -200px;
    }
}

/* CONSULT FORM SECTION БЛОК ЗАКАЗА ЗВОНКА */
.consult-form-section {
    background: url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
    overflow: hidden;
}

.consult-form-inner {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.consult-form-left-col {
    flex: 1 1 min(500px, 100%);
}

.consult-form-right-col {
    flex: 1 1 min(590px, 100%);
    margin-bottom: -250px;
    right: -20%;
    position: relative;
}

@media (max-width: 1200px) {
    .consult-form-section {
        background: unset;
        border: unset;
        margin: 0;
    }

    .consult-form-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .consult-form-inner {
        gap: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .consult-form-left-col {
        padding: 24px 16px;
    }

    .consult-form-left-col .form-submit-button {
        width: 100%;
        justify-content: space-between;
        margin: 0;
    }

    .consult-form-right-col {
        background: url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
        background-size: cover;
        right: 0;
    }
}

/* TEAM SECTION НАШИ СОТРУДНИКИ */
.team-slide {
    flex-grow: 1;
}

.team-card {
    position: relative;
    display: flex;
    flex-flow: column;
    border-radius: 16px;
    overflow: hidden;
}

.team-top-block {
    position: absolute;
    display: flex;
    flex-flow: column;
    gap: 8px;
    top: 0;
    color: #fff;
    padding: 24px 24px 24px;
    max-width: 200px;
    z-index: 1;
}

.team-card-name {
    font-weight: 700;
    font-size: 24px;
}

.team-card-position {
    font-weight: 600;
    font-size: 16px;
    opacity: 0.5;
}

.team-card-image {
    height: 520px;
}

.team-card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 0 -30px;
}

.team-slider .team-slide:nth-child(3) .team-card-image img {
    scale: 1.2;
    object-position: 30px -65px;
}

.team-card-panel {
    position: absolute;
    bottom: 0;
    padding: 24px 24px 24px;
    width: 100%;
    color: #fff;
}

.team-card-panel:before {
    content: '';
    background: linear-gradient(0deg, #000000 35.65%, rgba(0, 0, 0, 0.3) 62.27%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    position: absolute;
    height: 100%;
    left: 0;
}

.team-card-desc-item {
    color: #fff;
    display: flex;
    flex-flow: column;
    max-width: 380px;
}

.team-card-desc {
    font-weight: 400;
    font-size: 12px;
    display: flex;
    flex-flow: column;
    position: relative;
    justify-content: center;
}

.team-card-desc ul {
    padding-inline-start: 0px;
    list-style: none;
    display: flex;
    flex-flow: column;
    gap: 12px;
}

.team-card-desc-item li {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    max-width: max-content;
    gap: 8px;
}

.team-card-desc-item li span {
    flex: 1;
}

.team-card-desc-item li:before {
    content: '•';
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
    color: var(--red);
}

.team-card-desc hr {
    background-image: url("data:image/svg+xml,%3Csvg width='336' height='1' viewBox='0 0 336 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M168 1C137.2 1 109.073 0.977652 83.6182 0.932955C58.1636 0.8875 37.8 0.826894 22.5273 0.751136C7.50909 0.675379 0 0.591667 0 0.5C0 0.407576 7.50909 0.323864 22.5273 0.248864C37.8 0.173106 58.1636 0.112879 83.6182 0.0681818C109.073 0.0227273 137.2 0 168 0C199.055 0 227.182 0.0227273 252.382 0.0681818C277.836 0.112879 298.073 0.173106 313.091 0.248864C328.364 0.323864 336 0.407576 336 0.5C336 0.591667 328.364 0.675379 313.091 0.751136C298.073 0.826894 277.836 0.8875 252.382 0.932955C227.182 0.977652 199.055 1 168 1Z' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.team-line {
    max-width: max-content;
    margin-top: 15px;
}

.team-desc-text {
    font-weight: 400;
    font-size: 12px;
    margin-top: 10px;
}

.team-desc-text p:not(:last-child) {
    margin-bottom: 10px;
}


.team-card-desc ul li::marker {
    color: var(--red);
}

@media (max-width: 1200px) {
    .team-card-image img {
        object-position: -36px -30px;
    }

    .team-slider .team-slide:nth-child(3) .team-card-image img {
        object-position: 0px -65px;
    }
}

/* FAQ BLOCK  БЛОК ЧАСТО ЗАДАВАЕМЫХ ВОПРОСОВ */
.faq-inner {
    display: flex;
    flex-flow: wrap;
}

.accordion {
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.accordion-item {
    padding: 16px 16px 16px 24px;
    gap: 0;
}

.faq-inner .accordion-item:first-of-type,
.accordion-item:not(:first-of-type) {
    border-radius: 16px;
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--red);
}

.accordion-header {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    font-size: 20px;
    color: var(--black);
    transition: var(--trans-all);
    position: relative;
}

/* .accordion-header::after {
    content: '';
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 49.52%, rgba(102, 102, 102, 0) 100%);
    opacity: 0.2;
} */

.accordion-header p {
    flex: 1;
}

.accordion-content {
    transition: var(--trans-all);
    display: grid;
    grid-template-rows: 0fr;
    position: relative;
}

.accordion-inner {
    display: flex;
    flex-flow: column;
    gap: 15px;
    overflow: hidden;
    font-weight: 400;
    font-size: 16px;
    color: var(--heading-color);
    position: relative;
    transition: var(--trans-all);
}

.accordion-item-title {
    color: var(--black);
}

.accordion-item.active .accordion-inner {
    padding-top: 20px;
}

.accordion-inner::before {
    content: '';
    position: absolute;
    height: 2px;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 49.52%, rgba(102, 102, 102, 0) 100%);
    opacity: 0.2;
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
    padding-top: 20px;
}

.accordion-icon {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all linear .2s;
}

.accordion-icon:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.16406 10H15.8307' stroke='white' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3Cpath d='M10 4.1665V15.8332' stroke='white' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all linear .2s;
}

.accordion-item.active .accordion-icon:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.16406 10H15.8307' stroke='white' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    transform: rotate(180deg);
}


@media (max-width: 1200px) {
    .faq-right-block {
        flex-grow: 1;
    }
}

/* SIDEBAR SECTION САЙДБАР */
.sidebar {
    flex: 1 1 min(25%, 100%);
    display: flex;
    flex-flow: column;
    gap: 25px;
    align-self: flex-start;
    position: sticky;
    top: calc(var(--header-sticky-offset) + 12px);
}

.sidebar-block {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    flex-flow: column;
}

.sidebar-block-toggle {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
    background-color: unset;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='5' viewBox='0 0 9 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.582031 0.583374L4.08203 4.08337L7.58203 0.583374' stroke='%2385848A' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--trans-all);
    pointer-events: none;
}

.sidebar-block-content {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-block-header {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--text-header-link);
}

.sidebar-block-title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sidebar-list {
    padding: 8px;
    display: flex;
    flex-flow: column;
    gap: 5px;
}

.sidebar-list li {
    list-style: none;
    font-weight: 500;
    font-size: 13px;
    color: var(--color-main);
    position: relative;
    transition: var(--trans-all);
    border-radius: 10px;
}

.sidebar-list li a {
    display: flex;
    padding: 10px 12px;
    align-items: center;
    gap: 12px;
    color: var(--color-main);
    text-decoration: none;
}


.sidebar-list-item.is-active,
.sidebar-list-item:hover {
    background: var(--red);
}

.sidebar-list-item.is-active a,
.sidebar-list-item:hover a {
    color: #fff;
    font-weight: 600;
}

.sidebar-list-item.is-active a::before,
.sidebar-list-item:hover a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 100%;
    background: #fff;
    transition: var(--trans-all);
}

/* SIDEBAR BLOCK CONSULTATION БЛОК ЗАПИСИ НА КОНСУЛЬТАЦИЮ */
.sidebar-block-cons {
    border-radius: 20px;
    background: var(--red);
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sidebar-block-cons:after {
    content: '';
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 100%;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.sidebar-block-cons-title {
    font-weight: 600;
    font-size: 15px;
}

.sidebar-block-cons-text {
    font-weight: 400;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 8px;
}

.btn-sidebar {
    margin-top: 20px;
    color: var(--red);
    height: 45px;
}

.btn-sidebar.button-white i:before {
    color: var(--red);
}

.phone-sidebar {
    justify-content: center;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding-top: 16px;
}

.phone-sidebar::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.1834 9.28676V11.0368C12.1841 11.1992 12.1508 11.36 12.0857 11.5089C12.0206 11.6577 11.9252 11.7914 11.8055 11.9012C11.6858 12.011 11.5444 12.0946 11.3905 12.1467C11.2366 12.1987 11.0736 12.2181 10.9118 12.2034C9.11675 12.0084 7.39252 11.395 5.8776 10.4126C4.46817 9.51698 3.27321 8.32203 2.3776 6.9126C1.39175 5.3908 0.778241 3.65818 0.586766 1.8551C0.572189 1.69379 0.59136 1.53121 0.643058 1.37771C0.694756 1.22422 0.777849 1.08317 0.887046 0.963543C0.996243 0.84392 1.12915 0.748344 1.27731 0.682902C1.42547 0.617459 1.58563 0.583583 1.7476 0.583431H3.4976C3.78069 0.580644 4.05514 0.680893 4.26979 0.865491C4.48444 1.05009 4.62464 1.30644 4.66427 1.58676C4.73813 2.1468 4.87511 2.69669 5.0726 3.22593C5.15108 3.43472 5.16807 3.66163 5.12154 3.87978C5.07502 4.09792 4.96694 4.29816 4.8101 4.45676L4.06927 5.1976C4.89967 6.658 6.10886 7.86719 7.56927 8.6976L8.3101 7.95676C8.4687 7.79993 8.66894 7.69184 8.88709 7.64532C9.10523 7.59879 9.33214 7.61578 9.54093 7.69426C10.0702 7.89175 10.6201 8.02873 11.1801 8.1026C11.4635 8.14257 11.7223 8.2853 11.9072 8.50364C12.0922 8.72197 12.1905 9.00068 12.1834 9.28676Z' stroke='white' stroke-opacity='0.7' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 12px;
    height: 12px;
}

@media (max-width: 760px) {
    .sidebar .sidebar-block .sidebar-block-content {
        overflow: hidden;
        transition: var(--trans-all);
        display: grid;
        grid-template-rows: 0fr;
        border-color: transparent;
    }

    .sidebar-list {
        transition: var(--trans-all);
        overflow: hidden;
        padding: 0;
    }

    .sidebar-block-toggle {
        pointer-events: auto;
    }

    .sidebar .sidebar-block .sidebar-block-toggle.is-expanded {
        transform: rotate(-90deg);
    }

    .sidebar .sidebar-block .sidebar-block-content.is-expanded {
        grid-template-rows: 1fr;
        border-color: inherit;

    }

    .sidebar .sidebar-block .sidebar-block-content.is-expanded .sidebar-list {
        padding: 8px;
    }

    .sidebar-block-cons:after {
        transform: translate(-40%, -30%);
    }
}

/* СТРАНИЦА КЕЙСОВ CASES PAGE*/

.cases-main-wrapper {
    padding: var(--page-padding-md) 0;
}

.cases-main-inner {
    --sidebar-w: clamp(260px, 24vw, 320px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
    grid-template-areas:
        "hero sidebar"
        "content sidebar";
    align-items: start;
    gap: 24px 48px;
}

@media (min-width: 1200px) {
    .cases-main-inner {
        padding: 0;
    }
}

.cases-main-content {
    flex: 1 1 min(68%, 100%);
}

.cases-main-inner .hero-cases-section {
    grid-area: hero;
}

.cases-main-inner>.sidebar {
    grid-area: sidebar;
    flex: none;
    min-width: 0;
    width: 100%;
    align-self: start;
}

.cases-main-inner>.cases-content-section {
    grid-area: content;
    min-width: 0;
}

.hero-cases-wrapper {
    position: relative;
}

.hero-cases-wrapper:not(:has(.cases-hero-image img))>.cases-hero-image {
    height: 420px;
}

.cases-hero-image {
    position: relative;
    border-radius: 23px;
    overflow: hidden;
}

.cases-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #000000 35.65%, rgba(0, 0, 0, 0.3) 62.27%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.cases-hero-image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-cases-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 24px 48px 24px;
    color: #fff;
    /* max-width: 62%; */
}

.hero-cases-title {
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    gap: 12px;
}

.hero-cases-subtitle {
    font-weight: 400;
    font-size: 14px;
    padding-top: 16px;
}

@media (max-width: 790px) {
    .cases-main-inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hero"
            "sidebar"
            "content";
        gap: 24px;
    }

    .cases-hero-image {
        height: 480px;
    }

    .cases-main-inner>.sidebar {
        position: static;
        top: auto;
        gap: 8px
    }

    .hero-cases-inner {
        max-width: 100%;
    }

}

/* CASES CONTENT SECTION КЕЙСЫ ОСНОВНОЙ КОНТЕНТ*/
/* .cases-content-section {
    margin: var(--page-padding-md) 0;
} */
.cases-content-wrapper p,
.cases-content-wrapper ul,
.cases-content-wrapper li {
    line-height: 1.75;
}

.cases-content-inner {
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.cases-content-item {
    border: 1px solid rgba(232, 232, 232, 0.6);
    border-radius: 24px;
    padding: 32px;
    background: #fff;
    display: flex;
    flex-flow: column;
    line-height: 1.5;
}


.cases-content-title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.25;
    color: var(--color-secondary);
}

.cases-content-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-main);
    margin-top: 16px;
    line-height: 1.75;
}

.cases-content-subtitle-scnd {
    margin-top: 24px;
}

h3.cases-content-subtitle-scnd {
    font-weight: 700;
    font-size: 20px;
    color: var(--color-secondary);
}

.cases-content-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-main);
    margin-top: 24px;
}

.cases-numbers-item-text>.nbsp-only,
.cases-content-text>.nbsp-only {
    line-height: 1.0;
}

.cases-content-text>ul,
.cases-content-text>ol {
    margin-bottom: 24px;
}

/* .cases-numbers-item-text li:not(:last-child){
    padding-bottom: 5px;
} */

/* :where(.cases-content-text li:not(:last-child)) {
    padding-bottom: 10px;
} */

ol {
    margin-bottom: 24px;
}

.cases-content-item li::marker {
    font-size: 12px;
}

.cases-content-item:has(> .cases-content-subtitle)>.cases-text-card {
    margin-top: 0;
}

/* .cases-content-text:has(> .cases-text-card) {
    margin-top: 0;
} */

.cases-content-text .cases-text-card:first-child {
    margin-top: 0;
}

.cases-content-text .cases-text-card ul {
    margin-top: 8px;
}

.cases-numbers-list .cases-numbers-item .cases-numbers-item-text p+ul {
    margin-bottom: 8px;
    padding-top: 5px;
    margin-top: 0;
}

/* .cases-numbers-list .cases-numbers-item .cases-numbers-item-text p+ul li:not(:last-child) {
    padding-bottom: 5px;
} */

.cases-numbers-horizontal .cases-numbers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 16px;
    counter-reset: cases-numbers-item;
}

.cases-numbers-horizontal .cases-numbers-list:has(> :nth-child(3)) {
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}

.cases-numbers-item {
    display: flex;
    flex-flow: wrap;
    gap: 16px;
    flex: 1 1 min(48%, 100%);
    counter-increment: cases-numbers-item;
    position: relative;
}

.cases-numbers-item-number {
    width: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: rgba(195, 66, 73, 0.1);
    font-weight: 700;
    font-size: 13px;
    color: var(--red);
}

.cases-numbers-item-number::before {
    content: counter(cases-numbers-item);
}

.cases-numbers-item-text {
    flex: 1;
}

.cases-numbers-item-inner {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.cases-numbers-item-inner:has(table) {
    overflow: auto;
}

.cases-content-item-vertical-wrapper {
    border: 1px solid rgba(232, 232, 232, 0.6);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    padding: 32px;
}


.cases-content-item-vertical-wrapper .cases-numbers-vertical {
    border: none;
    border-radius: 0;
    padding: 0;
}

.cases-content-item-vertical-wrapper .cases-numbers-vertical:not(:first-child) {
    margin-top: 24px;
}

.cases-numbers-vertical .cases-numbers-item-number {
    width: 40px;
    height: 40px;
    background: var(--red);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.cases-numbers-vertical .cases-numbers-item:has(.cases-numbers-item-number):has(+ .cases-numbers-item .cases-numbers-item-number)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: rgba(195, 66, 73, 0.2);
}

.cases-content-item-subtitle {
    font-weight: 700;
}

.cases-text-card {
    border-radius: 0 12px 12px 0;
    background: rgba(195, 66, 73, 0.05);
    padding: 16px 20px;
    margin-top: 8px;
    gap: 0;
}

.cases-numbers-vertical .cases-numbers-list {
    display: flex;
    flex-flow: column;
    gap: 40px;
}

.cases-text-card-gray {
    background: rgba(194, 194, 194, 0.1);
    border-color: #c2c2c2;
}

.cases-text-card-green {
    background: rgba(31, 175, 56, 0.1);
    border-color: #1FAF38;
}

.cases-text-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 16px;
    margin-top: 16px;
}

.cases-card-column {
    display: flex;
    flex-flow: column;
    gap: 8px;
}

@media (max-width: 1200px) {
    .cases-content-item-vertical-wrapper {
        padding: 32px 16px;
    }
}

/* CONSULT SESSION SECTION БЛОК ЗАПИСИ НА СЕССИЮ */
.section-consult-session {
    background: url('frontend/assets/img/subscribe-bg2.jpg') no-repeat;
    background-size: cover;
    margin-bottom: 8px;
    margin-top: 8px;
}

.consult-session-left {
    flex: 0 1 min(46%, 100%);
    max-width: 100%;
}

.consult-session-right {
    max-width: 540px;
    margin-bottom: -120px;
    margin-top: -60px;
}

@media (max-width: 760px) {
    .consult-session-left {
        flex-grow: 1;
    }

    .consult-session-right {
        margin-bottom: -200px;
    }
}

/* HEADER TITLE BACKGROUND IMAGE ЗАГОЛОВОК С ИЗОБРАЖЕНИЕМ*/
.header-title-section-block {
    background: url('frontend/assets/img/title-background.webp') no-repeat;
    background-size: cover;
    max-width: 1920px;
    width: calc(100% - 16px);
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
}

.header-title-image {
    max-height: 240px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .row-title-block .title-new-wrapper {
        padding-left: 16px;
        flex-basis: 60%;
    }

    .header-title-section-block {
        background-position: top;
    }

    .header-title-section-block .row-title-block {
        padding: 16px;
    }

    .header-title-image {
        flex: 1;
        max-height: 135px;
        bottom: -1rem;
        margin-top: 5%;
        position: relative;
    }
}

/* СТРАНИЦА НОВОСТЕЙ ВНУТРЕННЯЯ NEWS PAGE INNER */
.hero-news-title:before {
    content: '[ Новости ]';
}

.post-content.news-content-item p,
.post-content.news-content-item ul,
.post-content.news-content-item ol,
.post-content.news-content-item h2,
.post-content.news-content-item h3,
.post-content.news-content-item h4,
.post-content.news-content-item h5,
.post-content.news-content-item h6 {
    margin-bottom: 1rem;
}

.post-content.news-content-item li {
    line-height: 1.7;
    padding-bottom: 5px;
}

.cases-content-item.news-content-item .nbsp-only {
    line-height: 0.6;
    margin-bottom: 0;
}

.post-content.news-content-item h2,
.post-content.news-content-item h3 {
    font-weight: 700;
}

.post-content.news-content-item h3 {
    font-weight: 600;
}

.news-hero-image {
    position: relative;
}

.news-hero-image-inner {
    position: relative;
}

.news-hero-image::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -1px;
    z-index: 3;
    width: 174px;
    height: 50px;
    pointer-events: none;
    background: url(frontend/assets/img/news-logo-hero.svg) no-repeat;
    background-size: contain;
    transform: translateX(-50%);
}

.news-meta {
    display: flex;
    flex-flow: wrap;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}

.news-meta-category a {
    color: var(--red);
    text-decoration: none;
}

@media (max-width: 1200px) {
    .hero-news-inner img {
        height: 480px;
    }
}

/* ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ  PRIVACY POLICY */
.policy-content-top {
    gap: 24px;
}


.policy-cases-title {
    font-size: var(--font-size-40);
    font-weight: 700;
    color: var(--color-secondary);
}

.policy-cases-subtitle {
    font-weight: 400;
    color: var(--text-header-link);
}

.policy-content-inner {
    color: var(--color-main);
}

table {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    display: block;
    font-size: 14px;
    overflow: auto;
    margin-bottom: 24px;
    border-collapse: collapse;
}

table thead td {
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-header-link);
}

table thead tr {
    background: rgba(248, 250, 255, 0.5);
}

table tr:nth-child(even) {
    background: rgba(248, 250, 255, 0.5);
}

table tr {
    border: 1px solid rgba(232, 232, 232, 0.6);
}

table tr td {
    padding: 10px 20px;
}

table li {
    padding-bottom: 0;
}

table tr td:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    width: 43%;
}


table tbody tr td:first-child {
    color: var(--color-main);
}

table tbody tr td:nth-child(2) {
    color: var(--color-secondary);
    font-weight: 600;
}

.table-cases {
    margin-top: 24px;
    border: 1px solid rgba(194, 194, 194, 0.6);
    font-size: 15px;
}

.table-cases tr td {
    padding: 10px 16px;
}

.table-cases thead tr {
    background: rgba(194, 194, 194, 0.1);
}

.table-cases tbody tr {
    background: #fff;
}

table.table-cases tr:nth-child(even) {
    background: #fff;
}

table.table-cases tr:last-child {
    background: rgba(194, 194, 194, 0.1);
}

.table-cases tr:not(:last-child) {
    border-bottom: 1px solid rgba(194, 194, 194, 0.6);
}

.table-cases th:not(:last-child),
.table-cases td:not(:last-child) {
    border-right: 1px solid rgba(194, 194, 194, 0.6);
}

.table-cases td,
.table-cases tbody tr td:first-child {
    width: auto;
}

.table-cases td:not(:first-child) {
    text-align: center;
}

.table-cases td.table-cases-over,
.table-cases td.table-cases-ok {
    font-weight: 700;
}

.table-cases td.table-cases-over {
    background: #fff3f4;
    color: var(--red);
}

.table-cases td.table-cases-ok {
    background: #f0fff4;
    color: #1a7f4b;
}

@media (max-width: 767px) {
    .table-cases {
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        font-size: 13px;
    }

    .table-cases thead {
        display: none;
    }

    .table-cases,
    .table-cases tbody,
    .table-cases tr,
    .table-cases td {
        display: block;
        width: 100%;
    }

    .table-cases tbody tr,
    table.table-cases tr:nth-child(even),
    table.table-cases tr:last-child {
        margin: 0 0 12px;
        border: 1px solid rgba(194, 194, 194, 0.6);
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }

    .table-cases tbody tr:last-child {
        margin-bottom: 0;
    }

    .table-cases tr:not(:last-child) {
        border-bottom: 1px solid rgba(194, 194, 194, 0.6);
    }

    .table-cases th:not(:last-child),
    .table-cases td:not(:last-child) {
        border-right: 0;
    }

    .table-cases tbody tr td:first-child {
        width: 100%;
        padding: 14px 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(194, 194, 194, 0.6);
        color: var(--color-secondary);
        font-weight: 700;
        font-size: 16px;
        line-height: 1.3;
        text-align: left;
    }

    .table-cases td:not(:first-child) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        text-align: left;
        align-items: start;
        line-height: 1.35;
        color: var(--color-secondary);
        font-weight: 600;
        background: #fff;
        border: 0;
    }

    .table-cases td.table-cases-over,
    .table-cases td.table-cases-ok {
        font-weight: 700;
    }

    .table-cases td.table-cases-over {
        color: var(--red);
    }

    .table-cases td.table-cases-ok {
        color: #1a7f4b;
    }

    .table-cases td:not(:first-child)::before {
        content: attr(data-label);
        color: var(--text-header-link);
        font-weight: 400;
    }
}


/* ABOUT PAGE СТРАНИЦА О КОМПАНИИ */
.about-intro-inner {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    gap: 32px;
}

.about-subtitle {
    font-weight: 400;
    font-size: 15px;
    color: var(--black);
    margin-top: 24px;
}

.about-intro-left {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 24px;
    flex: 1 1 min(470px, 100%);
}

.about-intro-name {
    background: #fff;
    border: 1px solid #eae9e5;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--red);
    max-width: max-content;
}

.about-intro-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-main);
}

.about-intro-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: var(--heading-color);
}

.about-intro-image-wrapper {
    position: relative;
    margin-top: 10px;
}

.about-intro-image {
    overflow: hidden;
    border-radius: 24px;
}

.about-intro-image img {
    width: 100%;
    object-fit: cover;
    height: 330px;
    object-position: 0 -40px;
}

.about-intro-image-text {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
}

.about-intro-dot {
    background: var(--red);
    border-radius: 5px;
    width: 10px;
    height: 10px;
}

.about-intro-image-text-inner {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 5px;
}

.about-intro-image-text-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1a1d20;
}

.about-intro-image-text-subtitle {
    font-weight: 500;
    font-size: 12px;
    color: #5a5e63;
}

.about-intro-right {
    flex: 1 1 min(670px, 100%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 16px;
}

.about-intro-item {
    flex-flow: wrap;
    align-items: center;
    background: #fff;
    gap: 16px;
    padding: 16px;
}

.about-intro-item-inner {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 12px;
}

.about-intro-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cases-text-card-gray .about-intro-icon {
    border-radius: 8px;
    width: 44px;
    height: 44px;
    background: #faf9f6;
}

.about-intro-item-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #1a1d20;
}

.about-intro-item-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.16;
    color: var(--black);
    opacity: 0.5;
    flex: 1;
}

.about-intro-right .about-intro-item:last-child {
    grid-column: 1 / -1;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .about-intro-image img {
        object-position: 0;
    }

    .about-intro-right {
        gap: 8px;
    }

    .about-intro-item {
        padding: 16px 12px;
        gap: 8px;
        margin: 0;
    }

    .cases-text-card-gray .about-intro-icon {
        width: 36px;
        height: 36px;
    }

    .about-intro-item-title {
        font-size: 16px;
    }

    .about-intro-item-text {
        font-size: 13px;
    }

    .about-intro-right .about-intro-item:last-child {
        gap: 16px;
    }
}

/* ABOUT ADVANTAGES */
.about-advantages-subtitle {
    margin-top: 16px;
}

.about-advantages-inner {
    margin-top: var(--page-padding-md);
    color: var(--heading-color);
    font-weight: 400;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 20px;
}

.about-advantages-item {
    background: #fcfcfc;
    gap: 0;
    padding: 24px 24px 24px 24px;
}

.about-advantages-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    color: var(--black);
    margin-top: 16px;
    max-width: 85%;
}

.about-advantages-item-text {
    font-weight: 500;
    font-size: 14px;
    color: var(--black);
    opacity: 0.5;
    margin-top: 40px;
}

:where(.about-advantages-inner) .about-advantages-item:last-child .about-advantages-item-text {
    margin-top: 12px;
}

:where(.about-advantages-inner) .about-advantages-item:last-child .about-advantages-item-title {
    margin-top: 0;
}

.about-advantages-inner .about-advantages-item:last-child {
    grid-column: 1 / -1;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .about-advantages-inner {
        gap: 8px;
    }

    .about-advantages-item {
        padding: 24px 16px;
    }

    .about-advantages-item-title {
        font-size: 17px;
    }

    .about-advantages-inner .about-advantages-item:last-child {
        margin-top: 10px;
    }
}

/* ABOUT INDUSTRIES */
.about-industries-section {
    padding-bottom: var(--page-padding);
    margin-bottom: 0;
}

.about-industries-subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--heading-color);
    margin-top: 16px;
}

.about-industries-inner {
    margin-top: var(--page-padding-md);
    display: flex;
    flex-flow: wrap;
    gap: 16px;
}

.about-industries-item {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    color: var(--color-title);
    padding: 24px 16px;
}

/* ABOUT TEAM */
.page-template-page-about .section-team {
    padding-bottom: var(--page-padding);
}

/* ABOUT HOW WE WORK */
.about-how-we-work-section {
    padding-bottom: var(--page-padding);
}

.about-how-we-work-inner {
    margin-top: var(--page-padding-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 24px;
}

.about-how-we-work-item {
    border-left: 4px solid var(--red);
    border-radius: 16px;
    padding: 32px;
    background: #fff;
    display: flex;
    flex-flow: wrap;
}

.about-how-we-work-numbers {
    font-weight: 700;
    font-size: 48px;
    color: var(--red);
}

.about-how-we-work-item-title {
    font-weight: 600;
    font-size: 24px;
    color: var(--color-main);
    padding-top: 20px;
}

.about-how-we-work-item-text {
    font-weight: 400;
    line-height: 1.5;
    color: var(--heading-color);
    padding-top: 48px;
}

@media(max-width: 1200px) {
    .about-how-we-work-item {
        align-items: center;
        padding: 16px;
        gap: 16px;
    }

    .about-how-we-work-numbers {
        font-size: 24px;
    }

    .about-how-we-work-item-title {
        font-size: 20px;
        padding: 0;
        flex: 1;
    }

    .about-how-we-work-item-text {
        padding-top: 6px;
    }
}

/* ABOUT WHY WE TRUST */

.about-why-we-trust-inner {
    margin-top: var(--page-padding-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 24px 20px;
}

.about-why-we-trust-item {
    border-bottom: 1px solid rgba(199, 199, 199, 0.5);
    border-left: 4px solid rgba(199, 199, 199, 0.5);
    border-right: 1px solid rgba(199, 199, 199, 0.5);
    border-top: 1px solid rgba(199, 199, 199, 0.5);
    border-radius: 12px;
    padding: 24px 14px 24px 24px;
    background: #fcfcfc;
    display: flex;
    flex-flow: column;
    height: 260px;
}

.about-why-we-trust-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    color: var(--black);
    margin-top: 16px;
    max-width: 60%;
}

.about-why-we-trust-text {
    font-weight: 400;
    font-size: 14px;
    color: var(--heading-color);
    line-height: 1.2;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .about-why-we-trust-inner {
        gap: 8px;
    }

    .about-why-we-trust-item {
        height: auto;
    }

    .about-why-we-trust-title {
        max-width: 100%;
    }

    .about-why-we-trust-text {
        margin-top: 40px;
    }
}

/* USEFUL SECTION */
.useful-section {
    background: #fff;
    margin-top: 0;
    padding-top: var(--page-padding);
    padding-bottom: var(--page-padding);
}

.useful-inner {
    margin-top: var(--page-padding-md);
    display: flex;
    flex-flow: wrap;
    gap: 40px;
    line-height: 1.45;
}

:where(.useful-inner) p,
:where(.useful-inner) a {
    line-height: 1.45;
}

.useful-left {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 32px 18px;
    flex: 1 1 min(69%, 100%);
}

.useful-item {
    display: flex;
    flex-flow: column;
    gap: 14px;
}

.useful-item-image {
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
    height: 150px;
}

.useful-item-image img {
    height: 100%;
    object-fit: cover;
}

.useful-item-title {
    font-weight: 600;
    font-size: 18px;
}

.link-useful {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.75;
    color: var(--red);
    margin-top: auto;
    text-decoration: none;
}

.link-useful:hover {
    text-decoration: underline;
}

.link-useful::after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9V1M10.3333 5.66667L7 9L3.66667 5.66667M13 9V11.6667C13 12.0203 12.8595 12.3594 12.6095 12.6095C12.3594 12.8595 12.0203 13 11.6667 13H2.33333C1.97971 13 1.64057 12.8595 1.39052 12.6095C1.14048 12.3594 1 12.0203 1 11.6667V9' stroke='%23C34249' stroke-width='2' stroke-linecap='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.useful-right {
    flex: 1 1 min(26%, 100%);
    display: flex;
    flex-flow: column;
    gap: 22px;
    background: #f8ecec;
    border-radius: 16px;
    padding: 28px 28px 55px 28px;
    height: max-content;
}

.useful-right-title {
    font-weight: 700;
    font-size: 27px;
}

.useful-right-subtitle {
    font-weight: 400;
    color: var(--heading-color);
}

.btn-useful {
    max-width: 181px;
    height: 52px;
    padding: 15px 24px;
    line-height: 1.4;
}

@media (max-width: 856px) {
    .useful-right {
        order: 1;
        gap: 16px;
        padding: 24px;
    }

    .btn-useful {
        max-width: 100%;
    }

    .useful-left {
        order: 2;
        grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
        gap: 20px;
    }
}