body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: #4a3f63;
    font-family: 'WeeblySleek UI', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.site-index {
    position: relative;
    max-width: 1219px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.home-hero {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 0;
}

.home-hero__inner {
    position: relative;
    isolation: isolate;
}

.home-hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: min(48%, 516px);
    pointer-events: none;
    z-index: 0;
}

.home-hero__vector {
    display: block;
    width: 100%;
    height: auto;
}

.home-hero__intro {
    position: relative;
    z-index: 1;
    max-width: 905px;
    margin-bottom: 28px;
}

.home-hero__brand {
    margin-bottom: 14px;
}

.home-hero__logo {
    display: block;
    width: 235px;
    max-width: 100%;
    height: auto;
}

.home-hero__text {
    max-width: 880px;
    font-size: 18px;
    line-height: 150%;
    color: #746b82;
}

.home-hero__text p {
    margin: 0 0 16px;
}

.home-hero__text p:last-child {
    margin-bottom: 0;
}

.home-events {
    position: relative;
    z-index: 1;
}

.home-events__title {
    margin: 0 0 14px;
    font-size: 42px;
    font-weight: 600;
    line-height: 150%;
    color: #4a3f63;
}

.home-slider {
    position: relative;
    max-width: 1087px;
    margin: 0 auto;
}

.home-slider__viewport {
    position: relative;
    overflow: hidden;
    background: #ede8f7;
    touch-action: pan-y;
    user-select: none;
}

.home-slider__track {
    position: relative;
    min-height: 240px;
}

.home-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-slider__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: pointer;
}

.home-slider__media {
    position: relative;
    aspect-ratio: 4.53 / 1;
    min-height: 240px;
}

.home-slider__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
}

.home-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(109, 64, 153, 0.72) 0%, rgba(109, 64, 153, 0.42) 36%, rgba(109, 64, 153, 0.08) 72%, rgba(109, 64, 153, 0) 100%);
}

.home-slider__content {
    position: absolute;
    top: 20px;
    left: 18px;
    z-index: 1;
    max-width: 235px;
}

.home-slider__heading {
    margin: 0;
    color: #fff;
    font-size: 42px;
    line-height: 100%;
    font-weight: 600;
}

.home-slider__footer {
    padding: 8px 0 0;
}

.home-slider__meta {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 10px;
}

.home-slider__actions {
    display: inline-flex;
    gap: 4px;
    flex-shrink: 0;
}

.home-slider__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;

    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(109, 64, 153, 0.35);
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-slider__control:hover {
    background: #6d4099;
    border-color: #6d4099;
    color: #fff;
}

.home-slider__control:focus-visible {
    outline: 2px solid #6d4099;
    outline-offset: 2px;
}

.home-slider__caption {
    margin: 2px 0 0;
    color: #5b5a5d;
    font-size: 18px;
    line-height: 150%;
    text-align: left;
}

.home-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.home-slider__dot {
    width: 18px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 63, 99, 0.38);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-slider__dot.is-active {
    background: #6d4099;
    transform: scaleX(1.1);
}

.home-slider__dot:focus-visible {
    outline: 2px solid #6d4099;
    outline-offset: 2px;
}

.home-slider__empty {
    margin: 0;
    color: #746b82;
    font-size: 18px;
    line-height: 150%;
}

.home-slider__control--prev {
    left: 16px;
}

.home-slider__control--next {
    right: 16px;
}

.home-catalog {
    margin-top: 48px;
}

.home-catalog__lead {
    margin: 0 auto 22px;
    max-width: 720px;
    text-align: center;
    color: #5b5a5d;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
}

.home-catalog__filters {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 14px;
}

.home-catalog__select {
    appearance: none;
    width: 100%;
    min-height: 56px;
    padding: 0 44px 0 20px;
    border: 0;
    border-radius: 2px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236D4099' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    color: #5b5a5d;
    font-size: 16px;
    line-height: 150%;
}
.home-catalog__filter {
    justify-self: center;
}

.home-catalog__event-select-wrap {
    justify-self: center;
    display: block;
    margin-bottom: 18px;
}

.home-catalog__event-select {
    appearance: none;
    min-height: 56px;
    padding: 0 22px 0 22px;
    border: 0;
    border-radius: 7px;
    background-color: #6d4099;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    cursor: pointer;
}

.home-catalog__card {
    margin-top: 15vh;
}

.home-catalog__banner {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 457px;
    overflow: hidden;
    background: #2f2142;
}

.home-catalog__banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-catalog__banner-panel {
    position: absolute;
    top: 53px;
    left: 0;
    bottom: auto;
    width: min(52%, 640px);
    display: flex;
    flex-direction: column;
    color: #fff;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
    filter: drop-shadow(18px 18px 0 #5B5A5DB2);
}

.home-catalog__banner-top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 42px 48px 72px 36px;
    background: #343087;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%);
}

.home-catalog__banner-bottom {
    position: relative;
    z-index: 2;
    margin-top: -58px;
    min-height: 132px;
    padding: 58px 48px 28px 36px;
    background: #7b4db0;
    clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 100%);
}

.home-catalog__banner-title {
    margin: 0;
    max-width: 420px;
    font-size: 44px;
    line-height: 1.05;
    font-weight: 700;
}

.home-catalog__banner-subtitle {
    margin: 16px 0 0;
    max-width: 420px;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
}

.home-catalog__banner-logo {
    width: 156px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.home-catalog__mobile-info {
    display: none;
}

.home-catalog__info-card {
    position: absolute;
    top: 20px;
    right: max(42px, calc((100vw - 1440px) / 2 + 42px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: max-content;
    min-width: 297px;
    height: 175px;
    padding: 10px 16px;
    border-radius: 4px;
    background-color: #ffffff;
    background-image: none;
    opacity: 1;
    box-shadow: none;
    z-index: 3;
}

.home-catalog__info-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.home-catalog__info-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #6d4099;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.home-catalog__info-item--date {
    font-size: 24px;
}

.home-catalog__info-item--date .home-catalog__info-icon {
    width: 29px;
    height: 28px;
}

.home-catalog__info-item--time {
    font-size: 18px;
}

.home-catalog__info-item--time .home-catalog__info-icon {
    width: 20px;
    height: 20px;
}

.home-catalog__info-item--location {
    font-size: 24px;
}

.home-catalog__info-item--location .home-catalog__info-icon {
    width: 24px;
    height: 24px;
}

.home-catalog__info-divider {
    width: 179px;
    height: 1px;
    margin: 0;
    border: 0;
    background: #6d4099;
}

.home-catalog__info-icon {
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.home-catalog__badge {
    position: absolute;
    right: max(42px, calc((100vw - 1440px) / 2 + 42px));
    bottom: 28px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(129, 199, 132, 0.85);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
}

.home-catalog__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    margin-top: 18px;
}

.home-catalog__price {
    margin: 0;
    text-align: right;
    color: #5b5a5d;
    font-size: 18px;
    line-height: 150%;
    white-space: nowrap;
}

.home-catalog__description {
    color: #746b82;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    padding: 40px 24px 20px;
    /* min-height: 260px; */
    background: linear-gradient(180deg, #6d4099 0%, #343087 100%);
    color: #fff;
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.26;
    pointer-events: none;
}

.site-footer__vector {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__content {
    position: relative;
    z-index: 1;
    max-width: 1219px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.site-footer__contact,
.site-footer__text {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.site-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer__contact-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.site-footer__contact-link:hover {
    text-decoration: none;
    opacity: 0.88;
}

.site-footer__contact-separator {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__logo-image {
    width: 170px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

@media (min-width: 900px) {
    .site-footer__content {
        align-items: center;
        text-align: left;
        gap: 35px;
    }

    .site-footer__contact,
    .site-footer__text {
        flex: 1;
    }

    .site-footer__logo {
        flex: 0 0 auto;
    }
}

.home-catalog__description p {
    display: inline;
    margin: 0;
}

.home-catalog__read-more {
    margin-left: 6px;
    color: #3b6fd8;
    text-decoration: underline;
    white-space: nowrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991.98px) {
    .site-index {
        padding: 20px 18px 36px;
    }

    .home-hero__bg {
        width: min(42%, 380px);
        right: 0;
    }

    .home-slider__content {
        max-width: 210px;
    }

    .home-catalog__banner {
        height: 380px;
    }

    .home-catalog__banner-panel {
        top: 36px;
        left: 0;
        width: min(62%, 480px);
        filter: drop-shadow(14px 14px 0 rgba(118, 112, 110, 0.92));
    }

    .home-catalog__banner-top {
        padding: 28px 28px 56px 20px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    }

    .home-catalog__banner-bottom {
        margin-top: -42px;
        min-height: 108px;
        padding: 46px 28px 20px 20px;
        clip-path: polygon(0 0, 100% 38%, 100% 100%, 0 100%);
    }

    .home-catalog__banner-title {
        font-size: 30px;
    }

    .home-catalog__banner-subtitle {
        font-size: 15px;
    }

    .home-catalog__info-card {
        top: 18px;
        right: 18px;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        height: 160px;
    }

    .home-catalog__info-item--date,
    .home-catalog__info-item--location {
        font-size: 24px;
        line-height: 32px;
    }

    .home-catalog__info-item--time {
        font-size: 18px;
        line-height: 24px;
    }

    .home-catalog__badge {
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 767.98px) {
    .site-index {
        padding: 16px 14px 28px;
    }

    .home-hero__bg {
        width: 200px;
        right: 0;
        top: 0;
    }

    .home-hero__text {
        font-size: 14px;
    }

    .home-events__title {
        font-size: 30px;
        font-weight: 600;
        line-height: 150%;
    }

    .home-slider {
        max-width: 100%;
    }

    .home-slider__media {
        min-height: 220px;
        aspect-ratio: auto;
    }

    .home-slider__content {
        top: 18px;
        left: 18px;
        max-width: 180px;
    }

    .home-slider__heading {
        font-size: 24px;
        line-height: 1.15;
    }

    .home-slider__meta {
        gap: 12px;
    }

    .home-slider__caption {
        font-size: 12px;
    }

    .home-catalog__filters {
        grid-template-columns: 1fr;
    }

    .home-catalog__lead {
        font-size: 15px;
    }

    .home-catalog__select {
        font-size: 15px;
    }

    .home-catalog__event-select {
        font-size: 16px;
        width: 100%;
        white-space: normal;
    }

    .home-catalog__banner {
        height: auto;
        min-height: 300px;
        padding: 0 0 24px;
        background: transparent;
        overflow: visible;
    }

    .home-catalog__banner-image {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 300px;
    }

    .home-catalog__banner-panel {
        position: absolute;
        top: -90px;
        left: 50%;
        right: auto;
        width: min(96%, 420px);
        max-width: none;
        transform: translateX(-50%);
        filter: none;
    }

    .home-catalog__banner-top {
        background: #343087;
        padding: 24px 20px 60px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%);
    }

    .home-catalog__banner-bottom {
        margin-top: -52px;
        box-sizing: border-box;
        height: 72px;
        min-height: 72px;
        padding: 34px 16px 14px;
        clip-path: polygon(0 0, 100% 34%, 100% 100%, 0 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-catalog__mobile-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .home-catalog__banner-logo {
        display: none;
    }

    .home-catalog__mobile-info .home-catalog__info-group {
        display: contents;
    }

    .home-catalog__mobile-info .home-catalog__info-item {
        box-sizing: border-box;
        flex: 0 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 4px;
        padding: 0;
        color: #fff;
        font-size: 12px;
        line-height: 16px;
        white-space: nowrap;
        text-align: center;
    }

    .home-catalog__mobile-info .home-catalog__info-item--date,
    .home-catalog__mobile-info .home-catalog__info-item--time,
    .home-catalog__mobile-info .home-catalog__info-item--location {
        font-size: 12px;
        line-height: 16px;
    }

    .home-catalog__mobile-info .home-catalog__info-item--time::before,
    .home-catalog__mobile-info .home-catalog__info-item--location::before {
        content: '';
        width: 1px;
        height: 16px;
        margin-right: 10px;
        background: rgba(255, 255, 255, 0.8);
        flex-shrink: 0;
    }

    .home-catalog__mobile-info .home-catalog__info-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        filter: brightness(0) invert(1);
    }

    .home-catalog__mobile-info .home-catalog__info-divider {
        display: none;
    }

    .home-catalog__banner-title {
        font-size: 22px;
    }

    .home-catalog__banner-subtitle {
        font-size: 13px;
    }

    .home-catalog__info-card {
        display: none;
    }

    .home-catalog__badge {
        right: 14px;
        bottom: 15px;
    }

    .home-catalog__footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-catalog__price {
        text-align: left;
        order: -1;
    }

    .home-catalog__lead,
    .home-catalog__description,
    .home-catalog__price {
        font-size: 15px;
    }
}
