/* =========================
   HERO
========================= */

.temp-hero {
    min-height: 300px;

    background:
        linear-gradient(rgba(15, 23, 42, 0.75),
            rgba(15, 23, 42, 0.75)),
        url("../images/climate-bg.jpg") center/cover no-repeat;

    display: flex;
    align-items: center;

    padding: 80px 7%;

    color: white;
}

.temp-hero-content {
    max-width: 760px;
}

.temp-hero h1 {
    font-size: 52px;
    line-height: 1.1;

    margin-bottom: 18px;

    font-weight: 800;
}

.temp-hero p {
    font-size: 16px;
    line-height: 1.9;

    color: rgba(255, 255, 255, 0.9);

    max-width: 650px;
}


/* =========================
   SECTION
========================= */

.temp-section {
    padding: 70px 6%;
}

.temp-section.alt {
    background:
        linear-gradient(to bottom,
            #f8fafc,
            #eef2f7);
}

.temp-container {
    max-width: 1320px;
    margin: auto;
}

.temp-container.narrow {
    max-width: 900px;
}


/* =========================
   TEXT
========================= */

.temp-section h2 {
    font-size: 36px;

    line-height: 1.2;

    margin-bottom: 28px;

    color: #0f172a;

    font-weight: 800;
}

.temp-section p {
    font-size: 15px;

    line-height: 1.95;

    color: #475569;

    margin-bottom: 22px;
}


/* =========================
   MACHINE CARD LAYOUT
========================= */

.machine-card {
    display: grid;

    grid-template-columns: 340px 1fr;

    grid-template-areas:
        "image desc"
        "dimension standards";

    gap: 26px;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 30px;

    padding: 28px;

    margin-top: 50px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}




/* =========================
   AUTO ALTERNATING LAYOUT
========================= */

.machine-card:nth-of-type(even) {
    grid-template-columns: 1fr 340px;

    grid-template-areas:
        "desc image"
        "standards dimension";
}


/* =========================
   GRID AREAS
========================= */

.machine-image {
    grid-area: image;
}

.machine-desc {
    grid-area: desc;
}

.machine-dimension {
    grid-area: dimension;
}

.machine-standards {
    grid-area: standards;
}


/* =========================
   IMAGE
========================= */

.machine-image {
    background:
        linear-gradient(145deg,
            #ffffff,
            #f1f5f9);

    border: 1px solid #e8edf3;

    border-radius: 22px;

    height: 270px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.machine-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================
   DESCRIPTION
========================= */

.machine-desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.machine-label {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    background: #edf7ed;

    color: #13520B;

    padding: 10px 18px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.8px;
    text-transform: uppercase;

    margin-bottom: 22px;
}

.machine-desc h3 {
    font-size: 34px;

    line-height: 1.15;

    color: #0f172a;

    margin-bottom: 18px;

    font-weight: 800;
}

.machine-desc p {
    font-size: 16px;

    line-height: 1.9;

    color: #475569;

    max-width: 95%;
}


/* =========================
   BOTTOM BOXES
========================= */

.machine-dimension,
.machine-standards {
    background: #f8fafc;

    border: 1px solid #e8edf3;

    border-radius: 22px;

    padding: 26px;

    position: relative;

    overflow: hidden;
}

.machine-dimension::before,
.machine-standards::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;
}

/* alternating accent colors */



.machine-dimension h4,
.machine-standards h4 {
    font-size: 20px;

    color: #0f172a;

    margin-bottom: 24px;

    font-weight: 700;
}


/* =========================
   DIMENSION LIST
========================= */

.spec-bullets {
    list-style: none;

    padding: 0;
    margin: 0;
}

.spec-bullets li {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 14px 0;

    border-bottom: 1px solid #e5e7eb;

    color: #475569;

    font-size: 15px;

    line-height: 1.7;
}

.spec-bullets li:last-child {
    border-bottom: none;
}

.spec-bullets strong {
    color: #111827;

    font-size: 15px;
}


/* =========================
   STANDARDS
========================= */

.standard-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}


/* STANDARD ITEM */

.standard-item {
    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    padding: 16px 18px;

    min-height: 115px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.standard-code {
    font-size: 12px;

    font-weight: 700;

    color: #4338ca;

    line-height: 1.6;

    margin-bottom: 10px;

    letter-spacing: 0.2px;
}

.standard-name {
    font-size: 15px;

    line-height: 1.65;

    color: #374151;

    margin: 0;
}


/* =========================
   WHY SECTION
========================= */

.temp-container.narrow {
    text-align: left;
}

.temp-container.narrow p {
    max-width: 900px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .machine-card,
    .machine-card:nth-of-type(even) {
        grid-template-columns: 1fr;

        grid-template-areas:
            "image"
            "desc"
            "dimension"
            "standards";
    }

    .machine-image {
        height: 260px;
    }

    .machine-desc h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .temp-hero {
        min-height: auto;

        padding: 70px 6%;
    }

    .temp-hero h1 {
        font-size: 40px;
    }

    .temp-section {
        padding: 60px 5%;
    }

    .machine-card {
        padding: 22px;

        gap: 22px;
    }

    .machine-image {
        height: 230px;
    }

    .machine-desc h3 {
        font-size: 26px;
    }

    .machine-desc p {
        font-size: 15px;
    }

    .machine-dimension,
    .machine-standards {
        padding: 22px;
    }

    .standard-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .temp-hero h1 {
        font-size: 34px;
    }

    .temp-hero p {
        font-size: 14px;
    }

    .machine-image {
        height: 210px;
    }

    .machine-label {
        font-size: 11px;
    }

    .machine-desc h3 {
        font-size: 24px;
    }

    .machine-dimension h4,
    .machine-standards h4 {
        font-size: 18px;
    }

    .spec-bullets li,
    .standard-name {
        font-size: 14px;
    }
}