/* ==========================================================
   Milestone Properties — main stylesheet
   Palette: deep ink + champagne gold + warm sand
   Uses logical properties so RTL (Arabic) and LTR (English) both work.
   ========================================================== */
:root {
	--ink: #0f1b24;
	--ink-2: #172630;
	--ink-3: #22333e;
	--gold: #a8824f;
	--gold-l: #c9a978;
	--gold-d: #8a6a3e;
	--sand: #f4efe7;
	--ivory: #fbf9f5;
	--line: #e6dfd4;
	--line-d: rgba(255,255,255,.12);
	--text: #1b2329;
	--muted: #6b7378;
	--ok: #1f7a4d;
	--warn: #b07a12;
	--bad: #8a2b2b;
	--wa: #1faa53;
	--r: 14px;
	--r-lg: 22px;
	--sh: 0 10px 30px -12px rgba(15,27,36,.18);
	--sh-lg: 0 30px 60px -25px rgba(15,27,36,.35);
	--f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--f-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--f-accent: "Cormorant Garamond", Georgia, serif;
	--ease: cubic-bezier(.22,.8,.24,1);
	--hdr: 84px;
}
.lang-en {
	--f-head: "Cormorant Garamond", Georgia, serif;
	--f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--text);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; margin: 0 0 .5em; font-weight: 600; color: inherit; }
.lang-en h1, .lang-en h2 { font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
p { margin: 0 0 1em; }
.ms-ic { flex-shrink: 0; }
.ms-skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 6px; }
.ms-skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ms-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.ms-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.ms-narrow { max-width: 820px; }
.ms-center { text-align: center; margin-top: 44px; }

/* ---------- Typography helpers ---------- */
.ms-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em;
	color: var(--gold); margin-bottom: 14px; text-transform: uppercase;
}
.ms-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.ms-eyebrow--light { color: var(--gold-l); }
.lang-en .ms-eyebrow { letter-spacing: .18em; font-size: 12px; }
.ms-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.9; }
.ms-h3 { font-size: 1.35rem; margin: 2em 0 .8em; }

.ms-head { max-width: 760px; margin-bottom: 48px; }
.ms-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lang-en .ms-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.ms-head p { color: var(--muted); font-size: 1.05rem; }
.ms-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ms-head--row h2 { margin-bottom: 0; }

.ms-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); }
.ms-link .ms-ic { transition: transform .3s var(--ease); }
.ms-link:hover .ms-ic, a:hover > .ms-link .ms-ic { transform: translateX(-4px); }
.lang-en .ms-link:hover .ms-ic, .lang-en a:hover > .ms-link .ms-ic { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.ms-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.ms-btn:hover { transform: translateY(-2px); }
.ms-btn--sm { padding: 10px 20px; font-size: 14px; }
.ms-btn--lg { padding: 17px 30px; font-size: 16px; }
.ms-btn--block { width: 100%; }
.ms-btn--gold { background: var(--gold); color: #fff; box-shadow: 0 12px 24px -12px rgba(168,130,79,.7); }
.ms-btn--gold:hover { background: var(--gold-d); }
.ms-btn--dark { background: var(--ink); color: #fff; }
.ms-btn--dark:hover { background: var(--ink-3); }
.ms-btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.ms-btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.ms-btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.ms-btn--ghost-light:hover { background: #fff; color: var(--ink); }
.ms-btn--wa { background: var(--wa); color: #fff; }
.ms-btn--wa:hover { background: #17924a; }

/* ---------- Header ---------- */
.ms-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 100;
	height: var(--hdr); display: flex; align-items: center;
	transition: background .4s, box-shadow .4s, height .4s;
	background: rgba(251,249,245,.94); backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line);
}
.admin-bar .ms-header { top: 32px; }
.ms-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
body.has-hero .ms-header:not(.is-scrolled) { background: transparent; box-shadow: none; backdrop-filter: none; color: #fff; }
.ms-header.is-scrolled { height: 70px; }
.ms-main { padding-top: var(--hdr); }
body.has-hero .ms-main { padding-top: 0; }

.ms-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
body.has-hero .ms-header:not(.is-scrolled) .ms-logo { color: #fff; }
.ms-logo__img { height: 44px; width: auto; max-width: 210px; object-fit: contain; }
.ms-logo--footer .ms-logo__img { height: 52px; }
.ms-logo__img--light { display: none; }
body.has-hero .ms-header:not(.is-scrolled) .ms-logo__img--light { display: block; }
body.has-hero .ms-header:not(.is-scrolled) .ms-logo__img--light ~ .ms-logo__img--dark,
body.has-hero .ms-header:not(.is-scrolled) .ms-logo__img--dark:has(+ .ms-logo__img--light) { display: none; }
.ms-logo__mark { color: var(--gold); display: inline-flex; }
.ms-brand { display: block; height: 52px; width: auto; }
.ms-header.is-scrolled .ms-brand { height: 44px; }
.ms-brand--stacked { height: 150px; }
.ms-brand-wrap--light { display: none; }
.ms-brand-wrap--dark { display: block; }
body.has-hero .ms-header:not(.is-scrolled) .ms-brand-wrap--light,
body.has-dark-top .ms-header:not(.is-scrolled) .ms-brand-wrap--light { display: block; }
body.has-hero .ms-header:not(.is-scrolled) .ms-brand-wrap--dark,
body.has-dark-top .ms-header:not(.is-scrolled) .ms-brand-wrap--dark { display: none; }
.ms-logo--drawer .ms-brand { height: 40px; }
.ms-logo--footer .ms-brand--stacked { height: 140px; }
@media (max-width: 680px) { .ms-brand { height: 38px; } .ms-header.is-scrolled .ms-brand { height: 34px; } }
body.has-hero .ms-header:not(.is-scrolled) .ms-logo__mark { color: var(--gold-l); }
.ms-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.ms-logo__text b { font-family: var(--f-accent); font-size: 22px; letter-spacing: .22em; font-weight: 600; }
.ms-logo__text small { font-size: 11px; opacity: .75; letter-spacing: .05em; }

.ms-nav { display: flex; gap: 4px; }
.ms-nav a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; opacity: .85; }
.ms-nav a::after { content: ""; position: absolute; bottom: 2px; inset-inline: 14px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.ms-nav a:hover, .ms-nav a.is-active { opacity: 1; }
.ms-nav a:hover::after, .ms-nav a.is-active::after { transform: scaleX(1); }
.ms-header__act { display: flex; align-items: center; gap: 10px; }
.ms-lang { font-weight: 600; font-size: 14px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; opacity: .8; min-width: 46px; text-align: center; }
.ms-lang:hover { opacity: 1; color: var(--gold); }
.ms-burger { display: none; background: none; border: 0; color: inherit; padding: 6px; }

/* ---------- Drawer ---------- */
.ms-drawer {
	position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff;
	display: flex; flex-direction: column; padding: 22px 24px 28px;
	opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.ms-drawer.is-open { opacity: 1; visibility: visible; }
.ms-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.ms-logo--drawer { color: #fff; }
.ms-drawer__close { background: none; border: 0; color: #fff; padding: 6px; }
.ms-drawer__nav { display: flex; flex-direction: column; margin: auto 0; }
.ms-drawer__nav a {
	display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d);
	font-family: var(--f-head); font-size: 26px;
	opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
	transition-delay: calc(var(--i) * 50ms + .1s);
}
.ms-drawer__nav a span { font-family: var(--f-accent); font-size: 15px; color: var(--gold-l); }
.ms-drawer__nav a:hover { color: var(--gold-l); }
.ms-drawer.is-open .ms-drawer__nav a { opacity: 1; transform: none; }
.ms-drawer__foot { display: grid; gap: 10px; }
.ms-drawer__phone { text-align: center; opacity: .7; margin-top: 6px; }
body.ms-lock { overflow: hidden; }

/* ---------- Hero ---------- */
.ms-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; color: #fff; background: var(--ink); overflow: hidden; }
.ms-hero__slides, .ms-slide, .ms-slide__bg { position: absolute; inset: 0; }
.ms-slide { opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; display: flex; align-items: center; }
.ms-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ms-slide__bg { background: radial-gradient(120% 90% at 80% 20%, #2a3d49 0%, var(--ink) 60%); }
.ms-slide__bg img, .ms-slide__bg video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.ms-slide.is-active .ms-slide__bg img, .ms-slide.is-active .ms-slide__bg video { transform: scale(1); }
.ms-slide__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15,27,36,.55) 0%, rgba(15,27,36,.15) 35%, rgba(15,27,36,.75) 100%),
		linear-gradient(90deg, rgba(15,27,36,.0) 0%, rgba(15,27,36,.45) 100%);
}
.lang-en .ms-slide__bg::after {
	background: linear-gradient(180deg, rgba(15,27,36,.55) 0%, rgba(15,27,36,.15) 35%, rgba(15,27,36,.75) 100%),
		linear-gradient(270deg, rgba(15,27,36,.0) 0%, rgba(15,27,36,.45) 100%);
}
.ms-slide__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 120px; }
.ms-slide__content > * { max-width: 760px; opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ms-slide.is-active .ms-slide__content > * { opacity: 1; transform: none; }
.ms-slide.is-active .ms-slide__content > :nth-child(2) { transition-delay: .15s; }
.ms-slide.is-active .ms-slide__content > :nth-child(3) { transition-delay: .3s; }
.ms-slide.is-active .ms-slide__content > :nth-child(4) { transition-delay: .45s; }
.ms-hero__title { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.2; margin-bottom: 18px; font-weight: 700; }
.lang-en .ms-hero__title { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1.02; font-weight: 500; }
.ms-hero__text { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .88; max-width: 600px; line-height: 1.9; }
.ms-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ms-hero__nav { position: absolute; bottom: 34px; inset-inline: 0; z-index: 5; }
.ms-hero__dots { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
.ms-hero__dots button {
	width: 100%; background: none; border: 0; color: #fff; text-align: start; padding: 14px 0 0;
	display: flex; gap: 10px; align-items: baseline; position: relative; opacity: .55; transition: opacity .3s;
}
.ms-hero__dots button:hover, .ms-hero__dots button.is-active { opacity: 1; }
.ms-hero__dots button span { font-family: var(--f-accent); font-size: 15px; color: var(--gold-l); }
.ms-hero__dots button em { font-style: normal; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-hero__dots button i { position: absolute; top: 0; inset-inline: 0; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.ms-hero__dots button i::after { content: ""; position: absolute; inset: 0; background: var(--gold-l); transform: scaleX(0); transform-origin: right; }
.lang-en .ms-hero__dots button i::after { transform-origin: left; }
.ms-hero__dots button.is-active i::after { animation: msProgress var(--dur, 7s) linear forwards; }
@keyframes msProgress { to { transform: scaleX(1); } }
.ms-hero__scroll { position: absolute; bottom: 120px; inset-inline-end: 34px; z-index: 5; width: 1px; height: 70px; background: rgba(255,255,255,.25); overflow: hidden; }
.ms-hero__scroll span { position: absolute; top: -30px; inset-inline: 0; height: 30px; background: var(--gold-l); animation: msScroll 2.2s var(--ease) infinite; }
@keyframes msScroll { to { top: 100%; } }

/* ---------- Search band ---------- */
.ms-search-band { position: relative; z-index: 6; margin-top: -46px; }
.ms-filter { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 20px; display: grid; gap: 16px; }
.ms-filter--compact { grid-template-columns: auto 1fr; align-items: end; }
.ms-filter__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end; }
.ms-filter--compact .ms-filter__fields { grid-template-columns: 1fr 1fr auto; }
.ms-filter__go { height: 50px; }
.ms-filter__reset { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--bad); justify-self: start; }

.ms-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ms-field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ms-field input, .ms-field select, .ms-field textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--text);
	background: var(--ivory); border: 1px solid var(--line); border-radius: 12px;
	padding: 12px 14px; min-height: 50px; transition: border-color .25s, box-shadow .25s, background .25s;
	appearance: none; -webkit-appearance: none;
}
.ms-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8824f' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 34px;
}
.lang-en .ms-field select { background-position: right 14px center; }
.ms-field textarea { min-height: 120px; resize: vertical; }
.ms-field input:focus, .ms-field select:focus, .ms-field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(168,130,79,.12); }

.ms-seg { display: inline-flex; background: var(--sand); padding: 5px; border-radius: 999px; gap: 4px; align-self: end; }
.ms-seg label { position: relative; }
.ms-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ms-seg span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; color: var(--muted); }
.ms-seg input:checked + span { background: var(--ink); color: #fff; }
.ms-seg input:focus-visible + span { outline: 2px solid var(--gold); }
.ms-seg--form { margin-bottom: 18px; }

.ms-filter-toggle { display: none; margin-bottom: 16px; }

/* ---------- Sections ---------- */
.ms-section { padding: 110px 0; }
.ms-section--tight { padding: 60px 0; }
.ms-section--sand { background: var(--sand); }
.ms-section--dark { background: var(--ink); color: #fff; }
.ms-section--dark .ms-head p { color: rgba(255,255,255,.65); }

/* Pillars */
.ms-pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ms-pillar {
	position: relative; display: flex; flex-direction: column; padding: 46px 42px 40px;
	border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
	overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s;
}
.ms-pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ms-pillar__num { position: absolute; top: 18px; inset-inline-end: 28px; font-family: var(--f-accent); font-size: 90px; line-height: 1; color: var(--sand); font-weight: 600; }
.ms-pillar__ic { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--gold); margin-bottom: 26px; position: relative; }
.ms-pillar h3 { font-size: 1.7rem; position: relative; }
.lang-en .ms-pillar h3 { font-size: 2.2rem; }
.ms-pillar p { color: var(--muted); }
.ms-pillar ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ms-pillar li { position: relative; padding-inline-start: 18px; font-size: 15px; }
.ms-pillar li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.ms-pillar .ms-link { margin-top: auto; }
.ms-pillar--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.ms-pillar--dark p { color: rgba(255,255,255,.65); }
.ms-pillar--dark .ms-pillar__num { color: rgba(255,255,255,.05); }
.ms-pillar--dark .ms-pillar__ic { background: rgba(201,169,120,.12); color: var(--gold-l); }
.ms-pillar--dark .ms-link { color: var(--gold-l); }

/* Stats */
.ms-stats { background: var(--ink); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.ms-stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(201,169,120,.14), transparent 70%); }
.ms-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.ms-stat { text-align: center; padding: 10px 20px; border-inline-start: 1px solid var(--line-d); }
.ms-stat:first-child { border-inline-start: 0; }
.ms-stat strong { display: block; font-family: var(--f-accent); font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 500; line-height: 1; color: var(--gold-l); margin-bottom: 10px; }
.ms-stat > span { opacity: .75; font-size: 15px; }

/* Sectors */
.ms-sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ms-sector { background: var(--ivory); padding: 40px 30px; display: flex; flex-direction: column; transition: background .4s, color .4s; position: relative; }
.ms-sector__ic { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); margin-bottom: 26px; transition: all .4s; }
.ms-sector h3 { font-size: 1.35rem; }
.lang-en .ms-sector h3 { font-size: 1.8rem; }
.ms-sector p { color: var(--muted); font-size: 15px; flex: 1; transition: color .4s; }
.ms-sector__count { font-family: var(--f-accent); font-size: 18px; color: var(--gold); }
.ms-sector:hover { background: var(--ink); color: #fff; }
.ms-sector:hover p { color: rgba(255,255,255,.6); }
.ms-sector:hover .ms-sector__ic { background: var(--gold); color: #fff; border-color: var(--gold); }

/* Project rail + cards */
.ms-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 400px); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 4px max(24px, calc((100vw - 1280px) / 2 + 24px)) 20px;
	scroll-padding-inline: max(24px, calc((100vw - 1280px) / 2 + 24px));
}
.ms-rail::-webkit-scrollbar { display: none; }
.ms-rail .ms-pcard { scroll-snap-align: start; }
.ms-rail-ctrl { display: flex; gap: 10px; }
.ms-rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; transition: all .3s; }
.ms-rail-btn:hover { background: var(--ink); color: #fff; }

.ms-pcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh); transition: transform .5s var(--ease), box-shadow .5s; }
.ms-pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ms-pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink-2); display: block; }
.ms-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ms-pcard:hover .ms-pcard__media img { transform: scale(1.07); }
.ms-pcard__tags { position: absolute; top: 16px; inset-inline-start: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.ms-tag { background: rgba(15,27,36,.75); color: #fff; backdrop-filter: blur(8px); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ms-tag--completed { background: rgba(31,122,77,.85); }
.ms-tag--construction { background: rgba(168,130,79,.92); }
.ms-tag--upcoming { background: rgba(255,255,255,.92); color: var(--ink); }
.ms-pcard__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ms-pcard__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.ms-pcard h3 { font-size: 1.3rem; margin-bottom: 8px; }
.lang-en .ms-pcard h3 { font-size: 1.7rem; }
.ms-pcard h3 a:hover { color: var(--gold); }
.ms-pcard__sum { color: var(--muted); font-size: 15px; flex: 1; }

.ms-ph { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; color: var(--gold-l); background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.ms-ph--tall { min-height: 520px; border-radius: var(--r-lg); }

/* Grid */
.ms-grid { display: grid; gap: 26px; }
.ms-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Unit card */
.ms-ucard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.ms-ucard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.ms-ucard.is-sold { opacity: .72; }
.ms-ucard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--ink-2); display: block; }
.ms-ucard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ms-ucard:hover .ms-ucard__media img { transform: scale(1.06); }
.ms-ucard__badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.ms-ucard__badges--static { position: static; margin-bottom: 14px; }
.ms-ucard__count { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(15,27,36,.7); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
.ms-badge { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); }
.ms-badge--sale { background: var(--gold); }
.ms-badge--rent { background: var(--ink); }
.ms-badge--available { background: var(--ok); }
.ms-badge--reserved { background: var(--warn); }
.ms-badge--unavailable { background: #5d6468; }
.ms-badge--sold { background: var(--bad); }
.ms-ucard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ms-ucard__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.ms-ucard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.ms-ucard h3 { font-size: 1.12rem; margin-bottom: 12px; }
.lang-en .ms-ucard h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.ms-ucard h3 a:hover { color: var(--gold); }
.ms-specs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ms-specs li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--sand); padding: 5px 11px; border-radius: 8px; color: var(--ink-3); }
.ms-specs .ms-ic { color: var(--gold); }
.ms-ucard__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ms-price { font-size: 1.1rem; color: var(--ink); font-weight: 700; }
.ms-wa-mini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,170,83,.1); color: var(--wa); transition: all .3s; flex-shrink: 0; }
.ms-wa-mini:hover { background: var(--wa); color: #fff; transform: scale(1.06); }

.ms-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; background: #fff; transition: all .3s; }
.ms-chips a b { background: var(--sand); padding: 0 8px; border-radius: 999px; font-size: 12px; }
.ms-chips a:hover { border-color: var(--gold); color: var(--gold); }

/* Services path (dark) */
.ms-path__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border-radius: var(--r-lg); overflow: hidden; }
.ms-step { background: var(--ink); padding: 40px 34px; position: relative; transition: background .4s; }
.ms-step:hover { background: var(--ink-2); }
.ms-step__n { position: absolute; top: 26px; inset-inline-end: 30px; font-family: var(--f-accent); font-size: 40px; color: rgba(201,169,120,.25); line-height: 1; }
.ms-step__ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201,169,120,.35); color: var(--gold-l); margin-bottom: 22px; }
.ms-step h3 { font-size: 1.2rem; }
.lang-en .ms-step h3 { font-size: 1.6rem; }
.ms-step p { color: rgba(255,255,255,.62); font-size: 15px; margin: 0; }

/* About */
.ms-about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.ms-about__media { position: relative; }
.ms-about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
.ms-about__media::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gold-l); border-radius: var(--r-lg); z-index: -1; }
.lang-en .ms-about__media::before { inset: 26px 26px -26px -26px; }
.ms-about__badge { position: absolute; bottom: 30px; inset-inline-start: -30px; background: var(--gold); color: #fff; padding: 22px 28px; border-radius: var(--r); box-shadow: var(--sh-lg); }
.ms-about__badge strong { display: block; font-family: var(--f-head); font-size: 1.6rem; line-height: 1.2; }
.ms-about__badge span { font-size: 13px; opacity: .85; }
.ms-about__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.lang-en .ms-about__text h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.ms-about__steps { display: grid; gap: 20px; margin-top: 30px; }
.ms-about__steps > div { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ms-about__steps b { grid-row: span 2; font-family: var(--f-accent); font-size: 34px; color: var(--gold); line-height: 1; }
.ms-about__steps h4 { margin: 0 0 4px; font-size: 1.05rem; }
.lang-en .ms-about__steps h4 { font-size: 1.4rem; }
.ms-about__steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Reviews */
.ms-review { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 36px 32px; position: relative; box-shadow: var(--sh); }
.ms-review__q { font-family: var(--f-accent); font-size: 90px; line-height: .6; color: var(--gold-l); display: block; height: 40px; }
.ms-review blockquote { margin: 0 0 22px; font-size: 1.02rem; line-height: 1.9; }
.ms-review figcaption b { display: block; }
.ms-review figcaption span { font-size: 13px; color: var(--muted); }

/* Certificates */
.ms-certs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.ms-cert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.ms-cert:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.ms-cert__img { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.ms-cert__img img { width: 100%; height: 100%; object-fit: contain; }
.ms-cert__img.ms-ph { min-height: 0; color: var(--gold); background: var(--sand); }
.ms-cert b { display: block; }
.ms-cert span, .ms-cert small { display: block; font-size: 13px; color: var(--muted); }

/* Partners marquee */
.ms-partners { padding: 60px 0; border-top: 1px solid var(--line); }
.ms-partners__t { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .1em; }
.ms-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ms-marquee__track { display: flex; gap: 70px; width: max-content; animation: msMarquee 40s linear infinite; align-items: center; }
.lang-en .ms-marquee__track { animation-direction: reverse; }
.ms-marquee__item img { height: 54px; width: auto; filter: grayscale(1); opacity: .6; transition: all .3s; }
.ms-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes msMarquee { to { transform: translateX(50%); } }
.lang-en .ms-marquee__track { animation-name: msMarqueeL; animation-direction: normal; }
@keyframes msMarqueeL { to { transform: translateX(-50%); } }

/* Owner CTA */
.ms-owner-cta { padding-top: 0; }
.ms-owner-cta__box {
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 120 60 0l60 120' fill='none' stroke='%23c9a978' stroke-opacity='.08'/%3E%3C/svg%3E");
	color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.ms-owner-cta__box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lang-en .ms-owner-cta__box h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.ms-owner-cta__box p { color: rgba(255,255,255,.7); margin: 0; }
.ms-owner-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Page hero (inner pages) ---------- */
.ms-page-hero {
	background: var(--ink); color: #fff; padding: 150px 0 90px; position: relative; overflow: hidden;
	margin-top: calc(var(--hdr) * -1);
}
body:not(.has-hero) .ms-main > .ms-page-hero:first-child { margin-top: calc(var(--hdr) * -1); padding-top: calc(var(--hdr) + 80px); }
.ms-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 140% at 85% 0%, rgba(201,169,120,.18), transparent 60%); }
.ms-page-hero::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 420px; height: 420px; border: 1px solid rgba(201,169,120,.15); border-radius: 50%; }
.ms-page-hero .ms-container { position: relative; z-index: 1; }
.ms-page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 860px; }
.lang-en .ms-page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.ms-page-hero p { max-width: 640px; opacity: .78; font-size: 1.1rem; }
.ms-page-hero--short { padding-bottom: 60px; }
/* Light header on dark page heroes */
body.has-dark-top .ms-header:not(.is-scrolled) { background: transparent; box-shadow: none; backdrop-filter: none; color: #fff; }
body.has-dark-top .ms-header:not(.is-scrolled) .ms-logo { color: #fff; }
body.has-dark-top .ms-header:not(.is-scrolled) .ms-logo__mark { color: var(--gold-l); }
body.has-dark-top .ms-header:not(.is-scrolled) .ms-logo__img--light { display: block; }
body.has-dark-top .ms-header:not(.is-scrolled) .ms-logo__img--dark:has(+ .ms-logo__img--light) { display: none; }

/* Tabs */
.ms-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ms-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: all .3s; }
.ms-tabs a .ms-ic { width: 18px; height: 18px; color: var(--gold); }
.ms-tabs a:hover { border-color: var(--gold); }
.ms-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ms-tabs a.is-active .ms-ic { color: var(--gold-l); }
.ms-tabs--sub { margin-bottom: 40px; }
.ms-tabs--sub a { padding: 7px 14px; font-size: 13px; }

.ms-filter-wrap { margin-top: -110px; position: relative; z-index: 3; margin-bottom: 30px; }
.ms-results { color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.ms-empty { text-align: center; padding: 80px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.ms-empty .ms-ic { margin: 0 auto 14px; color: var(--gold); }
.ms-empty h3 { color: var(--text); }

.ms-pagination { margin-top: 50px; }
.ms-pagination .nav-links, .ms-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ms-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-weight: 600; background: #fff; padding: 0 8px; }
.ms-pagination .page-numbers.current, .ms-pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Single unit / project ---------- */
.ms-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.ms-crumbs a:hover { color: var(--gold); }
.ms-crumbs--light { color: rgba(255,255,255,.6); }
.ms-unit-top { padding: 50px 0 30px; }
.ms-unit-top__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ms-unit-top h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.ms-unit-top__loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0; }
.ms-unit-top__price { text-align: end; }
.ms-unit-top__price span { display: block; font-size: 13px; color: var(--muted); }
.ms-unit-top__price strong { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold); font-family: var(--f-head); }

.ms-gallery { display: grid; gap: 10px; border-radius: var(--r-lg); overflow: hidden; height: min(560px, 62vw); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ms-gallery__item { position: relative; overflow: hidden; background: var(--ink-2); }
.ms-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ms-gallery__item:hover img { transform: scale(1.05); }
.ms-gallery__item:first-child { grid-row: span 2; }
.ms-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ms-gallery--2 { grid-template-columns: 2fr 1fr; }
.ms-gallery--2 .ms-gallery__item:nth-child(2) { grid-row: span 2; }
.ms-gallery--3 { grid-template-columns: 2fr 1fr; }
.ms-gallery--4 .ms-gallery__item:nth-child(4) { grid-column: span 2; }
.ms-gallery__more { position: absolute; inset: 0; background: rgba(15,27,36,.6); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; }

.ms-detail { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.ms-detail__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.ms-side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; box-shadow: var(--sh); }
.ms-side-card h3 { font-size: 1.25rem; margin: 0; }
.ms-side-card p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.ms-side-proj { display: flex; align-items: center; gap: 14px; background: var(--sand); border-radius: var(--r); padding: 10px; transition: background .3s; }
.ms-side-proj:hover { background: var(--line); }
.ms-side-proj img { width: 80px; height: 64px; object-fit: cover; border-radius: 10px; }
.ms-side-proj small { display: block; color: var(--muted); font-size: 12px; }

.ms-spec-grid { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ms-spec-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; }
.ms-spec-grid .ms-ic { color: var(--gold); margin-bottom: 4px; }
.ms-spec-grid span { font-size: 12px; color: var(--muted); }
.ms-spec-grid b { font-size: 1.05rem; }

.ms-prose { font-size: 1.05rem; line-height: 1.95; }
.ms-prose--lead { font-size: 1.15rem; }
.ms-prose h2, .ms-prose h3 { margin-top: 1.6em; }
.ms-prose ul { padding-inline-start: 1.2em; }
.ms-prose a { color: var(--gold); text-decoration: underline; }
.ms-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ms-checks--2 { grid-template-columns: 1fr 1fr; }
.ms-checks li { display: flex; gap: 10px; align-items: flex-start; }
.ms-checks .ms-ic { color: #fff; background: var(--gold); border-radius: 50%; padding: 3px; margin-top: 4px; width: 22px; height: 22px; }
.ms-embed { margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; }
.ms-embed iframe { width: 100%; height: 100%; }

.ms-proj-hero { position: relative; min-height: 86vh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); margin-top: calc(var(--hdr) * -1); }
.ms-proj-hero__bg { position: absolute; inset: 0; }
.ms-proj-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: msZoom 12s var(--ease) forwards; }
@keyframes msZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.ms-proj-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,36,.5), rgba(15,27,36,.2) 40%, rgba(15,27,36,.9)); }
.ms-proj-hero__in { position: relative; padding-top: 160px; padding-bottom: 80px; }
.ms-proj-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.lang-en .ms-proj-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.02; }
.ms-proj-hero p { max-width: 620px; opacity: .85; font-size: 1.15rem; }

.ms-facts { background: var(--ink-2); color: #fff; }
.ms-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ms-facts__grid > div { padding: 26px 20px; border-inline-start: 1px solid var(--line-d); }
.ms-facts__grid > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ms-facts span { display: block; font-size: 12px; color: var(--gold-l); letter-spacing: .06em; margin-bottom: 4px; }
.ms-facts b { font-weight: 600; }

.ms-masonry { columns: 3; column-gap: 14px; }
.ms-masonry a { display: block; margin-bottom: 14px; border-radius: var(--r); overflow: hidden; break-inside: avoid; }
.ms-masonry img { width: 100%; transition: transform 1s var(--ease); }
.ms-masonry a:hover img { transform: scale(1.04); }

/* Sticky mobile CTA on unit page */
.ms-sticky-cta { display: none; }

/* ---------- Forms ---------- */
.ms-form-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.ms-form-layout .ms-form { order: 2; }
.page-template-contact .ms-form-layout { grid-template-columns: 1.2fr 1fr; }
.page-template-contact .ms-form-layout .ms-form { order: 0; }
.ms-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--sh); display: grid; gap: 16px; scroll-margin-top: 110px; }
.ms-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ms-form__sec { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.ms-form__sec:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.ms-form__sec span { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 14px; font-family: var(--f-body); }
.ms-form__note { text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
.ms-drop { position: relative; border: 2px dashed var(--line); border-radius: var(--r); padding: 30px 20px; text-align: center; display: grid; justify-items: center; gap: 6px; cursor: pointer; transition: border-color .3s, background .3s; background: var(--ivory); }
.ms-drop:hover, .ms-drop.is-over { border-color: var(--gold); background: #fff; }
.ms-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ms-drop .ms-ic { color: var(--gold); }
.ms-drop small { color: var(--muted); }
.ms-drop__thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ms-drop__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.ms-notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.ms-notice--ok { background: rgba(31,122,77,.1); color: var(--ok); }
.ms-notice--err { background: rgba(138,43,43,.08); color: var(--bad); }

.ms-form-aside { position: sticky; top: 110px; }
.ms-form-aside .ms-h3 { margin-top: 0; }
.ms-why { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 22px; }
.ms-why li { display: flex; gap: 16px; }
.ms-why .ms-ic { color: var(--gold); width: 46px; height: 46px; padding: 11px; background: var(--sand); border-radius: 50%; }
.ms-why b { display: block; margin-bottom: 2px; }
.ms-why p { margin: 0; color: var(--muted); font-size: 15px; }

.ms-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -110px; position: relative; z-index: 3; margin-bottom: 60px; }
.ms-ccard { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-lg); display: grid; gap: 4px; transition: transform .4s var(--ease); }
a.ms-ccard:hover { transform: translateY(-4px); }
.ms-ccard .ms-ic { color: var(--gold); margin-bottom: 10px; }
.ms-ccard--wa .ms-ic { color: var(--wa); }
.ms-ccard span { font-size: 13px; color: var(--muted); }
.ms-ccard b { font-size: 15px; overflow-wrap: anywhere; }
.ms-ccard__addr { font-size: 13px !important; font-weight: 500; line-height: 1.6; }
.ms-map { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ms-map iframe { width: 100%; height: 440px; border: 0; }
.ms-map p { display: flex; gap: 8px; align-items: center; padding: 16px 20px; margin: 0; color: var(--muted); }

/* Marketing page */
.ms-svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.ms-svc:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.ms-svc__ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); margin-bottom: 22px; }
.ms-svc h3 { font-size: 1.2rem; }
.lang-en .ms-svc h3 { font-size: 1.6rem; }
.ms-svc p { color: var(--muted); margin: 0; font-size: 15px; }
.ms-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; position: relative; }
.ms-timeline::before { content: ""; position: absolute; top: 28px; inset-inline: 8%; height: 1px; background: rgba(201,169,120,.3); }
.ms-timeline li { text-align: center; position: relative; }
.ms-timeline b { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold-l); color: var(--gold-l); display: grid; place-items: center; margin: 0 auto 16px; font-family: var(--f-accent); font-size: 20px; position: relative; }
.ms-timeline span { font-size: 15px; opacity: .85; }

.ms-404 { min-height: 80vh; display: flex; align-items: center; }
.ms-post { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.ms-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 0; }
.ms-footer__cta { border-bottom: 1px solid var(--line-d); padding: 70px 0; }
.ms-footer__cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.ms-footer__cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 0; max-width: 640px; }
.lang-en .ms-footer__cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.ms-footer__cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ms-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; padding-top: 70px; padding-bottom: 50px; }
.ms-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.lang-en .ms-footer h4 { font-family: var(--f-body); font-weight: 600; }
.ms-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ms-footer ul a:hover, .ms-footer__contact a:hover { color: var(--gold-l); }
.ms-logo--footer { color: #fff; margin-bottom: 20px; }
.ms-logo--footer .ms-logo__mark { color: var(--gold-l); }
.ms-footer__brand p { font-size: 15px; max-width: 340px; }
.ms-social { display: flex; gap: 10px; margin-top: 20px; }
.ms-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: all .3s; }
.ms-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.ms-footer__contact a, .ms-footer__contact p { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 15px; }
.ms-footer__contact .ms-ic { color: var(--gold-l); margin-top: 5px; }
.ms-footer__bottom { border-top: 1px solid var(--line-d); padding-top: 24px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.ms-footer__bottom a { display: inline-flex; gap: 6px; align-items: center; }
.ms-footer__bottom a:hover { color: var(--gold-l); }

/* Floating WhatsApp */
.ms-wa-float {
	position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--wa); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px;
	box-shadow: 0 14px 30px -10px rgba(31,170,83,.6); font-weight: 600; font-size: 14px;
	transition: transform .3s var(--ease);
}
.lang-en .ms-wa-float { padding: 12px 14px 12px 18px; }
.ms-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: msPulse 2.4s ease-out infinite; }
@keyframes msPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.ms-wa-float:hover { transform: translateY(-3px); }
.single-ms_unit .ms-wa-float { display: none; }

/* Lightbox */
.ms-lb { position: fixed; inset: 0; z-index: 300; background: rgba(10,18,24,.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.ms-lb.is-open { opacity: 1; visibility: visible; }
.ms-lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.ms-lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.ms-lb button:hover { background: var(--gold); }
.ms-lb__close { top: 20px; inset-inline-end: 20px; }
.ms-lb__prev { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); }
.ms-lb__next { inset-inline-end: 20px; top: 50%; transform: translateY(-50%); }
[dir=rtl] .ms-lb__prev, [dir=rtl] .ms-lb__next { transform: translateY(-50%) scaleX(-1); }
.ms-lb__count { position: absolute; bottom: 22px; color: #fff; opacity: .7; font-size: 14px; }

/* ---------- Reveal animations ---------- */
.js .ms-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.ms-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ms-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ms-nav { display: none; }
	.ms-burger { display: inline-flex; }
	.ms-sectors__grid { grid-template-columns: repeat(2, 1fr); }
	.ms-footer__grid { grid-template-columns: 1fr 1fr; }
	.ms-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
	.ms-timeline::before { display: none; }
}
@media (max-width: 980px) {
	:root { --hdr: 72px; }
	.ms-section { padding: 80px 0; }
	.ms-grid--3, .ms-path__list { grid-template-columns: repeat(2, 1fr); }
	.ms-pillars__grid, .ms-about__grid, .ms-detail, .ms-form-layout, .page-template-contact .ms-form-layout { grid-template-columns: 1fr; }
	.ms-about__grid { gap: 60px; }
	.ms-about__badge { inset-inline-start: 16px; }
	.ms-detail__side, .ms-form-aside { position: static; }
	.ms-form-layout .ms-form { order: 0; }
	.ms-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.ms-stat:nth-child(3) { border-inline-start: 0; }
	.ms-owner-cta__box { grid-template-columns: 1fr; padding: 44px 32px; }
	.ms-owner-cta__btns { justify-content: flex-start; }
	.ms-contact-cards { grid-template-columns: repeat(2, 1fr); }
	.ms-filter--compact { grid-template-columns: 1fr; }
	.ms-hero__dots li:nth-child(n+4) { display: none; }
	.ms-masonry { columns: 2; }
}
@media (max-width: 680px) {
	body { font-size: 15px; }
	.ms-container { padding-inline: 16px; }
	.ms-section { padding: 64px 0; }
	.ms-section--tight { padding: 40px 0; }
	.ms-head { margin-bottom: 32px; }
	.ms-hide-sm { display: none; }
	.ms-hero { min-height: 600px; }
	.ms-slide__content { padding-bottom: 110px; }
	.ms-hero__btns .ms-btn { flex: 1 1 auto; }
	.ms-hero__nav { bottom: 52px; }
	.ms-hero__dots { gap: 10px; }
	.ms-hero__dots button em { display: none; }
	.ms-hero__scroll { display: none; }
	.ms-search-band { margin-top: -30px; }
	.ms-filter { padding: 16px; border-radius: 18px; }
	.ms-filter--compact .ms-filter__fields { grid-template-columns: 1fr 1fr; }
	.ms-filter--compact .ms-filter__go { grid-column: 1 / -1; }
	.ms-seg { width: 100%; }
	.ms-seg label { flex: 1; }
	.ms-seg span { text-align: center; padding: 10px 8px; }
	.ms-filter__fields { grid-template-columns: 1fr 1fr; }
	.ms-filter__go { grid-column: 1 / -1; }
	.ms-filter-toggle { display: inline-flex; }
	.ms-filter-wrap { margin-top: 0; display: none; }
	.ms-filter-wrap.is-open { display: block; }
	.ms-pillar { padding: 34px 24px 30px; }
	.ms-pillar ul { grid-template-columns: 1fr; }
	.ms-pillar__num { font-size: 64px; }
	.ms-grid--3, .ms-path__list, .ms-sectors__grid { grid-template-columns: 1fr; }
	.ms-sector { padding: 28px 22px; }
	.ms-rail { grid-auto-columns: 84%; gap: 14px; padding-inline: 16px; scroll-padding-inline: 16px; }
	.ms-rail-ctrl { display: none; }
	.ms-step { padding: 30px 24px; }
	.ms-about__media::before { display: none; }
	.ms-about__media img { aspect-ratio: 4/3; }
	.ms-page-hero { padding-bottom: 60px; }
	body:not(.has-hero) .ms-main > .ms-page-hero:first-child { padding-top: calc(var(--hdr) + 44px); }
	.ms-page-hero::after { width: 240px; height: 240px; }
	.ms-contact-cards { grid-template-columns: 1fr; margin-top: -70px; }
	.ms-form { padding: 24px 18px; }
	.ms-form__row { grid-template-columns: 1fr; }
	.ms-unit-top { padding-top: 26px; }
	.ms-unit-top__price { text-align: start; }
	.ms-gallery { grid-template-columns: 1fr 1fr !important; grid-template-rows: 220px 110px !important; height: auto; }
	.ms-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
	.ms-gallery__item:nth-child(n+4) { display: none; }
	.ms-gallery--1 { grid-template-rows: 240px !important; }
	.ms-gallery--2 .ms-gallery__item:nth-child(2) { grid-row: auto; grid-column: 1 / -1; }
	.ms-checks--2 { grid-template-columns: 1fr; }
	.ms-facts__grid { grid-template-columns: 1fr 1fr; }
	.ms-facts__grid > div { padding: 18px 12px; border-top: 1px solid var(--line-d); }
	.ms-facts__grid > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
	.ms-proj-hero { min-height: 78vh; }
	.ms-proj-hero__in { padding-bottom: 50px; }
	.ms-masonry { columns: 1; }
	.ms-timeline { grid-template-columns: 1fr 1fr; }
	.ms-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; }
	.ms-footer__cta { padding: 50px 0; }
	.ms-footer__cta-btns .ms-btn { flex: 1; }
	.ms-wa-float span { display: none; }
	.ms-wa-float { padding: 14px !important; bottom: 16px; inset-inline-start: 16px; }
	.ms-sticky-cta {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		position: fixed; bottom: 0; inset-inline: 0; z-index: 95; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(251,249,245,.96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(15,27,36,.25);
	}
	.single-ms_unit .ms-footer { padding-bottom: 80px; }
	.admin-bar .ms-header { top: 46px; }
}
@media (max-width: 600px) { .admin-bar .ms-header { position: fixed; } }
