:root {
    --font-family: 'Montserrat', sans-serif;
    --second-family: 'Grtsk Peta', sans-serif;
    --white: #fff;
    --white2: #f4f4f4;
    --white3: #f7f7f7;
    --white4: #d6d6d6;
    --white5: #fffce9;
    --black: #000;
    --lightest: #ebebeb;
    --lightest-grey: #f2f2f2;
    --lightest-grey2: #e2e2e2;
    --lightest-grey3: #c3c3c3;
    --dark-grey: #2e2e2e;
    --grey: #2b2b2b;
    --grey2: #3d3d3d;
    --grey3: #525252;
    --grey4: #7e7e7e;
    --grey5: #c8c8c8;
    --grey6: #555;
    --grey7: #b5b5b5;
    --grey8: #343434;
    --grey9: #4c4c4c;
    --grey10: #a4a4a4;
    --grey11: #939393;
    --grey12: #515151;
    --grey13: #afafaf;
    --main-yellow: #f9db00;
    --yellow: #ffc701;
    --yellow2: #ffe83f;
    --yellow3: #ffe945;
    --yellow4: #ffe945;
    --yellow5: #ffe840;
    --yellow-hover: #ffeb56;
    --red: #f00;
    --blue: #3d68ff;
    --blue-hover: #5e82ff;
}

/* Fonts */
@font-face {
    font-family: 'GrtskPeta';
    src: url('../fonts/GrtskPeta-Light.woff2') format('woff2'), url('../fonts/GrtskPeta-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'GrtskPeta';
    src: url('../fonts/GrtskPeta-Regular.woff2') format('woff2'), url('../fonts/GrtskPeta-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'GrtskPeta';
    src: url('../fonts/GrtskPeta-Medium.woff2') format('woff2'), url('../fonts/GrtskPeta-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'GrtskPeta';
    src: url('../fonts/GrtskPeta-Semibold.woff2') format('woff2'), url('../fonts/GrtskPeta-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.woff2') format('woff2'), url('../fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'), url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2'), url('../fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'), url('../fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'), url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-ExtraBold.woff2') format('woff2'), url('../fonts/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}
/* Defaults */

[x-cloak] {
    display: none !important;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

body.blocked-scroll {
    overflow: hidden;
}

.body_colorful {
    background-color: var(--dark-grey);
}
.body_colorful .popup__content-wrapper {
    background-color: var(--grey2);
}
.body_colorful .feedback-form__caption {
    color: var(--white);
}
.body_colorful .popup__title,
.body_colorful .popup__top-text,
.body_colorful .popup__text,
.body_colorful .popup__policy {
    color: var(--white);
}
.body_colorful .popup__checkbox {
    background-color: var(--white);
    border: 1px solid var(--grey);
}
.body_colorful .form__footer-checkbox-icon:before {
    content: url('../img/icons/check-black.png');
}
.body_colorful .nav__link {
    position: relative;
    color: var(--white);
    text-decoration: none;
}
.body_colorful .header__contact-text {
    color: var(--white);
}
.body_colorful .header__contact-link {
    color: var(--lightest-grey);
}
@media (max-width: 1024px) {
    .body_colorful .header__contacts-link {
        color: var(--lightest-grey);
    }
}
@media (min-width: 1025px) {
    .body_colorful .nav__link {
        position: relative;
        color: var(--white);
        text-decoration: none;
        padding-bottom: 3px;
    }
    .body_colorful .nav__link::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: var(--lightest-grey);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .body_colorful .nav__link:hover {
        color: var(--lightest-grey);
    }
    .body_colorful .nav__link:hover::after {
        width: 100%;
        transform: translateX(-50%) scaleX(1);
    }
}

@media (max-width: 1024px) {
    .body_colorful .header {
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    }
    .body_colorful .nav__link:hover::after {
        width: 0;
    }
}
img {
    display: block;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

a {
    text-decoration: none;
}

ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    list-style: none;
    margin: 0;
    padding: 0;
}

[x-cloak] {
    display: none !important;
}

body {
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--grey);
    position: relative;
    width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.swiper-wrapper {
    will-change: transform;
}

.wrapper {
    max-width: 1440px;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .wrapper {
        padding: 0 30px;
    }
}
@media (max-width: 800px) {
    .wrapper {
        padding: 0 15px;
    }
}
@media (max-width: 425px) {
    .wrapper {
        padding: 0 15px;
    }
}
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .main {
        margin-top: 125px;
    }
}

@media (max-width: 425px) {
    .main {
        margin-top: 85px;
    }
}
/* Title H1 */
h1 {
    font-weight: 700;
    font-size: 60px;
    color: var(--grey);
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 38px;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }
}
@media (max-width: 430px) {
    h1 {
        font-size: 26px;
    }
}
/* Title H2 */
h2 {
    font-weight: 700;
    font-size: 40px;
    color: var(--grey);
    margin-bottom: 70px;
}

@media (max-width: 860px) {
    h2 {
        font-size: 34px;
        margin-bottom: 50px;
    }
}
@media (max-width: 768px) {
    h2 {
        font-size: 26px;
    }
}
.clear-icon {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 20px;
    box-shadow: -5px 5px 5px 0 var(--lightest-grey2);
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}
.search-input {
    width: 100%;
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--grey3);
    background-color: var(--white);
    border: 1px solid var(--lightest-grey2);
    outline: none;
    padding: 12px 15px;
    padding-left: 40px;
}

@media (max-width: 1024px) {
    .search-input {
        width: 100%;
    }
}
/* Button */
.button {
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 16px;
    display: inline-block;
    color: var(--grey);
    background-color: var(--main-yellow);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    padding: 15px 35px;
}
.button:hover {
    background-color: var(--yellow);
}
.button_colored {
    font-weight: 800;
    font-size: 16px;
    color: var(--white);
    background-color: var(--grey);
}
.button_colored:hover {
    background-color: var(--dark-grey);
}
.button_colored:active {
    background-color: var(--dark-grey);
}
.button_transparent {
    border: 1px solid var(--grey);
    background: transparent;
}
.button_transparent:hover {
    background-color: var(--dark-grey);
    color: var(--white);
}
.button_transparent-white {
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white);
}
.button_transparent-white:hover {
    color: var(--dark-grey);
    background-color: var(--white);
}
.btn-reset {
    background-color: var(--white);
    color: var(--grey);
    border: 1px solid var(--grey);
}
.btn-reset:hover,
.btn-reset:active {
    background-color: var(--yellow-hover);
}
@media (max-width: 375px) {
    .btn-reset {
        order: 1;
    }
}
.btn-accept {
    background-color: var(--main-yellow);
    border: 1px solid var(--main-yellow);
}
.btn-accept:hover,
.btn-accept:active {
    background-color: rgba(21, 157, 0, 0.75);
}

@media (max-width: 768px) {
    .button {
        width: 100%;
        text-align: center;
    }
}
.button-colorful {
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 15px;
    margin: 0;
}
.button-colorful_dark {
    color: var(--white);
    background-color: var(--dark-grey);
}
.button-colorful_dark:hover {
    background-color: var(--grey2);
}
.button-colorful_light {
    color: var(--grey);
    background-color: var(--white);
}
.button-colorful_light:hover {
    background-color: var(--lightest-grey);
}
.button-colorful.active {
    background-color: var(--main-yellow);
}
.button-colorful.active:hover {
    background-color: var(--yellow);
}

@media (max-width: 768px) {
    .button-colorful {
        font-size: 14px;
    }
}
.button-more {
    cursor: pointer;
}

.margin-bottom {
    margin-bottom: 140px;
}

@media (max-width: 1024px) {
    .margin-bottom {
        margin-bottom: 100px;
    }
}
@media (max-width: 768px) {
    .margin-bottom {
        margin-bottom: 70px;
    }
}
/* Sub-info */
.sub-info {
    font-weight: 600;
    color: var(--grey);
    background-color: var(--main-yellow);
    padding: 10px 15px;
}
.sub-info_dark {
    color: var(--white);
    background-color: var(--grey2);
}
.sub-info_grey {
    background-color: var(--grey7);
}

@media (max-width: 425px) {
    .sub-info {
        padding: 6px 12px;
    }
}
/* Swiper */
.swiper {
    width: 100%;
    height: 100%;
    overflow: unset;
    overflow-x: clip;
}

.swiper-slide {
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Alpine smooth transition */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.transform {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.scale-95 {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(0.95) scaleY(0.95);
}

.scale-100 {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

/* Through block */
.through-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding: 70px 30px;
    background-color: var(--grey);
}
.through-block::before {
    content: '';
    position: absolute;
    top: 52%;
    left: 0;
    background-image: url(../img/rombs.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 760px;
    height: 290px;
    transform: translateY(-50%);
    z-index: 50;
}
.through-block_colorful {
    background-color: var(--main-yellow);
}
.through-block__blocks {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.through-block__block {
    position: relative;
    z-index: 9999;
}
.through-block__block:first-child {
    max-width: 558px;
}
.through-block__block:last-child {
    max-width: 500px;
}
.through-block__title {
    font-weight: 700;
    font-size: 40px;
    color: var(--white);
}
.through-block__title_colorful {
    font-size: 50px;
    color: var(--grey);
}
.through-block__text {
    font-size: 18px;
    color: var(--grey);
    margin-top: 50px;
}
.through-block_choose::before {
    content: '';
    position: absolute;
    top: 55%;
    right: 34px;
    background-image: url(../img/black-check.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 245px;
    height: 265px;
    transform: translateY(-50%);
    z-index: 50;
}
.through-block_choose::before::after {
    content: '';
    position: absolute;
    top: 90%;
    right: -90px;
    background-image: url(../img/black-rhombuses.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 505px;
    height: 665px;
    transform: translateY(-50%);
    z-index: 10;
}
.through-block_documents {
    position: relative;
    overflow: hidden;
}
.through-block_documents::before {
    content: '';
    position: absolute;
    top: 55%;
    right: 100px;
    background-image: url(../img/documents-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 217px;
    height: 244px;
    transform: translateY(-50%);
    z-index: 50;
}
.through-block_results {
    position: relative;
    overflow: hidden;
}
.through-block_results::before {
    content: '';
    position: absolute;
    top: 55%;
    right: 34px;
    background-image: url(../img/black-check.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 245px;
    height: 265px;
    transform: translateY(-50%);
    z-index: 50;
}
.through-block_results::after {
    content: '';
    position: absolute;
    top: 90%;
    right: -90px;
    background-image: url(../img/black-rhombuses.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 505px;
    height: 665px;
    transform: translateY(-50%);
    z-index: 10;
}

@media (max-width: 1200px) {
    .through-block_documents::before {
        right: 20px;
    }
}
@media (max-width: 1024px) {
    .through-block_results::before {
        top: 35%;
        right: -26px;
    }
}
@media (max-width: 970px) {
    .through-block_documents {
        overflow: visible;
    }
    .through-block_documents::before {
        top: -5%;
        right: 47px;
        width: 105px;
        height: 114px;
    }
}
@media (max-width: 860px) {
    .through-block__title {
        font-size: 34px;
    }
}
@media (max-width: 768px) {
    .through-block::before {
        display: none;
    }
    .through-block_choose::before {
        display: block;
        width: 200px;
        height: 240px;
    }
    .through-block_choose::after {
        width: 410px;
        height: 505px;
    }
}
@media (max-width: 600px) {
    .through-block {
        gap: 30px;
        padding: 30px 15px;
    }
    .through-block__title {
        font-size: 24px;
    }
    .through-block_choose::before {
        right: 0px;
    }
    .through-block_choose::after {
        top: 72%;
        right: -110px;
    }
    .through-block_documents::before {
        top: -3%;
        right: 24px;
        width: 79px;
        height: 88px;
    }
}
/* Form */
.form {
    position: relative;
    align-content: center;
    height: 100%;
}

.form__items {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    z-index: 9999;
}
.form__item {
    position: relative;
    display: flex;
    max-width: 320px;
    width: 100%;
    height: auto;
}

.form__item_file {
    display: flex;
    flex-direction: column;
}
.form__input {
    width: 100%;
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--grey3);
    background-color: var(--white);
    border: 1px solid transparent;
    outline: none;
    padding: 20px;
}
.form__input:focus::-moz-placeholder {
    opacity: 0;
}
.form__input:focus::placeholder {
    opacity: 0;
}
.form__input_error {
    border: 1px solid var(--red);
}
.form__more {
    position: relative;
    z-index: 999;
}
.form__footer {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.form__footer-checkbox {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: -4px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--white);
    background: transparent;
    cursor: pointer;
}
.form__footer-checkbox input {
    display: none;
}
.form__footer-checkbox-icon:before {
    display: none;
    content: url('../img/icons/check.png');
    transform: scale(0.5);
    transform-origin: 0 0;
    width: 12px;
    height: 12px;
}
.form__footer-checkbox-icon_black::before {
    content: url('../img/icons/check-black.png');
}
.form input:checked + .form__footer-checkbox-icon:before,
.form input:checked + .form__footer-checkbox-icon_black:before {
    display: block;
}
.form__footer-text {
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--white);
    margin-left: 30px;
}
.form__policy {
    font-weight: 700;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    color: var(--white);
}
.form__group {
    margin-bottom: 20px;
}
.form__button {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .form__items {
        flex-direction: column;
        align-items: unset;
    }
    .form__item {
        max-width: 100%;
    }
}
/* Feedback form */
.popup__inner.feedback-form {
    max-width: 675px;
    width: 100%;
}
.feedback-form__dropdown {
    width: 100%;
}
.feedback-form__items {
    gap: 30px;
}
.feedback__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.feedback__column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.feedback-form input,
.feedback-form textarea {
    font-size: 16px;
    color: var(--grey3);
    background-color: var(--white);
    border: 1px solid var(--lightest-grey2);
}
.feedback-form input::placeholder {
    font-size: 16px;
    color: var(--grey3);
}
.feedback-form__message_text {
    max-width: 100%;
}
.feedback-form #message {
    height: 120px;
    resize: none;
}
.feedback-form__button-wrap {
    position: relative;
}
.feedback-form__dropdown-button {
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    display: block;
    border: 1px solid var(--lightest-grey2);
    color: var(--grey3);
    background-color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    padding: 20px;
}
.feedback-form__select-dropdown {
    position: absolute;
    background-color: var(--white);
    left: 0;
    max-height: 200px;
    width: 100%;
    top: 64px;
    border: 1px solid var(--lightest-grey2);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    padding: 15px 11px;
    z-index: 200;
    transition: all 0.3s ease;
    transform-origin: top;
}
.feedback-form__select-dropdown li {
    font-size: 16px;
    line-height: 16px;
    padding: 12px 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.feedback-form__select-dropdown li:hover {
    background-color: var(--lightest-grey);
}
.feedback-form__file-upload {
    font-weight: 700;
    color: var(--white);
    background-color: var(--dark-grey);
    text-align: center;
    cursor: pointer;
}
.feedback-form__dropdown-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    z-index: 100;
    transition: transform 0.3s ease;
}

.feedback-form__dropdown-arrow.rotated {
    transform: translateY(-50%) rotate(-180deg);
}

.feedback-form__response,
.feedback-form__caption {
    min-height: 15px;
}
.feedback-form__caption {
    font-size: 12px;
    text-align: center;
    color: var(--dark-grey);
    margin-top: 0.2rem;
}

@media (max-width: 650px) {
    .feedback__content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 425px) {
    .feedback__content {
        gap: 0;
    }
    .feedback-form__select-dropdown {
        top: 52px;
    }
    .feedback__column {
        gap: 2px;
    }
}
@media (max-width: 375px) {
    .feedback-form__dropdown-button {
        padding: 14px;
    }
}

/**/
.error_csrf_token.error {
    margin-bottom: 20px;
}

/* Through yellow block */
.yellow-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 30px;
    background-color: var(--main-yellow);
}
.yellow-block::before {
    content: '';
    position: absolute;
    top: 52%;
    left: 0;
    background-image: url(../img/rombs.png);
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 760px;
    width: 100%;
    height: 290px;
    transform: translateY(-50%);
    z-index: 50;
}
.yellow-block__items {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 15px;
}
.yellow-block__item {
    max-width: unset;
}
.yellow-block__blocks {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.yellow-block__input {
    background-color: transparent;
    border: 1px solid var(--grey3);
}
.yellow-block__input:focus,
.yellow-block__input:valid {
    background-color: var(--white);
}
.yellow-block__block {
    position: relative;
    z-index: 100;
}
.yellow-block__block:first-child {
    max-width: 558px;
}
.yellow-block__block:last-child {
    max-width: 500px;
}
.yellow-block__checkbox {
    border: 1px solid var(--grey);
}
.yellow-block__footer-text {
    color: var(--grey);
}
.yellow-block__title {
    font-weight: 700;
    font-size: 50px;
    color: var(--grey);
    margin-bottom: 0;
}
.yellow-block__text {
    font-size: 18px;
    color: var(--grey);
    margin-top: 50px;
}
.yellow-block__policy {
    color: var(--grey);
}

@media (max-width: 768px) {
    .yellow-block {
        padding: 30px;
    }
    .yellow-block__blocks {
        flex-direction: column;
    }
    .yellow-block__block:first-child,
    .yellow-block__block:last-child {
        max-width: 100%;
    }
    .yellow-block__items {
        align-items: unset;
    }
    .yellow-block__title {
        font-size: 30px;
    }
    .yellow-block__text {
        font-size: 16px;
        margin-top: 30px;
    }
}
@media (max-width: 600px) {
    .yellow-block {
        gap: 30px;
        padding: 30px 15px;
    }
}
/* Through blue block */
.blue-block {
    overflow: hidden;
    height: 350px;
}
.blue-block .wrapper {
    height: 100%;
}
.blue-block__wrapper {
    position: relative;
    background: linear-gradient(116deg, #202020 0%, #010c22 100%);
    padding: 50px;
    height: 100%;
}
.blue-block__wrapper::before {
    content: '';
    position: absolute;
    top: 52%;
    right: 20px;
    background-image: url(../img/diploma.png);
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 525px;
    width: 100%;
    height: 339px;
    transform: translateY(-50%);
    z-index: 50;
}
.blue-block h2 {
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    z-index: 100;
}
.blue-block__text {
    position: relative;
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    max-width: 700px;
    z-index: 100;
}

@media (max-width: 1024px) {
    .blue-block__wrapper::before {
        top: 64%;
        max-width: 385px;
        height: 249px;
    }
}
@media (max-width: 768px) {
    .blue-block__wrapper::before {
        top: 72%;
        max-width: 325px;
        height: 199px;
    }
}
@media (max-width: 600px) {
    .blue-block {
        height: 390px;
    }
    .blue-block__wrapper {
        padding: 30px 15px;
    }
    .blue-block__wrapper::before {
        max-width: 285px;
        top: 79%;
        right: -24px;
        height: 169px;
    }
    .blue-block__text {
        font-weight: 400;
        font-size: 16px;
        color: var(--white);
    }
}
@media (max-width: 375px) {
    .blue-block__wrapper::before {
        max-width: 225px;
        top: 85%;
        height: 120px;
    }
}
/* Header */
.header {
    position: relative;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    transform: translateY(0);
    padding-top: 16px;
    margin-bottom: 50px;
    z-index: 10;
}
.header__wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    position: unset;
}
.header__educational-information {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.header__educational-links {
    display: flex;
    gap: 30px;
}
.header__button-mobile {
    display: none;
}
.header__topLink,
.header__topBar-link {
    font-weight: 500;
    font-size: 12px;
    color: var(--grey);
    transition: all 0.3s ease;
}
.sveden.header__educational-link ul {
    display: none;
}
.sveden.header__educational-link:hover ul {
    max-width: 284px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 36px;
    background-color: var(--white);
    border: 1px solid var(--lightest-grey2);
    padding: 15px 10px;
    z-index: 99;
}
.header__topBar-link {
    display: block;
}
.header__topBar-link:hover,
.header__topLink:hover {
    color: var(--yellow);
}
.header__educational-link:hover {
    color: var(--yellow);
}
.header__topLink_colorful {
    color: var(--lightest-grey2);
}
.header__visually {
    height: 100%;
    width: 100%;
}
.header__visually-wrap {
    max-width: 27px;
    max-height: 15px;
    align-self: center;
}
.header__visually-wrap_mobile {
    display: none;
}
.header__logo-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.header__logo-info_mobile {
    display: none;
}
.header__logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header__logo-wrap {
    max-width: 375px;
}
.header__logo-wrap_mobile,
.header__block-mobile,
.header__contacts {
    display: none;
}
.header__tels-wrap {
    display: flex;
    gap: 25px;
}
.header__contact-tel {
    font-size: 18px;
    display: flex;
    align-items: center;
    color: var(--grey);
}
.header__contact-tel_colorful {
    color: var(--white);
}
.header__contact-tel::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--main-yellow);
    border-radius: 50%;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.header__contact-tel:hover.header__contact-tel::before {
    background-color: var(--black);
}
.header__time-blocks {
    font-weight: 500;
    font-size: 14px;
    color: var(--grey3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.header__time-block_colorful {
    color: var(--grey7);
}
.header__block {
    display: flex;
    gap: 25px;
    align-items: center;
}
.header__search-wrap_desktop {
    max-width: none;
    height: 35px;
    align-self: center;
    position: absolute;
    left: auto;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background-color: var(--lightest-grey);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
    width: 450px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}
.header__menu-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    animation: slideDown 0.5s ease-in-out forwards;
    z-index: 10000;
}
.header__search-desktop {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 55px;
    width: 25px;
    transition: width 0.3s ease;
    overflow: visible;
}
.header__search-desktop.active {
    width: 25px;
}
.header__search-desktop.active .header__search-desktop-trigger {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.header__search-desktop.active .header__search-wrap_desktop {
    opacity: 1;
    pointer-events: auto;
}
.header__search-desktop-trigger {
    width: 25px;
    height: 25px;
    min-width: 25px;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 2;
}
.header__topBar-search {
    width: 100%;
}
.header__topBar-button {
    background: transparent;
    border: none;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}
.header__search-icon {
    width: 21px;
}
.header__mobile {
    display: none;
}

@media (max-width: 1080px) {
    .header__contact-tel {
        font-size: 14px;
    }
    .header__contact-tel::before {
        width: 12px;
        height: 12px;
        margin-right: 8px;
    }
}
@media (max-width: 1024px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 200;
        padding: 30px 0;
    }
    .header_colorful {
        background-color: var(--dark-grey);
    }
    .header_colorful .header__wrapper {
        background-color: var(--dark-grey);
    }
    .header_colorful .burger {
        background-color: var(--white);
    }
    .header_colorful .burger span {
        background-color: var(--grey);
    }
    .header_colorful .burger.open {
        background-color: var(--main-yellow);
    }
    .header__wrapper {
        height: 100dvh;
        width: 100%;
        position: fixed;
        top: -100dvh;
        display: flex;
        justify-content: flex-start;
        gap: 0;
        background-color: var(--white);
        transition: top 0.7s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: env(safe-area-inset-top, 30px) 30px env(safe-area-inset-bottom, 30px) 30px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .header__wrapper.active {
        top: 0;
    }
    .header__educational-information {
        order: 1;
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    .header__button {
        font-weight: 400;
        padding: 10px 25px;
    }
    .header__educational-links {
        flex-direction: column;
    }
    .header__educational-link {
        font-size: 14px;
    }
    .header__button-mobile {
        display: block;
    }
    .header__visually-wrap {
        display: none;
    }
    .header__visually-wrap_mobile {
        display: block;
        align-content: center;
        max-width: 34px;
        max-height: unset;
    }
    .header__logo-container {
        display: none;
    }
    .header__mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
    }
    .header__search-desktop {
        display: none;
    }
    .header__block-wrap {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .header__visually_mobile {
        width: 100%;
        height: auto;
    }
    .header__logo-wrap_mobile {
        display: block;
        margin-top: 10px;
    }
    .header__logo-wrap_nav {
        margin-top: 16px;
    }
    .header__block-mobile {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 70px;
        margin: 30px 0;
    }
    .header__block-mobile::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--lightest-grey2);
        position: absolute;
        bottom: -30px;
        left: 0;
    }
    .header__contacts {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 30px 0;
    }
    .header__contacts::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--lightest-grey2);
        position: absolute;
        bottom: -30px;
        left: 0;
    }
    .header__contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .header__contact-text {
        font-weight: 400;
        color: var(--dark-grey);
    }
    .header__contact-link {
        color: var(--grey7);
    }
    .header__search-wrap_mobile {
        width: 50%;
        position: relative;
        display: flex;
        align-items: center;
    }
    .header__search-form-mobile {
        width: 100%;
    }
    .sveden.header__educational-link ul,
    .sveden.header__educational-link:hover ul {
        display: none;
    }
}
@media (max-width: 768px) {
    .header__wrapper {
        padding: env(safe-area-inset-top, 30px) 20px env(safe-area-inset-bottom, 30px) 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .header__logo-wrap {
        max-width: 250px;
    }
    .header__menu-wrap {
        padding: 10px 0;
    }
    .header__mobile {
        padding: 0 15px;
    }
    .header__educational-links {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .header__search-wrap_mobile {
        width: 100%;
    }
}
@media (max-width: 425px) {
    .header {
        padding: 15px 0;
        margin-bottom: 0;
    }
    .header__wrapper {
        width: 100%;
        padding: env(safe-area-inset-top, 15px) 15px env(safe-area-inset-bottom, 15px) 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .header__visually-wrap_mobile {
        max-width: 24px;
        height: 24px;
    }
    .header__logo-wrap {
        max-width: 218px;
    }
    .header__educational-links {
        width: 100%;
    }
    .header__button-mobile {
        align-self: center;
    }
}
@media (max-width: 355px) {
    .header__logo-wrap {
        max-width: 180px;
    }
}
@keyframes slideDown {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
/* Nav */
.nav {
    align-content: center;
}
.nav__links-list {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav__link {
    font-weight: 600;
    border-radius: 10px;
    color: var(--grey);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--grey3);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link:hover {
    color: var(--grey3);
}
.nav__link:hover::after {
    width: 100%;
    transform: translateX(-50%) scaleX(1);
}

@media (max-width: 1200px) {
    .nav__links-list {
        gap: 15px;
    }
    .nav__link {
        padding: 14px 30px;
    }
}
@media (max-width: 1024px) {
    .nav {
        position: relative;
        width: 100%;
        margin-top: 30px;
    }
    .nav::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--lightest-grey2);
        position: absolute;
        bottom: -3px;
        left: 0;
    }
    .nav__links-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        text-align: right;
        width: 100%;
    }
    .nav__wrapper {
        width: 100%;
    }
    .nav__link {
        font-size: 16px;
        display: block;
        text-align: left;
        background-color: transparent;
        padding: 20px 0;
        position: relative;
    }
    .nav__link::after {
        display: none;
    }
}
@media (max-width: 768px) {
    .nav__link {
        padding: 15px 0;
    }
}
@media (max-width: 425px) {
    .nav {
        width: 100%;
    }
    .nav__links-list {
        width: 100%;
    }
}
/* Burger */
.burger {
    display: none;
    width: 40px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 1024px) {
    .burger {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 44px;
        height: 44px;
        background-color: var(--grey);
        border-radius: 50%;
        position: relative;
        z-index: 99999;
        order: 2;
    }
    .burger span {
        display: block;
        height: 2px;
        width: 20px;
        background-color: var(--white);
        border-radius: 2px;
        transition: 0.3s;
    }
    .burger.open {
        background-color: var(--main-yellow);
    }
    .burger.open span:nth-child(1) {
        background-color: var(--grey);
        transform: translateY(6px) rotate(45deg);
    }
    .burger.open span:nth-child(2) {
        opacity: 0;
    }
    .burger.open span:nth-child(3) {
        background-color: var(--grey);
        transform: translateY(-6px) rotate(-45deg);
    }
}
@media (max-width: 425px) {
    .burger {
        width: 44px;
        height: 44px;
    }
}
/* Arrow */
.arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.arrow {
    width: 76px;
    height: 40px;
    padding: 10px 28px;
    font-size: 18px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.arrow__rotate,
.arrow_next {
    transform: rotate(180deg);
}
.arrow_dark-grey {
    background: var(--grey2);
    color: var(--white);
}
.arrow_dark-grey:hover {
    background-color: var(--dark-grey);
}
.arrow__dark-img {
    filter: invert(1);
}
.arrow_yellow {
    background-color: var(--main-yellow);
}
.arrow_yellow:hover {
    background-color: var(--yellow);
}
.arrow_grey {
    background-color: var(--lightest-grey);
}
.arrow_grey:hover {
    background-color: var(--lightest-grey2);
}

.arrow.is-disabled,
.arrow[aria-disabled='true'],
.arrow.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Counter */
.counter {
    color: var(--white);
    font-size: 18px;
    min-width: 60px;
    text-align: center;
}
.counter_dark {
    color: var(--grey);
}

/* Card course */
.card-course {
    position: relative;
    transition: all 0.3s ease;
    background-color: var(--white);
    min-height: 329px;
    max-height: 100%;
    overflow: hidden;
}
.card-course:hover,
.card-course:active {
    background-color: var(--dark-grey);
}
.card-course:hover .card-course__title,
.card-course:hover .card-course__time,
.card-course:hover .card-course__price,
.card-course:hover .card-course__form-edu,
.card-course:active .card-course__title,
.card-course:active .card-course__time,
.card-course:active .card-course__price,
.card-course:active .card-course__form-edu {
    color: var(--white);
}
.card-course:hover .card-course__form-edu,
.card-course:active .card-course__form-edu {
    border: 1px solid var(--grey2);
    background-color: var(--grey2);
}
.card-course:hover .card-course__icon,
.card-course:active .card-course__icon {
    filter: brightness(0) invert(1);
}
.card-course:hover .card-course__img-wrap,
.card-course:active .card-course__img-wrap {
    transform: translate(-10px, -15px);
}

.card-course:hover .card-course__img,
.card-course:active .card-course__img {
    opacity: 0;
}

.card-course::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -14px;
    width: 150px;
    height: 150px;
    background-image: var(--hover-img);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    transform: translate(0, 0);
}

.card-course:hover::after,
.card-course:active::after {
    opacity: 1;
    transform: translate(-10px, -15px);
}
.card-course__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--lightest-grey2);
    padding: 30px;
}
.card-course__content.active {
    display: flex;
}
.card-course__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.card-course__time-block {
    display: flex;
    gap: 10px;
}
.card-course__time {
    color: var(--grey);
    transition: all 0.3s ease;
}
.card-course__forms-edu {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    z-index: 10;
}
.card-course__form-edu {
    font-size: 14px;
    color: var(--black);
    background-color: var(--white);
    border: 1px solid var(--lightest-grey);
    transition: all 0.3s ease;
    padding: 8px 10px;
}
.card-course__price {
    font-weight: 600;
    font-size: 18px;
    color: var(--grey);
    transition: all 0.3s ease;
}
.card-course__img-wrap {
    position: absolute;
    right: -10px;
    bottom: -14px;
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.card-course__img {
    transition: all 0.3s ease;
}
.card-course__title {
    font-weight: 600;
    font-size: 24px;
    color: var(--dark-grey);
    transition: all 0.3s ease;
    flex: 1;
}
.card-course__block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
}
.card-course__icon-wrap {
    max-width: 22px;
    display: flex;
    align-self: center;
}
.card-course__icon {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .card-course__content-title {
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .card-course {
        min-height: 260px;
    }
    .card-course__block {
        gap: 30px;
    }
    .card-course__content {
        padding: 20px 15px;
    }
    .card-course__title {
        font-size: 20px;
    }
}
@media (max-width: 600px) {
    .card-course__content-description {
        gap: 17px;
    }
    .card-course__content_search-results {
        gap: 30px;
    }
    .card-course_height-search {
        min-height: 200px;
    }
}
@media (max-width: 475px) {
    .card-course__block {
        flex: unset;
    }
    .card-course__title {
        flex: unset;
    }
    .card-course__img-wrap,
    .card-course::after {
        height: 110px;
        width: 110px;
    }
    .card-course__content .active {
        gap: 30px;
    }
    .card-course__content-description {
        grid-template-columns: 1fr;
    }
    .card-course__content-text:nth-child(3),
    .card-course__content-text:nth-child(4) {
        display: none;
    }
}
@media (max-width: 375px) {
    .card-course__icon-wrap {
        max-width: 18px;
    }
    .card-course__time {
        font-size: 12px;
    }
}
/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
}
.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.popup__inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.popup__content-wrapper {
    max-height: 90vh;
    position: relative;
    z-index: 20;
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}
.popup__content {
    position: relative;
    max-height: 90vh;
    overflow-y: scroll;
    padding: 40px 30px;
    z-index: 20;
}
.popup__content::-webkit-scrollbar {
    width: 3px;
}
.popup__content::-webkit-scrollbar-thumb {
    background-color: var(--lightest-grey3);
    border-radius: 3px;
}
.popup__content::-webkit-scrollbar-track {
    background-color: transparent;
}
.popup__content::-webkit-scrollbar-button {
    display: none;
}
.popup__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 181%;
    color: var(--black);
    margin-bottom: 30px;
}
.popup__title_position {
    text-align: center;
}
.popup__top-text {
    font-size: 18px;
    color: var(--black);
    margin-bottom: 30px;
}
.popup__top-text_position {
    text-align: center;
}
.popup__close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    color: var(--black);
    background-color: var(--main-yellow);
    font-size: 24px;
    cursor: pointer;
    z-index: 99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    padding: 0;
}
.popup__close:hover {
    background-color: var(--yellow);
}
/* .popup__items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
} */
.popup__item {
    max-width: 100%;
    flex-direction: column;
}
.popup__input {
    outline: none;
    background-color: var(--lightest);
}
.popup__button {
    width: 100%;
    text-align: center;
}
.popup__checkbox {
    top: 0;
    border: 1px solid var(--white);
    background-color: var(--grey2);
}
.popup__text {
    font-size: 12px;
    color: var(--grey);
}
.popup__policy {
    color: var(--grey);
    font-weight: 700;
    text-decoration: underline;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}
.popup__no-scroll {
    overflow: hidden;
    width: 100%;
}
.popup__img-wrap {
    max-width: 100px;
    justify-self: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .popup__inner {
        padding: 0 15px;
    }
    .popup__content {
        padding: 30px 15px;
    }
    .popup__title {
        font-size: 26px;
        line-height: normal;
        padding-right: 40px;
    }
    .popup__top-text {
        font-size: 16px;
    }
}

@media (max-width: 425px) {
    .popup__close {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .popup__title {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .popup__top-text {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .popup__items {
        margin-bottom: 14px;
    }
    .popup__input {
        padding: 14px;
    }
    .popup__button {
        font-size: 14px;
        padding: 14px;
    }
}
/* Tabs */
.tab__button {
    cursor: pointer;
}
.tab__panel {
    display: none;
}
.tab__panel.active {
    display: block;
    height: 100%;
}

/* Tooltip */
.tooltip-trigger .tooltip {
    min-width: 300px;
    max-width: 500px;
    font-size: 16px;
    font-weight: 300;
    position: absolute;
    top: 0%;
    left: 40px;
    color: var(--grey);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    pointer-events: none;
    white-space: normal;
    word-break: break-word;
    padding: 16px;
    margin-bottom: 8px;
}

.tooltip-trigger {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    cursor: pointer;
}

.tooltip-trigger img {
    display: block;
}

.tooltip-trigger:hover .tooltip,
.tooltip-trigger:focus .tooltip,
.tooltip-trigger.tooltip-active .tooltip {
    opacity: 1;
    visibility: visible;
}

.tooltip__text-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .tooltip-trigger .tooltip {
        max-width: 450px;
        min-width: 420px;
        font-size: 15px;
        line-height: 1.4;
        left: unset;
        right: 30px;
        top: 0;
        margin-bottom: 8px;
        margin-top: 0;
    }
}
@media (max-width: 768px) {
    .tooltip-trigger .tooltip {
        padding: 12px;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
        margin-top: 0;
    }
    .tooltip-trigger {
        width: 24px;
        height: 24px;
    }
}
@media (max-width: 600px) {
    .tooltip-trigger .tooltip {
        max-width: 380px;
        min-width: 300px;
    }
}
@media (max-width: 425px) {
    .tooltip-trigger .tooltip {
        max-width: 320px;
        min-width: 250px;
        font-size: 13px;
        right: 25px;
        padding: 10px;
    }
    .tooltip-trigger {
        width: 19px;
        height: 20px;
    }
}
@media (max-width: 320px) {
    .tooltip-trigger .tooltip {
        min-width: 200px;
    }
}
/* Hand swipe mobile */
.hand-swipe {
    display: none;
}
.hand-swipe__promptBox {
    height: 50px;
    width: 50px;
    transform: translateX(-50%);
    position: absolute;
    bottom: 30px;
    right: 45%;
    opacity: 1;
    transition: 300ms;
    pointer-events: none;
    z-index: 100;
}
.hand-swipe__tapperoo {
    height: 48px;
    width: 100px;
    position: absolute;
    top: -5px;
    left: 16px;
    border-radius: 100px;
    background-color: var(--white);
    z-index: -1;
    animation: tapperoo 3s infinite;
}
.hand-swipe__tapperoo_dark {
    background-color: var(--black);
}
.hand-swipe__tap-gesture {
    position: absolute;
    transform: rotate(30deg);
    animation: handMove 3s infinite;
}

@keyframes tapperoo {
    0% {
        height: 25%;
        width: 25%;
    }
    50% {
        height: 5%;
        width: 35%;
        opacity: 0;
        transform: translate(-250%);
    }
    100% {
        opacity: 0;
    }
}
@keyframes handMove {
    0% {
        transform: rotate(30deg);
    }
    50% {
        transform: translate(-60%, -10%) rotate(-30deg) scale(0.9);
    }
    100% {
        transform: rotate(30deg);
    }
}
@media (max-width: 600px) {
    .hand-swipe {
        display: block;
    }
}

@media (max-width: 488px) {
    .hand-swipe__promptBox {
        height: 40px;
        width: 40px;
        bottom: 45px;
    }
}
/* Arrow down */
.arrow-container {
    position: relative;
}

.arrow-down {
    position: absolute;
    top: -98px;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: rotate(0deg);
    cursor: pointer;
}

.arrow-element {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    border-right: 2px solid rgba(0, 0, 0, 0.3);
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow-element:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow-element:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-25px, -25px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(30px, 30px);
    }
}
@keyframes animate-mobile {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-15px, -15px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}
@media (max-width: 1024px) {
    .arrow-container {
        display: none;
    }
}
@media (max-width: 500px) {
    .arrow-element {
        animation: animate-mobile 2s infinite;
    }
    .arrow-container {
        display: block;
    }
    .arrow-down {
        top: -55px;
    }
}

/* Entrance */
.entrance h2 {
    color: var(--white);
    margin-bottom: 0;
}
.entrance__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}
.entrance .arrow {
    background-color: var(--grey9);
}
.entrance .arrow__dark-img {
    filter: invert(0);
}
.entrance__block {
    background-color: var(--grey8);
    padding: 40px;
}
.entrance__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.entrance__block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}
.entrance__img-wrap {
    max-width: 50px;
    display: flex;
}
.entrance__img {
    flex-shrink: 0;
}
.entrance__step {
    font-weight: 700;
    font-size: 76px;
    color: var(--grey2);
}
.entrance__block-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.entrance__block-title {
    font-weight: 600;
    font-size: 22px;
    color: var(--white);
}
.entrance__text {
    font-size: 18px;
    color: var(--white);
}

@media (max-width: 768px) {
    .entrance {
        margin-bottom: 40px;
    }
    .entrance__block {
        padding: 30px 15px;
    }
    .entrance__block-title {
        font-size: 18px;
    }
    .entrance__text {
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .entrance__header {
        margin-bottom: 50px;
    }
    .entrance__pagination {
        display: none;
    }
}

/* Programms */
.programms__header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 70px;
}
.programms__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 50px;
}
.programms__select-element {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 18px;
    width: 100%;
    background-color: var(--lightest-grey);
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 20px 40px 20px 15px;
    font-size: 16px;
    position: relative;
    z-index: 2;
}
.programms__content-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.programms__button-block {
    text-align: center;
    margin-top: 40px;
}
.programms__buttons {
    display: none;
}
.programms__filters {
    display: flex;
    gap: 20px;
}
.programms__overlay {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    position: relative;
    background: none;
    z-index: 100;
    transition: opacity 0.6s ease, max-height 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.programms__overlay.active {
    max-height: 1000px;
    height: 100%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, max-height 0.8s ease, visibility 0.8s ease;
}

@media (max-width: 1200px) {
    .programms__content-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 800px) {
    .programms__content-row {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .programms__overlay.active {
        max-height: 100%;
        display: block;
        opacity: 1;
        background: #343333;
        z-index: 999999;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        margin-bottom: 0;
    }
}
@media (max-width: 600px) {
    .programms__header {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .programms__filters {
        flex-direction: column;
        gap: 15px;
    }
}
/* Search block*/
.search-block {
    position: relative;
    max-width: 304px;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    border: 1px solid var(--lightest-grey2);
    background: #fff;
    padding: 0 20px;
    transition: box-shadow 0.2s;
}

.search-block__input-wrap {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    opacity: 1;
    max-width: 400px;
    transition: none;
    overflow: hidden;
    margin-right: 12px;
    margin-left: 0;
    z-index: 2;
}
.search-block__search-input {
    position: relative;
    width: 100%;
    height: 28px;
    font-size: 16px;
    font-family: inherit;
    color: var(--grey3);
    background: transparent;
    border: none;
    outline: none;
    padding: 0 10px;
}
.search-block__clear-icon {
    display: block;
    width: 20px;
    height: 20px;
    box-shadow: -5px 5px 5px 0 var(--lightest-grey2);
    border-radius: 50%;
    transform: translateY(-50%);
}
.search-block__clear {
    position: absolute;
    right: 20px;
    top: 50%;
    background: none;
    border: none;
    cursor: pointer;
}

.search-block__search-icon {
    max-width: 22px;
    height: 22px;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s;
    margin-left: auto;
}

.search-block__search-icon.hidden {
    opacity: 0;
}

.search-block__clear.visible {
    display: block;
}

.search-block__search-input::placeholder {
    opacity: 0.5;
    color: var(--grey);
}

.search-block__search-input:focus::placeholder {
    opacity: 0;
}

.search-block__suggestions {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: -1px;
    width: calc(100% + 2px);
    max-width: 740px;
    max-height: 480px;
    background-color: var(--white);
    border: 1px solid var(--lightest-grey);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    list-style-type: none;
    overflow-y: auto;
    margin: 0;
}

.search-block__suggestions::-webkit-scrollbar {
    width: 3px;
}

.search-block__suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.search-block__suggestions::-webkit-scrollbar-thumb {
    background-color: var(--lightest-grey);
    border-radius: 3px;
}

.search-block__suggestions::-webkit-scrollbar-thumb:hover {
    background-color: var(--lightest-grey2);
}

.search-block__suggestions::-webkit-scrollbar-button {
    display: none;
}

.search-block__suggestions li {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: var(--grey);
    transition: all 0.3s ease;
    padding: 15px 15px;
    cursor: pointer;
}

.search-block__suggestions li:hover {
    background-color: var(--lightest-grey);
}

.search-block__text-format {
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 888px) {
    .search-block__search-icon {
        max-width: 21px;
    }
}

@media (max-width: 768px) {
    .search-block__suggestions {
        max-height: 300px;
    }
}

@media (max-width: 600px) {
    .search-block {
        max-width: 100%;
        padding: 0 15px;
    }
    .search-block__input-wrap {
        margin-right: 0;
        max-width: 100%;
    }
    .search-block__search-input {
        padding: 0;
    }
    .search-block__search-input::placeholder {
        opacity: 1;
        color: var(--grey);
        font-size: 14px;
    }
    .search-block__clear {
        right: 10px;
    }
    .search-block__suggestions {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
    }
}

@media (max-width: 425px) {
    .search-block__suggestions li {
        font-size: 16px;
        padding: 10px 15px;
    }
}
/* Dropdown */
.dropdown {
    display: flex;
    position: relative;
    width: 100%;
}
.dropdown.open .dropdown__arrow-icon {
    transform: rotate(180deg);
}
.dropdown__main-button {
    font-family: var(--font-family), Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    position: relative;
    display: block;
    width: 222px;
    border: 1px solid var(--grey);
    outline: none;
    color: var(--black);
    background-color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    padding: 18px 20px 18px 50px;
}
.dropdown__main-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.dropdown__main-button:hover {
    background-color: var(--dark-grey);
    color: var(--white);
}
.dropdown__main-button:hover img {
    filter: invert(1);
}
.dropdown__list {
    position: absolute;
    left: 0;
    top: 64px;
    width: 100%;
    list-style-type: none;

    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.35s ease, visibility 0s linear 0.45s;
    background-color: var(--white);
    overflow: hidden;
    z-index: 110;
    margin: 0;
    padding: 0;
}
.dropdown__list_visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;
    border: 1px solid var(--lightest-grey2);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.35s ease;
}
.dropdown__list-item {
    background-color: var(--white);
    border-bottom: 0px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}
.dropdown__arrow {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    z-index: 100;
}
.dropdown__arrow-icon {
    width: 14px;
    height: 14px;
}
.dropdown__input-hidden {
    display: none;
}
.dropdown__button {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    font-size: 18px;
    text-align: left;
    color: var(--grey);
    background-color: var(--white);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 15px;
}
.dropdown__button.active {
    font-weight: 700;
    color: var(--grey);
}

@media (max-width: 888px) {
    .dropdown {
        display: none;
    }
}

/* Filters */
.filters {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--grey);
    min-width: 222px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: transparent;
    border: 1px solid var(--grey);
    transition: all 0.3s ease;
    padding: 18px 20px;
    cursor: pointer;
}
.filters__img-wrap {
    max-width: 16px;
    flex-shrink: 0;
}
.filters:hover,
.filters_active {
    color: var(--white);
    background-color: var(--dark-grey);
}
.filters:hover .filters__img-wrap,
.filters_active .filters__img-wrap {
    filter: invert(1);
}

@media (max-width: 600px) {
    .filters {
        justify-content: center;
    }
}

/* Filters-list */

.filters-list .popup__close {
    display: none;
}
.filters-list__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    z-index: 10;
}
.filters-list__content {
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    z-index: 20;
    border-radius: 0;
    padding: 0 0 45px 0;
    margin: 0;
}

.filters-list__content-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.filters-list__directions {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
}
.filters-list__button {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    color: var(--grey);
    background-color: transparent;
    border: 1px solid var(--grey);
    outline: none;
    padding: 12px;
    cursor: pointer;
}
.filters-list__button:hover {
    color: var(--grey2);
    border: 1px solid var(--grey2);
}
.filters-list__blocks {
    width: 100%;
    display: flex;
    gap: 20px;
}
.filters-list__blocks-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.filters-list__level,
.filters-list__format {
    width: 304px;
    border: 1px solid var(--lightest-grey2);
    padding: 25px;
}
.filters-list__direction_desktop {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
}

.filters-list__levels,
.filters-list__formats {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.filters-list__title {
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
    color: var(--black);
    margin-bottom: 30px;
}
.filters-list__item {
    position: relative;
    padding-left: 35px;
    padding-right: 15px;
    display: flex;
    cursor: pointer;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.filters-list__item_desktop {
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    color: var(--grey);
    background-color: transparent;
    border: 1px solid var(--grey);
    outline: none;
    padding: 0;
    cursor: pointer;
}
.filters-list__item label {
    width: 100%;
    cursor: pointer;
}
.filters-list__item_desktop.filters-list__item label {
    padding: 12px;
}
.filters-list__item label::before {
    content: '';
    background-color: transparent;
    border: 1px solid #d8d8d8;
    width: 22px;
    height: 22px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    vertical-align: bottom;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 4px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.filters-list__item input {
    display: none;
    cursor: pointer;
}
.filters-list__item input:checked + label::before {
    background-color: var(--main-yellow);
    border: 1px solid var(--main-yellow);
    background-image: url('../img/icons/check-black.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}
.filters-list__direction_desktop .filters-list__item label::before {
    display: none;
}
.filters-list__item_desktop.filters-list__item_active label {
    font-weight: 600;
    background-color: var(--main-yellow);
    border: 1px solid var(--main-yellow);
}
.filters-list__item_active {
    border: none;
}
.filters-list__arrow {
    display: none;
}
.filters-list__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--white);
}
.filters-list__accept {
    display: none;
    gap: 15px;
}

.filters-list__disabled-filter {
    opacity: 0.5;
    cursor: not-allowed;
}

.filters-list__item input:disabled + label {
    color: hsl(0, 0%, 20%);
    cursor: not-allowed;
}

.filters-list__disabled-filter.filters-list__item label::before {
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .filters-list__inner {
        height: 64vh;
    }
    .filters-list__content {
        gap: 30px;
        overflow-y: scroll;
        padding: 0 6px 0px 6px;
    }
    .filters-list__buttons {
        gap: 10px;
    }
    .filters-list__button {
        padding: 12px 10px;
    }
    .filters-list__accept {
        padding: 0 6px;
        margin-top: 30px;
    }
}
@media (max-width: 768px) {
    .filters-list__direction_desktop .filters-list__item label::before {
        display: block;
    }
    .filters-list__item_desktop {
        font-weight: unset;
        border: none;
        position: relative;
        display: flex;
        align-items: center;
        user-select: none;
        cursor: pointer;
        padding: 0;
        padding-left: 35px;
        padding-right: 15px;
        background-color: transparent;
    }
    .filters-list__item_desktop.filters-list__item label {
        padding: 0;
    }
    .filters-list__item_desktop input:checked + label {
        font-weight: normal;
        background-color: transparent;
        border: none;
    }
    .filters-list__content {
        grid-template-columns: 1fr;
        overflow-y: scroll;
        padding-bottom: 3px;
    }

    .filters-list .popup__close {
        display: block;
        top: 36px;
        right: 20px;
    }

    .filters-list__accept {
        display: flex;
    }

    .filters-list .button {
        align-self: flex-end;
    }

    .filters-list__desktop {
        display: none;
    }

    .filters-list__title_desktop {
        display: none;
    }

    .filters-list {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        max-height: none;
        height: 100%;
        background: #343333;
        z-index: 999999;
        overflow: auto;
        margin-bottom: 0;
        transform: none;
        display: none;
    }

    .filters-list_active {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
        height: 100%;
        background: #343333;
        z-index: 999999;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        margin-bottom: 0;
    }

    .filters-list .accoMob.active .filters-list__arrow-icon {
        transform: rotate(180deg);
    }
    .filters-list__inner {
        max-width: 450px;
        height: 100vh;
        position: relative;
        top: 50%;
        padding: 80px 20px 30px 20px;
        margin: 0 auto;
        transform: translateY(-50%);
        z-index: 9999;
    }
    .filters-list__header-title {
        display: none;
    }
    .filters-list__blocks {
        flex-direction: column;
        gap: 20px;
    }
    .filters-list__header {
        position: relative;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
    }
    .filters-list__title {
        margin-bottom: 0;
        margin-right: 25px;
    }
    .filters-list__arrow {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        pointer-events: none;
        z-index: 10;
        flex-shrink: 0;
    }
    .filters-list__arrow-icon {
        width: 14px;
        height: 14px;
        transition: transform 0.3s ease;
    }
    .filters-list__content {
        height: 90vh;
    }
    .filters-list .accoMob-content {
        display: none;
    }
    .filters-list .accoMob-content.active {
        display: block;
    }
    .filters-list__directions-mob_list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .filters-list__level,
    .filters-list__format {
        border: none;
        padding: 0;
    }
    .filters-list__directions {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .filters-list__accept {
        padding: 0;
    }
}

@media (max-width: 375px) {
    .filters-list__accept {
        flex-direction: column;
    }
    .filters-list__accept .button {
        text-align: center;
    }
}

/* Video-block */
.video-block__wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.video-block__video {
    max-width: 1052px;
    width: 100%;
    max-height: 551px;
    cursor: pointer;
    position: relative;
}
.video-block__icon-wrap {
    max-width: 105px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}
.video-block__item-icon {
    transition: transform 0.3s ease;
}
.video-block__video:hover .video-block__item-icon {
    transform: scale(1.1);
}
.video-block__text {
    font-size: 18px;
    color: var(--grey13);
    max-width: 300px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .video-block__icon-wrap {
        max-width: 65px;
    }
}
@media (max-width: 768px) {
    .video-block__wrapper {
        flex-direction: column;
    }
}

/* Breadcrumbs */
.breadcrumbs__link {
    position: relative;
    font-family: inherit;
    font-weight: 300;
    font-size: 14px;
    color: var(--grey7);
    padding-right: 10px;
}
.breadcrumbs__link:not(:last-child)::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 2px;
    width: 2px;
    height: 2px;
    background-color: var(--grey7);
    border-radius: 50%;
}
.breadcrumbs__link.active {
    font-weight: 700;
    color: var(--white);
}

@media (max-width: 425px) {
    .breadcrumbs__link {
        font-size: 12px;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
}
.footer__wrapper {
    background-color: var(--dark-grey);
    padding-top: 105px;
    padding-bottom: 40px;
}
.footer__logo-wrap {
    display: inline-block;
    max-width: 375px;
    height: 100%;
    margin-bottom: 100px;
}
.footer__content-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 70px;
}
.footer__blocks {
    display: flex;
    justify-content: space-between;
    gap: 126px;
}
.footer__block {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.footer__block-title {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
}
.footer__wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__text {
    font-weight: 600;
    font-size: 20px;
    color: var(--white);
}
.footer__time-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__time {
    font-weight: 500;
    font-size: 20px;
    color: var(--grey7);
}
.footer__contact-link {
    font-weight: 500;
    font-size: 20px;
    color: var(--grey7);
    transition: color 0.3s ease;
}
.footer__contact-link:hover {
    color: var(--grey5);
}
.footer__nav-link {
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    color: var(--white);
    transition: color 0.3s ease;
    padding-bottom: 3px;
    position: relative;
}
.footer__nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--lightest-grey);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__nav-link:hover {
    color: var(--lightest-grey);
}
.footer__nav-link:hover::after {
    width: 100%;
    transform: translateX(-50%) scaleX(1);
}
.footer__nav-block,
.footer__directions {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.footer__block-links {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 230px;
}
.footer__link-info {
    font-weight: 500;
    font-size: 20px;
    color: var(--grey7);
    transition: color 0.3s ease;
}
.footer__link-info:hover {
    color: var(--lightest-grey2);
}
.footer__bottom-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    background-color: var(--grey2);
    padding: 40px;
    margin-bottom: 40px;
}
.footer__privacy {
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
    text-align: center;
}

@media (max-width: 1200px) {
    .footer__blocks {
        gap: 50px;
    }
}
@media (max-width: 1024px) {
    .footer__bottom-block {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer__nav-link::after {
        display: none;
    }
}
@media (max-width: 930px) {
    .footer__content-wrap {
        flex-wrap: wrap;
    }
}
@media (max-width: 768px) {
    .footer__wrapper {
        padding-top: 50px;
    }
    .footer__logo-wrap {
        margin-bottom: 50px;
    }
    .footer__content-wrap {
        margin-bottom: 70px;
    }
    .footer__block {
        gap: 30px;
    }
    .footer__block-links {
        max-width: 100%;
    }
    .footer__nav-link {
        font-size: 16px;
    }
    .footer__text {
        font-size: 20px;
    }
    .footer__time {
        font-size: 18px;
    }
    .footer__contact-link {
        font-size: 16px;
    }
    .footer__link-info {
        font-size: 18px;
    }
}
@media (max-width: 630px) {
    .footer__blocks {
        flex-wrap: wrap;
    }
}
@media (max-width: 600px) {
    .footer__bottom-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}
@media (max-width: 425px) {
    .footer__content-wrap {
        gap: 50px;
        margin-bottom: 50px;
    }
}
.addresses {
    display: flex;
    gap: 40px;
}
.addresses__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.addresses__title {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--white);
}
.addresses__address {
    font-weight: 500;
    font-size: 18px;
    color: var(--grey7);
}

@media (max-width: 768px) {
    .addresses {
        flex-direction: column;
    }
    .addresses__address {
        font-size: 16px;
    }
}
.socials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.socials__links {
    display: flex;
    align-self: flex-end;
    gap: 30px;
    border-radius: 20px;
}
.socials__link-icon {
    max-width: 30px;
    transition: all 0.3s ease;
}
.socials__link-icon:hover {
    opacity: 0.8;
}
.socials__apps {
    display: flex;
    gap: 10px;
}
.socials__app-link {
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: var(--dark-grey);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 15px 17px;
}
.socials__app-link:hover {
    background-color: var(--grey3);
}

@media (max-width: 1024px) {
    .socials__links {
        align-self: flex-start;
    }
}

/* Arrow to top */

.scroll-to-top {
    position: fixed;
    bottom: 6.875rem;
    right: 1.5625rem;
    background-color: var(--yellow-hover);
    color: var(--grey4);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    transform: translateZ(0);
    z-index: 10000;
    -webkit-backface-visibility: hidden;
}
.scroll-to-top:hover {
    transform: scale(1.1);
}

.scroll-to-top__img {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    margin: 0 auto;
    transform: rotate(180deg);
}
@media (max-width: 425px) {
    .scroll-to-top {
        width: 30px;
        height: 30px;
    }

    .scroll-to-top__img {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* Fancybox */

.fancybox-navigation .fancybox-button {
    height: 130px;
    width: 100px;
}

@media (max-width: 768px) {
    .fancybox-navigation .fancybox-button {
        height: 100px;
        width: 70px;
    }
}

/* Custom styles*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Docs */
.docs h2 {
    color: var(--white);
}

.docs__wrapper {
    padding-bottom: 140px;
}

.docs__item .tooltip {
    left: unset;
    right: 40px;
}

.docs__blocks {
    background-color: var(--grey2);
}
.docs__block {
    width: 100%;
    background-color: var(--grey2);
    border: 1px solid var(--grey2);
    padding: 40px 30px;
}
.docs__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.docs__block-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--white);
}
.docs__img-wrap {
    max-width: 42px;
    flex-shrink: 0;
}
.docs__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 10px;
}
.docs__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
    color: var(--white);
}

@media (max-width: 1024px) {
    .docs__block {
        padding: 20px;
    }

    .docs__block-title {
        font-size: 18px;
    }

    .docs__list li {
        font-size: 16px;
    }
    .bullet {
        margin-top: 0.6em;
    }
}

@media (max-width: 1023px) {
    .docs__blocks {
        background-color: unset;
    }
}

@media (max-width: 768px) {
    .docs__wrapper {
        padding-bottom: 70px;
    }

    .docs__block {
        padding: 20px 15px;
    }

    .docs__list li {
        font-size: 14px;
        font-weight: 300;
        gap: 8px;
    }
    .bullet {
        margin-top: 0.5em;
    }
    .docs__item {
        font-size: 14px;
        font-weight: 300;
    }

    .docs__item .tooltip {
        min-width: 500px;
        max-width: 500px;
        right: 30px;
    }

    .docs__img-wrap {
        max-width: 32px;
    }
}
@media (max-width: 600px) {
    .docs__item {
        padding-right: 20px;
    }
    .docs__item .tooltip {
        left: unset;
        right: 25px;
    }
}

@media (max-width: 570px) {
    .docs__item .tooltip {
        top: -105px;
    }

    .docs__item .tooltip {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 425px) {
    .docs__item .tooltip {
        top: -96px;
    }
}

@media (max-width: 375px) {
    .docs__item .tooltip {
        top: -115px;
    }

    .docs__item .tooltip {
        min-width: 250px;
        max-width: 250px;
    }
}

/* ________________________________________ */
/* Стили для страник Абитуриенту, Высшее, Колледж, Направление */

/* Static Banner */

.static-banner {
    height: 697px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.static-banner__breadcrumbs {
    padding-bottom: 20px;
}

.static-banner__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.static-banner__background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.static-banner__wrapper {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.static-banner__content {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
}

.static-banner__top-block {
    max-width: 650px;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
    padding-left: 50px;
}

.static-banner__title {
    font-weight: 700;
    font-size: 60px;
    color: var(--white);
}

.static-banner__text {
    max-width: 460px;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
}

.static-banner__buttons {
    display: none;
}

@media (max-width: 1200px) {
    .static-banner__title {
        font-size: 48px;
    }
}

@media (max-width: 1023px) {
    .static-banner__content {
        align-items: unset;
    }

    .static-banner__top-block {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .static-banner {
        height: 657px;
        overflow: visible;
    }
    .static-banner__top-block {
        padding: 20px;
    }

    .static-banner__title {
        font-size: 30px;
    }

    .static-banner__text {
        font-size: 16px;
    }

    .static-banner__button-wrap {
        margin-top: auto;
    }
}

@media (max-width: 600px) {
    .static-banner {
        height: auto;
    }
    .static-banner__button-wrap {
        display: none;
    }

    .static-banner__wrapper {
        height: 520px;
    }

    .static-banner__buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }
}

/* Dimplomas */

.diplomas__content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.diplomas__main-img {
    position: relative;
}

.diplomas__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
}

.diplomas__arrows .arrow {
    width: 25px;
    height: 25px;
    background-color: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.diplomas__arrows .arrow.arrow_next svg {
    transform: rotate(180deg);
}

.diplomas__content {
    max-width: 535px;
    display: flex;
    flex-direction: column;
}

.diplomas__content-title {
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 30px;
}

.diplomas__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 90px;
}

.diplomas__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.diplomas__item:last-child {
    font-weight: 700;
}

.diplomas__item .bullet {
    background-color: var(--grey);
}

.diplomas__preview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diplomas__preview img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.diplomas__preview img:hover {
    opacity: 0.8;
}

.diplomas__swiper {
    display: none;
}

@media (max-width: 1024px) {
    .diplomas__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .diplomas__main-img {
        display: none;
    }

    .diplomas__content {
        max-width: 100%;
        order: 2;
    }

    .diplomas__content-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .diplomas__list {
        gap: 20px;
        margin-bottom: 0;
    }

    .diplomas__preview {
        display: none;
    }

    .diplomas__swiper {
        display: block;
        order: 1;
        overflow: visible;
    }
}

/* calculator */
.price__filter {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.price__box {
    display: flex;
    justify-content: space-between;
    gap: 190px;
    border: 1px solid var(--lightest-grey2);
    padding: 50px 100px 50px 30px;
}

.price__filter-title {
    font-weight: 600;
    color: var(--grey2);
}

.price__filter-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price__filter-tabs li {
    font-weight: 600;
    background-color: var(--lightest-grey);
    padding: 15px 20px;
}

.price__filter-tabs li.active {
    color: var(--white);
    background-color: var(--dark-grey);
}

.price__select-title {
    background: var(--lightest-grey);
    border: 1px solid var(--lightest-grey);
    padding: 17px 20px;
}

[x-data].price__filter-item .select__dropdown {
    display: block;
}

.select__dropdown {
    display: none;
    position: absolute;
    background-color: var(--white);
    left: 0;
    top: 50px;
    overflow: auto;
    max-height: 150px;
    width: 100%;
    border: 1px solid var(--lightest-grey);
    scrollbar-width: thin;
    scrollbar-color: var(--lightest-grey) transparent;
    padding: 15px 10px;
    z-index: 2;
}

.price__time-text {
    font-weight: 500;
    color: var(--grey2);
}

.price__time .filter-group label::before {
    border: 1px solid var(--grey);
}

.filter-group label {
    position: relative;
    cursor: pointer;
    padding-left: 10px;
    display: flex;
}

.filter-group label::before {
    position: absolute;
    content: '';
    background-color: transparent;
    border: 1px solid #d8d8d8;
    width: 24px;
    height: 224px;
    left: 0;
    top: 0;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-right: 10px;
}

.price__filter-group.active label::after {
    content: url(../img/icons/check-black.png);
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    -webkit-transform: translate(50%, 0);
    transform: translate(50%, 0);
}

.price__info {
    font-size: 14px;
    color: var(--grey7);
}

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

.price__img-wrap {
    max-width: 270px;
}

.price__sumSale-text {
    font-weight: 600;
    font-size: 18px;
}

.price__discount-price {
    font-weight: 500;
    font-size: 24px;
}

.price__discount-info {
    font-size: 18px;
    font-weight: 700;
    background-color: var(--main-yellow);
    border-radius: 10px;
    padding: 8px 12px;
}

.price__discount-crossed {
    font-weight: 300;
    font-size: 18px;
}

.price__sumResult-start {
    font-weight: 600;
    font-size: 44px;
}

/* knowledge */
.knowledge__note {
    display: inline-block;
    margin-bottom: 50px;
    font-weight: 500;
    color: var(--grey7);
}

/* faq-tree */
.faq-tree__item {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-flow: column;
    gap: 30px;
}

.faq-tree__main-title {
    font-weight: 700;
    font-size: 24px;
}

.faq-tag-cloud {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row wrap;
}

.faq-tag-cloud__item {
    font-weight: 600;
    background-color: var(--lightest-grey);
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.faq-tag-cloud__item.active,
.faq-tag-cloud__item:hover {
    color: var(--white);
    background-color: var(--dark-grey);
}

.faq-tree__question {
    font-weight: 600;
    color: var(--grey2);
}

.faq-tree__item-suggestions_item {
    font-weight: 600;
    border: 1px solid var(--grey7);
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.faq-tree__item-suggestions_item.active,
.faq-tree__item-suggestions_item:hover {
    border: 1px solid var(--grey);
}

.faq-tree__answer a {
    font-weight: 700;
    color: var(--blue);
}

.faq-tree__ask-btn {
    font-weight: 700;
    font-size: 14px;
    background-color: var(--lightest-grey);
    padding: 10px 15px;
}

.faq-tree__answer {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-self: stretch;
    border-left: 5px solid var(--dark-grey);
}

/* Secondary about */

.secondary-about__blocks {
    display: flex;
    align-items: center;
    gap: 96px;
}

.secondary-about__texts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.secondary-about__texts p {
    font-size: 18px;
    position: relative;
    padding-left: 25px;
}

.secondary-about__texts p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: var(--main-yellow);
}

.secondary-about__img-wrap {
    max-width: 620px;
    flex: 1;
}

@media (max-width: 920px) {
    .secondary-about__blocks {
        flex-direction: column;
        gap: 70px;
    }

    .secondary-about__img-wrap {
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    .secondary-about__texts p {
        font-size: 16px;
    }
}

/* Education forms */

.education-forms__blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
    color: var(--white);
    background-color: var(--grey2);
    padding: 40px 30px;
}

.education-forms__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.education-forms__block-title {
    font-weight: 600;
    font-size: 20px;
}

.education-forms__img-wrap {
    width: 42px;
    flex-shrink: 0;
}

.education-forms__disc {
    font-weight: 400;
    font-size: 18px;
}

.education-forms__text {
    font-weight: 700;
}

@media (max-width: 920px) {
    .education-forms__blocks {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .education-forms__header {
        margin-bottom: 20px;
    }
}
