/* imports */

@import url(blockflow.css);
@import url(style_blocks.css);

/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html.wp-toolbar {
    body {
        background-color: red !important;
    }
}

/* vars */
:root {

    /* base colors */
    --white: oklch(1 0 0);
    --black: oklch(0 0 0);

    --transparent-white: oklch(1 0 0 / .12);
    --transparent-black: oklch(0 0 0 / .25);

    /* brand colors (sampled from the design mockup: purple #91318a, navy #0e1132, tint #f4eaf3) */
    --purple: oklch(0.2762 0.0456 304.64);
    --purple-tint: oklch(0.9475 0.016 328.78);
    --big-stone: oklch(0.1979 0.0646 274.93);
    --alabaster: oklch(0.9721 0 0);
    --teal: oklch(0.4925 0.091 222.06);
    --golden-grass: oklch(0.7255 0.1436 78.52);
    --error: oklch(0.55 0.22 25);
    --orange: oklch(0.6872 0.1793 50.63);
    --darkBlue: oklch(0.2404 0.0582 281.1);
    --yellow: oklch(0.9087 0.1814 105.74);
    --beige: oklch(0.9517 0.0096 93.57);
    --bg-beige: oklch(0.8855 0.0421 69.57);

    /* text */
    --text-color: var(--big-stone);

    /* lines */
    --line-color: oklch(0.92 0.012 330);
    --border: 1px solid var(--line-color);

    /* gen transition */
    --transition-speed-and-ease: .25s ease;
    --transition-all: all var(--transition-speed-and-ease);

    /* breakpoints: reference only. Custom properties can't be used inside @media conditions, so
       the literal px values are repeated in every @media rule below.
       md 810px / lg 1280px / xl 1600px */

    /* container */
    --container-width: 1320px;

    /* line height */
    --line-height: 1.5;

    /* spacing scale: every margin, padding and gap is a multiple of 15px */
    --space-xs: 1rem;
    --space-s: 2rem;
    --space-m: 3rem;
    --space-l: 4rem;
    --space-xl: 6rem;

    /* Fonts */
    --poppins: "Poppins", sans-serif;
    --workSans: "Work Sans", sans-serif;
    --openSans: "Open Sans", sans-serif;

    /* Header height*/
    --headerHeight: 60px;
}

html {
    margin: 0;
    padding: 0;
}

/* anchor links: keep the block clear of the fixed header */
.block[id] {
    scroll-margin-top: var(--headerHeight);
}

body {
    font-family: var(--workSans);
    color: var(--darkBlue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-weight: 700;
    font-size: 2rem;

    @media screen and (min-width: 1280px) {
        font-size: 4rem;
    }

    @media screen and (min-width: 1600px) {
        font-size: 72px;
    }
}

h2 {
    font-weight: 800;
    font-size: 1.5rem;

    @media screen and (min-width: 1280px) {
        font-size: 33px;
    }

    p {
        margin: 0;
        padding: 0;
    }
}

h3 {
    font-weight: 800;
    font-size: 1.125rem;

    @media screen and (min-width: 1660px) {
        font-size: 22px;
    }
}

.container {
    margin: 0 auto;
    padding: 0 var(--space-xs);
    max-width: calc(var(--container-width) + 2 * var(--space-s));

    @media screen and (min-width: 810px) {
        padding: 0 var(--space-s);
    }
}

.block-testimonials,
.block-faqfeatured {
    padding: 2.5rem 0;
    background-color: var(--darkBlue);
    color: var(--white);
}

.block-logos {
    padding: 2.5rem 0;
    color: var(--orange);
}


.block-projects,
.block-projectsfeatured,
.block-textandvisual {
    .video-btn {
        display: flex;
        gap: 1rem;
        align-items: center;
        color: var(--white);
        font-weight: 800;

        @media screen and (min-width: 1280px) {
            font-size: 19px;
        }

        .icon {
            background-image: url(../images/arrow-right-black.svg);
            border-radius: 50%;
            background-color: var(--white);
            background-size: .75rem;
        }
    }
}

/* ------------------------------------------------------------------------------------------ */
/* CONTACT (options only: [phone] [email] [social] shortcodes, used in the footer) */

.block-contact {
    .address {}

    .street-postalcode-and-place {}

    .business-information {}

    .phone {}

    .email {}
}

.social-pages {
    display: flex;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        a svg {
            display: none;
        }

        &.instagram a {
            background-image: url(../images/insta.svg);
        }

        &.linkedin-in a {
            background-image: url(../images/linkedin.svg);
        }

        &.youtube a {
            background-image: url(../images/social/youtube.svg);
        }
    }
}

header .skip {
    position: absolute;
    top: auto;
    left: -100vw;
    padding: var(--space-xs);
    overflow: hidden;
    background-color: var(--black);
    color: var(--white);

    &:focus {
        position: static;
    }
}

/* ------------------------------------------------------------------------------------------ */
/* HEADER FOOTER COPYRIGHT */

.block-header {
    .contact-buttons {
        display: flex;
        gap: .5rem;
        align-items: center;

        a {
            background-color: var(--white);
            border-radius: 50%;
            background-size: 1.25rem;

            &.phone {
                display: block;
                height: 2rem;
                width: 2rem;
                padding: 0;
                background-repeat: no-repeat;
                background-size: 1.25rem;
                background-position: center center;
                transition: var(--transition-all);
                background-image: url(../images/phone.svg);
                font-size: 0;
            }
        }

        &.contact-desktop {
            display: none;

            @media screen and (min-width: 1280px) {
                display: flex;
                right: 4.5rem;
            }
        }
    }

    header {
        background-color: var(--orange);

        &,
        .container {
            height: var(--headerHeight);
        }

        .container {
            position: relative;

            &>* {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
            }

            .home {
                height: 50px;
                width: auto;

                svg {
                    height: 100%;
                    width: 100%;

                    path,
                    polygon {
                        fill: white !important;
                    }
                }
            }

            nav {
                left: 50%;
                transform: translate(-50%, -50%);
                width: max-content;

                .menu {
                    gap: 1rem;

                    &>li {
                        a {
                            color: var(--white);
                            font-size: 19px;
                            font-weight: 700;
                            font-family: var(--poppins);
                            padding: .5rem;
                        }

                        &.active>a {
                            text-decoration: underline;
                            text-decoration-thickness: 2px;
                            text-underline-offset: .25rem;
                        }

                        &.menu-item-has-children {
                            position: relative;

                            .sub-menu {
                                position: absolute;
                                top: -1000vh;
                                width: max-content;
                                left: 0;
                                opacity: 0;
                                transition: opacity 250ms ease-out;
                                padding: 1rem;
                                border-radius: .25rem;
                                background-color: var(--orange);
                            }

                            &:hover {
                                .sub-menu {
                                    top: 100%;
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
            }

            .search-trigger {
                background-color: var(--white);
                border-radius: 50%;
                background-image: url(../images/mag-glass.svg);
                border: 1px solid transparent;
                right: 4rem;
                background-size: 1.25rem;

                @media screen and (min-width: 1280px) {
                    right: 2rem;
                }
            }

            .search {
                top: -1000vh;
                left: 50%;
                transform: translateX(-50%);
                width: 100%;
                padding: 2rem;
                background-color: var(--orange);
                transition: var(--transition-all);
                display: flex;
                align-items: center;
                justify-content: center;
                gap: .5rem;

                input,
                button {
                    border: 1px solid transparent;
                    border-radius: .25rem;
                }

                input {
                    min-height: 2.5rem;
                    padding: 0 1rem;

                    &:focus-visible {
                        outline: 1px solid var(--orange);
                        outline-offset: -2px;
                    }
                }

                button {
                    height: 2.5rem;
                    width: 2.5rem;
                    background-color: var(--white);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0;

                    svg {
                        height: 1.25rem;
                        width: 1.25rem;
                    }
                }
            }

            .full-menu-toggle {
                right: 1rem;

                .toggle {

                    &.open {
                        background-image: url(../images/bars-white.svg);
                    }

                    &.close {
                        background-image: url(../images/cross-white.svg);
                    }
                }
            }
        }
    }

    .full-menu {
        background-color: var(--orange);

        nav .menu>li {
            margin: 0 0 10px;

            a {
                font-size: 19px;
                font-weight: 700;
                color: var(--white);
                font-family: var(--poppins);
            }

            &>a {
                padding: .5rem;
            }

            &.menu-item-has-children {
                display: grid;
                grid-template-columns: 1fr auto;

                &>a {
                    order: 1;
                }

                .sub-menu {
                    grid-column: span 2;
                    order: 3;

                    li {
                        margin: 0 0 10px;

                        a {
                            padding: .5rem .5rem .5rem 2rem;
                        }
                    }
                }

                .toggle {
                    background-color: var(--white);
                    border: 1px solid var(--white);
                    border-radius: .25rem;
                    background-image: url(../images/chevron-down.svg);
                    order: 2;
                }

                &.unfolded .toggle {
                    transform: rotate(-180deg);
                }
            }
        }
    }

    .search-open & {
        header {
            .search-trigger {
                background-image: url(../images/cross-orange.svg);
                transform: translateY(-50%) rotate(45deg);
            }

            .search {
                top: 100%;
            }
        }
    }
}

.block-footer {
    padding: 2.5rem 0;
    background-color: var(--orange);
    color: var(--white);

    h2 {
        font-size: 19px;
        margin: 0 0 .5rem;
    }

    .container {
        display: grid;
        grid-template-columns: 1fr;

        &.main-part {
            gap: 2rem;

            @media screen and (min-width: 810px) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            @media screen and (min-width: 1280px) {
                grid-template-columns: auto 2fr 1fr;
                gap: 4rem;
            }

            .home {
                @media screen and (min-width: 810px) and (max-width: 1279px) {
                    grid-column: span 2;
                }

                svg {
                    max-height: 94px;
                    max-width: 150px;

                    path,
                    polygon {
                        fill: white !important;
                    }
                }
            }

            .columns {
                display: grid;
                grid-template-columns: 1fr;
                gap: 2rem;

                @media screen and (min-width: 810px) {
                    grid-template-columns: repeat(4, auto);
                    width: fit-content;
                }

                @media screen and (min-width: 1280px) {
                    gap: 4rem;
                }

                img {
                    width: 150px;
                }
            }

            .column,
            .contact {
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;

                .address p {
                    margin: 0;
                }
            }

            .contact {
                @media screen and (min-width: 810px) {
                    justify-self: end;
                }

                .icons {
                    display: flex;
                    align-items: center;
                    gap: .5rem;

                    a {
                        background-color: var(--white);
                        border-radius: 50%;
                        background-size: 1.25rem;

                        &.phone {
                            display: block;
                            height: 2rem;
                            width: 2rem;
                            padding: 0;
                            background-repeat: no-repeat;
                            background-position: center center;
                            transition: var(--transition-all);
                            background-image: url(../images/phone.svg);
                            font-size: 0;
                        }
                    }
                }
            }


        }

        &.bottom-bar {
            gap: .5rem;
            font-size: 10px;
            font-weight: 500;
            margin: 2rem auto 0;

            @media screen and (min-width: 810px) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            p {
                margin: 0;
            }

            .legal-links {
                display: flex;
                gap: 1rem;
                align-items: center;
                flex-wrap: wrap;

                @media screen and (min-width: 810px) {
                    justify-self: end;
                }
            }
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////               CONTENTS / BLOCKS                          //////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

.block-hero {
    .play {
        .video-btn {
            display: flex;
            align-items: center;
            gap: .5rem;
            color: var(--white);
            background-color: var(--orange);
            padding: .5rem;
            border-radius: .25rem;
            position: absolute;
            position-anchor: --text;
            bottom: anchor(bottom);
            left: anchor(left);
            z-index: 4;

            .icon {
                background-image: url(../images/arrow-right-white.svg);
                height: 1rem;
                width: 1rem;
                background-size: contain;
            }
        }
    }

    .container {
        color: var(--white);

        .text {
            position: relative;
            anchor-name: --text;
            max-width: 900px;

            p {
                line-height: 1.6;
                font-weight: 400;

                em {
                    font-weight: 500;
                    font-style: normal;
                    padding: .5rem;
                    border: 1px solid var(--white);
                    border-radius: .5rem;
                }
            }
        }
    }

    &:has(.play) .container .text {
        padding: 0 0 3rem;
    }
}

.block-text {
    padding: 2.5rem 0;
    background-color: var(--darkBlue);
    color: var(--white);
    min-height: 350px;

    .container {
        @media screen and (min-width: 1280px) {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;

        }

        .title {
            color: var(--orange);
            margin: 1rem 0;
        }

        .text {
            p {
                font-size: 19px;
                line-height: 30px;
                margin: 1rem 0 2rem;

                strong {
                    font-weight: 800;
                }

                strong a,
                a strong {
                    font-weight: 700;
                    padding: .5rem 1rem;
                    background-color: var(--orange);
                    border: 1px solid var(--orange);
                    border-radius: 10px;
                    transition: var(--transition-all);

                    &:hover {
                        color: var(--orange);
                        background-color: var(--white);
                    }
                }
            }

            ul {
                padding-left: 20px;
                list-style: disc;
                font-size: 19px;
                line-height: 30px;
                margin-bottom: 20px;
            }
        }
    }

    &.accent-yellow {
        .container {
            .title {
                color: var(--yellow)
            }

            .text {

                strong a,
                a strong {
                    background-color: var(--yellow);
                    color: var(--darkBlue);
                    border: 1px solid var(--yellow);

                    &:hover {
                        color: var(--yellow);
                        background-color: var(--darkBlue);
                    }
                }
            }
        }
    }

    &.accent-blue {
        .container {
            .title {
                color: var(--teal)
            }

            .text {

                strong a,
                a strong {
                    background-color: var(--teal);
                    color: var(--white);
                    border: 1px solid var(--teal);

                    &:hover {
                        color: var(--white);
                        background-color: var(--darkBlue);
                    }
                }
            }
        }
    }

    &.bg-icon-bg_icon {
        position: relative;
        isolation: isolate;
        overflow: hidden;

        @media screen and (max-width: 1024px) {
            padding: 4.5rem 0;
        }

        &::before {
            content: "";
            display: block;
            height: 150px;
            width: 150px;
            background-image: url(../images/icon-bg-blue.png);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;

            @media screen and (min-width: 1024px) {
                top: 0;
                left: 5%;
                height: 350px;
                width: 350px;
            }
        }

        &::after {
            content: "";
            display: block;
            height: 100px;
            width: 100px;
            background-image: url(../images/icon-plus-blue.png);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            bottom: 0;
            right: 25px;
            z-index: -1;

            @media screen and (min-width: 1024px) {
                bottom: 0;
                right: 5%;
                display: block;
                height: 256px;
                width: 256px;
            }
        }
    }

    &.bg-icon-bg_icon_left {
        position: relative;
        isolation: isolate;
        overflow: hidden;

        @media screen and (max-width: 1024px) {
            padding: 4.5rem 0;
        }

        &::before {
            content: "";
            display: block;
            height: 150px;
            width: 150px;
            background-image: url(../images/icon-bg-blue.png);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;

            @media screen and (min-width: 1024px) {
                top: 0;
                left: 5%;
                height: 350px;
                width: 350px;
            }
        }
    }

    &.bg-icon-bg_icon_right {
        position: relative;
        isolation: isolate;
        overflow: hidden;

        @media screen and (max-width: 1024px) {
            padding: 4.5rem 0;
        }

        &::after {
            content: "";
            display: block;
            height: 100px;
            width: 100px;
            background-image: url(../images/icon-plus-blue.png);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            bottom: 0;
            right: 25px;
            z-index: -1;

            @media screen and (min-width: 1024px) {
                bottom: 0;
                right: 5%;
                display: block;
                height: 256px;
                width: 256px;
            }
        }
    }
}

.block-logos {
    .container {
        .logos {
            /* display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1rem;
            margin: 1rem 0 0;
            justify-content: space-between;

            @media screen and (min-width: 810px) {
                grid-template-columns: repeat(6, minmax(0, 1fr));
            } */

            li {
                width: fit-content;

                .logo {
                    width: 90px;

                    @media screen and (min-width: 1280px) {
                        width: 143px;
                    }

                    img {
                        object-fit: contain;
                    }
                }
            }
        }
    }
}


.block-logos ul.logos li {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-logos ul.logos li .logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-logos ul.logos li img {
    display: block;
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}


.block-cta {
    padding: 2.5rem 0;
    background-color: var(--darkBlue);

    .container {
        border: 4px solid var(--orange);
        background-color: var(--transparent-white);
        color: var(--white);
        padding: 2rem;
        border-radius: 22px;
        width: 90vw;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;

        @media screen and (min-width: 810px) {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            grid-template-columns: 1fr 2fr 1fr;
            align-items: center;
        }

        @media screen and (min-width: 1280px) {
            justify-content: space-between;
            padding: 2rem 5rem;
        }

        .link {
            font-size: 14px;
            padding: .5rem 1rem;
            background-color: var(--white);
            border: 1px solid var(--white);
            color: var(--black);
            transition: var(--transition-all);
            border-radius: .5rem;
            font-weight: 700;
            text-align: center;
            max-width: 250px;

            &:hover {
                color: var(--white);
                background-color: var(--darkBlue);
            }
        }

        .text {

            ul {
                display: grid;
                grid-template-columns: 1fr;
                gap: .5rem;
                text-align: center;

                @media screen and (min-width: 1280px) {
                    text-align: left;
                }
            }

            .email,
            .phone {
                font-weight: 700;
            }

            .phone {
                font-size: 19px;
            }
        }

        .link-and-text {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;

            @media screen and (min-width: 1280px) {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                align-items: center;
                position: relative;
                gap: 2rem;
            }

            &::before {
                @media screen and (min-width: 1280px) {
                    content: "";
                    display: block;
                    height: 100%;
                    width: 1px;
                    background-color: var(--white);
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }
            }


        }

        .social-and-phone {
            display: flex;
            gap: .5rem;
            justify-content: center;

            @media screen and (min-width: 1280px) {
                justify-content: end;
            }

            .social-pages li a,
            .phone {
                background-color: var(--white);
                border-radius: 50%;
                background-size: 1.25rem;
                display: block;
                height: 3rem;
                width: 3rem;
                padding: 0;
                background-repeat: no-repeat;
                background-position: center center;
                transition: var(--transition-all);
                font-size: 0;

                @media screen and (min-width: 810px) {
                    height: 4rem;
                    width: 4rem;
                }

                &:hover {
                    opacity: .75;
                    box-shadow: 0 0 .25rem var(--transparent-black);
                }
            }

            .phone {
                background-image: url(../images/phone.svg);
            }
        }
    }
}

.block-images {
    padding: 2.5rem 0;

    .images {
        .image {
            height: 320px;
            width: 100%;
            border-radius: 1rem;
            overflow: hidden;
        }

        &:not(.images-slider) {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;

            .image {
                @media screen and (min-width: 810px) {
                    /* height: 400px; */
                    width: auto;
                    aspect-ratio: 1;
                }

                @media screen and (min-width: 1280px) {
                    height: 400px;
                }
            }

            /* &:has(:nth-child(2)) {
                @media screen and (min-width: 810px) {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                li {
                    width: fit-content;

                    &:first-of-type {
                        @media screen and (min-width: 810px) {
                            justify-self: end;
                        }
                    }
                }
            } */
        }
    }
}

.block-persons {
    padding: 2.5rem 0;

    .persons {
        display: flex;
        justify-content: center;
        gap: 50px;

        @media screen and (max-width: 500px) {
            flex-direction: column;
        }

        @media screen and (min-width: 500px) {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        @media screen and (min-width: 1000px) {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }      
        
        @media screen and (min-width: 1200px) {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
        }           

        

        .person {
            .image {
                height: 320px;
                width: 100%;
                border-radius: 1rem;
                overflow: hidden;
            }

            .text {
                text-align: center;
                padding-top: 15px;

                h3 {
                    color: var(--orange);
                }
            }
        }
    }
}

.block-textandvisual {
    padding: 2.5rem 0;
    background-color: var(--beige);

    .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        position: relative;
        z-index: 2;

        @media screen and (min-width: 810px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .text {
            height: max-content;

            h2,
            h3 {
                color: var(--teal);
            }

            p,
            li {
                line-height: 31px;

                @media screen and (min-width: 1280px) {
                    font-size: 19px;
                }
            }

            p:last-of-type {
                margin-block-end: 0;
            }

            li {
                position: relative;
                padding: 0 0 0 1rem;

                &::before {
                    content: "";
                    display: block;
                    height: .5rem;
                    width: .5rem;
                    border-radius: 50%;
                    background-color: var(--black);
                    position: absolute;
                    top: .75rem;
                    left: 0;
                }
            }

            strong a,
            a strong {
                padding: .5rem 1rem;
                border-radius: .5rem;
                color: var(--white);
                background-color: var(--orange);
                border: 1px solid var(--orange);
                font-size: 19px;
                font-weight: 700;
                transition: var(--transition-all);

                &:hover {
                    color: var(--orange);
                    background-color: var(--white);
                }
            }
        }

        .image {
            height: 250px;
            width: 100%;
            border-radius: 18px;
            overflow: hidden;

            @media screen and (min-width: 810px) {
                height: 100%;
                position: relative;
            }

            @media screen and (min-width: 1280px) {
                min-height: 400px;
            }

            img {
                @media screen and (min-width: 810px) {
                    position: absolute;
                    inset: 0;
                }
            }
        }

        .play {
            position: relative;

            .video-btn {
                position: absolute;
                bottom: 1rem;
                right: 1rem;
            }
        }
    }

    &.style-visual_left .container {
        .text {
            @media screen and (min-width: 810px) {
                order: 2;
            }
        }

        &>.image,
        .play {
            @media screen and (min-width: 810px) {
                order: 1;
            }
        }
    }

    &:not(:has(.text)) .container {

        .image,
        .play {
            @media screen and (min-width: 810px) {
                grid-column: span 2;
                width: 600px;
                justify-self: center;
            }
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////                     PROJECTS                                //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

/* Reusable styles for projects */
.block-projectsfeatured,
.block-projects {

    .container>ul,
    .projects {
        &>li:has(.play) {
            @media screen and (min-width: 1280px) {
                grid-column: span 2;
            }
        }
    }

    .project {
        border-radius: 18px;
        overflow: hidden;
        position: relative;


        .link {
            width: 100%;

            .image {
                height: 250px;
                width: 100%;

                @media screen and (min-width: 1280px) {
                    height: 500px;
                }
            }

            .title {
                color: var(--white);
                background-color: var(--teal);
                border-radius: 7px;
                padding: .5rem 1rem;
                position: absolute;
                top: 1rem;
                left: 1rem;
                font-weight: 400;
                font-size: 1rem;
                max-width: 91%;
            }
        }

        .play {
            position: absolute;
            bottom: 1rem;
            right: 1rem;

            /* .video-btn {
                display: flex;
                gap: 1rem;
                align-items: center;
                color: var(--white);
                font-weight: 800;

                @media screen and (min-width: 1280px) {
                    font-size: 19px;
                }

                .icon {
                    background-image: url(../images/arrow-right-black.svg);
                    border-radius: 50%;
                    background-color: var(--white);
                    background-size: .75rem;
                }
            } */
        }
    }
}

.block-projectsfeatured,
.block-projects {
    padding: 2rem 0;

    .container {
        .text {
            text-align: center;
            max-width: 1200px;
            margin: 0 auto;

            h2 {
                color: var(--teal);
            }

            p {
                line-height: 31px;

                @media screen and (min-width: 1280px) {
                    font-size: 19px;
                }
            }
        }

        &>ul,
        .projects {
            margin: 1rem 0 0;

            @media screen and (min-width: 1280px) {
                display: grid;
                gap: 1rem;
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        .link-to-all {
            display: block;
            width: fit-content;
            margin: 1rem auto 0;
            font-weight: 700;
            padding: .5rem 1rem;
            color: var(--white);
            background-color: var(--teal);
            border: 1px solid var(--teal);
            border-radius: 10px;
            transition: var(--transition-all);

            &:hover {
                color: var(--teal);
                background-color: var(--white);
            }
        }
    }
}

.block-projectsfeatured {
    background-image: url(../images/icons-bg.svg);
    background-color: var(--bg-beige);
}

.block-projects .container>ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    @media screen and (min-width: 810px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    &>li:has(.play) {
        @media screen and (min-width: 810px) {
            grid-column: span 2;
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////                    FAQ                                      //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

.block-faqfeatured {

    .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;

        @media screen and (min-width: 1280px) {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
        }

        .text h2 {
            font-weight: 800;
        }

        .faq-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;

            @media screen and (min-width: 1280px) {
                padding: 0 200px 0 0;
            }

            .faq {
                position: relative;
                padding: 0 0 1rem;
                border-bottom: 1px solid var(--transparent-white);

                .question {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    justify-content: space-between;
                    cursor: pointer;
                    font-weight: 700;

                    .icon {
                        background-image: url(../images/cross-orange.svg);
                        transition: var(--transition-all);
                    }
                }

                .answer {
                    font-weight: 500;
                    line-height: 27px;
                    position: absolute;
                    top: -1000vh;
                    left: 0;
                    opacity: 0;
                    transition: opacity 250ms ease-out;
                }

                &.unfolded {
                    .question .icon {
                        transform: rotate(405deg);
                    }

                    .answer {
                        position: static;
                        opacity: 1;
                    }
                }
            }
        }
    }

    &.bg-icon-bg_icon {
        position: relative;
        isolation: isolate;

        &::after {
            content: "";
            display: block;
            height: 100px;
            width: 100px;
            background-image: url(../images/icon-plus-blue.png);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            top: -38px;
            right: 25px;
            z-index: -1;

            @media screen and (min-width: 1024px) {
                bottom: auto;
                top: -58px;
                right: 5%;
                display: block;
                height: 150px;
                width: 150px;
            }

            @media screen and (min-width: 1424px) {
                bottom: auto;
                top: -99px;
                right: 5%;
                display: block;
                height: 256px;
                width: 256px;
            }
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////                    TESTIMONIALS                             //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

.block-testimonials {

    .container {
        .testimonial {
            font-weight: 700;
            line-height: 30px;
            position: relative;
            padding: 1rem 1rem 4rem;
            height: 100%;

            &:before {
                display: inline-block;
                text-rendering: auto;
                content: "\0022";
                margin-inline-end: .375rem;
                font-size: 37px;
            }

            &:after {
                display: inline-block;
                text-rendering: auto;
                content: "\0022";
                margin-inline-end: .375rem;
                font-size: 37px;
                position: absolute;
                right: 38px;
                bottom: 8px;
            }            

            p {
                margin-top: 0;
            }

            @media screen and (min-width: 1280px) {
                font-size: 19px;
            }

            .name-and-company {
                font-weight: 400;
                position: absolute;
                bottom: 1rem;
                left: 1rem;
                color: var(--teal);
            }
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////                     TINY SLIDER                             //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

.tns-outer {
    .tns-controls {
        button {
            height: 2.5rem;
            width: 2.5rem;
            font-size: 0;
            border-radius: 50%;
            background-color: var(--orange);
            border: 1px solid var(--orange);
            background-image: url(../images/arrow-right-white.svg);
            background-size: 1rem;
            background-position: center center;
            background-repeat: no-repeat;

            &[data-controls="prev"] {
                transform: rotate(-180deg);
                margin: 0 1rem 0 0;
            }
        }
    }

    .block-testimonials & {
        @media screen and (min-width: 1600px) {
            position: relative;
        }

        .tns-controls {
            @media screen and (min-width: 1600px) {
                position: absolute;
                top: 50%;
                left: -4rem;
                right: -4rem;
                transform: translateY(-50%);
                display: flex;
                justify-content: space-between;
            }

            button {
                background-color: var(--white);
                border-color: var(--white);
                background-image: url(../images/arrow-right-black.svg);
                transition: var(--transition-all);

                &:hover {
                    background-color: var(--orange);
                }

                &:active {
                    scale: .9;
                    opacity: .8;
                }
            }
        }
    }

    .block-images:has(.images-slider) & {
        .tns-controls {
            margin: 0 0 1rem;
        }
    }
}

/*
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////                     GRAVITY FORMS                           //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*/

.gform_wrapper {
    .gform_heading {
        display: none;
    }

    form {
        .gform_body {
            .gform_fields {
                gap: 1rem 0;

                .gfield .ginput_container {

                    input,
                    textarea {
                        min-height: 2.5rem;
                        background-color: var(--white);
                        border: 1px solid var(--white);

                        &:focus-visible {
                            outline: 2px solid var(--orange);
                        }
                    }
                }
            }
        }

        .gform_footer button {
            padding: .5rem 1rem;
            border-radius: .5rem !important;
            color: var(--white);
            background-color: var(--orange) !important;
            border: 1px solid var(--orange);
            font-size: 19px !important;
            font-weight: 700 !important;
            transition: var(--transition-all);

            &:hover {
                color: var(--orange) !important;
                background-color: var(--white) !important;
            }
        }
    }

    .block-text & {
        max-width: 450px;
    }
}