.plans {
    padding: 120px 0;
    background-color: #fff;
}

.plans-header {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 80px;
}

.plans-header span {
    font-size: 12px;
    letter-spacing: 3px;
}

.plans-header h2 {
    margin: 15px 0;
    font-size: 48px;
    line-height: 1.1;
}

.plans-header strong {
    color: #ff5a5a;
}

.plans-featured {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {

    background: #fff;
    border-radius: 28px;
    overflow: hidden;

    width: 100%;

    display: flex;
    flex-direction: column;

    height: 100%;
}

.featured {
    border: 1px solid #e6e6e6;
}

.featured-content {
    display: flex;
}

.featured-info {
    width: 40%;
    padding: 40px;
}

.featured-info h3 {
    font-size: 36px;
    line-height: 1.1;
    padding: 10px 0;
}

.featured-info h4 {
    font-size: 18px;
    line-height: 1.3;
    padding: 10px 0;
}

.featured-info p {
    font-size: 14px;
    line-height: 1.4;
}

.featured-image {
    width: 60%;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-position: left top;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 20px;
    left: -80px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    font-weight: 700;
    z-index: 2;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px;
    border-top: 1px solid #eee;
}

.benefit {
    text-align: center;
    margin: 0 20px;
}

.plan-footer {

    margin-top: auto;

    background: #f4f4f4;

    padding: 25px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simple {
    border: 1px solid #ececec;
    border-radius: 28px;
    overflow: hidden;
    padding: 0;
}

.simple {
    position: relative;
    overflow: hidden;
}

.simple-image {

    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;

}

.simple-image img {

    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: left top;
    display: block;

}

.simple .badge {

    position: absolute;
    top: 60px;
    right: 20px;
    left: auto;
    z-index: 2;

}

.simple-content {
    padding: 35px;
    flex: 1;
}

.simple ul {
    margin: 25px 0;
}

.simple-content p {
    font-size: 14px;
}

.simple li {
    font-size: 14px;
    margin-bottom: 12px;
}

.btn-plan {
    background: #8bc53f;
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
}

.price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.price strong {
    font-size: 30px;
    line-height: 1;
}


/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 768px) {

    .plans {
        padding: 80px 20px;
    }

    .plans-header {
        margin-bottom: 50px;
    }

    .plans-header h2 {
        font-size: 34px;
    }

    .plans-header p {
        font-size: 15px;
    }

    /* ===========================
       GRID
    =========================== */

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* ===========================
       FEATURED
    =========================== */

    .featured-content {
        display: flex;
        flex-direction: column-reverse;
    }

    .featured-info,
    .featured-image {
        width: 100%;
    }

    .featured-image {
        height: 190px;
    }

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .featured-info {
        padding: 28px;
        text-align: center;
    }

    .featured-info h3 {
        font-size: 40px;
        line-height: 1;
        margin: 10px 0;
    }

    .featured-info h4 {
        font-size: 18px;
        line-height: 1.3;
    }

    .featured-info p {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.5;
    }

    /* ===========================
       BADGE
    =========================== */

    .badge {

        width: 100px;
        height: 100px;

        top: 18px;
        right: 18px;
        left: auto;

        font-size: 14px;
        line-height: 1.1;

        padding: 12px;
    }

    /* ===========================
       BENEFITS
    =========================== */

    .benefits {

        grid-template-columns: repeat(2, 1fr);

        gap: 22px;

        padding: 30px 20px;
    }

    .benefit {
        margin: 0;
    }

    .benefit span {
        font-size: 14px;
        line-height: 1.3;
    }

    /* ===========================
       FOOTER
    =========================== */

    .plan-footer {

        flex-direction: column;

        align-items: center;

        gap: 18px;

        padding: 25px;
    }

    .price {

        flex-wrap: wrap;

        justify-content: center;

        align-items: flex-end;

        text-align: center;
    }

    .price small {
        width: 100%;
        margin-bottom: 5px;
    }

    .price strong {
        font-size: 48px;
    }

    .btn-plan {

        width: 100%;

        text-align: center;

        padding: 16px;

        font-size: 15px;

        font-weight: 600;
    }

    /* ===========================
       SIMPLE
    =========================== */

    .simple-content {
        padding: 28px;
    }

    .simple-content h3 {
        font-size: 30px;
    }

    .simple-content h4 {
        font-size: 18px;
    }

    .simple-content p {
        font-size: 14px;
    }

}