/* 
    Table of content
    1. TEXT & IMAGE / VIDEO
    2. CTA
    3. STEPS
    4. FORM
    5. FAQS
    6. PACKAGES
*/

/* 1. TEXT & IMAGE / VIDEO */
.content-text-image .container,
.content-text-video .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 13rem;
}

.content-text-image .content-wrapper,
.content-text-image .media-wrapper,
.content-text-video .video-wrapper {
    padding-right: 5rem;
}

.content-text-image .container.flip .content-wrapper,
.content-text-video .container.flip .content-wrapper {
    order: 2;
}

.content-text-image .container.flip .media-wrapper,
.content-text-video .container.flip .video-wrapper {
    order: 1;
}

.content-text-image .media {
    display: flex;
}

.content-text-image .media img {
    width: 100%;
}

.content-text-video .video {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
}

.content-text-video .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 2. CTA */
.content-cta {
    background-color: var(--color-purple);
    color: white;
}

.content-cta .container {
    text-align: center;
}

.content-cta .btn {
    margin: .5rem;
    padding: 1rem 5rem;
}

/* 3. STEPS */
.content-steps {
    background-color: var(--color-lightorange);
}

.content-steps .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 3rem;
}

.content-steps .content-wrapper {
    height: 100%;
    padding-right: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: 5rem;
}

.content-steps .image img {
    width: 100%;
}

.content-steps .item {
    padding: 3rem 5rem;
    border-radius: 1rem;
    background-color: white;
}

.content-steps .item:not(:first-child) {
    margin-top: 1.5rem;
}

.content-steps .label {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-orange);
}

/* 4. FORM */
.content-form {
    position: relative;
    background-size: cover;
    background-position: center;
}

.content-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg-hero.png);
    background-size: 100% 100%;
    opacity: .9;
}

.content-form .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 3rem;
}

.content-form .content-wrapper {
    padding-right: 10rem;
    color: white;
}

.content-form .content-wrapper a {
    color: white;
}

.content-form ul.checklist li::before {
    background-color: white;
    background-image: url(../images/icon-checkmark-orange.svg);
}

.content-form .form {
    padding: 5rem;
    border-radius: 1rem;
    background-color: white;
}

/* 5. FAQS */
.content-faqs {
    background-color: var(--color-lightpurple);
}

.content-faqs .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
}

.content-faqs .content-wrapper {
    height: 100%;
    padding-right: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: 5rem;
}

.content-faqs .image img {
    width: 100%;
}

.content-faqs .link-wrapper {
    margin-top: 5rem;
    text-align: right;
}

/* 6. PACKAGES */
.content-packages .container {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax( 32rem, 1fr ) );
    grid-gap: 3rem;
}

.content-packages .package {
    position: relative;
    padding: 3rem;
    border-radius: 3rem;
    background-color: var(--color-lightpurple);
}

.content-packages .popular {
    position: absolute;
    top: 2rem;
    left: -2rem;
    padding: 1rem 3rem 1rem 2rem;
    border-radius: 0 5rem 5rem 0;
    background-color: var(--color-lightorange);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: .3rem .3rem 1rem rgba(0,0,0,.16);
}

.content-packages .popular::before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: -2rem;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: rgb(255,255,255);
    background: linear-gradient(45deg, rgba(255,255,255,1) 50%, rgba(245,216,198,1) 50%);
}

.content-packages .title {
    display: block;
    padding: 1.25rem 3rem;
    border-radius: 5rem;
    background-color: var(--color-black);
    font-family: "Archivo", sans-serif; 
    font-optical-sizing: auto;
    font-size: 2.6rem;
    font-weight: 500;
    font-style: normal;    
    line-height: 1.2;
    color: white;
    text-align: center;
}

.content-packages .title.color-purple {
    background-color: var(--color-purple);
}

.content-packages .title.color-orange {
    background-color: var(--color-orange);
}

.content-packages .price-wrapper {
    margin-top: 3rem;
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
}

.content-packages .vat {
    margin-top: -.5rem;
    font-size: 1.8rem;
    font-weight: 400;
    opacity: .25;
}

.content-packages ul.items-wrapper {
    list-style-type: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.content-packages li.item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.content-packages li.item:not(:first-child) {
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: .1rem solid #ddd;
}

.content-packages li.item .title-wrapper {
    flex: 1 1 auto;
}

.content-packages li.item:not(.active) .item-title {
    opacity: .25;
}

.content-packages li.item .active-wrapper {
    flex: 0 0 2.2rem;
}

.content-packages li.item .icon {
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
}

.content-packages li.item .icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-orange);
    background-image: url(../images/icon-checkmark-white.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.content-packages li.item:not(.active) .icon::before {
    content: '\f00d';
    background-color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    color: darkred;
}

/* RESIZE */
@media (max-width: 1024px) {
    /* 1. TEXT & IMAGE / VIDEO */
    .content-text-image .container,
    .content-text-video .container {
        grid-gap: 10rem;
    }

    .content-text-image .content-wrapper,
    .content-text-image .media-wrapper,
    .content-text-video .video-wrapper {
        padding-right: 0;
    }

    /* 3. STEPS */
    .content-steps .item {
        padding: 3rem 3.5rem;
    }

    /* 4. FORM */
    .content-form .form {
        padding: 3rem 3.5rem;
    }

    /* 6. PACKAGES */
    .content-packages .popular {
        left: -1rem;
        padding: 1rem 2rem 1rem 1rem;
        font-size: 1.3rem;
    }
    
    .content-packages .popular::before {
        bottom: -1rem;
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 899px) {
    /* 1. TEXT & IMAGE / VIDEO */
    .content-text-image .container,
    .content-text-video .container {
        grid-gap: 6rem;
    }

    /* 3. STEPS */
    .content-steps .container {
        grid-gap: 0;
    }

    .content-steps .item {
        padding: 3rem;
    }

    .content-steps .label {
        font-size: 1.4rem;
    }

    .content-steps h3 {
        font-size: 2rem;
    }

    /* 4. FORM */
    .content-form .container {
        grid-gap: 0;
    }

    .content-form .form {
        padding: 3rem;
    }

    /* 5. FAQS */
    .content-faqs .container {
        grid-gap: 0;
    }

    /* 6. PACKAGES */
    .content-packages .package {
        padding: 3rem 2rem;
    }

    .content-packages .title {
        font-size: 2.3rem;
    }

    .content-packages .price-wrapper {
        font-size: 2.3rem;
    }
}

@media (max-width: 767px) {
    /* 1. TEXT & IMAGE / VIDEO */
    .content-text-image .container,
    .content-text-video .container {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .content-text-image .container .content-wrapper,
    .content-text-video .container .content-wrapper {
        order: 2;
    }
    
    .content-text-image .container .media-wrapper,
    .content-text-video .container .video-wrapper {
        order: 1;
    }

    .content-text-image .media {
        justify-content: center;
        text-align: center;
    }

    .content-text-image .media img {
        width: 80%;
        max-width: 40rem;
        max-height: 30rem;
        object-fit: contain;
    }

    /* 3. STEPS */
    .content-steps .container {        
        grid-template-columns: 1fr;        
        grid-gap: 2rem;
    }

    .content-steps .content-wrapper {
        padding-right: 0;
        grid-gap: 2rem;
    }

    .content-steps .image {
        text-align: center;
    }

    .content-steps .image img {
        width: 80%;
        max-width: 40rem;
        max-height: 30rem;
        object-fit: contain;
    }

    .content-steps .item {
        padding: 2rem;
    }

    /* 4. FORM */
    .content-form .container {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .content-form .content-wrapper {
        padding-right: 0;
    }

    .content-form .form {
        padding: 2rem;
    }

    /* 5. FAQS */
    .content-faqs .container {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .content-faqs .content-wrapper {
        padding-right: 0;
        grid-gap: 2rem;
    }

    .content-faqs .image {
        text-align: center;
    }

    .content-faqs .image img {
        width: 80%;
        max-width: 40rem;
        max-height: 30rem;
        object-fit: contain;
    }

    .content-faqs .link-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 499px) {
    /* 2. CTA */
    .content-cta .btn {
        margin: 0 0 1rem;
        padding: 1.35rem 2rem;
    }
}