/*Новогодный баннер*/

.new-year-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 30px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background: linear-gradient(180deg, #EDEEFF -531.76%, #9E9FE2 -178.24%, #1E48D8 234.58%);
    background-blend-mode: normal;
    overflow: hidden;
}

/* Крестик */
.new-year-banner__close {
    position: absolute;
    top: 10px;
    left: 10px; /* можно right: 10px, если нужно справа */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #15007F;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* по ховеру */
.new-year-banner__close:hover {
    background: #ffffff;
}

/* Текст */
.new-year__text {
    margin: 0;
    font-family: "Hero New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
    line-height: 110%;
    letter-spacing: 0;
    color: #FFFFFF;
    position: relative;
}

/* Спан с процентом */
.new-year__accent {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #15007F;
    padding: 0 20px; /* немного, чтобы текст точно был внутри svg */
    transform: rotate(-5deg); /* лёгкий наклон набок */
}

/* SVG-подложка под спан */
.new-year__accent-bg {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Кнопка (если нужно чуть отступить) */
.new-year-banner .btn.hero__link {
    flex-shrink: 0;
}

/* Снежинки */
.new-year__snowflake {
    position: absolute;
    width: 40px;   /* подгони под свою картинку */
    height: 40px;
    pointer-events: none;
}

/* Позиции снежинок, раскиданные по баннеру */
/* старые */
.new-year__snowflake--1 {
    top: 10px;
    left: 20px;
    transform: scale(2); /* базовый размер */
}

.new-year__snowflake--2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3); /* крупнее */
}

.new-year__snowflake--3 {
    bottom: 5px;
    right: 24%;
    transform: scale(1.9);

}

/* новые */
.new-year__snowflake--4 {
    top: 5px;
    right: 15%;
    transform: scale(2); /* маленькая */
}

.new-year__snowflake--5 {
    bottom: 15px;
    left: 10%;
    transform: scale(1.5); /* самая большая */
}

.new-year__snowflake--6 {
    top: 40%;
    right: 5%;
    transform: scale(0.8);
}

.new-year__snowflake--7 {
    bottom: 30%;
    left: 60%;
    transform: scale(1.1);
}

/* Адаптив под мобилку по желанию */
@media (max-width: 768px) {
    .new-year-banner {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
        text-align: center;
    }

    .new-year__text {
        font-size: 18px;
    }

    .new-year__accent svg {
        width: 78px;
    }
}



/* Новогодняя секция */
.new-year-section {
    position: relative;
    padding: 150px 20px 150px; /* сверху 150, по бокам адаптивно */
    background: linear-gradient(180deg, #EDEEFF -531.76%, #9E9FE2 -178.24%, #1E48D8 234.58%);
    background-blend-mode: normal;
    overflow: hidden;
}

/* Центровка контента */
.new-year-section__inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Заголовок */
.new-year-title {
    margin: 0 0 24px;
    font-family: "Hero New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 75px;
    line-height: 110%;
    letter-spacing: 0;
    color: #FFFFFF;
    text-align: center;
}

/* Подзаголовок */
.new-year-subtitle {
    margin: 0 0 32px;
    font-family: "Hero New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 41px;
    line-height: 130%;
    letter-spacing: 0;
    color: #FFFFFF;
    text-align: center;
}

/* Кнопка остаётся как есть по твоим классам */
.new-year-section .btn.hero__link {
    margin-bottom: 24px;
}

/* Текст под кнопкой */
.new-year-note {
    max-width: 720px;
    margin: 0 auto;
    font-family: "Hero New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: #FFFFFF;
    opacity: 0.9;
    text-align: center;
    margin-top: 40px;
}

/* Снежинки — больше и раскиданы рандомно */
.new-year__snowflake {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0.8;
    filter: blur(6px);
}

/* Позиции: можно подправить под макет */
.new-year__snowflake--1 {
    top: 20px;
    left: 8%;
    transform: scale(1.1);
}

.new-year__snowflake--2 {
    top: 10%;
    right: 12%;
    transform: scale(1.4);
}

.new-year__snowflake--3 {
    top: 45%;
    left: 3%;
    transform: scale(1);
}

.new-year__snowflake--4 {
    top: 35%;
    right: 5%;
    transform: scale(0.8);
}

.new-year__snowflake--5 {
    bottom: 15%;
    left: 18%;
    transform: scale(1.4);
}

.new-year__snowflake--6 {
    bottom: 10%;
    right: 20%;
    transform: scale(1.2);
}

.new-year__snowflake--7 {
    top: 60%;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
}

.new-year__acenting {
    color: #15007F;
    rotate: -21deg;
    padding-inline: 10px;
    font-size: 30px;

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* немного, чтобы текст точно был внутри svg */
    transform: rotate(-5deg); /* лёгкий наклон набок */
}



/* SVG-подложка под спан */
.new-year__accent-bg {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Адаптив */
@media (max-width: 992px) {
    .new-year-title {
        font-size: 52px;
    }

    .new-year__acenting {
        font-size: 35px;
    }
    .new-year-subtitle {
        font-size: 28px;
    }

    .new-year__snowflake {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .new-year-section {
        padding: 120px 16px 120px;
    }

    .new-year__acenting {
        font-size: 20px;
    }

    .new-year-title {
        font-size: 36px;
    }

    .new-year-subtitle {
        font-size: 22px;
    }

    .new-year-note {
        font-size: 14px;
    }

    .new-year__snowflake {
        width: 40px;
        height: 40px;
        opacity: 0.6;
    }
}