/* ==========================================================================
   Al-Katib — main stylesheet (mobile first: 600px / 1024px, max 1200px)
   ========================================================================== */

@font-face { font-family: Cairo; src: url(../fonts/cairo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cairo; src: url(../fonts/cairo-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Cairo; src: url(../fonts/cairo-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Cairo; src: url(../fonts/cairo-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(../fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(../fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(../fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--bg: #0A0F1E;
	--surface: #121A2E;
	--surface-2: #172140;
	--border: #1E293B;
	--primary: #E11D48;
	--primary-hover: #BE123C;
	--accent: #22D3EE;
	--accent-dark: #0891B2;
	--text: #F1F5F9;
	--text-2: #CBD5E1;
	--muted: #94A3B8;
	--whatsapp: #25D366;
	--whatsapp-hover: #1EB257;
	--radius: 18px;
	--radius-sm: 12px;
	--gutter: clamp(16px, 4vw, 32px);
	--max: 1200px;
	--text-max: 760px;
	--header-h: 68px;
	--font-head: Cairo, Tahoma, sans-serif;
	--font-body: Cairo, Tahoma, sans-serif; /* Settings → Site font can switch this to IBM Plex Sans Arabic. */
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--grad-hero:
		radial-gradient(120% 80% at 85% 0%, rgba(225, 29, 72, .22) 0%, transparent 55%),
		radial-gradient(90% 70% at 10% 100%, rgba(34, 211, 238, .14) 0%, transparent 60%),
		var(--bg);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.8;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #67E8F9; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.35; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(1.85rem, 1.2rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
.ak-icon { flex: none; display: inline-block; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ak-container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.ak-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.ak-skip:focus { top: 12px; }

/* Buttons ---------------------------------------------------------------- */
.ak-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ak-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s, border-color .2s;
}
.ak-btn:hover { transform: translateY(-1px); }
.ak-btn--wa { background: var(--whatsapp); color: #04210F; }
.ak-btn--wa:hover { background: var(--whatsapp-hover); color: #04210F; }
.ak-btn--call { background: var(--primary); color: #fff; }
.ak-btn--call:hover { background: var(--primary-hover); color: #fff; }
.ak-btn--ghost { background: transparent; color: var(--text); border-color: rgba(241, 245, 249, .28); }
.ak-btn--ghost:hover { background: rgba(241, 245, 249, .06); color: var(--text); border-color: var(--text-2); }
.ak-btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; border-radius: 12px; }
.ak-btn--block { width: 100%; }
.ak-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* Header ----------------------------------------------------------------- */
.ak-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 15, 30, .86);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .2s;
}
.admin-bar .ak-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ak-header { top: 32px; } }
.ak-header.is-scrolled { border-bottom-color: var(--border); }
.ak-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.ak-logo { display: inline-flex; flex: none; }
.ak-logo img { display: block; height: 44px; width: auto; }
.ak-burger {
	display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
	background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.ak-burger__close { display: none; }
.ak-burger[aria-expanded="true"] .ak-burger__open { display: none; }
.ak-burger[aria-expanded="true"] .ak-burger__close { display: grid; }
.ak-burger__open { display: grid; }

/* Mobile/tablet navigation panel */
.ak-nav {
	position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
	max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
	background: var(--bg); border-bottom: 1px solid var(--border);
	padding: 8px var(--gutter) 24px;
	transform: translateY(-8px); opacity: 0; visibility: hidden;
	transition: opacity .2s, transform .2s, visibility .2s;
}
.admin-bar .ak-nav { inset-block-start: calc(var(--header-h) + 46px); }
.ak-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.ak-menu { list-style: none; margin: 0; padding: 0; }
.ak-menu a {
	display: flex; align-items: center; min-height: 52px; padding: 6px 4px;
	color: var(--text); font-weight: 500; font-size: 1.08rem; text-decoration: none;
	border-bottom: 1px solid var(--border);
}
.ak-menu .current-menu-item > a, .ak-menu a:hover { color: var(--accent); }
.ak-menu .sub-menu { list-style: none; padding-inline-start: 16px; margin: 0; }
.ak-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

@media (min-width: 1024px) {
	:root { --header-h: 80px; }
	.ak-logo img { height: 50px; }
	.ak-burger { display: none; }
	.ak-nav {
		position: static; display: flex; align-items: center; gap: 28px;
		max-height: none; overflow: visible; padding: 0; background: none; border: 0;
		transform: none; opacity: 1; visibility: visible;
	}
	.ak-nav { gap: 16px; }
	.ak-menu { display: flex; gap: 0; }
	.ak-menu > li { position: relative; }
	.ak-menu > .ak-menu__home { display: none; }
	.ak-menu a { min-height: 44px; padding: 6px 9px; border: 0; border-radius: 10px; font-size: .95rem; white-space: nowrap; }
	.ak-menu a:hover { background: var(--surface); }
	.ak-menu .sub-menu {
		position: absolute; inset-inline-start: 0; top: 100%; min-width: 220px; padding: 8px;
		background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transition: opacity .15s;
	}
	.ak-menu li:hover > .sub-menu, .ak-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
	.ak-nav__actions { display: flex; margin: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.ak-nav__actions .ak-btn--call { padding-inline: 12px; }
	.ak-nav__actions .ak-btn--call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ak-menu a { padding-inline: 7px; font-size: .92rem; }
}

/* Hero ------------------------------------------------------------------- */
.ak-hero { background: var(--grad-hero); padding-block: clamp(28px, 6vw, 72px) clamp(36px, 7vw, 88px); }
.ak-hero__inner { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.ak-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
	padding: 6px 14px; border-radius: 999px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
	color: var(--accent); font-weight: 500; font-size: .92rem;
}
.ak-eyebrow a { color: inherit; text-decoration: none; }
.ak-hero h1 { margin-bottom: 16px; }
.ak-hero__lead { color: var(--text-2); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 34em; margin-bottom: 24px; }
.ak-hero .ak-actions .ak-btn { flex: 1 1 200px; }
.ak-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--text-2); font-size: .95rem; }
.ak-trust li { display: inline-flex; align-items: center; gap: 8px; }
.ak-trust .ak-icon { color: var(--accent); }
.ak-hero__art img { display: block; width: min(100%, 560px); margin-inline: auto; }
@media (min-width: 600px) { .ak-hero .ak-actions .ak-btn { flex: 0 1 auto; } }
@media (min-width: 1024px) {
	.ak-hero__inner { grid-template-columns: 1.05fr .95fr; }
}

/* Page head -------------------------------------------------------------- */
.ak-pagehead { background: var(--grad-hero); padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px); }
.ak-pagehead h1 { max-width: 22em; }
.ak-pagehead__lead { color: var(--text-2); font-size: 1.12rem; max-width: 40em; }
.ak-pagehead .ak-actions { margin-top: 20px; }

/* Content & sections ------------------------------------------------------- */
.ak-content { padding-bottom: clamp(40px, 6vw, 80px); }
.ak-content > * { width: min(100% - 2 * var(--gutter), var(--text-max)); margin-inline: max(var(--gutter), (100% - var(--max)) / 2) auto; }
.ak-content > .alignwide, .ak-content > .ak-cta, .ak-content > .ak-pricing, .ak-content > .ak-grid, .ak-content > .ak-compare, .ak-content > .ak-vs, .ak-content > .ak-devices, .ak-content > .ak-steps, .ak-content > .ak-note { margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--max)); }
.ak-content > .alignfull { width: 100%; margin-inline: 0; }
.ak-content > h2 { margin-top: 1.6em; }
.ak-content--home > :first-child { margin-top: 0; }

.ak-section { padding-block: clamp(44px, 7vw, 88px); margin-block: 0; }
.ak-section.alignfull { padding-inline: max(var(--gutter), (100% - var(--max)) / 2); }
.ak-section--band { background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 26, 46, .4) 100%); border-block: 1px solid var(--border); }
.ak-section > h2, .ak-section > .ak-lead { text-align: center; margin-inline: auto; }
.ak-section > h2 { max-width: 22em; }
.ak-lead { color: var(--text-2); font-size: 1.08rem; max-width: 40em; margin-bottom: clamp(24px, 4vw, 40px); }
.ak-section > .ak-actions, .ak-section > .wp-block-shortcode > .ak-actions { justify-content: center; margin-top: 28px; }
.ak-section > * + .ak-actions { margin-top: 28px; }
.ak-center { text-align: center; }
.ak-center .ak-btn { margin-top: 24px; }

/* Grids & cards ------------------------------------------------------------ */
.ak-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ak-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ak-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ak-card {
	position: relative; display: block; padding: clamp(18px, 2.5vw, 26px);
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s;
}
a.ak-card:hover { border-color: rgba(34, 211, 238, .5); transform: translateY(-2px); color: var(--text); }
.ak-card h3 { margin-bottom: 6px; }
.ak-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.ak-card__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
	border-radius: 14px; background: rgba(34, 211, 238, .1); color: var(--accent);
}
.ak-service .ak-card__icon, .ak-gov .ak-card__icon { background: rgba(225, 29, 72, .12); color: #FB7185; }
.ak-service .ak-link { margin-top: 12px; }
/* Phones: icon beside the text to keep long card lists short */
@media (max-width: 599px) {
	.ak-feature, .ak-service, .ak-gov { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
	.ak-feature > :not(.ak-card__icon), .ak-service > :not(.ak-card__icon), .ak-gov > :not(.ak-card__icon) { grid-column: 2; }
	.ak-feature .ak-card__icon, .ak-service .ak-card__icon, .ak-gov .ak-card__icon { grid-row: 1 / span 3; width: 48px; height: 48px; margin: 0; }
	.ak-hero__art img { width: min(100%, 420px); }
}
.ak-service .ak-link .ak-icon, .ak-postcard .ak-link .ak-icon { transform: none; }

/* Shortcode block wrapper: let the inner grid take the width */
.wp-block-shortcode { margin: 0; }

/* Pricing ---------------------------------------------------------------- */
.ak-pricing { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
@media (min-width: 720px) { .ak-pricing { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.ak-price {
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 30px 24px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
}
.ak-price.is-featured {
	border: 2px solid var(--primary);
	background: linear-gradient(180deg, rgba(225, 29, 72, .14) 0%, var(--surface) 45%);
	box-shadow: 0 18px 50px rgba(225, 29, 72, .18);
}
.ak-price__badge {
	position: absolute; top: -14px; inset-inline-start: 24px;
	padding: 4px 14px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem;
}
.ak-price__name { font-size: 1.3rem; margin: 0; }
.ak-price__name span { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: 1rem; }
.ak-price__amount { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 10px; }
.ak-price__amount strong { font-family: var(--font-head); font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem); line-height: 1; }
.ak-price__amount span { color: var(--text-2); font-weight: 700; font-size: 1.15rem; }
.ak-price__features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; color: var(--text-2); font-size: .98rem; }
.ak-price__features li { display: flex; gap: 8px; align-items: flex-start; }
.ak-price__features .ak-icon { color: var(--whatsapp); margin-top: 4px; }
.ak-price .ak-btn { margin-top: auto; }
.ak-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }

/* Steps (ordered list block with class ak-steps) ----------------------------- */
ol.ak-steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 16px; }
@media (min-width: 1024px) { ol.ak-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
ol.ak-steps li {
	counter-increment: step; position: relative; padding: 24px 24px 24px 24px; padding-inline-start: 84px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted);
	min-height: 104px;
}
ol.ak-steps li::before {
	content: counter(step); position: absolute; inset-inline-start: 22px; top: 22px;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
ol.ak-steps strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 2px; }

/* Devices ------------------------------------------------------------------ */
.ak-devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .ak-devices { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ak-device {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 18px 10px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--text); text-decoration: none; font-weight: 700; text-align: center;
}
.ak-device .ak-icon { color: var(--accent); }
a.ak-device:hover { border-color: rgba(34, 211, 238, .5); color: var(--text); }

/* FAQ ---------------------------------------------------------------------- */
.ak-faq { display: grid; gap: 10px; max-width: var(--text-max); }
.ak-section .ak-faq { margin-inline: auto; }
.ak-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.ak-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px;
	cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem;
}
.ak-faq__item summary::-webkit-details-marker { display: none; }
.ak-faq__item summary .ak-icon { color: var(--accent); transition: transform .2s; }
.ak-faq__item[open] summary .ak-icon { transform: rotate(180deg); }
.ak-faq__a { padding: 0 18px 16px; color: var(--text-2); }
.ak-faq__a p { margin: 0; }

/* CTA band ----------------------------------------------------------------- */
.ak-cta {
	margin-block: clamp(40px, 6vw, 72px) 0; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
	text-align: center; border-radius: 26px; border: 1px solid rgba(225, 29, 72, .35);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(225, 29, 72, .35) 0%, transparent 60%),
		radial-gradient(70% 120% at 0% 100%, rgba(34, 211, 238, .2) 0%, transparent 60%),
		var(--surface);
}
.ak-cta h2 { margin-bottom: 10px; }
.ak-cta > p { color: var(--text-2); max-width: 36em; margin-inline: auto; }
.ak-cta .ak-actions { justify-content: center; margin-top: 22px; }
.ak-cta__meta { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: .95rem; }

/* Comparison table (cards on phones) --------------------------------------- */
.ak-compare { margin-block: 24px; }
.ak-compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ak-compare th, .ak-compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.ak-compare thead th { font-family: var(--font-head); font-size: 1.05rem; background: var(--surface-2); }
.ak-compare tbody th { text-align: start; color: var(--muted); font-weight: 500; }
.ak-compare tr:last-child > * { border-bottom: 0; }
@media (max-width: 719px) { .ak-compare table { display: none; } }
.ak-compare-cards { display: none; }
@media (max-width: 719px) { .ak-compare-cards { display: grid; gap: 12px; } }
.ak-compare-card { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ak-compare-card h3 { margin-bottom: 8px; }
.ak-compare-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; }
.ak-compare-card dt { color: var(--muted); }
.ak-compare-card dd { margin: 0; font-weight: 700; }

/* Contact form ---------------------------------------------------------------- */
.ak-form { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ak-form p { margin: 0; }
.ak-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.ak-form input, .ak-form select, .ak-form textarea {
	width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px;
	background: var(--bg); color: var(--text); border: 1px solid #2A3657; font: inherit;
}
.ak-form input:focus, .ak-form select:focus, .ak-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ak-form__error { color: #FDA4AF; font-weight: 700; }
.ak-form__note { color: var(--muted); font-size: .9rem; text-align: center; }

/* Chips (areas) ------------------------------------------------------------ */
.ak-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.ak-chips li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: .95rem; }
.ak-chips--links a { color: var(--accent); text-decoration: none; }

/* Posts -------------------------------------------------------------------- */
.ak-section.ak-container { padding-block: 40px 72px; }
.ak-postcard__img { display: block; margin: -1px -1px 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.ak-postcard__img img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.ak-postcard__title { font-size: 1.2rem; }
.ak-postcard__title a { color: var(--text); text-decoration: none; }
.ak-featured { margin: 0 0 24px; }
.ak-featured img { border-radius: var(--radius); display: block; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; }
.page-numbers.current { background: var(--primary); }

/* Gutenberg basics --------------------------------------------------------- */
.ak-content table { width: 100%; border-collapse: collapse; }
.ak-content th, .ak-content td { padding: 12px; border-bottom: 1px solid var(--border); text-align: start; }
.wp-block-image img { border-radius: var(--radius); }
.has-text-align-center { text-align: center; }

/* Footer ------------------------------------------------------------------- */
.ak-footer { background: #070B16; border-top: 1px solid var(--border); padding-top: clamp(40px, 6vw, 64px); color: var(--text-2); }
.ak-footer__grid { display: grid; gap: 32px; }
@media (min-width: 600px) { .ak-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ak-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ak-logo--footer img { height: 52px; }
.ak-footer__brand p { margin-top: 14px; color: var(--muted); max-width: 30em; }
.ak-footer__title { font-size: 1.05rem; margin-bottom: 12px; }
.ak-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ak-footer__list li { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.ak-footer__list a { color: var(--text-2); text-decoration: none; }
.ak-footer__list a:hover { color: var(--accent); }
.ak-footer__list .ak-icon { color: var(--accent); }
.ak-footer__bottom { margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.ak-footer__bottom p { margin: 0 0 4px; }

/* Mobile action bar + floating WhatsApp ------------------------------------ */
.ak-mobilebar {
	position: fixed; inset: auto 0 0 0; z-index: 60;
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(10, 15, 30, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--border);
}
.ak-mobilebar .ak-btn { min-height: 50px; padding: 10px; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.ak-wa-float { display: none; }
@media (min-width: 600px) {
	.ak-mobilebar { display: none; }
	body { padding-bottom: 0; }
	.ak-wa-float {
		position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 60;
		display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
		background: var(--whatsapp); color: #04210F; box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
		transition: transform .2s;
	}
	.ak-wa-float:hover { transform: scale(1.06); color: #04210F; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Governorates map (/kuwait/) ------------------------------------------- */
.ak-content > .ak-govmap { display: grid; gap: 24px; align-items: center; }
.ak-map { margin: 0; }
.ak-map svg { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.ak-map__sea { fill: rgba(34, 211, 238, .08); }
.ak-map__sea-label { fill: var(--accent); font: 700 15px var(--font-head); text-anchor: middle; dominant-baseline: middle; opacity: .8; }
.ak-map__gov path { fill: var(--surface); stroke: var(--border); stroke-width: 2; transition: fill .2s, stroke .2s; }
.ak-map__name { fill: var(--text); font: 800 22px var(--font-head); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.ak-map__name--sm { font-size: 17px; }
a.ak-map__gov path { fill: var(--surface-2); }
a.ak-map__gov:hover path, a.ak-map__gov:focus-visible path { fill: rgba(225, 29, 72, .28); stroke: var(--primary); }
a.ak-map__gov:focus-visible { outline: none; }
.ak-map figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: .875rem; }
@media (min-width: 1024px) {
	.ak-content > .ak-govmap { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

/* Illustrations and how-to steps ------------------------------------------- */
.ak-content > .ak-illus { margin-block: 8px 28px; }
.ak-illus img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.ak-content > ol.ak-steps--howto, .ak-content > .ak-illus { width: min(100% - 2 * var(--gutter), var(--text-max)); margin-inline: max(var(--gutter), (100% - var(--max)) / 2) auto; }
@media (min-width: 1024px) { ol.ak-steps--howto { grid-template-columns: 1fr; } }

/* Spider vs Flash table (/compare/, a core Table block with class ak-vs): a table from 720px, stacked cards below */
.ak-content > .ak-vs { margin-block: 24px; }
.wp-block-table.ak-vs table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.wp-block-table.ak-vs thead { border: 0; }
.wp-block-table.ak-vs th, .wp-block-table.ak-vs td { padding: 16px 18px; border: 0; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.wp-block-table.ak-vs thead th { font-family: var(--font-head); font-size: 1.1rem; background: var(--surface-2); }
.wp-block-table.ak-vs tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.wp-block-table.ak-vs tr:last-child > * { border-bottom: 0; }
@media (max-width: 719px) {
	.wp-block-table.ak-vs table, .wp-block-table.ak-vs tbody, .wp-block-table.ak-vs tr, .wp-block-table.ak-vs th, .wp-block-table.ak-vs td { display: block; width: auto; }
	.wp-block-table.ak-vs table { background: none; border: 0; }
	.wp-block-table.ak-vs thead { display: none; }
	.wp-block-table.ak-vs tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 18px; margin-bottom: 12px; }
	.wp-block-table.ak-vs tbody th { width: auto; padding: 12px 0 4px; border: 0; color: var(--text); font-family: var(--font-head); font-size: 1.1rem; }
	.wp-block-table.ak-vs td { padding: 10px 0; border-bottom: 1px solid var(--border); }
	.wp-block-table.ak-vs td::before { display: block; color: var(--accent); font-weight: 700; font-size: .85rem; margin-bottom: 2px; }
	.wp-block-table.ak-vs td:nth-of-type(1)::before { content: "سبايدر"; }
	.wp-block-table.ak-vs td:nth-of-type(2)::before { content: "فلاش 4K"; }
	.wp-block-table.ak-vs tr > td:last-child { border-bottom: 0; }
}
