/* ==========================================================================
   Event Visitors — Design System
   استُخرجت جميع الرموز (Tokens) من هوية الموقع الحالية دون تغيير:
   الذهبي #8b6914، خلفية #f6f4f0، Noto Kufi Arabic + Noto Naskh Arabic،
   نصف قطر 20px للبطاقات، الحدود الذهبية عند التحويم، حركة fadeUp.
   الإضافات (Mega Menu، الأكورديون، النماذج، الشرائط) تستخدم نفس الرموز
   حتى تبدو كل صفحة جديدة جزءًا أصليًا من الموقع.
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */

:root {
	/* Brand — unchanged from the original site */
	--gold: #8b6914;
	--gold-light: #6b5010;
	--gold-deep: #7a5a18;
	--gold-dim: rgba(139, 105, 20, 0.08);
	--gold-dim-2: rgba(139, 105, 20, 0.15);
	--gold-on-dark: #e8d48b;
	--gold-footer: #c9a84c;

	/* Surfaces */
	--bg: #f6f4f0;
	--bg2: #efece6;
	--bg3: #e8e4dc;
	--surface: #ffffff;
	--surface2: #f9f7f3;

	/* Ink */
	--text: #1a1714;
	--text-dim: #6b6560;
	--text-faint: #918a83;
	--on-dark: #ffffff;
	--on-dark-dim: rgba(255, 255, 255, 0.75);
	--on-dark-faint: rgba(255, 255, 255, 0.55);

	/* Lines */
	--border: rgba(139, 105, 20, 0.15);
	--border2: rgba(0, 0, 0, 0.07);
	--border-dark: rgba(139, 105, 20, 0.18);

	/* Accent */
	--teal: #2a8a74;
	--teal-dim: rgba(42, 138, 116, 0.1);
	--danger: #b1483f;

	/* Dark panel — the original three-stop gradient */
	--panel-dark: linear-gradient(135deg, #2c2210 0%, #3a2e16 50%, #1a2e28 100%);
	--footer-bg: #1e1a14;

	/* Gold gradient used on every primary action */
	--gold-grad: linear-gradient(135deg, var(--gold), var(--gold-deep));

	/* Radii */
	--radius: 20px;
	--radius-lg: 28px;
	--radius-xl: 32px;
	--radius-md: 22px;
	--radius-sm: 16px;
	--radius-btn: 14px;
	--radius-xs: 12px;
	--radius-pill: 999px;

	/* Elevation */
	--shadow-gold: 0 6px 30px rgba(139, 105, 20, 0.3);
	--shadow-gold-hover: 0 12px 40px rgba(139, 105, 20, 0.4);
	--shadow-gold-sm: 0 4px 20px rgba(139, 105, 20, 0.3);
	--shadow-soft: 0 2px 14px rgba(26, 23, 20, 0.05);
	--shadow-pop: 0 18px 50px rgba(26, 23, 20, 0.14);

	/* Type */
	--font-display: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
	--font-body: 'Noto Naskh Arabic', 'Times New Roman', serif;

	/* Spacing scale */
	--sp-1: 6px;
	--sp-2: 10px;
	--sp-3: 14px;
	--sp-4: 20px;
	--sp-5: 28px;
	--sp-6: 40px;
	--sp-7: 60px;
	--sp-8: 80px;

	/* Layout */
	--container: 1200px;
	--gutter: 20px;
	--section-y: 60px;
	--header-h: 80px;

	/* Motion */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 0.3s;
}

/* ── 2. Reset & base ──────────────────────────────────────────────────── */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	/* Sticky header must not cover anchor targets */
	scroll-padding-top: calc(var(--header-h) + 20px);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--text);
	line-height: 1.85;
	font-size: 1rem;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* The original fine-grain paper noise, kept exactly */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 9999;
}

a {
	text-decoration: none;
	color: inherit;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

ul,
ol {
	list-style: none;
}

/* Visible keyboard focus — the original had none */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--gold);
	color: #fff;
	padding: 12px 22px;
	border-radius: 0 0 var(--radius-xs) 0;
	font-family: var(--font-display);
	font-weight: 800;
}

.skip-link:focus {
	inset-inline-start: 0;
}

/* ── 3. Layout ────────────────────────────────────────────────────────── */

.container {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.container--narrow {
	width: min(860px, calc(100% - (var(--gutter) * 2)));
}

section {
	padding: var(--section-y) 0;
	position: relative;
}

.sec--alt {
	background: var(--bg2);
}

.sec--dark {
	background: var(--footer-bg);
	color: var(--on-dark);
}

.sec--tight {
	padding-top: 0;
}

.sec--flush {
	padding-bottom: 0;
}

.section-head {
	text-align: center;
	max-width: 800px;
	margin: 0 auto var(--sp-6);
}

.section-head h2 {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 2.8vw, 2.5rem);
	line-height: 1.4;
	margin-bottom: var(--sp-3);
	font-weight: 800;
	text-wrap: balance;
}

.section-head p {
	color: var(--text-dim);
	font-size: 1.02rem;
}

.sec--dark .section-head p {
	color: var(--on-dark-dim);
}

.section-head--start {
	text-align: start;
	margin-inline: 0;
}

.section-head--start .divider {
	margin-inline: 0;
}

.divider {
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--gold), transparent);
	border-radius: 3px;
	margin: var(--sp-3) auto var(--sp-6);
}

[dir="rtl"] .divider {
	background: linear-gradient(270deg, var(--gold), transparent);
}

.gold {
	color: var(--gold);
}

.sec--dark .gold,
.panel-dark .gold {
	color: var(--gold-on-dark);
}

/* ── 4. Typography ────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.4;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 4.2vw, 3.6rem);
	line-height: 1.3;
	font-weight: 900;
}

h2 {
	font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

h3 {
	font-size: 1.15rem;
}

h4 {
	font-size: 1.05rem;
}

p {
	text-wrap: pretty;
}

.lead {
	font-size: 1.12rem;
	line-height: 2;
	color: var(--text-dim);
}

/* Rich text coming from the editor */
.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.9rem);
	margin-top: 1.8em;
}

.prose h3 {
	font-size: 1.2rem;
	margin-top: 1.6em;
}

.prose p,
.prose li {
	color: var(--text-dim);
	font-size: 1.02rem;
}

.prose strong {
	color: var(--text);
	font-weight: 700;
}

.prose a {
	color: var(--gold);
	border-bottom: 1px solid var(--gold-dim-2);
}

.prose a:hover {
	border-bottom-color: var(--gold);
}

.prose ul,
.prose ol {
	padding-inline-start: 0;
}

.prose ul li,
.prose ol li {
	position: relative;
	padding-inline-start: 22px;
	margin-bottom: 10px;
}

.prose ul li::before {
	content: "◆";
	position: absolute;
	inset-inline-start: 0;
	top: 2px;
	color: var(--gold);
	font-size: 0.6rem;
}

.prose ol {
	counter-reset: ev-ol;
}

.prose ol li {
	counter-increment: ev-ol;
}

.prose ol li::before {
	content: counter(ev-ol) ".";
	position: absolute;
	inset-inline-start: 0;
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.85rem;
}

.prose blockquote {
	border-inline-start: 3px solid var(--gold);
	background: var(--surface2);
	padding: var(--sp-4);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 1.05rem;
}

.prose img {
	border-radius: var(--radius-sm);
	border: 1px solid var(--border2);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border-radius: var(--radius-sm);
	overflow: hidden;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 12px 16px;
	text-align: start;
	border-bottom: 1px solid var(--border2);
}

.prose th {
	background: var(--bg2);
	font-family: var(--font-display);
	font-weight: 700;
}

/* Bullet list used across every component */
.list {
	list-style: none;
	padding: 0;
}

.list li {
	position: relative;
	padding-inline-start: 22px;
	margin-bottom: 10px;
	color: var(--text);
	font-size: 0.95rem;
}

.list li:last-child {
	margin-bottom: 0;
}

.list li::before {
	content: "◆";
	position: absolute;
	inset-inline-start: 0;
	top: 2px;
	color: var(--gold);
	font-size: 0.6rem;
}

.panel-dark .list li,
.sec--dark .list li {
	color: rgba(255, 255, 255, 0.85);
}

.panel-dark .list li::before,
.sec--dark .list li::before {
	color: var(--gold-on-dark);
}

.list--check li::before {
	content: "✓";
	font-size: 0.8rem;
	font-weight: 700;
	top: 0;
}

/* ── 5. Eyebrow, pills, badges ────────────────────────────────────────── */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--gold-dim);
	color: var(--gold);
	border: 1px solid rgba(139, 105, 20, 0.2);
	border-radius: var(--radius-pill);
	padding: 10px 20px;
	font-size: 0.85rem;
	font-family: var(--font-display);
	font-weight: 800;
	margin-bottom: var(--sp-5);
	line-height: 1.5;
}

.eyebrow--on-dark {
	background: rgba(139, 105, 20, 0.12);
	color: var(--gold-on-dark);
	border-color: rgba(139, 105, 20, 0.2);
}

.pill {
	display: inline-block;
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	background: var(--gold-dim);
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.85rem;
	margin: 4px 0 0 6px;
	border: 1px solid var(--gold-dim-2);
	transition: background var(--dur), color var(--dur);
}

[dir="rtl"] .pill {
	margin: 4px 6px 0 0;
}

a.pill:hover,
.pill:hover {
	background: rgba(139, 105, 20, 0.2);
}

.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--sp-3);
}

.pills .pill {
	margin: 0;
}

/* ── 6. Buttons ───────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border-radius: var(--radius-btn);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.95rem;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		background var(--dur), color var(--dur), border-color var(--dur);
	cursor: pointer;
	border: 1px solid transparent;
	text-align: center;
	line-height: 1.4;
}

.btn-primary {
	background: var(--gold-grad);
	color: var(--bg);
	box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-gold-hover);
	color: #fff;
}

.btn-outline {
	border-color: var(--border);
	background: transparent;
	color: var(--text);
}

.btn-outline:hover {
	border-color: var(--gold);
	color: var(--gold);
	transform: translateY(-2px);
}

.btn-outline--on-dark {
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.btn-outline--on-dark:hover {
	border-color: var(--gold-on-dark);
	color: var(--gold-on-dark);
}

.btn-ghost {
	background: var(--gold-dim);
	color: var(--gold);
	border-color: var(--gold-dim-2);
}

.btn-ghost:hover {
	background: rgba(139, 105, 20, 0.16);
	transform: translateY(-2px);
}

.btn--sm {
	padding: 10px 18px;
	font-size: 0.85rem;
	border-radius: var(--radius-xs);
}

.btn--lg {
	padding: 17px 34px;
	font-size: 1rem;
}

.btn--block {
	width: 100%;
}

.btn__icon {
	font-size: 1.05em;
	line-height: 1;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
}

/* Inline "read more" arrow link */
.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.9rem;
	margin-top: var(--sp-3);
	transition: gap var(--dur);
}

.arrow-link::after {
	content: "←";
	transition: transform var(--dur);
}

[dir="ltr"] .arrow-link::after {
	content: "→";
}

.arrow-link:hover {
	gap: 12px;
}

.arrow-link:hover::after {
	transform: translateX(-3px);
}

[dir="ltr"] .arrow-link:hover::after {
	transform: translateX(3px);
}

/* ── 7. Header ────────────────────────────────────────────────────────── */

.topbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(24px) saturate(1.3);
	-webkit-backdrop-filter: blur(24px) saturate(1.3);
	background: rgba(246, 244, 240, 0.88);
	border-bottom: 1px solid var(--border);
}

.topbar.is-scrolled {
	box-shadow: 0 4px 24px rgba(26, 23, 20, 0.07);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: var(--header-h);
}

.brand {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1rem;
	color: var(--gold);
	flex: none;
}

.brand-badge {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-btn);
	background: var(--gold-grad);
	display: grid;
	place-items: center;
	color: var(--bg);
	font-weight: 900;
	font-size: 1.1rem;
	box-shadow: 0 0 30px rgba(139, 105, 20, 0.2);
	flex: none;
}

.brand-logo {
	max-height: 48px;
	width: auto;
}

.brand-text {
	line-height: 1.4;
}

.brand-sub {
	font-size: 0.78rem;
	color: var(--text-dim);
	font-weight: 400;
	font-family: var(--font-body);
	letter-spacing: -0.01em;
}

.nav-cta {
	flex: none;
}

/* Desktop menu */
.nav-menu {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.88rem;
	flex: 1 1 auto;
	justify-content: center;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-dim);
	padding: 10px 0;
	transition: color var(--dur);
	white-space: nowrap;
}

.nav-menu > li > a::after {
	content: "";
	position: absolute;
	bottom: 4px;
	inset-inline-end: 0;
	width: 0;
	height: 2px;
	background: var(--gold);
	transition: width var(--dur);
}

.nav-menu > li > a:hover,
.nav-menu > li.is-open > a,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a,
.nav-menu > li.current-menu-ancestor > a {
	color: var(--gold);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.is-open > a::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-parent > a::after {
	width: 100%;
}

.nav-menu .has-children > a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--dur);
	order: 2;
}

.nav-menu .has-children.is-open > a::before {
	transform: rotate(-135deg) translateY(0);
}

/* Mega panel */
.mega {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 50%;
	transform: translateX(50%) translateY(-8px);
	width: min(760px, calc(100vw - 40px));
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-pop);
	padding: var(--sp-5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
	z-index: 60;
}

[dir="ltr"] .mega {
	transform: translateX(-50%) translateY(-8px);
}

.nav-menu > li.is-open > .mega {
	opacity: 1;
	visibility: visible;
	transform: translateX(50%) translateY(0);
}

[dir="ltr"] .nav-menu > li.is-open > .mega {
	transform: translateX(-50%) translateY(0);
}

.mega::before {
	/* Hover bridge so the panel does not close in the gap */
	content: "";
	position: absolute;
	top: -12px;
	inset-inline: 0;
	height: 12px;
}

.mega__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-2);
}

.mega__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega__item {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	transition: background var(--dur), border-color var(--dur), transform var(--dur);
}

.mega__item:hover {
	background: var(--surface2);
	border-color: var(--border);
	transform: translateY(-1px);
}

.mega__icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--gold-dim);
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.9rem;
	border: 1px solid var(--gold-dim-2);
	flex: none;
}

.mega__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text);
	line-height: 1.5;
}

.mega__item:hover .mega__title {
	color: var(--gold);
}

.mega__desc {
	font-size: 0.8rem;
	color: var(--text-dim);
	line-height: 1.65;
	margin-top: 2px;
}

.mega__foot {
	margin-top: var(--sp-4);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--border2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	flex-wrap: wrap;
}

.mega__foot-note {
	font-size: 0.85rem;
	color: var(--text-dim);
}

/* Simple dropdown for short lists */
.submenu {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	min-width: 240px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-pop);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
	z-index: 60;
}

.nav-menu > li.is-open > .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-xs);
	font-size: 0.88rem;
	color: var(--text-dim);
	transition: background var(--dur), color var(--dur);
}

.submenu a:hover {
	background: var(--surface2);
	color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	position: relative;
	flex: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	position: absolute;
	inset-inline-start: 13px;
	width: 20px;
	height: 2px;
	background: var(--gold);
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle span {
	top: 22px;
}

.nav-toggle span::before {
	content: "";
	inset-inline-start: 0;
	top: -6px;
}

.nav-toggle span::after {
	content: "";
	inset-inline-start: 0;
	top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	visibility: hidden;
	pointer-events: none;
}

.drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(26, 23, 20, 0.45);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
	backdrop-filter: blur(2px);
}

.drawer.is-open .drawer__scrim {
	opacity: 1;
}

.drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(390px, 92vw);
	background: var(--bg);
	border-inline-start: 1px solid var(--border);
	box-shadow: -20px 0 60px rgba(26, 23, 20, 0.2);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.32s var(--ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}

[dir="ltr"] .drawer__panel {
	transform: translateX(-100%);
	box-shadow: 20px 0 60px rgba(26, 23, 20, 0.2);
}

.drawer.is-open .drawer__panel {
	transform: translateX(0);
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: var(--sp-4);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	background: var(--bg);
	z-index: 2;
}

.drawer__close {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--gold);
	font-size: 1.3rem;
	cursor: pointer;
	display: grid;
	place-items: center;
	flex: none;
}

.drawer__body {
	padding: var(--sp-4);
	flex: 1 1 auto;
}

.drawer__foot {
	padding: var(--sp-4);
	border-top: 1px solid var(--border);
	display: grid;
	gap: var(--sp-2);
	position: sticky;
	bottom: 0;
	background: var(--bg);
}

.m-menu > li {
	border-bottom: 1px solid var(--border2);
}

.m-menu > li:last-child {
	border-bottom: 0;
}

.m-menu a,
.m-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	width: 100%;
	padding: 14px 4px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--text);
	background: none;
	border: 0;
	cursor: pointer;
	text-align: start;
}

.m-menu__toggle::after {
	content: "";
	width: 7px;
	height: 7px;
	border-inline-end: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	transform: rotate(45deg);
	transition: transform var(--dur);
	flex: none;
}

.m-menu__toggle[aria-expanded="true"]::after {
	transform: rotate(-135deg);
}

.m-menu__sub {
	display: none;
	padding: 0 0 12px;
}

.m-menu__sub.is-open {
	display: block;
}

.m-menu__sub a {
	padding: 10px 16px;
	font-size: 0.88rem;
	font-weight: 400;
	font-family: var(--font-body);
	color: var(--text-dim);
	border-inline-start: 2px solid var(--border);
	margin-inline-start: 4px;
}

.m-menu__sub a:hover {
	color: var(--gold);
	border-inline-start-color: var(--gold);
}

/* ── 8. Hero ──────────────────────────────────────────────────────────── */

.hero {
	padding: 100px 0 60px;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -200px;
	inset-inline-start: 50%;
	width: 800px;
	height: 800px;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(139, 105, 20, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

[dir="rtl"] .hero::before {
	transform: translateX(50%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: var(--sp-6);
	align-items: center;
	position: relative;
}

.hero h1 {
	margin-bottom: var(--sp-5);
}

.hero p.lead {
	color: var(--text-dim);
}

/* Compact hero for inner pages */
.hero--compact {
	padding: 46px 0 30px;
}

.hero--compact h1 {
	font-size: clamp(1.7rem, 3.2vw, 2.7rem);
	margin-bottom: var(--sp-3);
}

.hero--compact .hero-grid {
	grid-template-columns: 1fr;
	gap: var(--sp-4);
}

.hero--compact .lead {
	max-width: 760px;
}

.hero-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--sp-5);
	position: relative;
	overflow: hidden;
}

.hero-card::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(139, 105, 20, 0.06), transparent 70%);
	pointer-events: none;
}

.hero-card h3 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	margin-bottom: var(--sp-2);
	color: var(--gold-light);
}

.hero-card > p {
	color: var(--text-dim);
	font-size: 0.98rem;
	line-height: 2;
}

.mini-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-2);
	margin-top: var(--sp-4);
}

.stat {
	background: var(--bg2);
	border: 1px solid var(--border2);
	border-radius: var(--radius-sm);
	padding: 18px;
	transition: border-color var(--dur);
}

.stat:hover {
	border-color: var(--gold);
}

.stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--gold);
	margin-bottom: var(--sp-1);
}

.stat span {
	font-size: 0.85rem;
	color: var(--text-dim);
	line-height: 1.7;
	display: block;
}

/* ── 9. Cards ─────────────────────────────────────────────────────────── */

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}

.cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius);
	padding: var(--sp-5);
	transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

.card:hover {
	border-color: var(--gold);
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

a.card {
	color: inherit;
}

a.card:hover h3 {
	color: var(--gold);
}

.card-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	display: grid;
	place-items: center;
	background: var(--gold-dim);
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.1rem;
	margin-bottom: 18px;
	border: 1px solid var(--gold-dim-2);
	flex: none;
}

.card h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin-bottom: var(--sp-2);
	transition: color var(--dur);
}

.card h4 {
	font-family: var(--font-display);
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.card p {
	color: var(--text-dim);
	font-size: 0.95rem;
}

.card .list {
	margin-top: var(--sp-2);
}

.card--sm {
	padding: 22px;
}

.card--flat:hover {
	transform: none;
	box-shadow: none;
}

.card__meta {
	margin-top: auto;
	padding-top: var(--sp-3);
	font-size: 0.82rem;
	color: var(--text-faint);
	font-family: var(--font-display);
	font-weight: 700;
}

/* ── 10. Panels & splits ──────────────────────────────────────────────── */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-4);
	align-items: stretch;
}

.split--wide-start {
	grid-template-columns: 1.2fr 0.8fr;
}

.split--wide-end {
	grid-template-columns: 0.8fr 1.2fr;
}

.panel {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-lg);
	padding: var(--sp-5);
	height: 100%;
}

.panel h2,
.panel h3 {
	font-family: var(--font-display);
}

.panel > :first-child {
	margin-top: 0;
}

.panel-dark {
	background: var(--panel-dark);
	color: var(--on-dark);
	border: 1px solid var(--border-dark);
}

.panel-dark h2,
.panel-dark h3,
.panel-dark h4 {
	color: var(--gold-on-dark);
}

.panel-dark p {
	color: var(--on-dark-dim);
}

.panel-dark .card {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

.panel-dark .card h4,
.panel-dark .card h3 {
	color: var(--gold-on-dark);
}

.badge-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-3);
}

.badge-grid .card {
	box-shadow: none;
	padding: 22px;
}

.compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-4);
}

/* ── 11. Steps / workflow ─────────────────────────────────────────────── */

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4);
	position: relative;
}

.process-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-md);
	padding: var(--sp-5);
	position: relative;
	transition: border-color var(--dur), transform var(--dur);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.step:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
}

.step-num {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-btn);
	background: var(--gold-grad);
	color: var(--bg);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.1rem;
	margin-bottom: var(--sp-3);
	flex: none;
}

.step h3 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	margin-bottom: var(--sp-2);
}

.step p {
	color: var(--text-dim);
	font-size: 0.92rem;
}

/* Visitor journey — a connected horizontal rail */
.journey {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4) var(--sp-3);
	position: relative;
	counter-reset: ev-journey;
}

.journey__item {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-md);
	padding: var(--sp-4);
	position: relative;
	transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
	display: flex;
	flex-direction: column;
	counter-increment: ev-journey;
}

.journey__item:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

.journey__num {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--gold-dim);
	border: 1px solid var(--gold-dim-2);
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.82rem;
	display: grid;
	place-items: center;
	margin-bottom: var(--sp-2);
}

.journey__item h3 {
	font-size: 1rem;
	margin-bottom: 6px;
}

.journey__item p {
	color: var(--text-dim);
	font-size: 0.88rem;
	line-height: 1.75;
}

.journey__item .arrow-link {
	margin-top: auto;
	font-size: 0.82rem;
	padding-top: var(--sp-2);
}

/* ── 12. Metrics ──────────────────────────────────────────────────────── */

.metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4);
}

.metrics--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-md);
	padding: var(--sp-5);
	text-align: center;
	transition: border-color var(--dur), transform var(--dur);
}

.metric:hover {
	border-color: var(--gold);
	transform: translateY(-4px);
}

.metric__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto var(--sp-3);
	border-radius: var(--radius-xs);
	background: var(--gold-dim);
	border: 1px solid var(--gold-dim-2);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-size: 1rem;
	font-family: var(--font-display);
	font-weight: 900;
}

.metric strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--gold);
	margin-bottom: var(--sp-2);
	line-height: 1.3;
}

.metric span {
	color: var(--text-dim);
	font-size: 0.92rem;
	display: block;
	line-height: 1.75;
}

.metric small {
	display: block;
	margin-top: 8px;
	color: var(--text-faint);
	font-size: 0.82rem;
}

.sec--dark .metric {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

.sec--dark .metric strong {
	color: var(--gold-on-dark);
}

.sec--dark .metric span {
	color: var(--on-dark-dim);
}

/* ── 13. Sectors grid ─────────────────────────────────────────────────── */

.sectors {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4);
}

.sectors--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── 14. Screenshots / device frames ──────────────────────────────────── */

.shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-4);
}

.shots--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
	display: flex;
	flex-direction: column;
}

.shot:hover {
	border-color: var(--gold);
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

/* Browser chrome so screenshots read as real product UI */
.frame {
	background: var(--bg2);
	border-bottom: 1px solid var(--border2);
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.frame__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.12);
	flex: none;
}

.frame__dot:first-child {
	background: rgba(177, 72, 63, 0.35);
}

.frame__dot:nth-child(2) {
	background: rgba(139, 105, 20, 0.35);
}

.frame__dot:nth-child(3) {
	background: rgba(42, 138, 116, 0.35);
}

.frame__bar {
	flex: 1 1 auto;
	height: 18px;
	border-radius: var(--radius-pill);
	background: var(--surface);
	border: 1px solid var(--border2);
	margin-inline-start: 8px;
	display: grid;
	place-items: center;
	font-size: 0.62rem;
	color: var(--text-faint);
	font-family: var(--font-display);
	overflow: hidden;
	white-space: nowrap;
	padding: 0 10px;
}

.shot__media {
	position: relative;
	background: var(--surface2);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.shot__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

/* Placeholder when no screenshot has been uploaded yet */
.shot__media--empty {
	display: grid;
	place-items: center;
	background:
		linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
	color: var(--text-faint);
	text-align: center;
	padding: var(--sp-4);
}

.shot__media--empty span {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--gold);
	opacity: 0.7;
}

.shot__body {
	padding: var(--sp-4);
	flex: 1 1 auto;
}

.shot__body h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.shot__body p {
	color: var(--text-dim);
	font-size: 0.9rem;
}

.shot--wide {
	grid-column: 1 / -1;
}

.shot--wide .shot__media {
	aspect-ratio: 21 / 9;
}

/* Big single showcase frame used in hero/dashboard sections */
.showcase {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: 0 24px 60px rgba(26, 23, 20, 0.12);
	position: relative;
}

.showcase .shot__media {
	aspect-ratio: 16 / 10;
}

/* ── 15. Logo wall ────────────────────────────────────────────────────── */

.trust {
	padding: 34px 0;
	border-block: 1px solid var(--border2);
	background: var(--surface2);
}

.trust__label {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--text-faint);
	letter-spacing: 0.02em;
	margin-bottom: var(--sp-4);
}

.logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--sp-4) var(--sp-6);
}

.logo-item {
	height: 52px;
	display: grid;
	place-items: center;
	filter: grayscale(1);
	opacity: 0.6;
	transition: filter var(--dur), opacity var(--dur);
}

.logo-item:hover {
	filter: grayscale(0);
	opacity: 1;
}

.logo-item img {
	max-height: 52px;
	width: auto;
	object-fit: contain;
}

/* Text fallback when a client has no logo uploaded.
   A long organisation name must wrap rather than push the page wider. */
.logo-item__text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--text-dim);
	padding: 10px 18px;
	border: 1px solid var(--border2);
	border-radius: var(--radius-xs);
	background: var(--surface);
	max-width: min(280px, calc(100vw - 60px));
	text-align: center;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.logo-item:hover .logo-item__text {
	color: var(--gold);
	border-color: var(--border);
}

/* ── 16. Testimonials ─────────────────────────────────────────────────── */

.quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}

.quote {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius);
	padding: var(--sp-5);
	position: relative;
	transition: border-color var(--dur), transform var(--dur);
	display: flex;
	flex-direction: column;
}

.quote:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
}

.quote::before {
	content: "”";
	position: absolute;
	top: 10px;
	inset-inline-end: 22px;
	font-family: var(--font-display);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--gold);
	opacity: 0.16;
}

.quote__text {
	color: var(--text-dim);
	font-size: 0.98rem;
	line-height: 1.95;
	position: relative;
}

.quote__who {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-top: var(--sp-4);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--border2);
}

.quote__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gold-dim);
	border: 1px solid var(--gold-dim-2);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 900;
	flex: none;
	overflow: hidden;
}

.quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.quote__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.92rem;
}

.quote__role {
	font-size: 0.82rem;
	color: var(--text-faint);
}

/* ── 17. FAQ accordion ───────────────────────────────────────────────── */

.faq {
	max-width: 900px;
	margin-inline: auto;
	display: grid;
	gap: var(--sp-2);
}

.faq__item {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color var(--dur);
}

.faq__item[open],
.faq__item:hover {
	border-color: var(--gold);
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 18px var(--sp-4);
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	list-style: none;
	color: var(--text);
	transition: color var(--dur);
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q:hover,
.faq__item[open] .faq__q {
	color: var(--gold);
}

.faq__q::after {
	content: "";
	width: 9px;
	height: 9px;
	border-inline-end: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	transform: rotate(45deg);
	transition: transform var(--dur);
	flex: none;
	margin-top: -4px;
}

.faq__item[open] .faq__q::after {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.faq__a {
	padding: 0 var(--sp-4) var(--sp-4);
	color: var(--text-dim);
	font-size: 0.96rem;
	line-height: 1.95;
	border-top: 1px solid var(--border2);
	padding-top: var(--sp-3);
	margin-top: -1px;
}

.faq__a > * + * {
	margin-top: 0.8em;
}

/* ── 18. CTA ─────────────────────────────────────────────────────────── */

.cta {
	padding: 40px 0 80px;
}

.cta-box {
	background: var(--panel-dark);
	border: 1px solid rgba(139, 105, 20, 0.2);
	border-radius: var(--radius-xl);
	padding: 48px;
	position: relative;
	overflow: hidden;
	color: var(--on-dark);
}

.cta-box::before {
	content: "";
	position: absolute;
	top: -100px;
	inset-inline-end: -100px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(139, 105, 20, 0.08), transparent 60%);
	pointer-events: none;
}

.cta-box h2 {
	font-family: var(--font-display);
	margin-bottom: var(--sp-3);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	color: #fff;
}

.cta-box p {
	color: var(--on-dark-dim);
	margin-bottom: 8px;
}

.cta-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	align-items: center;
	gap: var(--sp-5);
	position: relative;
}

.cta-grid__actions {
	display: flex;
	gap: var(--sp-3);
	flex-wrap: wrap;
	align-items: center;
}

.cta-note {
	margin-top: var(--sp-3);
	font-size: 0.85rem;
	color: var(--on-dark-faint);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* ── 19. Forms ────────────────────────────────────────────────────────── */

.form-wrap {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--sp-5);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-3) var(--sp-4);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.87rem;
	color: var(--text);
}

.field .req {
	color: var(--danger);
	margin-inline-start: 3px;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	background: var(--surface2);
	border: 1px solid var(--border2);
	border-radius: var(--radius-xs);
	padding: 13px 16px;
	font-size: 0.95rem;
	font-family: var(--font-body);
	color: var(--text);
	transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
	-webkit-appearance: none;
	appearance: none;
}

.field textarea {
	resize: vertical;
	min-height: 110px;
	line-height: 1.8;
}

.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b6914' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	background-size: 12px;
	padding-inline-end: 16px;
	padding-inline-start: 40px;
	cursor: pointer;
}

[dir="rtl"] .field select {
	background-position: left 16px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--gold);
	background: var(--surface);
	box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--text-faint);
}

.field__hint {
	font-size: 0.8rem;
	color: var(--text-faint);
}

/* Checkbox chip group */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	position: relative;
	display: inline-flex;
}

.chip input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.chip span {
	display: inline-block;
	padding: 9px 16px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--border2);
	background: var(--surface2);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.84rem;
	color: var(--text-dim);
	transition: all var(--dur);
	user-select: none;
}

.chip input:checked + span {
	background: var(--gold-dim);
	border-color: var(--gold);
	color: var(--gold);
}

.chip input:focus-visible + span {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.honeypot {
	position: absolute !important;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	border-radius: var(--radius-xs);
	padding: 14px 18px;
	margin-bottom: var(--sp-4);
	font-size: 0.93rem;
	border: 1px solid;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.75;
}

.notice--ok {
	background: var(--teal-dim);
	border-color: rgba(42, 138, 116, 0.3);
	color: #1f6b59;
}

.notice--error {
	background: rgba(177, 72, 63, 0.08);
	border-color: rgba(177, 72, 63, 0.28);
	color: #8f3a33;
}

.form-consent {
	font-size: 0.82rem;
	color: var(--text-faint);
	margin-top: var(--sp-3);
	line-height: 1.75;
}

/* Contact detail rows */
.contact-list {
	display: grid;
	gap: var(--sp-2);
}

.contact-row {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: 14px 16px;
	background: var(--surface2);
	border: 1px solid var(--border2);
	border-radius: var(--radius-sm);
	transition: border-color var(--dur), background var(--dur);
}

a.contact-row:hover {
	border-color: var(--gold);
	background: var(--surface);
}

.contact-row__icon {
	width: 42px;
	height: 42px;
	border-radius: var(--radius-xs);
	background: var(--gold-dim);
	border: 1px solid var(--gold-dim-2);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-size: 1rem;
	flex: none;
}

.contact-row__label {
	font-size: 0.78rem;
	color: var(--text-faint);
	font-family: var(--font-display);
	font-weight: 700;
}

.contact-row__value {
	font-size: 0.95rem;
	font-weight: 600;
	direction: ltr;
	text-align: start;
	unicode-bidi: plaintext;
}

/* ── 20. Breadcrumbs ─────────────────────────────────────────────────── */

.crumbs {
	padding: 16px 0 0;
	font-size: 0.82rem;
	color: var(--text-faint);
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
}

.crumbs li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.crumbs li:not(:last-child)::after {
	content: "/";
	color: var(--border);
	font-weight: 400;
}

.crumbs a {
	color: var(--text-dim);
	transition: color var(--dur);
}

.crumbs a:hover {
	color: var(--gold);
}

.crumbs [aria-current="page"] {
	color: var(--gold);
}

/* ── 21. Footer ──────────────────────────────────────────────────────── */

.site-footer {
	background: var(--footer-bg);
	border-top: 1px solid var(--border2);
	color: rgba(255, 255, 255, 0.8);
	padding: var(--sp-7) 0 var(--sp-5);
	position: relative;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: var(--sp-6) var(--sp-5);
	padding-bottom: var(--sp-6);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-bottom: var(--sp-3);
}

.footer-brand .brand-badge {
	box-shadow: none;
}

.footer-brand__name {
	font-family: var(--font-display);
	font-weight: 900;
	color: var(--gold-footer);
	font-size: 1rem;
	line-height: 1.4;
}

.site-footer p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.62);
}

.footer-col h3 {
	font-family: var(--font-display);
	font-size: 0.88rem;
	color: var(--gold-footer);
	margin-bottom: var(--sp-3);
	font-weight: 800;
}

.footer-col ul {
	display: grid;
	gap: 10px;
}

.footer-col a {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.62);
	transition: color var(--dur), padding-inline-start var(--dur);
	display: inline-block;
}

.footer-col a:hover {
	color: var(--gold-footer);
	padding-inline-start: 4px;
}

.footer-contact {
	display: grid;
	gap: var(--sp-2);
	margin-top: var(--sp-4);
}

.footer-contact a,
.footer-contact span {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.7);
	transition: color var(--dur);
}

.footer-contact a:hover {
	color: var(--gold-footer);
}

.footer-contact strong {
	direction: ltr;
	unicode-bidi: plaintext;
	font-weight: 600;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin-top: var(--sp-4);
	flex-wrap: wrap;
}

.footer-social a {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-xs);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.7);
	transition: all var(--dur);
}

.footer-social a:hover {
	border-color: var(--gold-footer);
	color: var(--gold-footer);
	background: rgba(139, 105, 20, 0.14);
	transform: translateY(-2px);
}

.footer-social svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--sp-4);
}

.footer-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.6);
	font-family: var(--font-display);
	font-weight: 700;
}

.footer-badge b {
	color: var(--gold-footer);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-top: var(--sp-4);
	flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
	color: var(--gold-footer);
}

.footer-legal {
	display: flex;
	gap: var(--sp-4);
	flex-wrap: wrap;
}

.site-footer strong {
	color: var(--gold-footer);
	font-family: var(--font-display);
}

/* ── 22. Sticky mobile CTA ───────────────────────────────────────────── */

.mobile-cta {
	display: none;
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 900;
	background: rgba(246, 244, 240, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid var(--border);
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	gap: 10px;
}

.mobile-cta .btn {
	flex: 1 1 0;
	padding: 13px 12px;
	font-size: 0.87rem;
}

/* ── 22b. Floating contact buttons (WhatsApp + call) ─────────────────── */

.ev-fab {
	position: fixed;
	inset-inline-end: 22px;
	bottom: 24px;
	z-index: 940; /* above content, below the drawer (1200) */
	display: flex;
	flex-direction: column-reverse; /* WhatsApp sits closest to the thumb */
	gap: 12px;
	align-items: flex-end;
}

/* Optional mirrored placement, set from the dashboard */
.ev-fab--start {
	inset-inline-end: auto;
	inset-inline-start: 22px;
	align-items: flex-start;
}

.ev-fab__btn {
	display: flex;
	align-items: center;
	gap: 0;
	height: 56px;
	padding: 0;
	border-radius: var(--radius-pill);
	color: #fff;
	box-shadow: 0 6px 22px rgba(26, 23, 20, 0.22);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		gap 0.28s var(--ease), padding 0.28s var(--ease);
	overflow: hidden;
	max-width: 56px;
}

.ev-fab__icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	flex: none;
}

.ev-fab__icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.ev-fab__label {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.88rem;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.2s var(--ease);
	padding-inline-end: 0;
}

/* Expand into a pill on hover/focus — desktop affordance only */
@media (hover: hover) and (pointer: fine) {
	.ev-fab__btn:hover,
	.ev-fab__btn:focus-visible {
		max-width: 220px;
		gap: 2px;
		transform: translateY(-2px);
		box-shadow: 0 10px 30px rgba(26, 23, 20, 0.28);
	}

	.ev-fab__btn:hover .ev-fab__label,
	.ev-fab__btn:focus-visible .ev-fab__label {
		opacity: 1;
		padding-inline-end: 20px;
	}
}

/* WhatsApp keeps its own recognisable green; the call button carries the brand gold */
.ev-fab__btn--wa {
	background: #25d366;
}

.ev-fab__btn--wa:hover {
	background: #1fbe5a;
}

.ev-fab__btn--tel {
	background: var(--gold-grad);
}

.ev-fab__btn--tel:hover {
	box-shadow: 0 10px 30px rgba(139, 105, 20, 0.4);
}

/* Subtle attention pulse on the WhatsApp button, once the page settles */
@keyframes evFabPulse {
	0%, 100% { box-shadow: 0 6px 22px rgba(26, 23, 20, 0.22), 0 0 0 0 rgba(37, 211, 102, 0.5); }
	50%      { box-shadow: 0 6px 22px rgba(26, 23, 20, 0.22), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.ev-fab__btn--wa {
	animation: evFabPulse 3.4s ease-out 2s infinite;
}

.ev-fab__btn--wa:hover {
	animation: none;
}

/* Clear the sticky mobile CTA bar so the two never overlap */
@media (max-width: 768px) {
	.ev-fab {
		inset-inline-end: 16px;
		bottom: 20px;
		gap: 10px;
	}

	.ev-fab--start {
		inset-inline-start: 16px;
	}

	body.has-mobile-cta .ev-fab {
		bottom: calc(80px + env(safe-area-inset-bottom));
	}

	.ev-fab__btn,
	.ev-fab__icon {
		height: 52px;
	}

	.ev-fab__icon {
		width: 52px;
	}

	.ev-fab__btn {
		max-width: 52px;
	}

	.ev-fab__icon svg {
		width: 24px;
		height: 24px;
	}
}

@media (max-width: 375px) {
	.ev-fab__btn,
	.ev-fab__icon {
		height: 48px;
	}

	.ev-fab__icon {
		width: 48px;
	}

	.ev-fab__btn {
		max-width: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ev-fab__btn--wa {
		animation: none;
	}
}

@media print {
	.ev-fab {
		display: none !important;
	}
}

/* ── 23. Archive / listing helpers ───────────────────────────────────── */

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: var(--sp-6);
	flex-wrap: wrap;
}

.pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border2);
	background: var(--surface);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text-dim);
	transition: all var(--dur);
}

.pagination .page-numbers:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.pagination .page-numbers.current {
	background: var(--gold-grad);
	border-color: transparent;
	color: #fff;
}

/* ── 24. Case study specifics ────────────────────────────────────────── */

.case-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-3);
	margin-top: var(--sp-4);
}

.case-meta__item {
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-sm);
	padding: 16px 18px;
}

.case-meta__label {
	font-size: 0.78rem;
	color: var(--text-faint);
	font-family: var(--font-display);
	font-weight: 700;
	margin-bottom: 4px;
}

.case-meta__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.98rem;
	color: var(--gold);
}

.results {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-3);
}

.result {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-sm);
	padding: var(--sp-4);
	text-align: center;
}

.result strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	color: var(--gold-on-dark);
	line-height: 1.3;
	margin-bottom: 6px;
}

.result span {
	font-size: 0.86rem;
	color: var(--on-dark-dim);
}

.pull-quote {
	background: var(--surface);
	border: 1px solid var(--border);
	border-inline-start: 4px solid var(--gold);
	border-radius: var(--radius);
	padding: var(--sp-5);
	position: relative;
}

.pull-quote p {
	font-size: 1.08rem;
	line-height: 2;
	color: var(--text);
}

.pull-quote footer {
	margin-top: var(--sp-3);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.9rem;
	color: var(--gold);
}

/* ── 24b. In-article CTA blocks (knowledge base) ─────────────────────── */

.ev-inline-cta {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-inline-start: 4px solid var(--gold);
	border-radius: var(--radius-sm);
	padding: var(--sp-4) var(--sp-5);
	margin-block: var(--sp-6);
}

.ev-inline-cta p {
	color: var(--text-dim);
	margin: 0;
}

.ev-inline-cta p + p {
	margin-top: var(--sp-3);
}

.ev-inline-cta strong {
	color: var(--text);
}

/* The closing CTA carries the dark panel treatment used elsewhere on the site */
.ev-inline-cta--final {
	background: var(--panel-dark);
	border-color: var(--border-dark);
	border-inline-start-color: var(--gold-on-dark);
	padding: var(--sp-5);
}

.ev-inline-cta--final h2 {
	color: var(--gold-on-dark);
	margin-top: 0;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.ev-inline-cta--final p {
	color: var(--on-dark-dim);
}

.ev-inline-cta--final .btn-outline {
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.ev-inline-cta--final .btn-outline:hover {
	border-color: var(--gold-on-dark);
	color: var(--gold-on-dark);
}

/* Buttons written inline in article content */
.prose .btn,
.ev-inline-cta .btn {
	margin-top: var(--sp-2);
	margin-inline-end: 8px;
	border-bottom: 0;
}

.prose .btn:hover {
	border-bottom: 0;
}

/* Wide article tables must scroll inside themselves, never widen the page */
.prose .wp-block-table,
.prose figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-block: var(--sp-4);
	max-width: 100%;
}

.prose .wp-block-table table {
	min-width: 520px;
}

@media (max-width: 560px) {
	.prose .wp-block-table table {
		font-size: 0.88rem;
	}

	.prose th,
	.prose td {
		padding: 10px 12px;
	}

	.ev-inline-cta {
		padding: var(--sp-4);
	}

	.ev-inline-cta .btn,
	.prose .btn {
		width: 100%;
		margin-inline-end: 0;
	}
}

/* ── 25. Table of contents (long pages) ──────────────────────────────── */

.toc {
	background: var(--surface2);
	border: 1px solid var(--border2);
	border-radius: var(--radius-sm);
	padding: var(--sp-4);
}

.toc h2 {
	font-size: 0.9rem;
	font-family: var(--font-display);
	color: var(--gold);
	margin-bottom: var(--sp-2);
}

.toc ol {
	display: grid;
	gap: 6px;
	counter-reset: toc;
}

.toc li {
	counter-increment: toc;
	font-size: 0.88rem;
}

.toc a {
	color: var(--text-dim);
	transition: color var(--dur);
}

.toc a::before {
	content: counter(toc) ".";
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 800;
	margin-inline-end: 6px;
}

.toc a:hover {
	color: var(--gold);
}

/* ── 26. 404 & search ────────────────────────────────────────────────── */

.center-block {
	text-align: center;
	max-width: 620px;
	margin-inline: auto;
	padding: var(--sp-7) 0;
}

.big-code {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(4rem, 12vw, 8rem);
	line-height: 1;
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: var(--sp-3);
}

.search-form {
	display: flex;
	gap: 10px;
	margin-top: var(--sp-4);
}

.search-form input[type="search"] {
	flex: 1 1 auto;
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-xs);
	padding: 13px 16px;
	font-size: 0.95rem;
	font-family: var(--font-body);
}

.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.search-result {
	padding: var(--sp-4) 0;
	border-bottom: 1px solid var(--border2);
}

.search-result h2 {
	font-size: 1.15rem;
	margin-bottom: 6px;
}

.search-result h2 a:hover {
	color: var(--gold);
}

.search-result__type {
	font-size: 0.78rem;
	color: var(--gold);
	font-family: var(--font-display);
	font-weight: 700;
	margin-bottom: 4px;
}

/* ── 27. Animation ───────────────────────────────────────────────────── */

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.anim {
	animation: fadeUp 0.8s var(--ease) both;
}

.anim-1 { animation-delay: 0.1s; }
.anim-2 { animation-delay: 0.2s; }
.anim-3 { animation-delay: 0.3s; }
.anim-4 { animation-delay: 0.4s; }

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	will-change: opacity, transform;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}

/* Staggered children inside a revealed grid */
.reveal-group.visible > * {
	animation: fadeUp 0.6s var(--ease) both;
}

.reveal-group.visible > *:nth-child(1) { animation-delay: 0.02s; }
.reveal-group.visible > *:nth-child(2) { animation-delay: 0.08s; }
.reveal-group.visible > *:nth-child(3) { animation-delay: 0.14s; }
.reveal-group.visible > *:nth-child(4) { animation-delay: 0.2s; }
.reveal-group.visible > *:nth-child(5) { animation-delay: 0.26s; }
.reveal-group.visible > *:nth-child(6) { animation-delay: 0.32s; }
.reveal-group.visible > *:nth-child(7) { animation-delay: 0.38s; }
.reveal-group.visible > *:nth-child(8) { animation-delay: 0.44s; }

/* Respect the user's motion preference */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	.btn:hover,
	.card:hover,
	.metric:hover,
	.step:hover {
		transform: none;
	}
}

/* ── 28. Responsive ──────────────────────────────────────────────────── */

/* ≤1200px — keep the gutter comfortable */
@media (max-width: 1200px) {
	:root {
		--gutter: 18px;
	}

	.nav-menu {
		gap: var(--sp-4);
	}
}

/* ≤1080px — the original breakpoint: everything folds to two columns */
@media (max-width: 1080px) {
	.cards,
	.cards--4,
	.process-grid,
	.sectors,
	.metrics,
	.compare-grid,
	.hero-grid,
	.split,
	.split--wide-start,
	.split--wide-end,
	.badge-grid,
	.cta-grid,
	.quotes,
	.archive-grid,
	.journey,
	.results,
	.shots--3,
	.case-meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero {
		padding-top: 70px;
	}

	.cta-box {
		padding: 36px;
	}
}

/* ≤1024px (tablet) — swap the desktop bar for the drawer */
@media (max-width: 1024px) {
	.nav-menu {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.nav {
		justify-content: space-between;
	}

	.brand-sub {
		display: none;
	}
}

/* ≤900px — hide the header CTA; the drawer and sticky bar carry it */
@media (max-width: 900px) {
	.nav-cta {
		display: none;
	}
}

/* ≤768px (tablet portrait / large phone) */
@media (max-width: 768px) {
	:root {
		--section-y: 46px;
		--header-h: 68px;
	}

	.cards,
	.cards--2,
	.cards--4,
	.process-grid,
	.process-grid--3,
	.sectors,
	.sectors--3,
	.metrics,
	.metrics--3,
	.compare-grid,
	.hero-grid,
	.split,
	.split--wide-start,
	.split--wide-end,
	.badge-grid,
	.cta-grid,
	.mini-stats,
	.quotes,
	.archive-grid,
	.shots,
	.shots--3,
	.form-grid,
	.case-meta,
	.footer-top {
		grid-template-columns: 1fr;
	}

	.journey,
	.results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero {
		padding: 42px 0 30px;
	}

	.hero--compact {
		padding: 30px 0 22px;
	}

	h1 {
		font-size: clamp(1.65rem, 7vw, 2.1rem);
	}

	.section-head {
		margin-bottom: var(--sp-5);
	}

	.cta-box,
	.panel,
	.card,
	.hero-card,
	.form-wrap {
		padding: var(--sp-4);
	}

	.cta {
		padding: 30px 0 var(--sp-6);
	}

	.cta-grid__actions .btn {
		flex: 1 1 100%;
	}

	.mobile-cta {
		display: flex;
	}

	/* Leave room for the sticky bar */
	body.has-mobile-cta .site-footer {
		padding-bottom: 84px;
	}

	.trust {
		padding: 24px 0;
	}

	.logos {
		gap: var(--sp-3) var(--sp-5);
	}

	.logo-item,
	.logo-item img {
		height: 40px;
		max-height: 40px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-2);
	}

	.shot--wide .shot__media {
		aspect-ratio: 16 / 10;
	}
}

/* ≤560px */
@media (max-width: 560px) {
	.journey,
	.results {
		grid-template-columns: 1fr;
	}

	.eyebrow {
		font-size: 0.78rem;
		padding: 8px 14px;
		margin-bottom: var(--sp-4);
	}

	.actions .btn {
		flex: 1 1 100%;
	}

	.faq__q {
		font-size: 0.94rem;
		padding: 15px var(--sp-3);
	}

	.faq__a {
		padding-inline: var(--sp-3);
	}
}

/* ≤430px (iPhone Pro Max class) */
@media (max-width: 430px) {
	:root {
		--gutter: 16px;
		--section-y: 40px;
	}

	.brand-badge {
		width: 42px;
		height: 42px;
		font-size: 1rem;
	}

	.brand {
		font-size: 0.9rem;
		gap: 10px;
	}

	.card,
	.panel,
	.cta-box,
	.form-wrap,
	.hero-card {
		padding: 18px;
	}

	.card-icon {
		width: 48px;
		height: 48px;
		font-size: 1rem;
		margin-bottom: var(--sp-3);
	}

	.metric strong {
		font-size: 1.3rem;
	}

	.mobile-cta .btn {
		font-size: 0.82rem;
		padding: 12px 8px;
	}
}

/* ≤375px (iPhone SE / mini) — the tightest supported width */
@media (max-width: 375px) {
	:root {
		--gutter: 14px;
	}

	h1 {
		font-size: 1.5rem;
		line-height: 1.4;
	}

	.section-head h2 {
		font-size: 1.32rem;
	}

	.brand-text > div:first-child {
		font-size: 0.85rem;
	}

	.card h3 {
		font-size: 1.05rem;
	}

	.pill {
		font-size: 0.78rem;
		padding: 6px 12px;
	}

	.step,
	.metric {
		padding: 18px;
	}
}

/* ── 29. Print ───────────────────────────────────────────────────────── */

@media print {
	body::before,
	.topbar,
	.drawer,
	.mobile-cta,
	.cta,
	.site-footer,
	.nav-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.card,
	.panel {
		border: 1px solid #ccc;
		box-shadow: none;
		break-inside: avoid;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		color: #555;
	}
}
