/*
 * REK PROFFSET theme layer.
 * Colours and fonts mirror the Elementor global variables (rek-*) so the theme
 * chrome and the Elementor page content read as one system. Logical properties
 * keep every rule correct in Arabic (RTL) and English (LTR).
 */

:root {
	--rek-bg: #050B12;
	--rek-surface: #081522;
	--rek-navy: #0B1D30;
	--rek-premium: #123F69;
	--rek-accent: #1689D8;
	--rek-accent-light: #5BB8F2;
	--rek-ink: #F5F7FA;
	--rek-muted: #8B98A8;
	--rek-hairline: rgba(91, 184, 242, .16);
	--rek-font-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
	--rek-font-body: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
	--rek-font-mono: "IBM Plex Mono", ui-monospace, monospace;
	--rek-header-h: 76px;
	--rek-ease: cubic-bezier(.2, .7, .2, 1);
}

html { background: var(--rek-bg); scroll-behavior: smooth; }
body {
	background: var(--rek-bg);
	color: var(--rek-ink);
	font-family: var(--rek-font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--rek-accent); color: var(--rek-bg); }
:focus-visible { outline: 2px solid var(--rek-accent-light); outline-offset: 3px; }

/* Astra wrappers: let Elementor sections run edge to edge. */
.ast-page-builder-template .site-content > .ast-container,
.ast-plain-container .site-content > .ast-container { max-width: none; padding: 0; }
.site-content, #content { background: var(--rek-bg); }

.rek-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rek-skip {
	position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 200;
	padding: 12px 18px; background: var(--rek-ink); color: var(--rek-bg);
	transform: translateY(-160%); transition: transform .2s;
}
.rek-skip:focus { transform: none; }

/* ---------- Buttons (theme chrome) ---------- */
.rek-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 0 22px; border-radius: 2px;
	font-family: var(--rek-font-body); font-size: 14px; font-weight: 600; line-height: 1;
	text-decoration: none; white-space: nowrap;
	transition: background-color .25s var(--rek-ease), color .25s var(--rek-ease), border-color .25s var(--rek-ease), transform .25s var(--rek-ease);
}
.rek-btn:hover { transform: translateY(-1px); }
.rek-btn--primary { background: var(--rek-accent); color: var(--rek-bg); }
.rek-btn--primary:hover { background: var(--rek-accent-light); color: var(--rek-bg); }
.rek-btn--ghost { border: 1px solid rgba(245, 247, 250, .28); color: var(--rek-ink); }
.rek-btn--ghost:hover { border-color: var(--rek-accent-light); color: var(--rek-accent-light); }
.rek-btn--block { width: 100%; min-height: 56px; font-size: 16px; }

/* ---------- Brand ---------- */
.rek-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--rek-ink); text-decoration: none; }
.rek-logo-img { width: 40px; height: 40px; border-radius: 2px; object-fit: cover; flex: none; }
.rek-wordmark {
	font-family: var(--rek-font-display); font-weight: 700; font-size: 16px;
	letter-spacing: .16em; white-space: nowrap; color: var(--rek-ink);
}
.rek-wordmark span { color: var(--rek-accent-light); font-weight: 500; }

/* ---------- Header ---------- */
.rek-header {
	position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
	transition: background-color .4s var(--rek-ease), border-color .4s var(--rek-ease), backdrop-filter .4s;
	background: linear-gradient(180deg, rgba(5, 11, 18, .55), rgba(5, 11, 18, 0));
	border-block-end: 1px solid transparent;
}
.admin-bar .rek-header { inset-block-start: 32px; }
.rek-header.is-scrolled {
	background: rgba(5, 11, 18, .88);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-block-end-color: var(--rek-hairline);
}
.rek-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 1520px; height: var(--rek-header-h); margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 64px);
}
.rek-nav__list { display: flex; gap: clamp(20px, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.rek-nav__list a {
	position: relative; display: block; padding-block: 8px;
	color: rgba(245, 247, 250, .78); font-size: 15px; font-weight: 500; text-decoration: none;
	transition: color .25s var(--rek-ease);
}
.rek-nav__list a::after {
	content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px;
	background: var(--rek-accent-light); transform: scaleX(0); transition: transform .35s var(--rek-ease);
}
.rek-nav__list a:hover, .rek-nav__list .current-menu-item > a { color: var(--rek-ink); }
.rek-nav__list a:hover::after, .rek-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.rek-header__actions { display: flex; align-items: center; gap: 20px; }

.rek-lang { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.rek-lang a { color: var(--rek-muted); text-decoration: none; transition: color .2s; }
.rek-lang a:hover, .rek-lang a.is-current { color: var(--rek-ink); }
.rek-lang-sep { color: var(--rek-premium); }

.rek-menu-toggle {
	display: none; width: 44px; height: 44px; padding: 0; background: none;
	border: 1px solid rgba(245, 247, 250, .24); border-radius: 2px; cursor: pointer;
}
.rek-menu-toggle__bars, .rek-menu-toggle__bars::before {
	display: block; width: 18px; height: 1.5px; margin: 0 auto; background: var(--rek-ink); content: "";
}
.rek-menu-toggle__bars::before { transform: translateY(6px); }

/* ---------- Full-screen mobile menu ---------- */
.rek-menu {
	position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
	padding: 16px clamp(20px, 6vw, 40px) calc(24px + env(safe-area-inset-bottom));
	background: var(--rek-bg); overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; transition: opacity .3s var(--rek-ease);
}
.rek-menu[hidden] { display: none; }
.rek-menu.is-open { opacity: 1; }
.rek-menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.rek-menu__close {
	width: 44px; height: 44px; background: none; color: var(--rek-ink); font-size: 26px; line-height: 1;
	border: 1px solid rgba(245, 247, 250, .24); border-radius: 2px; cursor: pointer;
}
.rek-menu__list { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: rek-menu; }
.rek-menu__list li { counter-increment: rek-menu; border-block-end: 1px solid var(--rek-hairline); }
.rek-menu__list a {
	display: flex; justify-content: space-between; align-items: baseline; padding-block: 20px;
	color: var(--rek-ink); font-family: var(--rek-font-display); font-size: clamp(26px, 8vw, 34px); font-weight: 600;
	text-decoration: none;
}
.rek-menu__list a::after {
	content: "0" counter(rek-menu); font-family: var(--rek-font-mono); font-size: 12px;
	letter-spacing: .2em; color: var(--rek-accent-light);
}
.rek-menu__list .current-menu-item > a { color: var(--rek-accent-light); }
.rek-menu__foot { display: grid; gap: 12px; margin-block-start: auto; padding-block-start: 32px; }
.rek-menu__foot .rek-lang { justify-content: center; margin-block-end: 8px; font-size: 16px; }
.rek-menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.rek-footer { background: var(--rek-bg); border-block-start: 1px solid var(--rek-hairline); }
.rek-footer__inner {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
	max-width: 1520px; margin-inline: auto; padding: 88px clamp(20px, 4vw, 64px) 56px;
}
.rek-footer__brand .rek-logo-img { margin-inline-end: 12px; vertical-align: middle; }
.rek-footer__brand p { max-width: 34ch; margin: 20px 0 0; color: var(--rek-muted); font-size: 15px; line-height: 1.8; }
.rek-footer__list, .rek-footer__contact ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rek-footer a { color: rgba(245, 247, 250, .82); text-decoration: none; transition: color .2s; }
.rek-footer a:hover { color: var(--rek-accent-light); }
.rek-footer__label { margin: 0 0 16px; font-family: var(--rek-font-mono); font-size: 11px; letter-spacing: .2em; color: var(--rek-accent-light); text-transform: uppercase; }
.rek-footer__contact li { color: rgba(245, 247, 250, .82); font-size: 15px; }
.rek-footer__base {
	max-width: 1520px; margin-inline: auto; padding: 20px clamp(20px, 4vw, 64px) calc(28px + env(safe-area-inset-bottom));
	border-block-start: 1px solid var(--rek-hairline); color: var(--rek-muted); font-size: 13px;
}

/* ---------- Floating WhatsApp: glass bubble ----------
 * Pinned bottom-right in both languages. The row is laid out left-to-right
 * and reversed so the icon stays anchored at the right edge while the label
 * grows out to its left; the label keeps its own text direction.
 */
.rek-wa {
	--wa-size: 60px;
	position: fixed; z-index: 90;
	bottom: calc(24px + env(safe-area-inset-bottom)); right: calc(24px + env(safe-area-inset-right));
	display: flex; flex-direction: row-reverse; align-items: center; direction: ltr;
	height: var(--wa-size); min-width: var(--wa-size); max-width: calc(100vw - 48px); padding: 0;
	border-radius: 999px; overflow: hidden; isolation: isolate;
	color: var(--rek-ink); text-decoration: none;
	background:
		radial-gradient(120% 90% at 30% 0%, rgba(91, 184, 242, .20), rgba(91, 184, 242, 0) 60%),
		linear-gradient(150deg, rgba(18, 63, 105, .46), rgba(5, 11, 18, .66));
	-webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
	border: 1px solid rgba(245, 247, 250, .14);
	box-shadow:
		0 18px 40px -14px rgba(0, 0, 0, .75),
		0 6px 18px -8px rgba(22, 137, 216, .28),
		inset 0 1px 0 rgba(255, 255, 255, .20),
		inset 0 -12px 22px -10px rgba(22, 137, 216, .30);
	transition: transform .4s var(--rek-ease), box-shadow .4s var(--rek-ease), border-color .4s var(--rek-ease);
}
/* Diagonal reflection across the glass; it slides slightly on hover. */
.rek-wa::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
	background: linear-gradient(118deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, .13) 42%, rgba(255, 255, 255, 0) 56%);
	transform: translateX(-18%); transition: transform .45s var(--rek-ease);
}
/* Soft blue halo used by the occasional touch-screen glow. */
.rek-wa::after {
	content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; border-radius: inherit; opacity: 0;
	box-shadow: inset 0 0 0 1px rgba(91, 184, 242, .55), inset 0 0 20px rgba(22, 137, 216, .45);
}
.rek-wa__icon {
	/* Inside the 1px border, so the compact bubble is an exact circle. */
	flex: 0 0 calc(var(--wa-size) - 2px); width: calc(var(--wa-size) - 2px); height: calc(var(--wa-size) - 2px);
	display: grid; place-items: center; position: relative;
}
.rek-wa__icon::before {
	content: ""; position: absolute; width: 38px; height: 38px; border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 211, 102, .22), rgba(37, 211, 102, 0) 70%);
}
.rek-wa__icon svg { position: relative; display: block; color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.rek-wa__label {
	max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
	font-family: var(--rek-font-body); font-size: 15px; font-weight: 500; line-height: 1; color: var(--rek-ink);
	padding-inline-start: 0;
	transition: max-width .42s var(--rek-ease), opacity .3s var(--rek-ease), padding .42s var(--rek-ease);
}
.rek-wa:focus-visible { outline: 2px solid var(--rek-accent-light); outline-offset: 4px; }
/* Expanded state: mouse hover on devices that hover, and keyboard focus everywhere. */
@media (hover: hover) and (pointer: fine) {
	.rek-wa:hover { transform: translateY(-2px); border-color: rgba(91, 184, 242, .38); }
	.rek-wa:hover::before { transform: translateX(22%); }
	.rek-wa:hover .rek-wa__label { max-width: 260px; opacity: 1; padding-left: 22px; }
}
.rek-wa:focus-visible .rek-wa__label { max-width: 260px; opacity: 1; padding-left: 22px; }
.rek-wa:focus-visible::before { transform: translateX(22%); }
/*
 * Location bubble: the same glass with a blue (not green) icon glow, 12px to
 * the left of the WhatsApp bubble, so the pair stays low and clear of content
 * such as the hero buttons; on very narrow screens it sits 12px above instead.
 * It sits beneath WhatsApp, whose label slides over it on hover; its own
 * label grows to the left, into free space.
 */
.rek-wa.rek-loc { z-index: 89; right: calc(24px + var(--wa-size) + 12px + env(safe-area-inset-right)); max-width: calc(100vw - 60px - var(--wa-size)); }
.rek-loc .rek-wa__icon::before { background: radial-gradient(circle, rgba(91, 184, 242, .24), rgba(91, 184, 242, 0) 70%); }
.rek-loc .rek-wa__icon svg { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)) drop-shadow(0 0 6px rgba(91, 184, 242, .25)); }
/* Touch screens: a short glassy press, so the tap is felt before Google Maps opens. */
@media (hover: none) {
	.rek-wa.rek-loc { -webkit-tap-highlight-color: transparent; transition: transform .18s var(--rek-ease), border-color .18s var(--rek-ease), box-shadow .18s var(--rek-ease); }
	.rek-wa.rek-loc:active { transform: scale(.92); border-color: rgba(91, 184, 242, .45); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 18px rgba(22, 137, 216, .4); }
}

/* Touch screens: no hover, so an occasional, very soft glow hints that the bubble is interactive. */
@media (hover: none) {
	.rek-wa::after { animation: rek-wa-glow 10s ease-in-out 5s infinite; }
}
@keyframes rek-wa-glow { 0%, 84%, 100% { opacity: 0; } 91% { opacity: .85; } }
/* Only the WhatsApp bubble glows, so two bubbles never pulse together. */
.rek-wa.rek-loc::after { animation: none; }

/* ---------- Location section ([rek_location], end of the contact page) ---------- */
.rek-loc-section { width: 100%; }
.rek-loc-wa {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
	padding: 24px 28px; margin-block-end: 112px;
	background: var(--rek-surface); border: 1px solid var(--rek-hairline); border-radius: 2px;
}
.rek-loc-wa__text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--rek-ink); }
.rek-loc-wa .rek-btn { min-height: 52px; padding-inline: 28px; font-size: 15px; }
.rek-loc-head { max-width: 720px; margin-block-end: 48px; }
.rek-loc-head__label { margin: 0 0 16px; font-family: var(--rek-font-mono); font-size: 12px; letter-spacing: .22em; color: var(--rek-accent-light); }
.rek-loc-head__title { margin: 0; font-family: var(--rek-font-display); font-weight: 600; font-size: clamp(34px, 5vw, 60px); line-height: 1.14; color: var(--rek-ink); }
.rek-loc-head__sub { margin: 12px 0 0; font-family: var(--rek-font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; color: var(--rek-accent-light); }
.rek-loc-head__text { margin: 18px 0 0; font-size: 17px; line-height: 1.8; color: var(--rek-ink-soft, rgba(245, 247, 250, .72)); }
.rek-loc-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: stretch; }
.rek-loc-map {
	position: relative; overflow: hidden; min-height: 460px; border-radius: 2px;
	border: 1px solid var(--rek-hairline); background: var(--rek-navy);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
/* Dark treatment for the standard Google embed (no Maps API needed). */
.rek-loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) hue-rotate(180deg) contrast(.92) brightness(.95); }
/* Styled panel shown until a map embed is available. */
.rek-loc-map.is-placeholder { display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 45%, rgba(18, 63, 105, .55), rgba(5, 11, 18, 0) 70%), var(--rek-navy); }
.rek-loc-map__grid {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(91, 184, 242, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 184, 242, .08) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
}
.rek-loc-map__pin { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: var(--rek-ink);
	background: linear-gradient(150deg, rgba(18, 63, 105, .5), rgba(5, 11, 18, .7)); border: 1px solid rgba(245, 247, 250, .14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 40px -16px rgba(0, 0, 0, .8); }
.rek-loc-map__pulse { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(91, 184, 242, .5); animation: rek-loc-pulse 3.2s var(--rek-ease) infinite; }
@keyframes rek-loc-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.rek-loc-map__caption { position: absolute; inset-inline: 0; inset-block-end: 28px; text-align: center; }
.rek-loc-map__city { margin: 0; font-family: var(--rek-font-mono); font-size: 12px; letter-spacing: .2em; color: var(--rek-muted); }
.rek-loc-map__link { display: inline-block; margin-block-start: 10px; color: var(--rek-accent-light); font-weight: 600; text-decoration: none; border-block-end: 1px solid rgba(91, 184, 242, .4); }
.rek-loc-map__link:hover { color: var(--rek-ink); }
.rek-loc-info { display: flex; flex-direction: column; gap: 24px; padding: 36px 32px; background: var(--rek-surface); border: 1px solid var(--rek-hairline); border-radius: 2px; }
.rek-loc-info__brand { margin: 0; font-family: var(--rek-font-display); font-weight: 700; font-size: 18px; letter-spacing: .16em; color: var(--rek-ink); }
.rek-loc-info__brand span { color: var(--rek-accent-light); font-weight: 500; }
.rek-loc-info__list { margin: 0; display: flex; flex-direction: column; border-block-start: 1px solid var(--rek-hairline); }
.rek-loc-info__list > div { padding-block: 16px; border-block-end: 1px solid var(--rek-hairline); }
.rek-loc-info__list dt { margin: 0 0 6px; font-family: var(--rek-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rek-accent-light); }
.rek-loc-info__list dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--rek-ink); }
.rek-loc-info__list a { color: var(--rek-ink); text-decoration: underline; text-decoration-color: var(--rek-hairline); text-underline-offset: 5px; }
.rek-loc-info__cta { margin-block-start: auto; min-height: 56px; font-size: 16px; gap: 10px; }
.rek-loc-info__cta svg circle { stroke: currentColor; }
.rek-loc-info__admin { margin: auto 0 0; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: var(--rek-muted); border: 1px dashed rgba(245, 247, 250, .2); }
@media (max-width: 1024px) {
	.rek-loc-grid { grid-template-columns: minmax(0, 1fr); }
	.rek-loc-map { min-height: 380px; }
	.rek-loc-wa { margin-block-end: 88px; }
}
@media (max-width: 767px) {
	.rek-loc-map { min-height: 300px; }
	.rek-loc-info { padding: 26px 20px; }
	.rek-loc-wa { padding: 20px; margin-block-end: 64px; }
	.rek-loc-wa .rek-btn { width: 100%; }
	.rek-loc-head { margin-block-end: 32px; }
}
/* Step aside while the mobile menu is open or the booking form is on screen. */
.rek-menu-open .rek-wa, .rek-wa.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s .3s; }

/* ---------- Motion hooks used by Elementor content ---------- */
.rek-kenburns { animation: rek-kenburns 16s var(--rek-ease) both; transform-origin: 50% 60%; }
@keyframes rek-kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Homepage hero video (inc/hero-video.php): sits over the hero image and fades in once it is playing. */
.rek-hero-video { opacity: 0; transition: opacity 1.2s var(--rek-ease); object-position: 50% 50%; pointer-events: none; }
.rek-hero-video.is-playing { opacity: 1; }
/* The video is brighter than the photo it replaces, so while it plays the text side gets a light extra scrim. */
.rk-hero .rk-hero-shade::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--rek-ease);
	background: linear-gradient(to right, rgba(5, 11, 18, .7) 0%, rgba(5, 11, 18, .42) 40%, rgba(5, 11, 18, .1) 75%);
}
[dir="rtl"] .rk-hero .rk-hero-shade::before { background: linear-gradient(to left, rgba(5, 11, 18, .7) 0%, rgba(5, 11, 18, .42) 40%, rgba(5, 11, 18, .1) 75%); }
.rk-hero.has-video .rk-hero-shade::before { opacity: 1; }
/* Portrait screens (same query as REK_HERO_VIDEO_PORTRAIT_QUERY): the text spans the width, so the scrim runs top to bottom. */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
	.rk-hero .rk-hero-shade::before, [dir="rtl"] .rk-hero .rk-hero-shade::before { background: linear-gradient(180deg, rgba(5, 11, 18, .12) 0%, rgba(5, 11, 18, .5) 38%, rgba(5, 11, 18, .66) 72%, rgba(5, 11, 18, .4) 100%); }
}

.rek-sheen { position: relative; overflow: hidden; }
.rek-sheen::after {
	content: ""; position: absolute; inset: -20% auto -20% -40%; width: 35%; pointer-events: none;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
	transform: skewX(-12deg); animation: rek-sheen 7s var(--rek-ease) 1.5s infinite;
}
@keyframes rek-sheen { 0%, 55% { inset-inline-start: -40%; } 100% { inset-inline-start: 120%; } }

/* ---------- FlexiShield partnership: the second-language lines keep their own direction ---------- */
[dir="rtl"] .rk-partner-en, [dir="rtl"] .rk-partner-en-text { direction: ltr; text-align: right; }
html:not([dir="rtl"]) .rk-partner-en, html:not([dir="rtl"]) .rk-partner-en-text { direction: rtl; text-align: left; }
/* Arabic letters must stay joined: no tracking or uppercase transform on the Arabic line. */
html:not([dir="rtl"]) .rk-partner-en { font-family: var(--rek-font-body); font-size: 15px; letter-spacing: 0; text-transform: none; }
.rk-partner-logo { width: auto !important; }

/* ---------- FlexiShield 3D stage ([rek_fs3d], directly under the hero) ----------
 * Default (no JS, reduced motion, no WebGL): a static still with the copy.
 * .is-live (set by rek-fs3d.js): a tall section whose sticky stage pins for
 * the scroll-driven 3D product.
 */
.rk-fs3d-host > .elementor-widget, .rk-fs3d-host .elementor-shortcode { width: 100%; }
.rek-fs3d { position: relative; width: 100%; }
.rek-fs3d__stage {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
	min-height: 90vh; padding: 96px 20px; overflow: hidden;
}
/* A restrained pool of light behind the product. */
.rek-fs3d__stage::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(34% 46% at 50% 48%, rgba(18, 63, 105, .42), rgba(5, 11, 18, 0) 70%);
}
.rek-fs3d__still { position: relative; display: block; height: min(60vh, 620px); width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }
.rek-fs3d__canvas { display: none; }
.rek-fs3d__copy { position: relative; text-align: center; padding-inline: 20px; }
.rek-fs3d__label { margin: 0 0 12px; font-family: var(--rek-font-mono); font-size: 12px; letter-spacing: .3em; color: var(--rek-accent-light); }
.rek-fs3d__label sup { font-size: .7em; }
.rek-fs3d__title { margin: 0; font-family: var(--rek-font-display); font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.25; color: var(--rek-ink); }

/* Benefit words in water/glass bubbles, behind the product (the canvas is layered above). */
.rek-fs3d__words { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rek-bubble {
	--b: clamp(104px, 9vw, 150px);
	position: absolute; left: var(--x); top: var(--y);
	width: var(--b); height: var(--b); margin: calc(var(--b) / -2) 0 0 calc(var(--b) / -2);
	display: grid; place-items: center; border-radius: 50%;
	/* Water sphere: faint body, a brighter meniscus ring and a cool refraction tint toward the lower edge. */
	background:
		radial-gradient(circle at 68% 76%, rgba(91, 184, 242, .30), rgba(91, 184, 242, 0) 38%),
		radial-gradient(circle at 50% 50%, rgba(245, 247, 250, .02) 0%, rgba(22, 137, 216, .05) 54%, rgba(91, 184, 242, .22) 66%, rgba(245, 247, 250, .26) 69.5%, rgba(245, 247, 250, 0) 71%);
	border: 1px solid rgba(245, 247, 250, .14);
	box-shadow:
		inset 0 0 26px rgba(91, 184, 242, .18),
		0 0 24px -6px rgba(91, 184, 242, .18),
		inset -10px -14px 26px rgba(0, 0, 0, .22),
		inset 10px 10px 20px rgba(255, 255, 255, .07),
		0 22px 44px -22px rgba(0, 0, 0, .8);
	-webkit-backdrop-filter: blur(6px) saturate(140%); backdrop-filter: blur(6px) saturate(140%);
	will-change: transform, opacity;
}
/* Specular highlight on the upper edge. */
.rek-bubble::before {
	content: ""; position: absolute; top: 11%; left: 20%; width: 36%; height: 20%; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%);
	transform: rotate(-28deg); filter: blur(1px);
}
/* Caustic crescent where light gathers inside the sphere. */
.rek-bubble::after {
	content: ""; position: absolute; right: 16%; bottom: 12%; width: 30%; height: 14%; border-radius: 50%;
	border-bottom: 2px solid rgba(160, 215, 250, .45); transform: rotate(-30deg); filter: blur(.6px);
}
.rek-bubble__word {
	position: relative; font-family: var(--rek-font-display); font-weight: 600; font-size: calc(var(--b) * .19); line-height: 1;
	color: var(--rek-ink); text-shadow: 0 1px 14px rgba(91, 184, 242, .45);
}
/* Balanced, asymmetric placement around the product (reveal order 1 to 4). */
.rek-bubble--1 { --x: 69%; --y: 27%; }
.rek-bubble--2 { --x: 27%; --y: 61%; }
.rek-bubble--3 { --x: 31%; --y: 26%; }
.rek-bubble--4 { --x: 73%; --y: 62%; }
@media (max-width: 767px) {
	.rek-bubble { --b: 92px; }
	.rek-bubble--1 { --x: 77%; --y: 25%; }
	.rek-bubble--2 { --x: 22%; --y: 57%; }
	.rek-bubble--3 { --x: 23%; --y: 29%; }
	.rek-bubble--4 { --x: 78%; --y: 60%; }
}
/* Live mode: rek-fs3d.js drives each bubble from the rotation, so they start hidden. */
.rek-fs3d.is-live .rek-bubble { opacity: 0; }
.rek-fs3d.is-live .rek-fs3d__canvas { z-index: 1; }

.rek-fs3d.is-live { height: 240vh; }
.rek-fs3d.is-live .rek-fs3d__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding: 0; display: block; }
.rek-fs3d.is-live .rek-fs3d__canvas { display: block; position: absolute; inset: 0; }
.rek-fs3d.is-live .rek-fs3d__canvas canvas { display: block; width: 100%; height: 100%; }
.rek-fs3d.is-live .rek-fs3d__still { display: none; }
.rek-fs3d.is-live .rek-fs3d__copy {
	position: absolute; inset-inline: 0; bottom: 5vh; z-index: 1;
	opacity: 0; transform: translateY(18px); transition: opacity .8s var(--rek-ease), transform .8s var(--rek-ease);
}
.rek-fs3d .rek-fs3d__copy.is-visible { opacity: 1; transform: none; }
@media (max-width: 767px) {
	.rek-fs3d.is-live { height: 210vh; }
	.rek-fs3d.is-live .rek-fs3d__copy { bottom: 8vh; }
	.rek-fs3d__still { height: min(52vh, 460px); }
}

/* ---------- Section anchors (ids are assigned in rek.js) ---------- */
[class*="rek-id-"], #appointment { scroll-margin-top: calc(var(--rek-header-h) + 24px); }

/* ---------- Project filters ---------- */
[class*="rek-c-"][hidden] { display: none !important; }
.rek-filter .rk-chip[aria-pressed="true"], .rek-filter .rk-chip[aria-pressed="true"]:hover { background-color: var(--rek-ink); border-color: var(--rek-ink); color: var(--rek-bg); }

/* ---------- Appointment form ([rek_booking_form]) ---------- */
.rek-booking { width: 100%; }
.rek-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rek-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rek-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.rek-field--wide { grid-column: 1 / -1; }
.rek-field label { font-size: 14px; font-weight: 500; color: var(--rek-ink); }
.rek-field label span { color: var(--rek-accent-light); }
.rek-field input, .rek-field select, .rek-field textarea {
	width: 100%; min-height: 54px; padding: 14px 16px; margin: 0;
	font: inherit; font-size: 16px; color: var(--rek-ink);
	background: var(--rek-surface); border: 1px solid rgba(245, 247, 250, .14); border-radius: 2px;
	transition: border-color .25s var(--rek-ease), background-color .25s var(--rek-ease);
	box-shadow: none; appearance: none; -webkit-appearance: none;
}
.rek-field select {
	padding-inline-end: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238B98A8' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-size: 12px 8px; background-position: left 18px center;
}
html:not([dir="rtl"]) .rek-field select { background-position: right 18px center; }
.rek-field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.rek-field input::placeholder, .rek-field textarea::placeholder { color: var(--rek-muted); opacity: 1; }
.rek-field input:hover, .rek-field select:hover, .rek-field textarea:hover { border-color: rgba(245, 247, 250, .28); }
.rek-field input:focus, .rek-field select:focus, .rek-field textarea:focus { outline: none; border-color: var(--rek-accent-light); background-color: var(--rek-navy); }
.rek-field input[type="date"] { color-scheme: dark; }
.rek-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-block-start: 28px; }
.rek-form__submit { min-height: 56px; padding-inline: 36px; font-size: 16px; border: 0; cursor: pointer; }
.rek-form__hint { margin: 0; font-size: 13px; line-height: 1.7; color: var(--rek-muted); flex: 1 1 260px; }
.rek-booking__notice { margin-block-end: 24px; padding: 18px 20px; border: 1px solid var(--rek-hairline); border-inline-start: 3px solid var(--rek-accent); background: var(--rek-surface); color: var(--rek-ink); line-height: 1.7; }
.rek-booking__notice.is-error { border-inline-start-color: #E0661A; }
.rek-booking__notice:focus { outline: none; }

/* ---------- Contact cards ([rek_contact]) ---------- */
.rek-cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.rek-cc {
	position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px;
	color: var(--rek-ink); text-decoration: none; border-radius: 2px; overflow: hidden; isolation: isolate;
	background: linear-gradient(150deg, rgba(18, 63, 105, .28), rgba(8, 21, 34, .9) 60%), var(--rek-surface);
	border: 1px solid var(--rek-hairline);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
	transition: transform .4s var(--rek-ease), border-color .4s var(--rek-ease), box-shadow .4s var(--rek-ease);
}
/* The same diagonal glass reflection as the floating bubbles. */
.rek-cc::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, 0) 60%);
	transform: translateX(-30%); transition: transform .6s var(--rek-ease);
}
.rek-cc__icon {
	flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	color: var(--rek-ink); border: 1px solid rgba(245, 247, 250, .12);
	background: radial-gradient(circle at 35% 25%, rgba(91, 184, 242, .22), rgba(91, 184, 242, 0) 70%), rgba(5, 11, 18, .5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.rek-cc__icon svg { display: block; }
.rek-cc--whatsapp .rek-cc__icon { background: radial-gradient(circle at 35% 25%, rgba(37, 211, 102, .24), rgba(37, 211, 102, 0) 70%), rgba(5, 11, 18, .5); }
.rek-cc__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.rek-cc__label { font-family: var(--rek-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rek-accent-light); }
.rek-cc__value { font-size: 16px; line-height: 1.45; color: var(--rek-ink); overflow-wrap: anywhere; text-align: start; }
[dir="rtl"] .rek-cc__value[dir="ltr"] { text-align: end; align-self: flex-start; }
.rek-cc__go { flex: none; display: grid; place-items: center; color: var(--rek-muted); transition: transform .4s var(--rek-ease), color .4s var(--rek-ease); }
[dir="rtl"] .rek-cc__go svg { transform: scaleX(-1); }
.rek-cc__nums { display: flex; flex-direction: column; gap: 2px; }
.rek-cc__num { display: inline-flex; align-items: center; align-self: flex-start; min-height: 32px; font-size: 16px; color: var(--rek-ink); text-decoration: none; border-block-end: 1px solid transparent; transition: color .3s var(--rek-ease), border-color .3s var(--rek-ease); }
.rek-cc__num:hover { color: var(--rek-accent-light); border-block-end-color: rgba(91, 184, 242, .4); }
.rek-cc--location { grid-column: 1 / -1; }
a.rek-cc:focus-visible { outline: 2px solid var(--rek-accent-light); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	a.rek-cc:hover { transform: translateY(-2px); border-color: rgba(91, 184, 242, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 36px -22px rgba(22, 137, 216, .55); }
	a.rek-cc:hover::before { transform: translateX(30%); }
	a.rek-cc:hover .rek-cc__go { color: var(--rek-accent-light); transform: translate(2px, -2px); }
	[dir="rtl"] a.rek-cc:hover .rek-cc__go { transform: translate(-2px, -2px); }
}
/* Touch screens: a short press, like the floating location bubble. */
@media (hover: none) {
	a.rek-cc { -webkit-tap-highlight-color: transparent; transition-duration: .18s; }
	a.rek-cc:active { transform: scale(.98); border-color: rgba(91, 184, 242, .45); }
}
.rek-cc-hours { margin: 16px 0 0; font-size: 15px; color: var(--rek-ink); }
.rek-cc-hours span { margin-inline-end: 8px; font-family: var(--rek-font-mono); font-size: 11px; letter-spacing: .18em; color: var(--rek-accent-light); }
@media (max-width: 767px) {
	.rek-form__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.rek-form__submit { width: 100%; }
}

/* ---------- Service tiles ---------- */
.rek-tile-img { transition: transform 1.2s var(--rek-ease); }
.rek-tile:hover .rek-tile-img, .rek-tile:focus-visible .rek-tile-img { transform: scale(1.04); }

/* ---------- Before / after slider ---------- */
.rek-ba { --pos: 50%; direction: ltr; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.rek-ba img { pointer-events: none; -webkit-user-drag: none; }
.rek-ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.rek-ba-handle { left: var(--pos) !important; right: auto !important; }
.rek-ba:focus-visible { outline: 2px solid var(--rek-accent-light); outline-offset: 4px; }
.rek-ba.is-dragging .rek-ba-before, .rek-ba.is-dragging .rek-ba-handle { transition: none; }

/* ---------- Colour configurator ---------- */
.rek-cfg-paint { transition: background-color .6s var(--rek-ease); }
.rek-cfg-car { transition: filter .6s var(--rek-ease); }
.rek-cfg[data-finish="satin"] .rek-cfg-car { filter: contrast(.92) saturate(.95); }
.rek-cfg[data-finish="matte"] .rek-cfg-car { filter: contrast(.8) brightness(1.05) saturate(.9); }
.rek-sw[aria-pressed="true"] { outline: 2px solid var(--rek-ink); outline-offset: 3px; }

/* ---------- Responsive chrome ---------- */
@media (max-width: 1024px) {
	:root { --rek-header-h: 68px; }
	.rek-nav, .rek-header__actions > .rek-lang { display: none; }
	.rek-menu-toggle { display: block; }
	.rek-footer__inner { grid-template-columns: 1fr 1fr; }
	.rek-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	:root { --rek-header-h: 64px; }
	.rek-header__cta { display: none; }
	.rek-wordmark { font-size: 14px; letter-spacing: .12em; }
	.rek-logo-img { width: 34px; height: 34px; }
	.rek-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-block-start: 64px; }
	.rek-wa { --wa-size: 56px; bottom: calc(18px + env(safe-area-inset-bottom)); right: calc(18px + env(safe-area-inset-right)); }
	.rek-wa.rek-loc { right: calc(18px + var(--wa-size) + 12px + env(safe-area-inset-right)); }
}
@media (max-width: 359px) {
	.rek-wa.rek-loc { right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + var(--wa-size) + 12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 782px) { .admin-bar .rek-header { inset-block-start: 46px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	[data-interaction-id] { opacity: 1 !important; transform: none !important; }
	.rek-sheen::after { display: none; }
	.rek-wa::after { animation: none; }
	.rek-loc-map__pulse { animation: none; }
	.rek-hero-video { display: none; }
}

/* A text link sharing a button row with a full button (FlexiShield section): centre it on the button's line. */
.elementor .rk-btn-row > .rk-link:not(:only-child) { align-self: center; }
