/* =========================================================
   MAWAR ELECTRICAL SERVICES
   SERVICE DETAIL
   ========================================================= */


/* =========================================================
   SERVICE DETAIL
   ========================================================= */

.service-detail {
    background: #fff;
}

.service-hero {
    max-width: 1240px;
    margin: auto;
    padding: 70px 28px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 55px;
}

.service-hero h1 {
    font-size: 48px;
    margin: 10px 0 18px;
}

.service-hero > img {
    width: 100%;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    background: #eef2f7;
}


/* =========================================================
   SERVICE CONTENT
   ========================================================= */

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
}

.detail-main {
    font-size: 18px;
}

.steps {
    padding-left: 22px;
}

.steps li {
    padding: 9px 0;
}


/* =========================================================
   SERVICE SIDEBAR
   ========================================================= */

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-card,
.info-panel,
.contact-card,
.contact-form-wrap {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    background: #fff;
}

.side-card {
    height: max-content;
    background: var(--soft);
}

.side-card h3 {
    margin-top: 0;
}

.full {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.side-card ul {
    padding-left: 20px;
}


/* =========================================================
   RELATED SERVICES
   ========================================================= */

.related-services {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.related-services h2 {
    margin-bottom: 10px;
}

.related-services p {
    margin-bottom: 16px;
}

.related-services ul {
    margin: 0;
    padding-left: 20px;
}

.related-services li {
    margin-bottom: 8px;
}


/* =========================================================
   SERVICE PAGE - TEXT LINKS
   ========================================================= */

.detail-main a:not(.primary-btn):not(.secondary-btn):not(.wa-btn),
.related-services a,
.service-sidebar .side-card p a {
    color: #0066cc !important;
    text-decoration: none !important;
}

.detail-main a:not(.primary-btn):not(.secondary-btn):not(.wa-btn):hover,
.related-services a:hover,
.service-sidebar .side-card p a:hover {
    color: #004c99 !important;
    text-decoration: underline !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .detail-grid,
    .service-hero {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .service-hero {
        padding: 42px 18px;
        gap: 28px;
    }

    .service-hero h1 {
        font-size: 35px;
    }

    .detail-main {
        font-size: 17px;
    }

    .service-sidebar {
        display: flex;
    }

}


/* =========================================================
   SERVICE DETAIL HEADINGS
   ========================================================= */

.detail-main h2 {
    margin-top: 36px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.detail-main h3 {
    margin-top: 28px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.detail-main h4 {
    margin-top: 22px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.detail-main h5 {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}
