/* Maintenance Pro v3.0 - Mobile-First Minimal CSS */
:root {
    --mp-primary: #164e3f;
    --mp-accent: #22c55e;
    --mp-secondary: #c8a24a;
    --mp-dark: #0f172a;
    --mp-bg: #f9f8f4;
    --mp-surface: #ffffff;
    --mp-text: #334155;
    --mp-muted: #64748b;
    --mp-border: #e5e7eb;
    --mp-h2-bg: #edf7f3;
    --mp-h2-border: #164e3f;
    --mp-radius: 12px;
    --mp-font: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    --mp-base-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--mp-base-size); scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--mp-font);
    color: var(--mp-text);
    background: var(--mp-bg);
    line-height: 1.75;
    padding-bottom: 64px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mp-primary); text-decoration: none; }
h1, h2, h3, h4 { color: var(--mp-dark); margin: 0 0 .75rem; line-height: 1.3; font-weight: 800; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.mp-container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1rem; }
.mp-container-narrow { max-width: 820px; }
.mp-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: middle; }

/* Buttons */
.mp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 44px; padding: .6rem 1.2rem; border-radius: var(--mp-radius);
    font-family: inherit; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer;
}
.mp-btn-primary { background: var(--mp-primary); color: #fff; }
.mp-btn-accent { background: var(--mp-accent); color: #fff; }
.mp-btn-dark { background: #1e293b; color: #fff; }
.mp-btn-outline { background: #fff; color: var(--mp-dark); border-color: var(--mp-border); }
.mp-btn-sm { min-height: 38px; padding: .4rem .85rem; font-size: .875rem; }
.mp-btn-lg { min-height: 48px; padding: .75rem 1.4rem; }
.mp-btn-block { width: 100%; }

.mp-gold-badge {
    display: inline-block; padding: .25rem .75rem; border-radius: 6px;
    background: var(--mp-secondary); color: #1e293b; font-weight: 800; font-size: .8rem;
}

/* Header */
.mp-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97); border-bottom: 1px solid var(--mp-border);
}
.mp-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: .75rem; flex-wrap: nowrap; }
.mp-site-title { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.2rem; font-weight: 800; color: var(--mp-dark); }
.mp-brand img { max-height: 44px; width: auto; }
.mp-hdr-btn { display: none; }
@media (min-width: 768px) { .mp-hdr-btn { display: inline-flex; } }

.mp-menu-toggle, .mp-nav-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--mp-border); border-radius: 8px; background: #fff; cursor: pointer;
}
.mp-nav {
    position: fixed; top: 0; right: -100%; width: min(290px, 85vw); height: 100vh;
    background: #fff; z-index: 200; padding: 1.25rem; box-shadow: -6px 0 24px rgba(0,0,0,.12);
    transition: right .25s ease; overflow-y: auto;
}
.mp-nav.is-open { right: 0; }
.mp-nav-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 150; }
.mp-menu { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.mp-menu a { display: block; padding: .65rem .5rem; color: var(--mp-dark); font-weight: 700; border-radius: 6px; }
@media (min-width: 992px) {
    .mp-menu-toggle, .mp-nav-close, .mp-nav-overlay { display: none !important; }
    .mp-nav { position: static; width: auto; height: auto; padding: 0; box-shadow: none; background: transparent; overflow: visible; }
    .mp-menu { flex-direction: row; margin: 0; gap: 1.15rem; }
}

/* Sections & Images (Background / Side) */
.mp-section { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.mp-bg-alt { background: #ffffff; }
.mp-has-bg, .mp-has-bg h1, .mp-has-bg h2, .mp-has-bg h3, .mp-has-bg p { color: #fff !important; }
.mp-section-head { text-align: center; max-width: 680px; margin: 0 auto 2rem; }
.mp-section-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.mp-section-head p { margin: 0; color: var(--mp-muted); }
.mp-section-kicker, .mp-overline { font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--mp-muted); margin: 0 0 .6rem; text-transform: uppercase; }

.mp-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: linear-gradient(135deg, #0f362c, #164e3f); color: #fff; }
.mp-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.7rem); margin-top: .75rem; }
.mp-hero-subtitle { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 0 0 1.5rem; max-width: 680px; }
.mp-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.mp-hero-grid, .mp-split-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
    .mp-hero-grid.has-side-img, .mp-split-grid.has-side { grid-template-columns: 1.15fr 0.85fr; }
}
.mp-side-media img { width: 100%; border-radius: var(--mp-radius); object-fit: cover; }

.mp-mini-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; }
.mp-mini-stats strong { display: block; font-size: 1.6rem; color: var(--mp-primary); }

/* Product-Like Service Cards */
.mp-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.mp-prod-card {
    background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius);
    overflow: hidden; display: flex; flex-direction: column;
}
.mp-prod-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #164e3f, #0f2922); overflow: hidden; }
.mp-prod-media img { width: 100%; height: 100%; object-fit: cover; }
.mp-card-badge { position: absolute; top: 12px; right: 12px; z-index: 2; }
.mp-prod-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.mp-prod-body h3, .mp-prod-body h2 { font-size: 1.15rem; margin-bottom: .35rem; }
.mp-prod-body h3 a, .mp-prod-body h2 a { color: var(--mp-dark); }
.mp-prod-sub { margin: 0 0 1rem; font-size: .9rem; color: var(--mp-muted); flex: 1; }
.mp-prod-actions { display: grid; gap: .6rem; }
.mp-link-more { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; font-weight: 700; font-size: .9rem; color: var(--mp-dark); }

/* Single Service Page (Matching Mockup Image) */
.mp-srv-top-bar { background: #fff; border-bottom: 1px solid var(--mp-border); padding: .75rem 0; }
.mp-breadcrumbs { font-size: .85rem; color: var(--mp-muted); }
.mp-srv-banner {
    background: linear-gradient(120deg, #0f2e26 0%, #1d5c4a 100%);
    color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.mp-srv-banner h1 { color: #fff; font-size: clamp(1.75rem, 3.8vw, 2.6rem); margin: .75rem 0 .5rem; }
.mp-srv-banner-sub { margin: 0; color: rgba(255,255,255,.85); font-size: 1rem; }

.mp-srv-layout {
    display: grid; gap: 2rem; padding-block: 2.25rem; align-items: start;
}
@media (min-width: 920px) {
    .mp-srv-layout { grid-template-columns: 1fr 340px; }
    .mp-srv-sidebar { position: sticky; top: 84px; }
}
.mp-srv-block { margin-bottom: 2.25rem; }
.mp-side-card {
    background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius);
    padding: 1.35rem; margin-bottom: 1.25rem;
}
.mp-side-btns { display: grid; gap: .65rem; }
.mp-spec-row { padding: .75rem 0; border-bottom: 1px solid var(--mp-border); }
.mp-spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.mp-spec-row span { display: block; font-size: .82rem; color: var(--mp-muted); }
.mp-spec-row strong { color: var(--mp-dark); font-size: .95rem; }

/* Service Gallery Slider */
.mp-gal-slider { position: relative; border-radius: var(--mp-radius); overflow: hidden; background: #0f2e26; }
.mp-gal-slide { display: none; margin: 0; position: relative; aspect-ratio: 16 / 10; }
.mp-gal-slide.is-active { display: block; }
.mp-gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.mp-gal-slide figcaption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: .65rem 1rem;
    background: rgba(15,23,42,.68); color: #fff; font-size: .88rem; text-align: center;
}
.mp-gal-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,23,42,.5); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mp-gal-prev { right: 12px; }
.mp-gal-next { left: 12px; }
.mp-gal-dots { display: flex; justify-content: center; gap: 6px; padding: 10px; background: var(--mp-bg); }
.mp-gal-dot { width: 10px; height: 8px; border-radius: 999px; border: none; background: #cbd5e1; cursor: pointer; padding: 0; }
.mp-gal-dot.is-active { width: 24px; background: var(--mp-secondary); }

.mp-related-srv { border-top: 1px solid var(--mp-border); background: #fff; }
.mp-related-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }

/* Why Us, Process, Reviews, Areas */
.mp-why-grid, .mp-process-grid, .mp-reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0;
}
.mp-info-card, .mp-review-card {
    background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1.35rem;
}
.mp-icon-circle { width: 42px; height: 42px; border-radius: 10px; background: var(--mp-h2-bg); color: var(--mp-primary); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.mp-step-num { font-size: 1.4rem; font-weight: 800; color: var(--mp-primary); display: block; margin-bottom: .4rem; }
.mp-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: .6rem; }
.mp-review-author { display: flex; justify-content: space-between; font-size: .88rem; color: var(--mp-muted); margin-top: .75rem; }

.mp-areas-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .75rem; }
.mp-areas-list li { background: #fff; border: 1px solid var(--mp-border); border-radius: 8px; padding: .65rem .9rem; display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.mp-areas-list li a { display: flex; align-items: center; gap: .4rem; color: var(--mp-dark); width: 100%; }

/* Before & After */
.mp-ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.mp-ba-card { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; }
.mp-ba-slider { position: relative; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; }
.mp-ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mp-ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.mp-ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.mp-ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--mp-primary); color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.mp-ba-badge { position: absolute; top: 10px; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(15,23,42,.75); z-index: 2; }
.mp-ba-badge-before { left: 10px; }
.mp-ba-badge-after { right: 10px; background: var(--mp-accent); }
.mp-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.mp-ba-meta { padding: 1rem 1.2rem; }
.mp-ba-meta h3 { font-size: 1.05rem; margin: .4rem 0 0; }

/* FAQ Accordion */
.mp-faq-list { display: grid; gap: .75rem; }
.mp-faq-item { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); }
.mp-faq-item summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--mp-dark); }
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-answer { padding: 0 1.2rem 1rem; border-top: 1px solid var(--mp-border); }

/* Contact Form Card */
.mp-contact-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.mp-contact-list li { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.mp-quote-card { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1.5rem; }
.mp-field { margin-bottom: .9rem; }
.mp-field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.mp-field input { width: 100%; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--mp-border); border-radius: 8px; font-family: inherit; }

/* Post/Page Top Data Card + H2 Highlight + TOC */
.mp-content-wrap { padding-block: 2.25rem; max-width: 880px; }
.mp-data-card {
    background: #fff; border: 1px solid var(--mp-border); border-right: 4px solid var(--mp-secondary);
    border-radius: var(--mp-radius); padding: 1.25rem; margin: 1.25rem 0 1.75rem;
}
.mp-data-card-summary { margin: .65rem 0 1rem; }
.mp-data-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.mp-dc-item { background: var(--mp-bg); padding: .65rem .85rem; border-radius: 8px; }
.mp-dc-item span { display: block; font-size: .78rem; color: var(--mp-muted); }
.mp-data-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.mp-toc { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1rem 1.2rem; margin-bottom: 1.75rem; }
.mp-toc summary { font-weight: 800; cursor: pointer; color: var(--mp-dark); }
.mp-toc ol { margin: .65rem 0 0; padding-right: 1.25rem; }

/* Custom H2 Highlight + Right Vertical Color Bar */
.mp-styled-h2 h2 {
    background: var(--mp-h2-bg);
    border-right: 5px solid var(--mp-h2-border);
    padding: .65rem 1rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.mp-tax-rich-box { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1.5rem; margin-bottom: 2rem; }
.mp-page-header { background: #fff; border-bottom: 1px solid var(--mp-border); padding: 2rem 0; }

/* Footer & Mobile Bar */
.mp-footer { background: var(--mp-dark); color: #cbd5e1; padding-top: 2.75rem; }
.mp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; padding-bottom: 2.25rem; }
.mp-footer-brand, .mp-footer-heading { font-weight: 800; color: #fff; margin: 0 0 .75rem; font-size: 1.1rem; }
.mp-footer-links, .mp-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.mp-footer a { color: #cbd5e1; }
.mp-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; font-size: .85rem; }
.mp-footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.mp-legal-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; }

.mp-mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; }
.mp-mbar-btn { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 52px; font-weight: 800; color: #fff; }
.mp-mbar-call { background: var(--mp-primary); }
.mp-mbar-wa { background: var(--mp-accent); }
@media (min-width: 768px) { .mp-mobile-bar { display: none; } }
