
/* ================================
   HEDA MEDIUM DUTY RACK DESCRIPTION
================================ */

.heda-md-rack {
    --blue: #0b2f52;
    --blue-deep: #0b3559;
    --orange: #ff6f00;
    --text: #26384a;
    --muted: #667085;
    --light: #f5f7fa;
    --border: #e5e9ef;
    --white: #ffffff;

    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.7;
}

.heda-md-rack *,
.heda-md-rack *::before,
.heda-md-rack *::after {
    box-sizing: border-box;
}

.heda-md-rack img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.heda-md-rack .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.heda-md-rack section {
    padding: 72px 0;
}

.heda-md-rack h2,
.heda-md-rack h3,
.heda-md-rack p {
    margin-top: 0;
}

.heda-md-rack h2 {
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 500;
}

.heda-md-rack h3 {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.35;
}

.heda-md-rack p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 16px;
}

.heda-md-rack .section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.heda-md-rack .section-intro {
    max-width: 760px;
    margin-bottom: 38px;
}


/* ================================
   IMAGE
================================ */

.heda-md-rack .image-box {
    width: 100%;
    overflow: hidden;
    background: #eef1f4;
}

.heda-md-rack .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================================
   01 INTRO
================================ */

.heda-md-rack .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.heda-md-rack .intro-image {
    aspect-ratio: 1.25 / 1;
}

.heda-md-rack .intro-copy p {
    max-width: 560px;
}

.heda-md-rack .key-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    margin-top: 28px;
}

.heda-md-rack .key-point {
    position: relative;
    padding-left: 24px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.heda-md-rack .key-point::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange);
    font-size: 16px;
    font-weight: 700;
}


/* ================================
   02 FEATURES
================================ */

.heda-md-rack .features-section {
    background: var(--light);
}

.heda-md-rack .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.heda-md-rack .feature-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease;
}

.heda-md-rack .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 36, 64, .08);
}

.heda-md-rack .feature-number {
    display: flex;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.heda-md-rack .feature-card p {
    margin-bottom: 0;
    font-size: 14px;
}


/* ================================
   03 TECHNICAL
================================ */

.heda-md-rack .spec-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
    align-items: start;
}

.heda-md-rack .spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    background: #fff;
}

.heda-md-rack .spec-table tr {
    border-bottom: 1px solid var(--border);
}

.heda-md-rack .spec-table tr:last-child {
    border-bottom: none;
}

.heda-md-rack .spec-table th,
.heda-md-rack .spec-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.heda-md-rack .spec-table th {
    width: 38%;
    background: #f7f9fb;
    color: var(--blue);
    font-weight: 700;
}

.heda-md-rack .spec-table td {
    color: #526173;
}


/* ================================
   04 MODULAR DESIGN
================================ */

.heda-md-rack .structure-section {
    background: var(--blue-deep);
    padding: 70px 0;
}

.heda-md-rack .structure-section .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.heda-md-rack .structure-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 52px;
    align-items: center;
}

/* enlarged image area */
.heda-md-rack .structure-image {
    width: 100%;
    min-height: 560px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heda-md-rack .structure-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.heda-md-rack .structure-content {
    padding-left: 4px;
}

.heda-md-rack .structure-section .section-label {
    margin-bottom: 18px;
    color: var(--orange);
}

.heda-md-rack .structure-section h2 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 500;
}

.heda-md-rack .structure-content > p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
}

.heda-md-rack .structure-list {
    margin-top: 25px;
}

.heda-md-rack .structure-item {
    display: flex;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.heda-md-rack .structure-item:last-child {
    border-bottom: none;
}

.heda-md-rack .structure-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.heda-md-rack .structure-item h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 500;
}

.heda-md-rack .structure-item p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.6;
}


/* ================================
   05 APPLICATION
================================ */

.heda-md-rack .application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.heda-md-rack .application-card {
    padding: 25px 22px;
    border: 1px solid var(--border);
    background: #fff;
}

.heda-md-rack .application-card p {
    margin-bottom: 0;
    font-size: 14px;
}


/* ================================
   06 GALLERY
================================ */

.heda-md-rack .gallery-section {
    padding-top: 20px;
}

.heda-md-rack .gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 20px;
}

.heda-md-rack .gallery-main {
    height: 520px;
}

.heda-md-rack .gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.heda-md-rack .gallery-small {
    height: 250px;
}


/* ================================
   07 CTA
================================ */

.heda-md-rack .cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
    padding: 40px;
    background: #f3f5f7;
    border-left: 5px solid var(--orange);
}

.heda-md-rack .cta-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.heda-md-rack .cta-box p {
    margin-bottom: 0;
}

.heda-md-rack .cta-btn {
    display: inline-block;
    padding: 15px 28px;
    background: var(--orange);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .heda-md-rack .structure-grid {
        grid-template-columns: 56% 44%;
        gap: 34px;
    }

    .heda-md-rack .structure-image,
    .heda-md-rack .structure-image img {
        min-height: 480px;
    }

    .heda-md-rack .structure-section h2 {
        font-size: 34px;
    }
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .heda-md-rack section {
        padding: 55px 0;
    }

    .heda-md-rack .intro-grid,
    .heda-md-rack .spec-grid,
    .heda-md-rack .structure-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .heda-md-rack .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .heda-md-rack .application-grid {
        grid-template-columns: 1fr 1fr;
    }

    .heda-md-rack .cta-box {
        grid-template-columns: 1fr;
    }

    .heda-md-rack .structure-image {
        min-height: auto;
        aspect-ratio: 1.15 / 1;
    }

    .heda-md-rack .structure-image img {
        min-height: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .heda-md-rack .container {
        padding: 0 16px;
    }

    .heda-md-rack h2 {
        font-size: 28px;
    }

    .heda-md-rack .key-points,
    .heda-md-rack .features-grid,
    .heda-md-rack .application-grid,
    .heda-md-rack .gallery-grid {
        grid-template-columns: 1fr;
    }

    .heda-md-rack .gallery-main,
    .heda-md-rack .gallery-small {
        height: auto;
        aspect-ratio: 1.2 / 1;
    }

    .heda-md-rack .gallery-side {
        grid-template-rows: auto;
    }

    .heda-md-rack .cta-box {
        padding: 28px 22px;
    }

    .heda-md-rack .structure-section {
        padding: 50px 0;
    }

    .heda-md-rack .structure-section .container {
        padding: 0 16px;
    }

    .heda-md-rack .structure-section h2 {
        font-size: 30px;
    }

    .heda-md-rack .structure-image {
        aspect-ratio: 1.15 / 1;
    }

}
