
/* =========================================================
   HEDA SHELVES
   MEXICO CUSTOM COLOR HEAVY-DUTY PALLET RACKING CASE
========================================================= */

.heda-mx-color {
    --orange: #f47721;
    --gray: #595e63;
    --blue: #165fa8;
    --dark: #202b36;
    --text: #424a52;
    --muted: #717981;
    --light: #f5f7f8;
    --line: #e2e5e8;
    --white: #ffffff;

    max-width: 1160px;
    margin: 0 auto;
    padding: 8px 18px 60px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.72;
    box-sizing: border-box;
}

.heda-mx-color *,
.heda-mx-color *::before,
.heda-mx-color *::after {
    box-sizing: border-box;
}

.heda-mx-color h1,
.heda-mx-color h2,
.heda-mx-color h3,
.heda-mx-color p {
    margin-top: 0;
}

.heda-mx-color img {
    max-width: 100%;
}


/* =========================================================
   INTRO
========================================================= */

.mx-intro {
    padding: 25px 30px;
    margin-bottom: 20px;
    background: var(--light);
    border-left: 4px solid var(--orange);
}

.mx-label,
.mx-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--orange) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mx-intro h1 {
    max-width: 950px;
    margin-bottom: 11px;
    color: var(--dark) !important;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.mx-intro p {
    max-width: 960px;
    margin-bottom: 0;
    color: var(--muted) !important;
    font-size: 15px;
}


/* =========================================================
   META
========================================================= */

.mx-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 32px;
    border: 1px solid var(--line);
    background: var(--white);
}

.mx-meta-item {
    padding: 16px 19px;
    border-right: 1px solid var(--line);
}

.mx-meta-item:last-child {
    border-right: 0;
}

.mx-meta-label {
    display: block;
    margin-bottom: 4px;
    color: var(--orange) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mx-meta-value {
    display: block;
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   IMAGES
========================================================= */

.mx-image {
    margin: 28px 0 38px;
}

.mx-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.mx-caption {
    margin: 9px 0 0 !important;
    color: #899098 !important;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   GENERAL
========================================================= */

.mx-section {
    margin: 38px 0;
}

.mx-heading {
    max-width: 850px;
    margin-bottom: 20px;
}

.mx-section h2,
.mx-result h2 {
    margin-bottom: 13px;
    color: var(--dark) !important;
    font-size: 26px;
    line-height: 1.3;
}

.mx-section h3 {
    margin-bottom: 9px;
    color: var(--dark) !important;
    font-size: 18px;
    line-height: 1.4;
}

.mx-section p,
.mx-result > p {
    margin-bottom: 14px;
    color: var(--text) !important;
}


/* =========================================================
   REQUIREMENT / SOLUTION
========================================================= */

.mx-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mx-card {
    height: 100%;
    padding: 25px 27px;
    border: 1px solid var(--line);
    background: var(--white);
}

.mx-card:first-child {
    border-top: 3px solid var(--gray);
}

.mx-card:last-child {
    border-top: 3px solid var(--orange);
}

.mx-card h3 {
    color: var(--dark) !important;
}

.mx-card p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 14px;
}


/* =========================================================
   DARK BRAND SECTION
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mx-brand {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    margin: 38px 0;
    background: #202b36 !important;
    color: #ffffff !important;
}

.mx-brand-title {
    padding: 30px;
    background: #595e63 !important;
    color: #ffffff !important;
}

.mx-brand-title .mx-kicker {
    color: #ffd8bd !important;
}

.mx-brand-title h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.35;
}

.mx-brand-copy {
    padding: 30px 34px;
    color: #ffffff !important;
}

.mx-brand-copy p {
    margin-bottom: 14px;
    color: #d6dce1 !important;
}

.mx-brand-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
    margin-top: 17px;
}

.mx-brand-point {
    position: relative;
    padding-left: 17px;
    color: #ffffff !important;
    font-size: 13px;
}

.mx-brand-point::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f47721 !important;
    font-weight: 700;
}


/* =========================================================
   COLOR PALETTE
========================================================= */

.mx-colors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.mx-color-card {
    min-height: 150px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mx-color-orange {
    background: #f47721;
}

.mx-color-gray {
    background: #595e63;
}

.mx-color-card span {
    display: block;
    color: rgba(255,255,255,.78) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mx-color-card strong {
    display: block;
    margin-top: 4px;
    color: #ffffff !important;
    font-size: 20px;
}


/* =========================================================
   STORAGE APPLICATION
========================================================= */

.mx-application {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.mx-app-item {
    padding: 22px;
    background: var(--light);
}

.mx-app-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark) !important;
    font-size: 14px;
}

.mx-app-item span {
    display: block;
    color: var(--muted) !important;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   DARK WAREHOUSE VISUAL
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mx-visual {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    margin: 38px 0;
    background: #202b36 !important;
    color: #ffffff !important;
}

.mx-visual-title {
    padding: 30px;
    background: #f47721 !important;
    color: #ffffff !important;
}

.mx-visual-title .mx-kicker {
    color: #ffffff !important;
}

.mx-visual-title h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.35;
}

.mx-visual-copy {
    padding: 30px 34px;
}

.mx-visual-copy p {
    margin-bottom: 14px;
    color: #d6dce1 !important;
}

.mx-visual-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 18px;
    margin-top: 17px;
}

.mx-visual-point {
    position: relative;
    padding-left: 17px;
    color: #ffffff !important;
    font-size: 13px;
}

.mx-visual-point::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f47721 !important;
    font-weight: 700;
}


/* =========================================================
   DETAILS
========================================================= */

.mx-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.mx-detail {
    padding: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mx-detail strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark) !important;
    font-size: 14px;
}

.mx-detail span {
    display: block;
    color: var(--muted) !important;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   SAFETY DETAILS
========================================================= */

.mx-safety {
    padding: 29px 32px;
    margin: 38px 0;
    background: var(--light);
    border-left: 4px solid var(--orange);
}

.mx-safety h2 {
    color: var(--dark) !important;
}

.mx-safety > p {
    max-width: 930px;
    color: var(--text) !important;
}

.mx-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mx-safety-item {
    padding: 19px;
    border-right: 1px solid var(--line);
}

.mx-safety-item:last-child {
    border-right: 0;
}

.mx-safety-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark) !important;
    font-size: 13px;
}

.mx-safety-item span {
    display: block;
    color: var(--muted) !important;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   RESULT
========================================================= */

.mx-result {
    padding: 29px 32px;
    margin: 38px 0;
    background: var(--light);
}

.mx-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mx-highlight {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.mx-highlight:last-child {
    border-right: 0;
}

.mx-check {
    display: block;
    margin-bottom: 6px;
    color: var(--orange) !important;
    font-size: 17px;
    font-weight: 700;
}

.mx-highlight strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark) !important;
    font-size: 13px;
}

.mx-highlight span {
    display: block;
    color: var(--muted) !important;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FEEDBACK
========================================================= */

.mx-feedback {
    padding: 27px 30px;
    margin: 38px 0;
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    background: #ffffff;
}

.mx-feedback h2 {
    margin-bottom: 10px;
    color: var(--dark) !important;
    font-size: 22px;
}

.mx-feedback p {
    margin-bottom: 0;
    color: var(--muted) !important;
}


/* =========================================================
   DARK CTA
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mx-cta {
    margin-top: 44px;
    padding: 34px 28px;
    text-align: center;
    background: #202b36 !important;
    color: #ffffff !important;
    border-top: 4px solid var(--orange);
}

.mx-cta h2 {
    margin-bottom: 10px;
    color: #ffffff !important;
    font-size: 25px;
    line-height: 1.35;
}

.mx-cta p {
    max-width: 750px;
    margin: 0 auto 20px;
    color: #d4d9de !important;
    font-size: 14px;
}

.mx-cta .mx-cta-btn {
    display: inline-block;
    padding: 13px 31px !important;
    background: #f47721 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.mx-cta .mx-cta-btn:hover {
    background: #dc6518 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .mx-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .mx-meta-item:nth-child(2) {
        border-right: 0;
    }

    .mx-meta-item:nth-child(1),
    .mx-meta-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .mx-brand,
    .mx-visual {
        grid-template-columns: 1fr;
    }

    .mx-application,
    .mx-details {
        grid-template-columns: 1fr;
    }

    .mx-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .mx-highlight:nth-child(2) {
        border-right: 0;
    }

    .mx-highlight:nth-child(1),
    .mx-highlight:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}


@media (max-width: 640px) {

    .heda-mx-color {
        padding: 5px 10px 42px;
    }

    .mx-intro {
        padding: 22px 20px;
    }

    .mx-intro h1 {
        font-size: 25px;
    }

    .mx-meta,
    .mx-two-col,
    .mx-colors,
    .mx-safety-grid,
    .mx-highlights {
        grid-template-columns: 1fr;
    }

    .mx-meta-item,
    .mx-safety-item,
    .mx-highlight {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .mx-meta-item:last-child,
    .mx-safety-item:last-child,
    .mx-highlight:last-child {
        border-bottom: 0;
    }

    .mx-section {
        margin: 32px 0;
    }

    .mx-section h2,
    .mx-result h2 {
        font-size: 23px;
    }

    .mx-brand-title,
    .mx-brand-copy,
    .mx-visual-title,
    .mx-visual-copy,
    .mx-result,
    .mx-safety {
        padding: 25px 21px;
    }

    .mx-brand-list,
    .mx-visual-list {
        grid-template-columns: 1fr;
    }

    .mx-cta {
        padding: 30px 20px;
    }

    .mx-cta h2 {
        font-size: 23px;
    }
}
