/* ==========================================================
   SUCCESS.CSS
   Блок успешной отправки заявки
   ========================================================== */

.success-section{
    padding:80px 0;
    background:linear-gradient(180deg,#ecfdf5 0%,#f8fafc 100%);
}

.success-box{
    max-width:860px;
    margin:0 auto;
    padding:56px 48px;
    background:#ffffff;
    border:1px solid #d1fae5;
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-lg);
    text-align:center;
    animation:successFade .6s ease;
}

.success-icon{
    width:96px;
    height:96px;
    margin:0 auto 32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--color-success);
    color:#ffffff;
    font-size:3rem;
    font-weight:700;
}

.success-box h2{
    margin-bottom:20px;
}

.success-box > p{
    max-width:640px;
    margin:0 auto 36px;
    font-size:1.05rem;
    line-height:1.8;
}

/* ==========================================================
   Что будет дальше
   ========================================================== */

.success-options{
    margin:40px 0;
    padding:32px;
    text-align:left;
    background:#f8fafc;
    border:1px solid var(--color-border);
    border-radius:var(--radius-lg);
}

.success-options h3{
    margin-bottom:20px;
}

.success-options ul{
    margin:0;
}

.success-options li{
    position:relative;
    padding-left:28px;
    margin-bottom:16px;
    line-height:1.7;
}

.success-options li:last-child{
    margin-bottom:0;
}

.success-options li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--color-success);
    font-weight:700;
}

/* ==========================================================
   Полезные статьи
   ========================================================== */

.success-articles{
    margin-top:40px;
    padding-top:32px;
    border-top:1px solid var(--color-border);
}

.success-articles p{
    max-width:620px;
    margin:0 auto 24px;
    line-height:1.7;
}

.success-articles .button{
    min-width:260px;
}

/* ==========================================================
   Анимация
   ========================================================== */

@keyframes successFade{

    from{
        opacity:0;
        transform:translateY(24px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ==========================================================
   Планшеты
   ========================================================== */

@media (max-width:992px){

    .success-box{
        padding:48px 36px;
    }

}

/* ==========================================================
   Телефоны
   ========================================================== */

@media (max-width:768px){

    .success-section{
        padding:60px 0;
    }

    .success-box{
        padding:32px 24px;
    }

    .success-icon{
        width:80px;
        height:80px;
        font-size:2.5rem;
        margin-bottom:24px;
    }

    .success-options{
        padding:24px;
    }

    .success-articles .button{
        width:100%;
        min-width:0;
    }

}

/* ==========================================================
   Маленькие экраны
   ========================================================== */

@media (max-width:480px){

    .success-box{
        padding:24px 20px;
        border-radius:var(--radius-lg);
    }

    .success-options{
        padding:20px;
    }

    .success-options li{
        padding-left:24px;
    }

}