
/* ==========================================
   ADEL PRECISION MANUFACTURING PAGE
   Clean image sizing and responsive layout
========================================== */

.pm-page {
    --pm-navy: #0b2030;
    --pm-blue: #078ef5;
    --pm-cyan: #00b9ee;
    --pm-text: #102b45;
    --pm-muted: #607286;

    width: 100%;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    color: var(--pm-text);
    background: #ffffff;
    line-height: 1.6;
    overflow: hidden;
}

.pm-page *,
.pm-page *::before,
.pm-page *::after {
    box-sizing: border-box;
}

.pm-page h1,
.pm-page h2,
.pm-page h3,
.pm-page p {
    margin-top: 0;
}

.pm-page img {
    display: block;
    max-width: 100%;
}

/* ==========================================
   HERO SECTION
========================================== */

.pm-page .pm-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 390px;
    align-items: stretch;
    background: #f1f6fa;
}

.pm-page .pm-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 55px clamp(28px, 6vw, 82px);
    background: var(--pm-navy);
    color: #ffffff;
}

.pm-page .pm-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--pm-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pm-page .pm-hero h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(42px, 4.5vw, 62px);
    font-weight: 800;
    line-height: 1.02;
}

.pm-page .pm-hero h1 span {
    color: var(--pm-cyan);
}

.pm-page .pm-hero-content p {
    max-width: 440px;
    margin-bottom: 0;
    color: #d5e1eb;
    font-size: 14px;
    line-height: 1.9;
}

/* Hero image fills only the right half */

.pm-page .pm-hero .pm-hero-image {
    position: relative;
    width: 100%;
    height: 390px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #edf3f7;
}

.pm-page .pm-hero .pm-hero-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   CAPABILITIES INTRODUCTION
========================================== */

.pm-page .pm-capabilities {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 58px 32px 55px;
}

.pm-page .pm-intro {
    max-width: 900px;
    margin-bottom: 30px;
}

.pm-page .pm-intro .pm-eyebrow {
    margin-bottom: 12px;
    color: var(--pm-blue);
}

.pm-page .pm-intro h2 {
    margin-bottom: 12px;
    color: var(--pm-navy);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.pm-page .pm-intro p {
    max-width: 850px;
    margin-bottom: 0;
    color: var(--pm-muted);
    font-size: 14px;
    line-height: 1.85;
}

/* ==========================================
   CAPABILITY ROWS
========================================== */

.pm-page .pm-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #dce5ed;
}

.pm-page .pm-item {
    display: grid;
    grid-template-columns: 260px 55px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #dce5ed;
}

/* Images fit their own boxes without enlarging the page */

.pm-page .pm-item > img {
    display: block;
    width: 260px;
    height: 150px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #edf3f7;
    object-fit: cover;
    object-position: center;
}

.pm-page .pm-number {
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    padding: 10px 0;
    border-right: 1px solid #dce5ed;
    color: var(--pm-blue);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.pm-page .pm-info {
    min-width: 0;
}

.pm-page .pm-info h3 {
    margin: 0 0 7px;
    color: var(--pm-navy);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.pm-page .pm-info p {
    max-width: 650px;
    margin: 0;
    color: var(--pm-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   CONTACT SECTION
========================================== */

.pm-page .pm-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: calc(100% - 16px);
    max-width: 1328px;
    margin: 0 auto 8px;
    padding: 38px clamp(28px, 6.5vw, 90px);
    background: var(--pm-navy);
    color: #ffffff;
}

.pm-page .pm-contact .pm-eyebrow {
    margin-bottom: 12px;
}

.pm-page .pm-contact h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}

.pm-page .pm-contact-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 22px;
    border: 1px solid var(--pm-blue);
    background: var(--pm-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pm-page .pm-contact-button:hover {
    background: #006fc9;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 850px) {
    .pm-page .pm-hero {
        min-height: 340px;
    }

    .pm-page .pm-hero-content {
        padding: 38px 28px;
    }

    .pm-page .pm-hero .pm-hero-image {
        height: 340px;
    }

    .pm-page .pm-capabilities {
        padding: 45px 25px;
    }

    .pm-page .pm-item {
        grid-template-columns: 190px 45px minmax(0, 1fr);
        gap: 17px;
    }

    .pm-page .pm-item > img {
        width: 190px;
        height: 125px;
    }

    .pm-page .pm-contact {
        padding: 32px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    .pm-page .pm-hero {
        grid-template-columns: 1fr;
    }

    .pm-page .pm-hero-content {
        padding: 42px 24px;
    }

    .pm-page .pm-hero h1 {
        font-size: 44px;
    }

    .pm-page .pm-hero .pm-hero-image {
        width: 100%;
        height: 230px;
        min-height: 230px;
    }

    .pm-page .pm-capabilities {
        padding: 38px 20px;
    }

    .pm-page .pm-intro h2 {
        font-size: 30px;
    }

    .pm-page .pm-item {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .pm-page .pm-item > img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 100px;
        height: 100px;
        max-width: 100%;
    }

    .pm-page .pm-number {
        grid-column: 2;
        justify-content: flex-start;
        align-self: end;
        padding: 0;
        border: 0;
        font-size: 22px;
    }

    .pm-page .pm-info {
        grid-column: 2;
    }

    .pm-page .pm-info h3 {
        font-size: 16px;
    }

    .pm-page .pm-info p {
        font-size: 12px;
    }

    .pm-page .pm-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        width: calc(100% - 16px);
        margin: 0 8px 8px;
        padding: 30px 22px;
    }

    .pm-page .pm-contact h2 {
        font-size: 29px;
    }
}
/* FINAL HERO IMAGE POSITION FIX */

.pm-page .pm-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    overflow: hidden !important;
}

.pm-page .pm-hero .pm-hero-image {
    position: relative !important;
    width: 100% !important;
    height: 390px !important;
    min-height: 390px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pm-page .pm-hero .pm-hero-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 600px) {
    .pm-page .pm-hero {
        grid-template-columns: 1fr !important;
    }

    .pm-page .pm-hero .pm-hero-image {
        height: 230px !important;
        min-height: 230px !important;
    }
}