
/* =====================================
   WHY CHOOSE US + FACTORY GALLERY
===================================== */

.why-us-section {
    width: 100%;
    padding: clamp(55px, 7vw, 95px) 24px;
    background: var(--nav-colr);
    color: var(--text-color);
}

.why-us-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

/* SECTION HEADER */

.why-us-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.why-us-eyebrow,
.why-us-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.8;
    opacity: 0.72;
}

.why-us-eyebrow {
    margin-bottom: 14px;
}

.why-us-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.why-us-title span {
    display: block;
    color: #B87950;
}

.why-us-intro {
    max-width: 620px;
    margin: 17px auto 0;
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.8;
}

/* MAIN TWO-COLUMN LAYOUT */

.why-us-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(35px, 5vw, 75px);
}

/* LEFT CONTENT */

.why-us-content {
    min-width: 0;
    padding: 10px 0;
}

.why-us-heading {
    max-width: 450px;
    margin: 12px 0 15px;
    font-size: clamp(25px, 2.7vw, 34px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.why-us-description {
    margin: 0 0 28px;
    font-size: 13px;
    line-height: 1.95;
    opacity: 0.8;
}

/* BENEFITS */

.why-us-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color, #d1c9bb);
}

.why-us-benefit:first-of-type {
    border-top: 1px solid var(--border-color, #d1c9bb);
}

.why-us-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--body-color);
    color: #B87950;
    border: 1px solid var(--border-color, #d1c9bb);
    border-radius: 3px;
}

.why-us-icon svg {
    width: 22px;
    height: 22px;
}

.why-us-benefit-text {
    min-width: 0;
}

.why-us-benefit-text h4 {
    margin: 1px 0 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.why-us-benefit-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.76;
}

/* CTA BUTTON */

.why-us-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 48px;
    margin-top: 27px;
    padding: 13px 20px;

    background: #263D32;
    color: #F8F6F1;
    border: 1px solid #263D32;
    border-radius: 3px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.why-us-button:hover {
    background: transparent;
    color: var(--text-color);
}

/* GALLERY HEADER */

.factory-gallery {
    min-width: 0;
}

.factory-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.factory-gallery-heading h3 {
    margin: 6px 0 0;
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.3;
}

.gallery-counter {
    padding-bottom: 4px;
    color: #B87950;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ASYMMETRIC IMAGE GRID */

.factory-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(150px, 1fr));
    gap: 13px;
}

.factory-gallery-item {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--body-color);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    isolation: isolate;
}

.factory-gallery-main {
    grid-row: span 2;
}

.factory-gallery-item img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.factory-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to top,
        rgba(20, 28, 22, 0.82) 0%,
        rgba(20, 28, 22, 0.24) 35%,
        transparent 70%
    );
    pointer-events: none;
}

.factory-gallery-item:hover img {
    transform: scale(1.045);
}

/* IMAGE CAPTIONS */

.factory-image-caption {
    position: absolute;
    right: 13px;
    bottom: 13px;
    left: 13px;
    z-index: 1;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.factory-image-caption strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.factory-image-caption small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.6;
    opacity: 0.85;
}

.factory-image-arrow {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: 14px;
}

.factory-gallery-note {
    margin: 15px 0 0;
    font-size: 11px;
    line-height: 1.8;
    opacity: 0.72;
}

/* BOTTOM HIGHLIGHTS */

.why-us-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 65px;
    padding-top: 27px;
    border-top: 1px solid var(--border-color, #d1c9bb);
}

.why-us-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 5px 24px;
    border-right: 1px solid var(--border-color, #d1c9bb);
}

.why-us-highlight:first-child {
    padding-left: 0;
}

.why-us-highlight:last-child {
    padding-right: 0;
    border-right: none;
}

.highlight-number {
    color: #B87950;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.why-us-highlight h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.why-us-highlight p {
    margin: 5px 0 0;
    font-size: 11px;
    line-height: 1.8;
    opacity: 0.75;
}

/* TABLET */

@media (max-width: 900px) {
    .why-us-section {
        padding: 60px 22px;
    }

    .why-us-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .why-us-content {
        max-width: 650px;
    }

    .factory-gallery-grid {
        grid-template-rows: repeat(2, minmax(200px, 1fr));
    }

    .why-us-highlights {
        margin-top: 45px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .why-us-section {
        padding: 45px 18px;
    }

    .why-us-header {
        margin-bottom: 32px;
    }

    .why-us-eyebrow,
    .why-us-label {
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .why-us-title {
        font-size: clamp(28px, 7vw, 36px);
        letter-spacing: -0.6px;
    }

    .why-us-intro {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.8;
    }

    .why-us-layout {
        gap: 35px;
    }

    .why-us-heading {
        font-size: 26px;
    }

    .why-us-description {
        font-size: 12px;
    }

    .why-us-benefit {
        gap: 12px;
        padding: 15px 0;
    }

    .why-us-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }

    .why-us-benefit-text h4 {
        font-size: 13px;
    }

    .why-us-benefit-text p {
        font-size: 11px;
    }

    .why-us-button {
        width: 100%;
    }

    .factory-gallery-grid {
        grid-template-rows: repeat(2, minmax(135px, 1fr));
        gap: 9px;
    }

    .factory-gallery-heading h3 {
        font-size: 22px;
    }

    .factory-image-caption {
        right: 8px;
        bottom: 9px;
        left: 8px;
    }

    .factory-image-caption strong {
        font-size: 11px;
    }

    .factory-image-caption small {
        font-size: 9px;
    }

    .factory-image-arrow {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    .why-us-highlights {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 35px;
        padding-top: 12px;
    }

    .why-us-highlight,
    .why-us-highlight:first-child,
    .why-us-highlight:last-child {
        padding: 15px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color, #d1c9bb);
    }

    .why-us-highlight:last-child {
        border-bottom: none;
    }
}

/* SMALL MOBILE */

@media (max-width: 360px) {
    .why-us-section {
        padding-right: 13px;
        padding-left: 13px;
    }

    .factory-gallery-grid {
        grid-template-rows: repeat(2, minmax(120px, 1fr));
        gap: 7px;
    }

    .factory-image-caption strong {
        font-size: 10px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .factory-gallery-item img,
    .why-us-button {
        transition: none !important;
    }
}
