* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fa;
    color: #171717;
    line-height: 1.6;
}

.mesin-page {
    min-height: 100vh;
}


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

.mesin-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mesin-header-inner {
    width: min(1180px, 92%);
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mesin-logo {
    display: flex;
    align-items: center;
}

.mesin-logo img {
    width: 170px;
    height: auto;
    display: block;
}

.mesin-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.mesin-nav a {
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mesin-nav a:hover {
    color: #e58a00;
}


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

.mesin-hero {
    width: min(1180px, 92%);
    margin: auto;
    padding: 105px 0 90px;
}

.mesin-hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e58a00;
    margin-bottom: 22px;
}

.mesin-hero h1 {
    max-width: 800px;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
    margin-bottom: 32px;
}

.mesin-hero h1 span {
    display: block;
    color: #e58a00;
}

.mesin-hero p {
    max-width: 700px;
    color: #666;
    font-size: 19px;
    line-height: 1.7;
}


/* ==============================
   SECTION HEADING
   ============================== */

.mesin-products {
    width: min(1180px, 92%);
    margin: auto;
    padding: 20px 0 100px;
}

.mesin-section-heading {
    margin-bottom: 45px;
}

.mesin-section-heading small {
    color: #e58a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mesin-section-heading h2 {
    font-size: 42px;
    line-height: 1.1;
    margin: 10px 0 15px;
    letter-spacing: -1px;
}

.mesin-section-heading p {
    max-width: 650px;
    color: #777;
}


/* ==============================
   PRODUCT GRID
   ============================== */

.mesin-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.mesin-product-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mesin-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.mesin-product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f1f2f4;
    overflow: hidden;
}

.mesin-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mesin-product-card:hover .mesin-product-image img {
    transform: scale(1.03);
}

.mesin-product-content {
    padding: 28px;
}

.mesin-product-number {
    color: #e58a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.mesin-product-content h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.mesin-product-content p {
    color: #707070;
    font-size: 15px;
    line-height: 1.7;
    min-height: 52px;
}

.mesin-product-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.mesin-product-button span {
    color: #e58a00;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.mesin-product-button:hover span {
    transform: translateX(5px);
}


/* ==============================
   BACK BUTTON
   ============================== */

.mesin-back-section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 0 0 90px;
}

.mesin-back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.mesin-back-button span {
    color: #e58a00;
    font-size: 20px;
}


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

.mesin-footer {
    background: #171717;
    color: #ffffff;
    text-align: center;
    padding: 28px 20px;
    font-size: 13px;
}


/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 700px) {

    .mesin-header-inner {
        min-height: 68px;
    }

    .mesin-logo img {
        width: 135px;
    }

    .mesin-nav {
        gap: 18px;
    }

    .mesin-nav a {
        font-size: 13px;
    }

    .mesin-hero {
        padding: 70px 0 65px;
    }

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

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

    .mesin-section-heading h2 {
        font-size: 34px;
    }

    .mesin-product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mesin-product-content {
        padding: 23px;
    }

}

/* ==============================
   MESIN ANTRIAN - GALLERY
   ============================== */

.mesin-gallery {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 70px 0;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 45px;
}

.gallery-heading small {
    color: #e58a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.gallery-heading h2 {
    margin-top: 10px;
    font-size: 42px;
    line-height: 1.1;
}

.gallery-heading p {
    margin-top: 12px;
    color: #777;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #ffffff;
}

.gallery-number {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 9px 14px;
    background: #171717;
    color: #ffffff;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .mesin-gallery {
        padding: 45px 0;
    }

    .gallery-heading h2 {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

.gallery-item iframe {
    width: 100%;
    height: 100%;
    border: 0;
}