.am-promotional-section {
    width: min(1320px, calc(100% - 48px));
    margin: 65px auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    font-family: Vazirmatn, Tahoma, sans-serif;
    direction: rtl;
}

.am-promotional-section * {
    box-sizing: border-box;
}

.am-promo-instagram,
.am-promo-installments {
    position: relative;
    overflow: hidden;
    background: #102a57;
    border-radius: 28px;
    color: #fff;
}

.am-promo-instagram {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    align-items: center;
    isolation: isolate;
}

.am-promo-instagram::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border: 55px solid rgba(255,255,255,.035);
    border-radius: 50%;
    left: -250px;
    top: -350px;
    z-index: -1;
}

.am-promo-instagram-content {
    padding: 50px 65px 55px 35px;
    text-align: center;
}

.am-promo-eyebrow {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.am-promo-instagram h2 {
    font-size: clamp(25px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.8;
    margin: 0 0 15px;
    color: #fff;
}

.am-promo-instagram h2 span,
.am-promo-installments h2 span {
    color: #8dc7ff;
}

.am-promo-instagram p {
    max-width: 690px;
    margin: 0 auto 28px;
    color: #e5f1ff;
    line-height: 2.2;
    font-size: 16px;
}

.am-promo-instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 14px 24px;
    min-height: 58px;
    background: #ffffff;
    color: #102a57;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
}

.am-promo-instagram-button:hover {
    background: #eaf4ff;
    transform: translateY(-2px);
}

.am-promo-phone-area {
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 30px 20px 0;
}

.am-promo-phone {
    width: 275px;
    height: 365px;
    padding: 10px 9px 0;
    background: #0b0e14;
    border: 5px solid #263245;
    border-bottom: 0;
    border-radius: 42px 42px 0 0;
    box-shadow: 0 0 0 3px #61718a, 0 15px 40px rgba(0,0,0,.2);
    position: relative;
}

.am-promo-phone::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 20px;
    background: #05070a;
    border-radius: 20px;
    z-index: 2;
}

.am-promo-phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: #fff;
}

.am-promo-phone-screen > img {
    width: 100%;
    height: auto;
    display: block;
}

.am-promo-phone-fallback {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #23334d;
}

.am-promo-phone-fallback img {
    width: 115px;
    height: 115px;
    object-fit: contain;
}

.am-promo-installments {
    min-height: 300px;
    text-align: center;
    padding: 48px 45px 42px;
}

.am-installments-decoration {
    position: absolute;
    left: 4%;
    top: -45px;
    font-size: 220px;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}

.am-promo-installments h2 {
    position: relative;
    margin: 0 0 17px;
    font-size: clamp(25px, 3.1vw, 41px);
    line-height: 1.8;
    font-weight: 900;
}

.am-installments-description {
    max-width: 1040px;
    margin: 0 auto 30px;
    font-size: 15px;
    color: #e5f1ff;
    line-height: 2.2;
}

.am-installments-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    margin: auto;
}

.am-installments-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    color: #ffffff;
    font-size: 15px;
}

.am-installments-feature + .am-installments-feature {
    border-right: 1px solid rgba(255,255,255,.25);
}

.am-installments-icon {
    color: #ffffff;
    font-size: 29px;
    line-height: 1.3;
    font-weight: 900;
}

@media(max-width: 850px) {
    .am-promo-instagram {
        grid-template-columns: 1fr;
    }

    .am-promo-instagram-content {
        padding: 38px 25px 20px;
    }

    .am-promo-phone {
        height: 260px;
        width: 220px;
    }

    .am-promo-phone-area {
        padding-top: 20px;
    }

    .am-promo-installments {
        padding: 35px 20px;
    }
}

@media(max-width: 600px) {
    .am-promotional-section {
        width: calc(100% - 28px);
        margin: 35px auto;
        gap: 25px;
    }

    .am-promo-instagram,
    .am-promo-installments {
        border-radius: 19px;
    }

    .am-promo-instagram p {
        font-size: 13px;
    }

    .am-promo-instagram-button {
        font-size: 14px;
    }

    .am-installments-description {
        font-size: 13px;
    }

    .am-installments-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .am-installments-feature + .am-installments-feature {
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,.2);
        padding-top: 15px;
    }

    .am-installments-feature {
        font-size: 13px;
    }
}


/* Arman Mandegar blue & white branding */
.am-promo-instagram {
    background: linear-gradient(115deg, #102a57 0%, #1769c2 100%);
}

.am-promo-installments {
    background: linear-gradient(120deg, #102a57 0%, #174a92 100%);
}

.am-promo-instagram-button {
    background: #ffffff;
    color: #102a57;
}

.am-promo-instagram-button:hover {
    background: #eaf4ff;
    color: #102a57;
}

.am-promo-instagram h2 span,
.am-promo-installments h2 span {
    color: #8dc7ff;
}

.am-promo-eyebrow,
.am-installments-icon {
    color: #ffffff;
}

.am-promotional-section.am-promo-single {
    margin-top: 55px;
    margin-bottom: 55px;
}

/* Instagram banner - large phone layout */
@media (min-width: 851px) {
    .am-promo-instagram {
        min-height: 450px;
        grid-template-columns: 1.25fr 0.95fr;
    }

    .am-promo-instagram-content {
        padding: 45px 45px 45px 20px;
    }

    .am-promo-phone-area {
        padding: 25px 15px 0;
        align-items: flex-end;
    }

    .am-promo-phone {
        width: 365px;
        height: 415px;
        padding: 11px 10px 0;
        border-radius: 48px 48px 0 0;
    }

    .am-promo-phone-screen {
        border-radius: 35px 35px 0 0;
    }

    .am-promo-phone::before {
        width: 100px;
        height: 26px;
        top: 14px;
    }

    .am-promo-phone-screen > img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 850px) {
    .am-promo-phone {
        width: 265px;
        height: 315px;
    }
}


/* Lower Instagram phone inside banner */
@media (min-width: 851px) {
    .am-promo-instagram .am-promo-phone {
        transform: translateY(40px);
    }
}


/* Final Instagram phone position */
@media (min-width: 851px) {
    .am-promo-instagram {
        overflow: hidden !important;
    }

    .am-promo-instagram .am-promo-phone {
        transform: none !important;
        position: relative !important;
        top: 50px !important;
    }
}

@media (min-width: 851px) {
    .am-promo-instagram .am-promo-phone {
        top: 130px !important;
    }
}

@media (min-width: 851px) {
    .am-promo-instagram .am-promo-phone {
        top: 125px !important;
    }
}

/* ===== Arman Mandegar Installments Banner V2 ===== */

.am-installments-v2 {
    position: relative;
    isolation: isolate;
    min-height: 360px;
    padding: 48px 35px 44px;
    background: linear-gradient(115deg, #0d2855 0%, #1456a4 100%) !important;
    border-radius: 26px;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.am-installments-v2::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    border: 60px solid rgba(255,255,255,.045);
    border-radius: 50%;
    left: -230px;
    top: -280px;
    pointer-events: none;
}

.am-installments-v2-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    bottom: -320px;
    border: 55px solid rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.am-installments-v2-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.am-installments-v2-label {
    display: inline-block;
    color: #b9dcff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.am-installments-v2 h2 {
    color: #fff;
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.8;
    font-weight: 900;
    margin: 0 0 12px;
}

.am-installments-v2 h2 span {
    color: #b9dcff;
}

.am-installments-v2 .am-installments-description {
    max-width: 820px;
    margin: 0 auto 25px;
    color: #e1efff;
    font-size: 15px;
    line-height: 2.1;
}

.am-installments-v2 .am-installments-features {
    max-width: 850px;
    margin: 0 auto 25px;
}

.am-installments-v2 .am-installments-feature {
    color: #fff;
}

.am-installments-v2 .am-installments-icon {
    color: #b9dcff;
    font-size: 28px;
}

.am-installments-v2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #123a74;
    border-radius: 11px;
    padding: 12px 28px;
    min-height: 49px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.am-installments-v2-button:hover {
    background: #eaf4ff;
    color: #123a74;
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .am-installments-v2 {
        padding: 35px 20px;
        border-radius: 19px;
    }

    .am-installments-v2 .am-installments-description {
        font-size: 13px;
    }

    .am-installments-v2 .am-installments-features {
        gap: 12px;
    }
}
