/* Mlameh Properties — brand stylesheet */

:root {
	--ml-navy: #11254a;
	--ml-gold: #c9a14a;
	--ml-grey: #5a5a5a;
	--ml-blue: #2c4570;
	--ml-offwhite: #f7f5f0;
	--ml-whitegrey: #e3e1dc;
	--ml-white: #ffffff;

	--ml-bg: var(--ml-offwhite);
	--ml-surface: var(--ml-white);
	--ml-border: var(--ml-whitegrey);
	--ml-accent: var(--ml-gold);
	--ml-accent-hover: #b8903f;
	--ml-text: var(--ml-navy);
	--ml-muted: var(--ml-grey);
	--ml-faint: #7a7a7a;
	--ml-wrap: min(1400px, calc(100% - 2rem));
	--ml-radius: 0.35rem;
	--ml-font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--ml-font-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--ml-ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* Typography defaults (overridden by Theme Design settings) */
	--ml-fs-body: 17px;
	--ml-fs-lead: 19px;
	--ml-fs-h1: clamp(32px, 4.8vw, 48px);
	--ml-fs-h2: clamp(24px, 3vw, 28px);
	--ml-fs-h3: 20px;
	--ml-fs-nav: 15px;
	--ml-fs-btn: 15px;
	--ml-fs-kicker: 13px;
	--ml-fs-small: 14px;
	--ml-lh-body: 1.8;
	--ml-lh-heading: 1.3;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.ml-theme {
	margin: 0;
	min-height: 100vh;
	font-family: var(--ml-font-ar);
	font-size: var(--ml-fs-body);
	background: var(--ml-bg);
	color: var(--ml-text);
	-webkit-font-smoothing: antialiased;
	line-height: var(--ml-lh-body);
}

/* Latin / English snippets use Montserrat */
:lang(en),
.ml-font-en,
.ml-brand__name-en,
.ml-footer__domain {
	font-family: var(--ml-font-en);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ml-blue);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ml-skip {
	position: absolute;
	inset-inline-start: -9999px;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--ml-navy);
	color: var(--ml-white);
	font-weight: 700;
	border-radius: var(--ml-radius);
}

.ml-skip:focus {
	inset-inline-start: 1rem;
	top: 1rem;
	outline: 3px solid var(--ml-gold);
	outline-offset: 2px;
}

.ml-wrap {
	width: var(--ml-wrap);
	margin-inline: auto;
}

/* Header */
.ml-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 245, 240, 0.94);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--ml-border);
	transition: box-shadow 0.35s var(--ml-ease), background 0.25s ease;
}

.ml-header--solid {
	background: var(--ml-white);
}

.ml-header--navy {
	background: rgba(17, 37, 74, 0.96);
	border-bottom-color: rgba(227, 225, 220, 0.12);
	color: var(--ml-white);
}

.ml-header--navy .ml-brand__name {
	color: rgba(247, 245, 240, 0.92);
}

.ml-header--navy .ml-btn--ghost {
	color: var(--ml-white);
	border-color: rgba(247, 245, 240, 0.35);
}

.ml-header .ml-btn--ghost:hover,
.ml-header .ml-btn--ghost:focus-visible {
	background: rgba(201, 161, 74, 0.14);
	border-color: var(--ml-gold);
	color: var(--ml-navy);
}

.ml-header--navy .ml-btn--ghost:hover,
.ml-header--navy .ml-btn--ghost:focus-visible {
	background: rgba(201, 161, 74, 0.2);
	border-color: var(--ml-gold);
	color: var(--ml-gold);
}

.ml-header--navy .ml-nav-toggle {
	background: transparent;
	border-color: rgba(247, 245, 240, 0.28);
}

.ml-header--navy .ml-nav-toggle span:not(.screen-reader-text) {
	background: var(--ml-white);
}

.ml-header.is-scrolled {
	box-shadow: 0 8px 28px rgba(17, 37, 74, 0.08);
}

/* Front page: transparent header over hero → cream sticky on scroll */
body.ml-front-hero-header .ml-header--over-hero {
	position: fixed;
	inset-inline: 0;
	top: 0;
	width: auto;
	max-width: 100%;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	box-shadow: none;
	transition:
		background 0.35s var(--ml-ease),
		border-color 0.35s var(--ml-ease),
		box-shadow 0.35s var(--ml-ease),
		backdrop-filter 0.35s ease;
}

body.ml-front-hero-header .ml-header--over-hero.is-scrolled,
body.ml-front-hero-header .ml-header--over-hero.is-nav-open {
	background: rgba(247, 245, 240, 0.96);
	border-bottom-color: var(--ml-border);
	backdrop-filter: blur(14px);
}

body.ml-front-hero-header .ml-header--over-hero.is-scrolled {
	box-shadow: 0 8px 28px rgba(17, 37, 74, 0.08);
}

/* Transparent state: light chrome over navy hero */
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-brand__name {
	color: var(--ml-white);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-brand__tag {
	color: var(--ml-gold);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .custom-logo-link img,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .custom-logo {
	filter: brightness(0) invert(1);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list > li > a {
	color: rgba(247, 245, 240, 0.92);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list > li > a:hover,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list > li > a:focus-visible {
	color: var(--ml-white);
	background: rgba(247, 245, 240, 0.08);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list > li > a.is-active,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list .current-menu-item > a,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav__list .current_page_item > a {
	background: transparent;
	color: var(--ml-gold);
	border-bottom-color: var(--ml-gold);
	box-shadow: none;
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__phone {
	color: var(--ml-white);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__phone:hover,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__phone:focus-visible {
	color: var(--ml-gold);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-btn--ghost {
	color: var(--ml-white);
	border-color: rgba(247, 245, 240, 0.4);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-btn--ghost:hover,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-btn--ghost:focus-visible {
	color: var(--ml-gold);
	border-color: var(--ml-gold);
	background: rgba(201, 161, 74, 0.12);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav-toggle {
	background: transparent;
	border-color: rgba(247, 245, 240, 0.35);
	color: var(--ml-white);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-nav-toggle__bars span {
	background: var(--ml-white);
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__cta-mobile {
	background: var(--ml-gold);
	border-color: var(--ml-gold);
	color: #fff;
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__cta-mobile:hover,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__cta-mobile:focus-visible {
	background: var(--ml-accent-hover);
	border-color: var(--ml-accent-hover);
	color: #fff;
}

/* Hero fills the first screen under the transparent header */
body.ml-front-hero-header .ml-hero {
	min-height: 100vh;
	min-height: 100svh;
	padding-top: calc(var(--ml-header-offset, 4.75rem) + clamp(1.75rem, 4vw, 3rem));
	padding-bottom: 2rem;
	box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
	body.ml-front-hero-header .ml-header--over-hero {
		transition: none;
	}
}

.ml-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.85rem 1.25rem;
	padding: 0.85rem 0;
	position: relative;
	z-index: 2;
}

.ml-header__inner > .ml-brand,
.ml-header__inner > .ml-brand--logo {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.ml-header__tools {
	display: none;
	align-items: center;
	gap: 0.5rem;
	justify-self: end;
}

.ml-header__backdrop {
	display: none;
}

.ml-header__actions {
	display: flex;
	gap: 0.65rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.ml-header__book {
	white-space: nowrap;
	box-shadow: none;
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__book {
	background: var(--ml-gold);
	border-color: var(--ml-gold);
	color: #fff;
}

body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__book:hover,
body.ml-front-hero-header .ml-header--over-hero:not(.is-scrolled):not(.is-nav-open) .ml-header__book:focus-visible {
	background: var(--ml-accent-hover);
	border-color: var(--ml-accent-hover);
	color: #fff;
}

@media (min-width: 1100px) {
	.ml-header__wa {
		display: none;
	}
}

/* ——— Desktop layouts (nav uses display:contents so list + actions join the header grid) ——— */
@media (min-width: 861px) {
	.ml-header__inner > .ml-nav {
		display: contents;
	}

	.ml-nav__list {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		min-width: 0;
	}

	.ml-header__actions {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.ml-header-layout--center .ml-nav__list {
		justify-content: center;
	}

	.ml-header-layout--center.ml-header--no-actions .ml-header__inner {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.ml-header-layout--center.ml-header--no-actions .ml-nav__list {
		justify-self: end;
		justify-content: flex-end;
	}

	.ml-header-layout--stacked .ml-header__inner {
		display: grid;
		grid-template-columns: auto auto;
		grid-template-areas:
			"brand brand"
			"nav actions";
		justify-content: center;
		align-items: center;
		row-gap: 0;
		column-gap: 1rem;
		padding-block: 0.7rem 0.65rem;
	}

	.ml-header-layout--stacked .ml-header__inner > .ml-brand,
	.ml-header-layout--stacked .ml-header__inner > .ml-brand--logo {
		grid-area: brand;
		justify-self: stretch;
		display: flex;
		justify-content: center;
		padding-bottom: 0.55rem;
		margin-bottom: 0.55rem;
		border-bottom: 1px solid var(--ml-border);
	}

	.ml-header-layout--stacked.ml-header--navy .ml-header__inner > .ml-brand,
	.ml-header-layout--stacked.ml-header--navy .ml-header__inner > .ml-brand--logo {
		border-bottom-color: rgba(247, 245, 240, 0.14);
	}

	.ml-header-layout--stacked.ml-header--no-actions .ml-header__inner {
		grid-template-columns: auto;
		grid-template-areas:
			"brand"
			"nav";
	}

	.ml-header-layout--stacked .ml-nav__list {
		grid-area: nav;
		justify-self: end;
		justify-content: flex-end;
		width: auto;
		padding-top: 0;
		border-top: none;
	}

	.ml-header-layout--stacked .ml-header__actions {
		grid-area: actions;
		justify-self: start;
		padding-inline-start: 0.85rem;
		margin-inline-start: 0.15rem;
		border-inline-start: 1px solid var(--ml-border);
	}

	.ml-header-layout--stacked.ml-header--navy .ml-header__actions {
		border-inline-start-color: rgba(247, 245, 240, 0.18);
	}

	.ml-header-layout--stacked.ml-header--no-actions .ml-nav__list {
		justify-self: center;
		justify-content: center;
	}
}

.ml-brand {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.ml-brand--logo {
	display: flex;
	align-items: center;
	line-height: 0;
}

.ml-brand--logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.ml-brand--logo .custom-logo-link img,
.ml-brand--logo .custom-logo,
.ml-header .custom-logo,
.ml-footer__logo .custom-logo {
	display: block;
	max-height: var(--ml-logo-height, 52px);
	width: auto !important;
	height: auto !important;
	max-width: 180px;
	object-fit: contain;
}

@media (max-width: 600px) {
	.ml-brand--logo .custom-logo-link img,
	.ml-brand--logo .custom-logo,
	.ml-header .custom-logo {
		max-height: calc(var(--ml-logo-height, 40px) * 0.85);
		max-width: 130px;
	}
}

.ml-brand__name {
	font-family: var(--ml-font-ar);
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: 0;
	line-height: 1.2;
	color: var(--ml-navy);
}

.ml-brand__tag {
	font-size: 0.72rem;
	color: var(--ml-gold);
	font-weight: 600;
	font-family: var(--ml-font-ar);
	letter-spacing: 0.02em;
}

.ml-nav__list {
	display: flex;
	gap: clamp(0.2rem, 0.9vw, 0.45rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.ml-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.55rem;
	border-radius: var(--ml-radius);
	color: var(--ml-blue);
	text-decoration: none;
	font-weight: 500;
	font-size: max(15px, var(--ml-fs-nav));
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ml-nav__list > li > a:hover,
.ml-nav__list > li > a:focus-visible {
	color: var(--ml-navy);
	outline: none;
}

.ml-nav__list > li > a.is-active,
.ml-nav__list .current-menu-item > a,
.ml-nav__list .current_page_item > a {
	background: transparent;
	color: var(--ml-navy);
	border-bottom-color: var(--ml-gold);
	border-radius: 0;
	box-shadow: none;
}

.ml-header--navy .ml-nav__list > li > a {
	color: rgba(247, 245, 240, 0.92);
}

.ml-header--navy .ml-nav__list > li > a:hover,
.ml-header--navy .ml-nav__list > li > a:focus-visible {
	color: var(--ml-gold);
}

.ml-header--navy .ml-nav__list > li > a.is-active,
.ml-header--navy .ml-nav__list .current-menu-item > a,
.ml-header--navy .ml-nav__list .current_page_item > a {
	background: transparent;
	color: var(--ml-gold);
	border-bottom-color: var(--ml-gold);
	box-shadow: none;
}

.ml-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	direction: ltr;
	text-decoration: none;
	color: var(--ml-navy);
	background: transparent;
	border: none;
	padding: 0.25rem 0;
	font-family: var(--ml-font-en);
	font-weight: 600;
	font-size: var(--ml-fs-btn);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	line-height: 1;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.ml-header__phone:hover,
.ml-header__phone:focus-visible {
	color: var(--ml-blue);
	outline: none;
}

.ml-header__phone:focus-visible {
	outline: 2px solid var(--ml-gold);
	outline-offset: 4px;
	border-radius: 2px;
}

.ml-header__phone-icon {
	flex: 0 0 auto;
	color: var(--ml-blue);
	display: block;
}

.ml-header--navy .ml-header__phone {
	color: rgba(247, 245, 240, 0.95);
}

.ml-header--navy .ml-header__phone-icon {
	color: var(--ml-gold);
}

.ml-header--navy .ml-header__phone:hover,
.ml-header--navy .ml-header__phone:focus-visible {
	color: var(--ml-gold);
}

.ml-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: var(--ml-white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.ml-nav-toggle__bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 18px;
}

.ml-nav-toggle__bars span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	background: var(--ml-navy);
	transition: transform 0.25s var(--ml-ease), opacity 0.2s ease;
	transform-origin: center;
}

.ml-header--navy .ml-nav-toggle__bars span {
	background: var(--ml-white);
}

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ml-header__cta-mobile {
	display: none;
	width: auto;
	min-width: 44px;
	height: 40px;
	min-height: 40px;
	padding: 0 0.9rem;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border: 1px solid var(--ml-gold);
	border-radius: var(--ml-radius);
	background: var(--ml-gold);
	color: #fff;
	font-family: var(--ml-font-ar);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ml-header__cta-mobile:hover,
.ml-header__cta-mobile:focus-visible {
	background: var(--ml-accent-hover);
	border-color: var(--ml-accent-hover);
	color: #fff;
	outline: none;
}

.ml-header__cta-mobile:focus-visible {
	outline: 2px solid var(--ml-gold);
	outline-offset: 2px;
}

.ml-header--navy .ml-header__cta-mobile {
	background: var(--ml-gold);
	border-color: var(--ml-gold);
	color: #fff;
}

.ml-header--navy .ml-header__cta-mobile:hover,
.ml-header--navy .ml-header__cta-mobile:focus-visible {
	background: var(--ml-accent-hover);
	border-color: var(--ml-accent-hover);
	color: #fff;
}

.ml-header__cta-mobile-label {
	display: block;
}

body.ml-nav-open {
	overflow: hidden;
}

@media (max-width: 860px) {
	.ml-header__inner {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.5rem 0.65rem;
		padding: 0.7rem 0;
	}

	.ml-header__tools {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		/* Visual left in RTL = inline-end */
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.ml-nav-toggle {
		display: inline-flex;
	}

	/* Hide mobile book CTA — menu + logo only */
	.ml-header__cta-mobile {
		display: none !important;
	}

	/* Visual right in RTL = inline-start */
	.ml-header__inner > .ml-brand,
	.ml-header__inner > .ml-brand--logo {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		min-width: 0;
		max-width: 100%;
		overflow: hidden;
	}

	.ml-header__inner > .ml-brand--logo .custom-logo-link,
	.ml-header__inner > .ml-brand--logo .custom-logo-link img,
	.ml-header__inner > .ml-brand--logo .custom-logo {
		max-width: min(118px, 36vw);
		max-height: 40px;
	}

	.ml-header__inner > .ml-nav {
		display: none;
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: stretch;
		width: 100%;
		margin: 0.35rem 0 0;
		padding: 0.85rem;
		border: none;
		border-radius: 12px;
		background: var(--ml-offwhite);
		box-shadow: 0 10px 28px rgba(17, 37, 74, 0.08);
	}

	.ml-header--solid .ml-header__inner > .ml-nav {
		background: var(--ml-offwhite);
	}

	.ml-header--navy .ml-header__inner > .ml-nav {
		background: rgba(255, 255, 255, 0.08);
		box-shadow: none;
		border: 1px solid rgba(247, 245, 240, 0.12);
	}

	.ml-nav.is-open {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.ml-nav__list {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.35rem;
	}

	.ml-nav__list a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0.65rem 0.85rem;
		font-size: 1rem;
		font-weight: 600;
		border: none;
		border-radius: 8px;
		color: var(--ml-navy);
		background: transparent;
		transition: background 0.2s ease, color 0.2s ease;
	}

	.ml-nav__list a:hover,
	.ml-nav__list a:focus-visible {
		background: transparent;
		color: var(--ml-navy);
		outline: none;
	}

	.ml-nav__list a.is-active,
	.ml-nav__list .current-menu-item > a,
	.ml-nav__list .current_page_item > a {
		background: transparent;
		color: var(--ml-navy);
		border-bottom-color: var(--ml-gold);
		box-shadow: none;
	}

	.ml-header--navy .ml-nav__list a {
		color: rgba(247, 245, 240, 0.95);
	}

	.ml-header--navy .ml-nav__list a:hover,
	.ml-header--navy .ml-nav__list a:focus-visible {
		background: transparent;
		color: var(--ml-gold);
	}

	.ml-header--navy .ml-nav__list a.is-active,
	.ml-header--navy .ml-nav__list .current-menu-item > a,
	.ml-header--navy .ml-nav__list .current_page_item > a {
		background: transparent;
		color: var(--ml-gold);
		border-bottom-color: var(--ml-gold);
		box-shadow: none;
	}

	.ml-nav .ml-header__actions {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		gap: 0.55rem;
		width: 100%;
		padding-top: 0.65rem;
		margin-top: 0.15rem;
		border-top: 1px solid var(--ml-border);
	}

	.ml-header--navy .ml-nav .ml-header__actions {
		border-top-color: rgba(247, 245, 240, 0.14);
	}

	.ml-nav .ml-header__actions .ml-btn,
	.ml-nav .ml-header__actions .ml-header__phone {
		flex: 1 1 0;
		width: auto;
		min-height: 44px;
		justify-content: center;
	}

	.ml-nav .ml-header__actions .ml-header__phone {
		background: var(--ml-gold);
		color: #fff;
		border-radius: var(--ml-radius);
		padding: 0.45rem 0.75rem;
	}

	.ml-nav .ml-header__actions .ml-header__phone-icon {
		color: #fff;
	}

	.ml-nav .ml-header__actions .ml-header__phone:hover,
	.ml-nav .ml-header__actions .ml-header__phone:focus-visible {
		background: var(--ml-accent-hover);
		color: #fff;
	}

	.ml-header__backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(247, 245, 240, 0.82);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	.ml-header.is-nav-open .ml-header__backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.ml-header.is-nav-open {
		z-index: 60;
	}
}

@media (min-width: 861px) {
	.ml-header__tools {
		display: none !important;
	}
}


/* Buttons */
.ml-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.35rem;
	border-radius: var(--ml-radius);
	font-weight: 600;
	font-size: var(--ml-fs-btn);
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.35s var(--ml-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ml-btn:hover {
	transform: translateY(-1px);
}

.ml-btn--sm {
	padding: 0.45rem 0.9rem;
	font-size: calc(var(--ml-fs-btn) - 1px);
}

.ml-btn--primary {
	background: var(--ml-gold);
	color: #fff;
}

.ml-btn--primary:hover,
.ml-btn--primary:focus-visible {
	background: var(--ml-accent-hover);
	color: #fff;
}

/* Buttons inside <nav> lose to `.ml-nav a` — force white text */
.ml-nav a.ml-btn--primary,
.ml-header a.ml-btn--primary,
.ml-header__actions .ml-btn--primary {
	color: #fff;
}

.ml-nav a.ml-btn--primary:hover,
.ml-nav a.ml-btn--primary:focus-visible,
.ml-header a.ml-btn--primary:hover,
.ml-header a.ml-btn--primary:focus-visible,
.ml-header__actions .ml-btn--primary:hover,
.ml-header__actions .ml-btn--primary:focus-visible {
	color: #fff;
}

.ml-btn--primary:focus-visible {
	outline: 2px solid var(--ml-navy);
	outline-offset: 3px;
}

.ml-btn--ghost {
	background: transparent;
	color: var(--ml-navy);
	border-color: var(--ml-navy);
}

.ml-btn--ghost:hover {
	background: var(--ml-navy);
	color: var(--ml-white);
}

.ml-btn--block {
	width: 100%;
}

/* Hero — Section 1: thesis + one primary action */
.ml-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	min-height: min(85vh, 52rem);
	min-height: min(85svh, 52rem);
	padding: clamp(3.25rem, 7vw, 5.5rem) 0 2rem;
	overflow-x: clip;
	overflow-y: visible;
	background: var(--ml-navy);
	color: var(--ml-white);
}

body.ml-front {
	overflow-x: clip;
}

html {
	overflow-x: clip;
}

.ml-hero__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: 0;
	background:
		radial-gradient(ellipse 48% 55% at 78% 38%, rgba(201, 161, 74, 0.18), transparent 64%),
		radial-gradient(ellipse 40% 50% at 12% 88%, rgba(44, 69, 112, 0.45), transparent 70%),
		linear-gradient(160deg, var(--ml-navy) 0%, #0c1a36 58%, var(--ml-blue) 100%);
	pointer-events: none;
}

.ml-hero--has-media .ml-hero__atmosphere {
	background:
		linear-gradient(105deg, rgba(17, 37, 74, 0.94) 0%, rgba(17, 37, 74, 0.78) 48%, rgba(17, 37, 74, 0.5) 100%),
		var(--ml-hero-image) left center / cover no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
	.ml-hero--has-media .ml-hero__atmosphere {
		animation: ml-hero-drift 28s ease-in-out infinite alternate;
	}
}

@keyframes ml-hero-drift {
	from { transform: scale(1); }
	to { transform: scale(1.04); }
}

.ml-hero__mark {
	position: absolute;
	z-index: 0;
	left: -6%;
	top: 50%;
	right: auto;
	width: 620px;
	max-width: 48vw;
	height: auto;
	transform: translateY(-50%);
	color: #c9a14a;
	opacity: 0.07;
	pointer-events: none;
}

/* Keep same content width as header (.ml-wrap) — do not force width:100% */
.ml-hero__inner {
	position: relative;
	z-index: 1;
}

.ml-hero__copy {
	position: relative;
	max-width: min(40rem, 100%);
	text-align: start;
}

.ml-hero__copy::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: -1.25rem -1.5rem;
	inset-inline: -1.25rem -2rem;
	border-radius: 1.25rem;
	background: radial-gradient(ellipse 70% 80% at 70% 40%, rgba(17, 37, 74, 0.55), transparent 72%);
	pointer-events: none;
}

.ml-hero h1 {
	margin: 0 0 0.9rem;
	font-family: var(--ml-font-ar);
	font-size: var(--ml-fs-h1);
	font-weight: 700;
	line-height: 1.38;
	color: var(--ml-white);
	max-width: none;
	text-align: start;
	word-spacing: normal;
	letter-spacing: normal;
}

.ml-hero__title-line {
	display: block;
}

.ml-hero__areas {
	margin: 0 0 1.25rem;
	padding-block-end: 0;
	font-family: var(--ml-font-ar);
	font-size: var(--ml-fs-kicker);
	font-weight: 600;
	letter-spacing: 0.03em;
	word-spacing: normal;
	color: var(--ml-gold);
	line-height: 1.65;
	text-align: start;
	border: none;
	max-width: 28rem;
}

.ml-hero__lead {
	margin: 0 0 40px;
	font-size: var(--ml-fs-lead);
	line-height: var(--ml-lh-body);
	color: rgba(247, 245, 240, 0.9);
	font-weight: 400;
	max-width: 34rem;
	text-align: start;
	word-spacing: normal;
}

.ml-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
	justify-content: flex-start;
	direction: rtl;
}

.ml-hero__actions .ml-btn {
	min-height: 48px;
	padding-inline: 1.35rem;
	gap: 0.45rem;
}

.ml-hero__actions .ml-btn__icon {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.ml-hero__actions .ml-btn__label {
	display: inline;
}

.ml-hero .ml-btn--primary {
	background: var(--ml-gold);
	color: #fff;
	border-color: var(--ml-gold);
	order: 0;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.ml-hero .ml-btn--ghost {
	background: transparent;
	color: var(--ml-white);
	border-color: rgba(247, 245, 240, 0.45);
	order: 1;
}

.ml-hero .ml-btn--primary:hover,
.ml-hero .ml-btn--primary:focus-visible {
	background: var(--ml-accent-hover);
	border-color: var(--ml-accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.ml-hero .ml-btn--ghost:hover,
.ml-hero .ml-btn--ghost:focus-visible {
	background: rgba(247, 245, 240, 0.08);
	color: var(--ml-white);
	border-color: var(--ml-gold);
}

/* Scroll cue — 96px under trust / content block */
.ml-hero__scroll {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-top: 96px;
	padding: 0;
	text-decoration: none;
	color: rgba(247, 245, 240, 0.6);
	opacity: 0.6;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.ml-hero__scroll:hover,
.ml-hero__scroll:focus-visible {
	color: var(--ml-gold);
	opacity: 1;
	outline: none;
}

.ml-hero__scroll:focus-visible {
	outline: 2px solid var(--ml-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

.ml-hero__scroll-icon {
	display: block;
}

@media (prefers-reduced-motion: no-preference) {
	.ml-hero__scroll-icon {
		animation: ml-scroll-chevron 1.6s ease-in-out infinite;
	}
}

@keyframes ml-scroll-chevron {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(6px);
	}
}

.ml-hero__response {
	margin: 0.85rem 0 0;
	font-size: var(--ml-fs-small);
	line-height: 1.5;
	color: rgba(247, 245, 240, 0.72);
	text-align: start;
}

/* Trust bar — inside hero copy (direction A) */
.ml-hero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 10px 18px;
	margin-top: 48px;
	padding-top: 0;
	border: none;
	direction: rtl;
	max-width: 100%;
}

.ml-hero__trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--ml-font-ar);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2px;
	color: rgba(255, 255, 255, 0.82);
	white-space: nowrap;
	line-height: 1.3;
}

.ml-hero__trust-item:not(:last-child)::after {
	display: none;
	content: none;
}

.ml-hero__trust-num {
	color: #c9a14a;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0;
}

@media (max-width: 860px) {
	.ml-hero {
		min-height: 0;
		height: auto;
		padding: 1.5rem 0 1rem;
	}

	/* Mobile hero: hug content — no void under the scroll cue */
	body.ml-front-hero-header .ml-hero {
		min-height: 0;
		height: auto;
		justify-content: flex-start;
		padding-top: calc(var(--ml-header-offset, 4.75rem) + 1.25rem);
		padding-bottom: 1rem;
		box-sizing: border-box;
		overflow-x: clip;
		overflow-y: visible;
	}

	.ml-hero__inner {
		width: var(--ml-wrap);
		flex: 0 1 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.ml-hero__copy {
		max-width: none;
		width: 100%;
		flex: 0 1 auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		min-height: 0;
		text-align: start;
		padding-top: 0.25rem;
	}

	.ml-hero__copy::before {
		display: none;
	}

	.ml-hero h1 {
		margin: 0 0 20px;
		font-size: clamp(1.45rem, 6vw, 1.85rem);
		font-weight: 700;
		line-height: 1.35;
		max-width: 90%;
		text-align: start;
	}

	.ml-hero__title-line {
		display: block;
	}

	.ml-hero__areas {
		margin: 0 0 24px;
		padding-block-end: 0;
		font-size: 11px;
		font-weight: 500;
		line-height: 1.55;
		letter-spacing: 0.01em;
		max-width: 90%;
		width: auto;
		text-align: start;
		border: none;
		color: rgba(201, 161, 74, 0.72);
	}

	.ml-hero__lead {
		margin: 0 0 30px;
		font-size: 14px;
		line-height: 1.8;
		max-width: 90%;
		text-align: start;
		color: rgba(247, 245, 240, 0.88);
	}

	/* Two buttons — one row, taller, quieter ghost */
	.ml-hero__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		gap: 13px;
		margin: 0 0 28px;
		direction: rtl;
	}

	.ml-hero__actions .ml-btn {
		flex: 1 1 0;
		width: auto;
		min-height: 44px;
		height: 44px;
		padding-inline: 0.55rem;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.2;
		justify-content: center;
		gap: 0.35rem;
		white-space: nowrap;
		border-radius: 10px;
		box-shadow: none;
		order: 0;
	}

	.ml-hero__actions .ml-btn__icon {
		width: 16px;
		height: 16px;
	}

	.ml-hero__actions .ml-btn--primary {
		order: -1;
		flex: 1.08 1 0;
		background: var(--ml-gold);
		border-color: var(--ml-gold);
		color: #fff;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
	}

	.ml-hero__actions .ml-btn--ghost {
		order: 1;
		border: 1px solid rgba(247, 245, 240, 0.28);
		background: rgba(255, 255, 255, 0.06);
		color: rgba(247, 245, 240, 0.92);
		text-decoration: none;
	}

	.ml-hero__actions .ml-btn--ghost:hover,
	.ml-hero__actions .ml-btn--ghost:focus-visible {
		background: rgba(255, 255, 255, 0.1);
		border-color: rgba(201, 161, 74, 0.55);
		color: var(--ml-white);
	}

	.ml-hero__response {
		margin: -12px 0 20px;
		font-size: 12px;
		text-align: start;
		color: rgba(247, 245, 240, 0.7);
	}

	/* Trust — 2×2 grid with quiet gold markers */
	.ml-hero__trust {
		display: grid;
		grid-template-columns: 1fr 1fr;
		flex-direction: unset;
		flex-wrap: unset;
		align-items: start;
		justify-content: stretch;
		gap: 12px 14px;
		margin-top: 0;
		padding-top: 0;
		width: 100%;
		max-width: none;
		overflow: visible;
		direction: rtl;
		border: none;
	}

	.ml-hero__trust::-webkit-scrollbar {
		display: none;
	}

	.ml-hero__trust-item {
		display: flex;
		align-items: flex-start;
		gap: 0.4rem;
		padding: 0;
		font-size: 12px;
		line-height: 1.4;
		white-space: normal;
		color: rgba(255, 255, 255, 0.88);
		border: none;
		flex: unset;
	}

	.ml-hero__trust-item::before {
		content: "•";
		flex: 0 0 auto;
		color: rgba(201, 161, 74, 0.75);
		font-size: 12px;
		line-height: 1.4;
		font-weight: 700;
	}

	.ml-hero__trust-item:not(:last-child)::after,
	.ml-hero__trust-item::after {
		display: none;
		content: none;
		width: 0;
		height: 0;
		margin: 0;
	}

	.ml-hero__trust-num {
		font-size: 12.5px;
	}

	.ml-hero__scroll {
		margin-top: 40px;
		margin-bottom: 0;
		flex-shrink: 0;
		align-self: center;
		width: 2.25rem;
		height: 2.25rem;
	}

	.ml-hero__mark {
		left: -8%;
		right: auto;
		top: 68%;
		width: min(62vw, 300px);
		max-width: none;
		opacity: 0.04;
		transform: translateY(-40%);
	}
}

@media (max-width: 600px) {
	body.ml-front-hero-header .ml-hero {
		min-height: 0;
		height: auto;
		padding-top: calc(var(--ml-header-offset, 4.75rem) + 1.1rem);
		padding-bottom: 0.85rem;
	}

	.ml-hero h1 {
		font-size: clamp(1.4rem, 6.4vw, 1.75rem);
		max-width: 88%;
	}

	.ml-hero__lead {
		font-size: 13.5px;
		max-width: 90%;
	}

	.ml-hero__actions .ml-btn {
		font-size: 11.5px;
		padding-inline: 0.45rem;
		min-height: 42px;
		height: 42px;
	}

	.ml-hero__trust-item {
		font-size: 11.5px;
	}

	.ml-hero__scroll {
		margin-top: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ml-hero .ml-btn--primary:hover,
	.ml-hero .ml-btn--primary:focus-visible {
		transform: none;
	}

	.ml-hero__scroll-icon {
		animation: none;
	}
}

.ml-kicker {
	margin: 0 0 0.55rem;
	font-size: var(--ml-fs-kicker);
	font-weight: 600;
	color: var(--ml-gold);
	letter-spacing: 0.02em;
	font-family: var(--ml-font-ar);
}

.ml-lead {
	margin: 0 0 1.5rem;
	font-size: var(--ml-fs-lead);
	line-height: var(--ml-lh-body);
	color: rgba(247, 245, 240, 0.88);
	font-weight: 400;
	max-width: 38rem;
}

/* Lead form (used in contact CTA section) */
.ml-lead-form {
	padding: clamp(1.5rem, 4vw, 2rem);
	border-radius: var(--ml-radius);
	background: var(--ml-white);
	border: 1px solid var(--ml-border);
	box-shadow: 0 18px 40px rgba(17, 37, 74, 0.12);
	color: var(--ml-text);
}

.ml-lead-form h2,
.ml-lead-form h3 {
	margin: 0 0 0.45rem;
	font-size: var(--ml-fs-h3);
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-hint {
	margin: 0 0 1.2rem;
	font-size: 0.9rem;
	color: var(--ml-muted);
	line-height: 1.65;
}

.ml-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--ml-navy);
}

.ml-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border-radius: var(--ml-radius);
	border: 1px solid var(--ml-border);
	background: var(--ml-offwhite);
	color: var(--ml-navy);
	font-family: inherit;
	font-size: 1rem;
	margin-bottom: 0.95rem;
}

.ml-input:focus {
	outline: 2px solid var(--ml-gold);
	outline-offset: 1px;
	border-color: var(--ml-gold);
}

.ml-form__note {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	color: var(--ml-faint);
	line-height: 1.5;
}

/* Sections */
.ml-section {
	padding: calc(var(--ml-section-space, 72px) * 0.85) 0;
}

@media (min-width: 800px) {
	.ml-section {
		padding: var(--ml-section-space, 72px) 0;
	}
}

.ml-section--muted {
	background: var(--ml-white);
	border-block: 1px solid var(--ml-border);
}

.ml-section__head {
	margin-bottom: 2rem;
	max-width: 40rem;
}

.ml-section__head h2,
.ml-split h2,
.ml-cta h2,
.ml-page__head h1 {
	margin: 0 0 0.5rem;
	font-family: var(--ml-font-ar);
	font-size: var(--ml-fs-h2);
	font-weight: 700;
	line-height: var(--ml-lh-heading);
	color: var(--ml-navy);
}

.ml-section__head p {
	margin: 0;
	color: var(--ml-muted);
}

.ml-section__more {
	margin: 2rem 0 0;
	text-align: center;
}

.ml-empty {
	margin-top: 1.5rem;
	padding: 1.75rem 1.5rem;
	text-align: center;
	border: 1px dashed var(--ml-border);
	border-radius: var(--ml-radius);
	background: var(--ml-surface);
}

.ml-empty__text {
	margin: 0 auto 1.15rem;
	max-width: 36rem;
	color: var(--ml-muted);
	line-height: var(--ml-lh-body);
}

.ml-empty__actions {
	margin: 0;
}

.ml-services {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.ml-services {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

.ml-service {
	padding-block: 0.25rem;
	border-top: 2px solid var(--ml-gold);
}

.ml-service__index {
	display: block;
	font-family: var(--ml-font-en);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ml-gold);
	margin-bottom: 0.5rem;
	line-height: 1;
}

.ml-service h3 {
	margin: 0 0 0.5rem;
	font-size: var(--ml-fs-h3);
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-service p {
	margin: 0;
	font-size: var(--ml-fs-body);
	color: var(--ml-muted);
	line-height: var(--ml-lh-body);
}

/* Listings */
.ml-listings-grid {
	display: grid;
	gap: 1.35rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.ml-listings-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.ml-listings-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ml-listing {
	margin: 0;
	background: var(--ml-white);
	border: 1px solid var(--ml-border);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: box-shadow 0.35s var(--ml-ease), transform 0.35s var(--ml-ease);
}

.ml-listing:hover {
	box-shadow: 0 16px 40px rgba(17, 37, 74, 0.1);
	transform: translateY(-3px);
}

.ml-listing__link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.ml-listing__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ml-whitegrey);
}

.ml-listing__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ml-ease);
}

.ml-listing__link:hover .ml-listing__media img {
	transform: scale(1.05);
}

.ml-listing__placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(201, 161, 74, 0.2), transparent 60%),
		var(--ml-blue);
}

.ml-listing__body {
	padding: 1rem 1.05rem 1.15rem;
}

.ml-listing__title {
	margin: 0 0 0.25rem;
	font-size: var(--ml-fs-h3);
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-listing__loc {
	margin: 0 0 0.5rem;
	font-size: 0.88rem;
	color: var(--ml-faint);
}

.ml-listing__meta {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: var(--ml-muted);
}

.ml-listing__price {
	color: var(--ml-gold);
	font-weight: 700;
	font-family: var(--ml-font-en);
}

.ml-badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(201, 161, 74, 0.15);
	color: var(--ml-navy);
	border: 1px solid rgba(201, 161, 74, 0.45);
}

.ml-badge--on-media {
	position: absolute;
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	backdrop-filter: blur(8px);
	background: rgba(247, 245, 240, 0.92);
}

/* About split */
.ml-split {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 880px) {
	.ml-split {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 3rem;
	}
}

.ml-split__lead {
	margin: 0 0 1.25rem;
	color: var(--ml-muted);
	line-height: 1.85;
}

.ml-checks {
	margin: 0;
	padding-inline-start: 1.15rem;
	color: var(--ml-muted);
	line-height: 1.9;
}

.ml-checks li::marker {
	color: var(--ml-gold);
}

.ml-quote {
	padding: 1.6rem 0;
	border-top: 2px solid var(--ml-gold);
	border-bottom: 1px solid var(--ml-border);
}

.ml-quote blockquote {
	margin: 0 0 1rem;
}

.ml-quote p {
	margin: 0;
	font-size: 1.25rem;
	font-style: normal;
	line-height: 1.65;
	color: var(--ml-navy);
	font-weight: 500;
}

.ml-quote cite {
	font-size: 0.85rem;
	color: var(--ml-gold);
	font-style: normal;
	font-weight: 600;
	font-family: var(--ml-font-en);
}

/* CTA */
.ml-cta {
	background: var(--ml-navy);
	color: var(--ml-white);
	border-top: none;
}

.ml-cta h2 {
	color: var(--ml-white);
	margin: 0 0 0.65rem;
}

.ml-cta__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: start;
}

@media (min-width: 900px) {
	.ml-cta__grid {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}
}

.ml-cta__intro p {
	margin: 0 0 1.25rem;
	color: rgba(247, 245, 240, 0.78);
	max-width: 32rem;
	line-height: var(--ml-lh-body);
}

.ml-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ml-cta .ml-btn--ghost {
	color: var(--ml-white);
	border-color: rgba(247, 245, 240, 0.4);
}

.ml-cta .ml-btn--ghost:hover {
	background: var(--ml-white);
	color: var(--ml-navy);
}

.ml-cta .ml-lead-form {
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

/* Pages / property single */
.ml-page {
	padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.ml-page__inner {
	max-width: 48rem;
}

.ml-page__head {
	margin-bottom: 1.75rem;
}

.ml-entry__content {
	font-size: var(--ml-fs-body);
	line-height: var(--ml-lh-body);
	color: var(--ml-muted);
}

.ml-entry__content h2,
.ml-entry__content h3 {
	color: var(--ml-navy);
}

.ml-property__layout {
	display: grid;
	gap: 1.75rem;
	margin-bottom: 2rem;
}

@media (min-width: 900px) {
	.ml-property__layout {
		grid-template-columns: 1.3fr 0.9fr;
		align-items: start;
	}
}

.ml-property__media img {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid var(--ml-border);
}

.ml-property__price {
	font-family: var(--ml-font-en);
	font-size: 1.85rem;
	color: var(--ml-gold);
	margin: 0.5rem 0 1rem;
	font-weight: 700;
}

.ml-property__loc {
	color: var(--ml-faint);
	margin: 0.25rem 0;
}

.ml-property__specs {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	display: grid;
	gap: 0.5rem;
	color: var(--ml-muted);
}

.ml-property__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ml-breadcrumbs {
	margin-bottom: 1.25rem;
	font-size: 0.85rem;
	color: var(--ml-faint);
}

.ml-post-card {
	padding: 1rem 0;
	border-bottom: 1px solid var(--ml-border);
}

.ml-post-card h2 {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
}

.ml-post-card a {
	color: inherit;
	text-decoration: none;
}

/* Footer */
.ml-footer {
	padding: 3rem 0 1.5rem;
	border-top: 1px solid var(--ml-border);
	background: var(--ml-navy);
	color: rgba(247, 245, 240, 0.78);
}

.ml-footer--offwhite {
	background: var(--ml-offwhite);
	color: var(--ml-muted);
	border-top-color: var(--ml-border);
}

.ml-footer--offwhite .ml-footer__name,
.ml-footer--offwhite .ml-footer__heading {
	color: var(--ml-navy);
}

.ml-footer--offwhite .ml-footer__tag {
	color: var(--ml-gold);
}

.ml-footer--offwhite a {
	color: var(--ml-blue);
}

.ml-footer--offwhite a:hover {
	color: var(--ml-navy);
}

.ml-footer--offwhite .ml-footer__bar {
	border-top-color: var(--ml-border);
	color: var(--ml-faint);
}

.ml-footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
	margin-bottom: 2rem;
}

@media (min-width: 800px) {
	.ml-footer__grid {
		grid-template-columns: 1.25fr 1fr 0.85fr;
		gap: 2.5rem;
		align-items: start;
	}
}

.ml-footer__logo {
	margin-bottom: 0.65rem;
}

.ml-footer__logo .custom-logo-link img,
.ml-footer__logo .custom-logo {
	max-height: calc(var(--ml-logo-height, 40px) * 0.95);
	filter: none;
}

.ml-footer--navy .ml-footer__logo .custom-logo-link img,
.ml-footer--navy .ml-footer__logo .custom-logo {
	/* Keep logo readable on navy; brand PNGs usually already contrast */
	opacity: 0.98;
}

.ml-footer__name {
	margin: 0;
	font-family: var(--ml-font-ar);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ml-white);
}

.ml-footer__tag {
	margin: 0.25rem 0 1rem;
	color: var(--ml-gold);
	font-size: 0.78rem;
	font-family: var(--ml-font-ar);
	letter-spacing: 0.02em;
	font-weight: 500;
}

.ml-footer__heading {
	margin: 0 0 0.75rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ml-white);
}

.ml-footer a {
	color: var(--ml-gold);
	text-decoration: none;
	font-weight: 600;
}

.ml-footer a:hover {
	color: #e0c07a;
}

.ml-footer p {
	margin: 0 0 0.45rem;
	font-size: var(--ml-fs-small);
	line-height: 1.7;
}

.ml-footer__muted {
	color: rgba(247, 245, 240, 0.45);
	font-size: 0.82rem;
}

.ml-footer--offwhite .ml-footer__muted {
	color: var(--ml-faint);
}

.ml-footer__menu,
.ml-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.ml-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(227, 225, 220, 0.15);
	font-size: var(--ml-fs-small);
	color: rgba(247, 245, 240, 0.45);
}

.ml-footer__bar p {
	margin: 0;
}

/* Reveal motion */
[data-ml-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--ml-ease), transform 0.7s var(--ml-ease);
}

[data-ml-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* CF7 polish */
.ml-cf7-wrap .wpcf7-form label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--ml-navy);
}

.ml-cf7-wrap .wpcf7-form input,
.ml-cf7-wrap .wpcf7-form select,
.ml-cf7-wrap .wpcf7-form textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border-radius: var(--ml-radius);
	border: 1px solid var(--ml-border);
	background: var(--ml-offwhite);
	color: var(--ml-navy);
	font-family: inherit;
	margin-bottom: 0.85rem;
}

.ml-cf7-wrap .wpcf7-submit {
	width: 100%;
	padding: 0.7rem 1.25rem;
	border: none;
	border-radius: var(--ml-radius);
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	background: var(--ml-gold);
	color: var(--ml-navy);
}

/* ——— Section 2: Problem (empathy) ——— */
.ml-problem {
	background: #faf8f4;
	color: #11254a;
	padding: 120px 0;
}

.ml-problem__inner {
	width: min(760px, calc(100% - 3rem));
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.ml-problem__rule {
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 24px;
	background: #c9a14a;
	border-radius: 1px;
}

.ml-problem__title {
	margin: 0 0 48px;
	font-family: var(--ml-font-ar);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.45;
	color: #11254a;
	text-align: center;
	max-width: none;
}

.ml-problem__title-line {
	display: block;
}

/* Body editor HTML (below the title) */
.ml-problem__content {
	margin: 0;
	padding: 0;
	font-family: var(--ml-font-ar);
	text-align: center;
	color: #3a4356;
}

.ml-problem__content > *:first-child {
	margin-top: 0;
}

.ml-problem__content > *:last-child {
	margin-bottom: 0;
}

.ml-problem__content p {
	margin: 0;
	font-size: 19px;
	font-weight: 400;
	line-height: 2.1;
	color: #3a4356;
	text-align: center;
}

.ml-problem__content p + p {
	margin-top: 36px;
}

.ml-problem__content strong,
.ml-problem__content b {
	font-weight: 600;
	color: #11254a;
}

.ml-problem__content p:has(> strong:only-child),
.ml-problem__content p:has(> b:only-child) {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.55;
	color: #11254a;
}

.ml-problem__content ul,
.ml-problem__content ol {
	margin: 0 auto;
	padding-inline-start: 1.25em;
	max-width: 760px;
	text-align: start;
	font-size: 19px;
	line-height: 2.1;
	color: #3a4356;
}

.ml-problem__content a {
	color: #11254a;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 860px) {
	.ml-problem {
		padding: 72px 0;
	}

	.ml-problem__inner {
		width: min(760px, calc(100% - 48px));
	}

	.ml-problem__title {
		font-size: 28px;
		margin-bottom: 36px;
	}

	.ml-problem__content p,
	.ml-problem__content ul,
	.ml-problem__content ol {
		font-size: 17px;
		line-height: 1.95;
	}

	.ml-problem__content p + p {
		margin-top: 28px;
	}

	.ml-problem__content p:has(> strong:only-child),
	.ml-problem__content p:has(> b:only-child) {
		font-size: 19px;
	}
}

/* ——— Section 3: Guide (ملامح كدليل) ——— */
.ml-guide {
	background: #ffffff;
	padding: 120px 24px;
	font-family: "IBM Plex Sans Arabic", "IBM Plex Arabic", system-ui, sans-serif;
}

.ml-guide__head {
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.ml-guide__divider {
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 24px;
	background: #c9a14a;
	border-radius: 2px;
}

.ml-guide__title {
	margin: 0 0 24px;
	padding: 0;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.45;
	color: #11254a;
}

.ml-guide__intro {
	margin: 0;
	padding: 0;
	max-width: 700px;
	font-size: 19px;
	font-weight: 400;
	line-height: 2;
	color: #3a4356;
}

.ml-guide__intro + .ml-guide__intro {
	margin-top: 16px;
}

.ml-guide__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1140px;
	margin: 64px auto 0;
	padding: 0;
	align-items: stretch;
}

.ml-guide__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	margin: 0;
	padding: 32px;
	background: #faf8f4;
	border: 1px solid rgba(17, 37, 74, 0.08);
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: none;
	text-align: right;
	position: relative;
	transition: transform 0.25s ease;
}

.ml-guide__card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #c9a14a;
	border-radius: 0;
}

.ml-guide__card:hover {
	transform: translateY(-4px);
}

.ml-guide__icon {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 0 20px;
	line-height: 0;
	align-self: flex-start;
}

.ml-guide__icon svg {
	display: block;
	width: 32px;
	height: 32px;
}

.ml-guide__card-title {
	margin: 0 0 12px;
	width: 100%;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #11254a;
	text-align: right;
}

.ml-guide__card-text {
	margin: 0;
	width: 100%;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
	color: #4a5468;
	text-align: right;
}

@media (max-width: 1024px) {
	.ml-guide__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ml-guide {
		padding: 72px 24px;
	}

	.ml-guide__title {
		font-size: 28px;
	}

	.ml-guide__intro {
		font-size: 17px;
	}

	.ml-guide__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ml-guide__card {
		padding: 24px;
	}

	.ml-guide__card-title {
		font-size: 17px;
	}

	.ml-guide__card-text {
		font-size: 15px;
	}
}

/* WP admin bar offset */
.admin-bar .ml-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ml-header {
		top: 46px;
	}
}

/* ==========================================================================
   Homepage — Section 4: Plan (3 steps)
   ========================================================================== */
.ml-plan{background:#11254A;padding:120px 0;direction:rtl;}
.ml-plan__inner{max-width:1140px;margin-inline:auto;padding-inline:24px;text-align:center;}
.ml-plan__divider{display:block;width:56px;height:3px;background:#C9A14A;border-radius:2px;margin:0 auto 24px;}
.ml-plan__title{font-family:'IBM Plex Arabic',system-ui,sans-serif;font-size:40px;font-weight:700;color:#fff;line-height:1.45;margin:0 0 64px;}
.ml-plan__steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:right;}
.ml-plan__step{position:relative;padding-inline-start:32px;}
.ml-plan__step:not(:last-child)::after{content:'';position:absolute;inset-inline-start:0;top:8px;bottom:8px;width:1px;background:rgba(201,161,74,.2);}
.ml-plan__num{display:block;font-family:'Montserrat',system-ui,sans-serif;font-size:48px;font-weight:700;line-height:1;color:#C9A14A;opacity:.35;margin-bottom:16px;}
.ml-plan__step-title{font-family:'IBM Plex Arabic',system-ui,sans-serif;font-size:20px;font-weight:600;color:#fff;margin:0 0 12px;}
.ml-plan__step-text{font-family:'IBM Plex Arabic',system-ui,sans-serif;font-size:16px;font-weight:400;line-height:1.9;color:rgba(255,255,255,.78);margin:0;}
.ml-plan__cta-wrap{margin-top:56px;}
.ml-plan__cta{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 36px;border-radius:6px;background:#C9A14A;color:#11254A;font-family:'IBM Plex Arabic',system-ui,sans-serif;font-size:16px;font-weight:600;text-decoration:none;box-shadow:0 8px 24px rgba(201,161,74,.25);transition:transform .25s ease,background .25s ease;}
.ml-plan__cta:hover,.ml-plan__cta:focus-visible{transform:translateY(-2px);background:#D8B25C;color:#11254A;}
@media (max-width:1024px){
  .ml-plan__steps{grid-template-columns:1fr;gap:40px;}
  .ml-plan__step{padding-inline-start:0;padding-top:0;}
  .ml-plan__step:not(:last-child)::after{inset-inline-start:auto;top:auto;bottom:-20px;left:0;right:0;width:auto;height:1px;}
}
@media (max-width:768px){
  .ml-plan{padding:72px 0;}
  .ml-plan__title{font-size:28px;margin-bottom:40px;}
  .ml-plan__num{font-size:40px;}
  .ml-plan__step-title{font-size:18px;}
  .ml-plan__step-text{font-size:15px;line-height:1.85;}
  .ml-plan__cta-wrap{margin-top:40px;}
  .ml-plan__cta{width:100%;}
}

/* ==========================================================================
   Floating WhatsApp + minimum tap targets (a11y)
   ========================================================================== */
.ml-wa-float{position:fixed;inset-inline-end:20px;bottom:20px;z-index:900;display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.22);transition:transform .25s ease,box-shadow .25s ease;}
.ml-wa-float:hover,.ml-wa-float:focus-visible{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.28);color:#fff;}
.ml-wa-float:focus-visible{outline:3px solid #C9A14A;outline-offset:3px;}
.ml-wa-float svg{display:block;}
@media (max-width:768px){
  .ml-wa-float{inset-inline-end:16px;bottom:16px;width:52px;height:52px;}
}
@media (prefers-reduced-motion:reduce){
  .ml-wa-float{transition:none;}
  .ml-wa-float:hover,.ml-wa-float:focus-visible{transform:none;}
}

/* Minimum 44x44 tap targets on touch devices */
@media (hover:none) and (pointer:coarse){
  .ml-nav__link,.ml-header__phone,.ml-footer a,.ml-footer__nav a{min-height:44px;display:inline-flex;align-items:center;}
  .ml-btn,.ml-plan__cta{min-height:48px;}
}

/* ==========================================================================
   Homepage — Sections 5-8
   ========================================================================== */
.ml-trust,.ml-services,.ml-notes,.ml-cta{direction:rtl;}
.ml-trust__inner,.ml-services__inner,.ml-notes__inner,.ml-cta__inner{max-width:1140px;margin-inline:auto;padding-inline:24px;text-align:center;}
.ml-trust__divider,.ml-services__divider,.ml-notes__divider,.ml-cta__divider{display:block;width:56px;height:3px;background:#C9A14A;border-radius:2px;margin:0 auto 24px;}
.ml-trust__title,.ml-services__title,.ml-notes__title,.ml-cta__title{font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;font-size:40px;font-weight:700;line-height:1.45;margin:0 0 24px;}

/* --- 5 Trust --- */
.ml-trust{background:#FFFFFF;padding:120px 0;}
.ml-trust__title{color:#11254A;}
.ml-trust__lead{font-size:19px;color:#3A4356;line-height:2;max-width:700px;margin:0 auto 56px;}
.ml-trust__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:64px;}
.ml-trust__stat{padding:28px 16px;background:#FAF8F4;border:1px solid rgba(17,37,74,.08);border-radius:8px;}
.ml-trust__stat-num{display:block;font-family:'Montserrat',system-ui,sans-serif;font-size:44px;font-weight:700;line-height:1;color:#C9A14A;margin-bottom:8px;}
.ml-trust__stat-label{display:block;font-size:15px;color:#4A5468;}
.ml-trust__group{margin-bottom:56px;}
.ml-trust__group-title{font-size:20px;font-weight:600;color:#11254A;margin:0 0 24px;}
.ml-trust__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
.ml-trust__item{margin:0;border-radius:8px;overflow:hidden;border:1px solid rgba(17,37,74,.08);background:#FAF8F4;}
.ml-trust__item img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;}
.ml-trust__group--docs .ml-trust__item img{object-fit:contain;background:#fff;padding:8px;}

/* --- 6 Services --- */
.ml-services{background:#FAF8F4;padding:120px 0;}
.ml-services__title{color:#11254A;margin-bottom:56px;}
.ml-services__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;text-align:right;}
.ml-services__card{position:relative;background:#fff;border:1px solid rgba(17,37,74,.08);border-radius:8px;padding:32px;display:flex;flex-direction:column;transition:transform .25s ease,border-color .25s ease;}
.ml-services__card::before{content:'';position:absolute;inset-inline:0;top:0;height:3px;background:#C9A14A;border-radius:8px 8px 0 0;}
.ml-services__card:hover{transform:translateY(-4px);border-color:rgba(201,161,74,.4);}
.ml-services__card-title{font-size:20px;font-weight:600;color:#11254A;margin:8px 0 12px;}
.ml-services__card-text{font-size:16px;line-height:1.9;color:#4A5468;margin:0 0 20px;flex:1;}
.ml-services__link{align-self:flex-start;font-size:15px;font-weight:600;color:#C9A14A;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease;}
.ml-services__link:hover,.ml-services__link:focus-visible{border-bottom-color:#C9A14A;color:#B08F3E;}

/* --- 7 Notes --- */
.ml-notes{background:#FFFFFF;padding:120px 0;}
.ml-notes__title{color:#11254A;margin-bottom:56px;}
.ml-notes__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:32px;text-align:right;}
.ml-notes__item{display:flex;gap:20px;align-items:flex-start;}
.ml-notes__num{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:#FAF8F4;border:1px solid rgba(201,161,74,.35);color:#C9A14A;font-family:'Montserrat',system-ui,sans-serif;font-size:18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;}
.ml-notes__item-title{font-size:18px;font-weight:600;color:#11254A;margin:8px 0 10px;}
.ml-notes__item-text{font-size:16px;line-height:1.9;color:#4A5468;margin:0;}

/* --- 8 Final CTA --- */
.ml-cta{background:#11254A;padding:120px 0;}
.ml-cta__title{color:#fff;}
.ml-cta__lead{font-size:18px;line-height:1.95;color:rgba(255,255,255,.82);max-width:680px;margin:0 auto 48px;}
.ml-cta__form{max-width:760px;margin-inline:auto;text-align:right;}
.ml-cta__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.ml-cta__row{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.ml-field{display:flex;flex-direction:column;gap:8px;}
.ml-field__label{font-size:15px;font-weight:500;color:rgba(255,255,255,.85);}
.ml-field__input{height:52px;padding:0 16px;border-radius:6px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;font-size:16px;transition:border-color .2s ease,background .2s ease;}
.ml-field__input::placeholder{color:rgba(255,255,255,.45);}
.ml-field__input:focus{outline:none;border-color:#C9A14A;background:rgba(255,255,255,.1);}
.ml-field__input:focus-visible{outline:2px solid #C9A14A;outline-offset:2px;}
select.ml-field__input option{color:#11254A;background:#fff;}
.ml-cta__actions{display:flex;gap:16px;align-items:center;margin-top:32px;}
.ml-cta__submit{height:56px;padding:0 36px;border:0;border-radius:6px;background:#C9A14A;color:#11254A;font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 8px 24px rgba(201,161,74,.25);transition:transform .25s ease,background .25s ease;}
.ml-cta__submit:hover,.ml-cta__submit:focus-visible{transform:translateY(-2px);background:#D8B25C;}
.ml-cta__wa{height:56px;padding:0 28px;display:inline-flex;align-items:center;border-radius:6px;border:1.5px solid rgba(255,255,255,.35);color:#fff;text-decoration:none;font-size:16px;font-weight:600;transition:border-color .2s ease;}
.ml-cta__wa:hover,.ml-cta__wa:focus-visible{border-color:#C9A14A;color:#fff;}
.ml-cta__note{font-size:14px;color:rgba(255,255,255,.6);margin:20px 0 0;}
.ml-cta__success{max-width:620px;margin:24px auto 0;padding:24px;border-radius:8px;background:rgba(201,161,74,.12);border:1px solid rgba(201,161,74,.4);color:#fff;font-size:18px;line-height:1.9;}

@media (max-width:1024px){
  .ml-services__grid,.ml-notes__list{grid-template-columns:1fr;}
  .ml-trust__stats{grid-template-columns:1fr;}
}
@media (max-width:768px){
  .ml-trust,.ml-services,.ml-notes,.ml-cta{padding:72px 0;}
  .ml-trust__title,.ml-services__title,.ml-notes__title,.ml-cta__title{font-size:28px;}
  .ml-trust__lead{font-size:17px;margin-bottom:40px;}
  .ml-trust__stat-num{font-size:36px;}
  .ml-services__card{padding:24px;}
  .ml-services__card-title{font-size:18px;}
  .ml-cta__row{grid-template-columns:1fr;}
  .ml-cta__actions{flex-direction:column;align-items:stretch;}
  .ml-cta__submit,.ml-cta__wa{width:100%;justify-content:center;}
}
@media (prefers-reduced-motion:reduce){
  .ml-services__card,.ml-cta__submit{transition:none;}
  .ml-services__card:hover,.ml-cta__submit:hover{transform:none;}
}

/* Projects page */
.ml-projects-page {
	background: var(--ml-bg);
	color: var(--ml-text);
}

.ml-projects-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
	background: var(--ml-navy);
	color: #fff;
}

.ml-projects-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(197, 156, 64, .18), transparent 34%);
	pointer-events: none;
}

.ml-projects-hero__grid,
.ml-projects-method__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
}

.ml-projects-hero__content {
	max-width: 760px;
}

.ml-projects-kicker {
	margin: 0 0 .75rem;
	color: var(--ml-gold);
	font-size: var(--ml-fs-kicker);
	font-weight: 700;
	letter-spacing: .02em;
}

.ml-projects-hero h1 {
	margin: 0;
	max-width: 780px;
	color: #fff;
	font-size: var(--ml-fs-h1);
	line-height: var(--ml-lh-heading);
}

.ml-projects-hero__lead {
	max-width: 680px;
	margin: 1.25rem 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: var(--ml-fs-lead);
}

.ml-projects-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
}

.ml-projects-hero .ml-btn--ghost {
	border-color: rgba(255, 255, 255, .42);
	color: #fff;
}

.ml-projects-proof {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, .72);
	font-size: var(--ml-fs-small);
}

.ml-projects-proof li::before {
	content: "✓";
	margin-inline-end: .4rem;
	color: var(--ml-gold);
}

.ml-projects-hero__visual {
	position: relative;
	min-height: 360px;
	display: grid;
	place-items: center;
}

.ml-projects-hero__shape {
	width: min(350px, 78vw);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(255, 255, 255, .035), 0 0 0 96px rgba(255, 255, 255, .025);
}

.ml-projects-hero__label {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	width: 150px;
	height: 150px;
	display: grid;
	place-items: center;
	padding: 1rem;
	border-radius: 50%;
	background: var(--ml-gold);
	color: var(--ml-navy);
	font-weight: 700;
	text-align: center;
}

.ml-projects-catalog,
.ml-projects-method,
.ml-projects-final {
	padding: var(--ml-section-space) 0;
}

.ml-projects-filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 1rem;
	margin-top: calc(var(--ml-section-space) * -.5);
	padding: 1.25rem;
	border: 1px solid var(--ml-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(17, 37, 74, .08);
}

.ml-projects-filter {
	display: grid;
	gap: .45rem;
}

.ml-projects-filter label {
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-projects-filter select {
	width: 100%;
	min-height: 48px;
	padding: .65rem .85rem;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: #fff;
	color: var(--ml-text);
	font: inherit;
}

.ml-projects-reset {
	min-height: 48px;
	padding: .65rem 1rem;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: transparent;
	color: var(--ml-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ml-projects-results-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: clamp(2.5rem, 5vw, 4.5rem) 0 1.5rem;
}

.ml-projects-results-head h2,
.ml-projects-method h2,
.ml-projects-final h2 {
	margin: 0;
}

.ml-projects-count {
	margin: 0;
	padding: .4rem .75rem;
	border-radius: 999px;
	background: rgba(197, 156, 64, .14);
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.ml-project-card {
	overflow: hidden;
	border: 1px solid var(--ml-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(17, 37, 74, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ml-project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(17, 37, 74, .1);
}

.ml-project-card[hidden] {
	display: none;
}

.ml-project-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ml-whitegrey);
}

.ml-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ml-project-card:hover .ml-project-card__media img {
	transform: scale(1.035);
}

.ml-project-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(17, 37, 74, .04), rgba(197, 156, 64, .16)), var(--ml-whitegrey);
}

.ml-project-card__badge {
	position: absolute;
	top: .9rem;
	right: .9rem;
	padding: .35rem .7rem;
	border-radius: 999px;
	background: var(--ml-navy);
	color: #fff;
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-project-card__badge--status {
	right: auto;
	left: .9rem;
	background: var(--ml-gold);
	color: var(--ml-navy);
}

.ml-project-card:nth-child(3n + 2) .ml-project-card__placeholder {
	background: linear-gradient(135deg, rgba(197, 156, 64, .08), rgba(17, 37, 74, .14)), var(--ml-whitegrey);
}

.ml-project-card:nth-child(3n + 3) .ml-project-card__placeholder {
	background: linear-gradient(155deg, rgba(17, 37, 74, .12), rgba(197, 156, 64, .09)), var(--ml-whitegrey);
}

.ml-project-card__body {
	padding: 1.25rem;
}

.ml-project-card__location {
	margin: 0 0 .35rem;
	color: var(--ml-gold);
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-project-card h3 {
	margin: 0;
	font-size: var(--ml-fs-h3);
}

.ml-project-card h3 a {
	color: inherit;
	text-decoration: none;
}

.ml-project-card__developer {
	display: inline-block;
	margin-top: .4rem;
	color: var(--ml-gold);
	font-size: var(--ml-fs-small);
	font-weight: 700;
	text-decoration: none;
}

.ml-project-card__summary {
	margin: .75rem 0 0;
	color: var(--ml-muted);
}

.ml-project-card__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin: 1.25rem 0;
}

.ml-project-card__facts div {
	padding-top: .65rem;
	border-top: 1px solid var(--ml-border);
}

.ml-project-card__facts dt {
	color: var(--ml-muted);
	font-size: var(--ml-fs-small);
}

.ml-project-card__facts dd {
	margin: .15rem 0 0;
	font-weight: 700;
}

.ml-project-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex-wrap: wrap;
}

.ml-project-compare {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	cursor: pointer;
	font-size: var(--ml-fs-small);
}

.ml-project-compare input {
	width: 20px;
	height: 20px;
	accent-color: var(--ml-gold);
}

.ml-projects-no-results,
.ml-projects-empty {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--ml-border);
	border-radius: 20px;
	background: #fff;
	text-align: center;
	box-shadow: 0 18px 50px rgba(17, 37, 74, .06);
}

.ml-projects-empty__icon {
	width: 74px;
	height: 74px;
	margin: 0 auto 1.25rem;
	border: 2px solid var(--ml-gold);
	border-radius: 20px;
	background: linear-gradient(90deg, transparent 46%, var(--ml-gold) 47%, var(--ml-gold) 53%, transparent 54%), linear-gradient(transparent 46%, var(--ml-gold) 47%, var(--ml-gold) 53%, transparent 54%);
	transform: rotate(45deg);
	opacity: .75;
}

.ml-projects-empty .ml-projects-actions {
	justify-content: center;
}

.ml-projects-compare-bar {
	position: sticky;
	z-index: 20;
	bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	padding: .85rem 1rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 14px;
	background: var(--ml-navy);
	color: #fff;
	box-shadow: 0 16px 40px rgba(17, 37, 74, .2);
}

.ml-projects-compare-bar[hidden] {
	display: none;
}

.ml-projects-compare-bar p {
	margin: 0;
}

.ml-projects-method {
	background: #fff;
}

.ml-projects-method__list {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: method;
}

.ml-projects-method__list li {
	position: relative;
	display: grid;
	gap: .2rem;
	padding: 1rem 3.25rem 1rem 1rem;
	border: 1px solid var(--ml-border);
	border-radius: 14px;
	counter-increment: method;
}

.ml-projects-method__list li::before {
	content: counter(method);
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(197, 156, 64, .16);
	font-weight: 700;
}

.ml-projects-method__list span {
	color: var(--ml-muted);
	font-size: var(--ml-fs-small);
}

.ml-projects-final {
	background: var(--ml-navy);
	color: #fff;
	text-align: center;
}

.ml-projects-final h2 {
	color: #fff;
}

.ml-projects-final p:not(.ml-projects-kicker) {
	max-width: 640px;
	margin: 1rem auto 1.5rem;
	color: rgba(255, 255, 255, .76);
}

@media (max-width: 980px) {
	.ml-projects-hero__grid,
	.ml-projects-method__grid {
		grid-template-columns: 1fr;
	}

	.ml-projects-hero__visual {
		display: none;
	}

	.ml-projects-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 0;
	}

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

@media (max-width: 640px) {
	.ml-projects-hero {
		padding-top: 5.5rem;
	}

	.ml-projects-actions .ml-btn {
		width: 100%;
	}

	.ml-projects-filters,
	.ml-projects-grid {
		grid-template-columns: 1fr;
	}

	.ml-projects-results-head,
	.ml-project-card__actions,
	.ml-projects-compare-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.ml-projects-compare-bar .ml-btn {
		width: 100%;
	}
}

/* Developer directory and profile */
.ml-developers-page,
.ml-developer-single {
	background: var(--ml-bg);
}

.ml-developers-hero,
.ml-developer-profile {
	padding: clamp(5rem, 9vw, 8rem) 0;
	background: var(--ml-navy);
	color: #fff;
}

.ml-developers-hero h1,
.ml-developer-profile h1 {
	max-width: 850px;
	margin: 0;
	color: #fff;
	font-size: var(--ml-fs-h1);
}

.ml-developers-hero > .ml-wrap > p:last-child,
.ml-developer-profile__lead {
	max-width: 720px;
	margin: 1rem 0 0;
	color: rgba(255,255,255,.76);
	font-size: var(--ml-fs-lead);
}

.ml-developers-directory,
.ml-developer-about,
.ml-developer-projects,
.ml-developer-faq {
	padding: var(--ml-section-space) 0;
}

.ml-developers-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.ml-developers-heading h2 {
	margin: 0;
}

.ml-developers-search {
	display: grid;
	gap: .4rem;
	width: min(380px, 100%);
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-developers-search input {
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: #fff;
	font: inherit;
}

.ml-developers-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.ml-developer-card {
	overflow: hidden;
	border: 1px solid var(--ml-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(17,37,74,.06);
}

.ml-developer-card[hidden] {
	display: none;
}

.ml-developer-card__logo,
.ml-developer-profile__logo {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(17,37,74,.05), rgba(197,156,64,.15));
}

.ml-developer-card__logo {
	height: 180px;
	text-decoration: none;
}

.ml-developer-card__logo img {
	max-width: 65%;
	max-height: 100px;
	object-fit: contain;
}

.ml-developer-card__logo span,
.ml-developer-profile__logo > span {
	color: var(--ml-gold);
	font-size: clamp(3rem, 7vw, 6rem);
	font-weight: 700;
}

.ml-developer-card__body {
	padding: 1.25rem;
}

.ml-developer-review {
	display: inline-flex;
	padding: .35rem .65rem;
	border-radius: 999px;
	background: rgba(197,156,64,.15);
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-developer-card h2 {
	margin: .75rem 0 .35rem;
	font-size: var(--ml-fs-h3);
}

.ml-developer-card h2 a {
	color: inherit;
	text-decoration: none;
}

.ml-developer-card__footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ml-border);
	font-size: var(--ml-fs-small);
}

.ml-developers-no-results {
	padding: 2rem;
	text-align: center;
}

.ml-developer-profile__grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.ml-developer-profile__logo {
	aspect-ratio: 1;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 24px;
	background-color: #fff;
}

.ml-developer-profile__logo img {
	max-width: 72%;
	max-height: 150px;
	object-fit: contain;
}

.ml-developer-review-card {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin: 1.5rem 0;
	color: rgba(255,255,255,.72);
}

.ml-developer-review-card strong {
	color: var(--ml-gold);
}

.ml-developer-facts {
	transform: translateY(-1.5rem);
}

.ml-developer-facts__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--ml-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(17,37,74,.08);
}

.ml-developer-facts__grid div {
	display: grid;
	gap: .35rem;
	padding: 1.25rem;
	border-inline-start: 1px solid var(--ml-border);
}

.ml-developer-facts__grid span {
	color: var(--ml-muted);
	font-size: var(--ml-fs-small);
}

.ml-developer-about__grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 2rem;
}

.ml-developer-assessment {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: 20px;
	background: var(--ml-navy);
	color: #fff;
}

.ml-developer-assessment h2,
.ml-developer-assessment h3 {
	color: #fff;
}

.ml-developer-assessment__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ml-developer-assessment__columns > div {
	padding: 1rem;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 14px;
}

.ml-developer-assessment li {
	margin-bottom: .5rem;
	color: rgba(255,255,255,.78);
}

.ml-developer-assessment small {
	display: block;
	margin-top: 1rem;
	color: rgba(255,255,255,.55);
}

.ml-developer-commitment {
	padding: 1rem;
	border-right: 3px solid var(--ml-gold);
	background: rgba(255,255,255,.07);
}

.ml-developer-projects {
	background: #fff;
}

.ml-developer-faq__list {
	display: grid;
	gap: .75rem;
	max-width: 900px;
}

.ml-developer-faq details {
	padding: 1rem 1.25rem;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	background: #fff;
}

.ml-developer-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.ml-listing__developer {
	display: block;
	margin-top: .4rem;
	color: var(--ml-gold);
	font-size: var(--ml-fs-small);
}

.ml-property__developer {
	display: grid;
	gap: .15rem;
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.ml-property__developer span,
.ml-property__developer small {
	color: var(--ml-muted);
}

@media (max-width: 980px) {
	.ml-developers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.ml-developer-about__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.ml-developers-heading,
	.ml-developer-profile__grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ml-developers-grid,
	.ml-developer-assessment__columns {
		grid-template-columns: 1fr;
	}

	.ml-developer-profile__logo {
		width: 180px;
	}
}

/* Decision-focused project detail */
.ml-project-detail {
	background: var(--ml-bg);
	color: var(--ml-text);
}

.ml-project-hero {
	padding: 2rem 0 4.5rem;
	background: var(--ml-navy);
	color: #fff;
}

.ml-project-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 2rem;
	color: rgba(255,255,255,.55);
	font-size: var(--ml-fs-small);
}

.ml-project-breadcrumb a {
	color: rgba(255,255,255,.8);
	text-decoration: none;
}

.ml-project-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.ml-project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.ml-project-tags span {
	padding: .35rem .7rem;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 999px;
	background: rgba(255,255,255,.07);
	font-size: var(--ml-fs-small);
}

.ml-project-location {
	margin: 1.5rem 0 .4rem;
	color: var(--ml-gold);
	font-weight: 700;
}

.ml-project-hero h1 {
	margin: 0;
	color: #fff;
	font-size: var(--ml-fs-h1);
	line-height: 1.2;
}

.ml-project-hero__lead {
	max-width: 700px;
	margin: 1rem 0;
	color: rgba(255,255,255,.76);
	font-size: var(--ml-fs-lead);
}

.ml-project-developer-chip {
	display: inline-grid;
	gap: .12rem;
	margin: .5rem 0;
	padding: .75rem 1rem;
	border-right: 3px solid var(--ml-gold);
	background: rgba(255,255,255,.06);
	color: #fff;
	text-decoration: none;
}

.ml-project-developer-chip span,
.ml-project-developer-chip small {
	color: rgba(255,255,255,.6);
}

.ml-project-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.5rem;
}

.ml-project-hero .ml-btn--ghost {
	border-color: rgba(255,255,255,.35);
	color: #fff;
}

.ml-project-updated {
	margin: 1rem 0 0;
	color: rgba(255,255,255,.5);
	font-size: var(--ml-fs-small);
}

.ml-project-hero__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 24px;
	background: rgba(255,255,255,.05);
	box-shadow: 0 30px 80px rgba(0,0,0,.22);
}

.ml-project-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ml-project-media-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	align-content: center;
	gap: .5rem;
	background: radial-gradient(circle at 30% 30%, rgba(197,156,64,.25), transparent 35%), linear-gradient(145deg, rgba(255,255,255,.08), transparent);
}

.ml-project-media-placeholder span {
	color: var(--ml-gold);
	font-size: 7rem;
	font-weight: 700;
}

.ml-project-media-placeholder small {
	color: rgba(255,255,255,.55);
}

.ml-project-facts {
	position: relative;
	z-index: 2;
	margin-top: -2rem;
}

.ml-project-facts__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--ml-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(17,37,74,.1);
}

.ml-project-facts__grid div {
	display: grid;
	gap: .35rem;
	padding: 1.2rem;
	border-inline-start: 1px solid var(--ml-border);
}

.ml-project-facts__grid span {
	color: var(--ml-muted);
	font-size: var(--ml-fs-small);
}

.ml-project-facts__grid strong {
	line-height: 1.4;
}

.ml-project-nav {
	position: sticky;
	z-index: 15;
	top: var(--ml-header-height, 0);
	margin-top: 1.5rem;
	border-block: 1px solid var(--ml-border);
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(12px);
}

.ml-project-nav .ml-wrap {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
}

.ml-project-nav a {
	flex: 0 0 auto;
	padding: 1rem 0;
	color: var(--ml-text);
	font-size: var(--ml-fs-small);
	font-weight: 700;
	text-decoration: none;
}

.ml-project-section {
	scroll-margin-top: 110px;
	padding: var(--ml-section-space) 0;
}

.ml-project-section--white {
	background: #fff;
}

.ml-project-section__head {
	max-width: 780px;
	margin-bottom: 2rem;
}

.ml-project-section__head > p,
.ml-payment-plans > div:first-child > p {
	margin: 0 0 .5rem;
	color: var(--ml-gold);
	font-weight: 700;
}

.ml-project-section__head h2,
.ml-payment-plans h2 {
	margin: 0;
}

.ml-project-fit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.ml-project-fit {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--ml-border);
	border-radius: 20px;
	background: #fff;
}

.ml-project-fit--yes {
	border-top: 4px solid #3b8c67;
}

.ml-project-fit--no {
	border-top: 4px solid var(--ml-gold);
}

.ml-project-fit h3 {
	margin-top: 0;
}

.ml-project-fit ul,
.ml-project-review-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-project-fit li,
.ml-project-review-grid li {
	position: relative;
	margin-top: .75rem;
	padding-right: 1.5rem;
}

.ml-project-fit li::before,
.ml-project-review-grid li::before {
	content: "✓";
	position: absolute;
	right: 0;
	color: var(--ml-gold);
	font-weight: 700;
}

.ml-project-description {
	max-width: 900px;
	margin-top: 2.5rem;
}

.ml-project-units-wrap {
	overflow-x: auto;
	border: 1px solid var(--ml-border);
	border-radius: 16px;
}

.ml-project-units {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	background: #fff;
}

.ml-project-units th,
.ml-project-units td {
	padding: 1rem;
	border-bottom: 1px solid var(--ml-border);
	text-align: right;
}

.ml-project-units th {
	background: var(--ml-navy);
	color: #fff;
	font-size: var(--ml-fs-small);
}

.ml-project-units td:first-child {
	font-weight: 700;
}

.ml-project-note {
	margin: 1rem 0 0;
	padding: 1rem;
	border-right: 3px solid var(--ml-gold);
	background: rgba(197,156,64,.09);
	color: var(--ml-muted);
	font-size: var(--ml-fs-small);
}

.ml-payment-plans {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: start;
	margin-top: 3rem;
}

.ml-payment-plan {
	margin: 0 0 .75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	background: var(--ml-bg);
	font-weight: 700;
}

.ml-project-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ml-project-gallery figure {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin: 0;
	border-radius: 16px;
	background: var(--ml-whitegrey);
}

.ml-project-gallery__featured {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 7 !important;
}

.ml-project-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ml-project-gallery__empty {
	grid-column: 1 / -1;
	display: grid;
	min-height: 280px;
	place-items: center;
	align-content: center;
	gap: .5rem;
	border: 1px dashed var(--ml-border);
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(17,37,74,.04), rgba(197,156,64,.1));
	text-align: center;
}

.ml-project-gallery__empty span {
	color: var(--ml-muted);
}

.ml-project-section--navy {
	background: var(--ml-navy);
	color: #fff;
}

.ml-project-section--navy h2 {
	color: #fff;
}

.ml-project-location-grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 3rem;
	align-items: center;
}

.ml-project-nearby {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

.ml-project-nearby div {
	display: grid;
	gap: .3rem;
	padding: 1rem;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 12px;
	background: rgba(255,255,255,.06);
}

.ml-project-nearby span {
	color: rgba(255,255,255,.6);
	font-size: var(--ml-fs-small);
}

.ml-project-review-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
}

.ml-project-review-head h2 {
	margin: 0;
}

.ml-project-review-status {
	padding: .5rem .8rem;
	border-radius: 999px;
	background: rgba(197,156,64,.15);
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-project-review-lead {
	max-width: 880px;
	margin: 1.25rem 0 2rem;
	color: var(--ml-muted);
	font-size: var(--ml-fs-lead);
}

.ml-project-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ml-project-review-grid article {
	padding: 1.5rem;
	border: 1px solid var(--ml-border);
	border-radius: 16px;
	background: #fff;
}

.ml-project-review-grid h3 {
	margin-top: 0;
}

.ml-project-review-disclaimer {
	background: var(--ml-navy) !important;
	color: rgba(255,255,255,.72);
}

.ml-project-review-disclaimer h3 {
	color: #fff;
}

.ml-project-developer-section {
	padding: clamp(3rem, 7vw, 5rem) 0;
	background: #fff;
}

.ml-project-developer-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: center;
}

.ml-project-developer-section h2 {
	margin: 0;
}

.ml-project-developer-section__grid > div:last-child {
	display: grid;
	min-width: 260px;
	gap: .4rem;
	padding: 1.5rem;
	border: 1px solid var(--ml-border);
	border-radius: 16px;
	text-align: center;
}

.ml-project-developer-section__grid > div:last-child > strong {
	color: var(--ml-gold);
	font-size: 2.5rem;
}

.ml-project-faq-list {
	display: grid;
	gap: .75rem;
	max-width: 900px;
}

.ml-project-faq-list details {
	padding: 1rem 1.25rem;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	background: var(--ml-bg);
}

.ml-project-faq-list summary {
	cursor: pointer;
	font-weight: 700;
}

.ml-project-faq-list p {
	margin-bottom: 0;
	color: var(--ml-muted);
}

.ml-project-contact {
	padding: var(--ml-section-space) 0;
	background: var(--ml-navy);
	color: #fff;
}

.ml-project-contact h2 {
	margin: 0;
	color: #fff;
}

.ml-project-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 3rem;
}

.ml-project-lead-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding: 1.5rem;
	border-radius: 18px;
	background: #fff;
	color: var(--ml-text);
}

.ml-project-lead-form label {
	display: grid;
	gap: .4rem;
	font-size: var(--ml-fs-small);
	font-weight: 700;
}

.ml-project-lead-form input,
.ml-project-lead-form select {
	width: 100%;
	min-height: 46px;
	padding: .65rem .8rem;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: #fff;
	font: inherit;
}

.ml-project-lead-form button {
	align-self: end;
}

.ml-project-mobile-cta {
	display: none;
}

@media (max-width: 1080px) {
	.ml-project-facts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 820px) {
	.ml-project-hero__grid,
	.ml-project-location-grid,
	.ml-project-contact__grid,
	.ml-payment-plans {
		grid-template-columns: 1fr;
	}

	.ml-project-hero__media {
		order: -1;
		aspect-ratio: 16 / 10;
	}

	.ml-project-fit-grid,
	.ml-project-review-grid,
	.ml-project-developer-section__grid {
		grid-template-columns: 1fr;
	}

	.ml-project-nav {
		top: 0;
	}
}

@media (max-width: 600px) {
	.ml-project-hero {
		padding-top: 1rem;
	}

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

	.ml-project-gallery,
	.ml-project-nearby,
	.ml-project-lead-form {
		grid-template-columns: 1fr;
	}

	.ml-project-gallery__featured {
		aspect-ratio: 16 / 10 !important;
	}

	.ml-project-mobile-cta {
		position: fixed;
		z-index: 50;
		right: .75rem;
		bottom: .75rem;
		left: .75rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: .75rem;
		padding: .7rem;
		border: 1px solid var(--ml-border);
		border-radius: 14px;
		background: rgba(255,255,255,.97);
		box-shadow: 0 15px 40px rgba(17,37,74,.2);
	}

	body {
		padding-bottom: 78px;
	}
}
