/* ==========================================================================
   AquaLuxe — "Liquid Luxury" design system
   RTL-first: layout uses logical properties only (inline-start/end, block).
   ========================================================================== */

/* ---- 1. Tokens ----------------------------------------------------------- */
:root {
	/* Color */
	--color-deep: #0A2540;
	--color-deep-2: #0D2F52;
	--color-primary: #0E6BA8;
	--color-aqua: #1FB6C9;
	--color-aqua-ink: #0B7F8E; /* aqua that passes AA on white */
	--color-lagoon: #7FDBE6;
	--color-sand: #E9DCC6;
	--color-sand-soft: #F6F0E6;
	--color-gold: #C8A15A;
	--color-gold-ink: #8C6A2C;
	--color-white: #FFFFFF;
	--color-mist: #F4F8FA;
	--color-text: #1C2B39;
	--color-muted: #5B6B7A;
	--color-line: #E2EAF0;
	--color-success: #1E9E6A;
	--color-error: #D64545;
	--color-whatsapp: #1DA851; /* darker WhatsApp green: white text passes AA */

	--gradient-signature: linear-gradient(135deg, #0A2540 0%, #0E6BA8 55%, #1FB6C9 100%);
	--gradient-button: linear-gradient(135deg, #0E6BA8 0%, #1592B8 60%, #1FB6C9 100%);
	--gradient-accent: linear-gradient(100deg, #1FB6C9 0%, #7FDBE6 50%, #1FB6C9 100%);

	/* Type */
	--font-body: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
	--font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-accent: var(--font-display);
	--lh-body: 1.8;
	--lh-heading: 1.3;
	--ls-heading: 0;

	--fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);       /* 40 → 80 */
	--fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.5rem);      /* 32 → 56 */
	--fs-h3: clamp(1.375rem, 1.2rem + .7vw, 2.25rem);   /* 22 → 36 */
	--fs-h4: clamp(1.125rem, 1.08rem + .25vw, 1.5rem);  /* 18 → 24 */
	--fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
	--fs-body: clamp(1rem, .96rem + .15vw, 1.125rem);   /* 16 → 18 */
	--fs-small: .875rem;
	--fs-xs: .78rem;

	/* Space (8px system) */
	--s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-6: 3rem;
	--s-8: 4rem; --s-12: 6rem; --s-16: 8rem; --s-20: 10rem;
	--section-y: clamp(4rem, 2.5rem + 6vw, 10rem);
	--gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);

	/* Shape */
	--r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-pill: 999px;
	--shadow-sm: 0 2px 6px -2px rgba(10, 37, 64, .12), 0 8px 24px -12px rgba(10, 37, 64, .18);
	--shadow-md: 0 20px 60px -20px rgba(10, 37, 64, .25);
	--shadow-lg: 0 30px 80px -24px rgba(10, 37, 64, .35), 0 10px 30px -18px rgba(14, 107, 168, .3);
	--shadow-glow: 0 18px 50px -18px rgba(31, 182, 201, .55);

	/* Motion */
	--ease: cubic-bezier(.22, 1, .36, 1);
	--dur-1: .2s; --dur-2: .45s; --dur-3: .8s;

	--header-h: 88px;
	--header-h-compact: 68px;
	--container: 1280px;
	--container-wide: 1440px;
}

html[lang^="en"] {
	--font-body: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-display: "Manrope", system-ui, sans-serif;
	--font-accent: "Fraunces", Georgia, serif;
	--lh-body: 1.65;
	--lh-heading: 1.12;
	--ls-heading: -0.025em;
}

/* ---- 2. Reset & base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-compact) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-text);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
:where(ul, ol):not(:where(.prose-content *, .prose-content)) { list-style: none; padding: 0; } /* UI lists: no bullets; rich text keeps them */
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-heading);
	color: var(--color-deep);
	font-weight: 600;
	text-wrap: balance;
}
p { text-wrap: pretty; }
html[lang^="ar"] * { letter-spacing: 0 !important; } /* never letter-space Arabic */
::selection { background: var(--color-lagoon); color: var(--color-deep); }

:focus-visible {
	outline: 3px solid var(--color-aqua);
	outline-offset: 3px;
	border-radius: 6px;
}
/* `hidden` always wins over component display rules (the mobile menu animates its own hidden state). */
[hidden]:not(.mobile-menu) { display: none !important; }
.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; inset-inline-start: 16px; inset-block-start: -80px; z-index: 1000;
	background: var(--color-deep); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
	transition: inset-block-start var(--dur-1);
}
.skip-link:focus { inset-block-start: 16px; }
.site-main:focus { outline: none; }
.site-main { overflow-x: clip; } /* decorative overhangs (rotating seal, offset badges) must never widen the page on phones */

/* Icons */
.icon {
	width: 1.25em; height: 1.25em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.icon--flip { transform: scaleX(-1); }
[dir="rtl"] .icon--dir.icon--flip { transform: none; }

/* ---- 3. Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--section-y); }
.section--mist { background: var(--color-mist); }
.section--sand { background: var(--color-sand-soft); }
.section--deep { background: var(--color-deep); color: #D7E3EE; isolation: isolate; overflow: hidden; }
.section-foot { display: flex; justify-content: center; margin-block-start: var(--s-6); }

/* Section heads */
.section-head { max-width: 46rem; margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-block-start: var(--s-2); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: var(--fs-small); font-weight: 600; color: var(--color-aqua-ink);
	margin-block-end: var(--s-2);
	text-transform: none;
}
html[lang^="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--color-gold); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--color-gold); }
.eyebrow--light { color: var(--color-lagoon); }
.section-title { font-size: var(--fs-h2); }
.section-title em, .hero__title em, .final-cta__title em {
	font-style: normal;
	background: var(--gradient-accent);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.section-title em { background-image: linear-gradient(100deg, var(--color-primary), var(--color-aqua)); }
html[lang^="en"] .section-title em,
html[lang^="en"] .hero__title em,
html[lang^="en"] .final-cta__title em {
	font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.section--deep .section-title, .section-title--light { color: #fff; }
.section--deep .section-title em, .section-title--light em { background-image: var(--gradient-accent); }
.lead { font-size: var(--fs-lead); color: var(--color-muted); }
.section--deep .lead, .lead--light { color: #B9CCDD; }
.muted { color: var(--color-muted); }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.split-head .section-head { margin-block-end: 0; }
.split-head { margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ---- 4. Buttons ---------------------------------------------------------- */
.btn {
	--btn-bg: var(--gradient-button);
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border-radius: var(--r-pill); border: 1.5px solid transparent;
	font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
	background: var(--btn-bg); color: #fff;
	transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
	-webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform var(--dur-2) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--block { width: 100%; }

.btn--primary { box-shadow: 0 12px 30px -12px rgba(14, 107, 168, .6); }
.btn--primary::after { /* shine sweep */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover { box-shadow: var(--shadow-glow); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--secondary { background: transparent; color: var(--color-primary); border-color: currentColor; }
.btn--secondary:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--ghost { background: transparent; color: var(--color-primary); padding-inline: 12px; }
.btn--ghost:hover { background: var(--color-mist); }
.btn--light { background: #fff; color: var(--color-deep); }
.btn--light:hover { box-shadow: 0 16px 40px -16px rgba(0,0,0,.4); }
.btn--glass {
	background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #178F44; box-shadow: 0 14px 34px -14px rgba(29,168,81,.7); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading::before {
	content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Click ripple */
.ripple {
	position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
	background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .7s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.icon-btn {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	color: var(--color-deep); transition: background var(--dur-1), color var(--dur-1), transform var(--dur-2) var(--ease);
}
.icon-btn:hover { background: var(--color-mist); }
.icon-btn--outline { border: 1.5px solid var(--color-line); background: #fff; }
.icon-btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: #fff; }
.icon-btn--outline:disabled { opacity: .35; cursor: default; }
.icon-btn--light { color: #fff; }
.icon-btn--light:hover { background: rgba(255,255,255,.12); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-primary);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px;
	transition: background-size var(--dur-2) var(--ease);
}
[dir="rtl"] .link-arrow { background-position: 100% 100%; }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

/* Badges & chips */
.badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill);
	font-size: var(--fs-xs); font-weight: 600; line-height: 1.6;
}
.badge--gold { background: rgba(200,161,90,.16); color: var(--color-gold-ink); }
.badge--aqua { background: rgba(31,182,201,.12); color: var(--color-aqua-ink); }
.badge--glass { background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font-size: .95rem; font-weight: 500;
	border: 1.5px solid rgba(255,255,255,.2); color: #CFE0EE;
	transition: all var(--dur-1);
}
.chip:hover { border-color: var(--color-lagoon); color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: var(--color-deep); border-color: #fff; }

.stars { display: inline-flex; gap: 2px; color: var(--color-gold); }
.stars .icon { width: 16px; height: 16px; }

/* Checklist */
.checklist { display: grid; gap: 14px; margin-block: var(--s-4); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--color-deep); }
.checklist__icon {
	display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: rgba(31,182,201,.12); color: var(--color-aqua-ink); margin-block-start: 2px;
}
.checklist__icon .icon { width: 16px; height: 16px; stroke-width: 2.2; }

/* Stretched link for whole-card click */
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---- 5. Header ----------------------------------------------------------- */
.site-header {
	position: sticky; inset-block-start: 0; z-index: 100;
	background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
	border-block-end: 1px solid rgba(10,37,64,.06);
	transition: background var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease);
}
.site-header.is-overlay {
	position: fixed; inset-inline: 0;
	background: transparent; border-color: transparent;
	-webkit-backdrop-filter: none; backdrop-filter: none;
	color: #fff;
}
.site-header.is-overlay::before { /* soft scrim keeps nav legible over bright skies */
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(6,24,43,.55), transparent);
	transition: opacity var(--dur-2);
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.88); color: var(--color-text);
	-webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
	border-color: rgba(10,37,64,.06); box-shadow: 0 10px 30px -20px rgba(10,37,64,.35);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
	display: flex; align-items: center; gap: var(--s-3);
	height: var(--header-h); transition: height var(--dur-2) var(--ease);
}
.is-scrolled .site-header__inner { height: var(--header-h-compact); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 40px; height: 40px; transition: transform var(--dur-3) var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: grid; line-height: 1.15; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-deep); }
.logo__tag { font-size: .72rem; color: var(--color-muted); }
.is-overlay:not(.is-scrolled) .logo__name { color: #fff; }
.is-overlay:not(.is-scrolled) .logo__tag { color: rgba(255,255,255,.75); }

/* Desktop nav */
.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 12px; font-weight: 500; font-size: .95rem; border-radius: var(--r-sm); white-space: nowrap;
	transition: color var(--dur-1);
}
.nav__link::after {
	content: ""; position: absolute; inset-inline: 12px; inset-block-end: 4px; height: 1.5px;
	background: var(--color-aqua); transform: scaleX(0); transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover::after, .nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__caret { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Mega menu */
.has-mega { position: static; }
.mega {
	position: absolute; inset-inline: 0; inset-block-start: 100%;
	background: #fff; color: var(--color-text);
	border-block-start: 1px solid var(--color-line);
	box-shadow: 0 40px 80px -40px rgba(10,37,64,.4);
	opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 340px; gap: var(--s-6); padding-block: var(--s-6); }
.mega__title { font-size: var(--fs-small); color: var(--color-muted); margin-block-end: var(--s-3); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px var(--s-3); margin-block-end: var(--s-3); }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-sm); transition: background var(--dur-1); }
.mega__link:hover { background: var(--color-mist); }
.mega__icon {
	display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
	background: rgba(31,182,201,.1); color: var(--color-primary); transition: all var(--dur-2) var(--ease);
}
.mega__link:hover .mega__icon { background: var(--gradient-button); color: #fff; }
.mega__name { display: block; font-weight: 600; color: var(--color-deep); }
.mega__desc { display: block; font-size: var(--fs-small); color: var(--color-muted); line-height: 1.6; margin-block-start: 2px; }
.mega__feature { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 320px; display: block; color: #fff; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.9), transparent 60%); }
.mega__feature-body { position: absolute; inset-inline: 20px; inset-block-end: 20px; z-index: 1; display: grid; gap: 6px; justify-items: start; }
.mega__feature-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.mega__feature-meta { font-size: var(--fs-small); opacity: .85; }

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
	border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; transition: background var(--dur-1);
}
.lang-switch:hover { background: rgba(10,37,64,.06); }
.is-overlay:not(.is-scrolled) .lang-switch:hover { background: rgba(255,255,255,.12); }
.lang-switch--light { color: #fff; border: 1px solid rgba(255,255,255,.25); }
.lang-switch--light:hover { background: rgba(255,255,255,.1); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-weight: 600; font-size: .95rem; min-height: 44px; white-space: nowrap; }
.header-phone .icon { color: var(--color-aqua); }
.site-header .btn { min-height: 46px; padding-inline: 22px; }
.menu-toggle { display: none; }
.is-overlay:not(.is-scrolled) .icon-btn { color: #fff; }
.is-overlay:not(.is-scrolled) .icon-btn:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1439px) {
	html[lang^="en"] .header-phone span { display: none; }
	html[lang^="en"] .header-phone { padding: 0; width: 44px; justify-content: center; }
}
@media (max-width: 1279px) {
	.header-phone span { display: none; }
	.header-phone { padding: 0; width: 44px; justify-content: center; }
	.nav__link { padding-inline: 9px; font-size: .9rem; }
}
/* Desktop header: the full legal name (logo line 2) leaves no room for the nav; it still shows on phones and in the footer. */
@media (min-width: 1180px) {
	.site-header .logo__tag { display: none; }
}
@media (max-width: 1179px) {
	.nav, .header-phone, .site-header__actions > .btn, .site-header__actions > .lang-switch { display: none; }
	.menu-toggle { display: inline-grid; width: 46px; height: 46px; border-radius: 14px; background: rgba(10,37,64,.05); border: 1px solid rgba(10,37,64,.08); }
	.is-overlay:not(.is-scrolled) .menu-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
	.menu-toggle .icon { width: 22px; height: 22px; }
	.site-header__actions { margin-inline-start: auto; }
	:root { --header-h: 72px; --header-h-compact: 64px; }
}

/* ---- 6. Mobile menu ------------------------------------------------------ */
.mobile-menu {
	position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
	background: var(--gradient-signature); color: #fff;
	padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.mobile-menu[hidden] { display: flex; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: url("../img/caustics.webp") 0 0 / 420px; opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.mobile-menu > * { position: relative; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-menu .logo__name { color: #fff; }
.mobile-menu .logo__tag { color: rgba(255,255,255,.75); }
.mobile-menu__nav { margin-block: var(--s-4); }
.mobile-menu__nav > ul > li {
	border-block-end: 1px solid rgba(255,255,255,.12);
	opacity: 0; transform: translateY(16px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
	transition-delay: calc(80ms + var(--i) * 45ms);
}
.mobile-menu.is-open .mobile-menu__nav > ul > li { opacity: 1; transform: none; }
.mobile-menu__nav > ul { counter-reset: mm; }
.mobile-menu__nav > ul > li { counter-increment: mm; }
.mobile-menu__nav > ul > li > a::before, .mobile-menu__group summary::before {
	content: counter(mm, decimal-leading-zero); order: -1; margin-inline-end: 14px; font-family: "Manrope", sans-serif; font-size: .75rem; font-weight: 700; color: var(--color-lagoon); opacity: .8;
}
.mobile-menu__nav > ul > li > a, .mobile-menu__group summary { justify-content: flex-start; }
.mobile-menu__group summary .icon { margin-inline-start: auto; }
.mobile-menu__nav a, .mobile-menu__group summary {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 60px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
}
.mobile-menu__group summary { cursor: pointer; list-style: none; }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group summary .icon { transition: transform var(--dur-2) var(--ease); }
.mobile-menu__group[open] summary .icon { transform: rotate(45deg); }
.mobile-menu__sub { padding-block-end: 12px; display: grid; }
.mobile-menu__sub a { font-family: var(--font-body); font-size: 1.05rem; min-height: 48px; justify-content: flex-start; gap: 12px; color: #D4E6F2; }
.mobile-menu__sub .icon { color: var(--color-lagoon); }
.mobile-menu__bottom { margin-block-start: auto; display: grid; gap: 12px; }
.mobile-menu__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mobile-menu__meta { display: flex; align-items: center; justify-content: space-between; margin-block-start: 8px; }
body.menu-open { overflow: hidden; }

/* ---- 7. Hero ------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; color: #fff;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	padding-block: calc(var(--header-h) + 48px) clamp(7rem, 5rem + 6vw, 10rem);
	overflow: hidden; background: var(--color-deep);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__img--2, .hero__img--3 { position: absolute; inset: 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.hero__img--2, .hero__img--3 { animation: heroZoom 18s var(--ease) forwards, heroFade 18s linear infinite backwards; }
	.hero__img--3 { animation-delay: 0s, 6s; }
}
@keyframes heroFade { 0%, 33.3% { opacity: 0; } 38%, 66.6% { opacity: 1; } 71.6%, 100% { opacity: 0; } }
.hero__caustics { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: soft-light; opacity: 0; transition: opacity 2s ease; }
.hero__caustics.is-live { opacity: .75; }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(to top, rgba(6,24,43,.92) 0%, rgba(6,24,43,.55) 38%, rgba(6,24,43,.1) 70%),
		linear-gradient(to var(--shade-dir, left), rgba(6,24,43,.55), transparent 60%);
}
[dir="rtl"] .hero__shade { --shade-dir: left; }
[dir="ltr"] .hero__shade { --shade-dir: right; }
.hero__content { position: relative; }
.hero__eyebrow { margin-block-end: var(--s-3); }
.hero__title { color: #fff; font-size: var(--fs-h1); font-weight: 600; max-width: 15ch; }
html[lang^="ar"] .hero__title { max-width: 14ch; line-height: 1.25; }
html[lang^="en"] .hero__title { max-width: 17ch; }
.hero__sub { max-width: 38rem; margin-block: var(--s-3) var(--s-4); font-size: var(--fs-lead); color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust {
	display: flex; flex-wrap: wrap; gap: 12px 32px; margin-block-start: var(--s-6);
	padding-block-start: var(--s-3); border-block-start: 1px solid rgba(255,255,255,.18); max-width: 44rem;
}
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: rgba(255,255,255,.9); }
.hero__trust strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; margin-inline-end: 4px; }
.hero__trust small { font-size: var(--fs-small); color: rgba(255,255,255,.75); }
.hero__trust .stars { margin-inline-end: 6px; vertical-align: -2px; }
.hero__trust .stars .icon { width: 13px; height: 13px; }
.hero__trust-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); }
.hero__trust-icon .icon { width: 20px; height: 20px; }
.hero__trust-icon--gold { background: rgba(200,161,90,.18); color: #E7C98C; border: 1px solid rgba(200,161,90,.5); }
.hero__trust-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--color-lagoon); }
.hero__scroll {
	position: absolute; inset-block-end: 84px; inset-inline-start: 50%; translate: -50% 0; z-index: 2;
	display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: var(--fs-xs);
}
.hero__scroll-drop {
	width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; position: relative;
}
.hero__scroll-drop::after {
	content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 8px; width: 6px; height: 9px; margin-inline-start: -3px;
	background: var(--color-lagoon); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	animation: drop 2.2s var(--ease) infinite;
}
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Hero entrance (pure CSS so it never waits for JS → good LCP) */
.hero__eyebrow, .hero__title, .hero__sub, .hero__ctas, .hero__trust {
	animation: heroIn 1.1s var(--ease) both;
}
.hero__title { animation-delay: .08s; }
.hero__sub { animation-delay: .2s; }
.hero__ctas { animation-delay: .32s; }
.hero__trust { animation-delay: .44s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* Waves */
.wave { position: absolute; inset-inline: 0; width: 100%; height: clamp(36px, 5vw, 80px); pointer-events: none; }
.wave--bottom { inset-block-end: -1px; fill: #fff; }
.wave--top { inset-block-start: -1px; transform: scaleY(-1); fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
	.wave path { animation: waveDrift 14s ease-in-out infinite alternate; transform-origin: center; }
}
@keyframes waveDrift { to { transform: translateX(-2%) scaleY(1.15); } }

/* Caustic texture layer (CSS sections) */
.caustics {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: url("../img/caustics.webp"), url("../img/caustics.webp");
	background-size: 520px, 760px;
	mix-blend-mode: screen; opacity: .22;
}
.caustics--soft { opacity: .07; }
@media (prefers-reduced-motion: no-preference) {
	.caustics { animation: causticsDrift 40s linear infinite; }
}
@keyframes causticsDrift { to { background-position: 520px 260px, -760px 380px; } }

/* ---- 8. Trust strip ------------------------------------------------------ */
.trust { padding-block: var(--s-8) var(--s-6); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: var(--s-2) var(--s-3); }
.stat + .stat { border-inline-start: 1px solid var(--color-line); }
.stat__num {
	display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1.1;
	background: linear-gradient(135deg, var(--color-deep), var(--color-primary) 60%, var(--color-aqua));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--color-gold); -webkit-text-fill-color: var(--color-gold); }
.stat__label { display: block; margin-block-start: 6px; color: var(--color-muted); font-size: .95rem; }

.brands { margin-block-start: var(--s-8); text-align: center; }
.brands__label { font-size: var(--fs-small); color: var(--color-muted); margin-block-end: var(--s-3); }
.marquee {
	display: flex; overflow: hidden; direction: ltr;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; flex: none; gap: clamp(2.5rem, 1.5rem + 3vw, 5rem); padding-inline-end: clamp(2.5rem, 1.5rem + 3vw, 5rem); animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brand-word {
	font-family: "Manrope", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.75rem);
	color: #9AAAB8; letter-spacing: -.02em; white-space: nowrap; transition: color var(--dur-1);
}
.brand-word:hover { color: var(--color-deep); }

/* ---- 9. About ------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 2rem + 4vw, 7rem); align-items: center; }
.about__collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 44px); }
.about__img { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--1 { grid-column: 1 / 9; grid-row: 1 / 9; }
.about__img--2 { grid-column: 8 / 13; grid-row: 3 / 8; z-index: 1; border: 6px solid #fff; }
.about__img--3 { grid-column: 4 / 11; grid-row: 7 / 13; z-index: 2; border: 6px solid #fff; }
.about__badge {
	position: absolute; inset-inline-start: 0; inset-block-end: 40px; z-index: 3;
	display: grid; justify-items: center; gap: 2px; width: 132px; height: 132px; place-content: center; text-align: center;
	border-radius: 50%; background: var(--color-deep); color: #fff; box-shadow: var(--shadow-lg);
	outline: 1px solid rgba(200,161,90,.6); outline-offset: -8px;
}
.about__badge-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: #E7C98C; line-height: 1; }
.about__badge-label { font-size: var(--fs-xs); color: #C6D6E4; max-width: 9ch; line-height: 1.4; }
.about__body .section-head { margin-block-end: var(--s-4); }
.about__body p + p { margin-block-start: var(--s-2); }
.about__body > div > p:not(.lead) { color: var(--color-muted); }
.about__sign { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding-block-start: var(--s-3); border-block-start: 1px solid var(--color-line); }
.signature { display: grid; }
.signature__name { font-family: var(--font-accent); font-size: 1.4rem; color: var(--color-deep); font-weight: 500; }
html[lang^="en"] .signature__name { font-style: italic; }
.signature__role { font-size: var(--fs-small); color: var(--color-muted); }

/* ---- 10. Services -------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); background: #fff;
	border: 1px solid var(--color-line); overflow: hidden;
	transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(31,182,201,.35); border-color: transparent; }
.service-card__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; flex: 1; }
.service-card__icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
	background: linear-gradient(135deg, rgba(14,107,168,.08), rgba(31,182,201,.16)); color: var(--color-primary);
	transition: all var(--dur-2) var(--ease); margin-block-end: 6px;
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-glow); transform: rotate(-4deg); }
.service-card__title { font-size: var(--fs-h4); }
.service-card__text { color: var(--color-muted); font-size: .97rem; line-height: 1.75; }
.service-card__more { margin-block-start: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-primary); font-size: .95rem; padding-block-start: 8px; }
.service-card__more .icon { transition: transform var(--dur-2) var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(5px); }
[dir="rtl"] .service-card:hover .service-card__more .icon { transform: scaleX(-1) translateX(5px); }

.service-card--featured { grid-column: span 2; min-height: 380px; color: #fff; border: 0; background: var(--color-deep); }
.service-card--featured .service-card__media { position: absolute; inset: 0; }
.service-card--featured .service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service-card--featured:hover .service-card__media img { transform: scale(1.06); }
.service-card--featured .service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.95) 10%, rgba(10,37,64,.35) 65%, rgba(10,37,64,.15)); }
.service-card--featured .service-card__body { justify-content: flex-end; padding: 36px; }
.service-card--featured .service-card__icon { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.service-card--featured .badge { position: absolute; inset-block-start: 28px; inset-inline-end: 28px; }
.service-card--featured .service-card__title { color: #fff; font-size: var(--fs-h3); }
.service-card--featured .service-card__text { color: rgba(255,255,255,.82); max-width: 32rem; }
.service-card--featured .service-card__more { color: var(--color-lagoon); margin-block-start: 4px; }

.service-card--cta { grid-column: span 2; background: var(--gradient-signature); border: 0; color: #fff; }
.service-card--cta::before { content: ""; position: absolute; inset: 0; background: url("../img/caustics.webp") 0 0 / 460px; opacity: .14; mix-blend-mode: screen; }
.service-card--cta .service-card__body { justify-content: center; }
.service-card--cta .service-card__title { color: #fff; font-size: var(--fs-h3); }
.service-card--cta .service-card__text { color: rgba(255,255,255,.82); }
.service-card--cta:hover { transform: none; box-shadow: none; }
.service-card__actions { margin-block-start: 8px; }

/* ---- 11. Process timeline ------------------------------------------------ */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.timeline::before, .timeline::after {
	content: ""; position: absolute; inset-inline: calc(100% / 12); inset-block-start: 31px; height: 2px; border-radius: 2px;
}
.timeline::before { background: var(--color-line); }
.timeline::after {
	background: linear-gradient(90deg, var(--color-primary), var(--color-aqua));
	transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.8s var(--ease);
}
[dir="rtl"] .timeline::after { transform-origin: right; background: linear-gradient(-90deg, var(--color-primary), var(--color-aqua)); }
.timeline.is-in { --progress: 1; }
.timeline__step { position: relative; z-index: 1; text-align: center; }
.timeline__dot {
	display: grid; place-items: center; width: 64px; height: 64px; margin-inline: auto; border-radius: 50%;
	background: #fff; color: var(--color-primary); border: 2px solid var(--color-line);
	box-shadow: 0 0 0 8px #fff; transition: all .6s var(--ease); transition-delay: calc(var(--i) * .25s);
}
.timeline__dot .icon { width: 26px; height: 26px; }
.timeline.is-in .timeline__dot { background: var(--gradient-button); color: #fff; border-color: transparent; box-shadow: 0 0 0 8px #fff, var(--shadow-glow); }
.timeline__body { margin-block-start: 20px; display: grid; gap: 8px; justify-items: center; }
.timeline__num { font-size: var(--fs-xs); font-weight: 600; color: var(--color-gold-ink); }
html[lang^="en"] .timeline__num { text-transform: uppercase; letter-spacing: .12em; }
.timeline__title { font-size: 1.08rem; line-height: 1.4; }
.timeline__text { font-size: .92rem; color: var(--color-muted); line-height: 1.7; }
.timeline__duration {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill);
	background: var(--color-mist); font-size: var(--fs-xs); font-weight: 600; color: var(--color-deep);
}
.timeline__duration .icon { width: 14px; height: 14px; color: var(--color-aqua-ink); }
.timeline__step { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .12s); }
.timeline.is-in .timeline__step { opacity: 1; transform: none; }

/* ---- 12. Projects -------------------------------------------------------- */
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-block-end: var(--s-6); }
.projects__head .section-head { margin-block-end: 0; }
.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 18px; }
.project-card { position: relative; border-radius: var(--r-md); overflow: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.project-card--lg { grid-column: span 2; grid-row: span 2; }
.project-card--wide { grid-column: span 2; }
.project-card--wide .project-card__title { font-size: var(--fs-h4); }
.project-card.is-hidden { display: none; }
.project-card.is-entering { opacity: 0; transform: scale(.96); }
.project-card__link { display: block; height: 100%; }
.project-card__media, .project-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card__media img { transition: transform 1.2s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.08); }
.project-card__overlay {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px;
	background: linear-gradient(to top, rgba(6,24,43,.88) 0%, rgba(6,24,43,.2) 55%, transparent);
	color: #fff;
}
.project-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-block-end: auto; }
.project-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.project-card--lg .project-card__title { font-size: var(--fs-h3); }
.project-card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: rgba(255,255,255,.8); }
.project-card__meta .icon { width: 15px; height: 15px; color: var(--color-lagoon); }
.project-card__cta {
	display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; color: var(--color-lagoon);
	max-height: 0; opacity: 0; transition: all var(--dur-2) var(--ease);
}
.project-card:hover .project-card__cta, .project-card__link:focus-visible .project-card__cta { max-height: 30px; opacity: 1; }
.projects .section-foot .btn--light:hover { background: var(--color-lagoon); }

/* ---- 13. Before / After -------------------------------------------------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba__frame {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
	touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .ba__before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.ba__handle {
	position: absolute; inset-block: 0; inset-inline-start: var(--pos); z-index: 2; width: 2px; margin-inline-start: -1px;
	background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.3); pointer-events: none;
}
.ba__knob {
	position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%;
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
	background: #fff; color: var(--color-deep); box-shadow: var(--shadow-md); direction: ltr;
}
[dir="rtl"] .ba__knob { translate: 50% -50%; }
.ba__knob .icon { width: 20px; height: 20px; stroke-width: 2.2; margin-inline: -3px; }
.ba__knob .icon:first-child { transform: scaleX(-1); }
.ba__frame:focus-within .ba__knob { outline: 3px solid var(--color-aqua); outline-offset: 3px; }
.ba__range {
	position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none;
	-webkit-appearance: none; appearance: none;
}
.ba__label {
	position: absolute; inset-block-start: 18px; z-index: 2; padding: 6px 14px; border-radius: var(--r-pill);
	font-size: var(--fs-xs); font-weight: 600; background: rgba(6,24,43,.6); color: #fff;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none;
}
.ba__label--before { inset-inline-start: 18px; }
.ba__label--after { inset-inline-end: 18px; background: rgba(31,182,201,.85); }
.ba__caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block-start: 16px; flex-wrap: wrap; }
.ba__caption strong { font-family: var(--font-display); font-weight: 600; color: var(--color-deep); font-size: 1.1rem; }
.ba__caption span { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: var(--fs-small); }
.ba__caption .icon { width: 15px; height: 15px; color: var(--color-aqua-ink); }

/* ---- 14. Why us ---------------------------------------------------------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 2rem + 4vw, 7rem); align-items: center; }
.why__visual { position: relative; }
.why__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.seal {
	position: absolute; inset-block-end: -36px; inset-inline-end: -36px; width: 176px; height: 176px;
	display: grid; place-items: center; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #12355C, var(--color-deep));
	box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(200,161,90,.6), inset 0 0 0 10px var(--color-deep), inset 0 0 0 11px rgba(200,161,90,.35);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: #E7C98C; font-size: 13.5px; font-weight: 600; }
html[lang^="en"] .seal__ring { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; font-family: "Manrope", sans-serif; }
html[lang^="ar"] .seal__ring { font-family: "IBM Plex Sans Arabic", sans-serif; }
.seal__ring text { direction: ltr; } /* RTL text on a path renders off-path in Chrome; bidi still orders the Arabic glyphs */
@media (prefers-reduced-motion: no-preference) { .seal__ring { animation: spin 40s linear infinite; } }
.seal__core { display: grid; justify-items: center; line-height: 1; }
.seal__num { font-family: var(--font-display); font-size: 3rem; font-weight: 600; background: linear-gradient(135deg, #F3DDA8, var(--color-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seal__label { margin-block-start: 6px; font-size: var(--fs-xs); color: #D9C59B; max-width: 10ch; text-align: center; line-height: 1.3; }
.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 36px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item__icon {
	display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
	background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm);
}
.why-item__icon .icon { width: 24px; height: 24px; }
.why-item__title { font-size: 1.1rem; margin-block-end: 4px; }
.why-item__text { font-size: .95rem; color: var(--color-muted); line-height: 1.7; }

/* ---- 15. Plans ----------------------------------------------------------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
	position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px 32px; border-radius: var(--r-md);
	background: #fff; border: 1px solid var(--color-line); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card__name { font-size: var(--fs-h4); }
.plan-card__for { color: var(--color-muted); font-size: .95rem; margin-block-start: -10px; }
.plan-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-block: 16px; border-block: 1px solid var(--color-line); }
.plan-card__from { font-size: var(--fs-small); color: var(--color-muted); width: 100%; }
.plan-card__amount { font-family: var(--font-display); font-size: 2.75rem; font-weight: 600; color: var(--color-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-card__cur { color: var(--color-muted); font-size: .95rem; }
.plan-card__visits { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-deep); }
.plan-card__visits .icon { color: var(--color-aqua-ink); }
.plan-card__features { display: grid; gap: 12px; margin-block-end: 12px; }
.plan-card__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan-card__features .icon { color: var(--color-success); width: 20px; height: 20px; margin-block-start: 3px; stroke-width: 2.2; }
.plan-card .btn { margin-block-start: auto; }
.plan-card--popular {
	background: var(--color-deep); color: #D7E3EE; border-color: transparent; box-shadow: var(--shadow-lg);
	transform: scale(1.03);
}
.plan-card--popular:hover { transform: scale(1.03) translateY(-6px); }
.plan-card--popular::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("../img/caustics.webp") 0 0 / 420px; opacity: .06; mix-blend-mode: screen; pointer-events: none; }
.plan-card--popular .plan-card__name, .plan-card--popular .plan-card__amount, .plan-card--popular .plan-card__visits { color: #fff; }
.plan-card--popular .plan-card__for, .plan-card--popular .plan-card__from, .plan-card--popular .plan-card__cur { color: #A9BED1; }
.plan-card--popular .plan-card__price { border-color: rgba(255,255,255,.12); }
.plan-card--popular .plan-card__features .icon { color: var(--color-lagoon); }
.plan-card--popular .plan-card__visits .icon { color: var(--color-lagoon); }
.plan-card__flag {
	position: absolute; inset-block-start: -14px; inset-inline-start: 50%; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: var(--r-pill);
	background: linear-gradient(135deg, #E7C98C, var(--color-gold)); color: var(--color-deep); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
	box-shadow: 0 8px 20px -8px rgba(200,161,90,.8);
}
[dir="rtl"] .plan-card__flag { transform: translateX(50%); }
.plan-card__flag .icon { width: 14px; height: 14px; }
.plans__foot { display: flex; justify-content: center; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-block-start: var(--s-6); color: var(--color-muted); }

/* ---- 16. Calculator band ------------------------------------------------- */
.calc-band { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--gradient-signature); color: #fff; }
.calc-band__grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: center; }
.calc-band .lead { margin-block: var(--s-3); }
.calc-band__note { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: #CDE6F2; }
.calc-band__note .icon { color: #E7C98C; }
.calc-mini {
	display: grid; gap: 20px; padding: 32px; border-radius: var(--r-lg);
	background: rgba(255,255,255,.96); color: var(--color-text); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5);
}
.calc-mini__field { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-mini__field legend, .range-field__top { font-size: var(--fs-small); font-weight: 600; color: var(--color-deep); margin-block-end: 10px; padding: 0; }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--color-mist); }
.segmented--3 { grid-template-columns: repeat(3, 1fr); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
	display: grid; place-items: center; min-height: 44px; border-radius: 9px; font-size: .92rem; font-weight: 500; color: var(--color-muted);
	transition: all var(--dur-1);
}
.segmented input:checked + span { background: #fff; color: var(--color-primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--color-aqua); outline-offset: 1px; }
.calc-mini__sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.range-field { display: grid; }
.range-field__top { display: flex; justify-content: space-between; }
.range-field output { color: var(--color-primary); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--color-aqua) var(--fill, 50%), var(--color-line) var(--fill, 50%)); }
[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--color-aqua) var(--fill, 50%), var(--color-line) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--color-primary); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--color-line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--color-aqua); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--color-primary); }
.calc-mini__preview { display: grid; place-items: center; height: 130px; border-radius: var(--r-sm); background: linear-gradient(#EAF2F6, #DCE9EF); overflow: hidden; }
.calc-mini__pool {
	position: relative; width: var(--pw, 50%); height: var(--ph, 40%); border-radius: 6px; overflow: hidden;
	border: 4px solid #F3EADB; box-shadow: 0 6px 16px -6px rgba(10,37,64,.35);
	transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s var(--ease);
}
.calc-mini__pool[data-system="infinity"] { border-inline-end-color: transparent; }
.calc-mini__pool[data-system="overflow"] { border-color: #B8C9D2; }
.calc-mini__water { position: absolute; inset: 0; background: url("../img/caustics.webp") 0 0 / 160px, linear-gradient(135deg, #1FB6C9, #0E6BA8); }
@media (prefers-reduced-motion: no-preference) { .calc-mini__water { animation: causticsDrift 30s linear infinite; } }
.calc-mini__area { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-small); color: var(--color-muted); margin-block-start: -8px; }
.calc-mini__area strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-deep); }

/* ---- 17. Testimonials ---------------------------------------------------- */
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-block-end: var(--s-6); }
.testimonials__head .section-head { margin-block-end: 0; }
.testimonials__aside { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.g-badge { display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-inline: 10px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-sm); }
.g-badge__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-mist); }
.g-badge__logo .icon { width: 22px; height: 22px; }
.g-badge__score { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--color-deep); }
.g-badge__count { display: block; font-size: var(--fs-xs); color: var(--color-muted); }
.slider-nav { display: flex; gap: 8px; }
.slider {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	padding-block: 8px 24px; margin-block: -8px -24px; scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.t-card {
	scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 16px;
	padding: 32px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--color-line);
	transition: box-shadow var(--dur-2) var(--ease);
}
.t-card:hover { box-shadow: var(--shadow-md); }
.t-card__quote { position: absolute; inset-block-start: 24px; inset-inline-end: 28px; color: rgba(31,182,201,.18); }
.t-card__quote .icon { width: 48px; height: 48px; }
.t-card__text { font-size: 1.02rem; line-height: 1.85; color: var(--color-text); flex: 1; }
html[lang^="en"] .t-card__text { line-height: 1.7; }
.t-card__author { display: flex; align-items: center; gap: 14px; padding-block-start: 16px; border-block-start: 1px solid var(--color-line); }
.t-card__avatar {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
	background: var(--gradient-button); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.t-card__name { display: block; font-style: normal; font-weight: 600; color: var(--color-deep); }
.t-card__role { display: block; font-size: var(--fs-small); color: var(--color-muted); }

/* ---- 18. Blog teaser ----------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: #fff; }
.post-card__media { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r-md); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 20px 4px 0; display: grid; gap: 12px; }
.post-card__meta { display: flex; align-items: center; gap: 14px; font-size: var(--fs-xs); color: var(--color-muted); }
.post-card__meta > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.post-card__meta .icon { width: 14px; height: 14px; }
.post-card__title { font-size: 1.2rem; line-height: 1.5; }
html[lang^="en"] .post-card__title { line-height: 1.3; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size var(--dur-2) var(--ease); }
[dir="rtl"] .post-card__title a { background-position: 100% 100%; }
.post-card:hover .post-card__title a { background-size: 100% 1.5px; }

/* ---- 19. FAQ / Accordion ------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: start; }
.faq__side { position: sticky; inset-block-start: calc(var(--header-h-compact) + 32px); }
.faq__help { display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
.faq__help-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--color-deep); }
.faq__help .link-arrow { margin-block-start: 4px; }
.accordion { display: grid; gap: 12px; }
.accordion__item { border-radius: var(--r-md); background: #fff; border: 1px solid var(--color-line); transition: box-shadow var(--dur-2), border-color var(--dur-2); }
.accordion__item:has([aria-expanded="true"]) { box-shadow: var(--shadow-sm); border-color: rgba(31,182,201,.4); }
.accordion__heading { font-size: 1.05rem; font-family: var(--font-body); }
.accordion__trigger {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px;
	padding: 18px 24px; text-align: start; font-weight: 600; color: var(--color-deep); border-radius: var(--r-md);
}
.accordion__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--color-mist); transition: background var(--dur-2), transform var(--dur-2) var(--ease); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: var(--color-primary); border-radius: 2px; transition: transform var(--dur-2) var(--ease); }
[dir="rtl"] .accordion__icon::before, [dir="rtl"] .accordion__icon::after { margin: -.9px -6px 0 0; }
.accordion__icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .accordion__icon { background: var(--color-primary); transform: rotate(180deg); }
[aria-expanded="true"] .accordion__icon::before, [aria-expanded="true"] .accordion__icon::after { background: #fff; }
[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-2) var(--ease); }
.accordion__panel.is-collapsing { grid-template-rows: 0fr; }
.accordion__panel[hidden] { display: none; }
.accordion__content { overflow: hidden; }
.accordion__content p { padding: 0 24px 22px; color: var(--color-muted); }

/* ---- 20. Final CTA ------------------------------------------------------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 4rem + 5vw, 9rem) clamp(7rem, 6rem + 5vw, 11rem); background: var(--gradient-signature); color: #fff; text-align: center; }
.final-cta__water { position: absolute; inset: 0; z-index: -1; }
.final-cta__water .caustics { opacity: .28; }
.final-cta__waves { position: absolute; inset-inline: 0; inset-block-end: 0; width: 100%; height: 140px; }
.final-cta__waves .w1 { fill: rgba(127,219,230,.14); }
.final-cta__waves .w2 { fill: var(--color-deep); }
@media (prefers-reduced-motion: no-preference) {
	.final-cta__waves .w1 { animation: waveDrift 9s ease-in-out infinite alternate; }
	.final-cta__waves .w2 { animation: waveDrift 12s ease-in-out infinite alternate-reverse; }
}
.final-cta__inner { max-width: 52rem; }
.final-cta__title { color: #fff; font-size: var(--fs-h2); }
.final-cta__text { margin-block: var(--s-3) var(--s-4); font-size: var(--fs-lead); color: rgba(255,255,255,.85); }
.final-cta__actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.final-cta__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding-inline: 12px; font-weight: 600; color: #fff; }
.final-cta__phone .icon { color: var(--color-lagoon); }

/* ---- 21. Footer ---------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; background: var(--color-deep); color: #A9BED1; padding-block: var(--s-12) calc(var(--s-4) + env(safe-area-inset-bottom)); font-size: .97rem; }
/* Footer wave takes the colour of the section above it. */
.site-main:has(> section.section--mist:last-of-type) + .site-footer { --wave-fill: var(--color-mist); }
.site-main:has(> section.section--sand:last-of-type) + .site-footer { --wave-fill: var(--color-sand-soft); }
.site-main:has(> .final-cta:last-of-type) + .site-footer .wave--top, .site-main:has(> .final-cta:last-of-type) + .site-footer::after { display: none; } /* final CTA already flows into the footer */
.site-main:has(> .final-cta:last-of-type) + .site-footer { padding-block-start: var(--s-8); }
.site-footer { --wave-fill: var(--color-white); }
.site-footer .wave--top { fill: var(--wave-fill); }
.site-footer::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: var(--wave-fill); pointer-events: none; } /* hides the SVG's anti-aliased edge row */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: var(--s-6); }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__tag { color: #8EA6BC; }
.site-footer__brand > p { margin-block: var(--s-3); max-width: 26rem; }
.site-footer__sub { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.site-footer__sub .muted { color: #8EA6BC; font-size: var(--fs-small); }
.site-footer__heading { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.05rem; margin-block-end: var(--s-2); }
.site-footer__heading--sm { font-size: var(--fs-small); color: #C9D8E6; margin-block: var(--s-3) var(--s-1); }
.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a { display: inline-block; padding-block: 5px; transition: color var(--dur-1), transform var(--dur-2) var(--ease); }
.site-footer__links a:hover { color: var(--color-lagoon); transform: translateX(4px); }
[dir="rtl"] .site-footer__links a:hover { transform: translateX(-4px); }
.site-footer__contact { display: grid; gap: 12px; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.site-footer__contact .icon { color: var(--color-aqua); margin-block-start: 4px; }
.site-footer__contact a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #fff; transition: all var(--dur-2) var(--ease); }
.social__link:hover { background: var(--color-aqua); border-color: var(--color-aqua); transform: translateY(-3px); }
.social__link .icon { width: 20px; height: 20px; }
.site-footer__areas { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-block-start: var(--s-6); padding-block-start: var(--s-4); border-block-start: 1px solid rgba(255,255,255,.08); }
.site-footer__areas .site-footer__heading { margin: 0; }
.site-footer__areas ul { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.site-footer__areas li { font-size: var(--fs-small); }
.site-footer__areas li + li::before { content: "·"; margin-inline: 6px; color: var(--color-gold); }
.site-footer__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-block-start: var(--s-4); padding-block-start: var(--s-3); border-block-start: 1px solid rgba(255,255,255,.08); font-size: var(--fs-small); }
.site-footer__bottom p { margin-inline-end: auto; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__legal a:hover, .to-top:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.to-top .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform var(--dur-2) var(--ease); }
.to-top:hover .icon { transform: translateY(-3px); background: var(--color-aqua); }

/* ---- 22. Floating WhatsApp & mobile action bar --------------------------- */
.wa-float { position: fixed; z-index: 90; inset-block-end: 28px; inset-inline-end: 28px; display: flex; align-items: flex-end; gap: 12px; }
.wa-float__btn {
	position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
	background: var(--color-whatsapp); color: #fff; box-shadow: 0 16px 40px -12px rgba(29,168,81,.7);
	transition: transform var(--dur-2) var(--ease);
}
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--color-whatsapp); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__btn:hover { transform: scale(1.08); }
.wa-float__btn .icon { width: 30px; height: 30px; }
.wa-float__tip {
	position: relative; max-width: 240px; padding: 14px 40px 14px 18px; border-radius: 18px 18px 4px 18px;
	background: #fff; color: var(--color-deep); box-shadow: var(--shadow-md); font-size: .95rem; font-weight: 500;
	animation: tipIn .6s var(--ease) both;
}
[dir="rtl"] .wa-float__tip { padding: 14px 18px 14px 40px; border-radius: 18px 18px 18px 4px; }
.wa-float__tip[hidden] { display: none; }
@keyframes tipIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.wa-float__dismiss { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--color-muted); }
.wa-float__dismiss:hover { background: var(--color-mist); }
.wa-float__dismiss .icon { width: 14px; height: 14px; }

.wa-float__stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wa-float__btn--call { display: none; background: var(--gradient-button); box-shadow: 0 16px 40px -12px rgba(14,107,168,.7); }
.wa-float__btn--call::before { display: none; }
.wa-float__btn--call .icon { width: 26px; height: 26px; }
@media (max-width: 767px) {
	/* Phones: Call + WhatsApp stacked in the corner (left in Arabic, right in English). */
	.wa-float { inset-block-end: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; }
	.wa-float__tip { display: none; }
	.wa-float__btn--call { display: grid; }
	.wa-float__btn { width: 54px; height: 54px; }
	.wa-float__btn .icon { width: 26px; height: 26px; }
	.site-footer { padding-block-end: calc(150px + env(safe-area-inset-bottom)); } /* keep footer links clear of the floating buttons */
}

/* ---- 23. Placeholder review mode ---------------------------------------- */
.ph-notice { display: none; }
.show-ph .ph-notice {
	display: inline-flex; align-items: center; gap: 6px; position: fixed; z-index: 95; inset-block-end: calc(16px + env(safe-area-inset-bottom)); inset-inline-start: 12px; /* opposite corner to the floating Call/WhatsApp buttons */
	max-width: min(320px, calc(100% - 24px)); padding: 6px 6px 6px 14px; border-radius: var(--r-pill);
	background: rgba(10,37,64,.9); color: #E7C98C; border: 1px dashed var(--color-gold);
	font-size: .72rem; font-weight: 600; line-height: 1.4; box-shadow: var(--shadow-md);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
[dir="rtl"] .show-ph .ph-notice { padding: 6px 14px 6px 6px; }
.ph-notice__close { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); }
.ph-notice__close .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.show-ph .ph-notice[hidden] { display: none; }
}
.show-ph .is-ph, .show-ph .is-ph-inline, .show-ph .is-ph-block { outline: 1.5px dashed var(--color-gold); outline-offset: 3px; border-radius: 4px; }
.show-ph .is-ph-block { outline-offset: -1.5px; }
.show-ph .project-card.is-ph-block, .show-ph .t-card.is-ph-block, .show-ph .ba.is-ph-block { outline-offset: 4px; border-radius: var(--r-md); }

/* ---- 24. Scroll reveals -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
	.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
	/* Water-rise image reveal */
	.js .wave-mask img { clip-path: ellipse(0% 0% at 50% 100%); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, .1s); }
	.js .is-in .wave-mask img, .js .wave-mask.is-in img { clip-path: ellipse(150% 150% at 50% 100%); }
}

/* ---- 25. Responsive ------------------------------------------------------ */
@media (max-width: 1199px) {
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.service-card--featured, .service-card--cta { grid-column: span 2; }
	.timeline { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
	.timeline::before, .timeline::after { display: none; }
	.mega__inner { grid-template-columns: 1fr 280px; }
}
@media (max-width: 1023px) {
	.about__grid, .why__grid, .calc-band__grid, .faq__grid { grid-template-columns: 1fr; }
	.about__collage { max-width: 560px; }
	.why__visual { max-width: 520px; margin-inline: auto; width: 100%; }
	.seal { inset-inline-end: -12px; width: 150px; height: 150px; }
	.seal__num { font-size: 2.4rem; }
	.faq__side { position: static; }
	.projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
	.plans__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
	.plan-card--popular, .plan-card--popular:hover { transform: none; }
	.slider { grid-auto-columns: calc((100% - 24px) / 2); }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.blog-grid > :last-child { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.ba-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
	.calc-mini { max-width: 520px; }
}
@media (max-width: 767px) {
	.hero { align-items: flex-end; padding-block-end: 6rem; }
	.hero__scroll { display: none; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.hero__trust { gap: 12px 20px; margin-block-start: var(--s-4); }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-3); }
	.stat:nth-child(3) { border-inline-start: 0; }
	.services__grid { grid-template-columns: 1fr; gap: 14px; }
	.service-card--featured, .service-card--cta { grid-column: auto; }
	.service-card--featured { min-height: 340px; }
	.service-card__body { padding: 24px; }
	.timeline { grid-template-columns: 1fr; row-gap: 0; }
	.timeline__step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: start; padding-block-end: 32px; }
	.timeline__step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 27px; inset-block: 56px 0; width: 2px; background: linear-gradient(var(--color-aqua), var(--color-line)); }
	.timeline__dot { width: 56px; height: 56px; margin: 0; }
	.timeline__body { margin: 4px 0 0; justify-items: start; }
	.projects__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
	.project-card--lg, .project-card--wide { grid-column: auto; grid-row: auto; }
	.project-card__cta { max-height: 30px; opacity: 1; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
	.why__list { grid-template-columns: 1fr; gap: 22px; }
	.seal { inset-block-end: -24px; width: 128px; height: 128px; }
	.seal__ring { font-size: 15px; }
	.seal__num { font-size: 2rem; }
	.about__collage { grid-template-rows: repeat(12, 30px); }
	.about__badge { width: 108px; height: 108px; inset-block-end: 10px; }
	.about__badge-num { font-size: 1.8rem; }
	.calc-mini { padding: 22px; }
	.calc-mini__sliders { grid-template-columns: 1fr; gap: 8px; }
	.slider { grid-auto-columns: 86%; gap: 14px; }
	.t-card { padding: 24px; }
	.blog-grid { grid-template-columns: 1fr; }
	.blog-grid > :last-child { display: flex; }
	.site-footer__grid { grid-template-columns: 1fr; gap: var(--s-4); }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.wa-float__tip { display: none; }
}

/* ---- 26. Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.marquee__track { animation: none; }
	.marquee { overflow-x: auto; }
	.hero__caustics { display: none; }
}

/* ---- 27. Basic inner pages (until Phase 3 templates) --------------------- */
.page-basic { padding-block-start: calc(var(--header-h) + var(--s-8)); }
.prose { max-width: 50rem; }
.prose__body { margin-block-start: var(--s-4); }
.prose__body > * + * { margin-block-start: 1em; }

/* ---- 28. Form fields (floating labels) ----------------------------------- */
.field { position: relative; display: grid; }
.field__input {
	width: 100%; min-height: 56px; padding: 22px 16px 8px; border-radius: var(--r-sm);
	border: 1.5px solid #CBD7E1; background: #fff; color: var(--color-text); font-size: 1rem;
	transition: border-color var(--dur-1), box-shadow var(--dur-1);
	-webkit-appearance: none; appearance: none;
}
textarea.field__input { min-height: 120px; resize: vertical; padding-block-start: 26px; }
select.field__input { padding-inline-end: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6BA8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
[dir="rtl"] select.field__input { background-position: left 14px center; }
.field__label {
	position: absolute; inset-inline-start: 17px; inset-block-start: 17px; color: var(--color-muted); pointer-events: none;
	transform-origin: var(--origin, left) top; transition: transform var(--dur-1) var(--ease), color var(--dur-1);
}
[dir="rtl"] .field__label { --origin: right; }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__label.is-static { transform: translateY(-10px) scale(.78); color: var(--color-primary); }
.field__input:hover { border-color: #9FB4C4; }
.field__input:focus, .field.is-focus .field__input { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(14,107,168,.14); }
.field.is-focus .field__label { transform: translateY(-10px) scale(.78); color: var(--color-primary); }
.field__msg { margin: 6px 4px 0; font-size: var(--fs-xs); color: var(--color-muted); }
.field--error .field__input { border-color: var(--color-error); background: #FFF8F8; }
.field--error .field__input:focus { box-shadow: 0 0 0 4px rgba(214,69,69,.14); }
.field--error .field__label, .field--error .field__msg { color: #B83232; }
.field--success .field__input { border-color: var(--color-success); }
.field--success .field__msg { color: #167A52; }
.field.is-disabled .field__input, .field__input:disabled { background: var(--color-mist); color: var(--color-muted); cursor: not-allowed; border-color: var(--color-line); }

/* Toasts */
.toast {
	display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-sm);
	background: #fff; box-shadow: var(--shadow-md); font-weight: 500; border-inline-start: 4px solid;
}
.toast .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #fff; stroke-width: 2.4; }
.toast--success { border-color: var(--color-success); }
.toast--success .icon { background: var(--color-success); }
.toast--error { border-color: var(--color-error); }
.toast--error .icon { background: var(--color-error); }

/* Forced states (style guide) */
.btn--primary.is-hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--secondary.is-hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--ghost.is-hover { background: var(--color-mist); }
.btn--whatsapp.is-hover { background: #178F44; }
.btn.is-focus { outline: 3px solid var(--color-aqua); outline-offset: 3px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---- 29. Style guide page ------------------------------------------------ */
.sg-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--s-12) var(--s-8); background: var(--gradient-signature); color: #fff; }
.sg-hero .hero__title { max-width: none; }
.sg-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: var(--s-4); }
.sg-toc a { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.3); font-size: var(--fs-small); }
.sg-toc a:hover { background: #fff; color: var(--color-deep); }
.sg-section { padding-block: var(--s-12); }
.sg-section--mist { background: var(--color-mist); }
.sg-h { font-size: var(--fs-h2); margin-block-end: var(--s-2); }
.sg-intro { max-width: 48rem; margin-block-end: var(--s-6); }
.sg code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82em; direction: ltr; unicode-bidi: isolate; color: var(--color-primary); }
.sg-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.sg-color { display: grid; gap: 6px; align-content: start; font-size: var(--fs-small); }
.sg-color__chip { height: 96px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(10,37,64,.08); margin-block-end: 6px; }
.sg-color .badge { justify-self: start; }
.sg-gradients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block-start: var(--s-6); }
.sg-gradients > div { position: relative; isolation: isolate; overflow: hidden; height: 140px; border-radius: var(--r-md); display: flex; align-items: flex-end; padding: 16px; }
.sg-gradients code { color: #fff !important; }
.sg-gradients__caustic { background: var(--color-primary); }
.sg-gradients__caustic .caustics { opacity: .5; }
.sg-type { display: grid; gap: 4px; }
.sg-type__row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding-block: 20px; border-block-end: 1px solid var(--color-line); }
.sg-type__meta { display: grid; gap: 2px; font-size: var(--fs-small); }
.sg-type__samples { display: grid; gap: 8px; min-width: 0; }
.sg-sample { margin: 0; color: var(--color-deep); overflow-wrap: anywhere; }
p.sg-sample { font-family: var(--font-body); }
.sg-sample--ar { font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif; line-height: 1.3; text-align: right; }
p.sg-sample--ar { font-family: "IBM Plex Sans Arabic", sans-serif; line-height: 1.8; }
.sg-sample--en { font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -.025em; text-align: left; }
p.sg-sample--en { line-height: 1.65; letter-spacing: 0; }
.sg-em { font-style: normal; background: linear-gradient(100deg, var(--color-primary), var(--color-aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-sample--en .sg-em { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; }
.sg-space { display: grid; gap: 10px; margin-block-end: var(--s-6); }
.sg-space > div { display: flex; align-items: center; gap: 16px; }
.sg-space span { display: block; height: 16px; border-radius: 4px; background: var(--gradient-button); }
.sg-shapes, .sg-shadows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-block-end: var(--s-6); }
.sg-shapes > div, .sg-shadows > div { display: grid; gap: 4px; align-content: end; height: 120px; padding: 16px; background: var(--color-mist); border: 1px solid var(--color-line); font-size: var(--fs-small); }
.sg-shadows > div { background: #fff; border: 0; border-radius: var(--r-md); }
.sg-table { display: grid; gap: 4px; overflow-x: auto; padding-block-end: 8px; }
.sg-table__row { display: grid; grid-template-columns: 150px repeat(5, minmax(200px, 1fr)); gap: 16px; align-items: center; padding-block: 12px; }
.sg-table__row--head { font-size: var(--fs-xs); font-weight: 600; color: var(--color-muted); border-block-end: 1px solid var(--color-line); }
.sg-dark { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block-start: var(--s-4); padding: 28px; border-radius: var(--r-md); background: var(--color-deep); }
.sg-link-light { color: var(--color-lagoon); }
.sg-forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; max-width: 900px; }
.field--full { grid-column: 1 / -1; }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sg-row + .sg-row { margin-block-start: var(--s-3); }
.sg-static-flag { position: static; transform: none !important; }
.sg-toasts { align-items: flex-start; }
.sg-cards { grid-template-columns: repeat(3, 1fr); margin-block-end: var(--s-4); }
.sg-accordion { max-width: 760px; }
.sg-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.sg-icons li { display: grid; justify-items: center; gap: 10px; padding: 20px 8px; border-radius: var(--r-sm); background: #fff; color: var(--color-primary); }
.sg-icons .icon { width: 28px; height: 28px; }
.sg-icons code { font-size: .72rem; color: var(--color-muted); }
.sg-motion { display: grid; gap: 4px; }
.sg-motion li { display: grid; grid-template-columns: 200px 1fr 220px; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--color-line); font-size: .95rem; }
@media (max-width: 1023px) {
	.sg-gradients, .sg-shapes, .sg-shadows, .sg-cards { grid-template-columns: repeat(2, 1fr); }
	.sg-motion li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 767px) {
	.sg-gradients, .sg-shapes, .sg-shadows, .sg-cards, .sg-forms { grid-template-columns: 1fr; }
	.sg-type__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ==========================================================================
   30. Shared inner-page components (Phase 2)
   ========================================================================== */

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero--image, .page-hero--deep { color: #fff; background: var(--color-deep); padding-block: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) clamp(5.5rem, 4rem + 4vw, 8rem); }
.page-hero--image.page-hero--lg { min-height: min(86vh, 820px); }
.page-hero--image.page-hero--md { min-height: min(64vh, 620px); }
.page-hero--deep { background: var(--gradient-signature); }
.page-hero--deep .caustics { opacity: .16; }
.page-hero--light { padding-block: var(--s-8) var(--s-6); background: var(--color-white); border-block-end: 1px solid var(--color-line); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,24,43,.92), rgba(6,24,43,.45) 50%, rgba(6,24,43,.25)); }
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); max-width: 20ch; }
.page-hero--image .page-hero__title, .page-hero--deep .page-hero__title { color: #fff; }
.page-hero__title em { font-style: normal; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero--light .page-hero__title em { background-image: linear-gradient(100deg, var(--color-primary), var(--color-aqua)); }
html[lang^="en"] .page-hero__title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.page-hero__lead { max-width: 40rem; margin-block-start: var(--s-3); font-size: var(--fs-lead); color: rgba(255,255,255,.85); }
.page-hero--light .page-hero__lead { color: var(--color-muted); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: var(--s-4); }
.page-hero__meta { margin-block-start: var(--s-4); }
.page-hero .eyebrow { margin-block-end: var(--s-2); }

/* Breadcrumbs */
.breadcrumbs { margin-block-end: var(--s-3); font-size: var(--fs-small); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); }
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs__sep { width: 14px; height: 14px; opacity: .6; }
.breadcrumbs--light li, .breadcrumbs--light [aria-current] { color: rgba(255,255,255,.75); }
.breadcrumbs--light a { color: var(--color-lagoon); }

/* Media rows (image + text, alternating) */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1.5rem + 4vw, 6rem); align-items: center; }
.media-row + .media-row { margin-block-start: var(--section-y); }
.media-row--flip .media-row__media { order: 2; }
.media-row__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-md); }
.media-row__media img { width: 100%; height: 100%; object-fit: cover; }
.media-row__body .section-head { margin-block-end: var(--s-3); }

/* Feature / icon grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--color-line); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.section--mist .feature { border-color: transparent; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-block-end: 18px; background: linear-gradient(135deg, rgba(14,107,168,.08), rgba(31,182,201,.16)); color: var(--color-primary); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: var(--fs-h4); margin-block-end: 8px; }
.feature__text { color: var(--color-muted); font-size: .97rem; }

/* Two-column layout with sticky aside */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2.5rem, 1.5rem + 3vw, 5rem); align-items: start; }
.layout-aside__aside { position: sticky; inset-block-start: calc(var(--header-h-compact) + 24px); display: grid; gap: 20px; }

/* Tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--color-mist); width: max-content; max-width: 100%; margin-block-end: var(--s-4); }
.tabs__tab { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--color-muted); transition: all var(--dur-1); }
.tabs__tab:hover { color: var(--color-deep); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: heroIn .6s var(--ease) both; }

/* Prose (legal, blog, rich text) */
.prose-content { font-size: 1.06rem; }
.prose-content > * + * { margin-block-start: 1.1em; }
.prose-content h2 { font-size: var(--fs-h3); margin-block-start: 2em; }
.prose-content h3 { font-size: var(--fs-h4); margin-block-start: 1.6em; }
.prose-content ul, .prose-content ol { padding-inline-start: 1.4em; }
.prose-content li + li { margin-block-start: .4em; }
.prose-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose-content blockquote { padding: 20px 24px; border-inline-start: 3px solid var(--color-aqua); background: var(--color-mist); border-radius: var(--r-sm); font-size: 1.1rem; color: var(--color-deep); }
.prose-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose-content th, .prose-content td { padding: 12px 14px; border-block-end: 1px solid var(--color-line); text-align: start; }
.prose-content th { background: var(--color-mist); color: var(--color-deep); }

/* Lead card + forms */
.lead-card { padding: clamp(24px, 1rem + 2vw, 40px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--color-line); }
.lead-card__head { margin-block-end: var(--s-3); }
.lead-card__title { font-size: var(--fs-h3); margin-block-end: 6px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .field--full, .form__grid .form__choice { grid-column: 1 / -1; }
.form__choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__choice legend { font-size: var(--fs-small); font-weight: 600; color: var(--color-deep); margin-block-end: 10px; padding: 0; }
.form__choice .segmented span { gap: 6px; }
.form__choice .segmented .icon { width: 18px; height: 18px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-block-start: var(--s-3); }
.form__or { color: var(--color-muted); font-size: var(--fs-small); }
.form__privacy { display: flex; align-items: center; gap: 8px; margin-block-start: var(--s-2); font-size: var(--fs-xs); color: var(--color-muted); }
.form__privacy .icon { width: 16px; height: 16px; color: var(--color-success); }
.form__status { margin-block-start: var(--s-2); }
.form__status .toast { width: 100%; box-shadow: none; background: var(--color-mist); }
.field.is-invalid .field__input { border-color: var(--color-error); background: #FFF8F8; }
.field.is-invalid .field__label, .field.is-invalid .field__msg { color: #B83232; }

/* File upload drop zone */
.dropzone { position: relative; display: grid; justify-items: center; gap: 8px; padding: 32px 20px; text-align: center; border: 2px dashed #B9CBD8; border-radius: var(--r-md); background: var(--color-mist); color: var(--color-muted); transition: border-color var(--dur-1), background var(--dur-1); cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--color-aqua); background: rgba(31,182,201,.06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.dropzone strong { color: var(--color-deep); }
.dropzone__files { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dropzone__files span { padding: 4px 12px; border-radius: var(--r-pill); background: #fff; font-size: var(--fs-xs); color: var(--color-deep); }

/* Inline notice */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: rgba(200,161,90,.1); border: 1px solid rgba(200,161,90,.35); color: var(--color-deep); }
.notice .icon { flex: none; color: var(--color-gold-ink); margin-block-start: 3px; }
.notice--aqua { background: rgba(31,182,201,.08); border-color: rgba(31,182,201,.3); }
.notice--aqua .icon { color: var(--color-aqua-ink); }

@media (max-width: 1023px) {
	.media-row, .layout-aside { grid-template-columns: 1fr; }
	.media-row--flip .media-row__media { order: 0; }
	.layout-aside__aside { position: static; }
	.feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.feature-grid, .feature-grid--4, .feature-grid--2, .form__grid { grid-template-columns: 1fr; }
	.tabs__list { width: auto; flex-wrap: nowrap; overflow-x: auto; border-radius: var(--r-md); scrollbar-width: none; }
	.tabs__tab { flex: none; }
	.form__actions .btn { flex: 1 1 100%; }
	.form__or { width: 100%; text-align: center; }
}
@media (max-width: 767px) { .show-ph .ph-notice { max-width: calc(100% - 110px); } } /* leave room for the floating buttons */

/* Hero waves: cover the 1px anti-aliased seam the clipped SVG leaves on fractional heights. */
.hero::after, .page-hero--image::after, .page-hero--deep::after, section:has(> .wave--bottom)::after {
	content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 2px; background: #fff; z-index: 1; pointer-events: none;
}

/* Uploaded logo (Site Settings) */
.logo--image { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 76px; width: auto; max-width: 240px; object-fit: contain; }
.site-footer .logo__img { height: 88px; max-width: 270px; }
.mobile-menu .logo__img { height: 56px; }
@media (max-width: 767px) { .site-header .logo__img { height: 54px; max-width: 170px; } }
.logo__img--light { display: none; }
.is-overlay:not(.is-scrolled) .logo.has-light .logo__img--default,
.mobile-menu .logo.has-light .logo__img--default,
.site-footer .logo.has-light .logo__img--default { display: none; }
.is-overlay:not(.is-scrolled) .logo.has-light .logo__img--light,
.mobile-menu .logo.has-light .logo__img--light,
.site-footer .logo.has-light .logo__img--light { display: block; }
.is-scrolled .logo__img { height: 58px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter var(--dur-2), opacity var(--dur-2); }
.brand-logo:hover img { filter: none; opacity: 1; }

/* Announcement bar (Site Settings → Review mode) */
.announce { position: relative; z-index: 101; background: var(--color-deep); color: #E7C98C; text-align: center; font-size: var(--fs-small); font-weight: 600; padding: 9px var(--gutter); }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce + .site-header.is-overlay { top: 38px; }
.announce + .site-header.is-overlay.is-scrolled { top: 0; }

/* Compact footer on phones: links side by side, no duplicate CTAs, tight rhythm. */
@media (max-width: 767px) {
	.site-footer { padding-block: var(--s-8) calc(92px + env(safe-area-inset-bottom)); font-size: .9rem; }
	.site-main:has(> .final-cta:last-of-type) + .site-footer { padding-block-start: var(--s-6); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.site-footer__brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 10px; }
	.site-footer__brand > p { margin: 0; font-size: .9rem; line-height: 1.7; }
	.site-footer__sub { display: none; } /* WhatsApp is already one tap away (floating button) */
	.site-footer .logo__img { height: 62px; max-width: 200px; }
	.site-footer__heading { font-size: .95rem; margin-block-end: 8px; }
	.site-footer__links { gap: 0; }
	.site-footer__links a { padding-block: 3px; font-size: .88rem; line-height: 1.5; }
	.site-footer__grid > :last-child { grid-column: 1 / -1; padding-block-start: 18px; border-block-start: 1px solid rgba(255,255,255,.08); }
	.site-footer__contact { gap: 8px; }
	.site-footer__contact li { gap: 10px; font-size: .88rem; }
	.site-footer__contact .icon { width: 18px; height: 18px; margin-block-start: 2px; }
	.site-footer__grid > :last-child .site-footer__heading--sm { display: none; } /* social icons speak for themselves */
	.site-footer__grid > :last-child .social { margin-block-start: 16px; }
	.site-footer .social__link { width: 40px; height: 40px; }
	.site-footer__areas { display: none; } /* service areas live on Contact and the city pages */
	.site-footer__bottom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-block-start: 22px; padding-block-start: 16px; }
	.site-footer__bottom p { width: 100%; margin: 0; font-size: .82rem; }
	.site-footer__legal { width: 100%; gap: 2px 14px; font-size: .82rem; }
	.site-footer__bottom .lang-switch { min-height: 38px; padding-inline: 12px; }
	.to-top { min-height: 38px; }
	.to-top .icon { width: 32px; height: 32px; }
}
