/* PropertyMitras homepage data blocks (includes/home.php), Figma 116:390. Values read Elementor globals (--pm-*). */

/* ---------- Hero search card (376 wide, 32px padding, 32px radius) ---------- */
.pm-hsearch { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 376px; margin: 0; padding: 32px; border-radius: var(--pm-radius-xl); background: var(--pm-neutral-0); box-shadow: 0 24px 64px rgb(0 22 42 / 0.25); box-sizing: border-box; }
.pm-hsearch .pm-hsearch__title { margin: 0; color: var(--pm-navy-700); font: 600 24px/30px var(--pm-font-display), system-ui, sans-serif; }
.pm-hsearch__sub { margin: -14px 0 4px; color: var(--pm-neutral-500); font: 400 14px/20px var(--pm-font-body), system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.pm-hseg { display: flex; padding: 4px; border-radius: var(--pm-radius-pill); background: var(--pm-neutral-50); }
.pm-hseg label { flex: 1 1 auto; cursor: pointer; }
.pm-hseg input { position: absolute; opacity: 0; pointer-events: none; }
.pm-hseg span { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 10px; border-radius: var(--pm-radius-pill); color: var(--pm-neutral-700); font: 500 12px/18px var(--pm-font-display), system-ui, sans-serif; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease; }
.pm-hseg input:checked + span { background: var(--pm-navy-700); color: var(--pm-neutral-0); }
.pm-hseg input:focus-visible + span { outline: 2px solid var(--pm-navy-700); outline-offset: 2px; }
.pm-hsearch__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pm-hsearch__label { padding: 0; color: var(--pm-neutral-700); font: 500 13px/18px var(--pm-font-display), system-ui, sans-serif; }
.pm-hsearch__control { position: relative; display: block; }
.pm-hsearch__control .pm-icon { position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; margin-top: -10px; color: var(--pm-orange-700); pointer-events: none; }
.pm-hsearch select, .pm-hsearch input[type="search"] {
	width: 100%; height: 52px; margin: 0; padding: 0 48px 0 20px; border: 0; border-radius: 16px; background: var(--pm-neutral-50); box-shadow: none;
	color: var(--pm-neutral-900); font: 400 15px/22px var(--pm-font-body), system-ui, sans-serif; -webkit-appearance: none; appearance: none; transition: box-shadow 150ms ease;
}
.pm-hsearch select:focus, .pm-hsearch input[type="search"]:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--pm-navy-700); }
.pm-hsearch input::placeholder { color: var(--pm-neutral-500); }
.pm-hsearch .pm-fchips { flex-wrap: nowrap; gap: 8px; }
.pm-hsearch .pm-fchip { flex: 1; }
.pm-hsearch .pm-fchip span { width: 100%; min-width: 0; height: 40px; padding: 0 6px; background: var(--pm-neutral-50); font-size: 13px; }
.pm-hsearch .pm-hsearch__submit, .pm-hsearch .pm-hsearch__submit:hover, .pm-hsearch .pm-hsearch__submit:focus {
	height: 56px; margin-top: 10px; border: 0; border-radius: var(--pm-radius-pill); background: var(--pm-navy-700); color: var(--pm-neutral-0);
	font: 600 16px/22px var(--pm-font-display), system-ui, sans-serif; cursor: pointer; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease;
}
.pm-hsearch .pm-hsearch__submit:hover { background: var(--pm-navy-800); }
.pm-hsearch .pm-hsearch__submit:active { transform: scale(0.97); }
.pm-hsearch .pm-hsearch__help { align-self: center; color: var(--pm-navy-900); font: 500 13px/20px var(--pm-font-display), system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.pm-hsearch .pm-hsearch__help:hover { color: var(--pm-orange-700); }
.pm-hsearch .pm-hsearch__bhk { display: none; }
/* Mobile, Figma 2027:3098: compact card, labels sit inside 56px outlined fields, budget + configuration share a row. */
@media (max-width: 767px) {
	.pm-hsearch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; max-width: none; padding: 20px 16px 16px; border-radius: 20px; box-shadow: 0 8px 24px rgb(0 22 42 / 0.08); }
	.pm-hsearch > * { grid-column: 1 / -1; }
	.pm-hsearch .pm-hsearch__title { font-size: 18px; line-height: 24px; }
	.pm-hsearch .pm-hsearch__sub, .pm-hsearch .pm-hseg, .pm-hsearch fieldset.pm-hsearch__field, .pm-hsearch .pm-hsearch__help { display: none; }
	.pm-hsearch .pm-hsearch__field { position: relative; gap: 0; }
	.pm-hsearch .pm-hsearch__bhk { display: flex; }
	.pm-hsearch .pm-hsearch__field:has(select[name="budget"]), .pm-hsearch .pm-hsearch__bhk { grid-column: auto; }
	.pm-hsearch .pm-hsearch__label { position: absolute; top: 8px; left: 17px; z-index: 1; color: var(--pm-neutral-500); font: 400 13px/19px var(--pm-font-body), system-ui, sans-serif; pointer-events: none; }
	.pm-hsearch select, .pm-hsearch input[type="search"] {
		height: 56px; padding: 27px 44px 8px 16px; border: 1px solid var(--pm-neutral-100); border-radius: 14px; background: var(--pm-neutral-0);
		color: var(--pm-navy-700); font: 500 14px/20px var(--pm-font-display), system-ui, sans-serif; text-overflow: ellipsis;
	}
	.pm-hsearch input[type="search"]::placeholder { color: var(--pm-neutral-500); }
	.pm-hsearch .pm-hsearch__control .pm-icon { right: 12px; width: 24px; height: 24px; margin-top: -12px; color: var(--pm-navy-700); }
	.pm-hsearch .pm-hsearch__submit, .pm-hsearch .pm-hsearch__submit:hover, .pm-hsearch .pm-hsearch__submit:focus { height: 48px; margin-top: 0; font-size: 15px; line-height: 20px; }
}

/* ---------- Project spotlight ---------- */
.pm-spot { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--pm-radius-xl); background: var(--pm-navy-600); isolation: isolate; }
.pm-spot .pm-spot__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.pm-spot__live { position: absolute; top: 28px; right: 40px; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: var(--pm-radius-pill); background: var(--pm-navy-800); color: var(--pm-neutral-0); font: 500 12px/18px var(--pm-font-display), system-ui, sans-serif; }
.pm-spot__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--pm-orange-500); animation: pm-pulse 1.8s ease-in-out infinite; }
@keyframes pm-pulse { 50% { opacity: 0.35; } }
.pm-spot__card { position: absolute; bottom: 44px; left: 72px; width: min(460px, calc(100% - 48px)); padding: 32px; border-radius: var(--pm-radius-lg); background: var(--pm-neutral-0); box-sizing: border-box; }
.pm-spot__card .pm-eyebrow { margin-bottom: 14px; }
.pm-spot .pm-spot__name { margin: 0; font: 600 28px/36px var(--pm-font-display), system-ui, sans-serif; }
.pm-spot .pm-spot__name a { color: var(--pm-navy-700); text-decoration: none; }
.pm-spot__meta { margin: 4px 0 0; color: var(--pm-neutral-500); font: 400 14px/20px var(--pm-font-body), system-ui, sans-serif; }
.pm-spot__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.pm-spot__chips .pm-chip--static { background: var(--pm-neutral-50); color: var(--pm-neutral-900); }
.pm-spot__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.pm-spot__stat { display: flex; flex-direction: column; margin: 0; }
.pm-spot__stat strong { color: var(--pm-navy-700); font: 600 26px/32px var(--pm-font-display), system-ui, sans-serif; }
.pm-spot__stat span { color: var(--pm-neutral-500); font: 400 12px/18px var(--pm-font-body), system-ui, sans-serif; }
.pm-spot .pm-spot__btn { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; margin-left: auto; border-radius: var(--pm-radius-pill); background: var(--pm-navy-700); color: var(--pm-neutral-0); font: 600 15px/20px var(--pm-font-display), system-ui, sans-serif; text-decoration: none; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease; }
.pm-spot .pm-spot__btn:hover { background: var(--pm-navy-800); color: var(--pm-neutral-0); }
.pm-spot .pm-spot__btn:active { transform: scale(0.97); }
.pm-spot .pm-spot__video { position: absolute; right: 40px; bottom: 44px; display: block; width: 320px; height: 200px; overflow: hidden; border-radius: var(--pm-radius-lg); color: var(--pm-neutral-0); text-decoration: none; }
.pm-spot__video img { width: 100%; height: 100%; object-fit: cover; }
.pm-spot__video::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(0 22 42 / 0.8)); }
.pm-spot__play, .pm-reel__play { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--pm-neutral-0); color: var(--pm-navy-900); transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.pm-spot__play .pm-icon, .pm-reel__play .pm-icon { width: 20px; height: 20px; fill: currentColor !important; }
.pm-spot__vtext { position: absolute; right: 20px; bottom: 16px; left: 20px; z-index: 1; display: flex; flex-direction: column; font: 400 12px/18px var(--pm-font-body), system-ui, sans-serif; }
.pm-spot__vtext strong { font: 600 14px/20px var(--pm-font-display), system-ui, sans-serif; }
/* Mobile, Figma 2027:3364: a 300px photo, a one-line caption, then a full-width white button. */
@media (max-width: 767px) {
	.pm-spot { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 0; overflow: visible; border-radius: 0; background: none; }
	.pm-spot .pm-spot__bg { position: static; z-index: auto; height: 300px; border-radius: 20px; }
	.pm-spot__live, .pm-spot .pm-spot__video, .pm-spot__card .pm-eyebrow, .pm-spot__chips, .pm-spot__stat { display: none; }
	.pm-spot__card { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; width: 100%; padding: 0; background: none; }
	.pm-spot .pm-spot__name { font: 500 14px/20px var(--pm-font-display), system-ui, sans-serif; }
	.pm-spot .pm-spot__name a { color: var(--pm-neutral-0); }
	.pm-spot__meta { margin: 0; color: var(--pm-neutral-0); font: 500 14px/20px var(--pm-font-display), system-ui, sans-serif; }
	.pm-spot__meta::before { content: "·"; margin-right: 8px; }
	.pm-spot__foot { flex: 1 0 100%; margin-top: 16px; }
	.pm-spot .pm-spot__btn, .pm-spot .pm-spot__btn:hover { justify-content: center; width: 100%; height: 51px; margin: 0; background: var(--pm-neutral-0); color: var(--pm-navy-700); }
}

/* ---------- Reviews (dark section) ---------- */
.pm-rstats { display: flex; align-items: center; gap: 28px; }
.pm-rstats p { display: flex; align-items: center; gap: 16px; margin: 0; }
.pm-rstats__rating strong { color: var(--pm-neutral-0); font: 600 64px/1 var(--pm-font-display), system-ui, sans-serif; letter-spacing: -0.02em; }
.pm-rstats__rating > span, .pm-rstats__saved span { display: flex; flex-direction: column; color: var(--pm-navy-100); font: 400 13px/20px var(--pm-font-body), system-ui, sans-serif; }
.pm-rstats__saved { flex-direction: column; align-items: flex-start !important; gap: 2px !important; padding-left: 24px; border-left: 1px solid rgb(255 255 255 / 0.12); }
.pm-rstats__saved strong { color: var(--pm-orange-500); font: 600 30px/38px var(--pm-font-display), system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.pm-stars { color: var(--pm-orange-500); font-size: 16px; letter-spacing: 3px; }
.pm-reviews__track { display: grid; grid-auto-columns: calc((100% - 64px) / 3); grid-auto-flow: column; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pm-reviews__track::-webkit-scrollbar { display: none; }
.pm-review { display: flex; flex-direction: column; margin: 0; padding: 28px 32px; border-radius: var(--pm-radius-lg); background: var(--pm-neutral-0); scroll-snap-align: start; }
.pm-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-review__saved { padding: 4px 16px; border-radius: var(--pm-radius-pill); background: var(--pm-orange-50); color: var(--pm-orange-700); font: 600 12px/18px var(--pm-font-display), system-ui, sans-serif; }
.pm-review blockquote { flex: 1; margin: 28px 0; padding: 0; border: 0; color: var(--pm-neutral-900); font: 500 18px/30px var(--pm-font-display), system-ui, sans-serif; quotes: "“" "”"; }
.pm-review blockquote::before { content: open-quote; }
.pm-review blockquote::after { content: close-quote; }
.pm-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--pm-neutral-100); color: var(--pm-neutral-500); font: 400 13px/18px var(--pm-font-body), system-ui, sans-serif; }
.pm-review figcaption > span:last-child { display: flex; flex-direction: column; }
.pm-review figcaption strong { color: var(--pm-navy-700); font: 600 15px/22px var(--pm-font-display), system-ui, sans-serif; }
.pm-review__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pm-orange-100); color: var(--pm-navy-700); font: 600 14px/1 var(--pm-font-display), system-ui, sans-serif; }
.pm-reviews__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.pm-reviews .pm-reviews__all { color: var(--pm-neutral-0); font: 600 15px/22px var(--pm-font-display), system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.pm-reviews__nav { display: flex; gap: 8px; }
.pm-reviews .pm-round, .pm-reviews .pm-round:hover, .pm-reviews .pm-round:focus { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--pm-navy-600); color: var(--pm-neutral-0); font-size: 18px; cursor: pointer; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.pm-reviews .pm-round--orange, .pm-reviews .pm-round--orange:hover, .pm-reviews .pm-round--orange:focus { background: var(--pm-orange-500); color: var(--pm-navy-900); }
.pm-reviews .pm-round:active { transform: scale(0.94); }
.pm-outlets { display: flex; align-items: center; gap: 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / 0.1); }
.pm-outlets .pm-eyebrow { flex: none; margin: 0; color: var(--pm-orange-500); }
.pm-outlets__list { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 72px; }
.pm-outlets .pm-outlets__item { color: rgb(255 255 255 / 0.6); font: 600 20px/28px var(--pm-font-display), system-ui, sans-serif; text-decoration: none; transition: color 150ms ease; }
.pm-outlets .pm-outlets__item:hover { color: var(--pm-neutral-0); }
.pm-outlets__item img { max-height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.6; }
@media (max-width: 1023px) { .pm-reviews__track { grid-auto-columns: calc((100% - 32px) / 2); } }
/* Mobile, Figma 2027:3366: one-line rating, one full-width card at a time, no arrows. */
@media (max-width: 767px) {
	.pm-rstats .pm-rstats__saved { display: none; }
	.pm-rstats p { gap: 8px; }
	.pm-rstats__rating strong { font: 500 14px/20px var(--pm-font-body), system-ui, sans-serif; letter-spacing: 0; }
	.pm-rstats__rating > span { flex-direction: row; gap: 8px; color: var(--pm-neutral-0); font-size: 14px; line-height: 20px; }
	.pm-rstats .pm-stars { font-size: 14px; letter-spacing: 1px; }
	.pm-reviews__track { grid-auto-columns: 100%; gap: 12px; }
	.pm-review { padding: 20px; border-radius: 20px; }
	.pm-review blockquote { margin: 16px 0; font: 400 15px/23px var(--pm-font-body), system-ui, sans-serif; }
	.pm-review figcaption { padding-top: 16px; }
	.pm-review__avatar { width: 40px; height: 40px; }
	.pm-review figcaption strong { font-size: 14px; line-height: 20px; font-weight: 500; }
	.pm-reviews__nav { display: none; }
	.pm-reviews__foot { margin-top: 16px; }
	.pm-reviews .pm-reviews__all { color: var(--pm-orange-500); font-size: 14px; line-height: 20px; text-decoration: none; }
	.pm-outlets { flex-direction: column; align-items: flex-start; gap: 20px; }
	.pm-outlets__list { gap: 16px 32px; }
}

/* ---------- Reels (9:16) ---------- */
.pm-reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pm-reels .pm-reel { position: relative; display: block; aspect-ratio: 248 / 420; overflow: hidden; border-radius: var(--pm-radius-lg); background: var(--pm-navy-700); color: var(--pm-neutral-0); text-decoration: none; }
.pm-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1); }
.pm-reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 22 42 / 0.85)); }
.pm-reel__text { position: absolute; right: 20px; bottom: 20px; left: 20px; z-index: 1; display: flex; flex-direction: column; gap: 8px; font: 400 12px/18px var(--pm-font-body), system-ui, sans-serif; color: rgb(255 255 255 / 0.8); }
.pm-reel__text strong { color: var(--pm-neutral-0); font: 600 15px/20px var(--pm-font-display), system-ui, sans-serif; }
@media (hover: hover) and (pointer: fine) {
	.pm-reels .pm-reel:hover img { transform: scale(1.04); }
	.pm-reels .pm-reel:hover .pm-reel__play, .pm-spot .pm-spot__video:hover .pm-spot__play { transform: scale(1.08); }
}
@media (max-width: 767px) { .pm-reels { display: flex; gap: 12px; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .pm-reels .pm-reel { flex: 0 0 62%; scroll-snap-align: start; } }

/* ---------- Articles ---------- */
.pm-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pm-article { position: relative; display: flex; flex-direction: column; }
.pm-article .pm-article__media { display: block; aspect-ratio: 422 / 250; overflow: hidden; margin-bottom: 28px; border-radius: var(--pm-radius-lg); background: var(--pm-navy-700); }
.pm-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.pm-article .pm-eyebrow { margin-bottom: 10px; }
.pm-article .pm-article__title { margin: 0; font: 600 20px/28px var(--pm-font-display), system-ui, sans-serif; }
.pm-article .pm-article__title a { color: var(--pm-navy-700); text-decoration: none; }
.pm-article .pm-article__title a::after { content: ""; position: absolute; inset: 0; }
.pm-article__meta { margin: 10px 0 0; color: var(--pm-neutral-500); font: 400 13px/20px var(--pm-font-body), system-ui, sans-serif; }
@media (hover: hover) and (pointer: fine) { .pm-article:hover .pm-article__media img { transform: scale(1.03); } }
@media (max-width: 767px) { .pm-articles { display: flex; gap: 16px; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .pm-article { flex: 0 0 82%; scroll-snap-align: start; } }

@media (prefers-reduced-motion: reduce) {
	.pm-spot__live i { animation: none; }
	.pm-reel img, .pm-article__media img { transition: none; }
}
