/* ------------------------------------------------------------
   GLOBAL RESET & BASE STYLES
------------------------------------------------------------ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #3F4144;
    background-color: #ffffff;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: #3F4144;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    color: #A3A19D;
    text-decoration-color: #A3A19D;
}

/* Wrapper */
.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Stack Sans Headline', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    color: #3F4144;
    margin: 0 0 16px;
    line-height: 1.25;
}

h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

/* Paragraphs */
p { margin: 0 0 16px; }

/* Utility spacing */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }


/* ------------------------------------------------------------
   EXPLORE OUR STYLES — CLEAN COMPONENT
------------------------------------------------------------ */

.hero-explore-box {
    background: #f7f5f3;
    margin: 40px 0 60px;
    border: 1px solid rgba(0,0,0,0.05);
}

.hero-explore-box .box-header {
    background: #A3A19D;
    color: #ffffff;
    font-family: 'Stack Sans Headline';
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .8px;
    padding: 20px 26px;
    font-size: 20px;
}

.hero-explore-box .box-content {
    padding: 30px 26px 40px;
}

/* Grid layout */
.hero-explore-box .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

/* Cards */
.hero-explore-box .product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 20px;
    text-decoration: none !important;
    color: inherit !important;
}

/* Remove underlines in card */
.hero-explore-box .product-card a,
.hero-explore-box .product-card * {
    text-decoration: none !important;
}

/* Image wrapper */
.hero-explore-box .product-image {
    height: 240px;
    width: 100%;
    overflow: hidden;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image */
.hero-explore-box .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text */
.hero-explore-box .product-content {
    padding: 16px 20px 0;
}

.hero-explore-box .product-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

/* No hover effects */
.hero-explore-box .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}


/* ------------------------------------------------------------
   CASE STUDY IMAGE MATCHING (same size as styles)
------------------------------------------------------------ */

.case-studies-box .product-image,
.case-studies-box .product-image img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}


/* ------------------------------------------------------------
   MOBILE — CLEAN & CONFLICT-FREE
------------------------------------------------------------ */

@media (max-width: 900px) {

    /* Remove wrapper padding globally */
    .wrapper {
        padding: 0 18px !important;
    }

    /* CONTACT BOX full-width border */
    .hero-contact-box {
        border-left: 1px solid rgba(0,0,0,0.12);
        border-right: 1px solid rgba(0,0,0,0.12);
    }

    /* Ensure Explore + Case Studies align identically */
    .hero-explore-box,
    .case-studies-box {
        width: 100% !important;
        border: 1px solid rgba(0,0,0,0.12);
        margin-top: 26px !important;
        background: #ffffff;
    }

    .hero-explore-box .box-header,
    .case-studies-box .box-header {
        padding: 16px;
        font-size: 17px;
        background: #3F4144;
        color: #ffffff;
    }

    /* Force single-column */
    .hero-explore-box .product-grid,
    .case-studies-box .product-grid {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    /* Flush cards */
    .hero-explore-box .product-card,
    .case-studies-box .product-card {
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding-bottom: 14px !important;
    }

    /* Match images */
    .hero-explore-box .product-image,
    .hero-explore-box .product-image img,
    .case-studies-box .product-image,
    .case-studies-box .product-image img {
        height: 240px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    /* Tighten title spacing */
    .hero-explore-box .product-content,
    .case-studies-box .product-content {
        padding: 14px 16px 12px !important;
    }

    /* Breadcrumb spacing */
    .breadcrumbs {
        padding: 12px 18px 18px !important;
    }
}
/* Match CASE STUDIES header to Explore Our Styles header */
.case-studies-box .box-header {
    background: #3F4144 !important;
    color: #ffffff !important;
    font-family: 'Stack Sans Headline', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: .8px !important;
    padding: 20px 26px !important;
    font-size: 20px !important;
    margin: 0 !important;
    border: none !important;
}
a {
    text-decoration: none !important;
}
