:root {
    --green: #29c900;
    --green-bright: #38e500;
    --green-deep: #103b24;
    --green-dark: #092a19;
    --blue: #182fff;

    --ink: #172019;
    --muted: #667069;

    --cream: #f4f5ef;
    --white: #ffffff;

    --border: rgba(15, 52, 31, .13);

    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Inter", sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;

    border-bottom: 1px solid rgba(255,255,255,.14);

    transition:
        background .25s ease,
        box-shadow .25s ease;
}

.site-header.scrolled {
    background: rgba(9,42,25,.95);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 205px;
    height: 68px;
    object-fit: contain;
    object-position: left center;

    filter:
        drop-shadow(
            0 3px 8px rgba(0,0,0,.08)
        );
}

.brand-fallback {
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--green-bright);
}

.nav-cloud {
    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;
    color: white;

    font-size: 27px;
}


/* HERO */

.hero {
    --hero-image: none;

    position: relative;

    min-height: 880px;

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

    color: white;

    background:
        linear-gradient(
            135deg,
            #0b3e20,
            #1d661c
        );

    background-image:
        var(--hero-image);

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,31,18,.90) 0%,
            rgba(7,31,18,.74) 40%,
            rgba(7,31,18,.28) 75%,
            rgba(7,31,18,.15) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-bottom: 170px;
}

.hero-copy {
    max-width: 820px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.6px;

    color: #b7ff93;
}

.eyebrow.dark {
    color: #1b7b39;
}

.hero h1 {
    max-width: 900px;

    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: clamp(52px, 6.4vw, 92px);
    line-height: .98;
    letter-spacing: -4px;
}

.hero-copy > p {
    max-width: 700px;

    margin: 30px 0 0;

    color: rgba(255,255,255,.82);

    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 0 24px;

    border-radius: 4px;

    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: var(--green-bright);
    color: #0d351d;
}

.btn-primary:hover {
    background: #62f33e;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--green-dark);
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;

    width: 100%;

    border-top: 1px solid rgba(255,255,255,.18);
}

.hero-bottom-inner {
    min-height: 88px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-bottom span {
    display: flex;
    align-items: center;

    padding-left: 24px;

    border-right: 1px solid rgba(255,255,255,.18);

    color: rgba(255,255,255,.74);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* STATS */

.stats {
    background: var(--green-deep);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 45px 30px;

    border-right: 1px solid rgba(255,255,255,.12);
}

.stat strong {
    display: block;

    color: var(--green-bright);

    font-family: "Manrope", sans-serif;
    font-size: 43px;
}

.stat span {
    display: block;

    margin-top: 7px;

    color: rgba(255,255,255,.72);
}


/* GENERAL */

.section {
    padding: 120px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;

    margin-bottom: 55px;
}

.section-heading h2 {
    max-width: 750px;

    margin: 0;

    color: var(--green-dark);

    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading > p {
    max-width: 380px;

    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* SOLUTIONS */

.solutions {
    background: var(--cream);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card {
    overflow: hidden;

    background: white;

    border-radius: 4px;
}

.solution-photo {
    position: relative;

    height: 380px;

    background:
        linear-gradient(
            135deg,
            #174b2c,
            #4aa527
        );

    background-size: cover;
    background-position: center;
}

.solution-number {
    position: absolute;
    left: 22px;
    top: 22px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    color: var(--green-dark);

    font-weight: 800;
}

.solution-copy {
    padding: 27px;
}

.solution-copy h3 {
    margin: 0;

    color: var(--green-dark);

    font-family: "Manrope", sans-serif;
    font-size: 24px;
}

.solution-copy p {
    margin: 13px 0 0;

    color: var(--muted);

    line-height: 1.65;
}


/* ABOUT */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 85px;
    align-items: center;
}

.about-photo {
    position: relative;

    min-height: 650px;

    background:
        linear-gradient(
            135deg,
            #183f28,
            #5ba939
        );

    background-size: cover;
    background-position: center;
}

.about-stamp {
    position: absolute;

    right: -30px;
    bottom: 40px;

    width: 190px;
    height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--green-bright);
    color: var(--green-dark);
}

.about-stamp strong {
    font-family: "Manrope", sans-serif;
    font-size: 58px;
    line-height: .9;
}

.about-stamp span {
    margin-top: 10px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.about-copy h2 {
    margin: 0;

    color: var(--green-dark);

    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 4vw, 65px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-copy > p {
    margin: 28px 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.85;
}

.about-features {
    margin-top: 35px;

    border-top: 1px solid var(--border);
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 19px 0;

    border-bottom: 1px solid var(--border);

    color: var(--green-dark);

    font-weight: 700;
}

.about-features span {
    color: #68a779;

    font-size: 12px;
}


/* CLOUD */

.cloud-section {
    --cloud-image: none;

    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    color: white;

    background: var(--green-dark);
    background-image: var(--cloud-image);
    background-size: cover;
    background-position: center;
}

.cloud-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6,30,17,.96),
            rgba(6,30,17,.76) 55%,
            rgba(6,30,17,.25)
        );
}

.cloud-content {
    position: relative;
    z-index: 2;

    padding-top: 50px;
    padding-bottom: 50px;
}

.cloud-content h2 {
    max-width: 800px;

    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: clamp(48px, 5vw, 80px);
    line-height: 1;
    letter-spacing: -3px;
}

.cloud-content > p {
    max-width: 650px;

    margin: 28px 0;

    color: rgba(255,255,255,.77);

    font-size: 18px;
    line-height: 1.7;
}

.cloud-features {
    max-width: 700px;

    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 35px;
}

.cloud-features span {
    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.25);

    font-size: 12px;
}

.btn-primary.light {
    background: white;
    color: var(--green-dark);
}


/* GALLERY */

.gallery-section {
    background: var(--cream);
}

.gallery {
    min-height: 650px;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;

    gap: 15px;
}

.gallery-item {
    min-height: 260px;

    background-color: #1a4b2e;
    background-size: cover;
    background-position: center;
}

.gallery-item-1 {
    grid-row: 1 / 3;
}

.gallery-item-4 {
    grid-column: 2 / 4;
}


/* CONTACT */

.contact {
    padding: 110px 0;

    background: var(--green-dark);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 100px;
}

.contact h2 {
    max-width: 650px;

    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 4.6vw, 70px);
    line-height: 1;
    letter-spacing: -2px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-info > div {
    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255,255,255,.14);
}

.contact-info small {
    display: block;

    color: #92b39d;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.contact-info strong {
    display: block;

    margin-top: 7px;

    font-size: 18px;
}


/* FOOTER */

footer {
    background: #061e11;
    color: rgba(255,255,255,.6);
}

.footer-inner {
    min-height: 130px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 25px;
}

.footer-inner img {
    max-width: 175px;
    max-height: 80px;
    object-fit: contain;
}

.footer-inner p:nth-child(3) {
    text-align: right;
}


/* RESPONSIVE */

@media (max-width: 960px) {

    .container {
        width: min(
            calc(100% - 34px),
            var(--container)
        );
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 92px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 15px 20px 25px;

        background: var(--green-dark);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 5px;

        border-bottom:
            1px solid rgba(255,255,255,.1);
    }

    .nav-cloud {
        border: 0;
        border-radius: 0;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-bottom: 140px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-photo {
        height: 420px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-photo {
        min-height: 550px;
    }

    .about-stamp {
        right: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

}


@media (max-width: 680px) {

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 155px;
        height: 55px;
    }

    .main-nav {
        top: 76px;
    }

    .hero {
        min-height: 730px;
    }

    .hero-content {
        padding-bottom: 125px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-bottom-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-bottom span {
        min-height: 45px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .solution-photo {
        height: 300px;
    }

    .about-photo {
        min-height: 430px;
    }

    .gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item,
    .gallery-item-1,
    .gallery-item-4 {
        min-height: 300px;
        grid-column: auto;
        grid-row: auto;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 40px 0;
    }

    .footer-inner p:nth-child(3) {
        text-align: left;
    }

}
