/* Performance Pass 3: exact bundle order = normalize.css -> style.css -> footer.css */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/* --- style.css --- */
/*ПОДКЛЮЧЕНИЕ ШРИФТОВ*/

/*ЗАДАНИЕ НАСТРОЕК ДЛЯ ОСНОВНЫХ СТИЛЕЙ*/
.noselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

:root {
    --whiteColor: #fff;
    --blackColor: #1E1E1E;
    --dorangeColor: #F16A41;
    --lorangeColor: #F97E16;
    --dvioletColor: #9FA0F1;
    --lvioletColor: #BAA1E1;

    --bgColor: #f9f9f9;
    --fHeaderFontSize: 60px;
    --sHeaderFontSize: 35px;
    --mfHeaderFontSize: 35px;
    --msHeaderFontSize: 18px;
    --textSize: 16px;
    --menuFontSize: 18px;
    --heightSectionMobile: 530px;
    scroll-behavior: smooth;
}

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

html,
body {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Unbounded', sans-serif;
}

a {
    text-decoration: none;
}

.btn {
    font-family: 'Unbounded', sans-serif;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 400;
    font-size: 20px;
}

.section_head {
    font-weight: 700;
    font-size: 48px;
    color: var(--blackColor);
    margin-bottom: 40px;
}

section {
    background-color: var(--bgColor);
    border-radius: 56px;
    width: 1568px;
    margin: 32px auto 0px auto;
    padding: 70px 170px;
}

.consult,
.groupTherapy,
.faq,
.card,
.contacts {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.mobbtn {
    display: none;
}

.tag {
    font: 400 24px 'Inter';
    padding: 10px 15px;
    background-color: var(--blackColor);
    color: var(--whiteColor);
    margin-bottom: 50px !important;
    border-radius: 24px;
    display: inline-block;
    /* или block */
    width: fit-content;
    /* чтобы занимал только нужную ширину */
}

/* Основная верстка сайта*/
/* Меню*/
header {
    display: flex;
    gap: 30px;
    align-items: center;
    /* Выравнивание по центру по вертикали */
    width: 1568px;
    /* Занимает всю ширину */
    margin: 32px auto 0px auto;
}

.menu {
    background-color: var(--bgColor);
    padding: 20px 40px 20px 170px;
    border-radius: 56px;
}

.menu_list {
    display: flex;
    gap: 50px;
}

@media (min-width: 1280px) {
    .menu_list {
        gap: 40px;
    }

    .menu_item a {
        white-space: nowrap;
    }

    .hero_btn[type="button"].descbtn {
        line-height: 25px;
    }
}

.menu_item a {
    font: 400 20px 'Unbounded', sans-serif;
    color: var(--blackColor);
}

.menu_item a:hover,
.menu_item a:active {
    color: var(--lorangeColor);
}

.btnMenu {
    display: flex;
    align-items: center;
}

.btnMenu_item,
.about_text_btn,
.groupTherapy_text_btn {
    color: var(--whiteColor);
    background: linear-gradient(90deg, var(--lvioletColor), var(--dorangeColor));
}

.btnMenu_item:hover,
.about_text_btn:hover,
.groupTherapy_text_btn:hover {
    background: var(--dorangeColor);
}

.btnMenu_img {
    margin-right: 30px;
    width: 65px;
    height: 65px;
}

/* HERO*/
.hero {
    display: flex;
    align-items: center;
    padding-left: 170px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODMzIiBoZWlnaHQ9IjU4MyIgdmlld0JveD0iMCAwIDgzMyA1ODMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNjkuODY4IC00N0MxNzMuMDk0IC0zNy4wNDQxIDE3Ni4xNDYgLTI1LjY2MTIgMTc5Ljc2OCAxMi4zNDFDMTgyLjc4OCA0NC4wMjQgMTg1LjAzMyAxMDEuMTQyIDE4NS42MTYgMTM5LjAzQzE4Ni40NjEgMTkzLjkyMSAxNzguNjQ3IDIyNC44MDMgMTcxLjE2NSAyNDkuMjgzQzE1OS4xMzYgMjg4LjYzOCAxMjkuNzA3IDMxMS4zODUgMTA4Ljc5MyAzMjQuNzg3QzEwMC44NDUgMzI5Ljg4MSA4OS44ODkxIDMzMS44NDggNzUuOTQ5OSAzMzMuMDExQzYwLjI4MzUgMzM0LjMxOCA0Ny4zMDg0IDMyNi4yNTcgMzguODUxNiAzMjAuMzMxQzIyLjM2NyAzMDguNzgxIDI0LjI5MyAyODAuOTE0IDI2LjI5NTMgMjU3Ljk4NUMyOC4yMjI3IDIzNS45MTQgNDkuNjIwNCAyMTQuNDI4IDY0Ljk0NDEgMTk5LjIwOUM3OC45NzMxIDE4NS4yNzYgMTM2LjI5MSAxNzkuMDYxIDIyMi4wMDYgMTgyLjE0N0MyOTIuMzM0IDE4NC42NzggMzA4LjcwNCAyMDkuMzExIDMzNC42ODYgMjM5Ljk3N0MzNjcuOTM1IDI3OS4yMjEgMzc0LjI0NyAzMjYuODg3IDM3Ni4xMTMgMzcxLjk3NEMzNzcuNzc1IDQxMi4xNjIgMzYxLjM0OCA0MzEuMTI4IDM0My40MTggNDUzLjI0OUMzMjQuNDExIDQ3Ni43IDI4NS4wMjcgNDc1Ljg4MSAyNzIuMTgxIDQ3MS41MzdDMjY1LjgyNCA0NjkuMzg3IDI2Mi42NzUgNDYyLjA0NSAyNTkuODg1IDQ1NS43MjRDMjUzLjgxNSA0NDEuOTcyIDI2MC4xODUgNDIzLjM1MyAyNjYuOTI2IDQwOC45MDdDMjc0LjUzOCAzOTIuNTkzIDMwNi43NjEgMzczLjQ1NyAzNDQuNTYyIDM1Ny45NTFDMzY0LjUxOCAzNDkuNzY2IDM4My44MTcgMzUxLjk0NyAzOTUuMjM5IDM1Mi4yNzhDNDEzLjMyNyAzNTIuODAxIDQyNy4wNDkgMzcwLjkxMiA0NDAuOTMzIDM5Ny43NjNDNDU4Ljg1IDQzMi40MTMgNDkwLjYxOSA0NDYuMDQyIDU0NC43NDIgNDU4LjIwMUM1OTMuNDM2IDQ2OS4xNDEgNjUwLjA2IDQ2MC4zNTkgNjkzLjAxNSA0NTUuNjU1QzczNy44MjIgNDUwLjc0OSA3NzguMDU3IDQxOC4xMTYgNzkzLjQwOCA0MDQuMDZDODExLjEwMSAzODcuODU5IDgxNS45OTIgMzYzLjI3MiA4MTguODAxIDM0NC45MDVDODIxLjg0OSAzMjQuOTY1IDgwOS43MDcgMzAzLjc1NyA3OTYuMjA0IDI4Ni42OTRDNzgxLjk2NyAyNjguNzAyIDc0Ni4wNTQgMjU2LjgyMyA3MTguNDA1IDI1MS41MjdDNjc5LjA2MyAyNDMuOTkgNjQyLjc3OCAyNTAuMjQgNjIwLjMzMSAyNTYuMjg1QzU1OC44NTMgMjcyLjg0MyA1MzMuNzIyIDMwNC4zODUgNTEyLjU1MiAzMzUuMTYxQzQ5MC4yNzUgMzY3LjU0NyA0OTEuNiA0NDYuNDA1IDQ5Ni44MTUgNDg1LjcxN0M1MDAuODczIDUxNi4zMDUgNTE3LjI1NCA1MjcuMjk1IDU2NC41NDggNTYwLjUwMkM1OTMuNzE0IDU4MC45ODEgNjIwLjk3NiA1ODcuMTU1IDYzNi4zMDMgNTkxLjE1OEM2NDkuMDU4IDU5NC40ODkgNjc3LjI4NiA1ODcuNzIxIDcxOS4yMTkgNTc0LjcwNkM3NTYuNzgxIDU1OS41MjYgNzkxLjMzNiA1MzYuNTA2IDgxNy42NTYgNTEyLjgwOEM4MjcuNDczIDUwMy44MDEgODMwLjEwNiA1MDAuOTIgODMyLjk5NyA0OTcuMjI1IiBzdHJva2U9InVybCgjcGFpbnQwX2xpbmVhcl85MV8yMDY4KSIgc3Ryb2tlLXdpZHRoPSI1MCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfOTFfMjA2OCIgeDE9IjgzMi45OTciIHkxPSIyNzIuNSIgeDI9IjM5LjI5NzciIHkyPSIzNzkuMDQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0YxNkE0MSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNEOEJGRkYiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    background-position: bottom right;
    /* heroBG: в правом нижнем углу */
    height: 580px;
    position: relative;
}


.hero_header {
    font-weight: 700;
    font-size: 64px;
    color: var(--blackColor);
    margin-bottom: 16px;
}

.hero_description {
    font-weight: 400;
    font-size: 24px;
    color: var(--blackColor);
    margin-bottom: 72px;
}

.hero_btn,
.consult_btn {
    background-color: var(--blackColor);
    color: var(--whiteColor);
}

.hero_btn:hover,
.consult_btn:hover {
    background-color: var(--dorangeColor);
}

.hero_btn[type="button"],
.about_text_btn[type="button"],
.consult_btn[type="button"] {
    border: 0;
    cursor: pointer;
}

.hero_btn[type="button"]:focus-visible,
.about_text_btn[type="button"]:focus-visible,
.consult_btn[type="button"]:focus-visible {
    outline: 3px solid var(--blackColor);
    outline-offset: 3px;
}

.hero_text,
.hero_img {
    flex: 1 1 50%;
    box-sizing: border-box;
    object-fit: cover;
    width: 50%;
    /* Явно указываем ширину */
}

.hero_img img {
    position: absolute;
    bottom: 0;
    right: 310px;
}

.hero_bage {
    position: absolute;
    top: 160px;
    right: 170px;
    color: var(--dvioletColor);
    font: 500 16px 'Unbounded';
    width: 240px;
}

/* С чем работаю*/
.work_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 колонки равной ширины */
    gap: 24px 40px;
    /* vertical horizontal - сначала вертикальный, потом горизонтальный */
}

.work_maps {
    border-radius: 48px;
    color: var(--whiteColor);
    padding: 40px;
    position: relative;
}

.work_one {
    background-color: var(--lvioletColor);
}

.work_two {
    background-color: var(--dorangeColor);
}

.work_three {
    background-color: var(--lorangeColor);
}

.work_four {
    background-color: var(--dvioletColor);
}

.work_maps_head {
    font-family: 'Inter' !important;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 32px;
}

.work_maps_item {
    display: grid;
    grid-template-columns: 0.55em minmax(0, 1fr);
    column-gap: 0.7em;
    align-items: start;
    min-width: 0;
    padding-left: 0;
    margin-bottom: 24px;
    font: 400 20px 'Inter';
    text-align: left;
}

.work_maps_item::before {
    content: "•";
    grid-column: 1;
    grid-row: 1;
    padding-top: 8px;
    line-height: 1.35;
}

.work_maps_link,
.work_maps_text {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px 0;
    box-sizing: border-box;
}

.work_maps_link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    column-gap: 12px;
    align-items: start;
    width: 100%;
    color: inherit;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    transition: outline-color 180ms ease;
}

.work_maps_link__label {
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.work_maps_text {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.work_maps_link__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    line-height: 0;
    transition: transform 180ms ease;
}

.work_maps_link__arrow svg {
    display: block;
    width: 16px;
    height: 16px;
}

.work_maps_link:hover .work_maps_link__label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.work_maps_link:hover .work_maps_link__arrow {
    transform: translateX(2px);
}

.work_maps_link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.work_maps_head,
.work_maps_items {
    position: relative;
    z-index: 1;
}

.work_maps_items {
    padding-bottom: 64px;
}

.work_maps_num {
    font: 700 128px 'Unbounded';
    opacity: 20%;
    position: absolute;
    /* Абсолютное позиционирование */
    right: 0px;
    bottom: -40px;
    line-height: 1;
    /* Убираем лишние отступы вокруг текста */
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .work_maps_link,
    .work_maps_link__arrow {
        transition: none;
    }
}

/* Обо мне*/
.about_tiles {
    display: flex;
    align-items: flex-start;
}

.about_text {
    width: 50%;
    margin-right: 40px;
    display: flex;
    flex-direction: column;
}

.about_description {
    font: 400 32px 'Inter';
    color: var(--blackColor);
    margin-bottom: 40px;
    opacity: 80%;
}

.about_text_maps {
    padding: 40px;
    background-color: var(--whiteColor);
    border: 1px solid #e7e7e7;
    border-radius: 48px;
    margin-bottom: 24px;
}

.about_maps_head {
    font: 700 40px 'Inter';
    margin-bottom: 24px;
}

.about_one {
    color: var(--dorangeColor);
}

.about_two {
    color: var(--dvioletColor);
}

.about_maps_item {
    list-style: inside !important;
    margin-bottom: 16px;
    font: 400 20px 'Inter';
    color: var(--blackColor);
    opacity: 80%;
}

.ami_flex {
    display: flex;
    align-items: center;
    display: inline-flex;
}

.about_img {
    width: 50%;
    height: 660px;
    border-radius: 48px;
    border: 1px solid #e7e7e7;
    background-color: var(--whiteColor);
    background-image:
        url("../src/img/aboutBG1.svg"),
        url("../src/img/aboutBG2.svg");
    background-repeat: no-repeat;
    background-position:
        top left,
        bottom right;
    text-align: center;
    position: relative !important;
    display: flex;
    align-items: flex-end;
    /* Прижимаем содержимое к низу */
    justify-content: center;
    /* Центрируем по горизонтали */
    padding-bottom: 0;
    /* Убираем отступ снизу */
    overflow: hidden;
    /* Скрываем выходящие за пределы элементы */
}

.about_img img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    margin-bottom: 0;
    /* Убираем отступ снизу */
    align-self: flex-end;
    /* Прижимаем изображение к низу */
}

.about_img picture {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    /* Убираем лишние отступы */
    position: relative;
    /* Добавляем относительное позиционирование */
}

.about_text_btn {
    text-align: center;
    /* Горизонтальное центрирование текста */
    display: flex;
    /* Используем flexbox */
    justify-content: center;
    /* Горизонтальное центрирование */
    align-items: center;
    /* Вертикальное центрирование */
}

.about_bage {
    position: absolute;
    top: 100px;
    right: -100px;
    color: var(--dvioletColor);
    font: 500 16px 'Unbounded';
    width: 180px;
}

/* Индивидуальная консультация*/
.consult {
    background-image:
        url("../src/img/consultBG.svg"),
        linear-gradient(90deg, var(--dvioletColor), var(--lvioletColor));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.consult_header {
    color: var(--whiteColor);
}

.consult_list {
    display: flex;
    gap: 40px;
    /* Отступ между элементами */
}

.consult_item {
    flex: 1;
    /* Каждый элемент занимает равную часть */
    padding: 40px;
    background-color: var(--whiteColor);
    border: 1px solid #e7e7e7;
    border-radius: 48px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.consult_item_head {
    font: 400 32px 'Inter';
    margin-bottom: 16px;
}

.consult_item_price {
    font: 700 48px 'Unbounded';
    margin-bottom: 110px;
}

.consult_desc_item {
    font: 400 24px 'Inter';
    color: var(--blackColor);
    margin-bottom: 24px;
    opacity: 80%;
    list-style: inside url("../src/dot.svg") !important;
}

.consult_btn {
    margin-top: auto;
    /* Отправляем кнопку вниз блока */
    width: 100%;
    /* Растягиваем на всю ширину */
    text-align: center;
    padding: 20px;
}

/* Групповая терапия*/
.groupTherapy_desc {
    display: flex;
    gap: 40px;
    /* Отступ между элементами */
}

.groupTherapy_img,
.groupTherapy_text,
.groupTherapy_img1024 {
    flex: 1 1 50%;
    border-radius: 48px;
    border: 1px solid #e7e7e7;
    width: 100%;
    /* Добавляем одинаковую ширину */
    box-sizing: border-box;
    /* Учитываем padding в ширине */
}

.groupTherapy_img1024 {
    display: none;
}

.groupTherapy_text {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: var(--whiteColor);
}

.groupTherapy_text_head {
    font: 700 40px 'Inter';
    margin-bottom: 24px;
}

.groupTherapy_text_desc {
    font: 400 24px 'Inter';
    margin-bottom: 48px;
    opacity: 80%;
}

.groupTherapy_text_btn {
    text-align: center;
    /* Горизонтальное центрирование текста */
    display: flex;
    /* Используем flexbox */
    justify-content: center;
    /* Горизонтальное центрирование */
    align-items: center;
    /* Вертикальное центрирование */
}

/* Карта дня*/
.cardFlex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.card_item {
    width: 100%;
    height: 100%;
    border-radius: 48px;
    object-fit: cover;
}

.card_description {
    flex: 0 0 calc(50% - 20px);
    /* Учитываем gap */
    padding: 40px;
    background-color: var(--whiteColor);
    border: 1px solid #e7e7e7;
    border-radius: 48px;
    box-sizing: border-box;
    height: 736px;
}

.card_description_item {
    position: relative;
    padding-left: 1.5em;
    /* Место для кастомного маркера */
    font: 400 24px 'Inter';
    text-align: left;
    /* Текст выровнен как при inside */
    opacity: 80%;
    line-height: 1;
}

.card_description_item:not(:last-child) {
    padding-bottom: 32px;
}

.card_description_item::before {
    content: "•";
    /* Ваш маркер */
    position: absolute;
    left: 0;
    /* Маркер позиционируется как при outside */
}

.card_img {
    flex: 1;
    /* Занимает всё оставшееся пространство */
    box-sizing: border-box;
    height: 736px;
    min-width: 0;
    /* Позволяет сжиматься */
}

/* Стили для плейсхолдера карты */
.card_placeholder {
    width: 100%;
    /* Растягивается на всю ширину card_img */
    height: 100%;
    /* Растягивается на всю высоту card_img */
    min-height: 736px;
    border-radius: 48px;
    background: var(--whiteColor);
    border: 4px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(-45deg, var(--dorangeColor), var(--dvioletColor)) border-box;
}

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

.card_placeholder_text {
    font: 500 32px 'Unbounded';
    color: var(--dvioletColor);
    margin: 0;
    transition: all 0.3s ease;
}

.card_placeholder:hover .card_placeholder_text {
    color: var(--dorangeColor);
    opacity: 1;
}

.work_header {
    font: 700 40px 'Inter';
    margin-bottom: 24px;
}

.card_desc {
    font: 400 24px 'Inter';
    margin-bottom: 48px;
    opacity: 80%;
}

.card_description p {
    margin-bottom: 16px;
}

/* Контакты*/

.maps {
    border-radius: 24px;
}

.contactsFlex {
    display: flex;
    gap: 40px;
}

.contacts__head {
    font: 400 24px 'Inter';
    color: var(--blackColor);
    opacity: 80%;
    margin-bottom: 12px;
}

.contacts__desc {
    font: 700 24px 'Inter';
    color: var(--blackColor);
    margin-bottom: 40px;
}

.contacts__desc a {
    color: var(--blackColor);
}


/* Частые вопросы */
.faq {
    background-color: var(--bgColor);
    border-radius: 56px;
    width: 1568px;
    margin: 32px auto 0px auto;
    padding: 70px 170px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--whiteColor);
    border: 1px solid #e7e7e7;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item--active {
    border-color: var(--lorangeColor);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__question-text {
    font: 400 32px 'Inter';
    color: var(--blackColor);
    transition: color 0.3s ease;
}

.faq__icon {
    color: var(--blackColor);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item--active .faq__icon {
    transform: rotate(180deg);
    color: var(--lorangeColor);
}

.faq__item--active .faq__question-text {
    color: var(--lorangeColor);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item--active .faq__answer {
    max-height: 500px;
}

.faq__answer-content {
    padding: 0 32px 24px 32px;
    font: 400 24px 'Inter';
    color: var(--blackColor);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.faq__item--active .faq__answer-content {
    transform: translateY(0);
    opacity: 0.8;
}

.faq_description_item {
    position: relative;
    text-align: left;
    /* Текст выровнен как при inside */
    padding-left: 1.5em;
    /* Место для кастомного маркера */
    opacity: 80%;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.faq_description_item::before {
    content: "•";
    /* Ваш маркер */
    position: absolute;
    left: 0;
    /* Маркер позиционируется как при outside */
}


/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background: var(--whiteColor);
    border-radius: 32px;
    margin: 40px auto;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    /* Скрываем стандартный скролл */
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal__body {
    max-height: calc(90vh - 120px);
    /* Высота минус заголовок и паддинги */
    overflow-y: auto;
    padding-right: 8px;
    /* Отступ для кастомного скроллбара */
}

/* Кастомный скроллбар для модального окна */
.modal__body::-webkit-scrollbar {
    width: 6px;
}

.modal__body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
    margin: 10px 0;
}

.modal__body::-webkit-scrollbar-thumb {
    background: var(--lorangeColor);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.modal__body::-webkit-scrollbar-thumb:hover {
    background: var(--dorangeColor);
}

/* Для Firefox */
.modal__body {
    scrollbar-width: thin;
    scrollbar-color: var(--lorangeColor) #f1f1f1;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blackColor);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal__close:hover {
    background: #f5f5f5;
    color: var(--lorangeColor);
}

.modal__header {
    margin-bottom: 32px;
    text-align: center;
    position: sticky;
    top: 0;
    background: var(--whiteColor);
    z-index: 1;
    padding-bottom: 16px;
}

/* Вертикальное расположение документов */
.documents-vertical {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.document-vertical-item {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.document-vertical-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.document-vertical-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.document-vertical-img:hover {
    transform: scale(1.02);
}

/* Модальное окно для изображения */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal--active {
    opacity: 1;
    visibility: visible;
}

.image-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.image-modal__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    color: white;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.image-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.image-modal__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

/* Отключение скролла страницы при открытом модальном окне */
body.modal-open {
    overflow: hidden;
    padding-right: 15px;
    /* Компенсация для избежания смещения контента */
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal__content {
        margin: 20px;
        padding: 24px;
        max-height: 95vh;
        max-width: calc(100% - 40px);
    }

    .modal__body {
        max-height: calc(95vh - 80px);
        padding-right: 4px;
    }

    .documents-vertical {
        gap: 20px;
    }

    .document-vertical-item {
        max-width: 100%;
    }

    body.modal-open {
        padding-right: 0;
        /* На мобильных не нужно компенсировать */
    }
}

@media (max-width: 480px) {
    .modal__content {
        margin: 10px;
        padding: 16px;
        max-width: calc(100% - 20px);
    }

    .modal__body {
        max-height: calc(95vh - 60px);
    }

    .documents-vertical {
        gap: 16px;
    }
}

/* Бургер*/
/* Бургер кнопка */
/* Бургер кнопка */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: var(--blackColor);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    gap: 5px;
}

.burger-btn:hover {
    background: var(--lorangeColor);
}

.burger-line {
    display: block;
    height: 3px;
    width: 30px;
    background-color: var(--bgColor);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация бургера при открытии */
.mobile-menu--active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu--active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu--active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu--active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Белая шторка слева */
.mobile-menu__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 100%;
    background: var(--whiteColor);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    padding: 50px 40px 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-bottom-right-radius: 56px;
    border-top-right-radius: 56px;
}

.mobile-menu--active .mobile-menu__content {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 62px;
    right: 50px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blackColor);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1;
}

.mobile-menu__close:hover {
    background: #f5f5f5;
    color: var(--lorangeColor);
}

/* Навигация в мобильном меню */
.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__item {
    margin-bottom: 0;
}

.mobile-nav__item:last-child {
    border-bottom: none;
}

.mobile-nav__link {
    display: block;
    color: var(--blackColor);
    text-decoration: none;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav__link:hover {
    color: var(--lorangeColor);
}

.mobile-nav__text {
    font: 400 20px 'Unbounded', sans-serif;
    display: block;
}

.mobile-nav__footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e7e7e7;
}

.mobile-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    color: var(--whiteColor);
    background: linear-gradient(90deg, var(--lvioletColor), var(--dorangeColor));
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 100px;
    font: 400 16px 'Unbounded', sans-serif;
    transition: all 0.3s ease;
}

.mobile-nav__btn:hover {
    background: var(--dorangeColor);
    transform: translateY(-2px);
}

.mobile-nav__btn-icon {
    width: 20px;
    height: 20px;
}

/* Для больших экранов скрываем бургер */
@media (min-width: 1280px) {
    .burger-btn {
        display: none !important;
    }

    .menu {
        display: block !important;
    }
}

/* Отключение скролла при открытом меню */
body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1280px) and (max-width: 1679px) {

    section,
    .section {
        width: 1280px;
        padding: 70px 28px;
    }

    /* Hero специфичные стили */
    .hero {
        padding-left: 28px;
        /* Убираем большой отступ слева */
        background-position: calc(100% + 165px) bottom;
        /* heroBG: в правом нижнем углу */
    }

    .hero_bage {
        right: 30px;
    }

    .hero_img img {
        right: 160px;
    }

    /* FAQ специфичные стили */
    .faq__question {
        padding: 32px 28px;
    }

    .faq__answer-content {
        padding: 0 28px 20px 28px;
    }

    /* Меню*/
    header {
        width: 1280px;
        justify-content: start;
    }

    .menu {
        padding: 20px 30px 20px 30px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .mobbtn {
        display: none !important;
    }

    section,
    .section {
        width: 1024px;
        padding: 70px 45px;
    }

    .consult_item_price {
        margin-bottom: 110px;
    }

    .hero {
        background-position: calc(100% + 240px) bottom;
        /* heroBG: в правом нижнем углу */
    }

    .hero_img img {
        right: 40px;
    }

    .hero_description {
        margin-bottom: 25px;
    }

    .hero_bage {
        position: static;
        width: 100%;
        margin-bottom: 25px;
    }

    .hero_btn {
        padding: 20px 40px;
        font-size: 20px;
        white-space: nowrap;
        width: auto;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    /* Header */
    header {
        width: 1024px;
        margin: 32px auto 0px auto;
        justify-content: space-between;
        padding: 0 24px;
        position: relative;
    }

    /* Показываем бургер и скрываем обычное меню */
    .burger-btn {
        display: flex !important;
    }

    .menu {
        display: none !important;
    }

    .btnMenu {
        display: flex;
    }

    .about_bage {
        right: -40px;
        text-align: left;
        width: 130px;
    }

    .groupTherapy_img {
        display: none;
    }

    .groupTherapy_img1024 {
        display: block;
        overflow: hidden;
        object-fit: cover;
        width: 100%;
        object-position: left;

    }

    .card_description_item:not(:last-child) {
        padding-bottom: 24px;
    }
}



@media (min-width: 768px) and (max-width: 1023px) {
    .mobbtn {
        display: none !important;
    }

    section,
    .section {
        width: calc(100% - 48px);
        max-width: 768px;
        padding: 70px 45px;
    }

    /* Header */
    header {
        width: calc(100% - 48px);
        max-width: 768px;
        margin: 32px auto 0px auto;
        justify-content: space-between;
        padding: 0 24px;
        position: relative;
    }

    .hero {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        padding: 60px 32px;
        gap: 40px;
        height: 1000px;
        background-position: center bottom;
        /* heroBG*/
    }

    .hero_bage {
        position: absolute;
        right: 32px !important;
        top: 520px !important;
    }

    .hero_header {
        margin-bottom: 24px;
    }

    .hero_description {
        margin-bottom: 40px;
    }

    .hero_text {
        width: 100%;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }

    .hero_img img {
        left: 140px;
    }

    .hero_img {
        width: 100%;
        display: flex;
        align-items: end;
        order: 2;
    }

    .hero_btn {
        padding: 20px 36px;
        font-size: 20px;
        white-space: nowrap;
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .work_list {
        display: flex;
        flex-direction: column;
    }

    .about_tiles {
        flex-direction: column;
    }

    .about_text,
    .about_img {
        width: 100%;
    }

    .about_text_btn {
        margin-bottom: 32px;
    }

    .consult_list {
        flex-direction: column;
        gap: 0;
    }

    .groupTherapy_desc {
        flex-direction: column-reverse;
    }

    .groupTherapy_img {
        height: 470px;
    }

    .cardFlex {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .card_placeholder,
    .card_img {
        height: 100%;
        width: 100%;
        /* Растягиваем на всю ширину */
    }

    .contactsFlex {
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {
    .tag {
        font-size: 12px;
        padding: 6px 15px;
        margin-bottom: 22px !important;
    }

    .mobbtn {
        display: block;
    }

    .descbtn {
        display: none !important;
    }

    .burger-btn {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .btn {
        font-size: 16px;
        padding: 15px 30px;
    }

    section,
    .section {
        width: calc(100% - 40px);
        max-width: 767px;
        padding: 32px 16px;
        border-radius: 40px;
        margin: 16px auto 0px auto;
    }

    /* Header */
    header {
        width: calc(100% - 40px);
        max-width: 767px;
        margin: 32px auto 0px auto;
        justify-content: space-between;
    }

    .btnMenu_img {
        width: 50px;
    }

    .hero {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: space-between;
        /* Распределяем пространство */
        padding: 40px 20px 0 20px;
        /* Убираем отступ снизу */
        gap: 0;
        /* Убираем gap */
        height: auto;
        background-position: center bottom;
        background-size: 100% auto;
    }


    .hero_text {
        width: 100%;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: start;
        /* Центрируем содержимое */
        justify-content: center;
    }

    .hero_img {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        /* Выравниваем по низу */
    }

    .hero_img img {
        position: static;
        width: 100%;
        max-width: 280px;
        height: auto;
        margin-bottom: 0;
        /* Убираем отступ снизу */
    }

    .hero_header {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero_description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero_bage {
        display: none;
        position: static;
        font-size: 12px;
        width: 100%;
        margin-bottom: 24px;
    }

    .hero_btn {
        padding: 16px 32px;
        font-size: 16px;
        white-space: nowrap;
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .section_head {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .work_maps {
        padding: 25px;
        border-radius: 24px;
    }

    .work_maps_head {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .work_maps_item {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .work_list {
        display: flex;
        flex-direction: column;
    }

    .about_description {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .about_tiles {
        flex-direction: column;
    }

    .about_text_maps {
        padding: 16px;
        border-radius: 24px;
    }

    .about_maps_head {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about_maps_item {
        font-size: 16px;
    }

    .about_text,
    .about_img {
        width: 100%;
    }

    .about_img {
        border-radius: 24px;
        height: 400px;
    }

    .about_img img {
        width: 100%;
        height: auto !important;
        max-width: 100%;
    }

    .about_bage {
        right: -20px;
        top: 60px;
        text-align: left;
        font-size: 10px;
        width: 100px;
    }

    .about_text_btn {
        margin-bottom: 32px;
    }

    .consult_item {
        border-radius: 32px;
        margin-bottom: 16px;
        padding: 24px;
    }

    .consult_item_head {
        font-size: 20px;
    }

    .consult_item_price {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .consult_desc_item {
        font-size: 20px;
    }

    .consult_list {
        flex-direction: column;
        gap: 0;
    }

    .groupTherapy_text {
        border-radius: 24px;
        padding: 16px;
        margin-bottom: 16px;
    }

    .groupTherapy_img {
        border-radius: 24px;
    }

    .groupTherapy_text_head {
        font-size: 20px;
    }

    .groupTherapy_text_desc {
        font-size: 16px;
    }

    .groupTherapy_desc {
        flex-direction: column-reverse;
        gap: 0;
    }

    .faq__question {
        padding: 16px;
    }

    .faq__question-text {
        font-size: 16px;
    }

    .faq__answer-content {
        font-size: 16px;
    }

    .faq__item {
        border-radius: 16px;
    }

    .cardFlex {
        flex-direction: column-reverse;
        align-items: center;
        gap: 16px;
    }

    .card_description {
        border-radius: 24px;
        padding: 16px 30px;
    }

    .card_description_item {
        font-size: 16px;
    }

    .card_description_item:not(:last-child) {
        padding-bottom: 16px;
    }

    .card_placeholder,
    .card_item,
    .card_img {
        width: 100%;
        height: 530px;
        /* Фиксированная высота 530px */
        min-height: 530px;
        border-radius: 24px;
    }

    .card_placeholder_text {
        font-size: 16px;
    }

    .work_header {
        font-size: 20px;
    }

    .work_desc {
        font-size: 16px;
    }

    .contactsFlex {
        flex-direction: column-reverse;
    }

    .contacts__head {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .contacts__desc {
        font-size: 20px;
        margin-bottom: 24px;
    }

    iframe {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .mobile-menu__content {
        width: 100%;
        border-radius: 0;
    }

    /* Показываем бургер и скрываем обычное меню */
    .burger-btn {
        display: flex !important;
    }

    .menu {
        display: none !important;
    }

    .btnMenu {
        display: flex;
    }
}


/* БАЗОВЫЕ СТИЛИ ТУЛТИПА - ТОЧНО РАБОТАЮТ */
/* Стили для тултипа с хвостиком */
/* Термин без подчеркивания */
.tooltip-term {
    cursor: default;
}

.tooltip-wrap {
    display: inline-flex;
    align-items: center;
}

/* Иконка информера */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-left: 8px;
    border: 1px solid var(--blackColor);
    border-radius: 50%;
    background: #ffffff;
    color: var(--blackColor);
    cursor: help;
    padding: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tooltip-icon:hover,
.tooltip-icon.tooltip-icon--active {
    color: var(--lorangeColor);
    border-color: var(--lorangeColor);
    background: #fff8f3;
    transform: scale(1.1);
}

.tooltip-icon__glyph {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    transition: inherit;
}

@media (max-width: 767px) {
    .tooltip-icon {
        touch-action: manipulation;
    }
}

.tooltip {
    position: fixed;
    background: var(--whiteColor);
    color: var(--blackColor);
    padding: 20px;
    border-radius: 12px;
    font: 400 14px 'Inter';
    line-height: 1.5;
    max-width: 300px;
    z-index: 10000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    border: 1px solid #f0f0f0;
}

.tooltip--active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Хвостик тултипа */
.tooltip::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--whiteColor);
    transform: rotate(45deg);
    border-right: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    z-index: -1;
}

/* Десктопы - тултип справа с хвостиком слева */
@media (min-width: 768px) {
    .tooltip {
        transform: translateY(-50%);
        margin-left: 8px;
    }

    .tooltip::before {
        left: -8px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        border-right: none;
        border-bottom: none;
    }
}

/* Мобильные - тултип снизу с хвостиком сверху */
@media (max-width: 767px) {
    .tooltip {
        transform: translateX(-50%);
        margin-top: 8px;
    }

    .tooltip::before {
        left: 50%;
        top: -8px;
        transform: translateX(-50%) rotate(45deg);
        border-left: none;
        border-top: none;
    }
}

.contactsText {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* или задайте конкретную высоту */
    justify-content: space-between;
}

/* Стили для социальных иконок в контактах */
.contact_social {
    display: flex;
    gap: 33px;
}

.contact_icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact_icon:hover, .btnMenu_img:hover  {
    stop-color: var(--dorangeColor) !important;
}

.contact_icon:hover .cls-2, .btnMenu_img:hover .cls-2 {
    stop-color: var(--dorangeColor) !important;
}

/* Для WhatsApp градиента */
.contact_icon:hover #whatsapp_gradient stop, .btnMenu_img:hover #btnMenu_gradient stop{
    stop-color: var(--dorangeColor) !important;
}

/* Для Telegram градиента */
.contact_icon:hover #tg_gradient stop {
    stop-color: var(--dorangeColor) !important;
}

/* Для VK градиента */
.contact_icon:hover #vk_gradient stop {
    stop-color: var(--dorangeColor) !important;
}

.cls-1 {
    fill: #fff;
}

.cls-2 {
    transition: fill 0.3s ease;
}

/* Модальное окно выбора способа связи */
.contact-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal--active {
    opacity: 1;
    visibility: visible;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.contact-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: auto 0;
    padding: 48px;
    background: var(--whiteColor);
    border-radius: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
}

.contact-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blackColor);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-modal__close:hover {
    background: #f5f5f5;
    color: var(--lorangeColor);
}

.contact-modal__header {
    margin-bottom: 32px;
    padding-right: 42px;
}

.contact-modal__tag {
    font: 400 18px 'Inter';
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 20px;
    color: var(--whiteColor);
    background: var(--blackColor);
    border-radius: 24px;
}

.contact-modal__title {
    font: 700 40px 'Unbounded';
    color: var(--blackColor);
    margin-bottom: 16px;
}

.contact-modal__description,
.contact-modal__note {
    font: 400 22px 'Inter';
    line-height: 1.35;
    color: var(--blackColor);
    opacity: 0.8;
}

.contact-modal__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.contact-modal__item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 24px;
    color: var(--blackColor);
    background: var(--bgColor);
    border: 1px solid #e7e7e7;
    border-radius: 32px;
    transition: all 0.3s ease;
}

.contact-modal__item:hover {
    transform: translateY(-3px);
    border-color: var(--lorangeColor);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-modal__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--whiteColor);
    background: linear-gradient(90deg, var(--lvioletColor), var(--dorangeColor));
    font: 700 18px 'Unbounded';
}

.contact-modal__item--phone .contact-modal__icon {
    font-size: 26px;
}

.contact-modal__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-modal__name {
    font: 700 24px 'Inter';
    color: var(--blackColor);
}

.contact-modal__hint {
    font: 400 16px 'Inter';
    color: var(--blackColor);
    opacity: 0.7;
}

.contact-modal__arrow {
    margin-left: auto;
    font: 400 28px 'Unbounded';
    color: var(--lorangeColor);
    transition: transform 0.3s ease;
}

.contact-modal__item:hover .contact-modal__arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .contact-modal__overlay {
        padding: 16px;
    }

    .contact-modal__content {
        width: 100%;
        margin: auto 0;
        padding: 32px 16px;
        border-radius: 40px;
        max-height: calc(100dvh - 32px);
    }

    .contact-modal__close {
        top: 18px;
        right: 18px;
    }

    .contact-modal__header {
        padding-right: 36px;
        margin-bottom: 24px;
    }

    .contact-modal__tag {
        font-size: 12px;
        padding: 6px 15px;
        margin-bottom: 16px;
    }

    .contact-modal__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .contact-modal__description,
    .contact-modal__note {
        font-size: 16px;
    }

    .contact-modal__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-modal__item {
        min-height: 96px;
        padding: 16px;
        border-radius: 24px;
    }

    .contact-modal__icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 14px;
    }

    .contact-modal__item--phone .contact-modal__icon {
        font-size: 22px;
    }

    .contact-modal__name {
        font-size: 20px;
    }

    .contact-modal__hint {
        font-size: 14px;
    }
}

/* Для VK градиента */
.contact_icon:hover #vk_gradient stop {
    stop-color: var(--dorangeColor);
}

/* Для MAX градиента */
.contact_icon:hover #contact_max_gradient stop {
    stop-color: var(--dorangeColor);
}

/* Единый плавный градиент для 4 иконок в блоке Контакты */
.contact_social {
    --contact-icon-size: 50px;
    --contact-icon-gap: 33px;
    --contact-icons-count: 4;
    --contact-social-gradient: linear-gradient(
        90deg,
        var(--lvioletColor) 0%,
        var(--dvioletColor) 36%,
        var(--lorangeColor) 68%,
        var(--dorangeColor) 100%
    );
}

.contact_social .contact_icon {
    width: var(--contact-icon-size);
    height: var(--contact-icon-size);
    flex: 0 0 var(--contact-icon-size);
    border-radius: 50%;
    overflow: hidden;
    background-image: var(--contact-social-gradient);
    background-size: calc((var(--contact-icon-size) * var(--contact-icons-count)) + (var(--contact-icon-gap) * (var(--contact-icons-count) - 1))) 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.contact_social .contact_icon:nth-child(2) {
    background-position: calc(-1 * (var(--contact-icon-size) + var(--contact-icon-gap))) 0;
}

.contact_social .contact_icon:nth-child(3) {
    background-position: calc(-2 * (var(--contact-icon-size) + var(--contact-icon-gap))) 0;
}

.contact_social .contact_icon:nth-child(4) {
    background-position: calc(-3 * (var(--contact-icon-size) + var(--contact-icon-gap))) 0;
}

.contact_social .contact_icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Круг внутри SVG делаем прозрачным, чтобы был виден общий фон-градиент. Белые логотипы остаются без изменений. */
.contact_social .contact_icon .cls-2 {
    fill: transparent !important;
    stroke: transparent !important;
}

.contact_social .contact_icon:hover {
    background-image: none;
    background-color: var(--dorangeColor);
    transform: translateY(-2px);
}

/* Реальные SVG-иконки внутри карточек модального окна */
.contact-modal__icon-svg {
    width: 72%;
    height: 72%;
    display: block;
    color: var(--whiteColor);
}
.contact-modal__item--max .contact-modal__icon-svg { width: 76%; height: 76%; }
.contact-modal__item--phone .contact-modal__icon-svg { width: 60%; height: 60%; }

/* Компактный информер cookie — паттерн как у крупных сервисов, в стилистике сайта */
[v-cloak] {
    display: none !important;
}

.cookie-notice {
    position: fixed;
    left: 28px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    z-index: 12000;
    pointer-events: none;
}

.cookie-notice__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px 12px 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #ededed;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(30, 30, 30, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
}

.cookie-notice__text {
    margin: 0;
    white-space: nowrap;
    font: 400 16px 'Inter', sans-serif;
    line-height: 1.35;
    color: var(--blackColor);
}

.cookie-notice__link {
    color: var(--dvioletColor);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-notice__link:hover,
.cookie-notice__link:focus-visible {
    color: var(--dorangeColor);
}

.cookie-notice__button {
    flex: 0 0 auto;
    min-width: 58px;
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    border-radius: 16px;
    background: var(--blackColor);
    color: var(--whiteColor);
    font: 600 13px 'Unbounded', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-notice__button:hover {
    background: var(--dorangeColor);
    transform: translateY(-1px);
}

.cookie-notice__button:focus-visible {
    outline: 3px solid rgba(159, 160, 241, 0.45);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .cookie-notice__inner {
        width: fit-content;
        max-width: 100%;
        padding: 10px 10px 10px 16px;
        gap: 12px;
        border-radius: 20px;
    }

    .cookie-notice__text {
        white-space: normal;
        font-size: 15px;
    }

    .cookie-notice__button {
        min-width: 54px;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 12px;
    }
}

/* --- footer.css --- */
.site-footer {
    width: min(1568px, calc(100% - 64px));
    margin: 80px auto 0;
    background: var(--bgColor, #f9f9f9);
    border-radius: 48px 48px 0 0;
    color: var(--blackColor, #1E1E1E);
}

.site-footer__inner {
    padding: 56px 64px 28px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2.3fr .9fr;
    gap: 40px;
    align-items: start;
}

.site-footer__brand,
.site-footer__column,
.site-footer__articles {
    min-width: 0;
}

.site-footer__brand-name {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--blackColor, #1E1E1E);
    font: 700 22px/1.25 'Unbounded', sans-serif;
    text-decoration: none;
}

.site-footer__brand-text,
.site-footer__contact-lines a,
.site-footer__column a,
.site-footer__article-column a,
.site-footer__bottom {
    font-family: 'Inter', sans-serif;
}

.site-footer__brand-text {
    max-width: 290px;
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.55;
    opacity: .72;
}

.site-footer__contact-lines {
    display: grid;
    gap: 7px;
    margin-bottom: 24px;
}

.site-footer__contact-lines a {
    width: fit-content;
    color: var(--blackColor, #1E1E1E);
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
}

.site-footer__contact-lines a:hover {
    color: var(--dorangeColor, #F16A41);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__social {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    background: #fff;
    color: var(--blackColor, #1E1E1E);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
    transform: translateY(-2px);
    border-color: transparent;
    background: linear-gradient(135deg, var(--lvioletColor, #BAA1E1), var(--dorangeColor, #F16A41));
    color: #fff;
    outline: none;
}

.site-footer__social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.site-footer__column,
.site-footer__article-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}

.site-footer__articles {
    display: block;
}

.site-footer__articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 36px;
}

.site-footer__title {
    margin: 0 0 8px;
    color: var(--blackColor, #1E1E1E);
    font: 600 14px/1.4 'Unbounded', sans-serif;
}

.site-footer__column a,
.site-footer__article-column a {
    width: fit-content;
    max-width: 100%;
    color: var(--blackColor, #1E1E1E);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    opacity: .72;
    transition: opacity .2s ease, color .2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.site-footer__article-column a:hover,
.site-footer__article-column a:focus-visible {
    color: var(--dorangeColor, #F16A41);
    opacity: 1;
    outline: none;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;
    font-size: 13px;
    line-height: 1.45;
    opacity: .58;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 1279px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        align-items: start;
    }

    .site-footer__brand-name,
    .site-footer__brand-text {
        grid-column: 1;
    }

    .site-footer__contact-lines,
    .site-footer__socials {
        grid-column: 2;
    }

    .site-footer__contact-lines {
        grid-row: 1 / span 2;
        margin-bottom: 70px;
    }

    .site-footer__socials {
        grid-row: 2 / span 2;
        align-self: end;
    }

    .site-footer__column[aria-label="Направления работы"] {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer__column[aria-label="Сайт"] {
        grid-column: 2;
        grid-row: 2;
    }

    .site-footer__articles {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (max-width: 900px) {
    .site-footer {
        width: min(100% - 32px, 1568px);
        margin-top: 56px;
        border-radius: 36px 36px 0 0;
    }

    .site-footer__inner {
        padding: 44px 32px 24px;
    }

    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 28px;
    }

    .site-footer__brand {
        display: block;
        grid-column: 1 / -1;
    }

    .site-footer__contact-lines {
        margin-bottom: 22px;
    }

    .site-footer__column[aria-label="Направления работы"] {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer__column[aria-label="Сайт"] {
        grid-column: 2;
        grid-row: 2;
    }

    .site-footer__articles {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .site-footer__articles-grid {
        gap: 10px 28px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        width: calc(100% - 24px);
        margin-top: 40px;
        border-radius: 28px 28px 0 0;
    }

    .site-footer__inner {
        padding: 36px 24px 20px;
    }

    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 22px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__brand-name {
        font-size: 20px;
    }

    .site-footer__column[aria-label="Направления работы"] {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer__column[aria-label="Сайт"] {
        grid-column: 2;
        grid-row: 2;
    }

    .site-footer__articles {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .site-footer__articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 22px;
    }

    .site-footer__column a,
    .site-footer__article-column a {
        font-size: 15px;
        line-height: 1.45;
    }

    .site-footer__bottom {
        margin-top: 36px;
        padding-top: 20px;
    }
}

@media (max-width: 420px) {
    .site-footer__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-footer__top,
    .site-footer__articles-grid {
        column-gap: 18px;
    }

    .site-footer__column a,
    .site-footer__article-column a {
        font-size: 14px;
    }
}
