@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --red: #d62828;
    --red-dark: #a91f1f;
    --black: #0b0d0f;
    --dark: #111417;
    --dark-2: #181c20;
    --gray: #9ca3a8;
    --light: #f3f3f1;
    --white: #ffffff;
    --border: rgba(255,255,255,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--black);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* HEADER */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--red);
}

nav {
    display: flex;
    gap: 27px;
}

nav a {
    color: #ddd;
    font-size: 14px;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: var(--red);
}

.nav-btn {
    padding: 11px 20px;
    background: var(--red);
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.nav-btn:hover {
    background: var(--red-dark);
}


/* HERO */

.hero {
    min-height: 780px;
    display: flex;
    align-items: center;
    position: relative;

    background:
        linear-gradient(90deg, rgba(5,7,8,.95), rgba(5,7,8,.55)),
        url("../images/hero.jpg") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.25), transparent 50%),
        linear-gradient(0deg, var(--black), transparent 25%);
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding-top: 80px;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 90px);
    line-height: .98;
    letter-spacing: -4px;
    max-width: 900px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero-text {
    max-width: 650px;
    margin: 30px 0;
    color: #d1d1d1;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* BUTTONS */

.btn {
    display: inline-block;
    padding: 15px 25px;
    font-size: 13px;
    font-weight: 800;
    transition: .3s;
}

.btn-primary {
    background: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.35);
}

.btn-outline:hover {
    background: white;
    color: black;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.dark {
    background: var(--dark);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

h2 {
    font-size: clamp(35px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.intro {
    background: var(--light);
    color: var(--black);
}

.intro p:not(.eyebrow) {
    color: #555;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
}


/* MACHINE CARDS */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.machine-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    transition: .3s;
}

.machine-card:hover {
    transform: translateY(-7px);
    border-color: var(--red);
}

.machine-image {
    height: 260px;
    background-size: cover;
    background-position: center;
}

.image-1 {
    background-image:
        linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.3)),
        url("../images/machine-1.png");
}

.image-2 {
    background-image:
        linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.3)),
        url("../images/machine-2.png");
}

.image-3 {
    background-image:
        linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.3)),
        url("../images/machine-3.png");
}

.card-content {
    padding: 28px;
}

.card-content > span {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.card-content h3 {
    margin: 12px 0;
    font-size: 22px;
}

.card-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.card-content a {
    color: white;
    font-size: 12px;
    font-weight: 800;
}


/* INNOVATION */

.innovation {
    background: #e8e8e5;
    color: var(--black);
}

.innovation .two-column > div > p:not(.eyebrow) {
    color: #555;
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 25px;
    padding: 25px;
    border-top: 1px solid #bbb;
}

.feature strong {
    color: var(--red);
}

.feature h3 {
    margin-bottom: 5px;
}

.feature p {
    color: #666;
    font-size: 14px;
}


/* CTA */

.cta {
    padding: 120px 0;
    text-align: center;
    background:
        linear-gradient(rgba(160,15,15,.92), rgba(160,15,15,.92)),
        url("../images/cta.jpg") center/cover;
}

.cta-content {
    max-width: 750px;
}

.cta .eyebrow {
    color: white;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    color: #f0dede;
}


/* FOOTER */

.footer {
    background: #08090a;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer p {
    color: var(--gray);
    max-width: 350px;
    margin-top: 20px;
    font-size: 14px;
}

.footer h4 {
    margin-bottom: 18px;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: var(--red);
}

.copyright {
    border-top: 1px solid var(--border);
    text-align: center;
    color: #666;
    padding: 20px;
    font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .nav {
        flex-wrap: wrap;
        padding: 20px 0;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        min-height: 700px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    border: 1px solid #ccc;
    background: white;
    padding: 16px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--red);
}

textarea {
    resize: vertical;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
select {
    width: 100%;
    border: 1px solid #ccc;
    background: white;
    padding: 16px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    color: #555;
}

select:focus {
    border-color: var(--red);
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

