@import "/assets/fonts/manrope/font.css";

:root {
    --blue-title: #153162;
    --blue: #1E4381;
    --blue-btn: #477EB5;
    --light-blue: #4F8CC9;
    --light-blue-btn: #6197CE;
    --white-bg: #F1F5F8;
    --red: #BD353F;
    --dark-gray: #333333;
    --graphite: #575757;
    --input-border: #F1F3F7;
    --shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    --container-width: 1320px;
    --desktop-gap: calc((100vw - 17px - var(--container-width))/2);
    --mobile-gap: 20px;
    --color-white: #FFFFFF;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    scroll-behavior: smooth;
    font-size: 20px;
    scrollbar-gutter: stable;
}

body {
    background-color: var(--white-bg);
    font-family: 'Manrope', sans-serif;
    color: var(--graphite);
    margin: 0;
    padding: 0;
}

body.services-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(241, 245, 248, .46);
    backdrop-filter: blur(10px) saturate(1.05);
    -webkit-backdrop-filter: blur(10px) saturate(1.05);
    pointer-events: auto;
}

body.services-menu-open .desktop-header {
    position: relative;
    z-index: 120;
}

html.burger-menu-open,
body.burger-menu-open,
html.services-menu-open,
body.services-menu-open,
html.site-search-open,
body.site-search-open {
    overflow: hidden;
}

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

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

.breadcrumbs {
    margin: 24px 0 0;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #8A93A3;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    color: #B7BECA;
}

.breadcrumbs__link {
    color: var(--blue);
}

.breadcrumbs__link:hover {
    color: var(--light-blue);
}

.breadcrumbs__item--current {
    color: var(--graphite);
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin: 16px 0 0;
    }

    .breadcrumbs__list {
        font-size: 13px;
        line-height: 18px;
    }
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

ul, ul li {
    list-style: none;
    padding-left: 0;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-variation-settings: 'wght' bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

details summary{
    cursor: pointer;
    list-style: none;
}
details summary::-webkit-details-marker {
    display:none;
}

[hidden] {
    display: none;
}

p, ul {
    margin-bottom: 0;
}

[data-popup]>*{
    pointer-events: none;
}

.section {
    margin: 80px 0;
}

.btn {
    padding: 1em;
    border-radius: 12px;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    line-height: 1em;
}

.btn--blue {
    background-color: var(--light-blue);
    color: white;

    &:hover {
        background-color: var(--light-blue);
        color: white;
    }

    &:active {
        background-color: var(--blue);
        color: white;
    }
}

.btn--dark-blue {
    background-color: var(--blue);
    color: white;

    &:hover {
        background-color: var(--light-blue);
        color: white;
    }

    &:active {
        background-color: var(--blue);
        color: white;
    }
}

.btn--white {
    background-color: white;
    color: var(--blue);

    &:hover {
        background-color: var(--light-blue);
        color: white;
    }

    &:active {
        background-color: var(--light-blue);
        color: white;
    }
}

.join-form .join-form__submit.btn,
#popup .join-form_send,
.charity-form .charity-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue) 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(79, 140, 201, 0.3);
    font-variation-settings: 'wght' 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.join-form .join-form__submit.btn:hover,
#popup .join-form_send:hover,
.charity-form .charity-submit-button:hover {
    color: white;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-title) 100%);
    box-shadow: 0 6px 20px rgba(79, 140, 201, 0.4);
    transform: translateY(-2px);
}

.join-form .join-form__submit.btn:active,
#popup .join-form_send:active,
.charity-form .charity-submit-button:active {
    color: white;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(79, 140, 201, 0.3);
}

.cross {
    --width: 10px;
    --weight: 1px;
    --color: black;
    --angle: 45deg;
    grid-template-rows: var(--width);
    grid-template-columns: var(--width);
    overflow: hidden;
    border: none;
    background: none;
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    padding: 0;
}

.cross:before,
.cross:after {
    content: "";
    width: var(--width);
    height: var(--weight);
    background: var(--color);
    transform-origin: center;
    grid-area: 1/1;
}

.cross:before {
    transform: rotate(var(--angle));
}

.cross:after {
    transform: rotate(calc(var(--angle) + 90deg));
}


h1, h2, h3, p, span {
    line-height: 1em;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
    font-variation-settings: 'wght' 600;
    color: var(--blue);
    text-transform: none;
}
h1, .h1 {
    font-size: clamp(36px, calc(20px + 3.5vw), 70px);
    margin: 0;
}
h2, .h2 {
    font-size: clamp(32px, calc(25px + 2vw), 48px);
    margin: 0 0 60px 0;
}
h3, .h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
}

.txt-block>*:nth-child(1){
    margin-top: 0;
}
.txt-block>*:last-child{
    margin-bottom: 0;
}
.red-txt{
    color: var(--red) !important;
}
.blue-txt{
    color: var(--blue);
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    /*margin: 0 max(var(--desktop-gap), var(--mobile-gap));*/
}

.swiper-wrapper{
    height: auto;
}

.tabs{
    --display-active: block;
}
.tabs_body{
    display: grid;
    grid-template-columns: 100%;
}
.tab{
    grid-area: 1/1;
    display: none;
}
.tab.active{
    display: var(--display-active);
}
.tabs_head-item[data-tab]{
    cursor: pointer;
}
.tabs_head-item[data-tab]>*{
    pointer-events: none;
}


#popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #00000080;
    backdrop-filter: blur(4px);
    overflow: auto;
    grid-template-columns: 100%;
    align-items: center;
    justify-items: center;
    display: none;
    padding: var(--mobile-gap);
}
#popup.active {
    display: grid;
    z-index: 99;
}
.popup_content{
    background: white;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    width: 665px;
    max-width: 100%;
}
.popup_close{
    --color: var(--graphite);
    --weight: 2px;
    --width: 24px;
    position: absolute;
    top: 28px;
    right: 28px;
}
.popup_title{
    font-size: clamp(24px, calc(15px + 2vw), 40px);
    color: var(--blue);
    font-variation-settings: 'wght' 600;
}
#popup{
    .contacts-group-list{
        display: grid;
        grid-template-columns: 100%;
        gap: 20px;
    }
    .contacts_work-hours{
        font-size: 16px;
        line-height: 1em;
        color: var(--blue);
        margin: 0 0 10px 0;
    }
    .contacts-group_title{
        font-size: 16px;
        font-variation-settings: 'wght' 500;
        color: var(--blue);
    }
    .contacts-list{
        margin: 10px 0 0 0;
        display: grid;
        grid-template-columns: 100%;
        gap: 6px;
    }
    .contact-item{
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--blue);
    }
    .contact-item_icon-wrapper{
        flex-shrink: 0;
        background: var(--blue);
        width: 25px;
        height: 25px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        & :where(img, svg){
            width: 50%;
            height: auto;
            object-fit: contain;
        }
        path{
            fill: white;
        }
    }
    .popup_content.calendar .popup_close{
        top: 20px;
        right: 20px;
        --width: 15px;
        --color: var(--blue);
    }
    .calendar_title{
        font-variation-settings: 'wght' 600;
        font-size: 16px;
        text-align: center;
    }
    .calendar{
        margin: 10px 0 0 0;
    }
    .join-form{
        margin: 26px 0 0 0;
    }
    .join-form_input-list{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .join-form_input{
        width: 100%;
        font-size: 16px;
        padding: 1em;
        border: 1px solid var(--input-border);
        border-radius: 12px;
    }
    .join-form_input:nth-of-type(1){
        grid-area: auto / span 2;
    }
    .join-form_policy{
        margin: 20px 0 0 0;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        font-size: 12px;
        input{
            width: 24px;
            height: 24px;
            border: 1px solid var(--graphite);
            border-radius: 4px;
            flex-shrink: 0;
        }
    }
    .join-form_send{
        margin: 40px 0 0 0;
        width: 100%;
    }
    .success-icon-wrapper{
        margin: 0 auto 0 auto;
        width: 80px;
        display: flex;
        & :where(img, svg){
            width: 100%;
            height: auto;
            object-fit: contain;
        }
        path{
            fill: #4D8856;
        }
    }
    .success_title{
        margin: 50px 0 0 0;
        text-align: center;
    }
    .success_txt{
        margin: 10px auto 0 auto;
        text-align: center;
        font-variation-settings: 'wght' 500;
        color: var(--blue);
    }
    .success_close{
        margin: 100px 0 0 0;
        width: 100%;
        position: relative;
        top: auto;
        right: auto;
    }
}

.calendar{
    --gap: 14px;
    --event-cnt-size: 23px;
    --month-btn-width: 45px;
    display: grid;
    grid-template-columns: 100%;
}
.calendar_month-list-wrapper{
    display: grid;
    grid-template-columns: var(--month-btn-width) 1fr var(--month-btn-width);
    align-items: center;
    justify-content: center;
}
.calendar_month-list{
    width: 100%;
}
.calendar_month-nav-btn{
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    &:before{
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--graphite);
        border-bottom: 2px solid var(--graphite);
        translate: -17% 0;
        rotate: -45deg;
    }
}
.calendar_month-nav-btn.prev:before{
    translate: 17% 0;
    rotate: 135deg;
}
.calendar_month{
    text-align: center;
    font-size: 20px;
    font-variation-settings: 'wght' 500;
}
.calendar_week-day-list{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--gap);
}
.calendar_week-day{
    font-size: 14px;
    font-variation-settings: 'wght' 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1/1;
}
.calendar_day-group-list{
    padding: 0 var(--event-cnt-size) 0 0;
    margin: 0 calc(-1 * var(--event-cnt-size)) 0 0;
}
.calendar_day-list{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--gap);
}
.calendar-day{
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-day[data-date]{
    cursor: pointer;
}
.calendar-day.active{
    background: var(--light-blue);
    color: white;
}
.calendar-day:hover{
    box-shadow: inset 0 0 0 2px var(--light-blue);
}
.calendar-day>*{
    pointer-events: none;
}
.calendar-day_event-cnt{
    position: absolute;
    top: 0;
    right: 0;
    translate: 50% -50%;
    width: var(--event-cnt-size);
    height: var(--event-cnt-size);
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header{
    position: relative;
}

.logo-with-region {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
}

.logo-with-region img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-with-region__text {
    color: var(--blue);
    font-size: 10px;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    line-height: 12px;
    white-space: nowrap;
}

.header__logo.logo-with-region {
    width: 190px;
}

.mobile-header_logo.logo-with-region {
    width: 175px;
}

.mobile-header_logo.logo-with-region .logo-with-region__text {
    font-size: 9px;
    line-height: 12px;
}

.desktop-header {
    padding: 20px 0 0 0;
    color: var(--blue);
    .header__menu-link{
        font-size: 16px;
    }
    a {
        color: var(--blue);
        line-height: 20px;
        &:hover {
            color: var(--light-blue);
        }

        &:active {
            color: var(--blue-title);
        }
    }
    .header__city {
        display: flex;
        gap: 5px;
        align-items: center;
        font-size: 16px;
    }

    .header__contacts {
        font-size: 16px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    .header__top {
        padding: 0 0 10px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .desktop-header_request-btn{
        order: 7;
        flex: 0 0 auto;
        box-sizing: border-box;
        height: auto;
        min-height: 50px;
        padding: 10px 12px;
        border: 0.5px solid var(--blue);
        font-size: 14px;
        font-weight: 400;
        font-variation-settings: 'wght' 400;
        line-height: 20px;
        white-space: nowrap;
        flex-direction: row-reverse;
        gap: 6px;
    }

    .desktop-header_request-btn-icon {
        flex: 0 0 auto;
        width: 19px;
        height: 20px;
    }

    .desktop-header_contact-card {
        background-color: white;
        border-radius: 12px;
        padding: 10px 16px;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        font-size: 16px;
        font-weight: 400;
        font-variation-settings: 'wght' 400;
        line-height: 20px;
        white-space: nowrap;
    }

    .header__bottom-left {
        order: 1;
    }

    .desktop-header_contact-card[href^="tel:"] {
        order: 2;
    }

    .desktop-header_contact-card[href^="mailto:"] {
        order: 3;
    }

    .header__bottom {
        display: flex;
        transition: background-color 0.3s ease-in-out;
        gap: 6px;
        align-items: stretch;
    }
    .header__bottom.fixed {
        position: fixed;
        max-width: 1320px;
        width: 100%;
        margin: 0 auto;
        top: 5px;
        left: 0;
        right: 0;
        z-index: 99;
    }

    .header__bottom-left {
        background-color: white;
        padding: 10px 20px;
        border-radius: 12px;
        gap: 33px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .header__menu-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .header__menu-item {
        position: relative;
        &.has-submenu {
            .header__menu-link {
                display: flex;
                align-items: center;
            }
            .header__menu-icon {
                margin-top: 2px;
                margin-left: 8px;
                width: 16px;
                height: 16px;
                transition: all .3s;
            }
            .header__submenu-list {
                display: none;
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                background-color: white;
                padding: 16px 17px;
                border-radius: 8px;
                margin-top: 5px;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                z-index: 1002;
                &::before {
                    content: '';
                    position: absolute;
                    height: 10px;
                    width: 100%;
                    left: 0;
                    top: -5px;
                }
            }
            &:hover .header__submenu-list {
                display: flex;
                flex-direction: column;
                gap: 6px;
                width: max-content;
            }

            &:hover .header__menu-icon {
                transform: rotate(180deg);
            }

            &:hover svg path {
                stroke: var(--light-blue);
            }
        }
    }

    .header__socials {
        order: 4;
        display: flex;
        flex: 0 0 auto;
        justify-content: center;
        align-items: center;
        min-height: 50px;
        padding: 10px;
        background-color: white;
        border-radius: 12px;
        gap: 6px;
    }

    .header__socials-link {
        background: var(--blue-btn);
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        color: white;
        & :where(img, svg){
            width: 50%;
            height: auto;
            object-fit: contain;
        }
        path {
            fill: currentColor;
        }
    }
    .header__socials-link:hover{
        background: var(--blue);
    }

    .desktop-header_search {
        order: 5;
        flex: 0 0 50px;
        display: flex;
        min-height: 50px;
        background: #FFFFFF;
        border-radius: 12px;
    }

    .desktop-header_search-btn {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        color: var(--blue);
        background: #FFFFFF;
        cursor: pointer;
        transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
    }

    .desktop-header_search-btn:hover {
        color: var(--blue-title);
        background: var(--white-bg);
        box-shadow: inset 0 0 0 1px rgba(30, 67, 129, .08);
    }

    .desktop-header_search-btn svg {
        width: 20px;
        height: 20px;
    }

    .desktop-header_search-btn path {
        fill: currentColor;
    }

    .desktop-header_cabinet-btn {
        order: 6;
        flex: 0 0 auto;
        min-height: 50px;
        padding: 0 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #FFFFFF;
        color: var(--blue);
        font-size: 14px;
        font-weight: 400;
        font-variation-settings: 'wght' 400;
        line-height: 20px;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
    }

    .desktop-header_cabinet-btn:hover {
        color: var(--blue-title);
        background: var(--white-bg);
        box-shadow: inset 0 0 0 1px rgba(30, 67, 129, .08);
    }

    button {
        background-color: white;
    }

    .desktop-header_request-btn {
        background-color: white;
        color: var(--blue);
    }

    .desktop-header_request-btn:hover {
        background-color: var(--white-bg);
        color: var(--blue);
    }

    .desktop-header_request-btn:active {
        background-color: white;
        color: var(--blue-title);
    }
}

.dropdown-service-menu .header__menu-link {
    position: relative;
}

.dropdown-service-menu .header__menu-link::after {
    position: absolute;
    content: "";
    height: 25px;
    width: 100px;
    bottom: -25px;
    left: -50%;
}

.service-dropdown-container-wrapper {
    display: none;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% - 15px);
    padding-top: 30px;
    z-index: 3;
    font-size: 16px;
}

.service-dropdown-lists .service-mine-list .services-item {
    margin-bottom: 8px;
}

@media (hover: hover) {
    .dropdown-service-menu:hover .service-dropdown-container-wrapper {
        display: flex;
    }
}

.service-dropdown-container {
    top: 100%;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-gap: 22px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.service-dropdown-lists {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 6px;
    justify-content: start;
}

.service-list-icon {
    display: flex;
}

div[data-level1] {
    display: flex;
    flex: 1 1 auto;
}

.service-dropdown-container-wrapper .service-dropdown-lists li {
    display: flex;
    align-items: center;
    padding: 2px;
    gap: 12px !important;
    justify-content: space-between;
    width: 100%;
    max-width: 352px;
}

.list-title-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.open-close-arrow {
    background: none;
    border: none;
    display: none;
}

.open-close-arrow svg {
    transform: rotate(-90deg);
}

.service-dropdown-lists li:has(ul) > .list-title-icon-wrapper .open-close-arrow {
    display: flex;
}

.dropdown-subLists {
    padding-left: 12px;
}

.header__layout .header__layout-nav .service-dropdown-lists {
    justify-content: start;
}

.service-mine-list li {
    min-width: 321px;
}

.service-dropdown-container-wrapper .service-dropdown-lists .dropdown-subLists {
    display: none;
}

.subcategory-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding-left: 12px;
}

.service-dropdown-container .subcategory-container .dropdown-subLists,
.service-dropdown-container .subcategory-container .dropdown-subLists-2 {
    display: none;
}

.service-dropdown-container .subcategory-container-1 .dropdown-subLists,
.service-dropdown-container .subcategory-container-2 .dropdown-subLists-2 {
    display: flex;
}

.service-dropdown-container .subcategory-container-1 .dropdown-subLists {
    padding: 20px;
    background: var(--white-bg);
    height: 100%;
    border-radius: 8px;
    width: 100%;
}

/* Стили для выбранных элементов в первом столбце */
.categories-level-1.selected {
    color: #000; /* Пример стиля */
}

/* Стили для выбранных элементов во втором столбце */
li.selected {
    color: #FFF; /* Пример стиля */
}

.service-dropdown-container .subcategory-container .dropdown-subLists-2 {
    gap: 20px;
    color: var(--blue-title);
}

.subcategory-container-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px;
    border: 2px solid var(--white-bg);
    border-radius: 8px;
}

.subcategory-container-2 .subcategory-title {
    font-variation-settings: 'wght' 800;
    color: var(--blue-title);
    font-size: 16px;
    line-height: 24px;
}

.subcategory-container-2 .service-description {
    color: #24282D;
    font-size: 16px;
    line-height: 22px;
    padding: 12px;
    width: 100%;
}

.subcategory-container-2 .service-link {
    color: #2B5EB5;
    font-size: 16px;
    line-height: 22px;
    padding: 12px;
    width: 100%;
    text-decoration: none;
}

.list-title-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
}

.dropdown-service-menu__title-wrapper {
    display: flex;
    align-items: center;
}

.open-close-service-dropdown {
    display: flex;
    height: 24px;
    width: 24px;
    padding: 4px;
}

.header a.btn__list--blue {
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
}

.services-item {
    border-radius: 0;
    border: none !important;
    background-color: transparent !important;
}

.services-item p {
    font-variation-settings: 'wght' 800;
    font-size: 16px;
    line-height: 22px;
    color: var(--blue-title);
}

.service-dropdown-lists .dropdown-subLists {
    padding: 20px;
    background-color: var(--white-bg);
}

.services-mega {
    position: relative;
}

.services-mega__trigger {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    color: var(--blue);
    gap: 6px;
}

.services-mega__trigger-icon {
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.services-mega__dropdown {
    position: fixed;
    top: 96px;
    left: 50%;
    width: min(var(--container-width), 100vw);
    max-height: calc(100vh - 108px);
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: 130;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.services-mega.is-open .services-mega__dropdown {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0);
}

.services-mega.is-open .services-mega__trigger-icon {
    transform: rotate(180deg);
}

.services-mega__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 0;
    height: min(720px, calc(100vh - 108px));
    max-height: inherit;
    padding: 0;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 18px;
    background: white;
    box-shadow: 0 22px 56px rgba(12, 30, 64, .12);
    overflow: hidden;
}

.services-mega__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 10px;
    background: white;
    color: var(--blue);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(21, 49, 98, .08);
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.services-mega__close span {
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.services-mega__close span:first-child {
    transform: rotate(45deg);
}

.services-mega__close span:last-child {
    transform: rotate(-45deg);
}

.services-mega__close:hover,
.services-mega__close:focus-visible {
    background: #F5F8FB;
    border-color: var(--blue);
    outline: none;
}

.services-mega__sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    height: 100%;
    padding: 16px;
    border-right: 1px solid rgba(30, 67, 129, .1);
    background: #FBFCFE;
    color: var(--blue-title);
    overflow: hidden;
}

.services-mega__intro {
    display: grid;
    padding: 2px 4px 4px;
}

.services-mega__eyebrow {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(30, 67, 129, .07);
    color: var(--blue);
    font-size: 12px;
    line-height: 1;
    font-variation-settings: 'wght' 650;
}

.services-mega__filters {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 2px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 67, 129, .28) transparent;
}

.services-mega__tab {
    display: grid;
    gap: 4px;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--blue-title);
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.services-mega__tab strong {
    font-size: 14px;
    line-height: 1.18;
    font-variation-settings: 'wght' 720;
}

.services-mega__tab em {
    color: #8A93A3;
    font-size: 12px;
    line-height: 1;
    font-style: normal;
}

.services-mega__tab:hover,
.services-mega__tab:focus-visible {
    background: #F5F8FB;
    border-color: rgba(30, 67, 129, .1);
    outline: none;
    transform: translateX(2px);
}

.services-mega__tab.is-active {
    background: #F1F5F8;
    border-color: rgba(30, 67, 129, .13);
    color: var(--blue-title);
    box-shadow: inset 3px 0 0 var(--blue);
}

.services-mega__tab.is-active em {
    color: #7A8494;
}

.services-mega__content {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 60px 22px 20px;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 67, 129, .28) transparent;
}

.services-mega__group {
    display: grid;
    gap: 16px;
}

.services-mega__group[hidden] {
    display: none;
}

.services-mega__group-head {
    display: grid;
    gap: 8px;
    padding: 0;
}

.services-mega__group-head h3 {
    margin: 0;
    color: var(--blue-title);
    font-size: 24px;
    line-height: 1.12;
    font-variation-settings: 'wght' 780;
}

.services-mega__group-head p {
    margin: 0;
    color: #697486;
    font-size: 14px;
    line-height: 1.42;
}

.services-mega__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.services-mega__service {
    display: grid;
    gap: 5px;
    width: 100%;
    min-height: 70px;
    padding: 13px 15px;
    border: 1px solid rgba(30, 67, 129, .08);
    border-radius: 12px;
    background: #FBFCFE;
    color: var(--blue-title);
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.services-mega__service--link {
    text-decoration: none;
}

.services-mega__service span {
    font-size: 15px;
    line-height: 1.22;
    font-variation-settings: 'wght' 700;
}

.services-mega__service small {
    color: #7A8494;
    font-size: 12px;
    line-height: 1.35;
    transition: color .18s ease;
}

.services-mega__service:hover,
.services-mega__service:focus-visible {
    background: #F5F8FB;
    border-color: var(--blue);
    color: var(--blue);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(21, 49, 98, .08);
}

.services-mega__service:hover small,
.services-mega__service:focus-visible small {
    color: #697486;
}

@media (min-width: 1201px) and (max-width: 1280px) {
    .services-mega__list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .services-mega__dropdown {
        width: min(var(--container-width), calc(100vw - 40px));
    }
}

.burger-services-menu {
    display: grid;
    gap: 10px;
}

.burger-services-menu__summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 48px 0 18px;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 18px;
    background: white;
    color: var(--blue-title);
    box-shadow: 0 10px 24px rgba(21, 49, 98, .06);
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    line-height: 1;
    font-variation-settings: 'wght' 650;
}

.burger-services-menu__summary::-webkit-details-marker {
    display: none;
}

.burger-services-menu__summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(135deg);
    transition: transform .2s ease;
}

.burger-services-menu[open] .burger-services-menu__summary::after {
    transform: translateY(-50%) rotate(-45deg);
}

.burger-services-menu__content {
    display: grid;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(30, 67, 129, .1);
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 26px rgba(21, 49, 98, .06);
}

.burger-services-menu__intro {
    display: grid;
    padding: 12px 14px;
    border: 1px solid rgba(30, 67, 129, .08);
    border-radius: 14px;
    background: #F5F8FB;
    color: var(--blue-title);
}

.burger-services-menu__intro p {
    margin: 0;
    color: #697486;
    font-size: 13px;
    line-height: 1.35;
}

.burger-services-menu__section {
    display: grid;
    gap: 8px;
    padding-top: 4px;
}

.burger-services-menu__section + .burger-services-menu__section {
    padding-top: 16px;
    border-top: 1px solid rgba(30, 67, 129, .1);
}

.burger-services-menu__section-title {
    display: grid;
    padding: 0 2px 2px;
}

.burger-services-menu__section-title strong {
    color: var(--blue-title);
    font-size: 20px;
    line-height: 1.1;
    font-variation-settings: 'wght' 780;
}

.burger-services-menu__section button {
    display: grid;
    gap: 4px;
    width: 100%;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid rgba(30, 67, 129, .08);
    border-radius: 12px;
    background: #FBFCFE;
    color: var(--blue-title);
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.burger-services-menu__service-link {
    display: grid;
    gap: 4px;
    width: 100%;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid rgba(30, 67, 129, .08);
    border-radius: 12px;
    background: #FBFCFE;
    color: var(--blue-title);
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}

.burger-services-menu__section button span {
    font-size: 14px;
    line-height: 1.22;
    font-variation-settings: 'wght' 700;
}

.burger-services-menu__service-link span {
    font-size: 14px;
    line-height: 1.22;
    font-variation-settings: 'wght' 700;
}

.burger-services-menu__section button small {
    color: #7A8494;
    font-size: 12px;
    line-height: 1.28;
}

.burger-services-menu__service-link small {
    color: #7A8494;
    font-size: 12px;
    line-height: 1.28;
}

.service-form-wrap {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 21, 48, .55);
    z-index: 1100;
}

.service-form-wrap.show {
    display: flex;
}

.service-form {
    max-width: 720px;
}

.service-form__eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(30, 67, 129, .08);
    color: var(--blue);
    font-size: 12px;
    line-height: 1;
    font-variation-settings: 'wght' 700;
}

.service-form__title {
    margin-bottom: 14px !important;
}

.service-form__selected {
    display: grid;
    gap: 7px;
    padding: 14px 16px;
    border: 1px solid rgba(30, 67, 129, .1);
    border-radius: 16px;
    background: #F5F8FB;
}

.service-form__selected-label {
    color: #7A8494;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    font-variation-settings: 'wght' 650;
}

.service-form__selected-name {
    color: var(--blue-title);
    font-size: 18px;
    line-height: 1.2;
    font-variation-settings: 'wght' 700;
}

.service-form__selected-desc {
    color: #697486;
    font-size: 13px;
    line-height: 1.35;
}

.service-form__content {
    margin-top: 24px;
}

.service-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-form__fields .join-form__field {
    min-width: 0;
}

@media (max-width: 768px) {
    .service-form__content {
        margin-top: 18px;
    }

    .service-form__fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.site-search-modal[hidden] {
    display: none !important;
}

.site-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 92px 20px 28px;
}

.site-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 21, 48, .38);
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

.site-search-modal__panel {
    position: relative;
    width: min(940px, 100%);
    max-height: calc(100vh - 124px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(8, 21, 48, .24);
}

.site-search-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--blue);
    cursor: pointer;
}

.site-search-modal__close span {
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: #FFFFFF;
}

.site-search-modal__close span:first-child {
    transform: rotate(45deg);
}

.site-search-modal__close span:last-child {
    transform: rotate(-45deg);
}

.site-search-modal__head {
    padding: 28px 74px 14px 30px;
}

.site-search-modal__eyebrow {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .1);
    color: #EF4444;
    font-size: 12px;
    line-height: 1;
    font-variation-settings: 'wght' 700;
}

.site-search-modal__head h2 {
    margin: 0;
    color: var(--blue-title);
    font-size: 34px;
    line-height: 1.18;
    font-variation-settings: 'wght' 700;
}

.site-search-modal__field {
    margin: 0 30px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid rgba(30, 67, 129, .14);
    border-radius: 14px;
    background: #F5F8FB;
    color: var(--blue);
}

.site-search-modal__field:focus-within {
    border-color: rgba(30, 67, 129, .42);
    box-shadow: 0 0 0 3px rgba(79, 140, 201, .14);
}

.site-search-modal__field svg {
    flex: 0 0 auto;
}

.site-search-modal__field input {
    width: 100%;
    height: 56px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--blue-title);
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.25;
}

.site-search-modal__field input::placeholder {
    color: #7A8494;
}

.site-search-modal__filters {
    min-height: 42px;
    display: flex;
    gap: 8px;
    margin: 16px 30px 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.site-search-modal__filter {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--blue);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.site-search-modal__filter.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #FFFFFF;
}

.site-search-modal__status {
    padding: 14px 30px 0;
    color: #7A8494;
    font-size: 14px;
    line-height: 1.35;
}

.site-search-modal__results {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 30px 30px;
}

.site-search-modal__group + .site-search-modal__group {
    margin-top: 22px;
}

.site-search-modal__group-title {
    margin: 0 0 10px;
    color: var(--blue-title);
    font-size: 15px;
    line-height: 1.25;
    font-variation-settings: 'wght' 700;
}

.site-search-modal__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.site-search-modal__result {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(30, 67, 129, .1);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--graphite);
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.site-search-modal__result:hover,
.site-search-modal__result:focus-visible {
    border-color: rgba(239, 68, 68, .42);
    box-shadow: 0 12px 30px rgba(21, 49, 98, .08);
    transform: translateY(-1px);
}

.site-search-modal__result-main {
    min-width: 0;
}

.site-search-modal__result-title {
    display: block;
    color: var(--blue-title);
    font-size: 16px;
    line-height: 1.28;
    font-variation-settings: 'wght' 700;
}

.site-search-modal__result-desc {
    display: block;
    margin-top: 5px;
    color: #697486;
    font-size: 13px;
    line-height: 1.35;
}

.site-search-modal__result-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .1);
    color: #EF4444;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.site-search-modal__empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(30, 67, 129, .22);
    border-radius: 14px;
    color: #7A8494;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .site-search-modal {
        padding: 18px 12px 92px;
    }

    .site-search-modal__panel {
        max-height: calc(100vh - 112px);
        border-radius: 16px;
    }

    .site-search-modal__head {
        padding: 24px 62px 12px 18px;
    }

    .site-search-modal__head h2 {
        font-size: 24px;
    }

    .site-search-modal__close {
        top: 18px;
        right: 18px;
    }

    .site-search-modal__field,
    .site-search-modal__filters {
        margin-left: 18px;
        margin-right: 18px;
    }

    .site-search-modal__field {
        min-height: 52px;
        padding: 0 14px;
    }

    .site-search-modal__field input {
        height: 50px;
        font-size: 16px;
    }

    .site-search-modal__status {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-search-modal__results {
        padding: 16px 18px 22px;
    }

    .site-search-modal__result {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-search-modal__result-meta {
        width: fit-content;
    }
}

.mobile-header{
    display: none;
}
.mobile-header_top{
    display: none;
    padding: 20px 0 10px 0;
    .container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.mobile-header_logo{
    display: flex;
    width: 175px;
    & :where(img, svg){
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
.mobile-header_bottom .mobile-header_logo.logo-with-region {
    width: min(160px, 100%);
    min-width: 0;
    justify-self: start;
}
.mobile-header_join-btn {
    flex: 0 0 auto;
    align-self: flex-start;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 4px;
    box-sizing: border-box;
    height: 34px;
    margin-top: 0;
    margin-left: 0;
    padding: 7px 8px;
    border: 0.5px solid var(--blue);
    border-radius: 10px;
    background: white;
    color: var(--blue);
    font-size: 14px;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    line-height: 18px;
    white-space: nowrap;
}
.mobile-header_join-btn-icon {
    flex: 0 0 auto;
    width: 14px;
    height: 15px;
}
.mobile-header_join-btn:hover,
.mobile-header_join-btn:active {
    background: var(--white-bg);
    color: var(--blue);
}
.mobile-header_search-btn {
    flex: 0 0 auto;
    align-self: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--blue);
    box-shadow: 0 8px 22px rgba(21, 49, 98, .08);
}
.mobile-header_search-btn svg {
    width: 18px;
    height: 18px;
}
.mobile-header_search-btn path {
    fill: currentColor;
}
.mobile-header_search-btn:hover,
.mobile-header_search-btn:active {
    background: var(--white-bg);
    color: var(--blue-title);
}
.mobile-header_location{
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-header_burger-btn{
    flex: 0 0 auto;
    align-self: center;
    justify-self: end;
    display: grid;
    grid-template-columns: 20px;
    gap: 4px;
    width: fit-content;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    border: 0;
}
.mobile-header_burger-btn>*{
    pointer-events: none;
}
.mobile-header_burger-btn-line{
    background: var(--blue);
    width: 100%;
    height: 2px;
}
.mobile-header_bottom{
    background: white;
}
.mobile-header_bottom .container{
    padding: 12px 20px;
    background: transparent;
    border-radius: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 24px;
    align-items: center;
    column-gap: 10px;
}
.mobile-header_contacts{
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    align-items: center;
}
.mobile-header_contact-item{
    display: flex;
    & :where(img, svg){
        width: 22px;
        height: auto;
        object-fit: contain;
    }
    path{
        fill: var(--blue);
    }
}
.burger-menu{
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FB 100%);
    padding: 18px 20px 28px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(81px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: 100%;
    align-content: start;
    gap: 26px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
    z-index: 80;
    transition: transform .32s ease, opacity .22s ease, visibility .32s ease;
}
.burger-menu.active{
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    display: grid;
}
.burger-menu_head{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}
.burger-menu_close{
    --color: var(--blue);
    --weight: 2px;
    --width: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(30, 67, 129, .14);
    border-radius: 14px;
    background: white;
    box-shadow: 0 10px 24px rgba(21, 49, 98, .08);
    flex: 0 0 auto;
}
.burger-menu_contacts-wrapper{
    display: grid;
    grid-template-columns: 100%;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(30, 67, 129, .1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 250, 253, .9) 100%);
    color: var(--blue-title);
    box-shadow: 0 18px 42px rgba(21, 49, 98, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.burger-menu_contact-row{
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 17px;
    color: var(--blue-title);
}
.burger-menu_contact-row + .burger-menu_contact-row{
    border-top: 1px solid rgba(30, 67, 129, .08);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.burger-menu_contact-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: var(--blue);
    background: rgba(30, 67, 129, .08);
}
.burger-menu_contact-icon :where(svg){
    width: 18px;
    height: 18px;
}
.burger-menu_contact-icon path{
    fill: currentColor;
}
.burger-menu_contact-content{
    display: grid;
    gap: 4px;
    min-width: 0;
}
.burger-menu_contact-label{
    color: #8A93A3;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    font-variation-settings: 'wght' 650;
}
.burger-menu_contact-value{
    color: var(--blue-title);
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    font-variation-settings: 'wght' 600;
}
.burger-menu_menu{
    display: grid;
    grid-template-columns: 100%;
    gap: 10px;
    font-size: 20px;
    font-variation-settings: 'wght' 650;
    color: var(--blue-title);
}
.burger-menu-item{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 48px 0 18px;
    border: 1px solid rgba(30, 67, 129, .12);
    border-radius: 18px;
    background: white;
    color: inherit;
    box-shadow: 0 12px 28px rgba(21, 49, 98, .07);
}
.burger-menu-item::after{
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: .55;
}
.burger-menu-item_label{
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.have-child .burger-menu-item_label:after{
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
    flex-shrink: 0;
    translate: 0 -17%;
    rotate: 45deg;
}
.burger-menu-item_child-list{
    padding: 10px 0 0 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 10px;
    justify-items: center;
}
.burger-menu_contact-btn{
    display: none;
}

.mobile-action-panel {
    display: none;
}

.mobile-action-panel__inner {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mobile-action-panel__quick {
    display: grid;
    grid-template-columns: 54px 54px minmax(118px, 1fr) 54px 54px;
    gap: 9px;
    align-items: center;
}

.mobile-action-panel__icon,
.mobile-action-panel__join {
    min-height: 56px;
    height: 56px;
    border-radius: 17px;
    font-size: 13px;
    font-weight: 600;
    font-variation-settings: 'wght' 600;
    line-height: 1;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-action-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(30, 67, 129, .13);
    box-shadow: 0 8px 18px rgba(21, 49, 98, .07), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.mobile-action-panel__icon svg {
    flex: 0 0 auto;
    max-width: 21px;
    max-height: 21px;
}

.mobile-action-panel__join {
    width: 100%;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--blue-title) 0%, var(--blue) 58%, #477EB5 100%);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 14px 30px rgba(30, 67, 129, .28), inset 0 1px 0 rgba(255, 255, 255, .24);
    white-space: nowrap;
}

.mobile-action-panel__join--inline {
    min-width: 0;
    padding: 0 14px;
}

.mobile-action-panel__join-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 19px;
}

.mobile-action-panel__join-icon path {
    fill: currentColor;
}

.mobile-action-panel__icon:hover,
.mobile-action-panel__icon:active,
.mobile-action-panel__join:hover,
.mobile-action-panel__join:active {
    transform: translateY(-1px);
}

.join-form-wrap.show {
    z-index: 1100;
}

.become-part{
    margin: 60px 0;
    .container{
        border-radius: 16px;
        background: linear-gradient(270deg, rgba(21, 49, 98, 0) 0%, #153162 100%), url("/assets/images/meeting.jpg") center center/cover no-repeat;
        color: white;
        padding: 40px;
    }
}
.become-part_title{
    font-size: 36px;
    line-height: 1.3em;
    font-family: 'Manrope-Medium', sans-serif;
    font-variation-settings: 'wght' 600;
}
.become-part_txt{
    margin: 10px 0 0 0;
    max-width: 590px;
    font-size: 20px;
    line-height: 1.6em;
}
.become-part_btn{
    margin: 20px 0 0 0;
}

.footer {
    color: white;
    a{
        color: inherit;
        &:hover{
            color: var(--light-blue);
        }
        &:active{
            color: var(--blue-btn);
        }
    }
}

.footer__logo{
    width: 100%;
    max-width: 190px;
}

.footer__logo.logo-with-region {
    gap: 4px;
}

.footer__logo.logo-with-region .logo-with-region__text {
    color: white;
    font-size: 10px;
    line-height: 12px;
}

.footer__logo img{
    width: 100%;
}

.footer__container{
    background-color: var(--blue);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 60px 60px 30px 60px;
}
.footer__inner-top{
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 90px;
}
.footer__inner-item{
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.footer__socials{
    margin-top: 24px;
}
.footer__socials-text{
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 20px;
}
.footer__socials-list{
    display: flex;
    gap: 9px;
}
.footer__inner-item.updates{
    grid-area: updates;
    width: 340px;
    flex-shrink: 0;
}
.footer__inner-item.contacts{
    grid-area: contacts;
}
.footer__inner-item.about{
    grid-area: about;
    padding: 0;
}
.footer__inner-item.structure{
    grid-area: structure;
}
.footer_socials-link{
    width: 25px;
    height: 25px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    & :where(img, svg){
        width: 50%;
        height: auto;
        object-fit: contain;
    }
    path{
        fill: white;
    }
}
.footer_subscribe-form{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    width: 100%;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}
.footer_subscribe-form-input{
    font-size: 14px;
    width: 100%;
    padding: 1em 1.28em;
    color: #000;
}
.footer_subscribe-form-send{
    font-size: 14px;
}
.footer__description-text{
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
}
.footer__contacts-title{
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 20px;
}
.footer__contacts-value{
    display: inline-block;
    font-weight:600;
    font-size: 14px;
    line-height: 20px;
}
.footer__inner-title{
    font-variation-settings: 'wght' 800;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}
.footer__inner-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer__inner-link{
    text-align: left;
}
.footer__inner-point{
    line-height: 22px;
    font-size: 16px;
}

.footer__inner-bottom{
    padding: 25px 0 0 0;
    border-top: 1px solid #E1E4ED;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__policies{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    line-height: 20px;
    a{
        text-decoration: underline;
    }
}
.footer__copy{
    color: #B4B9C9;
}
.footer_developer{
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 16px;
    & :where(img, svg){
        width: 125px;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
    }
    path{
        fill: white;
    }
}
.more--gray {
    color: var(--dark-gray);

    &:hover {
        color: var(--light-blue);

        svg path {
            fill: var(--light-blue);
        }
    }

    &:active {
        color: var(--blue);

        svg path {
            fill: var(--blue);
        }
    }
}


@media (max-width: 1400px){
    .container{
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media (max-width: 1200px){
    html{
        font-size: 16px;
    }
    body {
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }
    .desktop-header{
        display: none;
    }
    .mobile-header{
        display: block;
    }
    .mobile-header_bottom{
        padding: 0;
    }
    .mobile-action-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: block;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(246, 249, 252, .72) 0%, rgba(241, 245, 248, .96) 100%);
        border-top: 1px solid rgba(30, 67, 129, .12);
        box-shadow: 0 -18px 46px rgba(12, 30, 64, .16);
        backdrop-filter: blur(18px) saturate(1.18);
        -webkit-backdrop-filter: blur(18px) saturate(1.18);
    }
    .mobile-action-panel::before {
        content: "";
        position: absolute;
        inset: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        border-radius: 24px;
        background: rgba(255, 255, 255, .78);
        border: 1px solid rgba(255, 255, 255, .78);
        box-shadow: 0 16px 38px rgba(21, 49, 98, .16), inset 0 1px 0 rgba(255, 255, 255, .9);
        pointer-events: none;
    }
    .burger-menu{
        bottom: calc(81px + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 1024px){
    .btn{
        font-size: 14px;
    }
    h2, .h2 {
        margin: 0 0 30px 0;
    }
    h3, .h3 {
        margin: 0 0 10px 0;
        font-size: 16px;
    }
    .section {
        margin: 40px 0;
    }
    .popup_content{
        padding: 24px;
    }
    .popup_close{
        --width: 21px;
    }
    .subcategory-container-1,
    .subcategory-container-2 {
        display: none;
    }

    .service-dropdown-container-wrapper {
        position: unset;
    }

    .service-dropdown-container {
        grid-template-columns: 100%;
        padding: 16px;
    }

    .header__layout .header__layout-nav .service-dropdown-lists {
        gap: 8px;
    }

    .service-dropdown-container-wrapper .service-dropdown-lists li {
        gap: 8px !important;

    }

    .header__layout .service-dropdown-container-wrapper .service-dropdown-lists li .list-title-icon {
        display: flex;
        gap: 16px;
    }

    .header__layout .service-dropdown-container-wrapper .service-dropdown-container li {
        max-width: 100%;
        margin: 0;
        border: none;
        background: none;
        padding: 0;
    }

    .open-close-arrow svg {
        transform: rotate(0deg) scale(1, 1);
        transition: transform 300ms;
    }

    .list-title-icon-wrapper {
        padding: 8px;
        border-radius: 8px;
        background: #FFFFFF;
        gap: 16px;
    }


    .header__layout-nav .service-dropdown-container-wrapper .dropdown-subLists li {
        overflow: unset;
    }

    .open > .list-title-icon-wrapper .open-close-arrow svg {
        transform: scale(1, -1);
    }

    .open > .list-title-icon-wrapper .open-close-arrow svg path,
    .open > .list-title-icon-wrapper .service-list-icon svg path {
        fill: #2B5EB5;
    }

    .open > .list-title-icon-wrapper .list-title-icon a,
    .open > .list-title-icon-wrapper a {
        color: #2B5EB5 !important;
    }

    .service-dropdown-container-wrapper .service-dropdown-lists .dropdown-subLists-2,
    .service-dropdown-container-wrapper .service-dropdown-lists .dropdown-subLists-3 {
        display: none;
    }

    .open > .dropdown-subLists,
    .open > .dropdown-subLists-2,
    .open > .dropdown-subLists-3 {
        display: flex !important;
    }

    .header__layout .header__layout-nav .service-dropdown-lists .open {
        max-height: 100% !important;
    }

    .header__layout .header__layout-nav ul .dropdown-service-menu:hover img {
        transform: rotate(270deg);
    }

    .header__layout .header__layout-nav ul .dropdown-service-menu.open-menu img {
        transform: rotate(360deg);
    }

    .dropdown-service-menu.open-menu .service-dropdown-container-wrapper {
        display: flex;
    }

    .service-dropdown-container .service-dropdown-lists li,
    .header__layout .header__layout-nav .service-dropdown-lists a {
        min-width: unset;
    }
    #popup .popup_content.calendar{
        max-width: 320px;
    }
    .calendar{
        --gap: 8px;
        --event-cnt-size: 14px;
        --month-btn-width: 20px;
    }
    .calendar_month{
        font-size: 14px;
    }
    .calendar_month-nav-btn:before{
        width: 4px;
        height: 4px;
    }
    .calendar_week-day{
        font-size: 12px;
    }
    .calendar-day{
        font-size: 12px;
    }
    .footer .container{
        padding: 20px;
    }
    .footer__inner-top{
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: 'updates';
        gap: 0;
    }
    .footer__inner-item.updates{
        width: 340px;
    }
    .footer__inner-item.contacts,
    .footer__inner-item.about,
    .footer__inner-item.structure{
        display: none;
    }
    .footer__inner-list{
        gap: 16px;
    }
    .footer__inner-bottom{
        flex-direction: column-reverse;
        gap: 30px;
    }
    .footer__policies{
        display: grid;
        grid-template-columns: 100%;
        justify-content: center;
        justify-items: center;
        gap: 10px;
    }
}


@media(max-width: 480px){
    body {
        padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-action-panel {
        padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-action-panel::before {
        inset: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
        border-radius: 21px;
    }
    .mobile-action-panel__quick {
        grid-template-columns: 44px 44px minmax(94px, 1fr) 44px 44px;
        gap: 5px;
    }
    .mobile-action-panel__icon,
    .mobile-action-panel__join {
        min-height: 54px;
        height: 54px;
        border-radius: 15px;
    }
    .mobile-action-panel__join--inline {
        padding: 0 9px;
        font-size: 12px;
        gap: 6px;
    }
    .burger-menu{
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        padding: 16px 20px 24px;
        gap: 22px;
    }
    .burger-menu_menu{
        font-size: 18px;
    }
    .burger-menu-item{
        min-height: 54px;
        border-radius: 16px;
    }
    .footer__inner-item.updates{
        width: 100%;
    }
    #popup {
        .join-form_input-list {
            grid-template-columns: 100%;
            gap: 10px;
        }
        .join-form_input{
            font-size: 14px;
        }
        .join-form_input:nth-of-type(1) {
            grid-area: auto;
        }
        .join-form_send{
            margin: 24px 0 0 0;
        }
        .success-icon-wrapper{
            width: 70px;
        }
        .success_title{
            margin: 25px;
        }
        .success_txt{
            margin: 20px auto 0 auto;
            font-size: 14px;
            max-width: 140px;
        }
        .success_close{
            margin: 25px 0 0 0;
        }
    }
}
