
/* =========================================================
   HEDA SHELVES
   MEXICO WAREHOUSE SUPERMARKET MEDIUM-DUTY RACK CASE
========================================================= */

.heda-mx-medium {
    --orange: #f47721;
    --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-medium *,
.heda-mx-medium *::before,
.heda-mx-medium *::after {
    box-sizing: border-box;
}

.heda-mx-medium h1,
.heda-mx-medium h2,
.heda-mx-medium h3,
.heda-mx-medium p {
    margin-top: 0;
}

.heda-mx-medium img {
    max-width: 100%;
}


/* =========================================================
   INTRO
========================================================= */

.mxm-intro {
    padding: 25px 30px;
    margin-bottom: 20px;
    background: var(--light);
    border-left: 4px solid var(--orange);
}

.mxm-label,
.mxm-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--orange) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mxm-intro h1 {
    max-width: 970px;
    margin-bottom: 11px;
    color: var(--dark) !important;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.mxm-intro p {
    max-width: 960px;
    margin-bottom: 0;
    color: var(--muted) !important;
    font-size: 15px;
}


/* =========================================================
   META
========================================================= */

.mxm-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 32px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mxm-meta-item {
    padding: 16px 19px;
    border-right: 1px solid var(--line);
}

.mxm-meta-item:last-child {
    border-right: 0;
}

.mxm-meta-label {
    display: block;
    margin-bottom: 4px;
    color: var(--orange) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mxm-meta-value {
    display: block;
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   IMAGE
========================================================= */

.mxm-image {
    margin: 28px 0 38px;
}

.mxm-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.mxm-caption {
    margin: 9px 0 0 !important;
    color: #899098 !important;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   GENERAL
========================================================= */

.mxm-section {
    margin: 38px 0;
}

.mxm-heading {
    max-width: 860px;
    margin-bottom: 20px;
}

.mxm-section h2,
.mxm-result h2,
.mxm-feedback h2 {
    margin-bottom: 13px;
    color: var(--dark) !important;
    font-size: 26px;
    line-height: 1.3;
}

.mxm-section h3 {
    margin-bottom: 9px;
    color: var(--dark) !important;
    font-size: 18px;
    line-height: 1.4;
}

.mxm-section p,
.mxm-result > p,
.mxm-feedback > p {
    margin-bottom: 14px;
    color: var(--text) !important;
}


/* =========================================================
   CHALLENGE / SOLUTION
========================================================= */

.mxm-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mxm-card {
    height: 100%;
    padding: 25px 27px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mxm-card:first-child {
    border-top: 3px solid var(--blue);
}

.mxm-card:last-child {
    border-top: 3px solid var(--orange);
}

.mxm-card h3 {
    color: var(--dark) !important;
}

.mxm-card p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 14px;
}


/* =========================================================
   DARK PROJECT HIGHLIGHTS
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mxm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 38px 0;
    background: #202b36 !important;
    color: #ffffff !important;
}

.heda-mx-medium .mxm-stat {
    padding: 27px 26px;
    border-right: 1px solid rgba(255,255,255,.16);
    color: #ffffff !important;
}

.heda-mx-medium .mxm-stat:last-child {
    border-right: 0;
}

.heda-mx-medium .mxm-stat-value {
    display: block;
    margin-bottom: 5px;
    color: #f47721 !important;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.heda-mx-medium .mxm-stat-title {
    display: block;
    margin-bottom: 5px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
}

.heda-mx-medium .mxm-stat-text {
    display: block;
    color: #d4d9de !important;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   GALVANIZED STEEL PANEL
========================================================= */

.mxm-panel {
    padding: 30px 32px;
    background: var(--light);
    border-left: 4px solid var(--blue);
}

.mxm-panel h2 {
    color: var(--dark) !important;
}

.mxm-panel > p {
    max-width: 930px;
    color: var(--text) !important;
}

.mxm-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.mxm-panel-item {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.mxm-panel-num {
    display: block;
    margin-bottom: 7px;
    color: var(--orange) !important;
    font-size: 11px;
    font-weight: 700;
}

.mxm-panel-item h3 {
    color: var(--dark) !important;
    font-size: 17px;
}

.mxm-panel-item p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 14px;
    line-height: 1.62;
}


/* =========================================================
   DARK APPLICATION
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mxm-use {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    margin: 38px 0;
    background: #202b36 !important;
    color: #ffffff !important;
}

.mxm-use-title {
    padding: 30px;
    background: #165fa8 !important;
    color: #ffffff !important;
}

.heda-mx-medium .mxm-use-title .mxm-kicker {
    color: #dce8f3 !important;
}

.heda-mx-medium .mxm-use-title h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.35;
}

.mxm-use-copy {
    padding: 30px 34px;
    color: #ffffff !important;
}

.heda-mx-medium .mxm-use-copy p {
    margin-bottom: 14px;
    color: #d6dce1 !important;
}

.mxm-use-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 18px;
    margin-top: 17px;
}

.heda-mx-medium .mxm-use-point {
    position: relative;
    padding-left: 17px;
    color: #ffffff !important;
    font-size: 13px;
}

.heda-mx-medium .mxm-use-point::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f47721 !important;
    font-weight: 700;
}


/* =========================================================
   PRODUCT MIX
========================================================= */

.mxm-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.mxm-product {
    padding: 22px;
    background: var(--light);
}

.mxm-product strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark) !important;
    font-size: 14px;
}

.mxm-product span {
    display: block;
    color: var(--muted) !important;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   OPERATION
========================================================= */

.mxm-operation {
    padding: 29px 32px;
    margin: 38px 0;
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    background: #ffffff;
}

.mxm-operation h2 {
    margin-bottom: 13px;
    color: var(--dark) !important;
    font-size: 26px;
}

.mxm-operation > p {
    max-width: 930px;
    color: var(--text) !important;
}

.mxm-operation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: var(--light);
}

.mxm-operation-item {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.mxm-operation-item:last-child {
    border-right: 0;
}

.mxm-operation-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark) !important;
    font-size: 13px;
}

.mxm-operation-item span {
    display: block;
    color: var(--muted) !important;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   RESULT
========================================================= */

.mxm-result {
    padding: 29px 32px;
    margin: 38px 0;
    background: var(--light);
}

.mxm-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.mxm-highlight {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.mxm-highlight:last-child {
    border-right: 0;
}

.mxm-check {
    display: block;
    margin-bottom: 6px;
    color: var(--orange) !important;
    font-size: 17px;
    font-weight: 700;
}

.mxm-highlight strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark) !important;
    font-size: 13px;
}

.mxm-highlight span {
    display: block;
    color: var(--muted) !important;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   CUSTOMER FEEDBACK
========================================================= */

.mxm-feedback {
    padding: 27px 30px;
    margin: 38px 0;
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    background: #ffffff;
}

.mxm-feedback h2 {
    font-size: 22px;
}

.mxm-feedback p {
    color: var(--muted) !important;
}

.mxm-feedback-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 19px;
}

.mxm-quote {
    padding: 17px 18px;
    background: var(--light);
    text-align: center;
}

.mxm-quote strong {
    display: block;
    color: var(--dark) !important;
    font-size: 14px;
}


/* =========================================================
   DARK CTA
   HIGH-PRIORITY CONTRAST FIX
========================================================= */

.mxm-cta {
    margin-top: 44px;
    padding: 34px 28px;
    text-align: center;
    background: #202b36 !important;
    color: #ffffff !important;
    border-top: 4px solid var(--orange);
}

.heda-mx-medium .mxm-cta h2 {
    margin-bottom: 10px;
    color: #ffffff !important;
    font-size: 25px;
    line-height: 1.35;
}

.heda-mx-medium .mxm-cta p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #d4d9de !important;
    font-size: 14px;
}

.heda-mx-medium .mxm-cta .mxm-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;
}

.heda-mx-medium .mxm-cta .mxm-cta-btn:hover {
    background: #dc6518 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .mxm-meta,
    .mxm-operation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mxm-meta-item:nth-child(2),
    .mxm-operation-item:nth-child(2) {
        border-right: 0;
    }

    .mxm-meta-item:nth-child(1),
    .mxm-meta-item:nth-child(2),
    .mxm-operation-item:nth-child(1),
    .mxm-operation-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .mxm-panel-grid,
    .mxm-products {
        grid-template-columns: 1fr;
    }

    .mxm-use {
        grid-template-columns: 1fr;
    }

    .mxm-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .mxm-highlight:nth-child(2) {
        border-right: 0;
    }

    .mxm-highlight:nth-child(1),
    .mxm-highlight:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}


@media (max-width: 640px) {

    .heda-mx-medium {
        padding: 5px 10px 42px;
    }

    .mxm-intro {
        padding: 22px 20px;
    }

    .mxm-intro h1 {
        font-size: 25px;
    }

    .mxm-meta,
    .mxm-two-col,
    .mxm-stats,
    .mxm-operation-grid,
    .mxm-highlights,
    .mxm-feedback-quotes {
        grid-template-columns: 1fr;
    }

    .mxm-meta-item,
    .mxm-stat,
    .mxm-operation-item,
    .mxm-highlight {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .mxm-meta-item:last-child,
    .mxm-stat:last-child,
    .mxm-operation-item:last-child,
    .mxm-highlight:last-child {
        border-bottom: 0;
    }

    .mxm-section {
        margin: 32px 0;
    }

    .mxm-section h2,
    .mxm-result h2,
    .mxm-operation h2 {
        font-size: 23px;
    }

    .mxm-panel,
    .mxm-result,
    .mxm-operation {
        padding: 25px 21px;
    }

    .mxm-use-title,
    .mxm-use-copy {
        padding: 25px 21px;
    }

    .mxm-use-list {
        grid-template-columns: 1fr;
    }

    .mxm-cta {
        padding: 30px 20px;
    }

    .mxm-cta h2 {
        font-size: 23px;
    }
}
