/* =============================================================================
 * SPECIAL OFFER LANDING PAGE
 * =============================================================================
 */

.special-offer-page {
    background: #fff;
}

/* Hero */

.offer-hero {
    padding: 8rem 0 64px;
    text-align: center;
    background: linear-gradient(180deg, #ee6129 0%, #d9531d 100%);
    color: #fff;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 20px;
    border-radius: 999px;
    background: #fff;
    color: #d9531d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.offer-badge svg {
    width: 16px;
    height: 16px;
    color: #ee6129;
}

.offer-hero__title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.offer-hero__sub {
    max-width: 620px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

/* Registration form card */

.offer-form-card {
    max-width: 460px;
    margin: 36px auto 0;
    padding: 26px 24px 28px;
    background: #393e46;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
    text-align: left;
    scroll-margin-top: 130px;
}

.offer-form-card__title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.offer-form-card .bg-elem:before {
    display: none;
}

.offer-form-card .form_text_bottom {
    margin-top: 14px;
}

.offer-form-card .form_text_bottom p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.offer-form-card .form_text_bottom a {
    color: #ee6129;
}

.offer-hero__note {
    max-width: 620px;
    margin: 20px auto 0;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Shared section title */

.offer-section__title {
    margin: 0 0 44px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    color: #10131a;
}

/* Steps */

.offer-steps {
    padding: 64px 0;
    background: #fff;
}

.offer-steps__list {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.offer-step {
    flex: 1;
    display: grid;
    grid-template-columns: auto;
    justify-items: center;
    text-align: center;
    position: relative;
}

.offer-step__num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ee6129;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.offer-steps__list .offer-step:not(:last-child) .offer-step__num::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: calc((100vw - 30px) / 3);
    max-width: 320px;
    height: 2px;
    background: rgba(238, 97, 41, 0.3);
}

.offer-step__label {
    margin-top: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ee6129;
}

.offer-step__title {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #10131a;
}

.offer-step__text {
    margin-top: 6px;
    max-width: 240px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

/* Benefits */

.offer-benefits {
    padding: 64px 0;
    background: #f6f7fb;
}

.offer-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.offer-benefit {
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 19, 26, 0.06);
}

.offer-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(238, 97, 41, 0.12);
    color: #ee6129;
    margin-bottom: 16px;
}

.offer-benefit__icon svg {
    width: 24px;
    height: 24px;
}

.offer-benefit__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #10131a;
}

.offer-benefit__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
}

/* Final CTA */

.offer-final {
    padding: 40px 0 72px;
    background: #f6f7fb;
}

.offer-final__box {
    width: 100%;
    padding: 44px 32px;
    border-radius: 20px;
    background: #eef1f8;
    text-align: center;
}

.offer-final__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    color: #10131a;
}

.offer-final__title svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.offer-final__text {
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #4f5665;
}

.offer-final__btn {
    display: inline-block;
    width: auto;
    min-width: 240px;
    padding: 16px 40px;
    font-size: 16px;
    text-transform: none;
}

@media (max-width: 767px) {
    .offer-hero {
        padding: 6.5rem 0 44px;
    }

    .offer-hero__title {
        font-size: 28px;
    }

    .offer-hero__sub {
        font-size: 15px;
    }

    .offer-section__title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .offer-steps,
    .offer-benefits {
        padding: 48px 0;
    }

    .offer-steps__list {
        flex-direction: column;
        gap: 28px;
    }

    .offer-steps__list .offer-step:not(:last-child) .offer-step__num::after {
        display: none;
    }

    .offer-benefits__grid {
        grid-template-columns: 1fr;
    }

    .offer-final__box {
        padding: 32px 20px;
    }

    .offer-final__btn {
        width: 100%;
        min-width: 0;
    }
}

/* =============================================================================
 * SPECIAL OFFER — EXIT-INTENT MODAL
 * =============================================================================
 */

.so-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.so-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 19, 26, 0.6);
    backdrop-filter: blur(2px);
}

.so-modal__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 40px 30px 30px;
    background: #fff;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.so-modal__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, #f2953f 0%, #e0551f 100%);
}

.so-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef1f8;
    color: #5b6472;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.so-modal__close:hover {
    background: #e0551f;
    color: #fff;
}

.so-modal__close svg {
    width: 16px;
    height: 16px;
}

.so-modal__img {
    display: block;
    width: 200px;
    max-width: 60%;
    height: auto;
    margin: 6px auto 18px;
}

.so-modal__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #10131a;
}

.so-modal__text {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.so-modal__text .so-modal__hl {
    color: #e0551f;
    font-weight: 700;
}

.so-modal__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.so-modal__time {
    min-width: 62px;
    padding: 12px 8px;
    border-radius: 12px;
    background: #eef1f8;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #10131a;
}

.so-modal__colon {
    font-size: 22px;
    font-weight: 800;
    color: #b9c0cd;
}

.so-modal__cta {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f2953f 0%, #e0551f 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.so-modal__cta:hover {
    filter: brightness(1.05);
}

@media (max-width: 767px) {
    .so-modal__card {
        padding: 34px 20px 24px;
    }

    .so-modal__title {
        font-size: 19px;
    }

    .so-modal__time {
        min-width: 54px;
        padding: 10px 6px;
        font-size: 24px;
    }
}
