/*
 * Promotion Master — main stylesheet
 * RTL-first (Arabic). Uses logical properties so it works in both directions.
 */

/* ---------- Tokens ---------- */
:root {
	--ink: #090972;
	--ink-2: #11118a;
	--ink-3: #1d1ba6;
	--brand: #8155ff;
	--brand-600: #6d45f0;
	--brand-700: #5532d4;
	--brand-300: #b9a2ff;
	--brand-100: #e9e1ff;
	--brand-50: #f4f0ff;
	--signal: #2ee6c9;
	--bg: #f5f5fa;
	--surface: #ffffff;
	--text: #14113c;
	--muted: #5c5980;
	--line: #e5e2f2;
	--on-dark: #ffffff;
	--on-dark-muted: rgba(255, 255, 255, .72);
	--line-dark: rgba(255, 255, 255, .14);
	--wa: #25d366;

	--radius: 22px;
	--radius-sm: 14px;
	--radius-xs: 10px;
	--shadow-sm: 0 2px 8px -2px rgba(9, 9, 114, .08);
	--shadow: 0 18px 40px -18px rgba(9, 9, 114, .25);
	--shadow-lg: 0 30px 80px -30px rgba(9, 9, 114, .45);

	--font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--container: 1240px;
	--gutter: clamp(18px, 4vw, 32px);
	--section-y: clamp(72px, 10vw, 128px);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.85;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.3; color: inherit; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 999;
	width: auto; height: auto; clip: auto; padding: 12px 18px; background: #fff; color: var(--ink); border-radius: 10px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 26px;
	border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap;
	cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px rgba(129, 85, 255, .8); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--brand-700); }
.btn--ghost { border-color: var(--line-dark); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--wa { background: var(--wa); color: #06361a; }
.btn--wa:hover { color: #06361a; background: #2fe673; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-600); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }
[dir="ltr"] .link-arrow .icon { transform: scaleX(-1); }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 600; color: var(--brand-600);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--dot::before { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(46, 230, 201, .18); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--brand-300); }
.hl { color: var(--brand); }
.section--dark .hl, .on-dark .hl { color: var(--brand-300); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.9; }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-muted); }

.h-display { font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: 1.18; letter-spacing: -.02em; }
.h-1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.22; }
.h-2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.3; }
.h-3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.sadu-band {
	height: 28px;
	background: url("../img/sadu.svg") repeat-x center / auto 28px;
	opacity: .95;
}
.sadu-band--thin { height: 16px; background-size: auto 16px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; inset-block-start: 0; z-index: 100;
	background: rgba(9, 9, 114, .97);
	/* no backdrop-filter here: it would trap the fixed mobile menu inside the header */
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: var(--ink); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.admin-bar .site-header { inset-block-start: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 0; } }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 52px; width: auto; }
.site-logo .custom-logo { height: 48px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav li { position: relative; list-style: none; }
.main-nav a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 999px;
	color: var(--on-dark-muted); font-weight: 500; font-size: 16px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-inline-start: 2px; margin-top: -4px;
	border-inline-end: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute; inset-block-start: 100%; inset-inline-start: 0;
	min-width: 260px; padding: 10px; margin-top: 10px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: -14px; height: 14px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { color: var(--text); padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--brand-50); color: var(--brand-700); }
.main-nav .mega > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px; min-width: 520px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-wa {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	border: 1.5px solid var(--line-dark); color: #fff;
}
.header-wa:hover { border-color: var(--wa); color: var(--wa); }
.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%;
	border: 1.5px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer;
	place-items: center;
}

@media (max-width: 1080px) {
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		background: var(--ink); padding: 18px var(--gutter) 40px;
		overflow-y: auto; transform: translateX(100%); visibility: hidden;
		transition: transform .35s var(--ease), visibility .35s;
		margin: 0;
	}
	.admin-bar .main-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav a { font-size: 18px; padding: 14px 16px; border-radius: 12px; justify-content: space-between; }
	.main-nav .sub-menu, .main-nav .mega > .sub-menu {
		position: static; display: none; min-width: 0; margin: 4px 0 8px; padding: 6px;
		opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: rgba(255, 255, 255, .05); grid-template-columns: 1fr;
	}
	.main-nav .sub-menu a { color: var(--on-dark-muted); font-size: 16px; }
	.main-nav .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav li:hover > .sub-menu { display: none; }
	.main-nav li.is-open:hover > .sub-menu { display: block; }
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.main-nav .mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
}
@media (min-width: 1081px) { .main-nav .mobile-cta { display: none; } }
@media (max-width: 560px) { .site-logo img, .site-logo .custom-logo { height: 40px; } .header-wa { display: none; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--ink); color: #fff;
	padding-block: clamp(56px, 8vw, 104px) 0;
	isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
	background: radial-gradient(closest-side, rgba(129, 85, 255, .55), rgba(129, 85, 255, 0));
	filter: blur(10px);
}
.hero::after {
	content: ""; position: absolute; z-index: -1; inset: auto auto -30% -15%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
	background: radial-gradient(closest-side, rgba(46, 230, 201, .16), rgba(46, 230, 201, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 8px; font-size: 14px; color: var(--on-dark-muted); }
.hero-platforms > span:first-child { margin-inline-end: 6px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.5;
	background: var(--brand-50); color: var(--brand-700);
}
.chip--dark { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid var(--line-dark); }
.chip--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.hero-bottom { margin-top: clamp(56px, 7vw, 88px); }

/* Hero visual */
.hero-visual { position: relative; padding: 30px 0 40px; }
.hv-card {
	position: relative;
	background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 26px; padding: 24px;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: var(--shadow-lg);
}
.hv-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 8px; }
.hv-head b { color: #fff; font-weight: 600; }
.hv-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(46, 230, 201, .14); color: var(--signal); }
.hv-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.signal { width: 100%; height: auto; margin-block: 6px 14px; overflow: visible; }
.signal-grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.signal-noise { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 2; stroke-linejoin: round; }
.signal-line { fill: none; stroke: var(--signal); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .5s var(--ease) forwards; }
.signal-area { fill: url(#sigGrad); opacity: 0; animation: fadeIn 1s 1.8s forwards; }
.signal-dot { fill: var(--signal); opacity: 0; animation: fadeIn .4s 2.4s forwards; }
.signal-ring { fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0; transform-origin: 480px 38px; transform-box: view-box; animation: ring 2s 2.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.hv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-kpis > div { padding: 14px 16px; border-radius: 16px; background: rgba(9, 9, 114, .55); border: 1px solid var(--line-dark); }
.hv-kpis b { display: block; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; color: #fff; direction: ltr; text-align: end; }
.hv-kpis span { display: block; font-size: 13px; line-height: 1.6; color: var(--on-dark-muted); margin-top: 4px; }
.hv-float {
	position: absolute; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--ink);
	box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.5;
	animation: float 6s ease-in-out infinite;
}
.hv-float b { display: block; font-size: 18px; font-weight: 700; }
.hv-float small { color: var(--muted); font-size: 12px; }
.hv-float .hv-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.hv-float--a { inset-block-start: -6px; inset-inline-start: -18px; }
.hv-float--b { inset-block-end: 0; inset-inline-end: -14px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
	.hv-float--a { inset-inline-start: -4px; }
	.hv-float--b { inset-inline-end: -4px; }
	.hv-float { padding: 10px 12px; }
	.hv-float .hv-ico { display: none; }
}

/* ---------- Marquee (noise words) ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; background: var(--brand-50); border-block: 1px solid var(--brand-100); }
.marquee__row { display: flex; width: max-content; gap: 0; animation: marquee 50s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 60s; margin-top: 6px; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; color: rgba(9, 9, 114, .22); white-space: nowrap; padding-inline: 16px; }
.marquee__item::after { content: "·"; margin-inline-start: 32px; color: rgba(129, 85, 255, .4); }
.marquee__item--hl { color: var(--brand); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
[dir="ltr"] .marquee__row { animation-name: marquee-ltr; }
@keyframes marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 36px); border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat__num { display: block; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; color: var(--ink); direction: ltr; text-align: end; }
.stat__num .plus { color: var(--brand); }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.section--dark .stats { background: transparent; border-color: var(--line-dark); }
.section--dark .stat { border-color: var(--line-dark); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: var(--on-dark-muted); }
@media (max-width: 860px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-inline-start: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Pillars (core services) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
	position: relative; display: flex; flex-direction: column;
	padding: clamp(26px, 3vw, 38px); border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line);
	transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.pillar__num { position: absolute; inset-block-start: 26px; inset-inline-end: 30px; font-size: 15px; font-weight: 600; color: var(--brand-300); direction: ltr; }
.pillar__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 26px; }
.pillar__icon .icon { width: 28px; height: 28px; }
.pillar h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 10px; }
.pillar h3 a { color: inherit; }
.pillar p { color: var(--muted); }
.pillar .checklist { margin-block: 6px 28px; }
.pillar .link-arrow { margin-top: auto; }
.pillar--featured { background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden; }
.pillar--featured::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(129, 85, 255, .5), transparent); pointer-events: none; }
.pillar--featured p, .pillar--featured .checklist li { color: var(--on-dark-muted); }
.pillar--featured .pillar__icon { background: rgba(129, 85, 255, .22); color: #fff; }
.pillar--featured .link-arrow { color: var(--signal); }
.pillar--featured .checklist li::before { background-color: rgba(46, 230, 201, .16); color: var(--signal); }
.pillar__platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; position: relative; z-index: 1; }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr; } }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-inline-start: 32px; line-height: 1.7; }
.checklist li::before {
	content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 3px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d45f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pillar--featured .checklist li::before, .on-dark .checklist li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee6c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Services grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.service-card {
	position: relative; display: flex; flex-direction: column; gap: 12px;
	padding: 26px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
	color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; }
.service-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); transition: background .3s, color .3s; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__go { color: var(--brand-300); transition: transform .3s var(--ease), color .3s; }
.service-card:hover .service-card__go { color: var(--brand-600); transform: translateX(-4px); }
.service-card h3 { font-size: 1.15rem; margin: 6px 0 0; }
.service-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.service-card__cat { font-size: 13px; color: var(--brand-600); font-weight: 500; }
.service-card.is-hidden { display: none; }
.section--tint .service-card { border-color: transparent; }

.services-group + .services-group { margin-top: clamp(48px, 6vw, 72px); }
.services-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.services-group__head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.services-group__head .count { font-size: 14px; color: var(--muted); }
.services-group__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process::before {
	content: ""; position: absolute; inset-inline: 10%; inset-block-start: 31px; height: 2px;
	background: linear-gradient(to left, rgba(255, 255, 255, .25), var(--signal));
}
.step { position: relative; text-align: center; padding-inline: 6px; }
.step__dot {
	position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 22px;
	width: 64px; height: 64px; border-radius: 50%; background: var(--ink-2); border: 1.5px solid var(--line-dark); color: #fff;
	transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover .step__dot { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.step__num { display: block; font-size: 13px; color: var(--signal); font-weight: 600; margin-bottom: 4px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--on-dark-muted); margin: 0; line-height: 1.8; }
.section:not(.section--dark) .step__dot { background: #fff; border-color: var(--line); color: var(--brand-600); }
.section:not(.section--dark) .step p { color: var(--muted); }
.section:not(.section--dark) .process::before { background: linear-gradient(to left, var(--line), var(--brand)); }
@media (max-width: 900px) {
	.process { grid-template-columns: 1fr; gap: 0; }
	.process::before { inset-inline: auto; inset-inline-start: 31px; inset-block: 20px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--signal), rgba(255, 255, 255, .2)); }
	.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; text-align: start; padding-bottom: 28px; }
	.step__dot { margin: 0; }
}

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.work-card {
	grid-column: span 6; position: relative; display: flex; flex-direction: column;
	border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
	color: var(--text); transition: transform .35s var(--ease), box-shadow .35s;
}
.work-card:hover { color: var(--text); transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__tag { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; z-index: 1; }
.work-card__body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__meta { font-size: 14px; color: var(--muted); }
.work-card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0; }
.work-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.work-metrics { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 16px; margin-top: auto; border-top: 1px dashed var(--line); }
.work-metrics b { display: block; font-size: 1.5rem; line-height: 1.2; color: var(--ink); direction: ltr; text-align: end; }
.work-metrics span { font-size: 13px; color: var(--muted); }
.work-card--feature { grid-column: span 12; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--ink); color: #fff; border-color: var(--ink); }
.work-card--feature:hover { color: #fff; }
.work-card--feature .work-card__media { aspect-ratio: auto; min-height: 380px; }
.work-card--feature .work-card__body { justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 56px); }
.work-card--feature p, .work-card--feature .work-card__meta, .work-card--feature .work-metrics span { color: var(--on-dark-muted); }
.work-card--feature h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.work-card--feature .work-metrics { border-color: var(--line-dark); margin-top: 12px; }
.work-card--feature .work-metrics b { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.work-card--feature .work-metrics b.is-signal { color: var(--signal); }
.work-card--third { grid-column: span 4; }
@media (max-width: 980px) {
	.work-card, .work-card--third { grid-column: span 12; }
	.work-card--feature { grid-template-columns: 1fr; }
	.work-card--feature .work-card__media { min-height: 260px; aspect-ratio: 16/10; }
}

/* ---------- Seasons (Saudi calendar) ---------- */
.seasons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.season {
	scroll-snap-align: start; position: relative; overflow: hidden;
	padding: 26px 24px 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 8px; min-height: 230px;
}
.season::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 10px; background: url("../img/sadu.svg") repeat-x center / auto 10px; }
.season__when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-600); margin-top: 6px; }
.season h3 { font-size: 1.2rem; margin: 0; }
.season p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.client {
	display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 22px;
	border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line-dark);
	transition: background .3s, transform .3s var(--ease);
}
.client:hover { background: var(--ink-3); transform: translateY(-3px); }
.client img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.2); opacity: .9; transition: opacity .3s, filter .3s; }
.client:hover img { filter: none; opacity: 1; }
.client span { font-weight: 600; color: #fff; text-align: center; }
.client figcaption { display: none; }
@media (max-width: 980px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, 1fr); } }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; gap: 14px; }
.value {
	display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
	padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
}
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }
.value h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.signal-quote {
	position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
	background: var(--ink); color: #fff; overflow: hidden;
}
.signal-quote p { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.5; margin: 0 0 18px; }
.signal-quote small { color: var(--on-dark-muted); font-size: 15px; }
.signal-quote svg.signal { margin: 18px 0 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.testimonial { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.9; }
.testimonial blockquote p:last-child { margin: 0; }
.testimonial__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial__by b { display: block; font-size: 15px; }
.testimonial__by small { color: var(--muted); font-size: 13px; }
.stars { display: flex; gap: 2px; color: #f5b70a; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary .faq__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .faq__body { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- Posts ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--brand)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.5; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--brand-600); }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 15px; }

/* ---------- Contact / CTA ---------- */
.contact-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.contact-section::before { content: ""; position: absolute; z-index: -1; inset: auto auto -30% -10%; width: 60vw; aspect-ratio: 1; max-width: 800px; background: radial-gradient(closest-side, rgba(129, 85, 255, .45), transparent); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { display: grid; gap: 12px; margin-top: 34px; }
.contact-method {
	display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: #fff;
	transition: background .25s, border-color .25s;
}
a.contact-method:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.contact-method__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(129, 85, 255, .25); flex: none; }
.contact-method--wa .contact-method__icon { background: rgba(37, 211, 102, .18); color: var(--wa); }
.contact-method small { display: block; font-size: 13px; color: var(--on-dark-muted); }
.contact-method b { font-weight: 600; font-size: 17px; }
.contact-method b.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.pricing-note { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line-dark); color: var(--on-dark-muted); font-size: 15px; line-height: 1.85; }
.pricing-note b { color: #fff; }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; }
.pm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.pm-form .full { grid-column: 1 / -1; }
.pm-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pm-field label .req { color: #e0245e; }
.pm-field input, .pm-field select, .pm-field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
	border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; line-height: 1.6;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.pm-field textarea { min-height: 120px; resize: vertical; }
.pm-field input:focus, .pm-field select:focus, .pm-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(129, 85, 255, .14); }
.pm-field input[type="tel"], .pm-field input[type="email"] { direction: ltr; text-align: right; }
.pm-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5980' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 44px; }
.pm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 8px; }
.form-alert { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.form-alert--ok { background: #e7fbf3; color: #0b6b4a; border: 1px solid #b6f0d8; }
.form-alert--err { background: #fff0f3; color: #a3123b; border: 1px solid #ffc9d6; }
@media (max-width: 560px) { .pm-form { grid-template-columns: 1fr; } }

.cta-band { position: relative; padding: clamp(36px, 5vw, 60px); border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; inset: -50% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(129, 85, 255, .55), transparent); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--on-dark-muted); }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 60vw; aspect-ratio: 1; max-width: 820px; background: radial-gradient(closest-side, rgba(129, 85, 255, .5), transparent); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.22; margin-bottom: 16px; max-width: 900px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.page-hero .hero-actions { margin: 30px 0 0; }
.page-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.breadcrumbs { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--on-dark-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .5; }
.page-hero + .sadu-band { margin-top: 0; }

/* ---------- Single service ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .service-layout { grid-template-columns: 1fr; } }
.side-card { position: sticky; inset-block-start: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.side-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.side-card .checklist { margin-bottom: 24px; }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 10px; }
.related-services { display: grid; gap: 8px; margin-top: 18px; }
.related-services a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 15px; }
.related-services a:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* ---------- Entry content (Gutenberg) ---------- */
.entry-content { font-size: 18px; line-height: 2; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--brand); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--brand-300); text-underline-offset: 4px; }
.entry-content blockquote { margin-inline: 0; padding: 20px 26px; border-inline-start: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 14px 14px 0; font-size: 1.1em; }
.entry-content img, .entry-content figure { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: start; }
.entry-content th { background: var(--bg); }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--brand); padding: 14px 28px; text-decoration: none; color: #fff; }
.entry-content .alignwide { margin-inline: calc(-1 * clamp(0px, 6vw, 120px)); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .4em 0 1em 1.5em; }
.entry-content .alignright { float: right; margin: .4em 1.5em 1em 0; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--muted); }
.sticky, .bypostauthor {}

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--on-dark-muted); font-size: 15px; margin-top: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { margin-top: calc(-1 * clamp(32px, 5vw, 56px)); position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Work single */
.work-hero-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 36px; }
.work-hero-metrics > div { padding: 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.work-hero-metrics b, .work-hero-metrics .wm-num { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; color: var(--signal); direction: ltr; text-align: end; }
.work-hero-metrics span { font-size: 14px; color: var(--on-dark-muted); }

/* Pagination */
.pagination, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-height: 52px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand); }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound__code { font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; line-height: 1; color: var(--brand); direction: ltr; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #06064f; color: var(--on-dark-muted); font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 40px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--brand-300); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal span { direction: rtl; }

/* Floating WhatsApp */
.wa-float {
	position: fixed; z-index: 90; inset-block-end: 22px; inset-inline-end: 22px;
	display: flex; align-items: center; gap: 10px; padding: 0; height: 58px; min-width: 58px; justify-content: center;
	border-radius: 999px; background: var(--wa); color: #06361a; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
	transition: transform .3s var(--ease);
}
.wa-float:hover { color: #06361a; transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: waRing 2.4s infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.center-actions { display: flex; justify-content: center; margin-top: 44px; }
.custom-logo-link { display: flex; align-items: center; flex: none; }
.custom-logo-link img { height: 48px; width: auto; }
@media (max-width: 560px) { .custom-logo-link img { height: 40px; } }
.main-nav .mobile-cta .btn { justify-content: center; padding: 12px 22px; border-radius: 999px; font-size: 16px; }
.main-nav .mobile-cta .btn--primary { color: #fff; }
.main-nav .mobile-cta .btn--wa, .main-nav .mobile-cta .btn--wa:hover { color: #06361a; background: var(--wa); }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .wa-float { display: none; }

/* =====================================================================
   v1.1 — mobile header (centered logo), mobile CTA bar, UX polish
   ===================================================================== */
@media (max-width: 1080px) {
	.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 72px; }
	:root { --header-h: 72px; }
	.header-inner > .site-logo, .header-inner > .custom-logo-link { grid-column: 2; grid-row: 1; justify-self: center; }
	.header-actions { display: contents; }
	.nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
	.header-wa { grid-column: 3; grid-row: 1; justify-self: end; display: grid !important; }
	.header-cta { display: none; }
}
@media (max-width: 560px) {
	.site-logo img, .custom-logo-link img { height: 42px; }
	.nav-toggle, .header-wa { width: 44px; height: 44px; }
}

/* Sticky booking bar on phones (replaces the floating WhatsApp bubble there) */
.mobile-bar { display: none; }
@media (max-width: 768px) {
	.mobile-bar {
		position: fixed; z-index: 95; inset-inline: 0; inset-block-end: 0;
		display: grid; grid-template-columns: 1fr auto; gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -18px rgba(9, 9, 114, .35);
	}
	.mobile-bar .btn { min-height: 48px; padding: 10px 18px; font-size: 15px; }
	.mobile-bar .btn--wa { padding-inline: 16px; }
	body.has-mobile-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
	.has-mobile-bar .wa-float { display: none; }
	.nav-open .mobile-bar { display: none; }
	.mobile-bar.is-hidden { transform: translateY(110%); }
	.mobile-bar { transition: transform .3s var(--ease); }
}

/* Hero buttons full width on phones */
@media (max-width: 560px) {
	.hero-actions .btn, .page-hero .hero-actions .btn { flex: 1 1 100%; }
	.hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
	.hero .lead { font-size: 17px; }
	.hero-platforms > span:first-child { flex-basis: 100%; }
	.section-head--split .btn { width: 100%; }
}

/* Service filters: one swipeable row on phones */
@media (max-width: 768px) {
	.filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
	.filter-bar::-webkit-scrollbar { display: none; }
	.filter-btn { flex: none; }
	.seasons { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); grid-auto-columns: 78%; }
	.work-card--feature .work-card__media { min-height: 220px; }
	.contact-section .h-1 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
	.form-card { padding: 22px 18px; }
	.cta-band { padding: 28px 22px; }
	.cta-band .btns, .cta-band .btns .btn { width: 100%; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.faq summary { padding: 16px 18px; font-size: 16px; }
	.faq .faq__body { padding: 0 18px 18px; }
	.services-grid { grid-template-columns: 1fr; }
	.service-card { padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
	.service-card__top { order: 0; }
	.service-card h3 { margin: 0; flex: 1; font-size: 1.05rem; }
	.service-card p { flex-basis: 100%; }
	.service-card__go { display: none; }
}

/* Desktop polish */
@media (min-width: 1081px) {
	.main-nav a { padding: 10px 12px; }
	.main-nav .mega > .sub-menu { inset-inline-start: -120px; }
	.hero { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: space-between; }
	.hero > .container { flex: 1; display: grid; align-content: center; }
}
@media (min-width: 1081px) and (max-height: 760px) { .hero { min-height: 0; } }
.work-card__media img { background: var(--brand-50); }
.entry-content h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.entry-content p a, .entry-content li a { font-weight: 500; }
.single .entry-content > p:first-child { font-size: 1.1em; color: var(--text); }
.services-more { display: none; justify-content: center; margin-top: 18px; }
@media (max-width: 768px) {
	.services-grid.is-collapsed .service-card:nth-child(n+9) { display: none; }
	.services-grid.is-collapsed + .services-more { display: flex; }
}

/* =====================================================================
   v1.2 — service landing-page sections
   ===================================================================== */
.svc-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.svc-split__head { position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
.svc-split__head .h-2 { margin-bottom: 18px; }
.svc-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.svc-prose p { font-size: 18px; line-height: 2; color: var(--muted); margin-bottom: 1em; }
.svc-prose p:last-child { margin-bottom: 0; }
.svc-prose a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-300); text-underline-offset: 4px; }
.svc-prose--intro p:first-child { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.85; color: var(--text); font-weight: 500; }
.section--dark .svc-prose p { color: var(--on-dark-muted); }
.section--dark .svc-prose a { color: var(--signal); }
.svc-prose.lead p { font-size: clamp(17px, 1.6vw, 19px); }
.section-head--center .svc-prose { max-width: 760px; margin-inline: auto; }

.svc-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.svc-include { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 500; line-height: 1.75; transition: transform .3s var(--ease), box-shadow .3s; }
.svc-include:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-include__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff; }
.svc-include__icon .icon { width: 20px; height: 20px; }

.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.svc-card { position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.section--tint .svc-card { border-color: transparent; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.svc-card__num { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 8px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); font-weight: 700; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card .svc-prose p { font-size: 16px; line-height: 1.9; }
.svc-card .checklist { margin-top: 10px; font-size: 15px; }

.svc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.svc-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; line-height: 1.6; }
.section--tint .svc-tile { border-color: transparent; }
.svc-tile__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }

.svc-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc-kpi { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: #fff; font-weight: 500; line-height: 1.7; }
.svc-kpi__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(46, 230, 201, .14); color: var(--signal); }

.svc-points { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.svc-points li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); line-height: 1.8; font-weight: 500; }
.section--tint .svc-points li { border-color: transparent; }
.svc-points__num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }

@media (max-width: 900px) {
	.svc-split { grid-template-columns: 1fr; gap: 22px; }
	.svc-split__head { position: static; }
	.svc-kpis { grid-template-columns: 1fr; }
	.svc-prose p { font-size: 17px; }
}
@media (max-width: 560px) {
	.svc-intro__actions .btn { flex: 1 1 100%; }
	.svc-tiles { grid-template-columns: 1fr 1fr; }
	.svc-tile { flex-direction: column; align-items: flex-start; padding: 16px; font-size: 15px; }
}

/* Service hero visual */
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--visual h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.svc-visual { padding: 26px 0 34px; max-width: 520px; margin-inline-start: auto; width: 100%; }
.svc-visual__top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.svc-visual__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; box-shadow: 0 12px 30px -10px rgba(129, 85, 255, .8); }
.svc-visual__icon .icon { width: 28px; height: 28px; }
.svc-visual__name { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.svc-visual__name small { color: var(--on-dark-muted); font-size: 13px; }
.svc-visual__name b { color: #fff; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-visual .hv-live { white-space: nowrap; }
.svc-visual__list { list-style: none; display: grid; gap: 8px; }
.svc-visual__list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(9, 9, 114, .5); border: 1px solid var(--line-dark); color: #fff; font-size: 14px; line-height: 1.6; }
.svc-visual__list li > span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(46, 230, 201, .16); color: var(--signal); }
.svc-visual__chips { flex-wrap: wrap; gap: 6px; max-width: 260px; padding: 12px; }
.svc-visual__chips .chip { font-size: 13px; padding: 4px 12px; }
@media (max-width: 980px) {
	.page-hero__grid { grid-template-columns: 1fr; }
	.page-hero__visual { display: none; }
}
.svc-tiles { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.svc-visual { padding-bottom: 64px; }
.svc-visual .hv-float--b { inset-block-end: 0; inset-inline-end: 24px; }
.svc-visual .hv-float--a { inset-block-start: -8px; }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .svc-tiles { grid-template-columns: 1fr; } }

/* v1.2.1 — compact lists instead of many cards */
.svc-includes, .svc-tiles {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px;
	max-width: 1040px; margin-inline: auto;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 30px;
}
.section--tint .svc-includes, .section--tint .svc-tiles { border-color: transparent; }
.svc-include, .svc-tile {
	display: flex; flex-direction: row; align-items: center; gap: 14px;
	padding: 15px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	font-size: 16px; font-weight: 500; line-height: 1.7; box-shadow: none; transform: none;
}
.svc-include:hover { transform: none; box-shadow: none; }
.svc-includes > :nth-last-child(-n+2), .svc-tiles > :nth-last-child(-n+2) { border-bottom: 0; }
.svc-include__icon { width: 28px; height: 28px; border-radius: 50%; }
.svc-include__icon .icon { width: 15px; height: 15px; }
.svc-tile__icon { width: 36px; height: 36px; border-radius: 11px; }
.svc-tile__icon .icon { width: 19px; height: 19px; }
.section-head--center + .svc-tiles { margin-top: -8px; }

.svc-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-points li { padding: 12px 14px; font-size: 15px; line-height: 1.7; gap: 10px; }
.svc-points__num { width: 26px; height: 26px; font-size: 13px; }

.svc-card { padding: 24px 22px; }
.svc-card__num { min-width: 36px; height: 36px; border-radius: 11px; margin-bottom: 12px; font-size: 14px; }
.svc-card h3 { font-size: 1.1rem; }
.svc-card .svc-prose p { font-size: 15px; line-height: 1.85; }

.svc-kpis { gap: 10px; }
.svc-kpi { flex-direction: row; align-items: center; padding: 14px 16px; font-size: 15px; }
.svc-kpi__icon { flex: none; width: 34px; height: 34px; }

@media (max-width: 900px) {
	.svc-includes, .svc-tiles { grid-template-columns: 1fr; padding: 4px 18px; }
	.svc-includes > :nth-last-child(2), .svc-tiles > :nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.svc-tile { flex-direction: row; align-items: center; padding: 13px 0; font-size: 15px; }
	.svc-points { grid-template-columns: 1fr; }
}
