/* ==========================================
   OFFERS DISCOUNT
========================================== */

.section-offers-discount {
    position: relative;

    flex: 1;

    display: flex;
    align-items: stretch;
    justify-content: center;

    padding: 0;

    background: transparent;

    overflow: visible;

    user-select: none;
}


/* ==========================================
   CONTAINER
========================================== */

.section-offers-discount-container {
    position: relative;

    width: 100%;
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* ==========================================
   BACKGROUND
========================================== */

.section-offers-discount-background {
    position: absolute;

    top: -40px;
    left: 0;

    width: 100%;
    height: calc(100% + 40px);

    background: var(--accent);

    z-index: 0;

    transform: translateY(-100%);

    animation: discountBackgroundReveal .4s ease-out forwards;
}


@keyframes discountBackgroundReveal {

    0% {
        transform: translateY(-100%);
    }

    82% {
        transform: translateY(0);
    }

    91% {
        transform: translateY(5px);
    }

    96% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ==========================================
   WAVE
========================================== */

.section-offers-discount-wave {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 120px;

    display: block;

    transform-origin: bottom center;

    transform: scaleY(0);

    animation:
        discountWaveReveal .18s ease-out .28s forwards;
}


@keyframes discountWaveReveal {

    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }

}


/* ==========================================
   CONTENT
========================================== */

.section-offers-discount-content {
    position: relative;

    z-index: 1;

    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    padding-bottom: 80px;
}


/* ==========================================
   TITLE
========================================== */

.section-offers-discount-title {
    margin: 0;

    font-family: "MabryPro";

    font-size: 48px;
    font-weight: 900;

    line-height: 1.1;

    text-transform: uppercase;

    color: var(--accent);

    animation:
        discountTitleReveal .4s forwards;
}


/* ==========================================
   OFFER
========================================== */

.section-offers-discount-offer {
    margin: 2px 0 0;

    font-family: "MabryPro";

    font-size: 44px;
    font-weight: 900;

    line-height: 1.1;

    color: var(--accent);

    animation:
        discountTitleReveal .4s forwards;
}


/* ==========================================
   TITLE COLOR
========================================== */

@keyframes discountTitleReveal {

    0%,
    65% {
        color: var(--accent);
    }

    66%,
    100% {
        color: white;
    }

}


/* ==========================================
   PRICE
========================================== */

.section-offers-discount-price {
    margin: 14px 0 0;

    font-family: "Inter";

    font-size: 18px;
    font-weight: 500;

    color: white;

    opacity: 0;

    transform: translateY(-6px);

    animation:
        discountElementReveal .2s ease-out .25s forwards;
}


.section-offers-discount-price del {
    color: rgba(255, 255, 255, 0.6);
}


.section-offers-discount-price strong {
    font-weight: 700;

    color: white;
}


/* ==========================================
   BUTTON
========================================== */

.section-offers-discount-button {
    margin-top: 24px;

    width: fit-content;

    opacity: 0;

    transform: translateY(-6px);

    animation:
        discountElementReveal .2s ease-out .3s forwards;
}


/* ==========================================
   PRICE + BUTTON REVEAL
========================================== */

@keyframes discountElementReveal {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/*------------------------------------------------------------------------

/* ==========================================
   PREMIUM BENEFITS
========================================== */

.section-premium-benefits {
    width: 100%;

    padding: var(--space-50) var(--space-5);
}


.section-premium-benefits-container {
    width: 100%;
    max-width: 880px;

    margin: 0 auto;
}


/* ==========================================
   TITLE
========================================== */

.section-premium-benefits-title {
    max-width: 700px;

    margin: 0 auto 40px;

    font-family: "MabryPro";

    font-size: 48px;
    font-weight: 900;

    line-height: 1.1;

    text-align: center;

    color: var(--text);
}


/* ==========================================
   GRID
========================================== */

.section-premium-benefits-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


/* ==========================================
   CARDS
========================================== */

.section-premium-benefits-card {
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    padding: 15px;

    box-sizing: border-box;

    text-align: left;

    background: var(--component-1);

    border-radius: 5px;

    transition: transform .2s ease;
}


/* ==========================================
   CARD TITLE
========================================== */

.section-premium-benefits-card-title {
    margin: 0;

    font-family: "MabryPro";

    font-size: 20px;
    font-weight: 900;

    line-height: 1.1;

    text-align: left;

    color: var(--text);
}


/* ==========================================
   CARD DESCRIPTION
========================================== */

.section-premium-benefits-card-description {
    width: 100%;

    margin: 12px 0 0;

    font-family: "Inter";

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;

    text-align: left;

    color: var(--text-70);
}


/* ==========================================
   BUTTON
========================================== */

.section-premium-benefits-button {
    display: block;

    width: fit-content;

    margin: 30px auto 20px;
}


/* ==========================================================
   OFFERS PROMO
========================================================== */

.section-offers-promo {
    width: 100%;

    padding: var(--space-50) var(--space-5);

    box-sizing: border-box;

}


.section-offers-promo-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 100px;

    box-sizing: border-box;
}


/* ==========================================
   GRID
========================================== */

.section-offers-promo-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    align-items: stretch;
}


/* ==========================================
   CONTENT
========================================== */

.section-offers-promo-content {
    width: 500px;
    height: 365px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
    align-items: flex-start;

    padding: 25px;

    box-sizing: border-box;

    text-align: left;

    border-radius: 5px;
}


/* ==========================================
   TITLE
========================================== */

.section-offers-promo-title {
    margin: 0;

    font-family: "MabryPro";

    font-size: 58px;
    font-weight: 900;

    line-height: 1.1;

    color: var(--text);
}


/* ==========================================
   DESCRIPTION
========================================== */

.section-offers-promo-description {
    margin: 0;

    font-family: "Inter";

    font-size: 16px;
    font-weight: 500;

    line-height: 1.5;

    color: var(--text-50);
}


/* ==========================================
   IMAGE
========================================== */

.section-offers-promo-image {
    width: 500px;
    height: 365px;

    overflow: hidden;

    border-radius: 2px;
}


.section-offers-promo-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ==========================================
   BUTTON
========================================== */

.section-offers-promo-button {
    display: block;

    width: fit-content;

    margin: 40px auto 0;
}


/* ==========================================
   OTHER OFFERS - REVERSE
========================================== */

.section-offers-promo-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    align-items: stretch;
}

.section-offers-promo-description a {
    position: relative;

    color: var(--text);
    text-decoration: none;
}


.section-offers-promo-description a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 100%;
    height: 1px;

    background: var(--text);

    border-radius: 999px;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .2s ease;
}

/* ==========================================
   OFFERS LEGAL
========================================== */

.section-offers-legal {
    width: 100%;

    margin-bottom: 100px;

    box-sizing: border-box;
}

.section-offers-legal2 {
    margin-top: 120px;

}


.section-offers-legal-container {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
}


/* ==========================================
   TEXT
========================================== */

.section-offers-legal-text {
    margin: 0;

    font-family: "Inter";

    font-size: 16px;
    font-weight: 500;

    line-height: 1.5;

    text-align: center;

    color: var(--text-50);
}


/* ==========================================
   LINK
========================================== */

.section-offers-legal-text a {
    color: var(--text);

    text-decoration: underline;
}

/* ==========================================
   IMPORTANT
========================================== */

.section-offers-legal-text strong {
    font-weight: 600;

    color: var(--text);
}

/* ==========================================================
   RESPONSIVE
========================================================== */


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1200px) {

    /* ------------------------------------------
       PREMIUM BENEFITS
    ------------------------------------------ */

    .section-premium-benefits-title {
        font-size: 36px;
    }


    .section-premium-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-premium-benefits {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* ------------------------------------------
       OFFERS PROMO
    ------------------------------------------ */

    .section-offers-promo-container {
        max-width: 700px;

        padding: 60px;
    }


    .section-offers-promo-content,
    .section-offers-promo-image {
        width: 100%;
        height: 320px;
    }


    .section-offers-promo-title {
        font-size: 30px;
    }


    .section-offers-promo-description {
        font-size: 15px;
    }

    .section-offers-legal-text {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;

        line-height: 1.5;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    /* ==========================================
     OFFERS DISCOUNT - MOBILE
    ========================================== */

    .section-offers-discount-title {
        font-size: 34px;
    }

    .section-offers-discount-offer {
        font-size: 30px;
    }

    .section-offers-discount-price {
        font-size: 15px;
    }

    /* ------------------------------------------
       PREMIUM BENEFITS
    ------------------------------------------ */

    .section-premium-benefits {
        padding: var(--space-30) var(--space-5);
    }


    .section-premium-benefits-title {
        max-width: 100%;

        margin-bottom: 25px;

        font-size: 30px;
    }


    .section-premium-benefits-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .section-premium-benefits-card {
        min-height: 150px;
    }


    .section-premium-benefits-card-title {
        font-size: 20px;
    }


    .section-premium-benefits-button {
        margin-top: 20px;
    }


    /* ------------------------------------------
       OFFERS PROMO
    ------------------------------------------ */

    .section-offers-promo {
        padding: var(--space-30) var(--space-5);
    }


    .section-offers-promo-container {
        max-width: 100%;

        padding: 10px;
    }


    .section-offers-promo-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    /* ------------------------------------------
       IMAGE
    ------------------------------------------ */

    .section-offers-promo-image {
        width: 100%;
        height: 260px;
    }


    /* ------------------------------------------
       CONTENT
    ------------------------------------------ */

    .section-offers-promo-content {
        width: 100%;
        height: 260px;

        padding: 15px;
    }


    .section-offers-promo-title {
        font-size: 34px;
    }


    .section-offers-promo-description {
        font-size: 14px;
    }


    /* ------------------------------------------
       REVERSE
    ------------------------------------------ */

    .section-offers-promo-reverse
    .section-offers-promo-grid {
        direction: ltr;
    }


    /* ------------------------------------------
       BUTTON
    ------------------------------------------ */

    .section-offers-promo-button {
        margin-top: 15px;
    }


    /* ------------------------------------------
       LEGAL
    ------------------------------------------ */

    .section-offers-legal {
        padding: var(--space-30) var(--space-5);
    }

    .section-offers-legal2 {
        margin-top: 50px;
    }


    .section-offers-legal-container {
        max-width: 100%;
    }


    .section-offers-legal-text {
        font-size: 15px;

        line-height: 1.5;
    }

    .section-premium-benefits,
    .section-offers-promo,
    .section-offers-legal {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .section-offers-promo + .section-offers-promo {
        margin-top: 15px;
    }

}