/* ============================================
   Акция «Розыгрыш» — Mimori
   Hero-блок (главная + akciya.html) и секции условий.
   Подключается ПОСЛЕ style.css
   ============================================ */

/* меню в одну строку (с пунктом «розыгрыш» стало 6 пунктов) */
.nav__list {
    flex-wrap: nowrap;
}

.nav__item,
.nav__link {
    white-space: nowrap;
}

@media (min-width: 1308px) {
    .nav__list {
        font-size: 22px;
        gap: 18px;
    }
}

.promo-header {
    position: relative;
    background-image: url(../img/decor/clouds_back512.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.promo-main {
    padding-bottom: 60px;
}

/* ---------- HERO ---------- */

.promo-hero {
    padding-top: 60px;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
        "intro prizes"
        "bonuses bonuses";
    gap: 36px 44px;
    align-items: start;
}

.promo-hero__intro {
    grid-area: intro;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 24px;
}

.promo-hero__hearts {
    display: flex;
    align-items: flex-start;
    gap: 55px;
    margin-bottom: 22px;
}

.promo-hero__hearts img {
    width: 46px;
    height: auto;
}

.promo-hero__hearts .promo-heart--small {
    width: 26px;
    height: 24px;
    margin-top: 14px;
}

.promo-hero__title {
    font-size: clamp(44px, 6vw, 86px);
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    white-space: nowrap;
}

.promo-hero__subtitle {
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.5;
}

/* призы: три вертикальные карточки в ряд */

.promo-prizes {
    grid-area: prizes;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.promo-prize {
    background: #fff;
    border-radius: 24px;
    padding: 26px 16px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 24px rgba(24, 85, 99, 0.07);
    text-decoration: none;
    color: inherit;
}

.promo-prize__img {
    height: 168px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.promo-prize__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.promo-prize__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-prize__name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.promo-prize__badge {
    display: inline-block;
    background: #F5822B;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    padding: 9px 24px;
    white-space: nowrap;
}

/* бонусы: горизонтальная плашка под заголовком */

.promo-bonuses {
    grid-area: bonuses;
    justify-self: start;
    width: 100%;
    max-width: 820px;
    background: #fff;
    border-radius: 24px;
    padding: 26px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 6px 24px rgba(24, 85, 99, 0.07);
    position: relative;
}

/* декоративные сердечки справа от плашки (как в макете) */
.promo-bonuses::before,
.promo-bonuses::after {
    content: "";
    position: absolute;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'><path d='M16 28.3S1 19 1 9.6C1 4.6 5 1 9.4 1 12 1 14.5 2.3 16 4.4 17.5 2.3 20 1 22.6 1 27 1 31 4.6 31 9.6 31 19 16 28.3 16 28.3z' fill='%23FFD34D'/></svg>") no-repeat center / contain;
}

.promo-bonuses::before {
    width: 44px;
    height: 40px;
    right: -105px;
    top: 22%;
}

.promo-bonuses::after {
    width: 26px;
    height: 24px;
    right: -160px;
    top: 55%;
}

.promo-bonus {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promo-bonus__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bonus__icon svg {
    width: 100%;
    height: 100%;
}

.promo-bonus__text {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.promo-bonus__text span {
    display: block;
}

/* старый hero-блок размещён под акцией — ему больше не нужен
   большой отступ под фиксированную шапку, а малыш из absolute
   переведён в поток, чтобы не перекрывать CTA-баннер */
.hero__inner {
    padding-top: 60px;
    align-items: center;
}

.hero__img img {
    position: static;
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .hero__inner {
        flex-direction: column;
        align-items: center;
    }

    .hero__content {
        padding-bottom: 30px;
    }

    .hero__img {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero__img img {
        max-width: 380px;
    }
}

/* ---------- СЕКЦИИ УСЛОВИЙ ---------- */

.promo-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 50px;
}

.promo-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.promo-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 6px 24px rgba(24, 85, 99, 0.07);
}

.promo-card__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
}

.promo-card__title svg {
    width: 30px;
    height: 27px;
    flex-shrink: 0;
}

.promo-card p {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.promo-card p:last-child {
    margin-bottom: 0;
}

.promo-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 6px;
}

.promo-step {
    display: flex;
    gap: 16px;
    font-size: 19px;
    line-height: 1.45;
}

.promo-step__num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F5822B;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.promo-step ul {
    margin-top: 8px;
    padding-left: 24px;
    list-style: circle;
}

.promo-step li {
    margin-bottom: 4px;
}

.promo-medals {
    background: #FFF3C7;
    border-radius: 20px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.promo-medal {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 19px;
    line-height: 1.45;
}

.promo-medal__icon {
    font-size: 34px;
    line-height: 1;
    flex-shrink: 0;
}

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

.promo-bullets li {
    position: relative;
    padding-left: 24px;
    font-size: 19px;
    line-height: 1.45;
}

.promo-bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text);
}

/* ---------- CTA ---------- */

.promo-cta {
    margin: 55px auto 0;
    max-width: 760px;
    background: var(--text);
    color: #fff;
    border-radius: 22px;
    padding: 26px 40px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.promo-cta__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.promo-cta__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.promo-cta__sub {
    font-size: 18px;
    opacity: .92;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1307px) {
    .promo-hero {
        padding-top: 220px;
    }
}

/* мобильная раскладка «как в макете»: слева заголовок и бонусы, справа призы */
@media (max-width: 1100px) {
    .promo-hero {
        grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
        grid-template-areas:
            "intro prizes"
            "bonuses prizes";
        gap: 14px;
    }

    .promo-hero__intro {
        padding-top: 0;
    }

    .promo-hero__hearts {
        gap: 30px;
        margin-bottom: 12px;
    }

    .promo-hero__hearts img {
        width: 34px;
    }

    .promo-hero__hearts .promo-heart--small {
        width: 20px;
        height: 18px;
        margin-top: 10px;
    }

    .promo-hero__title {
        font-size: clamp(26px, 7.4vw, 60px);
        margin-bottom: 10px;
    }

    .promo-hero__subtitle {
        font-size: clamp(13px, 3.5vw, 24px);
    }

    .promo-prizes {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .promo-prize {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 12px 14px;
        border-radius: 18px;
        gap: 12px;
    }

    .promo-prize__img {
        width: 42%;
        height: auto;
        max-height: 110px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .promo-prize__img img {
        max-height: 110px;
    }

    .promo-prize__info {
        align-items: flex-start;
    }

    .promo-prize__name {
        font-size: clamp(13px, 3.7vw, 22px);
        margin-bottom: 8px;
    }

    .promo-prize__badge {
        font-size: clamp(12px, 3.2vw, 16px);
        padding: 6px 14px;
        border-radius: 9px;
    }

    .promo-bonuses {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 16px 18px;
        gap: 14px;
        border-radius: 18px;
        max-width: none;
    }

    .promo-bonuses::before,
    .promo-bonuses::after {
        display: none;
    }

    .promo-bonus {
        gap: 12px;
    }

    .promo-bonus__icon {
        width: 44px;
        height: 44px;
    }

    .promo-bonus__text {
        font-size: clamp(13px, 3.6vw, 18px);
    }

    .promo-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .promo-hero {
        padding-top: 140px;
    }

    .promo-sections {
        margin-top: 36px;
        gap: 20px;
    }

    .promo-col {
        gap: 20px;
    }

    .promo-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .promo-card__title {
        font-size: 19px;
        gap: 10px;
    }

    .promo-card__title svg {
        width: 24px;
        height: 22px;
    }

    .promo-card p,
    .promo-step,
    .promo-medal,
    .promo-bullets li {
        font-size: 16px;
    }

    .promo-medals {
        padding: 20px 18px;
    }

    .promo-medal__icon {
        font-size: 28px;
    }

    .promo-cta {
        padding: 20px 22px;
        gap: 16px;
        border-radius: 18px;
    }

    .promo-cta__icon {
        width: 42px;
        height: 42px;
    }

    .promo-cta__title {
        font-size: 18px;
    }

    .promo-cta__sub {
        font-size: 15px;
    }
}
