@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

@font-face {
    font-family: 'BDOGrotesk-VF';
    /* Choose a unique name for your font */
    src: url('/BDOGrotesk-VF.woff2');
    /* Relative path to your font file */
    /* Add additional font formats (e.g., .woff, .woff2) if available */
}


:root {
    --radius-s: 5px;
    --radius-m: 10px;
    --radius-l: 20px;

    --gap-s: 5px;
    --gap-m: 10px;
    --gap-l: 20px;
    --gap-xl: 40px;


    --bg-dark: #3C362E;
    --bg-dark-dark: #1f1c18;
    --bg-light: #E1DFDE;
    --bg-light-light: #f3f0ef;
    /* Corrected color value */
    --main-red: #cd1313;
    --main-blue: #137DCB;
    --success: #4FBF26;

    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.1) 100%);

}


* {
    margin: 0;
    padding: 0;

}

body {

    /* font-family: 'BDOGrotesk-VF'; */
    font-family: 'Outfit';
    color: var(--bg-dark);

}

.hidden {
    display: none;
}


.flex {
    display: flex;
}

.f-ver {
    flex-direction: column;
}

.f-hor {
    flex-direction: row;
}

.ai-c {
    align-items: center;
}

.ai-start {
    align-items: flex-start;
}

.jc-c {
    justify-content: center;
}

.f-sp-bw {
    justify-content: space-between;
}

.f-wrap {
    flex-wrap: wrap;
}

.gap-s {
    gap: 5px;
}

.gap-m {
    gap: 10px;
}

.gap-l {
    gap: 20px;
}

.gap-xl {
    gap: var(--gap-xl);
}

.container-xl {

    padding: 0 20px;
    margin: auto;
}

.container-l {
    max-width: 1440px;
    padding: 0 20px;
    margin: auto;
}


.container-m {
    padding: 0 20px;

    max-width: 1140px;
    margin: auto;

}


.container-s {
    padding: 0 20px;
    max-width: 960px;
    margin: auto;

}

.grid-main {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    height: 90vh;
    grid-gap: var(--gap-m);

    max-height: 700px;

    & .g-6-col {
        grid-column: span 6;
    }
}

.page-h1 {
    font-size: clamp(max(2vw, 2.5rem), 5rem, min(10vw, 8rem));
    color: var(--main-red);
    margin: 80px 0;
    font-weight: 400;
}



section {
    margin: 100px 0;
}

.h2-sec {
    /* margin-top: 50px; */
    margin-bottom: 40px;
}

.h2-base {
    text-align: center;
    color: var(--main-red);
    font-size: 2rem;
    font-weight: 400;
}

.sub-h2-base {
    text-align: center;
    padding-top: .5rem;
    line-height: 2rem;
    font-size: 1.3em;
    font-weight: 300;
    font-family: monospace;
}

.grid-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-template-rows: repeat(auto-fit, 1fr);
    grid-gap: var(--gap-l);

    & .g-block {
        background-color: var(--bg-dark);
        padding: var(--gap-m);
        border-radius: var(--radius-m);
        background-size: cover;
        text-decoration: none;
        min-height: 200px;
        transition: all 0.5s ease-in-out;

        filter: grayscale(50%);


        /* display: flex;
        align-items: flex-end; */

        

        h3 {
            color: white;
            z-index: 5;
            text-shadow: 5px 5px 5px black;
            font-weight: 400;
            font-size: 2rem;
        }
    }

    .block-slb {
        min-height: 300px;
    }

    & .g-block:hover {
        transform: scale(1.03);
        filter: grayscale(0%);

    }

    & .g-blockL:hover::before {
        content: "";
        background-image: rgba(0, 0, 0, 0.5);
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        border-radius: var(--radius-m);
        opacity: 0.5;
        transition: opacity 1s ease-in-out;
        z-index: -1
    }

    & .g-2_3 {
        grid-row: span 3;
        grid-column: span 2;
        font-size: clamp(1rem, -0.875rem + 8.333vw, 2rem);

    }

    & .g-2_2 {
        grid-row: span 2;
        grid-column: span 2;
        font-size: clamp(1rem, -0.875rem + 8.333vw, 2rem);

    }

    & .g-1_2 {
        grid-row: span 2;
        grid-column: span 1;
        font-size: clamp(1rem, -0.875rem + 8.333vw, 2rem);


    }

    & .g-2_1 {
        grid-row: span 1;
        grid-column: span 2;
        font-size: clamp(1rem, -0.875rem + 8.333vw, 2rem);

    }

    & .g-1_1 {
        grid-row: span 1;
        grid-column: span 1;
        font-size: clamp(1rem, -0.875rem + 8.333vw, 2rem);


    }
}


@media (max-width: 768px) {
    .grid-blocks {
        grid-template-columns: 1fr 1fr;

        & .g-2_2 {
            grid-column: span 1;
            grid-row: span 4;
        }
    }

}



.grid-zig-zag {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: 20px 1fr 1fr 20px;
    grid-gap: var(--gap-m);
    margin: 60px 0;
}




/* nav - START */
header {
    /* background-color: var(--bg-light);
    border-radius: var(--radius-l); */
    /* margin: 10px 20px; */
    z-index: 10;
    position: relative;
    background-color: white;
    box-shadow: 0 -10px 30px -10px var(--bg-dark);


    /* & .container-l {
        justify-content: space-between;
    }

    & img {
        max-height: 40px;
    }

    & ul {
        list-style: none;

        & a {
            padding: 0 20px;
            text-decoration: none;
            color: var(--bg-dark);
            font-size: 1.2em;
        }

        & a:hover {
            color: var(--main-red);
        }
    } */
}

nav {

    padding: 10px 0;
    z-index: 2;

    ul {
        width: 100%;
        list-style: none;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
}

nav li {
    height: 40px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--bg-dark-dark);
    text-align: center;

    img {
        max-height: 40px;
    }
}

nav a:hover {
    color: var(--main-red);
    background-color: var(--bg-light-light);
    border-radius: var(--radius-s);
}

nav li:first-child {
    margin-right: auto;

    a {
        padding: 0;

    }
}


.sub-menu {
    display: none;
    padding-top: 10px;
    border-radius: var(--radius-m);
}

.sub-start:hover .sub-menu {
    display: block;
    position: absolute;
    background: var(--header-bg);
    margin-top: 0px;
    margin-left: -15px;
    margin: 0 .1em;
    background-color: white;
    box-shadow: 0px 5px 10px -10px var(--bg-dark);
}

.sub-start:hover .sub-menu ul {
    display: block;
}

.sub-start:hover .sub-menu ul li {
    max-width: 330px;
    padding: 10px;


    & a {
        text-align: left;
        padding: 0 20px;

    }

}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: white;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    /* align-items: flex-start;
    justify-content: flex-start; */
    padding: 0 10px;

    & a {
        padding: 0 10px;
    }
}

.sidebar li {
    width: 100%;
    padding: 5px 0;

}

.sidebar a {
    width: 100%;
}



.sidebar:last-child a {
    width: auto;
}

.menu-button {
    display: none;
}

@media(max-width: 1024px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;

        a {
            padding: 0;
        }
    }

    nav a {
        justify-content: center;
    }
}

@media(max-width: 425px) {
    .sidebar {
        width: 100%;
        padding: 0;
    }

    nav img {
        max-height: 30px;
    }
}


.nav-lang-img-main {
    max-width: 25px;

}

.nav-lang, .m-nav-lang {
    a {
        padding: 0 10px;
    }

    img {
        max-width: 25px;
        box-shadow: 0 0 2px 0 gray;
    }

    p {
        padding-left: 10px;
    }
}

.sub-start-lang:hover {
    .sub-menu {
        display: block;
        position: absolute;
        background: var(--header-bg);
        margin-top: 0px;
        margin-left: -15px;
        margin: 0 -20px;
        background-color: white;
        box-shadow: 0px 5px 10px -10px var(--bg-dark);
    }

    .sub-menu ul {
        display: block;
    }

    .sub-menu ul li {
        max-width: 330px;
        padding: 10px;


        & a {
            text-align: left;
            padding: 0 20px;

        }

    }
}

.m-nav-lang {
    padding-bottom: 20px;
}


/* nav - END */



/* home hero - START */

#hero {
    margin-top: 20px;
}



.home-hero-h1 {
    color: var(--main-red);
    font-size: clamp(min(5vw, 2rem), 8rem, min(10vw, 10rem));
    font-weight: 400;

    & span {
        font-weight: 200;
        font-size: 3rem;
        line-height: 2rem;

    }

    & span::before {
        content: "\A";
        white-space: pre;
    }
}

.sub-home-hero-h1 {
    font-weight: 300;
    font-size: clamp(min(5vw, 2rem), 3rem, min(8vw, 10rem));

}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
}

.btn-contact {
    background-color: var(--main-red);
    font-size: 1.2rem;
    color: white;
    /* border: 3px solid var(--main-red); */
    padding: 0 30px;
    margin: 0 30px;

}

.btn-contact:hover {
    background-color: white;
    outline: 3px solid var(--main-red);
    color: var(--main-red);
    border-radius: 50px;

}


.btn-stone {
    border: 3px solid var(--main-red);
    font-size: 1.4rem;
    color: var(--main-red);
}

.btn-stone:hover {
    color: white;
    background-color: var(--main-red);
}

.btn-concrete {
    border: 3px solid var(--main-blue);
    font-size: 1.4rem;
    color: var(--main-blue);
}

.btn-concrete:hover {
    color: white;
    background-color: var(--main-blue);
}

/* Style for the modal */

.btn-video {
    border: 3px solid var(--main-blue);
    font-size: 1.4rem;
    color: white;
    background-color: var(--main-blue);
    display: flex;
    flex-direction: row;
    gap: var(--gap-m);
    align-items: center;
    cursor: pointer;
}

.btn-video:hover {
    color: var(--main-blue);
    background-color: white;
    border: 3px solid var(--main-blue);

}

.btn-icon {
    height: 1.4rem;
    fill: white;
}

.btn-video:hover .btn-icon {
    fill: var(--main-blue);
    /* Change this to your desired hover color */
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.modal-content {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 40px;
    border-radius: 5px;
}

/* Style for the parent container */
.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 aspect ratio (adjust as needed) */
}

/* Style for the iframe itself */
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* Remove iframe border */
}

.close-button {
    position: absolute;
    top: 2px;
    right: 10px;
    cursor: pointer;
    font-size: 2rem;
}

@media(max-width: 768px) {
    .f-hor {
        flex-direction: column;
    }

    .modal-content {
        padding: 20px;
    }

    .close-button {

        top: 0;
        right: 5px;
        font-size: 1.3rem;

    }

}

@media(max-width: 425px) {


    .grid-main {
        grid-template-columns: repeat(6, 1fr);
        height: auto;
    }

    .hero-img {
        margin-top: 20px;
        height: 300px;
        min-height: 200px;
    }

    .btn-stone,
    .btn-video {
        font-size: 1.1rem;
        text-align: center;
        justify-content: center;
    }



    .btn {
        padding: 5px 20px;
    }

    .sub-home-hero-h1 {
        font-weight: 400;
        font-size: clamp(min(5vw, 2rem), 2rem, min(10vw, 10rem));
        padding: 0;

    }


    .modal-content {

        width: 85%;

    }
}


/* home hero - END */



/* home hero2 - START */


#hero2 {
    height: 80vh;
    max-height: 900px;
    background-image: url(/assets/img/home/large-stone-blocks-splitter-norway-grad.webp);
    background-repeat: no-repeat;
    background-position: 70% 100%;
    /* background-color: var(--bg-light); */
    margin-top: 20px;
    padding-top: 100px;
    /* border-radius: var(--radius-m); */

    & .home-hero-h1,
    .sub-home-hero-h1 {
        text-shadow: 3px 3px 10px white;
    }

    & .hero-btns {
        padding-top: 100px;
    }

    & .hero-img {
        display: none;
    }
}

.hero-flex {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
}

@media (max-width: 768px) {
    #hero2 {
        background-image: none;
        padding-top: 20px;
        height: auto;

        & .hero-btns {
            padding-top: 40px;
        }

        & .hero-img {
            display: inline;
            min-height: 300px;
            min-width: 100%;
        }

    }


}

/* home hero2 - END */


/* split animation START */

.split-animation {
    height: 300px;

}

.stone-left {
    position: absolute;
    left: 0;
    height: 300px;
    width: 50%;
    background-color: var(--main-red);
}

.stone-left::before {
    content: "";
    width: 100px;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 29px solid red;
    border-right: 29px solid #eee;
}

.stone-right {
    position: absolute;
    right: 0;
    height: 300px;
    width: 50%;
    background-color: var(--main-blue);
}

/* split animation END */


/* home machinery - START */

.slg {
    background: var(--gradient-overlay), url(/assets/img/home/slg.webp) 50% 60% no-repeat;
}

.slp {
    background: var(--gradient-overlay), url(/assets/img/home/slp.webp) 50% 60% no-repeat;
}

.hsm {
    background: var(--gradient-overlay), url(/assets/img/home/hsm.webp) 50% 60% no-repeat;
}

.slg-line {
    background: var(--gradient-overlay), url(/assets/img/home/slg+.webp) 50% 50% no-repeat;
}

.sld {
    background: var(--gradient-overlay), url(/assets/img/home/sld.webp) 50% 60% no-repeat;
}

.slh {
    background: var(--gradient-overlay), url(/assets/img/home/slh.webp) 50% 60% no-repeat;
}

.veneer-pro {
    background: var(--gradient-overlay), url(/assets/img/home/veneer-pro.webp) 50% 60% no-repeat;
}

.concrete {
    background: var(--gradient-overlay), url(/assets/img/home/concrete.webp) 50% 60% no-repeat;
}

.acc {
    background: var(--gradient-overlay), url(/assets/img/home/durability.webp) 50% 60% no-repeat;
}

.slb-fa {
    background: var(--gradient-overlay), url(/assets/img/slb-fa/slb-fa-gal-02.webp) 50% 60% no-repeat;
}

.slb-sa {
    background: var(--gradient-overlay), url(/assets/img/slb-sa/slb-sa-gal-01.webp) 50% 60% no-repeat;
}

.slb-ns {
    background: var(--gradient-overlay), url(/assets/img/slb-ns/slb-ns-gal-01.webp) 50% 60% no-repeat;
}

.slb-rm {
    background: var(--gradient-overlay), url(/assets/img/slb-ns/slb-ns-gal-01.webp) 50% 60% no-repeat;
}


/* machinery mobile*/


.wrapper {
    display: none;
    grid-gap: 1rem;
    max-width: 768px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* for firefox */
}

.wrapper::-webkit-scrollbar {
    /* for chrome */
    display: none;
}

.slider {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    scroll-snap-align: start;
    font-weight: 600;
    user-select: none;
}

.machine-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
    gap: var(--gap-l);
    border-radius: var(--radius-m);
    scroll-snap-align: start;

    & img {
        width: 90vw;
        max-height: 350px;
    }

    & h3 {
        font-size: 1.8em;
        font-weight: 300;
    }
}

/* home machinery - END */


/* home zig zag - START */

#why-gestra {
    background-color: var(--bg-light);
    padding: 60px 0;
    background-image: url(/assets/img/home/drawings-bg.png);
    background-size: cover;
}

.zig-text {
    padding: var(--gap-xl);
    border-radius: var(--radius-m);
    background-color: white;
    box-shadow: 0px 0px 10px 0px grey;

    z-index: 2;

    h3 {
        font-size: 1.4rem;
        text-transform: uppercase;
        padding-bottom: 1rem;
    }

    p {
        font-size: 1rem;
        line-height: 2em;
        font-weight: 300;

        span {
            font-weight: 500;
        }
    }

}

.text-left {
    grid-column: 1 / span 7;
    grid-row: 2 / span 2;
}

.text-right {
    grid-column: 8 / span 7;
    grid-row: 2 / span 2;
}

@media (max-width: 767px) {
    .text-left {
        grid-column: 1 / span 12;

    }

    .text-right {
        grid-column: 3 / span 12;

    }
}


.zig-img {
    border-radius: var(--radius-m);
    max-height: 500px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.efficiency {
    background-image: url(/assets/img/home/efficiency.webp);
}

.durability {
    background-image: url(/assets/img/home/durability.webp);
}

.design {
    background-image: url(/assets/img/home/smart_design.webp);
}


.img-left {
    grid-column: 7 / span 8;
    grid-row: 1 / span 4;
}

.img-right {
    grid-column: 1 / span 8;
    grid-row: 1 / span 4;
}

@media (max-width: 425px) {
    .sub-h2-base {
        font-size: 1.1rem;
    }


    .grid-zig-zag {
        display: block;
    }

    .zig-text {
        padding: 20px;

        h4 {
            font-size: 1.4rem;
        }
    }
}

/* home zig zag - END */


/* home products - START */
.building-stone {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/wallstone.webp) 50% 60% no-repeat;
}

.large-blocks {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/big-blocks.webp) 50% 60% no-repeat;
}

.cobblestones {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/cobblestone.webp) 50% 60% no-repeat;
}

.sawn-split {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/sawn-split.webp) 0% 0% no-repeat;
}

.thin-veneers {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/veneers.webp) 50% 60% no-repeat;
}

.concrete-blocks {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/concrete.webp) 50% 60% no-repeat;
}

.flagstone {
    background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15)), url(/assets/img/home/big-blocks.webp) 50% 60% no-repeat;
}

/* home products - END */

/* home services - START */

.grid-services {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    grid-gap: var(--gap-l); */
    display: flex;
    flex-direction: column;
    gap: var(--gap-l);

    & .reverse {
        flex-direction: row-reverse;
    }
}

.services-it {
    padding: 5px;
    border-radius: var(--radius-m);

    line-height: 1.5em;
    min-height: 250px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--gap-l);


    & .services-text {
        background-color: var(--bg-light);
        padding: var(--gap-l);
        border-radius: var(--radius-m);
        flex: 2;

        & h3 {
            font-size: 1.4rem;
            text-transform: uppercase;
            padding-bottom: 1rem;
        }

        & p {
            font-size: 1rem;
            line-height: 2em;
            font-weight: 300;
        }

        & .services-it-num {
            position: absolute;
            bottom: 0;
            right: 0;
        }
    }

    & .services-img {
        flex: 1
    }

    @media (max-width: 767px) {

        .services-img {
            display: none;
        }
    }


}

.consultation {
    background: url(/assets/img/home/veletrh.webp);
    background-size: cover;

}

.services-img {
    min-width: 30%;
    border-radius: var(--radius-m);
}

.tour {
    background: url(/assets/img/home/exkurze.webp);
    background-size: cover;

}

.delivery {
    background: url(/assets/img/home/expedice.webp);
    background-size: cover;

}

.installation {
    background: url(/assets/img/home/montaz-s-jerabem.webp);
    background-size: cover;

}

.support {
    background: url(/assets/img/home/servis.webp);
    background-size: cover;

}



/* machine video gallery START */

.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-m);
    /* Adjust spacing between videos */

    @media (max-width: 768px) {
        grid-template-columns: 1fr;

    }

    & img {
        border-radius: var(--radius-m);
        width: 100%;
    }
}

.fancybox {
    border: 1px solid #ffffff;

    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: var(--radius-m);
}

.fancybox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.page-ul-list {
    list-style-position: inside;

    & li {
        margin: 10px 0;

        & a {
            color: var(--bg-dark-dark);
            font-size: 1.1rem;
        }
    }
}



@media (max-width: 425px) {
    .grid-services {
        grid-template-columns: 1fr 1fr;
    }

    .services-it {
        min-height: 150px;

        h3 {
            font-size: 1.5rem;
        }
    }

    .grid-blocks .g-block {
        min-height: 100px;
    }


}




@media (max-width: 768px) {
    section {
        margin: 60px 0;
    }

    .page-h1 {
        margin: 3% 0;
    }

    .mobile-hero-img {
        height: 400px;
        border-radius: var(--radius-m);
        background-size: cover;
        background-position: 50% 50%;
    }

    .grid-blocks .g-block {
        min-height: 130px;
    }
}

@media (max-width: 425px) {
    .grid-blocks .g-block h3 {
        font-size: 1.3rem;
    }

    .mobile-hero-img {
        height: 300px;
    }

    .content section {
        padding: 15px 15px 0 15px;
    }

    .grid-blocks {
        gap: 15px;
    }

    p {
        line-height: 2rem !important;
    }


}

@media (max-width: 374px) {


    .grid-blocks .g-block {
        grid-column: span 1;
        grid-row: span 1;


    }

    .grid-blocks .g-block h3 {
        font-size: 1.1rem;
    }

    .container-l,
    .container-xl {
        padding: 0 15px;
    }

    .content section {
        padding: 15px;
    }
}



.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xl);

    * {
        flex: 1;
    }

    @media (max-width: 768px) {
        gap: 0;
    
    }
}

.form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    p {
        margin: 0 10px;
    }
}

form input, textarea, select {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid var(--bg-dark);
    border-radius: var(--radius-m);
    font-size: 1.05rem;
    font-family: 'Roboto';

}

form button {
    background-color: var(--main-red);
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 10px;
    border-radius: var(--radius-m);
    border: none;
}
