:root { --navy: #0F2942; --navy-dark: #091A2B; --amber: #F59E0B; --amber-hover: #D97706; --green: #16A34A; --bg-light: #F8FAFC; --text-main: #1E293B; --text-muted: #475569; --border: #E2E8F0; --radius: 12px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Tajawal', system-ui, -apple-system, sans-serif; color: var(--text-main); background: #fff; line-height: 1.7; direction: rtl; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 8px; padding: 12px 24px; cursor: pointer; border: none; font-family: inherit; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-accent { background: var(--amber); color: var(--navy-dark); }
.btn-accent:hover { background: var(--amber-hover); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { opacity: 0.92; }
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-badge { background: var(--navy); color: var(--amber); font-weight: 800; padding: 6px 12px; border-radius: 8px; font-size: 1.2rem; }
.logo-text strong { display: block; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.logo-text small { font-size: 0.78rem; color: var(--text-muted); }
.nav-list { display: flex; list-style: none; gap: 24px; font-weight: 600; }
.nav-list a:hover { color: var(--amber-hover); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }
.hero-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 64px 0; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 50px; font-size: 0.88rem; margin-bottom: 18px; color: #FDE68A; }
.pulse-dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; }
.hero-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero-subtitle { color: #CBD5E1; font-size: 1.1rem; margin-bottom: 28px; }
.service-finder-box { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 20px; border-radius: var(--radius); margin-bottom: 24px; }
.finder-title { font-weight: 700; margin-bottom: 12px; font-size: 0.95rem; color: #F8FAFC; }
.finder-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.finder-form select { width: 100%; padding: 12px; border-radius: 8px; border: none; font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--text-main); }
.hero-direct-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card-stats { position: relative; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 36px 24px; text-align: center; }
.stat-badge { position: absolute; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); text-align: right; }
.stat-badge strong { display: block; font-size: 1.1rem; color: var(--amber-hover); }
.stat-badge span { font-size: 0.8rem; font-weight: 600; }
.top-right { top: -16px; right: -12px; }
.bottom-left { bottom: -16px; left: -12px; }
.trust-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.trust-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.services-section, .faq-section, .latest-posts-section { padding: 72px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-tag { display: inline-block; background: #FEF3C7; color: #B45309; font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; }
.section-header h2 { font-size: 2rem; color: var(--navy); margin-bottom: 10px; }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.bento-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-card:hover { border-color: var(--amber); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15,41,66,0.08); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-badge { background: var(--bg-light); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.card-arrow { font-weight: 800; color: var(--amber-hover); }
.bento-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.bento-card p { font-size: 0.93rem; color: var(--text-muted); }
.service-landing { padding: 32px 0 72px; }
.breadcrumbs { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs.light, .breadcrumbs.light a { color: #94A3B8; }
.service-hero-box { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 16px; padding: 32px; margin-bottom: 40px; align-items: center; }
.hero-top-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.badge-live { display: inline-block; background: #DCFCE7; color: #166534; font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 50px; }
.service-rating-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); padding: 4px 12px; border-radius: 50px; font-size: 0.85rem; }
.stars-outer { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; direction: ltr; }
.stars-base { color: #CBD5E1; }
.stars-fill { position: absolute; top: 0; left: 0; width: var(--rating-width, 98%); overflow: hidden; color: var(--amber); white-space: nowrap; }
.rating-score { color: var(--navy); font-weight: 800; }
.rating-count { color: var(--text-muted); font-size: 0.8rem; }
.service-title { font-size: 2rem; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.service-highlights { list-style: none; margin-bottom: 24px; display: grid; gap: 8px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.service-hero-media img { width: 100%; height: auto; border-radius: 12px; }
.service-content-body { max-width: 820px; font-size: 1.08rem; }
.service-content-body h2 { color: var(--navy); margin: 28px 0 12px; }
.service-content-body p { margin-bottom: 16px; }
.faq-section { background: var(--bg-light); }
.faq-wrapper, .faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; }
.faq-question { font-weight: 700; font-size: 1.05rem; color: var(--navy); cursor: pointer; }
.faq-answer { margin-top: 12px; color: var(--text-muted); }
.silo-related-services { margin-top: 56px; padding-top: 36px; border-top: 2px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.related-card { background: var(--bg-light); border: 1px solid var(--border); padding: 18px; border-radius: 10px; }
.related-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.related-card span { font-size: 0.85rem; color: var(--amber-hover); font-weight: 700; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.post-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.read-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--amber-hover); }
.archive-hero, .page-hero-banner { background: var(--navy); color: #fff; padding: 48px 0; }
.archive-hero h1, .page-hero-banner h1 { font-size: 2.1rem; margin: 10px 0; }
.archive-description { color: #CBD5E1; max-width: 760px; font-size: 1.05rem; }
.archive-body, .page-content-wrapper { padding: 40px 0 72px; }
.city-filter-bar { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.filter-label { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill { background: #fff; border: 1px solid var(--border); color: var(--text-main); padding: 6px 14px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; }
.filter-pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.archive-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.service-archive-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-light); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-city-tag { position: absolute; top: 12px; right: 12px; background: var(--navy); color: var(--amber); font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: 6px; }
.card-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.card-meta-tags { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 10px; color: var(--text-muted); font-weight: 600; }
.meta-cat { color: var(--amber-hover); }
.card-title { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.card-excerpt { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.card-footer-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.empty-archive-box { text-align: center; background: var(--bg-light); border: 1px solid var(--border); border-radius: 16px; padding: 48px 24px; }
.archive-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.archive-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; font-weight: 700; color: var(--navy); }
.archive-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.blog-single-page { padding: 32px 0 72px; }
.blog-layout-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 36px; align-items: start; }
.article-cat-badge { display: inline-block; background: #FEF3C7; color: #B45309; font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.article-title { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy); line-height: 1.35; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-featured-image img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 24px; }
.auto-toc-box { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.toc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--navy); }
.toc-header button { background: none; border: 1px solid var(--border); padding: 3px 10px; border-radius: 6px; font-family: inherit; cursor: pointer; }
.toc-list { list-style: none; display: grid; gap: 8px; }
.toc-list li.toc-sub { padding-right: 18px; font-size: 0.9rem; }
.article-bottom-cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.sidebar-sticky-box { position: sticky; top: 96px; display: grid; gap: 24px; }
.sidebar-cta-card { background: var(--bg-light); border: 2px solid var(--navy); border-radius: 16px; padding: 24px; }
.sidebar-btns { display: grid; gap: 10px; margin-top: 16px; }
.static-page-article { max-width: 840px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.archive-search-wrapper { max-width: 680px; margin: 0 auto 36px; }
.inline-search-form { display: flex; gap: 10px; background: #fff; padding: 6px; border: 2px solid var(--border); border-radius: 12px; }
.inline-search-form input[type="search"] { flex: 1; border: none; padding: 10px 14px; font-family: inherit; font-size: 1rem; outline: none; }
.error-404-page { padding: 64px 0 84px; background: var(--bg-light); }
.error-404-box { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 48px 32px; text-align: center; }
.error-code-badge { display: inline-block; background: #FEE2E2; color: #B91C1C; font-weight: 800; font-size: 0.88rem; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.error-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 24px 0; }
.quick-links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.quick-link-pill { background: var(--bg-light); border: 1px solid var(--border); color: var(--navy); font-weight: 700; padding: 8px 18px; border-radius: 50px; }
.af-compare-wrapper { margin: 32px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-light); }
.af-compare-container { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; direction: ltr; --pos: 50%; }
.af-compare-container img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.af-img-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.af-badge { position: absolute; top: 16px; padding: 5px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 800; z-index: 3; }
.af-badge-before { left: 16px; background: rgba(15, 41, 66, 0.9); color: #fff; }
.af-badge-after { right: 16px; background: var(--amber); color: var(--navy-dark); }
.af-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; }
.af-slider-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); z-index: 4; pointer-events: none; }
.af-slider-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--navy); color: var(--amber); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.af-compare-caption { padding: 12px 18px; text-align: center; font-size: 0.92rem; font-weight: 600; color: var(--text-muted); background: #fff; }
.site-footer { background: var(--navy-dark); color: #CBD5E1; padding: 56px 0 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 14px; }
.footer-links ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.88rem; }
.mobile-sticky-bar { display: none; }
@media (max-width: 900px) {
    .hero-grid, .service-hero-box, .footer-grid, .posts-grid, .blog-layout-grid { grid-template-columns: 1fr; }
    .finder-form { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; position: absolute; top: 76px; right: 0; left: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--border); }
    .main-nav.is-open { display: block; }
    .nav-list { flex-direction: column; gap: 14px; }
    .mobile-menu-toggle { display: flex; }
    .mobile-sticky-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: 56px; box-shadow: 0 -4px 12px rgba(0,0,0,0.15); }
    .sticky-btn { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1rem; }
    .sticky-call { background: var(--navy); }
    .sticky-wa { background: var(--green); }
}
