header {
    height: 100px;

    div.container {
        display: flex;
        justify-content: space-between;
        align-items: center;

        a.brand {
            flex-shrink: 0;

            img {
                height: 100px;

                &.mobile {
                    display: none;
                }
            }

            @media (max-width: 1100px) {
                img.mobile {
                    display: block;
                }

                img:not(.mobile) {
                    display: none;
                }
            }
        }

        div.actions {
            display: flex;
            gap: var(--layout-spacing);
            align-items: center;

            nav {
                font-weight: bold;
                
                display: flex;
                gap: var(--layout-spacing);
                align-items: center;

                a {
                    text-decoration: none;
                    color: black;
                }
            }

            @media (max-width: 930px) {
                a.button.secondary {
                    display: none;
                }
            }

            @media (max-width: 800px) {
                a.button.primary {
                    display: none;
                }
            }
        }

        @media (max-width: 700px) {
            background-color: var(--background-offset-colour);

            div.actions {
                display: none;
            }

            button.menu-toggle {
                display: block !important;
            }
        }

        div.backdrop, button.menu-toggle {
            display: none;
        }
    }

    &.expanded {
        div.actions {
            padding: var(--layout-spacing);
            background-color: var(--background-colour);

            display: flex !important;
            flex-direction: column;
            gap: var(--layout-spacing);
            align-items: center;

            nav {
                display: flex;
                flex-direction: column;
                gap: var(--layout-spacing);
                align-items: center;
            }

            a.button {
                display: block !important;
            }

            position: absolute;
            top: 100px;
            left: 0;
            right: 0;
            z-index: 101;
        }

        div.backdrop {
            display: block !important;
            position: absolute;
            top: 100px;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 100;
        }
    }
}

footer {
    background-color: var(--background-offset-colour);

    div.container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: var(--layout-spacing);

        div.brand {
            width: 250px;
            flex-shrink: 0;
        }

        div.links {
            flex-grow: 1;

            display: flex;
            flex-wrap: wrap;
            gap: var(--layout-spacing);

            div.col {
                flex: 1;
                min-width: 300px;

                p.title {
                    font-weight: bold;
                }

                ul {
                    list-style: none;
                    padding-left: 0;
                }
            }
        }

        div.actions {
            display: flex;
            flex-direction: column;
            gap: var(--layout-spacing);
            place-content: center;
        }
    }

    div.legal {
        margin: 0 auto;
        margin-top: var(--layout-spacing);
        background-color: #2A2A2A;
        color: white;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        padding: var(--layout-spacing);
        text-align: center;
        max-width: 700px;
        width: 100%;

        p:first-of-type {
            font-weight: bold;
            margin-bottom: 7px;
        }
        
        @media (max-width: 700px) {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }
    }

    @media (max-width: 768px) {
        div.links {
            flex-direction: column;

            div.col {
                text-align: center;
            }
        }

        div.actions {
            > * {
                width: 100%;
            }
        }
    }
}

p.check {
    display: flex;
    align-items: center;
    gap: 4px;

    &::before {
        content: ' ';
        display: inline-block;
        width: 24px;
        height: 24px;

        background-image: url("../images/check-2ge92le.svg");
        background-size: contain;
    }
}



section.social-proof {
    background-color: var(--background-offset-colour);
    padding-top: var(--layout-spacing);
    padding-bottom: var(--layout-spacing);
    
    border-radius: 14px;

    display: flex;
    gap: var(--layout-spacing);
    align-items: flex-start;

    div.summary {
        text-align: center;

        p:first-of-type {
            font-weight: bold;
            margin-bottom: 7px;
            font-size: 1.4rem;
        }

        div.stars {
            margin: 0 auto;
            width: fit-content;

            display: flex;
            gap: 4px;
            align-items: center;

            svg {
                width: 30px;
                height: 30px;
            }
        }
    }

    div.reviews {
        flex: 1;

        article.review {
            display: flex;
            gap: var(--layout-spacing);

            div.author {
                text-align: center;
                flex-shrink: 0;

                img {
                    border-radius: 50%;
                    width: 100px;
                    height: 100px;
                    object-fit: cover;
                    object-position: center;
                    margin: 0 auto;
                }

                p:first-of-type {
                    font-weight: bold;
                }
            }

            &:not(.headline) {
                flex-direction: column-reverse;
                justify-content: flex-end;

                div.author {
                    text-align: right;

                    img {
                        display: none;
                    }
                }
            }
        }

        div.supporting {
            margin-top: var(--layout-spacing);
            display: flex;
            gap: var(--layout-spacing);
        }
    }

    @media (max-width: 960px) {
        flex-direction: column;
        align-items: center;

        div.reviews {
            div.supporting {
                display: none;
            }
        }
    }

    @media (max-width: 768px) {
        article.review.headline {
            flex-direction: column;
            align-items: center;
        }
    }
}

article.card.service {
    display: flex;
    gap: var(--layout-spacing);
    align-items: flex-start;

    div.icon {
        width: 70px;
        height: 70px;
        background-color: var(--primary-accent-colour);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;

        svg {
            width: 50%;
            height: 50%;
        }
    }
}

article.card.package {
    display: flex;
    flex-direction: column;
    gap: var(--layout-spacing);

    div.top {
        display: flex;
        gap: var(--layout-spacing);
        align-items: center;

        div.icon {
            width: 70px;
            height: 70px;
            background-color: var(--primary-accent-colour);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;

            svg {
                width: 50%;
                height: 50%;
                fill: var(--primary-colour);
            }
        }

        div.title {
            p:first-of-type {
                font-weight: bold;
                font-size: 1.2rem;
            }

            p.price {
                font-weight: bold;
                font-size: 1.4rem;

                span {
                    font-size: 0.8rem;
                }
            }
        }
    }

    ul.features {
        list-style: none;
        padding-left: 0;

        li {
            display: flex;
            gap: 4px;
            align-items: center;

            &::before {
                content: ' ';
                display: block;
                width: 30px;
                height: 30px;
                background-image: url("../images/check-full-3l2g2PO.svg");
                background-size: contain;
                background-repeat: no-repeat;
            }
        }
    }

    a.button {
        width: 100%;
    }
}