/* CRC Maesta — price strip.
   maesta-hero.css ke BAAD load karein, ya uske end me append kar dein. */

.maesta-pricestrip {
	background: #10233f;
	border-top: 2px solid #b99145;
	color: #fff;
}

.maesta-pricestrip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 4vw;
}

.maesta-pricestrip__item {
	flex: 1 1 auto;
	min-width: 0;
	padding: 22px 28px 22px 0;
	margin-right: 28px;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.maesta-pricestrip__item:last-of-type {
	border-right: 0;
}

.maesta-pricestrip__label {
	display: block;
	margin-bottom: 5px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.maesta-pricestrip__value {
	display: block;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	color: #fff;
}

/* Price is the reason this strip exists — let it carry the weight. */
.maesta-pricestrip__item--price .maesta-pricestrip__value {
	font-size: 26px;
	font-weight: 700;
	color: #d8bd83;
}

.maesta-pricestrip__tbc {
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	color: rgba(216, 189, 131, 0.75);
}

.maesta-pricestrip__actions {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 18px 0;
}

.maesta-pricestrip__phone {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 24px;
	border: 1px solid rgba(216, 189, 131, 0.5);
	border-radius: 999px;
	color: #d8bd83;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.maesta-pricestrip__phone:hover,
.maesta-pricestrip__phone:focus {
	background: #b99145;
	border-color: #b99145;
	color: #fff;
	text-decoration: none;
}

/* ---- Tablet ----------------------------------------------------------- */

@media (max-width: 1100px) {
	.maesta-pricestrip__inner {
		padding: 0 24px;
	}

	.maesta-pricestrip__item {
		flex: 1 1 40%;
		padding: 16px 20px 16px 0;
		margin-right: 20px;
	}

	.maesta-pricestrip__item--price .maesta-pricestrip__value {
		font-size: 23px;
	}

	.maesta-pricestrip__actions {
		flex: 1 1 100%;
		margin-left: 0;
		padding: 0 0 18px;
	}

	.maesta-pricestrip__phone {
		width: 100%;
		justify-content: center;
	}
}

/* ---- Mobile ----------------------------------------------------------- */

@media (max-width: 600px) {
	.maesta-pricestrip__inner {
		padding: 6px 18px;
	}

	/* Price first — it's what the ad clicked for. */
	.maesta-pricestrip__item--price {
		order: -1;
		flex: 1 1 100%;
		padding: 16px 0 14px;
		margin-right: 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.maesta-pricestrip__item {
		flex: 1 1 45%;
		padding: 12px 12px 12px 0;
		margin-right: 12px;
	}

	.maesta-pricestrip__item--price .maesta-pricestrip__value {
		font-size: 27px;
	}

	.maesta-pricestrip__value {
		font-size: 14px;
	}
}


/* =========================================================================
 * FIX: sub-nav was overlapping the top of the form panel.
 *
 * In the staging screenshot the "Get price & floor plans" heading is clipped
 * by the dark nav bar. The nav is positioned over the hero, so the panel needs
 * clearance equal to the nav height.
 *
 * Agar aapke theme me nav ki height alag hai toh --maesta-nav-h badal dein.
 * ====================================================================== */

.maesta-hero {
	--maesta-nav-h: 64px;
}

.maesta-hero__panel {
	padding-top: calc(56px + var(--maesta-nav-h));
}

@media (max-width: 1100px) {
	.maesta-hero {
		--maesta-nav-h: 0px; /* nav stacks above the hero here, no overlap */
	}

	.maesta-hero__panel {
		padding-top: 34px;
	}
}

/* Video side needs the same clearance so the eyebrow isn't hidden either. */
@media (min-width: 1101px) {
	.maesta-hero__copy {
		padding-top: calc(72px + var(--maesta-nav-h));
	}
}
