/*
 * Roq Theme — helper CSS that theme.json cannot express.
 * Tokens: theme.json (single source) → --wp--preset--* / --wp--custom--*.
 * RTL-first: logical properties only (no physical left/right).
 */

/* ---------- Base ---------- */
html { scroll-padding-block-start: 16px; }
body { min-block-size: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
:where(input, button, select, textarea) { font: inherit; color: inherit; }
/* Text-colour highlights (<mark class="has-inline-color">) have no background unless one is chosen (inline style wins):
   saving without unfiltered_html drops the editor's transparent background (ADR-053). */
mark.has-inline-color { background-color: transparent; }

:focus-visible {
	outline: var(--wp--custom--focus--ring);
	outline-offset: var(--wp--custom--focus--offset);
}

/* Skip link (core prints it for block themes; style it on brand). */
.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	font-weight: 700;
	border-radius: var(--wp--custom--radius--control);
	inset-block-start: 8px;
	inset-inline-start: 8px;
	padding: 10px 18px;
	z-index: 100000;
}

/* LTR islands for phone numbers, refs, plate, VAT. */
.roq-ltr, bdi[dir="ltr"] { direction: ltr; unicode-bidi: isolate; }
.roq-num { font-variant-numeric: tabular-nums; }
.roq-nowrap { white-space: nowrap; }
/* A price never breaks between the number and «ر.س» (S27: «396 ر.س» wrapped at 375 px). */
.wp-block-roq-price-list .roq-num { white-space: nowrap; flex: none; }

/* ---------- Stage (header + hero / page title) ----------
 * The header overlays the first stage section of <main> so one gradient runs behind both (no seam).
 * Templates/patterns mark that section with .roq-stage--top.
 */
:root { --roq-header-h: 76px; }
.wp-site-blocks { position: relative; }
.roq-site-header {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 20;
}
.roq-stage--top { padding-block-start: calc(var(--roq-header-h) + var(--wp--preset--spacing--50)) !important; }
.roq-stage--top + * { margin-block-start: 0; }
main > .wp-block-post-content > :first-child { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.roq-stage { color: var(--wp--preset--color--surface); }
.roq-tagline { color: var(--wp--preset--color--lead-2); }
.roq-lead { color: var(--wp--preset--color--lead); }

.roq-site-header { color: var(--wp--preset--color--surface); }
.roq-header { gap: 12px 20px; }
.roq-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--gradient--stage);
	color: var(--wp--preset--color--surface);
	padding: 24px;
}
.roq-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
}
.roq-header .wp-block-navigation__responsive-container-open,
.roq-header .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--surface); }
.roq-header .wp-block-buttons .wp-block-button__link { padding-block: 8px; padding-inline: 16px; font-size: var(--wp--preset--font-size--small); }

@media (max-width: 599px) {
	.roq-hide-sm { display: none !important; }
}
@media (min-width: 600px) {
	.roq-show-sm { display: none !important; }
}

/* Header 600–1199 px (S27): the inline menu, tagline and WhatsApp button don't fit next to the account menu and the
 * booking button, so the phone layout continues (menu button + overlay) until 1200 px. Buttons never wrap. */
.roq-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1199px) {
	.roq-hide-md { display: none !important; }
}
@media (min-width: 600px) and (max-width: 1199px) {
	.roq-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.roq-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
}

/* ---------- Chips, badges, prices ---------- */
.roq-chip,
.roq-chips > * {
	display: inline-block;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	border-radius: var(--wp--custom--radius--pill);
	padding-inline: 10px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	line-height: 1.8;
	margin: 0;
}
.roq-chip.is-alt,
.roq-chips > .is-alt { background: var(--wp--preset--color--chip); color: var(--wp--preset--color--chip-ink); }
.roq-chip.is-glass {
	background: rgba(255, 255, 255, .1);
	color: var(--wp--preset--color--surface);
	border: 1px solid rgba(255, 255, 255, .28);
	padding-inline: 12px;
	font-weight: 500;
}
.roq-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.roq-badge {
	position: absolute;
	inset-block-start: -11px;
	inset-inline-start: 14px;
	margin: 0 !important;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	font-size: .76rem;
	font-weight: 800;
	border-radius: var(--wp--custom--radius--pill);
	padding-inline: 12px;
	line-height: 1.6;
}

.roq-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--price);
	font-weight: 800;
	line-height: 1.1;
	color: var(--wp--preset--color--brand);
	font-variant-numeric: tabular-nums;
}
.roq-price small {
	font-size: .9rem;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
	margin-inline-start: 4px;
}

.roq-save {
	align-self: flex-start;
	background: var(--wp--preset--color--ok-bg);
	color: var(--wp--preset--color--ok-ink);
	border-radius: var(--wp--custom--radius--small);
	padding: 2px 8px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

/* ---------- Service cards (static until S05) ---------- */
.roq-svc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-inline-size: 0;
}
.roq-svc > * { margin-block: 0 !important; }
.roq-svc.is-package {
	border-color: var(--wp--preset--color--accent-strong) !important;
	box-shadow: 0 0 0 3px rgba(5, 187, 140, .28), var(--wp--preset--shadow--selected);
}
.roq-svc.is-popular {
	border-color: var(--wp--preset--color--brand) !important;
	background: var(--wp--preset--color--surface) !important;
	box-shadow: var(--wp--preset--shadow--selected);
}
.roq-svc .roq-svc__name { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.05rem; }
.roq-svc .wp-block-buttons { margin-block-start: auto !important; padding-block-start: 6px; }
.roq-svc .wp-block-button,
.roq-svc .wp-block-button__link { inline-size: 100%; }

/* ---------- How it works ---------- */
.roq-steps { counter-reset: roq-step; }
.roq-step { counter-increment: roq-step; position: relative; }
.roq-step::before {
	content: counter(roq-step);
	display: grid;
	place-items: center;
	inline-size: 36px;
	block-size: 36px;
	border-radius: 50%;
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--brand-ink);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	margin-block-end: 10px;
}
.roq-step:last-child::before { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-ink); }
.roq-step > * { margin-block: 0 0 6px; }

/* ---------- Districts list ---------- */
ul.roq-districts {
	list-style: none;
	padding-inline-start: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
ul.roq-districts li {
	background: var(--wp--preset--color--surface);
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	padding: 4px 14px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

/* ---------- Before / after ---------- */
.roq-ba__frame {
	position: relative;
	direction: ltr;
	border-radius: var(--wp--custom--radius--tile);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--wp--preset--color--line);
	--pos: 50%;
}
.roq-ba__frame figure { position: absolute; inset: 0; margin: 0 !important; }
.roq-ba__frame img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.roq-ba__frame figure + figure { clip-path: inset(0 0 0 var(--pos)); }
.roq-ba__frame figcaption {
	position: absolute;
	inset-block-start: 8px;
	margin: 0;
	background: rgba(20, 10, 50, .7);
	color: #fff;
	font-size: var(--wp--preset--font-size--x-small);
	padding-inline: 10px;
	border-radius: var(--wp--custom--radius--pill);
	inset-inline-start: 8px;
}
/* Frame is LTR (like the prototype): "after" fills the frame, "before" is revealed on the right. */
.roq-ba__frame figure + figure figcaption { inset-inline-start: auto; inset-inline-end: 8px; }
.roq-ba__frame::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: var(--pos);
	inline-size: 3px;
	margin-inline-start: -1.5px;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 0 1px rgba(20, 10, 50, .25);
	pointer-events: none;
}
.roq-ba__range {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 10px;
	inline-size: 100%;
	margin: 0;
	accent-color: var(--wp--preset--color--brand);
	cursor: ew-resize;
}
/* Without JS (no slider) both images sit side by side. */
.roq-ba:not(.is-ready) .roq-ba__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto; }
.roq-ba:not(.is-ready) .roq-ba__frame figure { position: relative; aspect-ratio: 4 / 3; }
.roq-ba:not(.is-ready) .roq-ba__frame figure + figure { clip-path: none; }
.roq-ba:not(.is-ready) .roq-ba__frame::after { display: none; }

/* ---------- Quotes (testimonials) ---------- */
.roq-quote { display: flex; flex-direction: column; gap: 10px; }
.roq-quote .roq-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; direction: ltr; text-align: end; margin: 0; }

/* ---------- FAQ ---------- */
.roq-faq .wp-block-details summary {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	cursor: pointer;
}
.roq-faq .wp-block-details[open] summary { margin-block-end: 8px; color: var(--wp--preset--color--brand); }
.roq-faq .wp-block-details > :not(summary) { color: var(--wp--preset--color--ink-2); margin-block-start: 0; }

/* ---------- Page card (legal pages) ---------- */
.roq-prose h2 { margin-block-start: var(--wp--preset--spacing--50); }
.roq-prose :where(ul, ol) { padding-inline-start: 1.4em; }
.roq-prose li + li { margin-block-start: 4px; }

/* ---------- Footer (S30, Figma: bubble band, three columns, dark bottom bar) ---------- */
.roq-footer {
	background: var(--wp--preset--color--stage);
	color: var(--wp--preset--color--lead);
	padding-block-end: 0 !important;
	overflow: hidden;
}
.roq-footer a { color: var(--wp--preset--color--surface); text-decoration: none; }
.roq-footer a:hover { text-decoration: underline; }
.roq-footer h2 { color: var(--wp--preset--color--surface); font-size: var(--wp--preset--font-size--large); margin-block: 0 .7em; }
.roq-footer ul { list-style: none; padding-inline-start: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.roq-footer p { margin-block: 0 .6em; }
.roq-footer__bubbles { margin: 0 !important; pointer-events: none; }
.roq-footer__bubbles img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1200 / 377; object-fit: cover; }
.roq-footer__cols { position: relative; margin-block-start: calc(-1 * clamp(3rem, 9vw, 8rem)) !important; padding-block-end: var(--wp--preset--spacing--40); }
.roq-footer__brand .roq-logo { margin-block-end: 14px; }
.roq-footer__hours { font-size: var(--wp--preset--font-size--small); }
.roq-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.roq-pay > * {
	margin: 0 !important;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--brand);
	border-radius: var(--wp--custom--radius--small);
	padding: 2px 10px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	font-family: var(--wp--preset--font-family--display);
}
.roq-footer__bar {
	background: var(--wp--preset--color--bg);
	color: var(--wp--preset--color--lead-2);
	font-size: var(--wp--preset--font-size--x-small);
	padding-block: 14px;
	margin-block-start: var(--wp--preset--spacing--40) !important;
}
.roq-footer__bar p { margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.wp-block-button__link, .roq-svc, .wp-block-details { transition: background-color .15s, border-color .15s, box-shadow .15s; }
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Booking pill (header, S23: roq-ops assets/checkout/booking-pill.js) ---------- */
.roq-booking-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: var(--wp--custom--radius--pill);
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .3);
	color: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.roq-booking-pill::before {
	content: "";
	inline-size: 8px;
	block-size: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	margin-inline-end: 4px;
}
.roq-booking-pill:hover { background: rgba(255, 255, 255, .2); }

/* =====================================================================
 * Figma marketing language (S30, ADR-042). Tokens: stage, stage-2, glass, glass-line, accent-strong (theme.json).
 * Text on teal uses accent-ink (white on #05bb8c is 2.47:1 and fails AA; see 01-design-system.md «Contrast rules»).
 * ===================================================================== */

/* ---------- Header (S30): info bar + sticky main bar + search bar + phone menu panel ----------
 * The whole <header> is sticky with a negative offset equal to the info bar, so the info bar scrolls away and the
 * main bar stays. No backdrop-filter / transform on the header: they would trap the fixed menu panel inside it.
 */
:root { --roq-util-h: 0px; --roq-bar-h: 64px; }
@media (min-width: 768px) { :root { --roq-util-h: 38px; } }
@media (min-width: 1024px) { :root { --roq-bar-h: 76px; } }
.roq-site-header:has(.roq-topbar) {
	position: sticky;
	inset-block-start: calc(var(--wp-admin--admin-bar--height, 0px) - var(--roq-util-h));
	z-index: 50;
}
body:has(.roq-topbar) .roq-stage--top { padding-block-start: var(--wp--preset--spacing--50) !important; }
html { scroll-padding-block-start: calc(var(--roq-bar-h) + 16px); }

/* Info bar */
.roq-utility {
	display: none;
	background: var(--wp--preset--color--bg);
	color: var(--wp--preset--color--lead);
	font-size: var(--wp--preset--font-size--x-small);
	block-size: var(--roq-util-h);
	margin: 0 !important;
}
@media (min-width: 768px) { .roq-utility { display: block; } }
.roq-utility__row { block-size: 100%; align-items: center; gap: 16px; }
.roq-utility p { margin: 0; white-space: nowrap; }
.roq-utility__info { overflow: hidden; text-overflow: ellipsis; }
.roq-utility__city { font-weight: 700; color: var(--wp--preset--color--surface); }
.roq-utility__city::after { content: "·"; margin-inline: 8px; color: var(--wp--preset--color--lead-2); }
@media (max-width: 1023px) { .roq-utility__hours { display: none; } .roq-utility__city::after { content: none; } }
.roq-utility__end { gap: 14px; flex: none; }
.roq-utility a { color: var(--wp--preset--color--surface); text-decoration: none; font-weight: 700; }
.roq-utility a:hover { color: var(--wp--preset--color--accent-strong); }

/* Social icons (filled by inc/figma.php from Settings) */
.roq-social { margin: 0 !important; }
.roq-social .wp-block-social-links { margin: 0; gap: 4px; flex-direction: row; flex-wrap: wrap; } /* beats `.roq-footer ul` (column) */
.roq-social .wp-social-link { color: var(--wp--preset--color--surface); }
.roq-social .wp-social-link a { padding: 6px; border-radius: 50%; }
.roq-social .wp-social-link a:hover { background: rgba(255, 255, 255, .12); color: var(--wp--preset--color--accent-strong); }
.roq-utility .roq-social .wp-social-link a { padding: 4px; }

/* Main bar */
.roq-topbar {
	position: relative;
	background-color: var(--wp--preset--color--stage-2);
	color: var(--wp--preset--color--surface);
	padding-block: 0;
	margin: 0 !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
@supports (animation-timeline: scroll()) {
	.roq-topbar { animation: roq-topbar-scrolled linear both; animation-timeline: scroll(root); animation-range: 40px 140px; }
	@keyframes roq-topbar-scrolled {
		to { background-color: rgba(63, 2, 110, .96); box-shadow: 0 8px 28px rgba(10, 0, 40, .45); }
	}
}
.roq-topbar .roq-header { gap: 8px 20px; min-block-size: var(--roq-bar-h); }
.roq-topbar .roq-logo { flex: none; margin: 0; }
.roq-topbar .roq-logo img { inline-size: clamp(76px, 6vw + 52px, 104px); block-size: auto; }
.roq-logo .wp-block-site-title { font-size: 1.3rem; margin: 0; }
.roq-logo .wp-block-site-title a { color: inherit; text-decoration: none; }

/* Desktop menu */
.roq-nav { font-family: var(--wp--preset--font-family--body); }
.roq-topbar .roq-nav { flex: 1 1 auto; justify-content: center; }
.roq-topbar .roq-nav .wp-block-navigation__container { gap: 4px; }
.roq-topbar .roq-nav .wp-block-navigation-item__content {
	position: relative;
	color: var(--wp--preset--color--surface);
	font-size: 1.02rem;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: var(--wp--custom--radius--pill);
	text-decoration: none;
}
.roq-topbar .roq-nav .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .1); }
.roq-topbar .roq-nav .wp-block-navigation-item__content[aria-current="page"] { font-weight: 800; background: rgba(255, 255, 255, .08); }
.roq-topbar .roq-nav .wp-block-navigation-item__content[aria-current="page"]::after {
	content: "";
	position: absolute;
	inset-inline: 30%;
	inset-block-end: 2px;
	block-size: 3px;
	border-radius: 3px;
	background: var(--wp--preset--color--accent-strong);
}

/* Actions: icon buttons, account menu, booking */
.roq-header__end { flex: none; gap: 6px; }
.roq-iconbtn {
	display: inline-grid;
	place-items: center;
	inline-size: 42px;
	block-size: 42px;
	border-radius: 50%;
	color: var(--wp--preset--color--surface);
	background: rgba(255, 255, 255, .08);
	text-decoration: none;
	flex: none;
}
.roq-iconbtn svg { inline-size: 22px; block-size: 22px; fill: currentColor; }
.roq-iconbtn:hover, .roq-iconbtn[aria-expanded="true"] { background: rgba(255, 255, 255, .18); }
.roq-topbar .roq-header__cta { margin: 0; flex: none; }
.roq-topbar .roq-header__cta .wp-block-button__link { padding: 10px 20px; font-size: var(--wp--preset--font-size--medium); white-space: nowrap; box-shadow: 0 6px 18px rgba(5, 187, 140, .28); }
.roq-iconbtn--menu { display: none; }

/* Below 1024 px: menu panel instead of the inline menu */
@media (max-width: 1023px) {
	.roq-topbar .roq-nav { display: none; }
	.roq-iconbtn--menu { display: inline-grid; }
	.roq-topbar .roq-header__end { margin-inline-start: auto; }
}
@media (max-width: 599px) {
	.roq-header__end { gap: 4px; }
	.roq-iconbtn { inline-size: 38px; block-size: 38px; }
	.roq-topbar .roq-header__cta .wp-block-button__link { padding: 8px 12px; font-size: var(--wp--preset--font-size--small); box-shadow: none; }
}
@media (max-width: 359px) {
	.roq-iconbtn--search { display: none; } /* the menu panel has search through the menu → services; booking stays visible */
}

/* Search bar (drops below the main bar) */
.roq-searchbar {
	display: none;
	position: absolute;
	inset-inline: 0;
	inset-block-start: 100%;
	padding-block: 14px 16px;
	background: var(--wp--preset--color--stage);
	box-shadow: 0 14px 30px rgba(10, 0, 40, .45);
	margin: 0 !important;
}
.roq-searchbar.is-open, .roq-searchbar:target { display: block; }
.roq-search .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--surface);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	padding: 4px;
}
.roq-search .wp-block-search__input { border: 0; background: transparent; padding-inline: 16px; min-block-size: 44px; color: var(--wp--preset--color--ink); font-size: var(--wp--preset--font-size--medium); }
.roq-search .wp-block-search__input:focus { outline: none; }
.roq-search .wp-block-search__inside-wrapper:focus-within { box-shadow: 0 0 0 3px var(--wp--preset--color--accent-strong); }
.roq-search .wp-block-search__button {
	margin: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-strong);
	color: var(--wp--preset--color--accent-ink);
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	display: grid;
	place-items: center;
}
.roq-search .wp-block-search__button svg { fill: currentColor; }

/* Phone menu panel */
.roq-drawer { display: none; position: fixed; inset: 0; z-index: 1000; margin: 0 !important; }
.roq-drawer.is-open, .roq-drawer:target { display: block; }
@media (min-width: 1024px) { .roq-drawer, .roq-drawer:target { display: none; } }
.roq-drawer > * { margin: 0 !important; } /* block gap must not push the panel down */
.roq-drawer__scrim { position: absolute; inset: 0; background: rgba(10, 0, 30, .62); }
.roq-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	inline-size: min(88vw, 380px);
	overflow-y: auto;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
	background: var(--wp--preset--gradient--marketing);
	color: var(--wp--preset--color--surface);
	box-shadow: -12px 0 40px rgba(10, 0, 40, .5);
}
.roq-drawer__panel > * { margin: 0 !important; }
.roq-drawer__top { padding-block-end: 12px; border-block-end: 1px solid rgba(255, 255, 255, .12); }
.roq-nav--drawer .wp-block-navigation__container { gap: 4px; inline-size: 100%; }
.roq-nav--drawer .wp-block-navigation-item { inline-size: 100%; }
.roq-nav--drawer .wp-block-navigation-item__content {
	display: block;
	inline-size: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	color: var(--wp--preset--color--surface);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}
.roq-nav--drawer .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .08); }
.roq-nav--drawer .wp-block-navigation-item__content[aria-current="page"] {
	background: rgba(5, 187, 140, .14);
	color: var(--wp--preset--color--accent-strong);
	box-shadow: inset -4px 0 0 var(--wp--preset--color--accent-strong);
}
.roq-drawer__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.roq-drawer__actions .wp-block-button:first-child { grid-column: 1 / -1; }
.roq-drawer__actions .wp-block-button__link { inline-size: 100%; padding-block: 12px; }
.roq-drawer__hours { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); }
html.roq-locked { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.roq-drawer.is-open .roq-drawer__panel, .roq-drawer:target .roq-drawer__panel { animation: roq-drawer-in .22s ease-out; }
	.roq-drawer.is-open .roq-drawer__scrim, .roq-drawer:target .roq-drawer__scrim { animation: roq-fade-in .22s ease-out; }
	.roq-searchbar.is-open { animation: roq-fade-in .18s ease-out; }
	@keyframes roq-drawer-in { from { translate: 100% 0; } }
	@keyframes roq-fade-in { from { opacity: 0; } }
	.roq-iconbtn, .roq-topbar .roq-nav .wp-block-navigation-item__content { transition: background-color .15s; }
}
/* RTL panel slides in from the start side (right); LTR (never used today) from the left. */
:dir(ltr) .roq-drawer__panel { box-shadow: 12px 0 40px rgba(10, 0, 40, .5); }

/* ---------- Marketing page + sections ---------- */
.roq-fg :where(h1, h2, h3, h4) { font-family: var(--wp--preset--font-family--body); font-weight: 800; }
.roq-fg .wp-block-button__link,
.roq-topbar .wp-block-button__link,
.roq-drawer .wp-block-button__link,
.roq-sticky-cta .wp-block-button__link { font-family: var(--wp--preset--font-family--body); font-weight: 700; border-radius: 10px; }
.roq-marketing {
	color: var(--wp--preset--color--surface);
	background-color: var(--wp--preset--color--stage);
	background-image:
		radial-gradient(circle at 92% 6%, rgba(255, 255, 255, .05) 0 120px, transparent 121px),
		radial-gradient(circle at 6% 22%, rgba(140, 28, 226, .16) 0 150px, transparent 151px),
		radial-gradient(circle at 88% 48%, rgba(140, 28, 226, .14) 0 180px, transparent 181px),
		radial-gradient(circle at 10% 74%, rgba(255, 255, 255, .04) 0 110px, transparent 111px),
		var(--wp--preset--gradient--marketing);
}
/* Sections carry their own stage colour, so they also read right inside a light page. */
:where(.roq-fg-section, .roq-fg-cta, .roq-fg-hero-wrap) { background-color: var(--wp--preset--color--stage); color: var(--wp--preset--color--surface); }
.roq-marketing :where(.roq-fg-section, .roq-fg-cta, .roq-fg-hero-wrap) { background-color: transparent; }
.roq-fg-section { padding-block: var(--wp--preset--spacing--60); }
.roq-fg-section > * + * { margin-block-start: 0; }
.roq-fg-head { text-align: center; margin-block-end: var(--wp--preset--spacing--50) !important; }
.roq-fg-head > * { margin-block: 0; }
.roq-fg .is-style-display { font-size: var(--wp--preset--font-size--section); margin-block-end: .25em !important; }
.roq-fg-sub { color: var(--wp--preset--color--lead); font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); }
.roq-fg-placeholder { max-inline-size: 40rem; margin-inline: auto !important; margin-block-start: var(--wp--preset--spacing--30) !important; text-align: start; }

/* Block styles (registered in inc/figma.php): one rule set each, shared by every instance. */
.is-style-glass,
.is-style-stats {
	position: relative;
	background: var(--wp--preset--gradient--glass);
	color: var(--wp--preset--color--surface);
	border: 2px solid var(--wp--preset--color--glass-line);
	border-radius: var(--wp--custom--radius--glass);
	box-shadow: var(--wp--preset--shadow--glass);
}
/* Glass boxes (cards, service rows, price cards…): thin teal line (owner, 2026-11-17; was 2px glass-line). */
.is-style-glass { padding: var(--wp--preset--spacing--40); border: 1px solid var(--wp--preset--color--accent-strong); }
.is-style-glass :where(h1, h2, h3, h4) { color: var(--wp--preset--color--accent-strong); }
.is-style-glass a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--surface); }
.wp-block-cover.is-style-hero-card { border-radius: var(--wp--custom--radius--card); color: var(--wp--preset--color--surface); }
.wp-block-heading.is-style-display { color: var(--wp--preset--color--accent-strong); font-family: var(--wp--preset--font-family--body); font-weight: 800; line-height: 1.2; }
p.is-style-pill,
p.is-style-ribbon { background: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--accent-ink); font-weight: 800; }
p.is-style-pill { border-radius: var(--wp--custom--radius--pill); }
p.is-style-ribbon { font-size: var(--wp--preset--font-size--x-small); }
.wp-block-button.is-style-teal .wp-block-button__link { background-color: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--accent-ink); }
.wp-block-button.is-style-teal .wp-block-button__link:is(:hover, :focus-visible) { background-color: #06cf9b; color: var(--wp--preset--color--accent-ink); }
.wp-block-button.is-style-violet .wp-block-button__link { background-color: var(--wp--preset--color--glass-line); color: var(--wp--preset--color--surface); }
.wp-block-button.is-style-violet .wp-block-button__link:is(:hover, :focus-visible) { background-color: #7a12cc; color: var(--wp--preset--color--surface); }

/* Glass cards */
.roq-fg-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-inline-size: 0; }
.roq-fg-card > * { margin-block: 0 !important; }
.roq-fg-card :where(h3) { color: var(--wp--preset--color--accent-strong); font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); }
.roq-fg-card :where(p) { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--medium); line-height: 1.75; }
.roq-fg-icon { position: relative; isolation: isolate; margin: 0; }
.roq-fg-icon img { display: block; inline-size: 96px; block-size: 96px; object-fit: contain; }
.roq-fg-icon:not(.roq-fg-icon--plain)::before {
	content: "";
	position: absolute;
	z-index: -1;
	inline-size: 60px;
	block-size: 60px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-strong);
	inset-block-start: 14px;
	inset-inline-end: 0;
}

/* Problems: pill title over the card's top edge */
.roq-fg-problems { gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.roq-fg-problems > .roq-fg-card { flex: 1 1 17rem; max-inline-size: 23rem; justify-content: center; padding-block-start: 2.6rem; margin-block-start: 1.2rem; }
.roq-fg-card--pill > .is-style-pill {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	margin-inline: auto !important;
	inline-size: max-content;
	max-inline-size: 90%;
	transform: translateY(-50%);
	padding: .45em 1.4em;
	font-size: 1.05rem;
	line-height: 1.4;
	box-shadow: var(--wp--preset--shadow--glass);
}
.is-style-pill { padding: .35em 1.1em; display: inline-block; }

/* Steps */
.roq-fg-steps { counter-reset: roq-fg-step; }
.roq-fg-step { counter-increment: roq-fg-step; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.roq-fg-step > * { margin-block: 0 !important; }
.roq-fg-step::before {
	content: counter(roq-fg-step);
	display: grid;
	place-items: center;
	inline-size: 64px;
	block-size: 64px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-strong);
	color: var(--wp--preset--color--accent-ink);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
	margin-block-end: 6px;
}
.roq-fg-step :where(h3) { color: var(--wp--preset--color--accent-strong); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.roq-fg-step :where(p) { color: var(--wp--preset--color--lead); }

/* Reviews */
.roq-fg-review { margin: 0; }
.roq-fg-review .roq-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.15rem; direction: ltr; }
.roq-fg-quote { color: var(--wp--preset--color--surface) !important; }
.roq-fg-review__name { font-size: 1.1rem !important; }

/* Contact cards + action buttons */
.roq-fg-contact { max-inline-size: 48rem; margin-inline: auto !important; }
/* No phone set: the call card is not rendered (roq-if-set-phone), the WhatsApp card is centred alone. */
.roq-fg-contact > :only-child { grid-column: 1 / -1; justify-self: center; inline-size: min(100%, 23.5rem); }
.roq-fg-actions { justify-content: center; inline-size: 100%; gap: 10px; }
.roq-fg-card .roq-fg-actions:not(.roq-fg-actions--pills) .wp-block-button { flex: 1 1 100%; }
.roq-fg-card .roq-fg-actions .wp-block-button__link { inline-size: 100%; }
.roq-fg-actions--pills .wp-block-button { flex: 1 1 9rem; }
.roq-fg-actions--pills .wp-block-button__link { border-radius: var(--wp--custom--radius--pill); padding-block: 8px; font-variant-numeric: tabular-nums; }

/* CTA band */
.roq-fg-cta { padding-block: var(--wp--preset--spacing--40); }
.roq-fg-cta__button .wp-block-button__link { font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 800; padding: .8em 2.2em; border-radius: 14px; }

/* Page hero (photo card) */
.roq-fg-hero-wrap { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
.wp-block-cover.is-style-hero-card {
	overflow: hidden;
	text-align: center;
	padding-block: var(--wp--preset--spacing--60);
	padding-inline: var(--wp--preset--spacing--40);
	box-shadow: var(--wp--preset--shadow--card);
}
.is-style-hero-card .wp-block-cover__inner-container { max-inline-size: 46rem; margin-inline: auto; }
.is-style-hero-card .wp-block-cover__inner-container > * { margin-block: 0 .35em; }
.roq-fg-hero__title { font-size: var(--wp--preset--font-size--display); line-height: 1.15; color: var(--wp--preset--color--surface); }
.roq-fg-hero__sub { font-size: clamp(1.15rem, .9rem + 1.1vw, 1.9rem); font-weight: 500; }
.roq-fg-hero__line { font-size: var(--wp--preset--font-size--medium); color: rgba(255, 255, 255, .92); }
.is-style-hero-card .roq-fg-actions { margin-block-start: var(--wp--preset--spacing--40) !important; }
.is-style-hero-card .roq-fg-actions .wp-block-button { flex: 0 1 15rem; }
.is-style-hero-card .roq-fg-actions .wp-block-button__link { inline-size: 100%; padding-block: 12px; font-size: var(--wp--preset--font-size--large); }

/* Ribbon (corner badge, top inline-end like Figma), stats bar, divided list, bubbles */
.is-style-ribbon {
	position: absolute;
	inset-block-start: -2px;
	inset-inline-end: -2px;
	z-index: 1;
	margin: 0 !important;
	padding: 4px 14px;
	line-height: 1.5;
	border-start-end-radius: var(--wp--custom--radius--glass);
	border-end-start-radius: 10px;
}
.is-style-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--wp--preset--spacing--30); text-align: center; padding: var(--wp--preset--spacing--40); }
.is-style-stats > * { margin: 0 !important; }
.is-style-divided { list-style: none; padding-inline-start: 0; margin: 0; }
.is-style-divided li { position: relative; padding-block: .6em; padding-inline-start: 1.1em; border-block-end: 1px solid rgba(255, 255, 255, .14); }
.is-style-divided li:last-child { border-block-end: 0; }
.is-style-divided li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 1.25em; inline-size: 5px; block-size: 5px; border-radius: 50%; background: currentColor; }
.is-style-bubbles { position: relative; isolation: isolate; }
.is-style-bubbles::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .07) 0 60px, transparent 61px),
		radial-gradient(circle at 90% 26%, rgba(255, 255, 255, .05) 0 100px, transparent 101px),
		radial-gradient(circle at 80% 78%, rgba(140, 28, 226, .2) 0 130px, transparent 131px),
		radial-gradient(circle at 22% 84%, rgba(140, 28, 226, .16) 0 80px, transparent 81px);
}

/* Saudi riyal sign (mask, takes the text colour; the accessible text «ريال» sits next to it) */
.roq-riyal {
	display: inline-block;
	inline-size: .8em;
	block-size: .9em;
	vertical-align: -.04em;
	background-color: currentColor;
	-webkit-mask: url(../images/figma/riyal.png) center / contain no-repeat;
	mask: url(../images/figma/riyal.png) center / contain no-repeat;
}

/* Visually hidden text (labels for numbers, stars) */
.screen-reader-text:not(:focus):not(:focus-within) {
	position: absolute !important;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------- roq/service-cards variant «pricing» (S30) ---------- */
.roq-price-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
	gap: var(--wp--preset--spacing--40);
	align-items: stretch;
}
.roq-price-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-block-start: var(--wp--preset--spacing--50) !important; min-inline-size: 0; }
.roq-price-card > * { margin-block: 0 !important; }
.roq-price-card.is-featured { border-width: 2px; box-shadow: var(--wp--preset--shadow--glass), 0 0 0 4px rgba(5, 187, 140, .16); }
/* Packages stand out from the single washes (owner, 2026-11-17): stronger teal frame, glow and a teal-lit surface. */
.roq-price-card.is-package,
.roq-showcase__row.is-package .roq-showcase__main {
	border: 2px solid var(--wp--preset--color--accent) !important;
	background: linear-gradient(160deg, rgba(20, 217, 181, .24), rgba(20, 217, 181, 0) 60%), var(--wp--preset--gradient--glass);
	box-shadow: var(--wp--preset--shadow--glass), 0 0 0 6px rgba(20, 217, 181, .18), 0 18px 48px rgba(5, 187, 140, .35);
}
.roq-price-card.is-package .roq-price-card__price { color: var(--wp--preset--color--accent); }
/* Package saving ribbon: larger and clearer than the single-wash badge (owner, 2026-11-22). */
.roq-price-card.is-package > .is-style-ribbon {
	padding: 4px 20px;
	font-size: clamp(1rem, .92rem + .35vw, 1.2rem);
	letter-spacing: .01em;
	box-shadow: 0 6px 18px rgba(5, 187, 140, .45);
}
.roq-price-card.is-package { padding-block-start: calc(var(--wp--preset--spacing--50) + 14px) !important; }
@media (min-width: 782px) {
	.roq-price-card.is-package { transform: translateY(-8px); }
}
.roq-price-card__name { color: var(--wp--preset--color--accent-strong); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); }
.roq-price-card__name a { color: inherit; text-decoration: none; }
.roq-price-card__name a:hover { text-decoration: underline; }
.roq-price-card__sub { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); }
.roq-price-card__price {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 800;
	font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem);
	line-height: 1.1;
	color: var(--wp--preset--color--surface);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.roq-price-card__price .roq-riyal { margin-inline-start: .12em; }
.roq-price-card__price small { font-size: .38em; font-weight: 700; color: var(--wp--preset--color--lead); }
/* «Before» price (sale / package vs. single washes): its own line above the price on cards, inline in the table. */
.roq-was {
	position: relative;
	display: inline-block;
	color: var(--wp--preset--color--lead);
	font-weight: 700;
	text-decoration: none;
}
/* Crossed out with a diagonal line (owner), rising from bottom-left to top-right in either direction. */
.roq-was::after {
	content: "";
	position: absolute;
	inset-inline: -.12em;
	inset-block-start: 50%;
	block-size: .05em;
	margin-block-start: -.05em;
	border-radius: .1em;
	background: currentColor;
	transform: rotate(-14deg);
	pointer-events: none;
}
.roq-price-card__price .roq-was { display: block; inline-size: fit-content; font-size: .56em; line-height: 1.3; margin-block-end: .1em; }
.roq-compare__price .roq-was { font-size: .62em; margin-inline-end: .35em; }
.roq-was .roq-riyal { margin-inline-start: .12em; }
.roq-price-card__pill { font-size: var(--wp--preset--font-size--small); padding: .25em 1em; }
.roq-price-card .is-style-divided { align-self: stretch; text-align: start; color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); }
.roq-price-card .roq-fg-actions { margin-block-start: auto !important; padding-block-start: 8px; }
.roq-price-card .roq-fg-actions .wp-block-button { flex: 1 1 100%; }
.roq-price-card .roq-fg-actions .wp-block-button__link { inline-size: 100%; }
/* Phones: one row with scroll snap and a visible peek of the next card. */
@media (max-width: 781px) {
	.roq-price-cards {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: min(82%, 20rem);
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
		padding-block: 14px 8px;
		padding-inline: 2px;
		scrollbar-width: thin;
	}
	.roq-price-card { scroll-snap-align: start; }
}

/* ---------- Services page (S32): roq/service-showcase rows, comparison table, page frame ---------- */
.roq-services-crumbs { padding-block-start: var(--wp--preset--spacing--30); }
.roq-services-crumbs .roq-crumbs { font-size: var(--wp--preset--font-size--small); }
.roq-services .roq-fg-hero-wrap { padding-block-start: var(--wp--preset--spacing--20); }
.roq-services > * { margin-block-start: 0; }
.roq-services-list { padding-block-start: var(--wp--preset--spacing--40); scroll-margin-block-start: 90px; }
.roq-services-bar { gap: 12px 24px; margin-block-end: var(--wp--preset--spacing--50) !important; }
.roq-services-note { margin: 0; max-inline-size: 36rem; color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); }
.roq-services-compare { padding-block-start: 0; }
/* One service (a category with a single product): nothing to compare. */
.roq-services-compare:not(:has(.roq-compare tbody tr + tr)) { display: none; }
/* Editor-only hint of a synced section slot (the site renders the section itself, inc/figma.php). */
.roq-synced__hint { margin: 0; padding: 1em; border: 1px dashed currentColor; border-radius: var(--wp--custom--radius--small); text-align: center; opacity: .8; }

.roq-showcase { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--60); }
.roq-showcase__row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: var(--wp--preset--spacing--40); align-items: stretch; scroll-margin-block-start: 110px; }
.roq-showcase__row.is-solo { grid-template-columns: minmax(0, 1fr); }
.roq-showcase__main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--wp--preset--spacing--50); align-items: center; padding: var(--wp--preset--spacing--50) !important; }
.roq-showcase__row.is-featured .roq-showcase__main { border-color: var(--wp--preset--color--accent-strong); box-shadow: var(--wp--preset--shadow--glass), 0 0 0 4px rgba(5, 187, 140, .16); }
.roq-showcase__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-inline-size: 0; }
.roq-showcase__text > * { margin: 0 !important; }
.roq-showcase__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.roq-showcase__eyebrow::before { content: ""; inline-size: 26px; block-size: 3px; border-radius: 2px; background: var(--wp--preset--color--accent-strong); }
.roq-showcase__title { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.4rem); line-height: 1.25; }
.roq-showcase__title a { color: inherit !important; text-decoration: none; }
.roq-showcase__title a:hover { text-decoration: underline; text-underline-offset: .2em; }
.roq-showcase__desc { max-inline-size: 34rem; color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--medium); line-height: 1.85; }
.roq-showcase__price { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }
.roq-showcase__save { font-size: var(--wp--preset--font-size--x-small); padding: .25em .9em; }
.roq-showcase__text .roq-fg-actions { justify-content: flex-start; inline-size: auto; margin-block-start: 4px !important; }
.roq-showcase__text .roq-fg-actions .wp-block-button__link { padding: .7em 2.4em; font-size: var(--wp--preset--font-size--large); }
.roq-showcase__visual { position: relative; min-inline-size: 0; }
.roq-showcase__media img,
.roq-showcase__media .roq-ph { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--wp--custom--radius--glass); }
.roq-showcase__media .roq-ph { display: grid; place-items: center; background: var(--wp--preset--gradient--stage); }
.roq-showcase__media .roq-ph svg { inline-size: 78%; block-size: auto; }
/* Duration ring: overlaps the photo's top corner on the text side. */
.roq-showcase__ring {
	position: absolute;
	z-index: 1;
	inset-block-start: -18px;
	inset-inline-start: -18px;
	display: grid;
	place-content: center;
	inline-size: 96px;
	block-size: 96px;
	margin: 0;
	border-radius: 50%;
	border: 5px solid var(--wp--preset--color--accent-strong);
	background: var(--wp--preset--color--stage);
	box-shadow: var(--wp--preset--shadow--glass);
	text-align: center;
	line-height: 1.05;
}
.roq-showcase__ring strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--wp--preset--color--surface); }
.roq-showcase__ring span { font-size: var(--wp--preset--font-size--x-small); font-weight: 700; color: var(--wp--preset--color--lead); }
.roq-showcase__details { display: flex; flex-direction: column; padding: var(--wp--preset--spacing--50) !important; }
.roq-showcase__details-title { display: flex; align-items: center; gap: 12px; margin: 0 0 .6em; font-size: var(--wp--preset--font-size--x-large); }
.roq-showcase__num { display: grid; place-items: center; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--accent-ink); font-size: 1.05rem; }
.roq-showcase__details .is-style-divided { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--medium); }
.roq-showcase__details .is-style-divided li::before { background: var(--wp--preset--color--accent-strong); }
/* Desktop: rows alternate sides (Figma keeps one side; alternating reads better over 4+ rows). */
@media (min-width: 1000px) {
	.roq-showcase__row:nth-child(even):not(.is-solo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
	.roq-showcase__row:nth-child(even) .roq-showcase__details { order: -1; }
}
/* Tablet: the details panel goes under the card. Phones: photo (with the ring) above the text. */
@media (max-width: 999px) {
	.roq-showcase__row { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--30); }
}
@media (max-width: 699px) {
	.roq-showcase { gap: var(--wp--preset--spacing--50); }
	.roq-showcase__main { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--40); padding: var(--wp--preset--spacing--40) !important; }
	.roq-showcase__visual { order: -1; margin-block-start: 8px; }
	.roq-showcase__media img, .roq-showcase__media .roq-ph { aspect-ratio: 16 / 9; }
	.roq-showcase__ring { inline-size: 80px; block-size: 80px; inset-block-start: -12px; inset-inline-start: -8px; border-width: 4px; }
	.roq-showcase__ring strong { font-size: 1.45rem; }
	.roq-showcase__text .roq-fg-actions { inline-size: 100%; }
	.roq-showcase__text .roq-fg-actions .wp-block-button { flex: 1 1 100%; }
	.roq-showcase__text .roq-fg-actions .wp-block-button__link { inline-size: 100%; }
	.roq-showcase__details { padding: var(--wp--preset--spacing--40) !important; }
}

/* Comparison table (roq/service-cards variant «compare») */
.roq-compare__table { margin: 0; overflow: visible; }
.roq-compare table {
	inline-size: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--wp--preset--gradient--glass);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: var(--wp--custom--radius--glass);
	box-shadow: var(--wp--preset--shadow--glass);
	overflow: hidden;
	color: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--medium);
}
.roq-compare :is(th, td) { padding: 14px 20px; border: 0; border-block-end: 1px solid rgba(255, 255, 255, .12); text-align: start; vertical-align: middle; }
.roq-compare tbody tr:last-child :is(th, td) { border-block-end: 0; }
.roq-compare thead th { background: rgba(10, 0, 40, .22); color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.roq-compare tbody th { font-weight: 800; }
.roq-compare tbody th a { color: var(--wp--preset--color--surface); text-decoration: none; }
.roq-compare tbody th a:hover { text-decoration: underline; text-underline-offset: .2em; }
.roq-compare tr.is-featured { background: rgba(5, 187, 140, .1); }
.roq-compare tr.is-featured th a { color: var(--wp--preset--color--accent-strong); }
.roq-compare tr.is-package { background: rgba(20, 217, 181, .18); }
.roq-compare tr.is-package th { border-inline-start: 4px solid var(--wp--preset--color--accent); }
.roq-compare tr.is-package th a { color: var(--wp--preset--color--accent); }
.roq-compare__badge { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--accent-ink); font-size: var(--wp--preset--font-size--x-small); font-weight: 800; vertical-align: middle; white-space: nowrap; }
.roq-compare td { color: var(--wp--preset--color--lead); }
.roq-compare td.roq-compare__price { color: var(--wp--preset--color--surface); font-weight: 800; font-size: var(--wp--preset--font-size--x-large); white-space: nowrap; font-variant-numeric: tabular-nums; }
.roq-compare__price small { font-size: .7em; font-weight: 700; color: var(--wp--preset--color--lead); }
.roq-compare__price .roq-riyal { margin-inline-start: .12em; }
.roq-compare td:last-child { text-align: end; }
.roq-compare__book { display: inline-block; padding: 8px 20px; border-radius: 10px; background: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--accent-ink) !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.roq-compare__book:is(:hover, :focus-visible) { background: #06cf9b; }
/* Phones: each service is a compact two-line card (name + book, duration + price). */
@media (max-width: 599px) {
	.roq-compare thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.roq-compare tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name book" "dur price"; gap: 6px 12px; align-items: center; padding: 14px 16px; border-block-end: 1px solid rgba(255, 255, 255, .12); }
	.roq-compare tbody tr:last-child { border-block-end: 0; }
	.roq-compare tbody :is(th, td) { padding: 0; border: 0; }
	.roq-compare tbody th { grid-area: name; }
	.roq-compare tbody td:nth-of-type(1) { grid-area: dur; font-size: var(--wp--preset--font-size--small); }
	.roq-compare tbody td.roq-compare__price { grid-area: price; text-align: end; font-size: var(--wp--preset--font-size--large); }
	.roq-compare tbody td:last-child { grid-area: book; }
	.roq-compare__book { padding: 6px 16px; }
}

/* ---------- Mobile booking bar (page-marketing template only) ---------- */
.roq-sticky-cta {
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 40;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(44, 3, 92, .94);
	border-block-start: 1px solid rgba(255, 255, 255, .14);
	margin: 0 !important;
}
.roq-sticky-cta__buttons { inline-size: 100%; flex-wrap: nowrap !important; gap: 10px; }
.roq-sticky-cta__book { flex: 1 1 auto; }
.roq-sticky-cta__book .wp-block-button__link { inline-size: 100%; }
.roq-sticky-cta__wa .wp-block-button__link { display: inline-flex; align-items: center; gap: 6px; }
.roq-sticky-cta__wa .wp-block-button__link::before {
	content: "";
	inline-size: 20px;
	block-size: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 1024px) {
	.roq-sticky-cta-part { display: none; }
}
@media (max-width: 1023px) {
	body:has(.roq-sticky-cta) { padding-block-end: 72px; }
	/* S31: one booking button per phone screen; the bar carries it, so the header copy steps aside (the menu panel keeps one). */
	body:has(.roq-sticky-cta) .roq-header__cta { display: none; }
}

/* ---------- Figma motion: hover lifts only, never for reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.roq-fg-card, .roq-fg .wp-block-button__link { transition: transform .18s ease, box-shadow .18s ease, background-color .15s; }
	.roq-fg-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10, 0, 40, .45); }
	.roq-fg .wp-block-button__link:hover { transform: translateY(-1px); }
}

/* ---------- Home (S31) ---------- */
/* Footer payment chips in Tajawal like the rest of the Figma footer (Cairo stays for non-marketing display text):
   marketing pages then load no Cairo file at all (~63 KB, LCP on slow phones). */
.roq-footer .roq-pay > * { font-family: var(--wp--preset--font-family--body); font-weight: 700; }
/* Hero: text on the start side, the car on a teal swoosh on the end side; phones stack text → buttons → car. */
.roq-fg-home-hero { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); overflow: clip; }
/* Bubbles fade out towards the next section instead of ending in a hard line at the hero's edge. */
.roq-fg-home-hero.is-style-bubbles::before { -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.roq-fg-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: var(--wp--preset--spacing--40); }
.roq-fg-home-hero__text > * { margin-block: 0 !important; }
.roq-fg-home-hero__text > * + * { margin-block-start: .6rem !important; }
.roq-fg-home-hero__title { font-size: var(--wp--preset--font-size--display); line-height: 1.12; color: var(--wp--preset--color--surface); }
.roq-fg-home-hero__sub { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 700; color: var(--wp--preset--color--accent-strong); line-height: 1.4; }
.roq-fg-home-hero__line { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--lead); line-height: 1.8; max-inline-size: 32rem; }
.roq-fg-home-hero__actions { justify-content: flex-start; margin-block-start: var(--wp--preset--spacing--40) !important; }
.roq-fg-home-hero__actions .wp-block-button { flex: 0 1 13rem; }
.roq-fg-home-hero__actions .wp-block-button__link { inline-size: 100%; padding-block: 14px; font-size: var(--wp--preset--font-size--large); }
.roq-fg-home-hero__visual { position: relative; isolation: isolate; display: grid; place-items: center; min-block-size: 18rem; }
/* Swoosh: a teal → purple band tilted under the car, with a thin light stroke above it (Figma's white swoosh). */
.roq-fg-home-hero__visual::before,
.roq-fg-home-hero__visual::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset-inline: 0 -12%;
	pointer-events: none;
	rotate: -9deg;
}
.roq-fg-home-hero__visual::before { inset-block: 34% 6%; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; background: var(--wp--preset--gradient--hero-swoosh); opacity: .92; }
.roq-fg-home-hero__visual::after { inset-block-start: 27%; block-size: 10px; border-radius: 10px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7) 30%, rgba(255, 255, 255, .7) 70%, transparent); }
.roq-fg-home-hero__car { margin: 0 !important; inline-size: 100%; }
.roq-fg-home-hero__car img { display: block; inline-size: 100%; block-size: auto; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(10, 0, 40, .45)); }
/* The Figma car is cropped at its rear (the side that faces the text in RTL): fade that edge instead of a hard cut.
   Physical direction on purpose: it follows the picture, not the writing direction. */
.roq-fg-home-hero__car img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 14%); mask-image: linear-gradient(to left, transparent 0, #000 14%); }
@media (max-width: 781px) {
	.roq-fg-home-hero { padding-block-start: var(--wp--preset--spacing--40); }
	.roq-fg-home-hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.roq-fg-home-hero__line { margin-inline: auto; }
	.roq-fg-home-hero__actions { justify-content: center; }
	.roq-fg-home-hero__actions .wp-block-button { flex: 1 1 8rem; }
	.roq-fg-home-hero__actions .wp-block-button__link { font-size: var(--wp--preset--font-size--medium); padding-inline: 12px; white-space: nowrap; }
	.roq-fg-home-hero__grid { gap: var(--wp--preset--spacing--30); }
	.roq-fg-home-hero__visual { min-block-size: 0; }
	.roq-fg-home-hero__car img { max-block-size: 60vh; inline-size: auto; max-inline-size: min(100%, 80vw); margin-inline: auto; }
}

/* Phones: the six «ليش» cards become compact rows (icon beside the text), about half the scroll height. */
@media (max-width: 600px) {
	.roq-fg-grid--3 > .roq-fg-card {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr);
		align-items: center;
		column-gap: 14px;
		row-gap: 2px;
		text-align: start;
		padding: 14px 16px;
	}
	.roq-fg-grid--3 > .roq-fg-card > .roq-fg-icon { grid-row: span 2; align-self: center; }
	.roq-fg-grid--3 .roq-fg-icon img { inline-size: 64px; block-size: 64px; }
	.roq-fg-grid--3 .roq-fg-icon:not(.roq-fg-icon--plain)::before { inline-size: 40px; block-size: 40px; inset-block-start: 9px; }
	.roq-fg-grid--3 > .roq-fg-card :where(h3) { font-size: 1.15rem; }
	.roq-fg-grid--3 > .roq-fg-card :where(p) { font-size: var(--wp--preset--font-size--small); line-height: 1.65; }
}

/* Stats bar (inserted by the owner once the numbers are real) */
.roq-fg-stats-wrap { padding-block: 0 var(--wp--preset--spacing--40); }
.roq-fg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roq-fg-stat { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--medium); line-height: 1.4; }
.roq-fg-stat strong { display: block; color: var(--wp--preset--color--accent-strong); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); font-weight: 800; line-height: 1.15; unicode-bidi: plaintext; font-variant-numeric: tabular-nums; }
.roq-fg-stat + .roq-fg-stat { border-inline-start: 1px solid rgba(255, 255, 255, .16); }
@media (max-width: 600px) {
	.roq-fg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--wp--preset--spacing--40); }
	.roq-fg-stat:nth-child(odd) { border-inline-start: 0; }
}

/* Pricing: tablet 2 columns, desktop 4 (phones: scroll-snap row, see roq/service-cards «pricing»). Each card spans two
   half-columns so a short last row is centred instead of hanging at the start (e.g. 5 services = 4 + 1). */
@media (min-width: 782px) and (max-width: 1099px) {
	.roq-price-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.roq-price-cards > .roq-price-card { grid-column: span 2; }
	.roq-price-cards > .roq-price-card:last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
}
@media (min-width: 1100px) {
	.roq-price-cards { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.roq-price-cards > .roq-price-card { grid-column: span 2; }
	.roq-price-cards > .roq-price-card:last-child:nth-child(4n+1) { grid-column: 4 / span 2; }
	.roq-price-cards > .roq-price-card:nth-last-child(2):nth-child(4n+1) { grid-column: 3 / span 2; }
	.roq-price-cards > .roq-price-card:nth-last-child(3):nth-child(4n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 781px) {
	.roq-price-cards { scroll-padding-inline: 2px; }
	.roq-price-card:focus-within { outline: 3px solid var(--wp--preset--color--surface); outline-offset: 2px; }
}
.roq-fg-more { margin-block-start: var(--wp--preset--spacing--40) !important; color: var(--wp--preset--color--lead); }
.roq-fg-more a { color: var(--wp--preset--color--accent-strong); font-weight: 700; text-underline-offset: .25em; }

/* Before / after */
.roq-fg-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--wp--preset--spacing--50); align-items: center; }
.roq-fg-ba__text > * { margin-block: 0 .6rem !important; }
.roq-fg-ba__hint { font-size: var(--wp--preset--font-size--small); }
.roq-fg .roq-ba.is-style-glass { padding: 10px; }
.roq-fg .roq-ba__frame { border-radius: 12px; background: var(--wp--preset--color--stage); }
.roq-fg .roq-ba__range { accent-color: var(--wp--preset--color--accent-strong); }
@media (max-width: 781px) {
	.roq-fg-ba { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.roq-fg-ba > .roq-ba { inline-size: 100%; max-inline-size: 40rem; margin-inline: auto; }
}
/* Steps: 2 × 2 on tablets instead of 3 + 1 (grid layout minimum width 12rem). */
@media (min-width: 600px) and (max-width: 1023px) {
	.wp-block-group.roq-fg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Coverage districts on a dark page */
.roq-fg-coverage { max-inline-size: 56rem; margin-inline: auto !important; text-align: center; }
.roq-fg-coverage > * { margin-block: 0 !important; }
.roq-fg-coverage > * + * { margin-block-start: var(--wp--preset--spacing--30) !important; }
.roq-fg ul.roq-districts { justify-content: center; margin: 0; }
.roq-fg ul.roq-districts li { background: rgba(255, 255, 255, .08); border-color: var(--wp--preset--color--glass-line); color: var(--wp--preset--color--surface); font-size: var(--wp--preset--font-size--small); }
.roq-fg-coverage__note { color: var(--wp--preset--color--lead); }
.roq-fg-coverage__note a { color: var(--wp--preset--color--accent-strong); font-weight: 700; }

/* Short FAQ: glass accordions */
.roq-fg-faq { display: flex; flex-direction: column; gap: 12px; max-inline-size: 52rem; margin-inline: auto !important; }
.roq-fg-faq > .wp-block-details { margin: 0 !important; padding: 0; }
.roq-fg-faq .wp-block-details summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	margin: 0;
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	border-radius: inherit;
}
.roq-fg-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.roq-fg-faq .wp-block-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	inline-size: 30px;
	block-size: 30px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-strong);
	color: var(--wp--preset--color--accent-ink);
	font-weight: 800;
	line-height: 1;
}
.roq-fg-faq .wp-block-details[open] summary { color: var(--wp--preset--color--accent-strong); margin-block-end: 0; }
.roq-fg-faq .wp-block-details[open] summary::after { content: "−"; }
.roq-fg-faq .wp-block-details summary:focus-visible { outline: 3px solid var(--wp--preset--color--surface); outline-offset: 2px; }
.roq-fg-faq .wp-block-details > :not(summary) { color: var(--wp--preset--color--lead); margin: 0; padding: 0 20px 18px; line-height: 1.8; }

/* Reveal on scroll: CSS scroll timelines only (no JS), movement without opacity so text contrast never drops;
   browsers without view() timelines and reduced-motion users get no animation. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.roq-marketing .roq-fg-section :is(.roq-fg-head, .roq-fg-grid > *, .roq-fg-problems > *, .roq-fg-step, .roq-price-cards, .roq-fg-faq, .roq-fg-ba, .roq-fg-coverage, .roq-fg-contact > *, .roq-showcase__row:not(:first-child), .roq-compare) {
			animation: roq-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
		@keyframes roq-rise { from { translate: 0 32px; } }
	}
}

/* ---------- How it works (S33): «من نحن», «بعد ما تحجز» timeline ---------- */
.roq-fg-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--large); font-weight: 700; }
.roq-fg-eyebrow::before { content: ""; inline-size: 30px; block-size: 3px; border-radius: 2px; background: var(--wp--preset--color--accent-strong); }
/* «من نحن»: text on the start side, photo on the end side (Figma); phones stack text → photo. */
.roq-fg-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.roq-fg-about__text > * { margin-block: 0 !important; }
.roq-fg-about__text > * + * { margin-block-start: var(--wp--preset--spacing--30) !important; }
.roq-fg-about__text p:not(.roq-fg-eyebrow) { color: var(--wp--preset--color--lead); font-size: var(--wp--preset--font-size--medium); line-height: 1.9; max-inline-size: 36rem; }
.roq-fg-about__actions { margin-block-start: var(--wp--preset--spacing--40) !important; }
.roq-fg-about__actions .wp-block-button__link { padding: 12px 2.4em; font-size: var(--wp--preset--font-size--large); }
.roq-fg-about__photo { margin: 0 !important; }
.roq-fg-about__photo img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 836 / 702; object-fit: cover; border-radius: var(--wp--custom--radius--card); box-shadow: var(--wp--preset--shadow--glass); }
@media (max-width: 781px) {
	.roq-fg-about { grid-template-columns: minmax(0, 1fr); }
	.roq-fg-about__photo img { aspect-ratio: 16 / 10; }
	.roq-fg-about__actions .wp-block-button { flex: 1 1 100%; }
	.roq-fg-about__actions .wp-block-button__link { inline-size: 100%; }
}

/* «بعد ما تحجز»: an ordered list in a glass panel; a row of five on desktop, a vertical line on phones/tablets.
   Each item is «<strong>title</strong> line»; the icon follows the item's position (decorative, CSS only). */
.roq-fg-timeline-wrap {
	background: var(--wp--preset--gradient--glass);
	border: 1px solid var(--wp--preset--color--accent-strong);
	border-radius: var(--wp--custom--radius--glass);
	box-shadow: var(--wp--preset--shadow--glass);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}
.roq-fg-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--40); counter-reset: roq-after; }
.roq-fg-timeline > li { position: relative; counter-increment: roq-after; color: var(--wp--preset--color--lead); line-height: 1.75; margin: 0; }
.roq-fg-timeline > li > strong { display: block; color: var(--wp--preset--color--accent-strong); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 800; margin-block-end: 4px; }
/* Ring (::before) + icon (::after); the ring is opaque so it sits on top of the connecting line. */
.roq-fg-timeline > li::before,
.roq-fg-timeline > li::after { content: ""; position: absolute; inset-block-start: 0; }
.roq-fg-timeline > li::before { z-index: 1; inline-size: 60px; block-size: 60px; border-radius: 50%; background: var(--wp--preset--color--stage); border: 2px solid var(--wp--preset--color--accent-strong); box-sizing: border-box; }
.roq-fg-timeline > li::after {
	z-index: 2;
	inline-size: 28px;
	block-size: 28px;
	margin: 16px;
	background-color: var(--wp--preset--color--accent-strong);
	-webkit-mask: var(--roq-step-icon) center / contain no-repeat;
	mask: var(--roq-step-icon) center / contain no-repeat;
}
.roq-fg-timeline::before { content: ""; position: absolute; z-index: 0; background: linear-gradient(var(--wp--preset--color--accent-strong), var(--wp--preset--color--glass-line)); opacity: .55; }
/* Phones/tablets: each item draws the line down to the next ring (its start border), so it stops at the last ring. */
@media (max-width: 1023px) {
	.roq-fg-timeline { gap: 0; }
	.roq-fg-timeline::before { content: none; }
	.roq-fg-timeline > li { margin-inline-start: 29px; padding-inline-start: 47px; padding-block-end: var(--wp--preset--spacing--40); min-block-size: 60px; border-inline-start: 2px solid color-mix(in srgb, var(--wp--preset--color--accent-strong) 45%, transparent); }
	.roq-fg-timeline > li:last-child { border-inline-start-color: transparent; padding-block-end: 0; }
	.roq-fg-timeline > li::before,
	.roq-fg-timeline > li::after { inset-inline-start: -31px; }
}
@media (min-width: 1024px) {
	.roq-fg-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.roq-fg-timeline > li { padding-block-start: 76px; text-align: center; }
	.roq-fg-timeline > li::before,
	.roq-fg-timeline > li::after { inset-inline: 0; margin-inline: auto; }
	.roq-fg-timeline > li::after { margin-block: 16px; }
	.roq-fg-timeline::before { inset-block-start: 29px; inset-inline: 10%; block-size: 2px; background: linear-gradient(90deg, var(--wp--preset--color--glass-line), var(--wp--preset--color--accent-strong), var(--wp--preset--color--glass-line)); }
}
.roq-fg-timeline > li:nth-child(1) { --roq-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.roq-fg-timeline > li:nth-child(2) { --roq-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.roq-fg-timeline > li:nth-child(3) { --roq-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.roq-fg-timeline > li:nth-child(4) { --roq-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E"); }
.roq-fg-timeline > li:nth-child(5) { --roq-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3l-5.5 2.9 1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.roq-marketing .roq-fg-section :is(.roq-fg-about, .roq-fg-timeline-wrap) {
			animation: roq-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
	}
}

/* ---------- Contact (S34): info tiles, «احجز موعدك الآن!» WhatsApp band (Frame 64 replacement), «عندك حجز؟» note ---------- */
.roq-fg-section--tight { padding-block: var(--wp--preset--spacing--40); }
/* Info tiles: icon on the start side, label + value; 2 columns → 1 on phones (the e-mail tile is dropped when unset). */
.roq-fg-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--wp--preset--spacing--40); max-inline-size: 48rem; margin-inline: auto !important; }
/* Same width as the contact cards above; with three tiles (e-mail set) the last one takes the full row. */
.roq-fg-info > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
.roq-fg-info__tile { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-content: start; margin: 0 !important; }
.roq-fg-info__tile::before {
	content: "";
	grid-row: span 2;
	inline-size: 52px;
	block-size: 52px;
	border-radius: 50%;
	background: var(--wp--preset--color--stage);
	border: 2px solid var(--wp--preset--color--accent-strong);
	box-sizing: border-box;
}
/* Icon on top of the ring (CSS mask, so it takes the accent token). */
.roq-fg-info__tile::after {
	content: "";
	position: absolute;
	inset-block-start: calc(var(--wp--preset--spacing--40) + 13px);
	inset-inline-start: calc(var(--wp--preset--spacing--40) + 13px);
	inline-size: 26px;
	block-size: 26px;
	background-color: var(--wp--preset--color--accent-strong);
	-webkit-mask: var(--roq-info-icon) center / contain no-repeat;
	mask: var(--roq-info-icon) center / contain no-repeat;
}
.roq-fg-info__tile > * { margin-block: 0 !important; grid-column: 2; }
.roq-fg-info__tile h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); margin-block-end: 4px !important; }
.roq-fg-info__tile p { color: var(--wp--preset--color--lead); line-height: 1.75; overflow-wrap: anywhere; }
.roq-fg-info__tile p a { font-weight: 700; color: var(--wp--preset--color--surface); }
/* Narrow phones: icon above the text, so a day + its hours (never wrapped, S27) fit on one line. */
@media (max-width: 400px) {
	.roq-fg-info__tile { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
	.roq-fg-info__tile::before { grid-row: auto; }
	.roq-fg-info__tile > * { grid-column: 1; }
}
.roq-fg-info__tile--hours { --roq-info-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.roq-fg-info__tile--email { --roq-info-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.roq-fg-info__tile--area { --roq-info-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }

/* «احجز موعدك الآن!»: one glass panel; the fields of Figma's form become chips naming what the pre-written message asks. */
.roq-fg-wa { max-inline-size: 52rem; margin-inline: auto !important; text-align: center; padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.roq-fg-wa > * { margin-block: 0 !important; }
.roq-fg-wa > * + * { margin-block-start: var(--wp--preset--spacing--30) !important; }
.roq-fg-wa__fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0 !important; }
.roq-fg-wa__fields > li { margin: 0; padding: .3em 1em; border: 1px solid var(--wp--preset--color--glass-line); border-radius: var(--wp--custom--radius--pill); background: color-mix(in srgb, var(--wp--preset--color--stage) 70%, transparent); color: var(--wp--preset--color--surface); font-size: .95rem; }
.roq-fg-wa__hint { color: var(--wp--preset--color--lead); font-size: .95rem; }
.roq-fg-wa .roq-fg-actions { margin-block-start: var(--wp--preset--spacing--40) !important; }
.roq-fg-wa .roq-fg-actions .wp-block-button { flex: 0 1 20rem; }
.roq-fg-wa .roq-fg-actions .wp-block-button__link { inline-size: 100%; padding-block: 12px; font-size: var(--wp--preset--font-size--large); }
.roq-fg-wa__send .wp-block-button__link::before {
	content: "";
	display: inline-block;
	inline-size: 1.15em;
	block-size: 1.15em;
	margin-inline-end: .45em;
	vertical-align: -.2em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* «عندك حجز؟»: a quiet note (smaller heading, one secondary button) at the end of the page. */
.roq-fg-note { max-inline-size: 52rem; margin-inline: auto !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
.roq-fg-note > * { margin: 0 !important; }
.roq-fg-note__title { grid-column: 1 / -1; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); font-weight: 800; }
.roq-fg-note p { color: var(--wp--preset--color--lead); line-height: 1.8; }
.roq-fg-note p a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 781px) {
	.roq-fg-note { grid-template-columns: minmax(0, 1fr); }
	.roq-fg-note__actions .wp-block-button,
	.roq-fg-wa .roq-fg-actions .wp-block-button { flex: 1 1 100%; }
	.roq-fg-note__actions .wp-block-button__link { inline-size: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.roq-marketing .roq-fg-section :is(.roq-fg-info > *, .roq-fg-wa, .roq-fg-note) {
			animation: roq-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
	}
}
