/* FMC redesign: deep teal brand with amber call-to-action, Alexandria headings + IBM Plex Sans Arabic body.
   Layout: full-width bands with a centered 1180px wrap; cards for services/areas; sticky call bar on mobile. */
:root {
	--fmc-brand: #0e3b43;
	--fmc-brand-2: #17606a;
	--fmc-accent: #f2a01d;
	--fmc-accent-ink: #2a1a00;
	--fmc-wa: #1a9e55;
	--fmc-ink: #13202a;
	--fmc-muted: #56666e;
	--fmc-bg: #f4f7f6;
	--fmc-card: #ffffff;
	--fmc-line: #dbe4e2;
	--fmc-radius: 14px;
	--fmc-head: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
	--fmc-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--global-palette1: var(--fmc-brand);
	--global-palette2: var(--fmc-brand-2);
	--global-palette3: var(--fmc-ink);
	--global-palette4: var(--fmc-ink);
	--global-palette5: var(--fmc-muted);
}

body, button, input, select, textarea { font-family: var(--fmc-body); }
body { color: var(--fmc-ink); background: #fff; }
h1, h2, h3, h4, h5, h6, .site-title, .entry-title { font-family: var(--fmc-head); letter-spacing: 0; color: var(--fmc-brand); text-wrap: balance; }
a { color: var(--fmc-brand-2); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--fmc-accent); outline-offset: 2px; }

.fmc-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.fmc-btn svg, .fmc-mobilebar svg, .fmc-topbar svg, .fmc-card svg, .fmc-service svg, .fmc-arealinks svg, .fmc-hero svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- buttons ---------- */
.fmc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.3em; border-radius: 999px; font-family: var(--fmc-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.fmc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14, 59, 67, .18); }
.fmc-btn--call { background: var(--fmc-accent); color: var(--fmc-accent-ink) !important; }
.fmc-btn--call:hover { background: #ffb63b; }
.fmc-btn--wa { background: var(--fmc-wa); color: #fff !important; }
.fmc-btn--wa:hover { background: #158a49; }
.fmc-btn--sm { padding: .45em .95em; font-size: .9rem; }
.fmc-btn--lg { padding: .95em 1.6em; font-size: 1.08rem; }

/* ---------- top bar ---------- */
.fmc-topbar { background: var(--fmc-brand); color: #e6f1ef; font-size: .92rem; }
.fmc-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.fmc-topbar__note { margin: 0; display: flex; align-items: center; gap: .5em; min-width: 0; }
.fmc-topbar__note svg { fill: var(--fmc-accent); }
.fmc-topbar__actions { display: flex; gap: 8px; }

/* ---------- Kadence header polish ---------- */
/* square FMC logo: fixed width so Kadence's flex header can't shrink it to zero */
.site-branding a.brand { flex: none; }
.site-branding a.brand img.custom-logo { width: 76px; height: auto; max-width: none; max-height: none; }
@media (max-width: 1024px) { .site-branding a.brand img.custom-logo { width: 54px; } }
/* site name: small caption under the logo on desktop, hidden on tablet/mobile (stays in the markup) */
.site-branding a.brand.has-logo-image { flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.site-branding .site-title-wrap .site-title { margin: 0; font-family: var(--fmc-body); font-size: 11.5px; font-weight: 600; line-height: 1.45; color: var(--fmc-muted); max-width: 190px; text-align: center; white-space: normal; }
@media (max-width: 1024px) {
	.mobile-site-branding .site-title-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-header-row-container-inner { background: #fff; }
#masthead { box-shadow: 0 1px 0 var(--fmc-line); }
.header-navigation .header-menu-container > ul > li > a { font-family: var(--fmc-head); font-weight: 600; color: var(--fmc-ink); }
.header-navigation .header-menu-container > ul > li > a:hover { color: var(--fmc-brand-2); }

/* ---------- hero ---------- */
.fmc-hero { background: radial-gradient(1100px 500px at 85% -10%, #1d6f79 0%, transparent 60%), linear-gradient(160deg, var(--fmc-brand) 0%, #0a2c33 100%); color: #eaf3f1; }
.fmc-hero__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.fmc-eyebrow { margin: 0 0 12px; color: var(--fmc-accent); font-family: var(--fmc-head); font-weight: 600; font-size: .95rem; }
.fmc-hero__title { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.35; margin: 0 0 16px; }
.fmc-hero__lead { font-size: 1.12rem; line-height: 1.9; max-width: 58ch; margin: 0 0 24px; color: #d3e4e1; }
.fmc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.fmc-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 500; }
.fmc-hero__trust li { display: flex; align-items: center; gap: .45em; }
.fmc-hero__trust svg { fill: var(--fmc-accent); }
.fmc-hero__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.fmc-hero__badge { background: var(--fmc-accent); color: var(--fmc-accent-ink); border-radius: 16px; padding: 14px 22px; display: flex; flex-direction: column; font-family: var(--fmc-head); font-weight: 700; }
.fmc-hero__badge-num { font-size: 2.6rem; line-height: 1.1; font-weight: 800; }
.fmc-hero__truck svg { width: 120px; height: 120px; fill: #cfe7e3; }
.fmc-hero__card-note { margin: 0; color: #b9d3cf; font-weight: 500; }

/* ---------- sections ---------- */
.fmc-section { padding: 64px 0; }
.fmc-section--tint { background: var(--fmc-bg); }
.fmc-section__head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.fmc-section__head--start { text-align: start; margin: 0; }
.fmc-section__head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 10px; }
.fmc-section__head p { color: var(--fmc-muted); margin: 0; font-size: 1.05rem; }

.fmc-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fmc-service { display: flex; flex-direction: column; gap: 8px; background: var(--fmc-card); border: 1px solid var(--fmc-line); border-radius: var(--fmc-radius); padding: 22px; text-decoration: none !important; color: var(--fmc-ink); transition: border-color .15s, transform .15s; }
.fmc-service:hover { border-color: var(--fmc-brand-2); transform: translateY(-2px); }
.fmc-service__icon { width: 46px; height: 46px; border-radius: 12px; background: #e3f0ee; display: grid; place-items: center; }
.fmc-service__icon svg { fill: var(--fmc-brand-2); width: 26px; height: 26px; }
.fmc-service__title { font-family: var(--fmc-head); font-weight: 700; font-size: 1.15rem; color: var(--fmc-brand); }
.fmc-service__text { color: var(--fmc-muted); line-height: 1.8; }

.fmc-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.fmc-region { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--fmc-radius); background: var(--fmc-brand); color: #fff !important; text-decoration: none !important; }
.fmc-region:hover { background: var(--fmc-brand-2); }
.fmc-region__name { font-family: var(--fmc-head); font-weight: 700; font-size: 1.35rem; }
.fmc-region__go { color: var(--fmc-accent); font-weight: 600; }
.fmc-arealinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.fmc-arealinks a { display: flex; align-items: center; gap: .4em; padding: 8px 0; color: var(--fmc-ink); text-decoration: none; border-bottom: 1px dashed var(--fmc-line); font-size: .97rem; }
.fmc-arealinks a:hover { color: var(--fmc-brand-2); }
.fmc-arealinks svg { fill: var(--fmc-accent); }

.fmc-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 36px; align-items: start; }
.fmc-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fmc-why__list li { background: var(--fmc-bg); border-radius: var(--fmc-radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fmc-why__list strong { font-family: var(--fmc-head); color: var(--fmc-brand); font-size: 1.08rem; }
.fmc-why__list span { color: var(--fmc-muted); line-height: 1.8; }

.fmc-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fmc-steps li { counter-increment: step; background: #fff; border: 1px solid var(--fmc-line); border-radius: var(--fmc-radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.fmc-steps li::before { content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--fmc-accent); color: var(--fmc-accent-ink); font-family: var(--fmc-head); font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.fmc-steps strong { font-family: var(--fmc-head); color: var(--fmc-brand); }
.fmc-steps span { color: var(--fmc-muted); }

/* ---------- cards (related / latest) ---------- */
.fmc-related { margin-top: 40px; }
.fmc-related__title { font-size: 1.5rem; margin-bottom: 16px; }
.fmc-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fmc-card { display: flex; flex-direction: column; background: var(--fmc-card); border: 1px solid var(--fmc-line); border-radius: var(--fmc-radius); overflow: hidden; text-decoration: none !important; color: var(--fmc-ink); transition: transform .15s, border-color .15s; }
.fmc-card:hover { transform: translateY(-2px); border-color: var(--fmc-brand-2); }
.fmc-card__img { width: 100%; height: 150px; object-fit: cover; display: block; }
.fmc-card__body { display: flex; align-items: flex-start; gap: .5em; padding: 14px 16px; }
.fmc-card__pin svg { fill: var(--fmc-accent); }
.fmc-card__title { font-family: var(--fmc-head); font-weight: 600; line-height: 1.6; }

/* ---------- CTA box ---------- */
.fmc-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 28px 0; padding: 22px 24px; border-radius: 18px; background: var(--fmc-brand); color: #e6f1ef; }
.fmc-cta--end { background: linear-gradient(135deg, var(--fmc-brand) 0%, var(--fmc-brand-2) 100%); }
.fmc-cta__text { min-width: 0; flex: 1 1 280px; }
.fmc-cta__title { margin: 0 0 4px !important; font-family: var(--fmc-head); font-weight: 700; font-size: 1.25rem; color: #fff; }
.fmc-cta__sub { margin: 0 !important; color: #c9ddd9; line-height: 1.8; }
.fmc-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- article typography ---------- */
.single-post .entry-content, .fmc-prose { font-size: 1.08rem; line-height: 2; }
.single-post .entry-content h2, .fmc-prose h2 { font-size: 1.55rem; margin: 1.6em 0 .6em; padding-inline-start: 14px; border-inline-start: 4px solid var(--fmc-accent); }
.single-post .entry-content h3, .fmc-prose h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; color: var(--fmc-brand-2); }
.single-post .entry-content img, .fmc-prose img { border-radius: 12px; }
.single-post .entry-content a.fmc-kw, .single-post .entry-content p a { color: var(--fmc-brand-2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(242, 160, 29, .7); text-underline-offset: 4px; }
.single-post .entry-content table { border-collapse: collapse; width: 100%; }
.single-post .entry-content th, .single-post .entry-content td { border: 1px solid var(--fmc-line); padding: 10px 12px; }
.single-post .entry-content th { background: var(--fmc-bg); }
#ez-toc-container { background: var(--fmc-bg) !important; border: 1px solid var(--fmc-line) !important; border-radius: var(--fmc-radius) !important; padding: 16px 20px !important; box-shadow: none !important; }
#ez-toc-container .ez-toc-title { font-family: var(--fmc-head); color: var(--fmc-brand); font-weight: 700; }
#ez-toc-container a { color: var(--fmc-ink) !important; }
.single-post .entry-hero-container-inner, .single-post .entry-header { text-align: start; }

/* ---------- service areas above footer ---------- */
.fmc-areas { background: var(--fmc-brand); color: #d5e6e3; padding: 48px 0; }
.fmc-areas__title { color: #fff; font-size: 1.4rem; margin: 0 0 18px; }
.fmc-areas__list { list-style: none; margin: 0 0 20px; padding: 0; columns: 4 200px; column-gap: 24px; }
.fmc-areas__list li { break-inside: avoid; padding: 4px 0; }
.fmc-areas__list a { color: #d5e6e3; text-decoration: none; font-size: .95rem; }
.fmc-areas__list a:hover { color: var(--fmc-accent); }
.fmc-areas__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.fmc-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; text-decoration: none !important; font-size: .9rem; }
.fmc-chip:hover { background: var(--fmc-accent); color: var(--fmc-accent-ink) !important; }

/* ---------- mobile sticky bar ---------- */
.fmc-mobilebar { display: none; }
#callnowbutton { display: none !important; }

@media (max-width: 1024px) {
	.fmc-services, .fmc-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fmc-arealinks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fmc-why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
	.fmc-topbar__note { display: none; }
	.fmc-topbar__in { justify-content: center; }
	.fmc-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 40px; gap: 24px; }
	.fmc-hero__card { display: none; }
	.fmc-hero__actions .fmc-btn { flex: 1 1 100%; }
	.fmc-section { padding: 44px 0; }
	.fmc-services, .fmc-related__grid, .fmc-regions, .fmc-steps, .fmc-why__list { grid-template-columns: minmax(0, 1fr); }
	.fmc-arealinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fmc-cta { padding: 18px; }
	.fmc-cta__actions, .fmc-cta__actions .fmc-btn { width: 100%; }
	.fmc-cta__actions .fmc-btn { flex: 1 1 0; }
	.fmc-mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 9999; box-shadow: 0 -4px 18px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; }
	.fmc-mobilebar a { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 8px; font-family: var(--fmc-head); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
	.fmc-mobilebar__call { background: var(--fmc-accent); color: var(--fmc-accent-ink); }
	.fmc-mobilebar__wa { background: var(--fmc-wa); color: #fff; }
	body { padding-bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
	.fmc-btn, .fmc-card, .fmc-service { transition: none; }
	.fmc-btn:hover, .fmc-card:hover, .fmc-service:hover { transform: none; }
}
