@font-face {
    font-family: 'EuropaGrotesk';
    src: url('/assets/fonts/EuropaGrotesk.otf') format('opentype');
}

@font-face {
    font-family: 'WhyteInktrap';
    src: url('/assets/fonts/WhyteInktrap.ttf') format('truetype');
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #000 transparent;
}

:root {
    --primary-color: #d48a36;
    --secondary-color: #1c4518;
    --max-width: 70vw;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Typography */
body {
    font-family: 'EuropaGrotesk', sans-serif;
    color: #fff;
    background-color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: WhyteInktrap, sans-serif;
    text-transform: uppercase;
    line-height: 1;
    text-wrap: balance;
}

/* Components */
.btn {
    all: unset;
    background-color: #d48a36;
    background-color: var(--primary-color);
    padding: 0.5rem 1.4rem;
    border-radius: 1rem;
    font-size: clamp(0.95rem, 0.8rem + 1vw, 1.2rem);
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.btn.cta {
    font-size: clamp(1.05rem, 0.9rem + 1.25vw, 1.4rem);
    padding: 0.5rem 5rem;
}

.btn:hover {
    -webkit-filter: brightness(1.1);
            filter: brightness(1.1);
}

.hidden {
    display: none !important;
}

.showing {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

/* Main Layout */

    .nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 2rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 7rem;
        padding-right: 7rem;
        position: relative;
    }

    .nav .hamburger {
        position: absolute;
        top: 50%;
        left: 2rem;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
        width: 30px;
        height: 30px;
        display: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        cursor: pointer;
    }

    .nav .hamburger .line {
        width: 100%;
        height: 4px;
        border-radius: 1rem;
        background-color: #fff;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .nav .logo img {
        width: 80%;
        min-width: 100px;
    }

    .nav .right {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        -webkit-box-flex: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
    }

    .nav .right ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 1rem;
    }

    .nav .right ul li {
        text-transform: uppercase;
        position: relative;
        padding: 0.5rem;
    }

    .nav .right ul li::before {
        content: '';
        visibility: hidden;
        opacity: 0;
        position: absolute;
        bottom: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
        width: 0;
        height: 2px;
        border-radius: 1rem;
        background-color: #d48a36;
        background-color: var(--primary-color);
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .nav .right ul li.active::before {
        visibility: visible;
        opacity: 1;
        width: 80%;
    }

    .nav .right ul li:hover::before {
        visibility: visible;
        opacity: 1;
        width: 80%;
    }

    .header {
        aspect-ratio: 2483 / 1444;
        background: url('/assets/img/main-bg.png') no-repeat center top / contain;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);

    }

    .header .wrapper {
        grid-column: 1 / 4;
        grid-row: 2 / 4;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 1rem;
    }

    .header h1 {
        max-width: 13ch;
        font-size: 4rem;
        text-align: center;
    }

    section.description {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 1rem;
        max-width: 70vw;
        max-width: var(--max-width);
        margin: 2rem auto;
    }

    section.description .text {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    section.description .text p {
        font-size: clamp(1.05rem, 0.9rem + 1.25vw, 1.4rem);
        margin-top: 1rem;
        font-weight: 300;
        text-align: center;
    }

    section.description .btn {
        text-transform: none;
    }

    section.description h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .services {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        max-width: 70vw;
        max-width: var(--max-width);
        margin: 2rem auto;
        gap: 2rem;
    }

    .services .item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        gap: 2rem;
    }

    .services .item .title {
        color: #d48a36;
        color: var(--primary-color);
        text-align: center;
        text-transform: uppercase;
        font-size: clamp(1rem, 0.85rem + 1vw, 1.3rem);
        font-weight: 600;
        min-height: 2.5rem;
    }

    .services .item .description {
        font-size: clamp(0.85rem, 0.75rem + 0.8vw, 1rem);
        text-align: center;
        font-weight: 300;
    }

    .clients {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin: 4rem auto;
        gap: 2rem;
        background-color: #1c4518;
        background-color: var(--secondary-color);
    }

    .clients h2 {
        text-align: center;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
        font-size: 2.5rem;
        color: #d48a36;
        color: var(--primary-color);
    }

    .clients .phones {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        margin-top: -3rem;
    }

    .clients .phones img {
        -webkit-transform: translateY(5%);
                transform: translateY(5%);
    }

    .clients .phones img:hover {
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;  
    }

    .clients .phones img:not(:first-child) {
        margin-left: -70px;
    }

    .form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        height: 80vh;
        max-width: 70vw;
        max-width: var(--max-width);
        margin: 0 auto;
        gap: 2rem;
    }

    .form .text {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        height: 100%;
        padding-right: 4rem;
    }

    .form .text h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .form .text p {
        font-size: clamp(1.05rem, 0.9rem + 1.25vw, 1.4rem);
        font-weight: 300;
        margin-bottom: 2rem;
    }

    .form .image {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
        height: 100%;
    }

    .form .image img {
        -webkit-filter: drop-shadow(0 0 0 white) drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white) drop-shadow(2px -2px 0 white) drop-shadow(-2px -2px 0 white) drop-shadow(0 0 0 white) drop-shadow(0 -3px 0 white) drop-shadow(3px 0 0 white) drop-shadow(-3px 0 0 white);
                filter: drop-shadow(0 0 0 white) drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white) drop-shadow(2px -2px 0 white) drop-shadow(-2px -2px 0 white) drop-shadow(0 0 0 white) drop-shadow(0 -3px 0 white) drop-shadow(3px 0 0 white) drop-shadow(-3px 0 0 white);
    }

    footer {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        height: 15vh;
        background-color: #d48a36;
        background-color: var(--primary-color);
        margin-top: -5px;
        z-index: 10;
    }

    footer .container {
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        width: 100%;
        max-width: 70vw;
        max-width: var(--max-width);
    }

    footer .container .info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 30%;
        padding-left: 2rem;
        gap: 2rem;
    }

    footer .container .info .contact {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    footer .container .info .contact .mail {
        font-size: clamp(0.95rem, 0.8rem + 1vw, 1.2rem);
        font-weight: 600;
        color: #fff;
    }

    footer .container .info img {
        height: 70%;
    }

    footer .container .socials {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 1rem;
    }

    footer .container .socials img {
        width: 2rem;
        height: 2rem;
        -webkit-filter: invert(1);
                filter: invert(1);
    }

    .hidden {
        display: none !important;
    }

    .showing {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .contact {
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 1rem;
        max-width: 70vw;
    }

    .contact h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .contact form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .contact form input,
    .contact form textarea {
        width: 100%;
        max-width: 500px;
        padding: 0.5rem;
        border-radius: 0.5rem;
        border: none;
        color: #000;
        font-size: clamp(0.95rem, 0.8rem + 1vw, 1.2rem);
    }

    .contact form input:hover,
    .contact form textarea:hover,
    .contact form input:focus,
    .contact form textarea:focus {
        outline: none;
        -webkit-box-shadow: 0 0 0 2px #d48a36;
                box-shadow: 0 0 0 2px #d48a36;
        -webkit-box-shadow: 0 0 0 2px var(--primary-color);
                box-shadow: 0 0 0 2px var(--primary-color);
    }

    @media screen and (max-width: 1450px) {
        .clients .phones img {
            width: 270px;
        }
    }

    @media screen and (max-width: 1270px) {

        .clients .phones img {
            width: 200px;
        }

        .clients .phones img:not(:first-child) {
            margin-left: -50px;
        }

        .form {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
        }

        .form .image {
            height: 50%;
        }
    }

    @media screen and (max-width: 1000px) {
        .header .wrapper {
            margin-left: 1rem;
            grid-column: 1 / 3;
            grid-row: 1 / 5;
        }

        .clients h2 {
            margin-top: 2rem;
        }

        .clients .phones img {
            width: 180px;
        }


        .services .item img {
            width: 130px;
        }

        .form {
            height: 40vh;
        }

        .form .text {
            -webkit-box-align: initial;
                -ms-flex-align: initial;
                    align-items: initial;
            padding-right: 0;
            padding-right: initial;
        }

        .form .text h2,
        .form .text p {
            text-align: center;
        }

        footer .container .info img {
            -ms-flex-item-align: end;
                align-self: flex-end;
        }
    }

    @media screen and (max-width: 900px) {
        .form .image {
            height: 60%;
        }
    }

    @media screen and (max-width: 820px) {

        .nav .hamburger {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

        .nav .logo {
            width: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }

        .nav .logo a {
            text-align: center;
        }

        .nav .logo img {
            width: 90%;
        }

        .nav .right {
            display: none;
            -webkit-box-orient: vertical !important;
            -webkit-box-direction: normal !important;
                -ms-flex-direction: column !important;
                    flex-direction: column !important;
        }

        .nav .right ul {
            -webkit-box-orient: vertical !important;
            -webkit-box-direction: normal !important;
                -ms-flex-direction: column !important;
                    flex-direction: column !important;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            gap: 0.5rem;
        }

        .services {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
        }

        .services .item img {
            width: 100px;
        }

        .clients .phones img {
            width: 150px;
            -webkit-transform: scale(1);
                    transform: scale(1);
        }

        .form {
            height: 60vh;
        }

        .form .image {
            height: 40%;
        }

    }

    @media screen and (max-width: 670px) {

        .header h1 {
            font-size: 1.5rem;
            text-align: center;
            max-width: 90%;
            word-break: break-word;
        }

        section.description h2 {
            font-size: 1.5rem;
            text-align: center;
            max-width: 90%;
            word-break: break-word;
        }

        .clients {
            margin: 2rem auto;
            background: -webkit-gradient(linear,
                    left top, left bottom,
                    from(transparent),
                    color-stop(15%, transparent),
                    color-stop(15%, #1c4518),
                    color-stop(90%, #1c4518),
                    color-stop(90%, transparent),
                    to(transparent));
            background: linear-gradient(to bottom,
                    transparent 0%,
                    transparent 15%,
                    #1c4518 15%,
                    #1c4518 90%,
                    transparent 90%,
                    transparent 100%);
            background: -webkit-gradient(linear,
                    left top, left bottom,
                    from(transparent),
                    color-stop(15%, transparent),
                    color-stop(15%, var(--secondary-color)),
                    color-stop(90%, var(--secondary-color)),
                    color-stop(90%, transparent),
                    to(transparent));
            background: linear-gradient(to bottom,
                    transparent 0%,
                    transparent 15%,
                    var(--secondary-color) 15%,
                    var(--secondary-color) 90%,
                    transparent 90%,
                    transparent 100%);
        }

        .clients h2 {
            font-size: 1.5rem;
            text-align: center;
            max-width: 90%;
            word-break: break-word;
        }


        .clients .phones {
            max-width: 100vw;
            overflow-x: scroll;
            overflow-y: hidden;
        }

        .clients .phones img:not(:first-child) {
            margin-left: auto;
        }

        .form {
            margin-top: 2rem;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            height: 80vh;
        }

        .form .text {
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            padding-left: 0;
            padding-right: 0;
        }

        .form .text h2 {
            font-size: 1.5rem;
            text-align: center;
            max-width: 90%;
            word-break: break-word;
            margin-bottom: 1rem;
        }

        .form .image {
            width: 100%;
            height: auto;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }

        .form .image img {
            max-width: 100%;
            height: auto;
            width: auto;
        }

        footer {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            height: auto;
        }


        footer .container .socials {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
        }

    }

    @media screen and (max-width: 450px) {
        .clients .phones img {
            width: 100px;
        }

        footer .container {
            gap: 3rem;
        }

        footer .container .info {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
        }

        footer .container .info img {
            height: 50%;
        }

        footer .container .socials img {
            width: 1.7rem;
            height: 1.7rem;
        }
    }

@media screen and (max-width: 450px) {
    .btn.cta {
        padding: 0.5rem 1.4rem;
    }
}