/* ==========================================================================
   Alva — The Valley (Emaar, Phase 3)
   Google Ads Campaign Landing Page Stylesheet
   Contemporary architectural dark build: hard-cut full-bleed bands, tight grotesque
   typography at large scale, sticky split panels, and conversion-optimized hero.
   ========================================================================== */

:root {
	/* Dark base palette */
	--void: #0c0c0b;
	--ink: #141412;
	--ink-2: #1c1b19;
	--ink-card: #181715;
	--line: #2c2a27;
	--line-light: #3a3733;

	/* Light contrast bands */
	--paper: #f2f0ec;
	--paper-2: #e6e3dd;
	--paper-line: #d3cec5;

	--white: #ffffff;
	--dim: #a5a099;
	--dim-2: #8d887f;
	--dim-light: #676057;

	/* Accent palette sampled from Emaar masterplan */
	--tan: #99755b;
	--tan-ink: #6f523c;
	--tan-btn: #8a6750;
	--tan-lt: #c9ab8d;
	--tan-br: #d9bda1;
	--gold: #d4a373;
	--whatsapp: #25d366;
	--whatsapp-dark: #128c7e;

	--font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--hdr-h: 68px;
	--gut: clamp(18px, 4.4vw, 76px);
	--maxw: 1680px;
	--rhythm: clamp(72px, 9vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: clip;
	max-width: 100vw;
}

body {
	margin: 0;
	background: var(--void);
	color: var(--white);
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	overflow-x: clip;
	max-width: 100vw;
	-webkit-font-smoothing: antialiased;
	font-synthesis-weight: none;
}

img, figure, picture, video {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	box-sizing: border-box;
}

img { display: block; }
a { color: inherit; text-decoration: none; }

/* ================================================================== Typography */

.dsp {
	margin: 0;
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.dsp-1 { font-size: clamp(34px, 6.2vw, 84px); }
.dsp-2 { font-size: clamp(30px, 4.8vw, 68px); }
.dsp-3 { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.025em; line-height: 1.05; }

.dsp em { font-style: normal; color: var(--tan-br); }
.dsp .thin { font-weight: 200; }

.kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 clamp(16px, 2vw, 26px);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tan-lt);
}
.kicker::before {
	content: "";
	width: 26px;
	height: 1px;
	background: currentColor;
	flex: none;
	opacity: 0.7;
}
.kicker--dark { color: var(--tan-ink); }

.lede {
	margin: 0;
	font-size: clamp(15px, 1.25vw, 18px);
	font-weight: 300;
	line-height: 1.65;
	color: var(--dim);
	max-width: 54ch;
}
.body { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--dim); max-width: 48ch; }
.micro { margin: 0; font-size: 11.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim-2); }
.fine { margin: 0; font-size: 12px; font-weight: 300; line-height: 1.7; color: var(--dim-2); max-width: 74ch; }
.mt-s { margin-top: 14px; }
.mt { margin-top: 24px; }

/* Light-band typography */
.on-light { color: var(--ink); }
.on-light .lede, .on-light .body { color: #55504a; }
.on-light .micro, .on-light .fine { color: var(--dim-light); }
.on-light .kicker { color: var(--tan-ink); }

.tnum { font-variant-numeric: tabular-nums; }
.sr {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ================================================================ Layout */

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gut);
}

.band { padding-block: var(--rhythm); position: relative; }
.band--light { background: var(--paper); color: var(--ink); }
.band--light-2 { background: var(--paper-2); color: var(--ink); }
.band--ink { background: var(--ink); }
.band--tight { padding-block: clamp(48px, 5.5vw, 84px); }

/* ================================================================ Header */

.hdr {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 70;
	height: var(--hdr-h);
	display: flex;
	align-items: center;
	transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
	border-bottom: 1px solid transparent;
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
}
.hdr.is-stuck {
	background: rgba(12, 12, 11, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
.hdr__in {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gut);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
}
.brand-group {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 24px);
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.brand b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.brand i {
	font-style: normal;
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tan-lt);
	border-left: 1px solid var(--line);
	padding-left: 10px;
}
.brand__tag {
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim-2);
	display: none;
}
@media (min-width: 640px) {
	.brand__tag { display: inline-block; }
}
.hdr__partner {
	display: flex;
	align-items: center;
	gap: 8px;
	border-left: 1px solid var(--line);
	padding-left: clamp(12px, 1.8vw, 20px);
}
.hdr__partner-label {
	font-size: 8.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim-2);
	white-space: nowrap;
	display: none;
}
@media (min-width: 768px) {
	.hdr__partner-label { display: inline-block; }
}
.partner-logo {
	height: 24px;
	width: auto;
	object-fit: contain;
	opacity: 0.85;
	transition: opacity 0.25s ease;
}
.partner-logo:hover { opacity: 1; }
.partner-logo--hdr {
	height: 35px;
	max-height: 36px;
	opacity: 0.95;
}
@media (max-width: 600px) {
	.partner-logo--hdr {
		height: 30px;
		max-height: 32px;
	}
}
.partner-logo--modal {
	height: 22px;
	max-height: 24px;
	opacity: 0.95;
}
.hdr .hdr__cta { display: none !important; }
@media (min-width: 820px) {
	.hdr .hdr__cta { display: inline-flex !important; }
}
.hdr .btn {
	min-height: 40px;
	padding: 10px 18px;
	font-size: 10px;
}

/* =============================================================== Buttons */

.btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--white);
	border: 1px solid var(--white);
	color: var(--void);
	font-family: var(--font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 28px;
	min-height: 50px;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn:hover {
	background: var(--tan-br);
	border-color: var(--tan-br);
	color: var(--void);
}
.btn:active { transform: translateY(1px); }
.btn--tan {
	background: var(--tan-btn);
	border-color: var(--tan-btn);
	color: #fff;
}
.btn--tan:hover {
	background: var(--tan-br);
	border-color: var(--tan-br);
	color: var(--void);
}
.btn--line {
	background: transparent;
	border-color: var(--line);
	color: #fff;
}
.btn--line:hover {
	background: #fff;
	border-color: #fff;
	color: var(--void);
}
.btn--dark {
	background: var(--void);
	border-color: var(--void);
	color: #fff;
}
.btn--dark:hover {
	background: var(--tan-btn);
	border-color: var(--tan-btn);
	color: #fff;
}
.btn--wide { width: 100%; }

.btn__icon {
	width: 16px;
	height: 16px;
	flex: none;
}

.tlink {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	padding: 10px 0;
	min-height: 42px;
	font-family: var(--font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--tan-br);
	text-decoration: none;
	cursor: pointer;
}
.tlink::after { content: "→"; transition: transform 0.25s ease; }
.tlink:hover::after { transform: translateX(5px); }
.on-light .tlink { color: var(--tan-ink); }

/* ================================================================== Hero */

.hero {
	min-height: 100svh;
	display: flex;
	align-items: stretch;
	position: relative;
	background: var(--void);
}
.hero__grid {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1080px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}
}

.hero__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--hdr-h) + clamp(28px, 4vw, 56px)) var(--gut) clamp(36px, 5vw, 64px);
	z-index: 2;
}

.hero__media {
	position: relative;
	min-height: 48svh;
	background: var(--ink-2);
	overflow: hidden;
}
@media (min-width: 1080px) {
	.hero__media { min-height: 100%; }
}
.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.92);
}
.hero__media-badge {
	position: absolute;
	top: calc(var(--hdr-h) + 24px);
	right: clamp(16px, 2.5vw, 36px);
	background: rgba(12, 12, 11, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--line);
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 280px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.hero__media-badge-icon {
	width: 32px;
	height: 32px;
	border: 1px solid var(--tan);
	color: var(--tan-br);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.hero__media-badge-text b {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}
.hero__media-badge-text span {
	display: block;
	font-size: 11px;
	color: var(--dim);
	margin-top: 2px;
}
.hero__cap {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background: rgba(12, 12, 11, 0.72);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #cfc9c0;
}

/* Urgency Flag */
.flag {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	align-self: flex-start;
	margin: 0 0 clamp(18px, 2.5vw, 28px);
	padding: 7px 13px;
	border: 1px solid var(--line);
	background: rgba(28, 27, 25, 0.6);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tan-br);
}
.flag--urgency {
	border-color: rgba(153, 117, 91, 0.4);
	color: #e8cbb1;
}
.dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tan-br);
	flex: none;
	animation: pulse 2.2s ease-in-out infinite;
}
.dot--urgency {
	background: #ffb703;
	box-shadow: 0 0 10px rgba(255, 183, 3, 0.7);
}
@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.25; transform: scale(0.85); }
}

.hero__figs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 24px);
	margin: clamp(20px, 3vw, 32px) 0;
	padding-block: clamp(14px, 2vw, 22px);
	border-block: 1px solid var(--line);
}
.hero__figs div b {
	display: block;
	font-size: clamp(20px, 2.4vw, 32px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
}
.hero__figs div b small {
	font-size: 0.46em;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--tan-lt);
	margin-left: 2px;
}
.hero__figs div span {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim-2);
}

/* Hero Lead Form Box */
.hero__formbox {
	background: var(--ink-card);
	border: 1px solid var(--line-light);
	padding: clamp(18px, 3vw, 32px);
	margin-top: 10px;
	position: relative;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
	max-width: 100%;
	box-sizing: border-box;
}
.hero__formbox::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--tan), var(--tan-br), transparent);
}
.formbox__hd {
	margin-bottom: 20px;
}
.formbox__title {
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}
.formbox__subtitle {
	margin: 0;
	font-size: 13px;
	font-weight: 300;
	color: var(--dim);
	line-height: 1.5;
}

.lead-form {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 580px) {
	.form-grid--2col {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
.field--full {
	grid-column: 1 / -1;
}
.field label {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
}
.field label span.req {
	color: var(--tan-br);
	margin-left: 2px;
}
.field input,
.field select {
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 400;
	color: #fff;
	background: #100f0e;
	border: 1px solid var(--line);
	border-radius: 0;
	padding: 13px 14px;
	min-height: 48px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.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 fill='%23a5a099' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px;
	padding-right: 36px;
	cursor: pointer;
}
.field select option {
	background: #141412;
	color: #fff;
}
.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--tan-br);
	background: #161513;
	box-shadow: 0 0 0 1px var(--tan-br);
}
.field input::placeholder {
	color: #68635c;
}
.field input.is-invalid,
.field select.is-invalid {
	border-color: #d64040 !important;
	background: rgba(214, 64, 64, 0.05);
}
.field__error {
	font-size: 11px;
	color: #e56b6f;
	margin-top: 2px;
	display: none;
}
.field.has-error .field__error {
	display: block;
}

.formbox__micro {
	margin: 12px 0 0;
	font-size: 11px;
	color: var(--dim-2);
	display: block;
	line-height: 1.45;
}
.formbox__micro svg {
	display: inline-block;
	vertical-align: -2px;
	margin-right: 6px;
	fill: var(--tan);
	width: 13px;
	height: 13px;
}

/* Form feedback states */
.form-success {
	background: rgba(20, 32, 24, 0.95);
	border: 1px solid rgba(37, 211, 102, 0.35);
	padding: 24px;
	text-align: center;
	animation: fadeIn 0.4s ease forwards;
}
.form-success__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(37, 211, 102, 0.15);
	color: var(--whatsapp);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.form-success h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}
.form-success p {
	margin: 0;
	font-size: 13.5px;
	color: #c5d4cb;
	line-height: 1.6;
}
.form-success a.resend-link {
	color: var(--tan-br);
	text-decoration: underline;
	font-weight: 500;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Secondary Capture Form in Section 08 */
.band--light .hero__formbox {
	background: var(--paper-2);
	border: 1px solid var(--paper-line);
	color: var(--ink);
}
.band--light .formbox__title {
	color: var(--ink);
}
.band--light .formbox__subtitle {
	color: #55504a;
}
.band--light .field label {
	color: var(--dim-light);
}
.band--light .field input,
.band--light .field select {
	background: #fff;
	color: var(--ink);
	border-color: var(--paper-line);
}
.band--light .field select option {
	background: #fff;
	color: var(--ink);
}
.band--light .field input:focus,
.band--light .field select:focus {
	border-color: var(--tan-ink);
	box-shadow: 0 0 0 1px var(--tan-ink);
}

/* ============================================================ Section Headers */

.hd {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3.5vw, 56px);
	margin-bottom: clamp(36px, 5.5vw, 84px);
}
@media (min-width: 900px) {
	.hd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
.hd__side {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* ============================================================== Stats / Figures */

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
@media (min-width: 900px) {
	.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat {
	background: var(--ink);
	padding: clamp(22px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.band--light .stat {
	background: var(--paper);
}
.stat b {
	font-size: clamp(32px, 4.4vw, 62px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: #fff;
	margin-bottom: 14px;
}
.band--light .stat b { color: var(--ink); }
.stat b small {
	font-size: 0.44em;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--tan-lt);
	margin-left: 3px;
}
.stat span {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim-2);
	line-height: 1.5;
}

/* ================================================================== Film */

.film {
	margin: 0;
}
.film__frame {
	position: relative;
	background: #000;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.film__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.film__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(12, 12, 11, 0.45);
	border: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	cursor: pointer;
	transition: background 0.3s ease;
}
.film__play:hover { background: rgba(12, 12, 11, 0.28); }
.is-playing .film__play { display: none; }
.film__icon {
	width: clamp(54px, 6.5vw, 84px);
	height: clamp(54px, 6.5vw, 84px);
	border-radius: 50%;
	background: var(--tan-btn);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
	transition: transform 0.25s ease, background 0.25s ease;
}
.film__icon svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.film__play:hover .film__icon {
	transform: scale(1.08);
	background: var(--tan-br);
	color: var(--void);
}
.film__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
}
.film__label i {
	display: block;
	font-style: normal;
	font-size: 10px;
	font-weight: 400;
	color: var(--dim);
	margin-top: 4px;
}
.film__cap {
	margin-top: 10px;
	font-size: 11px;
	color: var(--dim-2);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ========================================================== Sticky Split (Homes) */

#homes {
	position: relative;
	overflow: visible;
}

.sp {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	position: relative;
}
@media (min-width: 960px) {
	.sp {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}
.sp__media {
	position: relative;
	min-height: 48svh;
	background: var(--ink-2);
}
@media (min-width: 960px) {
	.sp__media {
		position: sticky;
		top: var(--hdr-h, 68px);
		height: calc(100vh - var(--hdr-h, 68px));
		min-height: 0;
		align-self: start;
	}
}
.sp__media figure {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}
.sp__media figure.is-on {
	opacity: 1;
	pointer-events: auto;
}
.sp__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sp__cap {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background: rgba(12, 12, 11, 0.75);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #cfc9c0;
	z-index: 5;
}

.sp__flow {
	display: flex;
	flex-direction: column;
}
.sp__flow article {
	padding: clamp(48px, 6.5vw, 96px) var(--gut);
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100svh - var(--hdr-h));
}
.unit-tabs {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
	border-radius: 999px;
	margin: 0 0 16px;
	width: fit-content;
}
.unit-tab {
	background: transparent;
	border: none;
	color: var(--dim);
	padding: 7px 16px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 999px;
	transition: all 0.2s ease;
}
.unit-tab:hover {
	color: #fff;
}
.unit-tab.is-active {
	background: var(--tan);
	color: var(--ink);
	font-weight: 600;
}
.unit__no {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tan-lt);
	margin: 0 0 12px;
}
.unit__price {
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 14px 0 24px;
	color: #fff;
}
.unit__price small {
	font-size: 0.4em;
	font-weight: 400;
	color: var(--dim);
	letter-spacing: 0.08em;
	margin-left: 6px;
	text-transform: uppercase;
}
.unit__spec {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 28px;
	padding-block: 20px;
	border-block: 1px solid var(--line);
}
.unit__spec dt {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim-2);
}
.unit__spec dd {
	margin: 4px 0 0;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}
.unit__spec dd span {
	font-size: 11px;
	font-weight: 400;
	color: var(--dim);
}
.unit__cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

/* ============================================================== Payment */

.steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1px;
	background: var(--paper-line);
	border: 1px solid var(--paper-line);
}
@media (min-width: 768px) {
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.step {
	background: var(--paper);
	padding: clamp(24px, 3vw, 40px);
	display: flex;
	flex-direction: column;
}
.step b {
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 0.95;
	color: var(--ink);
	margin-bottom: 12px;
}
.step b small {
	font-size: 0.44em;
	font-weight: 400;
	color: var(--tan-ink);
}
.step u {
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tan-ink);
	margin-bottom: 12px;
}
.step p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #55504a;
}

/* ============================================================== Reasons (Why) */

.rsn {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3.5vw, 48px);
}
@media (min-width: 640px) {
	.rsn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
	.rsn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.rsn div {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
	padding-top: 20px;
}
.rsn .n {
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--tan-lt);
	margin-bottom: 14px;
}
.rsn h3 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin: 0 0 10px;
	color: #fff;
}
.rsn p {
	margin: 0;
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--dim);
}

/* =========================================================== Masterplan */

.mp__stage {
	width: 100%;
	height: clamp(380px, 60svh, 720px);
	background: var(--ink-2);
	overflow: auto;
	position: relative;
	cursor: grab;
	border: 1px solid var(--line);
	user-select: none;
	-webkit-user-select: none;
}
.mp__stage.is-drag { cursor: grabbing; }
.mp__stage img {
	width: 100%;
	min-width: 100%;
	height: auto;
	transition: width 0.3s ease;
	display: block;
}
.mp__stage[data-zoom="2"] img {
	width: 220%;
	min-width: 220%;
	max-width: none;
}
.mp__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px 0;
}

/* ============================================================== Lifestyle Mosaic */

.mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.mosaic .m-2 {
	grid-column: span 2;
}
.mosaic figure {
	margin: 0;
	position: relative;
	height: clamp(160px, 36vw, 240px);
	overflow: hidden;
	background: var(--ink-2);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 800px) {
	.mosaic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}
	.mosaic figure {
		height: clamp(220px, 22vw, 300px);
	}
	.mosaic .m-2 { grid-column: span 2; }
}
.mosaic figure img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.mosaic figure:hover img {
	transform: scale(1.03);
}

/* ============================================================= Location */

.drive {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
@media (min-width: 768px) {
	.drive { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.drive li {
	background: var(--ink);
	padding: clamp(20px, 2.5vw, 32px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.drive li b {
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #fff;
	margin-bottom: 8px;
}
.drive li span {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 4px;
}
.drive li i {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tan-lt);
}

/* ================================================================== FAQ */

.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: clamp(18px, 2.2vw, 26px) 46px clamp(18px, 2.2vw, 26px) 0;
	font-size: clamp(16px, 1.5vw, 19px);
	font-weight: 500;
	letter-spacing: -0.015em;
	color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 300;
	color: var(--tan-lt);
	transition: transform 0.25s ease;
}
.faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}
.faq details div {
	padding: 0 0 clamp(20px, 2.5vw, 32px) 0;
	max-width: 64ch;
}
.faq details p {
	margin: 0;
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--dim);
}

/* =============================================================== Footer */

.ftr {
	background: var(--ink);
	border-top: 1px solid var(--line);
	padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.ftr__top {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-bottom: clamp(36px, 5vw, 64px);
	border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
	.ftr__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}
.ftr__brand-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ftr__partner-badge {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ftr__partner-badge .micro {
	font-size: 10px;
}
.partner-logo--ftr {
	height: 28px;
}
.legal {
	padding-top: clamp(28px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.legal p {
	margin: 0;
	font-size: 11.5px;
	font-weight: 300;
	line-height: 1.75;
	color: var(--dim-2);
}
.legal strong {
	font-weight: 600;
	color: var(--dim);
}

/* ============================================================ Floating WhatsApp CTA */

.float-wa {
	position: fixed;
	right: clamp(16px, 2.5vw, 32px);
	bottom: clamp(20px, 3vw, 36px);
	z-index: 65;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	background: #1f8b4d;
	color: #ffffff;
	padding: 13px 22px;
	min-height: 48px;
	border-radius: 999px;
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.float-wa:hover {
	background: #25a85c;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}
.float-wa svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex: none;
}

/* Mobile Sticky Action Bar */
.actionbar {
	display: none;
}
@media (max-width: 767px) {
	.float-wa {
		display: none; /* replaced by actionbar on small screens */
	}
	.actionbar {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 68;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
		background: rgba(12, 12, 11, 0.95);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}
	.actionbar__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		font-size: clamp(9.5px, 2.7vw, 11px);
		font-weight: 600;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		text-decoration: none;
		min-height: 44px;
		padding: 8px 8px;
		border: 1px solid var(--line);
		color: #fff;
		border-radius: 0;
		min-width: 0;
		box-sizing: border-box;
		white-space: nowrap;
	}
	.actionbar__btn--wa {
		background: #1f8b4d;
		border-color: #1f8b4d;
	}
	.actionbar__btn--wa svg { width: 17px; height: 17px; fill: currentColor; }
	.actionbar__btn--primary {
		background: var(--tan-btn);
		border-color: var(--tan-btn);
	}
}

/* ============================================================== Reveal Animations */

.rv {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.rv { opacity: 1; transform: none; transition: none; }
	.dot { animation: none; }
}

/* ============================================================== Button Pulse Animation */

@keyframes btnPulseSubtle {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 4px 16px rgba(184, 155, 122, 0.2);
	}
	50% {
		transform: scale(1.025);
		box-shadow: 0 6px 26px rgba(184, 155, 122, 0.45);
	}
}

.hdr__cta,
.unit__cta-group .btn,
.ftr [data-action="download-plans"],
.actionbar__btn--primary,
[data-action="download-plans"] {
	animation: btnPulseSubtle 2.8s ease-in-out infinite;
	will-change: transform, box-shadow;
}

.hdr__cta:hover,
.unit__cta-group .btn:hover,
.ftr [data-action="download-plans"]:hover,
.actionbar__btn--primary:hover,
[data-action="download-plans"]:hover {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.hdr__cta,
	.unit__cta-group .btn,
	.ftr [data-action="download-plans"],
	.actionbar__btn--primary,
	[data-action="download-plans"] {
		animation: none !important;
	}
}

/* ============================================================== Lead Capture Modal */

body.modal-open {
	overflow: hidden !important;
	touch-action: none;
}

.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.modal.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 1;
}

.modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 580px;
	padding: clamp(14px, 2.5vw, 24px);
	box-sizing: border-box;
	max-height: calc(100vh - 20px);
	display: flex;
	flex-direction: column;
}

.modal__card {
	background: #151514;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 4px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(184, 155, 122, 0.2);
	width: 100%;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: clamp(24px, 3.5vw, 40px);
	position: relative;
	box-sizing: border-box;
	color: #fff;
	overscroll-behavior: contain;
}

.modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 5;
}

.modal__close:hover {
	background: rgba(184, 155, 122, 0.25);
	border-color: var(--tan-br);
	color: var(--tan-lt);
	transform: scale(1.08);
}

.modal__header {
	margin-bottom: 20px;
}

.modal__brand-group {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.5vw, 14px);
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.modal__brand {
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.04em;
}

.modal__brand b {
	font-weight: 600;
}

.modal__brand i {
	font-style: italic;
	font-weight: 300;
	color: var(--dim);
}

.modal__tag {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tan-lt);
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	padding-left: 10px;
}

.modal__partner {
	display: flex;
	align-items: center;
	gap: 6px;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	padding-left: 10px;
}

.modal__partner-label {
	font-size: 8px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim-2);
}

.modal__title {
	font-size: clamp(20px, 2.4vw, 26px);
	font-family: var(--font-display);
	font-weight: 500;
	color: #fff;
	margin: 0 0 6px;
	line-height: 1.25;
}

.modal__subtitle {
	font-size: 13.5px;
	color: var(--dim);
	margin: 0;
	line-height: 1.5;
	font-weight: 300;
}

.modal__card .field label {
	color: #dedad3;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-weight: 500;
	display: block;
}

.modal__card .field input,
.modal__card .field select {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 14px;
	border-radius: 2px;
	width: 100%;
	box-sizing: border-box;
}

.modal__card .field select option {
	background: #1a1a19;
	color: #ffffff;
}

.modal__card .field input:focus,
.modal__card .field select:focus {
	border-color: var(--tan-br);
	outline: none;
	background: rgba(255, 255, 255, 0.09);
}

.modal__card .formbox__micro {
	color: var(--dim-2);
	font-size: 11.5px;
	line-height: 1.5;
	margin-top: 16px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	fill: var(--dim-2);
}

.modal__card .form-success {
	color: #ffffff;
	text-align: center;
	padding: 24px 0;
}

.modal__card .form-success h3 {
	color: #ffffff;
	font-size: 20px;
	margin: 12px 0 8px;
}

.modal__card .form-success p {
	color: var(--dim);
	font-size: 14px;
	line-height: 1.6;
}

@media (max-width: 600px) {
	.modal__card {
		padding: 24px 18px;
	}
	.modal__brand-group {
		gap: 8px;
	}
	.modal__dialog {
		padding: 10px;
	}
}
