
/* =========================================
   05. CUSTOM MANUFACTURING PROCESS
========================================= */

.manufacturing-process {
    width: 100%;
    padding: 90px 24px;
    background: var(--nav-colr, #E5E0D5);
    color: var(--text-color, #263D32);
}

.manufacturing-container {
    width: 100%;
    max-width: var(--max-width, 1240px);
    margin-inline: auto;
}

/* Header */

.manufacturing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 42px;
}

.manufacturing-heading {
    max-width: 760px;
}

.manufacturing-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #B87950;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.7;
}

.manufacturing-heading h2 {
    margin: 0 0 15px;
    color: var(--text-color, #263D32);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
}

.manufacturing-heading h2 span {
    color: #B87950;
}

.manufacturing-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--text-color, #263D32);
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.9;
}

.manufacturing-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 12px;
    padding: 14px 19px;
    border: 1px solid #263D32;
    border-radius: 3px;
    color: #263D32;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.manufacturing-header-btn:hover {
    background: #263D32;
    color: #F8F6F1;
}

/* Main layout */

.manufacturing-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 55px;
    align-items: stretch;
}

/* Image */

.manufacturing-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #D5C7B6;
    border-radius: 4px;
}

.manufacturing-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.manufacturing-visual:hover > img {
    transform: scale(1.04);
}

.manufacturing-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 19px;
    background: #F8F6F1;
    border-radius: 3px;
}

.manufacturing-caption-line {
    width: 3px;
    align-self: stretch;
    min-height: 42px;
    flex-shrink: 0;
    background: #B87950;
}

.manufacturing-image-caption strong {
    display: block;
    margin-bottom: 5px;
    color: #263D32;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.manufacturing-image-caption p {
    margin: 0;
    color: #263D32;
    opacity: 0.75;
    font-size: 11px;
    line-height: 1.7;
}

/* Process steps */

.manufacturing-steps {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.manufacturing-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(38, 61, 50, 0.16);
}

.manufacturing-step:first-child {
    padding-top: 7px;
}

.manufacturing-step:last-child {
    padding-bottom: 7px;
    border-bottom: none;
}

.manufacturing-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background: #263D32;
    color: #F8F6F1;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.25s ease;
}

.manufacturing-step:hover .manufacturing-step-number {
    background: #B87950;
}

.manufacturing-step-content h3 {
    margin: 0 0 9px;
    color: #263D32;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.manufacturing-step-content p {
    margin: 0 0 12px;
    color: #263D32;
    opacity: 0.8;
    font-size: 12px;
    line-height: 1.9;
}

.manufacturing-step-meta {
    display: inline-block;
    color: #B87950;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

/* Bottom CTA */

.manufacturing-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
    padding: 29px 32px;
    background: #263D32;
    border-left: 4px solid #B87950;
    border-radius: 4px;
}

.manufacturing-bottom-text > span {
    display: block;
    margin-bottom: 8px;
    color: #D5A47E;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.manufacturing-bottom-text h3 {
    margin: 0;
    color: #F8F6F1;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 500;
    line-height: 1.45;
}

.manufacturing-bottom-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    padding: 15px 20px;
    background: #B87950;
    border: 1px solid #B87950;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.manufacturing-bottom-btn:hover {
    background: transparent;
    border-color: #D5A47E;
    color: #F8F6F1;
}

/* Tablet */

@media (max-width: 950px) {
    .manufacturing-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 30px;
    }

    .manufacturing-visual,
    .manufacturing-visual > img {
        min-height: 540px;
    }

    .manufacturing-step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .manufacturing-step-number {
        width: 40px;
        height: 40px;
    }

    .manufacturing-step-content h3 {
        font-size: 15px;
    }

    .manufacturing-step-content p {
        font-size: 11px;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .manufacturing-process {
        padding: 60px 16px;
    }

    .manufacturing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 28px;
    }

    .manufacturing-heading h2 {
        font-size: 31px;
        letter-spacing: -0.5px;
    }

    .manufacturing-heading p {
        font-size: 13px;
    }

    .manufacturing-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .manufacturing-visual {
        min-height: 320px;
    }

    .manufacturing-visual > img {
        min-height: 320px;
        max-height: 430px;
    }

    .manufacturing-image-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px;
    }

    .manufacturing-image-caption strong {
        font-size: 13px;
    }

    .manufacturing-steps {
        gap: 0;
    }

    .manufacturing-step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding: 21px 0;
    }

    .manufacturing-step:first-child {
        padding-top: 5px;
    }

    .manufacturing-step:last-child {
        padding-bottom: 5px;
    }

    .manufacturing-step-content h3 {
        font-size: 16px;
    }

    .manufacturing-step-content p {
        font-size: 12px;
    }

    .manufacturing-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 30px;
        padding: 24px 19px;
    }

    .manufacturing-bottom-text h3 {
        font-size: 21px;
    }

    .manufacturing-bottom-btn {
        width: 100%;
        padding: 14px 16px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .manufacturing-visual > img,
    .manufacturing-step-number,
    .manufacturing-header-btn,
    .manufacturing-bottom-btn {
        transition: none;
    }
}
