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

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: "Golos Text", sans-serif;
    color: #1d1d1f;
    background-color: #f7f7f7;
}

img {
    display: block;
    max-width: 100%;
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
}

button,
input,
textarea {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

.iti__country-list {
    color: #151515!important;
}
.checkbox {
    margin-bottom: 20px;
}

.page {
    /*overflow: hidden;*/
    /*overflow-x: hidden;*/
    /*overflow-y: visible;*/

    overflow-x: clip;
    overflow-y: visible;
}
.content-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* HERO */
.hero {
    margin: 15px;
    border-radius: 20px;
    padding: 24px 0 32px;
    background-image: url("../images/hero-bg.png");
    background-size: cover;
    background-position: 50% 50%;
}

.hero__inner {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 32px;
}

.hero_thank {
    margin: 15px;
    border-radius: 20px;
    padding: 24px 0 32px;
    background-image: url("../images/hero-bg.png");
    background-size: cover;
    background-position: 50% 50%;
}

.hero__inner_thank {
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 32px;
}

.event-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.event-btn {
    min-width: 205px;
    height: 54px;
    padding: 0 26px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 8px 14px rgba(23, 23, 23, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(23, 23, 23, 0.28);
}

.event-btn--back {
    background: #ffffff;
    color: #081b46;
}

.event-btn__icon {
    font-size: 30px;
    line-height: 1;
    margin-top: -5px;
}

.event-btn--insta {
    color: #ffffff;
    background: linear-gradient(90deg, #982cff 0%, #e73c9d 52%, #f35b4f 100%);
}

.event-btn__insta {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .event-buttons {
        gap: 12px;
    }

    .event-btn {
        min-width: 0;
        width: 100%;
        max-width: 280px;
        height: 52px;
        font-size: 20px;
        border-radius: 16px;
    }
}

.hero__content {
    color: #fff;
}

.hero__logo {
    display: inline-block;
    margin-bottom: 28px;
}

.hero__logo img {
    height: 38px;
    width: auto;
}

.hero__title {
    margin: 0 0 24px;
    font-size: 56px;
    line-height: 1.02;
    font-weight: 700;
}

.hero__text {
    margin: 0;
    font-size: 30px;
    line-height: 120%;
    font-weight: 400;
}
.thank__text {
    margin: 0;
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero__video {
    width: 100%;
    max-width: 520px;
    flex-shrink: 0;
}

.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    background-color: #000;
}

/* MAIN */
.main-section {
    padding: 100px 0;

}

/*.section-marker {*/
/*    width: 34px;*/
/*    height: 4px;*/
/*    margin: 0 auto 30px;*/
/*    border-radius: 999px;*/
/*    background: #f03ca9;*/
/*}*/

.section-marker--bottom {
    margin: 24px auto 0;
}

.main-layout {
    display: flex;
    align-items: flex-start;
    gap: 34px;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 430px;
}

.sidebar__box {
    position: sticky;
    top: 20px;
    padding: 22px 18px;
    border-radius: 20px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    border: 1px solid #DADADA;
    background: #FFF;
    scroll-behavior: smooth;

}
.mobile-sidebar-toggle,
.mobile-sidebar-overlay {
    display: none;
}

.tab-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 0 10px 14px;
    border: 0;
    background: transparent;
    text-align: left;
    color: #151515;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.25s ease;
}

.tab-btn + .tab-btn {
    margin-top: 4px;
}

.tab-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: calc(100% - 28px);
    border-radius: 10px;
    background: transparent;
    transition: background 0.25s ease;
}

.tab-btn:hover {
    color: #e31b23;
}

.tab-btn.active {
    color: #e31b23;
}

.tab-btn.active::before {
    background: #e31b23;
}

.content {
    flex: 1;
    min-width: 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-section {
    min-height: 500px;
}


/* FORM */
.consultation {
    margin-top: 56px;
    padding: 0 0 36px;
    background: transparent;
}

.consultation__inner {
    width: 100%;
    /*max-width: 880px;*/
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: linear-gradient(250deg, #750117 1.45%, #E70000 98.55%);
}

.consultation__form-side {
    padding: 34px 30px 34px 34px;
    color: #fff;
}

.consultation__title {
    margin: 0 0 22px;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
}

.form__field {
    margin-bottom: 14px;
}

.form__field input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    outline: none;
}

.form__field input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.form__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 20px;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.form__submit {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #e31b23;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form__submit:hover {
    transform: translateY(-1px);
}

.consultation__media {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0px 24px 0 0;
}

.consultation__image {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.consultation__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* FOOTER */
.footer {
    padding: 60px 0;
    background: #0A1946;
    color: #fff;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer__brand {
    max-width: 400px;
    width: 100%;
}

.footer__city {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.2;
}

.footer__city--spaced {
    margin-top: 22px;
}

.footer__city strong {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.footer__city-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.footer__city-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer__logo img {
    height: 40px;
    width: auto;
}

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

.footer__socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
}

.footer__contacts {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer__col p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
}

/* TABLET */
@media (max-width: 1199px) {
    .hero__inner {
        padding: 36px;
    }

    .hero__title {
        font-size: 46px;
    }

    .hero__text {
        font-size: 22px;
    }

    .main-layout {
        gap: 24px;
    }

    .sidebar {
        width: 280px;
    }


}

/* MOBILE */
@media (max-width: 991px) {


    .footer__city, .footer__socials {
        justify-content: center;
    }

    .footer__col, .footer__brand {
        text-align: center;
    }

    .main-section {
        padding: 50px 0;
    }
    .hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        display: grid;
        gap: 28px;
        padding: 28px 22px;
    }
    .hero__inner_thank {
        min-height: auto;
        grid-template-columns: 1fr;
        display: grid;
        gap: 28px;
        padding: 28px 22px;
    }

    .thank__text {
        font-size: 18px;
    }
    .event-btn {
        max-width: 400px;
    }
    .hero__content,
    .hero__video {
        max-width: none;
        text-align: center;
    }

    .hero__title {
        font-size: 38px;
    }
    .hero__title br {
        display: none;
    }

    .hero__text {
        font-size: 20px;
    }

    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar__box {
        position: static;
        max-height: none;
        overflow: visible;
    }



    .consultation__inner {
        grid-template-columns: 1fr;
    }

    .consultation__title {
        font-size: 32px;
    }

    .footer__inner {
        flex-direction: column;
    }

    .footer__contacts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .hero {
        padding-top: 15px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__text {
        font-size: 17px;
    }



    .consultation {
        padding-top: 36px;
    }

    .consultation__form-side {
        padding: 24px 18px;
    }

    .consultation__media {
        padding: 18px;
    }

    .consultation__title {
        font-size: 26px;
    }

    .form__submit {
        font-size: 18px;
    }

    .footer {
        padding: 28px 0;
    }
}


/*popup*/

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.video-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.video-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-modal__frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/*aside*/
/* ===== mobile ===== */
@media (max-width: 991px) {
    .sidebar {
        z-index: 998!important;
    }
    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        border: none;
        background: #e31e24;
        color: #fff;
        border-radius: 14px 0 0 14px;
        padding: 14px 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        cursor: pointer;
    }

    .mobile-sidebar-toggle__text {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 340px);
        height: 100dvh!important;
        z-index: 1003;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        margin: 0;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar__box {
        position: relative;
        top: 0;
        height: 100%;
        max-height: 100%;
        border-radius: 20px 0 0 20px;
        padding: 20px 16px;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    }

    .mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 997;
    }

    .mobile-sidebar-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-sidebar-lock {
        overflow: hidden;
    }
}