/* =========================================
   BASE
========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');


:root {

    /* Main colors */
    --black: #08131F;
    --dark: #0D1B2A;

    /* Blue palette */
    --navy: #102A43;
    --navy-light: #163A5F;
    --blue: #1E4D73;

    /* Neutral colors */
    --grey: #718397;
    --light-grey: #F1F5F8;
    --border: #D9E2EA;

    --white: #FFFFFF;

    --max-width: 1160px;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    color: var(--black);

    background: var(--white);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


a {

    color: inherit;

    text-decoration: none;
}


.container {

    width:
        min(
            calc(100% - 48px),
            var(--max-width)
        );

    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    z-index: 10;

    color: var(--white);
}


.nav {

    height: 84px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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


/* LOGO */

.logo {
    width: 360px;
    height: 70px;
}

.logo img {
    width: 360px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
}


/* NAVIGATION */

nav {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 14px;
}


nav a {

    opacity: .82;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


nav a:hover {

    opacity: 1;

    transform:
        translateY(-1px);
}


.nav-button {

    padding:
        9px 17px;

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

    border-radius: 999px;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.nav-button:hover {

    background: var(--white);

    color: var(--dark);

    border-color: var(--white);
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 760px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        var(--dark);
}


/* HERO IMAGE */

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hero-image .image-placeholder {

    width: 100%;

    height: 100%;

    border: none;

    border-radius: 0;

    background:
        linear-gradient(
            135deg,
            #163A5F,
            #08131F
        );
}


/* HERO OVERLAY */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgb(6, 18, 32),
            rgba(8,27,45,.80) 60%,
            rgba(8,27,45,.28)
        );
}


/* HERO CONTENT */

.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 70px;
}


.eyebrow {

    margin-bottom: 18px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

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


.eyebrow.dark {

    color:
        #61758A;
}


.eyebrow.light {

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


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3 {

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    letter-spacing: -.045em;

    line-height: 1.05;
}


h1 {

    max-width: 900px;

    margin: 0;

    font-size:
        clamp(
            48px,
            7vw,
            86px
        );

    font-weight: 800;
}


h1 span {

    display: block;

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


.hero-description {

    max-width: 600px;

    margin-top: 30px;

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

    font-size: 19px;

    line-height: 1.55;
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 36px;
}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:
        0 20px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.button:hover {

    transform:
        translateY(-2px);
}


.button-white {

    background: var(--white);

    color: var(--black);
}


.button-white:hover {

    background:
        #EAF1F6;
}


.button-black {

    background: var(--black);

    color: var(--white);
}


.button-black:hover {

    background:
        var(--navy);
}


.link-button {

    font-size: 14px;

    font-weight: 700;
}


/* =========================================
   HERO STATUS
========================================= */

.hero-note {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 55px;

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

    font-size: 12px;
}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        #7FA8C7;
}


/* =========================================
   SECTIONS
========================================= */

.section {

    padding:
        110px 0;
}


.grey-section {

    background:
        var(--light-grey);
}


.dark-section {

    background:
        var(--dark);

    color:
        var(--white);
}


.two-column {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 100px;
}


/* =========================================
   HEADINGS
========================================= */

h2 {

    margin: 0;

    font-size:
        clamp(
            38px,
            5vw,
            62px
        );

    font-weight: 800;
}


.large-text {

    margin: 0;

    font-size: 24px;

    line-height: 1.45;

    letter-spacing: -.02em;
}


.muted {

    color:
        var(--grey);
}


.section-heading {

    max-width: 700px;

    margin-bottom: 55px;
}


/* =========================================
   HOW IT WORKS
========================================= */

.steps {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

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


.step {

    padding:
        32px 34px 10px 0;

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


.step:not(:first-child) {

    padding-left: 34px;
}


.step:last-child {

    border-right: none;
}


.number {

    margin-bottom: 28px;

    color:
        #8092A4;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .14em;
}


.step h3 {

    margin:
        0 0 12px;

    font-size: 25px;
}


.step p {

    margin: 0;

    color:
        var(--grey);

    font-size: 15px;
}


/* =========================================
   INDUSTRIES
========================================= */

.industry-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.industry-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
}

.card-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card-content {
    padding: 28px 30px 32px;
    background: white;
}

.card-number {
    margin-bottom: 12px;

    color: #718096;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.card-content h3 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 24px;
    line-height: 1.15;
}

.card-content p {
    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.6;
}

.card-number {

    margin-bottom: 14px;

    color:
        #8192A2;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .12em;
}


.card-content h3 {

    margin:
        0 0 10px;

    font-size: 24px;
}


.card-content p {

    margin: 0;

    color:
        var(--grey);

    font-size: 15px;
}


/* =========================================
   ABOUT
========================================= */

.about-text {

    max-width: 650px;
}


.about-text p {

    margin:
        0 0 24px;

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

    font-size: 19px;

    line-height: 1.65;
}


/* =========================================
   CONTACT
========================================= */

.contact-box {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    padding: 58px;

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

    border-radius: 24px;

    background:
        var(--light-grey);
}


.contact-box h2 {

    max-width: 650px;
}


.contact-box p {

    max-width: 570px;

    color:
        var(--grey);
}


.contact-buttons {

    display: flex;

    align-items: center;

    gap: 22px;

    flex-shrink: 0;
}


.link-button.black {

    color:
        var(--black);
}


/* =========================================
   FOOTER
========================================= */

footer {

    padding:
        28px 0;

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

    background:
        var(--white);
}


.footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color:
        var(--grey);

    font-size: 12px;
}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        var(--black);

    font-weight: 700;
}


.dark-logo {

    color:
        var(--black);

    border-color:
        #BFCBD5;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 820px) {

    .container {

        width:
            min(
                calc(100% - 32px),
                var(--max-width)
            );
    }


    .nav {

        height: 72px;
    }


    /* Mobile logo */

    .logo {

        width: 145px;

        height: 40px;
    }


    .logo img {

        width: 145px;

        height: 40px;
    }


    /* Mobile navigation */

    nav a:not(.nav-button) {

        display: none;
    }


    nav {

        gap: 10px;
    }


    .nav-button {

        padding:
            8px 14px;

        font-size: 13px;
    }


    /* Hero */

    .hero {

        min-height: 690px;
    }


    .hero-content {

        padding-top: 70px;
    }


    .hero-buttons {

        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .hero-note {

        margin-top: 38px;
    }


    /* Sections */

    .section {

        padding:
            78px 0;
    }


    .two-column {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* Steps */

    .steps {

        grid-template-columns: 1fr;
    }


    .step,
    .step:not(:first-child) {

        padding:
            28px 0;

        border-right: none;

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


    .step:last-child {

        border-bottom: none;
    }


    /* Industries */

    .industry-grid {

        grid-template-columns: 1fr;
    }


    /* Contact */

    .contact-box {

        align-items: flex-start;

        flex-direction: column;

        padding:
            34px 28px;
    }


    .contact-buttons {

        align-items: flex-start;

        flex-direction: column;
    }


    /* Footer */

    .footer {

        align-items: flex-start;

        flex-direction: column;
    }

}