/* ===== Tokens ===== */
:root {
	--navy: #0a3049;
	--navy-dark: #06202f;
	--gold: #b8862f;
	--gold-dark: #96691f;
	--bg: #faf8f4;
	--surface: #ffffff;
	--tint: #f2ede2;
	--text: #1c2a30;
	--muted: #5c6b72;
	--border: #e6ddc9;
	--border-strong: #d8cba9;
	--good: #1c7a4b;
	--good-bg: #e7f5ec;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 6px 22px rgba(10,48,73,.08);
	--shadow-lg: 0 20px 48px rgba(10,48,73,.16);
	--container: 1180px;
	--font-ar: 'Tajawal', system-ui, sans-serif;
	--font-en: 'Inter', system-ui, sans-serif;
}
html[lang="en"] { --font-primary: var(--font-en); }
html:not([lang="en"]) { --font-primary: var(--font-ar); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font-primary), var(--font-ar), var(--font-en), sans-serif;
	line-height: 1.7; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; font-weight: 800; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.5vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; top: -50px; inset-inline-start: 10px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 10px; }
.ic { flex-shrink: 0; vertical-align: middle; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; }
.btn-accent { background: var(--gold); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero--home .btn-outline, .cta-block .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero--home .btn-outline:hover { background: #fff; color: var(--navy); }
.phone-ltr { direction: ltr; unicode-bidi: isolate; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }

/* ===== Top bar & header ===== */
.top-bar { background: var(--navy-dark); color: #d9e4e9; font-size: 13.5px; }
.top-bar-inner { display: flex; align-items: center; gap: 22px; padding-block: 7px; flex-wrap: wrap; }
.top-bar a, .top-bar span { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.top-bar a:hover { color: #fff; }
.top-wa { margin-inline-start: auto; color: #8fd4a8; font-weight: 700; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.site-logo-img { height: 52px; width: auto; }
.primary-nav { flex: 1; }
.primary-menu { display: flex; gap: 6px; flex-wrap: wrap; }
.primary-menu a { padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.primary-menu a:hover { background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--border-strong); border-radius: 20px; font-weight: 700; font-size: 13.5px; color: var(--navy); }
.lang-switch:hover { background: var(--tint); }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu { display: none; }
.mobile-menu-list a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--border); font-weight: 600; }

@media (max-width: 900px) {
	.primary-nav { display: none; }
	.menu-toggle { display: flex; }
	.mobile-menu[data-open] { display: block; background: var(--surface); border-top: 1px solid var(--border); }
	.top-hours { display: none; }
	.top-bar-inner { justify-content: space-between; }
	.header-inner { flex-wrap: nowrap; }
	.site-logo-img { height: 40px; }
	.lang-switch span { display: none; }
}
@media (max-width: 480px) {
	.top-bar-inner a:first-child span.phone-ltr { font-size: 12.5px; }
}

/* ===== Hero ===== */
.hero--home { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: clamp(50px,8vw,100px) 0 clamp(60px,8vw,110px); text-align: center; position: relative; overflow: hidden; }
.hero--home::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(184,134,47,.18), transparent 45%), radial-gradient(circle at 85% 80%, rgba(184,134,47,.12), transparent 40%); }
.hero-inner { position: relative; max-width: 780px; margin-inline: auto; }
.hero--home h1 { color: #fff; }
.hero-sub { color: #c7d6dd; font-size: 18px; max-width: 42em; margin-inline: auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.trust-bar { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: #a9c0c9; }
.trust-bar li { display: flex; align-items: center; gap: 7px; }

.page-hero { background: var(--tint); border-bottom: 1px solid var(--border); padding-block: 34px 30px; }
.page-hero-desc { font-size: 17px; max-width: 55em; }
.page-hero--pillar { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; }
.page-hero--pillar h1 { color: #fff; }
.page-hero--pillar .page-hero-desc { color: #c7d6dd; }
.page-hero--pillar .crumbs a, .page-hero--pillar .crumbs span { color: #c7d6dd; }

/* ===== Breadcrumbs ===== */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13.5px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 6px; opacity: .5; }
.crumbs a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; }

/* ===== Sections ===== */
.section { padding-block: clamp(44px,6vw,80px); }
.section--tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { font-size: 16px; }

/* ===== Category / pillar grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.cat-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-card strong { flex: 1; font-size: 15.5px; }
.grid-title { margin-top: 40px; }

/* ===== Intent banner ===== */
.intent-banner { display: flex; gap: 14px; align-items: flex-start; background: #fff7e8; border: 1.5px solid #ecd6a4; border-radius: var(--radius); padding: 16px 20px; margin: 22px 0; color: #6b4c14; }
.intent-banner .ic { color: var(--gold-dark); margin-top: 2px; }
.intent-banner strong { display: block; color: #4a3308; }
.intent-banner span { display: block; margin-top: 4px; font-size: 14.5px; }

/* ===== Category layout ===== */
.cat-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; padding-block: 40px; align-items: start; }
.cat-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.entry-content ul li { color: var(--text); margin-bottom: .4em; }
@media (max-width: 980px) { .cat-layout { grid-template-columns: 1fr; } .cat-side { position: static; } }

/* ===== Price box ===== */
.price-box { background: var(--surface); border: 1px solid var(--border); border-inline-start: 4px solid var(--gold); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.price-box h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.price-box .ic { color: var(--gold-dark); }
.price-box ul { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.price-box li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text); }
.price-box li .ic { color: var(--good); }

/* ===== Side form card ===== */
.side-form-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; }
.side-form-card h2 { color: #fff; font-size: 19px; }
.request-form label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 4px; color: #dbe6ea; }
.side-form-card .request-form label { color: #dbe6ea; }
.request-form input, .request-form textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff; font-family: inherit; margin-bottom: 14px; }
.contact-main .request-form input, .contact-main .request-form textarea { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.request-form input::placeholder, .request-form textarea::placeholder { color: rgba(255,255,255,.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.request-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 12.5px; color: #9fb3ba; margin-top: 10px; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.form-success { display: flex; align-items: center; gap: 8px; background: var(--good-bg); color: var(--good); padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }

/* ===== Steps ===== */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step-mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; text-align: center; position: relative; }
.step-mini .num { position: absolute; top: 12px; inset-inline-end: 14px; font-weight: 800; color: var(--border-strong); font-size: 22px; }
.step-mini .ic { color: var(--gold-dark); margin-bottom: 8px; }
.step-mini strong { display: block; margin-bottom: 6px; }
.step-mini p { font-size: 13.5px; margin: 0; }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr 1fr; } }

/* ===== Neighborhoods ===== */
.hoods { margin-top: 40px; }
.hoods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; margin-top: 16px; }
.hood-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.hood-card strong { display: block; margin-bottom: 4px; color: var(--navy); }
.hood-card p { font-size: 13.5px; margin: 0; }
.hoods-note { margin-top: 14px; font-size: 14px; }

/* ===== Related ===== */
.related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.related-list a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 20px; background: var(--tint); font-weight: 600; font-size: 14px; }
.related-list a:hover { background: var(--border-strong); }
.related-pillar { background: var(--navy) !important; color: #fff !important; }

/* ===== Why grid ===== */
.why-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.why-list li { display: flex; gap: 14px; }
.why-list .ic { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.why-list strong { display: block; margin-bottom: 3px; }
.why-list p { margin: 0; font-size: 14.5px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-block { padding-block: 40px; max-width: 820px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item summary .ic { transition: transform .2s; color: var(--gold-dark); }
.faq-a { padding-bottom: 16px; color: var(--muted); }

/* ===== CTA block ===== */
.cta-block { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; text-align: center; padding: clamp(40px,6vw,64px) 20px; margin-top: 40px; }
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cta-block .btn-outline { border-color: #fff; color: #fff; }
.cta-block .btn-outline:hover { background: #fff; color: var(--gold-dark); }
.cta-block .btn-accent { background: var(--navy); }
.cta-block .btn-accent:hover { background: var(--navy-dark); }

/* ===== Stats / contact / footer ===== */
.stats-row { display: flex; gap: 30px; flex-wrap: wrap; margin: 30px 0; padding: 26px; background: var(--tint); border-radius: var(--radius); }
.stat strong { display: block; font-size: 26px; color: var(--navy); }
.stat span { font-size: 13.5px; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-block: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-list a, .contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-list .ic { color: var(--gold-dark); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy-dark); color: #b8c7cd; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-block: 50px; }
.footer-brand .site-logo-img { height: 46px; filter: brightness(0) invert(1); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: #fff; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; }
.footer-menu a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 16px; text-align: center; font-size: 13px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; } }

.error-404 { text-align: center; padding-block: 100px; }
.search-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

/* ===== Icons naturally mirror for RTL where directional ===== */
html[dir="rtl"] .icon-flip { transform: scaleX(-1); }
