/*
Theme Name: Itqan Final WordPress
Theme URI: https://contracting-sa.com/
Author: Itqan Home Contracting
Description: النسخة النهائية المحولة من الموقع الاحترافي الحالي إلى قالب WordPress مستقل.
Version: 1.0.0
Text Domain: itqan-final
*/

#services .service-photo.gas{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-خدمة-1343.jpg') center/cover no-repeat!important}
#services .service-photo.roof{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-خدمة-5.png') center/cover no-repeat!important}
#services .service-photo.tank{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-خدمة-3.png') center/cover no-repeat!important}
#services .service-photo.water{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-خدمة-2.png') center/cover no-repeat!important}
#services .service-photo.repair{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-–-ترميمات-عامة.png') center/cover no-repeat!important}
#services .service-photo.detect{background:url('/wp-content/uploads/2026/09/إتقان-المنزل-خدمة-1.png') center/cover no-repeat!important}

.service-page{direction:rtl;background:#f5f8fa;color:#0b2b40;min-height:100vh}.service-hero{min-height:460px;background-size:cover;background-position:center;display:flex;align-items:center;padding:55px 7%;color:#fff}.service-hero-inner{max-width:720px}.service-hero span{font-weight:800}.service-hero h1{font-size:52px;margin:14px 0}.service-hero p{font-size:23px;line-height:1.8}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-actions a{background:#ff6a00;color:#fff;padding:14px 24px;border-radius:12px;text-decoration:none;font-weight:800}.hero-actions a:last-child{background:#1cab4b}.service-content{max-width:1180px;margin:-45px auto 60px;background:#fff;border-radius:24px;box-shadow:0 15px 45px rgba(0,0,0,.10);padding:38px;display:grid;grid-template-columns:1.1fr .9fr;gap:34px;position:relative}.service-copy h1{display:none}.service-copy h2{font-size:28px;margin-top:24px}.service-copy p{font-size:19px;line-height:2;color:#52636e}.service-gallery img{width:100%;border-radius:18px;display:block}.service-trust{margin-top:16px;background:#082f49;color:#fff;padding:20px;border-radius:16px;display:flex;flex-direction:column;gap:7px}.service-trust strong{font-size:21px;color:#f6c54b}@media(max-width:700px){.service-hero{min-height:520px;padding:30px 20px;background-position:center;background-size:cover;align-items:flex-end}.service-hero-inner{width:100%;background:rgba(5,34,55,.72);padding:22px 18px;border-radius:18px;backdrop-filter:blur(2px)}.service-hero span{font-size:14px}.service-hero h1{font-size:34px;line-height:1.25;margin:8px 0}.service-hero p{font-size:17px;line-height:1.7;margin:8px 0}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.hero-actions a{width:auto;text-align:center;padding:13px 8px;font-size:15px;border-radius:10px}.service-content{margin:14px 12px 38px;padding:16px;grid-template-columns:1fr;border-radius:18px;gap:18px}.service-copy h2{font-size:23px}.service-copy p{font-size:16px;line-height:1.9}.service-gallery{grid-row:1}.service-gallery-grid{grid-template-columns:1fr;gap:10px}.service-gallery-grid img{height:220px!important;max-height:none!important;object-fit:cover;border-radius:14px}.service-trust{padding:16px}.service-trust strong{font-size:18px}}
/* Mobile-first polish: keeps the professional layout readable and tappable on phones */
@media(max-width:700px){
html{-webkit-text-size-adjust:100%}
html,body{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body{font-size:16px}
.service-page{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.service-page>*,.service-hero,.service-hero-inner{margin-left:auto!important;margin-right:auto!important}
.service-hero-inner{text-align:center!important}
.service-copy{text-align:right!important}
.service-content{margin-left:auto!important;margin-right:auto!important}
.service-gallery,.service-copy{width:100%!important}
.service-features{justify-content:center!important}
.service-hero{min-height:auto!important;padding:18px 12px!important;background-position:center!important}
.service-hero-inner{padding:18px 14px!important;border-radius:16px!important}
.service-hero h1{font-size:clamp(27px,8vw,34px)!important;line-height:1.3!important}
.service-hero p{font-size:16px!important;line-height:1.8!important}
.hero-actions{grid-template-columns:1fr!important}
.hero-actions a{min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important}
.service-content{width:calc(100% - 20px)!important;max-width:calc(100vw - 20px)!important;margin:10px!important;padding:14px!important}
.service-copy h2{font-size:22px!important;line-height:1.45!important}
.service-copy p,.service-copy li{font-size:16px!important;line-height:1.9!important}
.service-gallery img,.service-gallery .gallery-main{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:14px!important}
.service-features strong{display:block!important;width:100%!important;text-align:center!important;font-size:14px!important}
}

.service-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}.service-gallery img{width:100%;height:250px;object-fit:cover;border-radius:20px;box-shadow:0 12px 30px rgba(5,34,55,.14)}.service-gallery .gallery-main{grid-column:1/-1;height:360px}.service-trust{grid-column:1/-1}.service-features{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.service-features strong{background:#f4f8fa;border:1px solid #dce7ec;padding:10px 14px;border-radius:30px;color:#052237}.photo-credit{grid-column:1/-1;color:#6c7b84;font-size:11px}@media(max-width:700px){*{box-sizing:border-box!important}html{width:100%!important;max-width:100vw!important;overflow-x:hidden!important}body{width:100%!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}.service-page{display:block!important;width:100%!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}.service-hero{width:100%!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:24px 16px!important}.service-hero-inner{width:100%!important;max-width:100%!important;min-width:0!important}.service-content{display:block!important;width:calc(100% - 24px)!important;max-width:calc(100vw - 24px)!important;min-width:0!important;margin:12px!important;padding:14px!important;overflow:hidden!important}.service-content *{max-width:100%!important;min-width:0!important}.service-copy,.service-gallery{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}.service-copy .alignfull,.service-copy .alignwide,.service-copy .wp-block-group,.service-copy .wp-block-group__inner-container,.service-copy .wp-block-columns,.service-copy .wp-block-column,.service-copy figure,.service-copy .is-layout-constrained,.service-copy .is-layout-flex,.service-copy .is-layout-flow{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;flex:0 0 100%!important}.service-copy .wp-block-columns{gap:16px!important}.service-copy img,.service-gallery img,.service-gallery .gallery-main{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 0 12px!important;object-fit:cover!important}.service-copy [style*="margin-top:-"]{margin-top:12px!important}.service-copy h2,.service-copy h3,.service-copy p,.service-copy li{width:auto!important;max-width:100%!important;overflow-wrap:anywhere!important}.service-gallery{grid-template-columns:none!important}.service-features{gap:7px}.service-features strong{font-size:13px;padding:8px 10px}}
