/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

:root {
	/* Brand palette */
	--nomax-bg: #2b2d2c;            /* Dark Grey (primary) */
	--nomax-secondary: #465666;     /* Blueish Grey (secondary) */
	--nomax-accent: #a6c8e1;        /* Light Blue (primary accent) */
	--nomax-accent-strong: #7aa8cc;
	--nomax-text: #daeaf7;          /* Light Grey (secondary light, body text) */
	--nomax-muted: #b7c9d7;
	--nomax-surface: #32383d;
	--nomax-surface-2: #3a4248;
	--nomax-border: rgba(166, 200, 225, 0.22);
	--nomax-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
	--nomax-radius: 16px;
	--nomax-container: 1600px;
	--nomax-header-offset: clamp(108px, 9vw, 140px);
	/* Brand typography */
	--nomax-font: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--e-global-typography-primary-font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--e-global-typography-secondary-font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--e-global-typography-text-font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--e-global-typography-accent-font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	/* Section / hero headings — size + gradients (dark sections vs light sections) */
	--nomax-heading-xl: clamp(2.15rem, 1.1rem + 4.2vw, 3.65rem);
	--nomax-heading-hero: clamp(2.4rem, 1.35rem + 4.8vw, 4.25rem);
	/* Light-on-dark: white → mist → accent */
	--nomax-heading-grad-on-dark: linear-gradient(
		105deg,
		#ffffff 0%,
		#f4f8fb 22%,
		#daeaf7 52%,
		rgba(166, 200, 225, 0.98) 100%
	);
	/* Dark-on-light: charcoal → slate → silver → white */
	--nomax-heading-grad-on-light: linear-gradient(
		100deg,
		#06090d 0%,
		#1c2735 18%,
		#4a5d72 42%,
		#b9c9d9 72%,
		#ffffff 92%
	);
	/* Banner headings on light heroes — no white tail (stays readable on pale overlays) */
	--nomax-heading-grad-banner-light: linear-gradient(
		100deg,
		#06090d 0%,
		#1c2735 22%,
		#3d4f63 48%,
		#5a6d82 78%,
		#6f8294 100%
	);
	/* Softer corner haze (especially top/bottom right) for property banners */
	--nomax-white-smoke-soft: radial-gradient(ellipse 58% 48% at 100% -4%, rgba(166, 200, 225, 0.022), transparent 50%),
		radial-gradient(ellipse 68% 54% at -5% 106%, rgba(166, 200, 225, 0.04), transparent 56%),
		radial-gradient(ellipse 48% 38% at 102% 96%, rgba(166, 200, 225, 0.014), transparent 48%),
		#ffffff;
	/* Hero headline: soft champagne / warm mist into white & light blue */
	--nomax-heading-grad-hero: linear-gradient(
		102deg,
		#faf6ef 0%,
		#f5ebe3 14%,
		#ffffff 38%,
		#eef4fb 72%,
		rgba(166, 200, 225, 0.92) 100%
	);
	/* Hero accent phrase (e.g. “in the UAE”) — light gold into bright mist */
	--nomax-heading-grad-hero-accent: linear-gradient(110deg, #e6c788 0%, #f9fafc 72%);
	/*
	 * Whisper smoke on white: tiny #a6c8e1 haze in corners (soft radial → transparent).
	 * Reads like ambient shadow, not a colored band.
	 */
	--nomax-white-smoke: radial-gradient(ellipse 72% 58% at 100% -6%, rgba(166, 200, 225, 0.055), transparent 58%),
		radial-gradient(ellipse 68% 54% at -5% 106%, rgba(166, 200, 225, 0.048), transparent 56%),
		radial-gradient(ellipse 56% 46% at 104% 98%, rgba(166, 200, 225, 0.036), transparent 54%),
		#ffffff;
}

/*
 * Override Hello Elementor .site-main caps (500 / 600 / 800 / 1140px in theme.css).
 * Child stylesheet must load after hello-elementor-theme-style (see functions.php).
 */
body:not([class*="elementor-page-"]) .site-main {
	max-width: var(--nomax-container, 1600px) !important;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 576px) {
	body:not([class*="elementor-page-"]) .site-main {
		max-width: var(--nomax-container, 1600px) !important;
	}
}

@media (min-width: 768px) {
	body:not([class*="elementor-page-"]) .site-main {
		max-width: var(--nomax-container, 1600px) !important;
	}
}

@media (min-width: 992px) {
	body:not([class*="elementor-page-"]) .site-main {
		max-width: var(--nomax-container, 1600px) !important;
	}
}

@media (min-width: 1200px) {
	body:not([class*="elementor-page-"]) .site-main {
		max-width: var(--nomax-container, 1600px) !important;
	}
}

/*
 * Global typography — Helvetica Neue site-wide (templates, header, footer, Elementor).
 * Icon fonts (eicons, dashicons, Font Awesome) are excluded so glyphs still render.
 */
html {
	font-family: var(--nomax-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body,
.site-header,
.site-footer,
.site-main,
.site-navigation,
.menu,
button:not(.dashicons):not([class*="eicon"]),
input,
select,
textarea,
label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
td,
th,
blockquote,
figcaption,
.home-premium-template,
.home-premium-template h1,
.home-premium-template h2,
.home-premium-template h3,
.home-premium-template h4,
.home-premium-template h5,
.home-premium-template h6,
.home-premium-template p,
.home-premium-template a,
.home-premium-template span,
.home-premium-template button,
.home-premium-template input,
.home-premium-template select,
.home-premium-template textarea,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button,
.elementor-widget-icon-box .elementor-icon-box-title,
.elementor-widget-icon-box .elementor-icon-box-description,
.elementor-widget-icon-list .elementor-icon-list-text,
.elementor-widget-nav-menu .elementor-item,
.elementor-widget-form .elementor-field,
.elementor-widget-form .elementor-button,
.elementor-widget-accordion .elementor-accordion-title,
.elementor-widget-tabs .elementor-tab-title,
.elementor-widget-counter .elementor-counter-number,
.elementor-widget-counter .elementor-counter-title,
.elementor-widget-testimonial .elementor-testimonial-content,
.elementor-widget-testimonial .elementor-testimonial-name,
.elementor-widget-price-table,
.wpcf7,
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea,
.wpcf7-form label,
.wpcf7-form .wpcf7-submit {
	font-family: var(--nomax-font) !important;
}

body {
	background: #ffffff;
	color: #2b2d2c;
	font-family: var(--nomax-font);
	font-weight: 400;
	line-height: 1.65;
}

/* -------------------------------------------------------------------------
   Theme prose — add CSS class "text-editor" on Elementor Text Editor widgets
   (Advanced → CSS Classes) or any rich-text wrapper.
   ------------------------------------------------------------------------- */

.text-editor,
.elementor-element.text-editor .elementor-widget-container {
	font-family: var(--nomax-font);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	line-height: 1.8;
	color: #5b6878;
	letter-spacing: 0.01em;
	max-width: 78ch;
}

.text-editor > *:first-child,
.elementor-element.text-editor .elementor-widget-container > *:first-child {
	margin-top: 0;
}

.text-editor p,
.elementor-element.text-editor .elementor-widget-container p {
	margin: 0 0 1.15em;
}

.text-editor p:last-child,
.elementor-element.text-editor .elementor-widget-container p:last-child {
	margin-bottom: 0;
}

.text-editor h2,
.text-editor h3,
.text-editor h4,
.elementor-element.text-editor .elementor-widget-container h2,
.elementor-element.text-editor .elementor-widget-container h3,
.elementor-element.text-editor .elementor-widget-container h4 {
	margin: 2.25em 0 0.85em;
	padding-bottom: 0.65em;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	border-bottom: 1px solid rgba(70, 86, 102, 0.12);
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.text-editor h2,
	.text-editor h3,
	.text-editor h4,
	.elementor-element.text-editor .elementor-widget-container h2,
	.elementor-element.text-editor .elementor-widget-container h3,
	.elementor-element.text-editor .elementor-widget-container h4 {
		color: transparent;
	}
}

.text-editor h2,
.elementor-element.text-editor .elementor-widget-container h2 {
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.65rem);
}

.text-editor h3,
.elementor-element.text-editor .elementor-widget-container h3 {
	font-size: clamp(1.12rem, 1rem + 0.55vw, 1.32rem);
	margin-top: 2em;
}

.text-editor h4,
.elementor-element.text-editor .elementor-widget-container h4 {
	font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.12rem);
	margin-top: 1.75em;
	border-bottom: 0;
	padding-bottom: 0;
	color: #2b2d2c;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.text-editor h4,
	.elementor-element.text-editor .elementor-widget-container h4 {
		color: #2b2d2c;
		-webkit-text-fill-color: #2b2d2c;
		background: none;
	}
}

.text-editor h2 + p,
.text-editor h3 + p,
.text-editor h4 + p,
.elementor-element.text-editor .elementor-widget-container h2 + p,
.elementor-element.text-editor .elementor-widget-container h3 + p,
.elementor-element.text-editor .elementor-widget-container h4 + p {
	margin-top: 0.35em;
}

.text-editor a,
.elementor-element.text-editor .elementor-widget-container a {
	color: var(--nomax-secondary, #465666);
	text-decoration: underline;
	text-decoration-color: rgba(70, 86, 102, 0.35);
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.text-editor a:hover,
.text-editor a:focus,
.elementor-element.text-editor .elementor-widget-container a:hover,
.elementor-element.text-editor .elementor-widget-container a:focus {
	color: var(--nomax-accent-strong, #7aa8cc);
	text-decoration-color: rgba(122, 168, 204, 0.55);
}

.text-editor strong,
.text-editor b,
.elementor-element.text-editor .elementor-widget-container strong,
.elementor-element.text-editor .elementor-widget-container b {
	color: #2b2d2c;
	font-weight: 700;
}

.text-editor ul,
.text-editor ol,
.elementor-element.text-editor .elementor-widget-container ul,
.elementor-element.text-editor .elementor-widget-container ol {
	margin: 0 0 1.15em;
	padding-left: 1.4em;
}

.text-editor li,
.elementor-element.text-editor .elementor-widget-container li {
	margin-bottom: 0.5em;
}

.text-editor li::marker,
.elementor-element.text-editor .elementor-widget-container li::marker {
	color: var(--nomax-accent-strong, #7aa8cc);
}

.text-editor blockquote,
.elementor-element.text-editor .elementor-widget-container blockquote {
	margin: 1.5em 0;
	padding: 1.1em 1.35em;
	border: 0;
	border-left: 3px solid var(--nomax-accent, #a6c8e1);
	border-radius: 0 12px 12px 0;
	background: rgba(166, 200, 225, 0.1);
	color: #465666;
	font-size: 1.05em;
	line-height: 1.7;
}

.text-editor img,
.elementor-element.text-editor .elementor-widget-container img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5em 0;
	border-radius: 12px;
}

.text-editor hr,
.elementor-element.text-editor .elementor-widget-container hr {
	margin: 2.5em 0;
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(70, 86, 102, 0.18), transparent);
}

/* Optional: full-width article body — add class "text-editor text-editor--wide" */
.text-editor.text-editor--wide,
.elementor-element.text-editor.text-editor--wide .elementor-widget-container {
	max-width: none;
}

/*
 * Global button reset (aggressive).
 * Hello Elementor's reset.css forces a pink (#c36) border + hover background on every
 * <button>, [type=button] and [type=submit]. We strip those defaults site-wide so our
 * themed buttons (.btn, .hero-search-button, .nomax-gallery-trigger, .popular-tab,
 * .popular-cta, .how-step, .how-panel__next, .nomax-lightbox__close, etc.) render
 * cleanly. Themed buttons re-declare their own background/border below and stay intact.
 */
button,
[type="button"],
[type="submit"],
[type="reset"] {
	border: 0 !important;
	border-color: transparent !important;
	background-color: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
	border-radius: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}

button:hover,
button:focus,
button:active,
button:visited,
[type="button"]:hover,
[type="button"]:focus,
[type="button"]:active,
[type="button"]:visited,
[type="submit"]:hover,
[type="submit"]:focus,
[type="submit"]:active,
[type="submit"]:visited,
[type="reset"]:hover,
[type="reset"]:focus,
[type="reset"]:active,
[type="reset"]:visited {
	background-color: transparent !important;
	border-color: transparent !important;
	color: inherit !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

button:focus:not(:focus-visible),
[type="button"]:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
[type="reset"]:focus:not(:focus-visible) {
	outline: 0;
}

/*
 * Re-apply intentional styles for our themed buttons. The global reset above uses
 * !important so any custom button must also use !important to win the cascade.
 */

/* Hero search square icon button */
.hero-search-button {
	background: linear-gradient(140deg, #5b8bbd, #3f6996) !important;
	color: #ffffff !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 22px rgba(14, 24, 38, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.hero-search-button:hover,
.hero-search-button:focus,
.hero-search-button:active {
	background: linear-gradient(140deg, #6695c6, #4a76a4) !important;
	color: #ffffff !important;
	box-shadow: 0 14px 28px rgba(14, 24, 38, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* Popular Property tabs */
.popular-tab {
	background: #ffffff !important;
	color: #5b6878 !important;
	border: 1px solid rgba(13, 17, 24, 0.1) !important;
	border-radius: 6px !important;
}

.popular-tab:hover {
	color: #0d1118 !important;
	border-color: rgba(13, 17, 24, 0.2) !important;
}

.popular-tab.is-active {
	background: #a6c8e1 !important;
	color: #ffffff !important;
	border-color: #a6c8e1 !important;
	box-shadow: 0 6px 16px rgba(166, 200, 225, 0.35) !important;
}

/* How It Works step buttons — inactive: white tile + dark icon; active: muted blue tile */
.how-step__icon {
	background: #ffffff !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.how-step:not(.is-active) .how-step__icon svg {
	stroke: #1a1a1a !important;
	color: #1a1a1a !important;
}

.how-step.is-active .how-step__icon {
	background: #a6c8e1 !important;
	box-shadow: 0 8px 20px rgba(166, 200, 225, 0.45) !important;
}

.how-step.is-active .how-step__icon svg {
	stroke: #ffffff !important;
	color: #ffffff !important;
}

.how-step:not(.is-active):hover .how-step__icon {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

/* How It Works "Next" button */
.how-panel__next {
	color: #3f6996 !important;
}

.how-panel__next:hover,
.how-panel__next:focus {
	color: #0d1118 !important;
}

/* Lightbox close button (single property gallery) */
.nomax-lightbox__close {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #ffffff !important;
	border-radius: 999px !important;
}

.nomax-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
}

a {
	color: var(--nomax-accent);
	text-decoration: none;
	transition: color 0.28s ease;
}

a:hover {
	color: var(--nomax-text);
}

.home-premium-template .container {
	width: min(100% - 40px, var(--nomax-container));
	margin-inline: auto;
}

.home-premium-template .section {
	padding: 92px 0;
	position: relative;
}

/* Premium home — section titles (light backgrounds vs dark sections) */
.home-premium-template .browse-section__title,
.home-premium-template .popular-section__title,
.home-premium-template .testimonials-head h2,
.home-premium-template .insights .container > h2 {
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.home-premium-template .browse-section__title,
	.home-premium-template .popular-section__title,
	.home-premium-template .testimonials-head h2,
	.home-premium-template .insights .container > h2 {
		color: transparent;
	}
}

.home-premium-template .why-choose > .container > h2,
.home-premium-template .how-it-works__title,
.home-premium-template .explore-locations__title,
.home-premium-template .investment-copy h2,
.home-premium-template .services-head__title,
.home-premium-template .cta-content h2 {
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: #ffffff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.home-premium-template .why-choose > .container > h2,
	.home-premium-template .how-it-works__title,
	.home-premium-template .explore-locations__title,
	.home-premium-template .investment-copy h2,
	.home-premium-template .services-head__title,
	.home-premium-template .cta-content h2 {
		color: transparent;
	}
}

.home-premium-template .services-head__title {
	margin: 0 0 14px;
	text-wrap: balance;
}

.home-premium-template .section > .container > p {
	max-width: 700px;
	margin: 0 0 28px;
	color: var(--nomax-muted);
}

.home-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 124px 0 80px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(130deg, rgba(255, 255, 255, 0.02) 8%, rgba(13, 24, 40, 0.9) 85%),
		linear-gradient(180deg, rgba(5, 12, 22, 0.2) 0%, rgba(6, 13, 23, 0.62) 100%);
}

.home-hero .container {
	position: relative;
	z-index: 2;
	max-width: 1140px;
}

.home-hero h1 {
	margin: 0 0 18px;
	font-size: var(--nomax-heading-hero);
	line-height: 1.08;
	letter-spacing: -0.035em;
	font-weight: 700;
	max-width: 760px;
	background: var(--nomax-heading-grad-hero);
	-webkit-background-clip: text;
	background-clip: text;
	color: #faf6ef;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.home-hero h1 {
		color: transparent;
	}
}

.hero-heading-accent {
	display: inline-block;
	background: var(--nomax-heading-grad-hero-accent);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: none;
}

.home-hero p {
	max-width: 660px;
	font-size: clamp(1rem, 0.95rem + 0.45vw, 1.22rem);
	color: rgba(218, 234, 247, 0.9);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0 18px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
	background: linear-gradient(145deg, var(--nomax-accent), var(--nomax-accent-strong));
	color: #15202a;
	box-shadow: 0 8px 26px rgba(122, 168, 204, 0.42);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(122, 168, 204, 0.5);
	color: #111b23;
}

.btn-secondary {
	background: rgba(166, 200, 225, 0.08);
	border-color: var(--nomax-border);
	color: var(--nomax-text);
	backdrop-filter: blur(7px);
}

.btn-secondary:hover {
	transform: translateY(-2px);
	background: rgba(166, 200, 225, 0.14);
}

#nomax-hero-3d {
	margin-top: 30px;
	height: clamp(220px, 36vw, 420px);
	border-radius: calc(var(--nomax-radius) + 6px);
	border: 1px solid var(--nomax-border);
	background: linear-gradient(150deg, rgba(166, 200, 225, 0.12), rgba(70, 86, 102, 0.16));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--nomax-shadow);
}

.home-hero #nomax-hero-3d {
	display: none;
}

.hero-copy {
	max-width: 780px;
}

.hero-search {
	margin-top: 34px;
	padding: 14px 18px;
	border-radius: 20px;
	border: 0.5px solid rgba(255, 255, 255, 0.35);
	background: linear-gradient(125deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	box-shadow:
		inset 0 1px 1px rgba(255, 255, 255, 0.26),
		inset 0 -12px 22px rgba(6, 12, 22, 0.28),
		0 18px 50px rgba(6, 14, 26, 0.55);
}

.hero-search-headline {
	margin-bottom: 12px;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(218, 234, 247, 0.8);
}

.hero-search-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	align-items: stretch;
	gap: 0;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(6, 15, 26, 0.24);
}

.hero-search-grid:has(.nomax-type-picker.is-open),
.hero-search-grid:has([data-nomax-picker].is-open) {
	overflow: visible;
}

.hero-search-segment:has(.nomax-type-picker),
.hero-search-segment:has([data-nomax-picker]) {
	position: relative;
	z-index: 6;
	overflow: visible;
}

.hero-search:has(.nomax-type-picker.is-open),
.hero-search:has([data-nomax-picker].is-open) {
	overflow: visible;
	z-index: 20;
}

.hero-search-segment {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 74px;
}

.hero-search-segment + .hero-search-segment {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search-label {
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(218, 234, 247, 0.58);
	margin-bottom: 4px;
}

.hero-search-value {
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
}

.hero-search-action {
	padding: 10px;
	min-width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	width: 54px;
	min-height: 54px;
	padding: 0;
	border-radius: 12px;
	border: 0;
	background: linear-gradient(140deg, #5b8bbd, #3f6996);
	color: #ffffff;
	font-size: 0;
	line-height: 0;
	box-shadow: 0 10px 22px rgba(14, 24, 38, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease, color 0.26s ease;
}

.hero-search-icon {
	width: 22px;
	height: 22px;
	display: block;
	color: #ffffff;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.hero-search-button:hover {
	color: #ffffff;
	transform: translateY(-2px);
	background: linear-gradient(140deg, #6695c6, #4a76a4);
	box-shadow: 0 14px 28px rgba(14, 24, 38, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-search-button:focus,
.hero-search-button:focus-visible,
.hero-search-button:active {
	outline: none;
	color: #ffffff;
	background: linear-gradient(140deg, #6695c6, #4a76a4);
	box-shadow: 0 0 0 3px rgba(166, 200, 225, 0.35), 0 14px 28px rgba(14, 24, 38, 0.46);
}

.hero-reveal-text {
	animation: heroRevealText 0.9s ease-out both;
}

.hero-reveal-search {
	animation: heroRevealSearch 0.95s ease-out 0.15s both;
}

@keyframes heroRevealText {
	0% {
		opacity: 0;
		transform: translateY(26px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes heroRevealSearch {
	0% {
		opacity: 0;
		transform: translateY(32px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-reveal-text,
	.hero-reveal-search {
		animation: none;
	}

	.services-carousel__viewport {
		scroll-behavior: auto;
		overflow-x: visible;
		scroll-snap-type: none;
		mask-image: none;
		-webkit-mask-image: none;
	}

	.services-carousel__track {
		flex-wrap: wrap;
		justify-content: center;
		padding-inline: 16px;
		gap: 22px;
	}

	.services-carousel__slide {
		flex: 1 1 min(300px, 100%);
		max-width: 460px;
		scroll-snap-align: unset;
	}

	.services-carousel__slide:not(.services-carousel__slide--active) .services-card,
	.services-carousel__slide.services-carousel__slide--active .services-card {
		transform: none;
		opacity: 1;
		filter: none;
	}

	.services-carousel__chrome {
		display: none;
	}

	.home-premium-template .testimonials,
	.section.testimonials {
		animation: none;
	}

	.home-premium-template .testimonials::before,
	.section.testimonials::before,
	.home-premium-template .testimonials::after,
	.section.testimonials::after {
		animation: none;
	}
}

.search-preview .container,
.cta-banner .container {
	padding: 34px;
	background: linear-gradient(145deg, rgba(70, 86, 102, 0.34), rgba(50, 56, 61, 0.85));
	border: 1px solid var(--nomax-border);
	border-radius: var(--nomax-radius);
	box-shadow: var(--nomax-shadow);
}

.grid,
.listing-grid,
.steps {
	display: grid;
	gap: 20px;
}

.grid {
	grid-template-columns: repeat( auto-fit, minmax(230px, 1fr) );
}

.stats-section {
	background: linear-gradient(180deg, #0d1118 0%, #11161f 100%);
	padding: 70px 0;
	position: relative;
	overflow: hidden;
}

.stats-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 80% at 20% 0%, rgba(166, 200, 225, 0.06), transparent 60%),
		radial-gradient(50% 70% at 90% 100%, rgba(166, 200, 225, 0.05), transparent 60%);
	pointer-events: none;
}

.stats-section .container {
	position: relative;
	z-index: 1;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.stat-item {
	padding: 18px 22px;
	border-left: 1px solid rgba(166, 200, 225, 0.08);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stat-item:first-child {
	border-left: 0;
}

.stat-item__value {
	display: inline-flex;
	align-items: baseline;
	font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.stat-item__number {
	color: #ffffff;
}

.stat-item__suffix {
	margin-left: 2px;
	background: linear-gradient(115deg, #a6c8e1 0%, #d8eaf7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.stat-item__label {
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(218, 234, 247, 0.7);
	letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.stat-item:nth-child(odd) {
		border-left: 0;
	}

	.stat-item:nth-child(3) {
		border-top: 1px solid rgba(166, 200, 225, 0.08);
		padding-top: 22px;
	}

	.stat-item:nth-child(4) {
		border-top: 1px solid rgba(166, 200, 225, 0.08);
		padding-top: 22px;
	}
}

@media (max-width: 560px) {
	.stats-section {
		padding: 50px 0;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.stat-item {
		border-left: 0;
		border-top: 1px solid rgba(166, 200, 225, 0.08);
		padding: 16px 0 0;
	}

	.stat-item:first-child {
		border-top: 0;
		padding-top: 0;
	}
}

/* ============================================================
   Browse Property section (2nd section)
   ============================================================ */

.home-premium-template .browse-property-section {
	padding: 96px 0 200px;
	background: var(--nomax-white-smoke);
}

.browse-property-section {
	color: #1a2030;
	position: relative;
	overflow: visible;
}

.browse-section__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
	margin-bottom: 26px;
}
 .how-it-works__title{
	margin-top: 150px!important;
 }
.browse-section__title {
	margin: 0;
}

.browse-section__subtitle {
	margin: 0;
	color: #5b6878;
	font-size: 0.96rem;
	line-height: 1.65;
	max-width: 520px;
	justify-self: end;
}

.browse-section__divider {
	height: 1px;
	background: rgba(13, 17, 24, 0.12);
	margin-bottom: 26px;
}

.browse-section__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.browse-tabs {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.browse-tab {
	padding: 14px 26px !important;
	border: 1px solid rgba(13, 17, 24, 0.1) !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	color: #5b6878 !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	letter-spacing: 0.01em !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.browse-tab:hover {
	color: #0d1118 !important;
	border-color: rgba(13, 17, 24, 0.28) !important;
	background: #ffffff !important;
}

.browse-tab.is-active {
	color: #a6c8e1 !important;
	border-color: #a6c8e1 !important;
	background: #ffffff !important;
	box-shadow: 0 6px 18px rgba(166, 200, 225, 0.18) !important;
}

.browse-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: #0d1118;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	border-radius: 6px;
	border: 1px solid #0d1118;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.browse-cta:hover {
	background: #1f2937;
	color: #ffffff;
	transform: translateY(-1px);
}

.browse-section__panels {
	position: relative;
}

.browse-panel {
	display: none;
}

.browse-panel.is-active {
	display: block;
	animation: browseFade 0.35s ease;
}

@keyframes browseFade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.browse-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	position: relative;
	z-index: 2;
	margin-bottom: -200px;
}

.browse-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(13, 17, 24, 0.06);
	box-shadow: 0 8px 24px rgba(13, 17, 24, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.browse-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(13, 17, 24, 0.14);
	border-color: rgba(166, 200, 225, 0.35);
}

.browse-card__image {
	position: relative;
	width: 100%;
	height: 230px;
	overflow: hidden;
	background: #eef1f6;
}

.browse-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.browse-card:hover .browse-card__image img {
	transform: scale(1.06);
}

.browse-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e6ecf4 0%, #cdd6e3 100%);
}

.browse-card__body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.browse-card__title {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 700;
	color: #0d1118;
	letter-spacing: -0.01em;
}

.browse-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.browse-card__count {
	font-size: 0.85rem;
	color: #5b6878;
	font-weight: 600;
}

.browse-card__details {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #a6c8e1;
	font-weight: 600;
	font-size: 0.88rem;
	transition: gap 0.25s ease;
}

.browse-card:hover .browse-card__details {
	gap: 10px;
}

/* ============================================================
   Explore Prime Locations (cinematic redesign)
   ============================================================ */

.home-premium-template .section.explore-locations {
	padding: 0;
	background: #0a0d12;
}

.explore-locations {
	position: relative;
	overflow: hidden;
	color: #f6efe1;
	--locations-bg: none;
}

.explore-locations__stage {
	position: relative;
	width: 100%;
	min-height: 720px;
	display: flex;
	align-items: stretch;
	overflow: hidden;
}

.explore-locations__bg {
	position: absolute;
	inset: 0;
	background-image: var(--locations-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: saturate(1.05) contrast(1.02);
	z-index: 1;
}

.explore-locations__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 80% at 50% 0%, rgba(166, 200, 225, 0.07), transparent 50%);
	pointer-events: none;
}

.explore-locations__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 13, 18, 0.35) 0%, rgba(10, 13, 18, 0.55) 45%, rgba(10, 13, 18, 0.92) 100%),
		linear-gradient(120deg, rgba(8, 12, 18, 0.55), rgba(8, 12, 18, 0.1) 55%, rgba(15, 22, 34, 0.4));
	z-index: 2;
}

.explore-locations__inner {
	position: relative;
	z-index: 3;
	width: min(100% - 48px, var(--nomax-container));
	margin: 0 auto;
	padding: 110px 0 60px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 28px;
}

/* Disable fixed background on touch devices for smoother scrolling */
@media (max-width: 1024px), (hover: none) {
	.explore-locations__bg {
		background-attachment: scroll;
	}
}

.explore-locations__head {
	max-width: 720px;
	display: grid;
	gap: 14px;
	opacity: 0;
	transform: translateY(20px);
	animation: exploreFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.explore-locations__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #e5cb98;
}

.explore-locations__eyebrow::before {
	content: "";
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, rgba(166, 200, 225, 0.9), transparent);
}

.explore-locations__title {
	margin: 0;
}

.explore-locations__subtitle {
	margin: 0;
	color: rgba(246, 239, 225, 0.78);
	font-size: 1rem;
	line-height: 1.6;
	max-width: 560px;
}

@keyframes exploreFadeUp {
	to { opacity: 1; transform: translateY(0); }
}

/* Floating pins */
.explore-locations__pins {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}

.explore-pin {
	position: absolute;
	transform: translate(-50%, -100%) scale(var(--pin-scale, 1));
	pointer-events: auto;
	text-decoration: none;
	color: inherit;
	animation: pinFloat 5.5s ease-in-out infinite;
	animation-delay: var(--pin-delay, 0s);
	will-change: transform;
}

.explore-pin__marker {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #f7e3b6, #c79a4f 70%, #8e6a30 100%);
	color: #1a1208;
	box-shadow:
		0 14px 28px rgba(0, 0, 0, 0.55),
		0 0 0 2px rgba(255, 230, 184, 0.35),
		inset 0 1px 2px rgba(255, 255, 255, 0.6);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.explore-pin__marker svg {
	width: 22px;
	height: 22px;
	color: #2b1f0a;
}

.explore-pin__marker img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.explore-pin__marker::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(166, 200, 225, 0.45), transparent 70%);
	z-index: -1;
	animation: pinPulse 2.6s ease-in-out infinite;
}

.explore-pin__marker::after {
	content: "";
	position: absolute;
	bottom: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 8px;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
	z-index: -2;
}

.explore-pin__connector {
	position: absolute;
	top: 50%;
	left: 110%;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, rgba(166, 200, 225, 0.95), rgba(166, 200, 225, 0.05));
	transform-origin: left center;
	opacity: 0.85;
}

.explore-pin__label {
	position: absolute;
	top: 50%;
	left: calc(110% + 40px);
	transform: translateY(-50%);
	display: grid;
	gap: 2px;
	padding: 9px 14px;
	border-radius: 10px;
	background: rgba(10, 13, 18, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.explore-pin__name {
	color: #ffffff;
	font-weight: 600;
	font-size: 0.86rem;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.explore-pin__count {
	color: rgba(166, 200, 225, 0.9);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.explore-pin:hover .explore-pin__marker {
	transform: scale(1.15);
	box-shadow:
		0 18px 36px rgba(0, 0, 0, 0.6),
		0 0 0 3px rgba(255, 230, 184, 0.55),
		0 0 28px rgba(166, 200, 225, 0.5);
}

.explore-pin:hover .explore-pin__label {
	opacity: 1;
	transform: translateY(-50%) translateX(2px);
}

.explore-pin:focus-visible {
	outline: none;
}

.explore-pin:focus-visible .explore-pin__marker {
	box-shadow:
		0 0 0 3px rgba(255, 230, 184, 0.7),
		0 0 32px rgba(166, 200, 225, 0.6);
}

@keyframes pinFloat {
	0%, 100% { transform: translate(-50%, -100%) scale(var(--pin-scale, 1)) translateY(0); }
	50%      { transform: translate(-50%, -100%) scale(var(--pin-scale, 1)) translateY(-8px); }
}

@keyframes pinPulse {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50%      { opacity: 0.9; transform: scale(1.25); }
}

/* Bottom glass panel */
.explore-locations__panel {
	position: relative;
	margin-top: auto;
	padding: 28px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(15, 19, 27, 0.62) 0%, rgba(10, 13, 18, 0.72) 100%);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow:
		0 30px 60px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	opacity: 0;
	transform: translateY(30px);
	animation: exploreFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.explore-panel__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.explore-panel__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e5cb98;
	box-shadow: 0 0 0 3px rgba(166, 200, 225, 0.2), 0 0 12px rgba(166, 200, 225, 0.7);
	animation: pinPulse 2.4s ease-in-out infinite;
}

.explore-panel__title {
	color: #f6efe1;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.explore-panel__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.explore-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 18px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
	transform: translateY(-4px);
	border-color: rgba(166, 200, 225, 0.5);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(166, 200, 225, 0.15);
}

.explore-card__head {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.explore-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(166, 200, 225, 0.14);
	border: 1px solid rgba(166, 200, 225, 0.28);
	color: #e5cb98;
	transition: background 0.3s ease, color 0.3s ease;
}

.explore-card__icon svg {
	width: 18px;
	height: 18px;
}

.explore-card:hover .explore-card__icon {
	background: rgba(166, 200, 225, 0.28);
	color: #ffe9c3;
}

.explore-card__head-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.explore-card__name {
	color: #ffffff;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.005em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.explore-card__count {
	color: rgba(166, 200, 225, 0.8);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.explore-card__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(246, 239, 225, 0.7);
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.explore-card:hover .explore-card__arrow {
	transform: rotate(-45deg);
	background: rgba(166, 200, 225, 0.18);
	color: #ffe9c3;
}

.explore-card__children {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 4px;
}

.explore-card__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(246, 239, 225, 0.78);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: all 0.25s ease;
}

.explore-card__chip:hover {
	background: rgba(166, 200, 225, 0.14);
	border-color: rgba(166, 200, 225, 0.35);
	color: #ffe9c3;
}

.explore-card__chip-count {
	color: rgba(166, 200, 225, 0.7);
	font-weight: 600;
	font-size: 0.72rem;
}

.explore-locations__empty {
	color: rgba(246, 239, 225, 0.6);
	text-align: center;
	padding: 40px 0;
}

@media (max-width: 1024px) {
	.explore-locations__stage {
		min-height: 640px;
	}

	.explore-locations__inner {
		padding: 80px 0 48px;
	}

	.explore-pin__connector,
	.explore-pin__label {
		display: none;
	}

	.explore-pin__marker {
		width: 40px;
		height: 40px;
	}

	.explore-pin__marker svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 767px) {
	.explore-locations__stage {
		min-height: 600px;
	}

	.explore-locations__inner {
		padding: 60px 0 36px;
		width: min(100% - 24px, var(--nomax-container));
	}

	.explore-locations__panel {
		padding: 20px;
		border-radius: 18px;
	}

	.explore-panel__grid {
		grid-template-columns: 1fr;
	}

	.explore-pin__marker {
		width: 36px;
		height: 36px;
	}
}

.why-choose {
	position: relative;
	overflow: hidden;
	background-image: var(--why-section-bg);
	background-size: cover;
	background-position: center;
}

.why-choose::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(166, 200, 225, 0.11), transparent 42%),
		linear-gradient(145deg, rgba(7, 16, 30, 0.78), rgba(13, 22, 35, 0.62));
	pointer-events: none;
}

.why-choose .container {
	position: relative;
	z-index: 2;
}

.why-choose h2,
.why-choose > .container > p {
	text-align: center;
	margin-inline: auto;
}


.why-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
	gap: 24px;
	margin-top: 28px;
	align-items: start;
}

.why-media-panel {
	position: sticky;
	top: 105px;
	min-height: 420px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(166, 200, 225, 0.34);
	background:
		linear-gradient(140deg, rgba(9, 17, 29, 0.66), rgba(12, 18, 29, 0.9)),
		url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1200&q=80");
	background-size: cover;
	background-position: center;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.why-media-panel__overlay {
	position: absolute;
	inset: 12px;
	border-radius: 14px;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			165deg,
			rgba(5, 11, 22, 0.58) 0%,
			rgba(166, 200, 225, 0.07) 45%,
			rgba(4, 9, 16, 0.72) 100%
		);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.07),
		inset 0 -16px 32px rgba(0, 0, 0, 0.2);
}

.why-media-panel__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.why-media-panel__content h3 {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 700;
	color: #ffffff;
}

.why-media-panel__content p {
	margin: 0;
	max-width: 34ch;
	color: rgba(229, 236, 242, 0.9);
	line-height: 1.7;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.why-card {
	padding: 24px 20px;
	border-radius: 16px;
	border: 1px solid rgba(166, 200, 225, 0.25);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(20, 26, 34, 0.52));
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-card:hover {
	transform: translateY(-5px);
	border-color: rgba(166, 200, 225, 0.55);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.why-card__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	margin-bottom: 14px;
	border: 1px solid rgba(166, 200, 225, 0.6);
	background: linear-gradient(145deg, rgba(166, 200, 225, 0.2), rgba(166, 200, 225, 0.06));
	position: relative;
}

.why-card__icon::before {
	content: "";
	position: absolute;
	inset: 11px;
	border: 2px solid rgba(245, 228, 191, 0.95);
	border-radius: 6px;
}

.why-card__icon--2::before {
	border-radius: 999px;
}

.why-card__icon--3::before {
	inset: 10px 14px;
	border-width: 0 2px;
	border-radius: 0;
}

.why-card__icon--4::before {
	inset: 13px;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	border-radius: 2px;
}

.why-card h3 {
	margin: 0 0 9px;
	font-size: 1.12rem;
	font-weight: 700;
	color: #ffffff;
}

.why-card p {
	margin: 0;
	color: rgba(218, 234, 247, 0.82);
}

.listing-grid {
	grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
}

.steps {
	grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
}

.card,
.property-card,
.step {
	padding: 24px;
	background: linear-gradient(150deg, rgba(58, 66, 72, 0.8), rgba(39, 45, 50, 0.88));
	border: 1px solid var(--nomax-border);
	border-radius: var(--nomax-radius);
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card:hover,
.property-card:hover,
.step:hover {
	transform: translateY(-6px);
	border-color: rgba(166, 200, 225, 0.45);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.card h3,
.property-card h3,
.step h3 {
	margin: 0 0 9px;
	font-size: 1.15rem;
}

.card p,
.property-card p,
.step p {
	margin: 0;
	color: var(--nomax-muted);
}

.property-card {
	padding: 14px;
	overflow: hidden;
}

.property-card a:first-child {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 14px;
}

.property-card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
	transition: transform 0.48s ease;
}

.property-card:hover img {
	transform: scale(1.04);
}

.property-card h3 {
	margin: 8px 0 0;
	font-size: 1.06rem;
}

.featured-listings .listing-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}

.property-card--featured {
	padding: 0;
	background: linear-gradient(160deg, rgba(14, 21, 30, 0.88), rgba(23, 31, 42, 0.78));
	border: 1px solid rgba(166, 200, 225, 0.24);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.property-card--featured .property-card__image-link {
	position: relative;
	display: block;
	margin: 0;
	border-radius: 0;
}

.property-card--featured img {
	height: 250px;
}

.property-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 12, 18, 0.04) 45%, rgba(7, 12, 18, 0.62) 100%);
}

.property-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(10, 16, 24, 0.85);
	border: 1px solid rgba(166, 200, 225, 0.48);
	color: #f4e5c5;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	z-index: 2;
}

.property-card__content {
	padding: 18px 16px 20px;
}

.property-card__price {
	margin: 0 0 8px;
	color: #f2dfbc !important;
	font-weight: 700;
	font-size: 1.05rem;
}

.property-card__meta {
	margin-top: 8px;
	color: rgba(218, 234, 247, 0.76) !important;
	font-size: 0.9rem;
}

.property-card--featured h3 a {
	color: #ffffff;
}

.property-card--featured:hover {
	transform: translateY(-8px);
	border-color: rgba(166, 200, 225, 0.44);
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}

.investment {
	position: relative;
}

.investment::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.investment .container {
	position: relative;
	z-index: 2;
}

.investment-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
	gap: 24px;
	align-items: stretch;
}

.investment-copy {
	padding: 28px;
	border-radius: 16px;
	border: 1px solid rgba(166, 200, 225, 0.18);
	background: linear-gradient(160deg, rgba(18, 27, 39, 0.7), rgba(10, 16, 24, 0.82));
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.investment-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	color: rgba(166, 200, 225, 0.85);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.investment-copy h2 {
	margin: 0 0 14px;
}

.investment-copy p {
	margin: 0;
	color: rgba(218, 234, 247, 0.86);
	font-size: 1.02rem;
	line-height: 1.8;
	max-width: 68ch;
}

.investment-highlights {
	display: grid;
	gap: 12px;
}

.investment-highlight-card {
	padding: 18px 16px;
	border-radius: 14px;
	border: 1px solid rgba(166, 200, 225, 0.25);
	background: linear-gradient(155deg, rgba(26, 34, 45, 0.84), rgba(13, 20, 29, 0.9));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.investment-highlight-card:hover {
	transform: translateY(-3px);
	border-color: rgba(166, 200, 225, 0.5);
}

.investment-highlight-value {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	color: #a6c8e1;
	line-height: 1.2;
}

.investment-highlight-label {
	display: block;
	margin-top: 6px;
	color: rgba(218, 234, 247, 0.78);
	font-size: 0.88rem;
}

.services {
	position: relative;
	background: linear-gradient(165deg, var(--nomax-secondary) 0%, #3d4d5e 48%, #5a6f85 100%);
	overflow: hidden;
}

.services::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 120% 80% at 50% -15%, rgba(166, 200, 225, 0.35), transparent 52%),
		radial-gradient(circle at 90% 85%, rgba(166, 200, 225, 0.12), transparent 42%);
	pointer-events: none;
}

.services .container {
	position: relative;
	z-index: 2;
}

.services-head {
	max-width: 920px;
	margin-inline: auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
}

.home-premium-template .services .services-head p {
	margin: 0 0 42px;
	color: rgba(218, 234, 247, 0.96);
	max-width: 52ch;
	margin-inline: auto;
}

.services-carousel {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-block: 8px 0;
}

.services-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	touch-action: pan-x;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	outline: none;
	padding-block: 14px 18px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.services-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.services-carousel__track {
	display: flex;
	align-items: stretch;
	gap: 18px;
	padding-inline: max(16px, calc(50vw - min(234px, 36vw)));
	box-sizing: border-box;
}

.services-carousel__slide {
	flex: 0 0 min(468px, 72vw);
	scroll-snap-align: center;
	display: flex;
}

.services-carousel__slide .services-card {
	width: 100%;
	transition:
		transform 0.42s cubic-bezier(0.33, 1, 0.53, 1),
		opacity 0.42s cubic-bezier(0.33, 1, 0.53, 1),
		box-shadow 0.36s cubic-bezier(0.33, 1, 0.53, 1),
		border-color 0.36s cubic-bezier(0.33, 1, 0.53, 1),
		filter 0.42s cubic-bezier(0.33, 1, 0.53, 1);
}

.services-carousel__slide:not(.services-carousel__slide--active) .services-card {
	transform: scale(0.93);
	opacity: 0.76;
	filter: saturate(0.9);
}

.services-carousel__slide--active .services-card {
	transform: scale(1);
	opacity: 1;
	filter: none;
}

.services-carousel__chrome {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: min(520px, calc(100vw - 32px));
	margin: 6px auto 0;
	padding-inline: 20px;
}

.services-carousel__btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.96);
	color: #1a1f26;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.services-carousel__btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.services-carousel__progress {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.38);
	overflow: hidden;
}

.services-carousel__progress-fill {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(166, 200, 225, 1) 0%, #ffffff 88%);
	transition: width 0.42s cubic-bezier(0.33, 1, 0.53, 1);
}

.services-card {
	min-height: 200px;
	padding: 28px 26px;
	border-radius: 22px;
	border: 1px solid rgba(166, 200, 225, 0.28);
	background: linear-gradient(160deg, rgba(20, 28, 38, 0.92), rgba(11, 16, 24, 0.96));
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.services-carousel__slide--active .services-card:hover {
	transform: scale(1) translateY(-5px);
	border-color: rgba(166, 200, 225, 0.55);
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.services-carousel__slide:not(.services-carousel__slide--active) .services-card:hover {
	transform: scale(0.94) translateY(-3px);
	opacity: 0.85;
}

.services-card__icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	margin-bottom: 14px;
	border: 1px solid rgba(166, 200, 225, 0.6);
	background: linear-gradient(145deg, rgba(166, 200, 225, 0.22), rgba(166, 200, 225, 0.06));
	position: relative;
}

.services-card__icon::before {
	content: "";
	position: absolute;
	inset: 11px;
	border-radius: 4px;
	border: 2px solid rgba(166, 200, 225, 0.95);
}

.services-card__icon--2::before {
	border-radius: 999px;
}

.services-card__icon--3::before {
	inset: 9px 12px;
	border-width: 2px 0;
}

.services-card__icon--4::before {
	inset: 13px;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
}

.services-card h3 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 1.2rem;
	line-height: 1.3;
}

.services-card p {
	margin: 0;
	color: rgba(218, 234, 247, 0.82);
	font-size: 1.02rem;
	line-height: 1.55;
}

.journey {
	position: relative;
}

.journey .container > h2 {
	margin-bottom: 18px;
}

.journey-accordion {
	display: grid;
	gap: 12px;
}

.journey-item {
	border: 1px solid rgba(166, 200, 225, 0.22);
	border-radius: 14px;
	background: linear-gradient(155deg, rgba(14, 21, 30, 0.8), rgba(10, 16, 24, 0.92));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	overflow: hidden;
}

.journey-item__summary {
	list-style: none;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 15px 18px;
	cursor: pointer;
}

.journey-item__summary::-webkit-details-marker {
	display: none;
}

.journey-item__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid rgba(166, 200, 225, 0.6);
	color: #f2dfbc;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
}

.journey-item__title {
	color: #ffffff;
	font-size: 1.06rem;
	font-weight: 700;
}

.journey-item__content {
	padding: 0 18px 16px 88px;
}

.journey-item__content p {
	margin: 0;
	color: rgba(218, 234, 247, 0.8);
	line-height: 1.75;
}

.journey-item[open] {
	border-color: rgba(166, 200, 225, 0.5);
}

/* ============================================================
   Popular Property (standalone)
   ============================================================ */

.home-premium-template .popular-section {
	padding: 96px 0;
	background: var(--nomax-white-smoke);
}

.popular-section {
	background: var(--nomax-white-smoke);
	color: #1a2030;
	position: relative;
	overflow: visible;
}

.popular-section__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
	margin-bottom: 26px;
}

.popular-section__title {
	margin: 0;
}

.popular-section__subtitle {
	margin: 0;
	color: #5b6878;
	font-size: 0.96rem;
	line-height: 1.65;
	max-width: 480px;
	justify-self: end;
}

.popular-section__divider {
	height: 1px;
	background: rgba(13, 17, 24, 0.12);
	margin-bottom: 26px;
}

.popular-section__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.popular-tabs {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.popular-tab {
	padding: 14px 26px;
	border: 1px solid rgba(13, 17, 24, 0.1);
	border-radius: 6px;
	background: #ffffff;
	color: #5b6878;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.popular-tab:hover {
	color: #0d1118;
	border-color: rgba(13, 17, 24, 0.2);
	background: #ffffff;
}

.popular-tab.is-active {
	background: #a6c8e1;
	color: #ffffff;
	border-color: #a6c8e1;
	box-shadow: 0 6px 16px rgba(166, 200, 225, 0.35);
}

.popular-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #0d1118;
	color: #ffffff;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: background 0.25s ease, transform 0.25s ease;
}

.popular-cta:hover {
	background: #1a2030;
	color: #ffffff;
	transform: translateY(-1px);
}

.popular-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	position: relative;
}

.popular-card {
	display: none;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(13, 17, 24, 0.06);
	flex-direction: column;
	border: 1px solid rgba(13, 17, 24, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-card.is-visible {
	display: flex;
	animation: popularFadeIn 0.35s ease both;
}

.popular-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(13, 17, 24, 0.1);
}

.popular-card__image {
	display: block;
	height: 260px;
	overflow: hidden;
	position: relative;
}

.popular-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.popular-card__image:hover img {
	transform: scale(1.04);
}

.popular-card__body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.popular-card__title {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 700;
	color: #0d1118;
	line-height: 1.3;
}

.popular-card__title a {
	color: inherit;
}

.popular-card__title a:hover {
	color: #3f6996;
}

.popular-card__location {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5b6878;
	font-size: 0.9rem;
}

.popular-card__location svg {
	color: #3f6996;
	flex-shrink: 0;
}

.popular-card__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding: 4px 0;
	font-size: 0.9rem;
	color: #5b6878;
}

.popular-card__stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.popular-card__stat svg {
	color: #3f6996;
	flex-shrink: 0;
}

.popular-card__price {
	color: #3f6996;
	font-weight: 700;
}

.popular-card__details {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(13, 17, 24, 0.08);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #3f6996;
	font-weight: 600;
	font-size: 0.95rem;
	transition: gap 0.25s ease, color 0.25s ease;
}

.popular-card__details:hover {
	color: #0d1118;
	gap: 12px;
}

@keyframes popularFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   How It Works section
   ============================================================ */

.how-it-works {
	background: transparent;
	color: #ffffff;
	margin-top: -200px;
	padding-top: 350px;
	padding-bottom: 110px;
	position: relative;
	overflow: hidden;
}

.how-it-works::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #0a0a0a;
	z-index: 0;
}

.how-it-works::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(70% 60% at 50% 0%, rgba(166, 200, 225, 0.07), transparent 55%);
	pointer-events: none;
	z-index: 1;
}

.how-it-works .container {
	position: relative;
	z-index: 3;
}

.how-it-works__head {
	text-align: center;
	margin-bottom: 50px;
}

.how-it-works__title {
	margin: 0 0 12px;
}

.how-it-works__subtitle {
	margin: 0 auto;
	max-width: 620px;
	color: rgba(218, 234, 247, 0.72);
	font-size: 1rem;
	line-height: 1.65;
}

.how-it-works__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 0;
	position: relative;
	max-width: 920px;
	margin: 0 auto 56px;
	padding: 0 40px;
}

.how-it-works__steps::before {
	content: "";
	position: absolute;
	left: 70px;
	right: 70px;
	top: 30px;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	z-index: 0;
}

.how-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	position: relative;
	z-index: 1;
}

.how-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.how-step__icon svg {
	width: 24px;
	height: 24px;
	stroke: #1a1a1a;
}

.how-step.is-active .how-step__icon {
	background: #a6c8e1;
	box-shadow: 0 8px 20px rgba(166, 200, 225, 0.45);
}

.how-step.is-active .how-step__icon svg {
	stroke: #ffffff;
}

.how-step.is-active .how-step__label {
	color: #ffffff;
	font-weight: 600;
}

.how-step__label {
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	line-height: 1.35;
	max-width: 140px;
}

.how-it-works__panel {
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
}

.how-panel {
	display: none;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 360px;
	background: #1a2030;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.how-panel.is-active {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	animation: howPanelFade 0.45s ease both;
}

.how-panel__media,
.how-panel__media-placeholder {
	position: relative;
	min-height: 360px;
	background: linear-gradient(140deg, #aebac8 0%, #d8e3ee 60%, #f0f4f8 100%);
}

.how-panel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.how-panel__content {
	background: var(--nomax-white-smoke);
	color: #0d1118;
	padding: 48px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.how-panel__title {
	margin: 0 0 14px;
	font-size: clamp(1.4rem, 1rem + 1.2vw, 1.85rem);
	font-weight: 800;
	color: #0d1118;
	letter-spacing: -0.01em;
}

.how-panel__text {
	margin: 0 0 32px;
	color: #5b6878;
	font-size: 0.98rem;
	line-height: 1.7;
}

.how-panel__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 20px;
	border-top: 1px solid rgba(13, 17, 24, 0.1);
	margin-top: auto;
}

.how-panel__counter {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	background: #eef1f4;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.85rem;
	color: #0d1118;
}

.how-panel__progress {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #5b6878;
	font-size: 0.9rem;
	flex-wrap: wrap;
}

.how-panel__step-name {
	font-weight: 500;
}

.how-panel__next {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	color: #3f6996;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	padding: 0;
	transition: gap 0.25s ease, color 0.25s ease;
}

.how-panel__next:hover {
	gap: 12px;
	color: #0d1118;
}

@keyframes howPanelFade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
	.popular-section__head {
		grid-template-columns: 1fr;
	}

	.popular-section__subtitle {
		justify-self: start;
		max-width: 100%;
	}

	.popular-section__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.popular-cta {
		justify-content: center;
	}

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

	.how-it-works__steps {
		max-width: 720px;
		padding: 0 16px;
	}

	.how-it-works__steps::before {
		left: 50px;
		right: 50px;
	}

	.how-panel.is-active {
		grid-template-columns: 1fr;
	}

	.how-panel__media,
	.how-panel__media-placeholder {
		min-height: 240px;
	}
}

@media (max-width: 640px) {
	.home-premium-template .popular-section {
		padding: 64px 0;
	}

	.popular-cards {
		grid-template-columns: 1fr;
	}

	.popular-tab {
		flex: 1;
		text-align: center;
		padding: 12px 14px;
		font-size: 0.85rem;
	}

	.how-it-works__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 30px;
		padding: 0;
	}

	.how-it-works__steps::before {
		display: none;
	}

	.how-panel__content {
		padding: 30px 24px;
	}

	.how-panel__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

@keyframes nomax-testimonials-bg-flow {
	0%,
	100% {
		background-position:
			0% 6%,
			100% 94%,
			38% 100%,
			62% 0%,
			50% 50%;
	}

	50% {
		background-position:
			100% 2%,
			0% 98%,
			58% 92%,
			40% 8%,
			50% 50%;
	}
}

@keyframes nomax-water-caustic {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg) scale(1);
		opacity: 0.85;
	}

	33% {
		transform: translate(1.8%, -1.2%) rotate(0.35deg) scale(1.04);
		opacity: 1;
	}

	66% {
		transform: translate(-1.5%, 1.4%) rotate(-0.25deg) scale(0.98);
		opacity: 0.78;
	}
}

@keyframes nomax-water-surface-shimmer {
	0%,
	100% {
		transform: translateX(-3%) scaleX(1.03);
		opacity: 0.88;
	}

	50% {
		transform: translateX(3.5%) scaleX(1);
		opacity: 1;
	}
}

/* Reviews: 3D water-like depth — animated caustics + surface light (pseudos sit under .container) */
.section.testimonials,
.home-premium-template .testimonials {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
	overflow-y: visible;
	background-color: #d8e8f2;
	background-image:
		radial-gradient(ellipse 100% 70% at 50% -8%, rgba(255, 255, 255, 0.42), transparent 52%),
		radial-gradient(ellipse 95% 78% at 8% 22%, rgba(166, 200, 225, 0.45), transparent 58%),
		radial-gradient(ellipse 90% 72% at 94% 78%, rgba(100, 160, 195, 0.28), transparent 56%),
		radial-gradient(ellipse 85% 65% at 48% 118%, rgba(45, 105, 130, 0.22), transparent 52%),
		linear-gradient(
			188deg,
			#f5fbff 0%,
			#e8f4fa 22%,
			#d0e6f2 52%,
			#a6c8e1 82%,
			#7aa8c4 100%
		);
	background-size: 130% 120%, 132% 132%, 128% 128%, 120% 115%, 100% 100%;
	background-repeat: no-repeat;
	background-position:
		50% 0%,
		0% 0%,
		100% 100%,
		50% 100%,
		50% 50%;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.22),
		inset 0 72px 100px -28px rgba(255, 255, 255, 0.28),
		inset 0 -100px 120px -36px rgba(35, 85, 110, 0.18);
	animation: nomax-testimonials-bg-flow 26s ease-in-out infinite;
}

.section.testimonials::before,
.home-premium-template .testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(ellipse 58% 42% at 22% 48%, rgba(255, 255, 255, 0.2), transparent 62%),
		radial-gradient(ellipse 52% 40% at 76% 36%, rgba(200, 235, 255, 0.16), transparent 60%),
		radial-gradient(ellipse 48% 36% at 50% 74%, rgba(255, 255, 255, 0.1), transparent 58%);
	background-repeat: no-repeat;
	background-size: 110% 110%;
	mix-blend-mode: soft-light;
	animation: nomax-water-caustic 19s ease-in-out infinite;
}

.section.testimonials::after,
.home-premium-template .testimonials::after {
	content: "";
	position: absolute;
	left: -8%;
	right: -8%;
	top: 0;
	height: min(48%, 420px);
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 95% 85% at 50% 0%, rgba(255, 255, 255, 0.26), transparent 68%);
	mix-blend-mode: overlay;
	animation: nomax-water-surface-shimmer 15s ease-in-out infinite;
}

.testimonials > .container {
	position: relative;
	z-index: 1;
}

.home-premium-template .insights {
	background: var(--nomax-white-smoke);
}

.testimonials-head--luxury {
	text-align: center;
	max-width: min(720px, 100%);
	margin-inline: auto;
	padding-bottom: clamp(28px, 4vw, 48px);
}

.testimonials-head--luxury h2 {
	margin-bottom: 14px;
}

.testimonials-head--luxury p {
	margin: 0 auto;
	color: #6d7a88;
	font-size: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
	line-height: 1.75;
	letter-spacing: 0.01em;
	max-width: 52ch;
}

/* Timeline + curved connectors */
.testimonials-timeline {
	position: relative;
	max-width: min(100%, 1180px);
	margin: 0 auto;
	padding: 0 clamp(12px, 2vw, 20px) clamp(48px, 6vw, 72px);
	min-height: 560px;
}

.testimonials-timeline__paths {
	position: absolute;
	inset: 8% 4% 6% 4%;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 88%;
	margin: auto;
	z-index: 0;
	pointer-events: none;
	opacity: 1;
}

.testimonials-timeline__path {
	vector-effect: non-scaling-stroke;
}

.testimonials-zigzag {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 56px);
	max-width: min(100%, 980px);
	margin: 0 auto;
	padding-top: 8px;
}

/* Zig-zag placement */
.testimonial-luxury {
	position: relative;
	width: min(100%, 540px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.testimonial-luxury--zig-left {
	align-self: flex-start;
	margin-right: auto;
	padding-right: clamp(4px, 1.5vw, 14px);
}

.testimonial-luxury--zig-right {
	align-self: flex-end;
	margin-left: auto;
	padding-left: clamp(4px, 1.5vw, 14px);
	align-items: flex-end;
}

.testimonial-luxury--zig-right .testimonial-luxury__card {
	text-align: right;
	align-items: flex-end;
}

.testimonial-luxury--zig-right .testimonial-luxury__quote {
	text-align: right;
}

/* Photo ring — overlaps top edge of card */
.testimonial-luxury__photo-ring {
	position: relative;
	z-index: 3;
	margin-bottom: -52px;
	margin-left: clamp(20px, 5vw, 36px);
}

.testimonial-luxury--zig-right .testimonial-luxury__photo-ring {
	margin-left: 0;
	margin-right: clamp(20px, 5vw, 36px);
	align-self: flex-end;
}

.testimonial-luxury__photo-frame {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(145deg, rgba(166, 200, 225, 0.95) 0%, rgba(91, 139, 189, 0.75) 42%, rgba(74, 158, 173, 0.88) 100%);
	box-shadow:
		0 14px 32px rgba(45, 78, 102, 0.14),
		0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.testimonial-luxury__photo {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fdfcfa;
	background: #e8eef4;
}

/* Pill card — glass + soft border */
.testimonial-luxury__card {
	position: relative;
	z-index: 2;
	width: 100%;
	margin-top: 0;
	padding: clamp(52px, 7vw, 60px) clamp(22px, 4vw, 32px) clamp(22px, 3vw, 28px);
	border-radius: 999px 999px 32px 999px;
	border: 1px solid rgba(120, 135, 150, 0.22);
	background: linear-gradient(
		165deg,
		rgba(255, 255, 255, 0.72) 0%,
		rgba(255, 255, 255, 0.45) 48%,
		rgba(248, 251, 253, 0.55) 100%
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow:
		0 18px 48px rgba(55, 78, 98, 0.08),
		0 1px 0 rgba(255, 255, 255, 0.85) inset;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-luxury--zig-right .testimonial-luxury__card {
	border-radius: 999px 999px 999px 32px;
	align-items: flex-end;
}

.testimonial-luxury:hover .testimonial-luxury__card {
	transform: translateY(-3px);
	box-shadow:
		0 22px 56px rgba(55, 78, 98, 0.11),
		0 1px 0 rgba(255, 255, 255, 0.9) inset;
	border-color: rgba(166, 200, 225, 0.35);
}

.testimonial-luxury__name-label {
	display: inline-block;
	padding: 7px 18px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
	background: linear-gradient(115deg, #6b9bd4 0%, #5a9eb0 38%, #3d8b8e 100%);
	box-shadow: 0 4px 14px rgba(61, 139, 142, 0.22);
}

.testimonial-luxury__designation {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 500;
	color: #7a8a9a;
	letter-spacing: 0.03em;
}

.testimonial-luxury__quote {
	margin: 6px 0 0;
	font-size: clamp(0.94rem, 0.9rem + 0.15vw, 1.02rem);
	line-height: 1.72;
	color: #3d4a58;
	font-weight: 400;
	letter-spacing: 0.01em;
	max-width: min(54ch, 100%);
}

.testimonial-luxury--zig-right .testimonial-luxury__quote {
	margin-left: auto;
}

@media (max-width: 900px) {
	.testimonials-timeline__paths {
		display: none;
	}

	.testimonials-timeline {
		min-height: 0;
		padding-bottom: 40px;
	}

	.testimonials-zigzag {
		gap: 36px;
		max-width: 100%;
	}

	.testimonial-luxury,
	.testimonial-luxury--zig-left,
	.testimonial-luxury--zig-right {
		align-self: center;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
		align-items: center;
		width: min(100%, 560px);
	}

	.testimonial-luxury--zig-right .testimonial-luxury__card {
		text-align: left;
		align-items: flex-start;
		border-radius: 28px 32px 28px 28px;
	}

	.testimonial-luxury--zig-right .testimonial-luxury__quote {
		text-align: left;
		margin-left: 0;
	}

	.testimonial-luxury__photo-ring {
		margin-left: auto;
		margin-right: auto;
		align-self: center;
	}

	.testimonial-luxury--zig-right .testimonial-luxury__photo-ring {
		margin-right: auto;
		margin-left: auto;
		align-self: center;
	}

	.testimonial-luxury__card {
		border-radius: 28px 32px 28px 28px;
	}
}
.cta-banner .container {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.cta-shell {
	position: relative;
	overflow: hidden;
	padding: 52px 42px;
	border-radius: 20px;
	border: 1px solid rgba(166, 200, 225, 0.32);
	background: linear-gradient(140deg, rgba(10, 18, 29, 0.95), rgba(18, 28, 41, 0.85));
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.cta-content {
	position: relative;
	z-index: 2;
	max-width: 840px;
}

.cta-content h2 {
	margin: 0 0 12px;
}

.cta-content p {
	margin: 0 0 22px;
	color: rgba(220, 233, 245, 0.88);
	font-size: 1.02rem;
	max-width: 70ch;
}

.cta-banner__btn {
	min-width: 200px;
}

.cta-orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(1px);
	opacity: 0.58;
	animation: ctaFloat 8s ease-in-out infinite;
}

.cta-orb--one {
	width: 220px;
	height: 220px;
	top: -80px;
	right: -30px;
	background: radial-gradient(circle, rgba(166, 200, 225, 0.62), rgba(166, 200, 225, 0));
}

.cta-orb--two {
	width: 180px;
	height: 180px;
	bottom: -70px;
	left: 18%;
	background: radial-gradient(circle, rgba(166, 200, 225, 0.52), rgba(166, 200, 225, 0));
	animation-delay: 1.6s;
}

.cta-orb--three {
	width: 130px;
	height: 130px;
	top: 38%;
	right: 26%;
	background: radial-gradient(circle, rgba(154, 181, 209, 0.42), rgba(154, 181, 209, 0));
	animation-delay: 0.8s;
}

@keyframes ctaFloat {
	0%, 100% { transform: translateY(0) translateX(0); }
	50% { transform: translateY(-10px) translateX(6px); }
}

.step-number {
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(166, 200, 225, 0.14);
	border: 1px solid var(--nomax-border);
	color: var(--nomax-accent);
	font-weight: 700;
	margin-bottom: 12px;
}

.insights .container {
	border-top: 1px solid rgba(166, 200, 225, 0.18);
	padding-top: 45px;
}

.home-premium-template .insights .container > p {
	color: #5b6878;
}

@media (max-width: 1024px) {
	.home-premium-template .section {
		padding: 74px 0;
	}

	.home-hero {
		min-height: 78vh;
		padding-top: 100px;
	}

	.hero-search-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1px;
		background: rgba(255, 255, 255, 0.14);
	}

	.hero-search-segment {
		background: rgba(6, 15, 26, 0.24);
	}

	.hero-search-segment + .hero-search-segment {
		border-left: 0;
	}

	.hero-search-action {
		grid-column: 1 / -1;
	}

	.browse-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: -130px;
	}

	.home-premium-template .browse-property-section {
		padding-bottom: 150px;
	}

	.how-it-works {
		margin-top: -130px;
		padding-top: 200px;
	}

	.browse-section__head {
		grid-template-columns: 1fr;
	}

	.browse-section__subtitle {
		justify-self: start;
	}

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

	.why-layout {
		grid-template-columns: 1fr;
	}

	.why-media-panel {
		position: relative;
		top: auto;
		min-height: 300px;
	}

	.investment-layout {
		grid-template-columns: 1fr;
	}

	.services-carousel__slide {
		flex-basis: min(420px, 78vw);
	}

	.services-card {
		padding: 24px 22px;
	}

	.cta-shell {
		padding: 42px 30px;
	}

	.journey-item__summary {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.journey-item__content {
		padding-left: 82px;
	}
}

@media (max-width: 767px) {
	.home-premium-template .container {
		width: min(100% - 28px, var(--nomax-container));
	}

	.home-premium-template .section {
		padding: 58px 0;
	}

	.home-hero {
		min-height: auto;
		padding: 82px 0 56px;
	}

	.home-hero h1 {
		font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.75rem);
	}

	.hero-actions {
		margin: 22px 0 16px;
	}

	.hero-search {
		margin-top: 24px;
		padding: 12px;
		border-radius: 16px;
	}

	.hero-search-headline {
		font-size: 0.78rem;
	}

	.hero-search-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		background: transparent;
		overflow: visible;
	}

	.hero-search-segment {
		min-height: auto;
		padding: 12px 14px;
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		background: rgba(8, 16, 29, 0.44);
	}

	.hero-search-action {
		padding: 0;
		border: 0;
	}

	.hero-search-action .hero-search-button {
		width: 100%;
		height: 54px;
		border-radius: 12px;
	}

	.browse-cards {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 0;
	}

	.home-premium-template .browse-property-section {
		padding-bottom: 64px;
	}

	.how-it-works {
		margin-top: 0;
		padding-top: 64px;
	}

	.browse-card__image {
		height: 200px;
	}

	.browse-tab {
		padding: 12px 16px !important;
		font-size: 0.85rem !important;
	}

	.browse-cta {
		width: 100%;
	}

	.location-link-separator {
		display: none;
	}

	.why-grid {
		grid-template-columns: 1fr;
	}

	.why-media-panel {
		min-height: 260px;
	}

	.investment-copy {
		padding: 20px;
	}

	.services-carousel__slide {
		flex-basis: min(380px, 85vw);
	}

	.services-card {
		min-height: auto;
	}

	.cta-shell {
		padding: 30px 18px;
	}

	.cta-banner__btn {
		width: 100%;
	}

	.journey-item__summary {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 10px;
		padding: 12px 12px;
	}

	.journey-item__content {
		padding: 0 12px 14px 12px;
	}

	.journey-item__index {
		width: 34px;
		height: 34px;
		border-radius: 8px;
	}

	.search-preview .container,
	.cta-banner .container {
		padding: 22px;
	}

	.btn {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
   Properties archive — investment listing layout
   ------------------------------------------------------------------------- */

.nomax-properties-page {
	background: var(--nomax-white-smoke-soft, #ffffff);
}

/* Properties page: full-bleed hero inside 1600px .site-main shell */
body.nomax-properties-layout #content,
.page-template-page-properties-archive #content,
.nomax-properties-page.site-main {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.nomax-properties-page .container {
	width: min(100% - 40px, var(--nomax-container, 1600px));
	max-width: var(--nomax-container, 1600px);
	margin-inline: auto;
}

/* Hero — full viewport split banner */
.nomax-props-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(520px, 58vh, 700px);
	padding: calc(var(--nomax-header-offset) + clamp(20px, 3vw, 36px)) 0 clamp(80px, 7vw, 110px);
	background: #e8eef4;
	overflow: visible;
	isolation: isolate;
}

body.admin-bar .nomax-props-hero {
	--nomax-header-offset: clamp(140px, 10vw, 172px);
}

.nomax-props-hero__frame {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	pointer-events: none;
}

.nomax-props-hero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			90deg,
			rgba(244, 247, 250, 0.05) 0%,
			rgba(244, 247, 250, 0.32) 40%,
			rgba(244, 247, 250, 0.22) 68%,
			rgba(244, 247, 250, 0.03) 100%
		),
		linear-gradient(180deg, rgba(244, 247, 250, 0.22) 0%, transparent 30%, transparent 74%, rgba(232, 238, 244, 0.38) 100%);
}

.nomax-props-hero__photo {
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.92;
	filter: saturate(0.95);
}

.nomax-props-hero__photo--left {
	grid-column: 1;
	background-position: center;
	mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.nomax-props-hero__photo--right {
	grid-column: 2;
	background-position: center;
	mask-image: linear-gradient(270deg, #000 0%, #000 72%, transparent 100%);
	-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 72%, transparent 100%);
}

.nomax-props-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: var(--nomax-container, 1600px);
	margin-inline: auto;
	padding-bottom: clamp(12px, 2vw, 20px);
}

.nomax-props-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	margin-bottom: clamp(20px, 3vw, 28px);
	border-radius: 999px;
	background: rgba(166, 200, 225, 0.22);
	border: 1px solid rgba(70, 86, 102, 0.12);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--nomax-secondary, #465666);
}

.nomax-props-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.nomax-props-breadcrumb a:hover {
	color: #1a2030;
}

.nomax-props-hero__title {
	margin: 0 0 16px;
	font-size: var(--nomax-heading-hero);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	max-width: 760px;
	margin-inline: auto;
	background: var(--nomax-heading-grad-banner-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-props-hero__title {
		color: transparent;
	}
}

.nomax-props-hero__title .hero-heading-accent {
	display: inline;
	background: linear-gradient(110deg, #9a7b42 0%, #4a5d72 55%, #5a6d82 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.nomax-properties-page .nomax-props-cta__content h2 {
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: #ffffff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-properties-page .nomax-props-cta__content h2 {
		color: transparent;
	}
}

.nomax-props-hero__intro {
	margin: 0 auto;
	max-width: 54ch;
	font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
	line-height: 1.75;
	color: #5b6878;
}

/* Filter bar: half on hero, half on listing (below title — does not cover heading) */
.nomax-props-search-bridge {
	position: relative;
	z-index: 10;
	width: 100%;
	margin-top: clamp(-88px, -6.5vw, -110px);
	margin-bottom: clamp(8px, 1.5vw, 16px);
	pointer-events: none;
}

.nomax-props-search-bridge .container {
	pointer-events: auto;
}

.nomax-props-search {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding: clamp(22px, 3vw, 28px);
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(13, 17, 24, 0.08);
	box-shadow:
		0 24px 60px rgba(13, 17, 24, 0.1),
		0 1px 0 rgba(255, 255, 255, 0.9) inset;
	overflow: visible;
}

.nomax-type-picker.is-open {
	z-index: 30;
}

.nomax-props-search__control .nomax-type-picker {
	flex: 1;
	min-width: 0;
}

.nomax-props-search__control--select .nomax-type-picker__trigger {
	width: 100%;
}

.nomax-props-search__fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.nomax-props-search__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6d7a88;
}

.nomax-props-search__control {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid rgba(13, 17, 24, 0.1);
	background: #f8fafc;
}

.nomax-props-search__control svg {
	flex-shrink: 0;
	color: var(--nomax-accent-strong, #7aa8cc);
}

.nomax-props-search__control input,
.nomax-props-search__control select {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.95rem;
	color: #1a2030;
	outline: none;
}

.nomax-props-search__control .nomax-type-picker {
	flex: 1;
	min-width: 0;
}

.hero-search-select {
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	outline: none;
	cursor: pointer;
}

/* Property type custom picker */
.nomax-type-picker {
	position: relative;
	width: 100%;
}

.nomax-type-picker__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	color: #1a2030;
	text-align: left;
	cursor: pointer;
}

.nomax-type-picker__value.is-placeholder {
	color: #6d7a88;
	font-weight: 400;
}

.nomax-type-picker__chevron {
	flex-shrink: 0;
	color: var(--nomax-accent-strong, #7aa8cc);
	transition: transform 0.2s ease;
}

.nomax-type-picker.is-open .nomax-type-picker__chevron {
	transform: rotate(180deg);
}

.nomax-type-picker__menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 40;
	max-height: min(340px, 52vh);
	overflow: auto;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid rgba(13, 17, 24, 0.08);
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(13, 17, 24, 0.14);
}

.nomax-type-picker__menu.is-portaled {
	position: fixed;
	z-index: 99999;
	margin: 0;
}

.nomax-type-picker__option {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	color: #1a2030;
	text-align: left;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

.nomax-type-picker__option:hover,
.nomax-type-picker__option:focus-visible {
	background: rgba(166, 200, 225, 0.18);
	color: #15202a;
	outline: none;
}

.nomax-type-picker__option.is-active {
	background: rgba(166, 200, 225, 0.28);
	color: #15202a;
	font-weight: 600;
}

.nomax-type-picker__option--clear {
	margin-bottom: 6px;
	border-bottom: 1px solid rgba(13, 17, 24, 0.08);
	border-radius: 10px 10px 0 0;
	color: #6d7a88;
	font-weight: 500;
}

.nomax-type-picker__group {
	margin-top: 6px;
	border-radius: 12px;
	overflow: hidden;
}

.nomax-type-picker__group-label {
	padding: 10px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #465666;
}

.nomax-type-picker__group--0 .nomax-type-picker__group-label {
	background: rgba(166, 200, 225, 0.22);
	color: #334155;
}

.nomax-type-picker__group--1 .nomax-type-picker__group-label {
	background: rgba(70, 86, 102, 0.12);
	color: #2f3d4d;
}

.nomax-type-picker__group-items {
	padding: 4px 0 6px;
	background: #fafbfc;
}

.nomax-type-picker__group-items .nomax-type-picker__option {
	padding-left: 18px;
	border-radius: 0;
}

.nomax-type-picker__group-items .nomax-type-picker__option:first-child {
	margin-top: 2px;
}

.nomax-type-picker--hero .nomax-type-picker__trigger {
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
}

.nomax-type-picker--hero .nomax-type-picker__value.is-placeholder {
	color: rgba(255, 255, 255, 0.72);
}

.nomax-type-picker--hero .nomax-type-picker__chevron {
	color: rgba(255, 255, 255, 0.85);
}

.nomax-props-search__control--select {
	padding-right: 10px;
}

.nomax-props-search__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.nomax-props-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	border: 0 !important;
	background: linear-gradient(135deg, var(--nomax-secondary, #465666) 0%, #2f3d4d 100%) !important;
	color: #ffffff !important;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(43, 45, 44, 0.18) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nomax-props-search__submit:hover,
.nomax-props-search__submit:focus,
.nomax-props-search__submit:active,
.nomax-props-search__submit:visited {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(43, 45, 44, 0.22) !important;
	background: linear-gradient(135deg, #526173 0%, #3a4d5f 100%) !important;
	color: #ffffff !important;
}

.nomax-props-search__secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid rgba(13, 17, 24, 0.12);
	background: #ffffff;
	color: #1a2030;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.nomax-props-search__secondary:hover {
	border-color: rgba(166, 200, 225, 0.55);
	background: #f8fbff;
}

/* Listing — top padding clears the overlapping filter bar */
.nomax-props-listing {
	padding-top: clamp(72px, 7vw, 100px);
	padding-bottom: clamp(48px, 6vw, 72px);
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-props-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: clamp(24px, 3vw, 32px);
}

.nomax-props-results {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: #5b6878;
}

.nomax-props-sort__select {
	min-height: 42px;
	padding: 0 36px 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(13, 17, 24, 0.1);
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23465666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1a2030;
	cursor: pointer;
	appearance: none;
}

.nomax-props-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
}

.nomax-prop-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(13, 17, 24, 0.07);
	box-shadow: 0 10px 32px rgba(13, 17, 24, 0.06);
	transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.nomax-prop-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 44px rgba(13, 17, 24, 0.1);
}

.nomax-prop-card__image {
	position: relative;
	display: block;
	height: 220px;
	overflow: hidden;
}

.nomax-prop-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.nomax-prop-card:hover .nomax-prop-card__image img {
	transform: scale(1.04);
}

.nomax-prop-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #e4edf5, #cfdce8);
}

.nomax-prop-card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(13, 17, 24, 0.08);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nomax-secondary, #465666);
}

.nomax-prop-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
	padding: 20px 22px 22px;
}

.nomax-prop-card__title {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.35;
	color: #0d1118;
}

.nomax-prop-card__title a {
	color: inherit;
	text-decoration: none;
}

.nomax-prop-card__title a:hover {
	color: #3f6996;
}

.nomax-prop-card__location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 0.88rem;
	color: #5b6878;
}

.nomax-prop-card__location svg {
	color: var(--nomax-accent-strong, #7aa8cc);
	flex-shrink: 0;
}

.nomax-prop-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
	color: #6d7a88;
}

.nomax-prop-card__specs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nomax-prop-card__specs svg {
	color: #8aa3b8;
	flex-shrink: 0;
}

.nomax-prop-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(13, 17, 24, 0.08);
}

.nomax-prop-card__price {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--nomax-accent-strong, #7aa8cc);
}

.nomax-prop-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(13, 17, 24, 0.12);
	background: #ffffff;
	color: #1a2030;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nomax-prop-card__btn:hover {
	border-color: rgba(166, 200, 225, 0.55);
	background: #f4f9fc;
	color: #1a2030;
}

/* Bottom CTA — full-width card inside 1600px container (matches home cta-banner) */
.nomax-properties-page .nomax-props-cta.cta-banner {
	padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-properties-page .nomax-props-cta.cta-banner .container {
	width: min(100% - 40px, var(--nomax-container, 1600px));
	max-width: var(--nomax-container, 1600px);
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.nomax-properties-page .nomax-props-cta__shell {
	width: 100%;
	padding: clamp(44px, 5vw, 64px) clamp(32px, 4vw, 56px);
}

.nomax-properties-page .nomax-props-cta__content {
	max-width: min(820px, 100%);
	margin-inline: auto;
	text-align: center;
}

.nomax-properties-page .nomax-props-cta__content p {
	margin-left: auto;
	margin-right: auto;
}

.nomax-properties-page .nomax-props-cta__content .cta-banner__btn {
	margin-inline: auto;
}

/* Legacy selectors (kept for compatibility) */
.nomax-properties-page .nomax-properties-banner {
	position: relative;
	min-height: clamp(260px, 38vh, 440px);
	display: flex;
	align-items: flex-end;
	padding: clamp(36px, 5vw, 64px) 0;
	color: #ffffff;
	background-color: #0d1118;
	background-image:
		linear-gradient(180deg, rgba(13, 17, 24, 0.42) 0%, rgba(13, 17, 24, 0.82) 100%),
		var(--nomax-prop-banner-img, linear-gradient(155deg, #1a2838 0%, #0d1118 55%, #0a1620 100%));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.nomax-properties-banner__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 90% 80% at 50% 120%, rgba(0, 0, 0, 0.35), transparent 55%);
}

.nomax-properties-banner__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.nomax-properties-banner__title {
	margin: 0 0 12px;
	font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.65rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.nomax-properties-banner__intro {
	margin: 0;
	font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 52ch;
}

.nomax-properties-toolbar {
	padding-top: clamp(28px, 4vw, 44px);
	padding-bottom: clamp(8px, 2vw, 16px);
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-properties-listing {
	padding-top: clamp(20px, 3vw, 36px);
	padding-bottom: clamp(56px, 8vw, 88px);
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-properties-results-meta {
	margin: 0 0 22px;
	font-size: 0.92rem;
	color: #5b6878;
	font-weight: 600;
}

.nomax-properties-empty {
	margin: 0;
	color: #5b6878;
	line-height: 1.65;
}

.nomax-properties-page .nomax-properties-cards.popular-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.nomax-properties-page .popular-card.popular-card--archive {
	display: flex;
}

.nomax-properties-page .popular-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: linear-gradient(145deg, #e4edf5, #cfdce8);
}

.nomax-properties-pagination {
	margin-top: clamp(36px, 5vw, 52px);
	display: flex;
	justify-content: center;
}

.nomax-properties-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nomax-properties-pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nomax-properties-pagination a.page-numbers,
.nomax-properties-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border: 1px solid rgba(13, 17, 24, 0.12);
	background: #ffffff;
	color: #1a2030;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nomax-properties-pagination a.page-numbers:hover,
.nomax-properties-pagination a.page-numbers:focus {
	background: #a6c8e1;
	border-color: #a6c8e1;
	color: #ffffff;
}

.nomax-properties-pagination span.page-numbers.current {
	background: var(--nomax-secondary, #465666);
	border-color: var(--nomax-secondary, #465666);
	color: #ffffff;
}

.nomax-props-pagination a.page-numbers.prev,
.nomax-props-pagination a.page-numbers.next {
	border-radius: 50%;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
}

.nomax-props-pagination a.page-numbers.prev:hover,
.nomax-props-pagination a.page-numbers.next:hover,
.nomax-props-pagination a.page-numbers.next {
	background: var(--nomax-accent, #a6c8e1);
	border-color: var(--nomax-accent, #a6c8e1);
	color: #0d1118;
}

.nomax-properties-pagination span.page-numbers.dots {
	border-color: transparent;
	background: transparent;
	color: #5b6878;
	min-width: auto;
}

@media (max-width: 1024px) {
	.nomax-props-search__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.nomax-props-hero {
		min-height: clamp(460px, 52vh, 600px);
	}

	.nomax-props-hero__photo--left {
		mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
		-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
	}

	.nomax-props-hero__photo--right {
		mask-image: linear-gradient(270deg, #000 0%, #000 58%, transparent 100%);
		-webkit-mask-image: linear-gradient(270deg, #000 0%, #000 58%, transparent 100%);
	}

	.nomax-properties-page .nomax-properties-cards.popular-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nomax-properties-page .container {
		width: min(100% - 28px, var(--nomax-container, 1600px));
	}
}

@media (max-width: 640px) {
	.nomax-props-hero__frame {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.nomax-props-hero__photo--left,
	.nomax-props-hero__photo--right {
		grid-column: 1;
		mask-image: none;
		-webkit-mask-image: none;
		opacity: 0.85;
	}

	.nomax-props-hero__photo--right {
		grid-row: 2;
	}

	.nomax-props-search__fields {
		grid-template-columns: 1fr;
	}

	.nomax-props-search__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nomax-props-search__submit,
	.nomax-props-search__secondary {
		width: 100%;
		justify-content: center;
	}

	.nomax-props-grid {
		grid-template-columns: 1fr;
	}

	.nomax-prop-card__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.nomax-props-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.nomax-properties-page .nomax-properties-cards.popular-cards {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Single property listing (single-property.php) — light page
   ------------------------------------------------------------------------- */

.nomax-single-property {
	overflow-x: clip;
	background: var(--nomax-white-smoke-soft);
}

.nomax-property-hero {
	position: relative;
	min-height: clamp(380px, 55vh, 620px);
	display: flex;
	align-items: flex-start;
	padding: calc(var(--nomax-header-offset) + clamp(24px, 3vw, 40px)) 0 clamp(48px, 6vw, 64px);
	background-color: #e8eef4;
	background-image: var(--nomax-hero-bg, linear-gradient(145deg, #eef2f6 0%, #ffffff 100%));
	background-size: cover;
	background-position: center;
}

body.admin-bar .nomax-property-hero {
	--nomax-header-offset: clamp(140px, 10vw, 172px);
}

.nomax-property-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.04) 0%,
		rgba(255, 255, 255, 0.28) 45%,
		rgba(248, 250, 252, 0.78) 76%,
		#ffffff 100%
	);
	pointer-events: none;
}

/* Flat hero base — no page corner smoke bleeding through the banner */
.nomax-single-property .nomax-property-hero {
	background-color: #e8eef4;
}

.nomax-property-hero__inner {
	position: relative;
	z-index: 2;
	width: min(100% - 40px, var(--nomax-container));
	margin-inline: auto;
}

.nomax-property-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #5b6878;
}

.nomax-property-back:hover {
	color: var(--nomax-secondary);
}

.nomax-property-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.nomax-single-property .nomax-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(166, 200, 225, 0.14);
	border: 1px solid rgba(70, 86, 102, 0.18);
	color: var(--nomax-secondary);
}

.nomax-property-hero__title {
	margin: 0 0 18px;
	max-width: 920px;
	font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	font-weight: 700;
	background: var(--nomax-heading-grad-banner-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
	text-shadow: none;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-property-hero__title {
		color: transparent;
	}
}

.nomax-property-hero__meta {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nomax-property-hero__price {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 700;
	color: var(--nomax-secondary);
	letter-spacing: 0.02em;
}

.nomax-property-hero__tax {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	font-size: 0.95rem;
	color: #5b6878;
}

.nomax-property-tax__label {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #8a9aab;
	margin-bottom: 4px;
}

.nomax-property-body {
	padding: 56px 0 96px;
	background: var(--nomax-white-smoke-soft);
}

.nomax-property-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
	width: min(100% - 40px, var(--nomax-container));
	margin-inline: auto;
}

.nomax-property-main {
	min-width: 0;
}

.nomax-property-section {
	margin-bottom: 48px;
}

.nomax-property-section:last-child {
	margin-bottom: 0;
}

.nomax-property-section h2 {
	margin: 0 0 18px;
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(70, 86, 102, 0.12);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-property-section h2 {
		color: transparent;
	}
}

.nomax-property-lead__text {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #5b6878;
	max-width: 72ch;
}

.nomax-property-prose {
	font-size: 1.02rem;
	line-height: 1.8;
	color: #5b6878;
	max-width: 72ch;
}

.nomax-property-prose p {
	margin: 0 0 1.1em;
}

.nomax-property-prose p:last-child {
	margin-bottom: 0;
}

.nomax-property-gallery {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
	gap: 14px;
}

.nomax-property-gallery__item {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(70, 86, 102, 0.14) !important;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(43, 45, 44, 0.08);
}

.nomax-gallery-trigger {
	display: block;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent;
	width: 100%;
	cursor: zoom-in;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
	transition: none;
}

.nomax-gallery-trigger:focus,
.nomax-gallery-trigger:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(166, 200, 225, 0.35);
}

.nomax-gallery-trigger:hover,
.nomax-gallery-trigger:active,
.nomax-gallery-trigger:visited {
	background: transparent !important;
	border-color: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

.nomax-property-gallery__item img {
	width: 100%;
	height: 220px;
	display: block;
	object-fit: cover;
	clip-path: inset(4px round 8px);
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	transition: transform 0.35s ease;
}

.nomax-property-gallery__item:hover img {
	transform: scale(1.04);
}

.nomax-no-scroll {
	overflow: hidden;
}

.nomax-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.nomax-lightbox.is-open {
	display: flex;
}

.nomax-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 10, 12, 0.9);
	backdrop-filter: blur(3px);
}

.nomax-lightbox__content {
	position: relative;
	z-index: 2;
	width: min(92vw, 1200px);
	max-height: 88vh;
	padding: 10px;
	border-radius: 16px;
	border: 1px solid var(--nomax-border);
	background: rgba(35, 40, 44, 0.85);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.nomax-lightbox__content img {
	display: block;
	width: 100%;
	max-height: calc(88vh - 20px);
	object-fit: contain;
	border-radius: 10px;
}

.nomax-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 1px solid var(--nomax-border);
	border-radius: 999px;
	background: rgba(35, 40, 44, 0.92);
	color: var(--nomax-text);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.nomax-property-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.nomax-property-list li {
	position: relative;
	padding: 14px 18px 14px 44px;
	background: #ffffff;
	border: 1px solid rgba(70, 86, 102, 0.14);
	border-radius: 12px;
	color: #2b2d2c;
	font-size: 0.98rem;
	line-height: 1.5;
	box-shadow: 0 4px 14px rgba(43, 45, 44, 0.05);
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.nomax-property-list li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nomax-accent);
	box-shadow: 0 0 12px rgba(166, 200, 225, 0.45);
}

.nomax-property-list li:hover {
	border-color: rgba(166, 200, 225, 0.55);
	transform: translateX(4px);
}

.nomax-property-list--amenities li {
	background: #f8fafc;
}

.nomax-property-aside {
	position: relative;
}

.nomax-property-card {
	padding: 28px;
	background: #ffffff;
	border: 1px solid rgba(70, 86, 102, 0.14);
	border-radius: var(--nomax-radius);
	box-shadow: 0 14px 40px rgba(43, 45, 44, 0.08);
}

.nomax-property-card--sticky {
	position: sticky;
	top: 100px;
}

.nomax-property-card__label {
	margin: 0 0 6px;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #8a9aab;
}

.nomax-property-card__price {
	margin: 0 0 22px;
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--nomax-secondary);
	line-height: 1.2;
}

.nomax-property-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.nomax-single-property .nomax-chip {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	background: rgba(166, 200, 225, 0.12);
	border: 1px solid rgba(70, 86, 102, 0.16);
	color: #2b2d2c;
}

.nomax-single-property .nomax-chip--muted {
	background: #f0f4f8;
	border-color: rgba(70, 86, 102, 0.12);
	color: #5b6878;
}

.nomax-single-property .nomax-chip--accent {
	background: rgba(166, 200, 225, 0.2);
	border-color: rgba(122, 168, 204, 0.45);
	color: var(--nomax-secondary);
}

.nomax-property-card__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nomax-property-card__btn {
	width: 100%;
}

.nomax-single-property .nomax-btn-whatsapp {
	border-color: #25d366;
	color: #128c7e;
	background: rgba(37, 211, 102, 0.08);
	backdrop-filter: none;
}

.nomax-single-property .nomax-btn-whatsapp:hover {
	border-color: #25d366;
	background: rgba(37, 211, 102, 0.14);
	color: #075e54;
}

.nomax-property-card__hint {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #8a9aab;
}

@media (max-width: 1024px) {
	.nomax-property-layout {
		grid-template-columns: 1fr;
	}

	.nomax-property-card--sticky {
		position: static;
	}
}

@media (max-width: 767px) {
	.nomax-property-hero {
		min-height: clamp(320px, 48vh, 480px);
		padding: calc(var(--nomax-header-offset) + 20px) 0 40px;
	}

	.nomax-property-body {
		padding: 36px 0 64px;
	}

	.nomax-property-layout {
		width: min(100% - 28px, var(--nomax-container));
	}
}

/* -------------------------------------------------------------------------
   About page (page-about.php)
   ------------------------------------------------------------------------- */

body.nomax-about-layout .nomax-about-page {
	background: var(--nomax-white-smoke, #faf8f6);
}

/* Hero */
.nomax-about-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(580px, 68vh, 800px);
	display: flex;
	align-items: center;
	padding: calc(var(--nomax-header-offset) + clamp(20px, 3vw, 36px)) 0 clamp(72px, 8vw, 112px);
	background-color: var(--nomax-bg, #2b2d2c);
	background-image: var(--nomax-about-hero-img, none);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

body.admin-bar .nomax-about-hero {
	--nomax-header-offset: clamp(140px, 10vw, 172px);
}

.nomax-about-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 17, 24, 0.35) 0%, rgba(13, 17, 24, 0.55) 45%, rgba(13, 17, 24, 0.82) 100%),
		linear-gradient(90deg, rgba(43, 45, 44, 0.45) 0%, transparent 55%);
}

.nomax-about-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: min(720px, 100%);
	margin-inline: auto;
	text-align: center;
}

.nomax-about-hero__title {
	margin: 0 0 18px;
	font-size: var(--nomax-heading-hero);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	max-width: 760px;
	margin-inline: auto;
	background: var(--nomax-heading-grad-hero);
	-webkit-background-clip: text;
	background-clip: text;
	color: #faf6ef;
	text-shadow: none;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-hero__title {
		color: transparent;
	}
}

.nomax-about-hero__title .hero-heading-accent {
	display: inline;
	background: var(--nomax-heading-grad-hero-accent);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.nomax-about-hero__intro {
	margin: 0 0 28px;
	max-width: 52ch;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
	line-height: 1.75;
	color: rgba(218, 234, 247, 0.92);
}

.nomax-about-hero__card {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	border-radius: 14px;
	background: rgba(13, 17, 24, 0.72);
	border: 1px solid rgba(166, 200, 225, 0.28);
	backdrop-filter: blur(10px);
}

.nomax-about-hero__card-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
}

.nomax-about-hero__card-text {
	font-size: 0.82rem;
	color: var(--nomax-accent, #a6c8e1);
}

/* About page sections — no bottom padding (spacing from next section top only) */
.home-premium-template.nomax-about-page .section {
	padding-bottom: 0;
}

/* Legacy + stats + gallery */
.nomax-about-legacy {
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-about-legacy__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.nomax-about-legacy__title {
	margin: 0;
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-legacy__title {
		color: transparent;
	}
}

.nomax-about-legacy__text {
	font-size: 1rem;
	line-height: 1.8;
	color: #5b6878;
}

.nomax-about-legacy__text p {
	margin: 0 0 1em;
}

.nomax-about-legacy__text p:last-child {
	margin-bottom: 0;
}

.nomax-about-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.5vw, 28px);
	margin: 0 0 clamp(36px, 5vw, 52px);
	padding: 0;
	list-style: none;
}

.nomax-about-stats__item {
	padding: clamp(20px, 2.5vw, 28px);
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(13, 17, 24, 0.07);
	box-shadow: 0 10px 32px rgba(13, 17, 24, 0.05);
}

.nomax-about-stats__value {
	display: block;
	margin-bottom: 8px;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--nomax-accent-strong, #7aa8cc);
}

.nomax-about-stats__label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: #5b6878;
}

.nomax-about-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 18px);
}

.nomax-about-gallery__item {
	min-height: clamp(160px, 18vw, 220px);
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 12px 36px rgba(13, 17, 24, 0.08);
}

/* Steps */
.nomax-about-steps {
	background: #ffffff;
}

.nomax-about-steps__title {
	margin: 0 0 clamp(32px, 4vw, 48px);
	text-align: center;
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-steps__title {
		color: transparent;
	}
}

.nomax-about-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
}

.nomax-about-step {
	padding: clamp(22px, 2.5vw, 28px);
	border-radius: 16px;
	background: var(--nomax-white-smoke, #faf8f6);
	border: 1px solid rgba(13, 17, 24, 0.06);
}

.nomax-about-step__num {
	display: block;
	margin-bottom: 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--nomax-accent-strong, #7aa8cc);
}

.nomax-about-step__heading {
	margin: 0 0 10px;
	font-size: 1.08rem;
	font-weight: 700;
	color: #1a2030;
}

.nomax-about-step__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #5b6878;
}

/* Why choose */
.nomax-about-why {
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-about-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.nomax-about-why__media {
	min-height: clamp(380px, 42vw, 520px);
	border-radius: 20px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 20px 50px rgba(13, 17, 24, 0.12);
}

.nomax-about-why__title {
	margin: 0 0 clamp(24px, 3vw, 32px);
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-why__title {
		color: transparent;
	}
}

.nomax-about-why__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 2.5vw, 28px);
}

.nomax-about-why__item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.nomax-about-why__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(166, 200, 225, 0.2);
	border: 1px solid rgba(166, 200, 225, 0.35);
	color: var(--nomax-secondary, #465666);
}

.nomax-about-why__item-title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a2030;
}

.nomax-about-why__item-text {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.7;
	color: #5b6878;
}

/* Team */
.nomax-about-team {
	background: #ffffff;
}

.nomax-about-team__title {
	margin: 0 0 clamp(32px, 4vw, 48px);
	text-align: center;
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-light);
	-webkit-background-clip: text;
	background-clip: text;
	color: #1a2030;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-team__title {
		color: transparent;
	}
}

.nomax-about-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
	padding-bottom: 50px;
}

.nomax-about-team__card {
	text-align: center;
}

.nomax-about-team__photo {
	margin-bottom: 16px;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: linear-gradient(145deg, #e4edf5, #cfdce8);
}

.nomax-about-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nomax-about-team__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, var(--nomax-secondary, #465666), #2f3d4d);
}

.nomax-about-team__name {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a2030;
}

.nomax-about-team__role {
	margin: 0;
	font-size: 0.88rem;
	color: #6d7a88;
}

/* Bottom CTA */
.nomax-about-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	max-width: 100vw;
	min-height: clamp(420px, 48vh, 560px);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(100px, 12vw, 160px) 0;
	background-color: var(--nomax-bg, #2b2d2c);
	background-image: var(--nomax-about-cta-img, none);
	background-size: cover;
	background-position: center;
	text-align: center;
}

.nomax-about-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 17, 24, 0.5) 0%, rgba(13, 17, 24, 0.78) 100%);
}

.nomax-about-cta__inner {
	position: relative;
	z-index: 2;
	max-width: min(640px, 100%);
	margin-inline: auto;
}

.nomax-about-cta__title {
	margin: 0 0 14px;
	font-size: var(--nomax-heading-xl);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	background: var(--nomax-heading-grad-on-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: #ffffff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.nomax-about-cta__title {
		color: transparent;
	}
}

.nomax-about-cta__text {
	margin: 0 0 28px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: rgba(218, 234, 247, 0.9);
}

.nomax-about-cta__btn {
	min-width: 200px;
	color: #15202a !important;
	background: linear-gradient(145deg, var(--nomax-accent), var(--nomax-accent-strong)) !important;
	box-shadow: 0 12px 32px rgba(122, 168, 204, 0.4) !important;
}

.nomax-about-cta__btn:hover,
.nomax-about-cta__btn:focus,
.nomax-about-cta__btn:active,
.nomax-about-cta__btn:visited {
	color: #111b23 !important;
	background: linear-gradient(145deg, #b8d4eb, var(--nomax-accent)) !important;
}

@media (max-width: 1024px) {
	.nomax-about-legacy__head {
		grid-template-columns: 1fr;
	}

	.nomax-about-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nomax-about-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nomax-about-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nomax-about-why__grid {
		grid-template-columns: 1fr;
	}

	.nomax-about-why__media {
		min-height: 320px;
	}

	.nomax-about-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.nomax-about-hero {
		min-height: clamp(500px, 74vh, 620px);
	}

	.nomax-about-stats {
		grid-template-columns: 1fr;
	}

	.nomax-about-gallery {
		grid-template-columns: 1fr;
	}

	.nomax-about-steps__grid {
		grid-template-columns: 1fr;
	}

	.nomax-about-team__grid {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Contact page (page-contact.php)
   ------------------------------------------------------------------------- */

body.nomax-contact-layout .nomax-contact-page {
	background: var(--nomax-white-smoke, #faf8f6);
}

.home-premium-template.nomax-contact-page .section {
	padding-bottom: 0;
}

/* Hero */
.nomax-contact-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(480px, 58vh, 640px);
	display: flex;
	align-items: center;
	padding: calc(var(--nomax-header-offset) + clamp(20px, 3vw, 36px)) 0 clamp(72px, 8vw, 112px);
	background-color: var(--nomax-bg, #2b2d2c);
	background-image: var(--nomax-contact-hero-img, none);
	background-size: cover;
	background-position: center;
}

body.admin-bar .nomax-contact-hero {
	--nomax-header-offset: clamp(140px, 10vw, 172px);
}

.nomax-contact-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 17, 24, 0.4) 0%, rgba(13, 17, 24, 0.78) 100%);
}

.nomax-contact-hero__inner {
	position: relative;
	z-index: 2;
	max-width: min(720px, 100%);
	text-align: center;
	margin-inline: auto;
}

.nomax-contact-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.2rem, 1.5rem + 3vw, 3.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #ffffff;
}

.nomax-contact-hero__intro {
	margin: 0 0 28px;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
	line-height: 1.75;
	color: rgba(218, 234, 247, 0.92);
}

.nomax-contact-hero__btn {
	min-width: 180px;
	color: #15202a !important;
	background: linear-gradient(145deg, var(--nomax-accent), var(--nomax-accent-strong)) !important;
}

/* Contact cards */
.nomax-contact-cards {
	background: #ffffff;
}

.nomax-contact-cards__title {
	margin: 0 0 clamp(32px, 4vw, 48px);
	text-align: center;
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #1a2030;
}

.nomax-contact-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 28px);
	padding-bottom: 50px;
}

.nomax-contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(26px, 3vw, 32px);
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(13, 17, 24, 0.08);
	box-shadow: 0 14px 40px rgba(13, 17, 24, 0.06);
}

.nomax-contact-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: rgba(166, 200, 225, 0.2);
	color: var(--nomax-secondary, #465666);
}

.nomax-contact-card__title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1a2030;
}

.nomax-contact-card__detail {
	margin: 0 0 22px;
	flex: 1;
	font-size: 0.94rem;
	line-height: 1.65;
	color: #5b6878;
}

.nomax-contact-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--nomax-secondary, #465666) 0%, #2f3d4d 100%);
	color: #ffffff !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nomax-contact-card__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(43, 45, 44, 0.2);
	color: #ffffff !important;
}

/* Office + map */
.nomax-contact-office {
	background: var(--nomax-white-smoke, #faf8f6);
}

.nomax-contact-office__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: center;
	padding-bottom: 50px;
}

.nomax-contact-office__title {
	margin: 0 0 16px;
	font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.35rem);
	font-weight: 700;
	color: #1a2030;
}

.nomax-contact-office__text {
	font-size: 1rem;
	line-height: 1.8;
	color: #5b6878;
}

.nomax-contact-office__map {
	border-radius: 18px;
	overflow: hidden;
	min-height: 360px;
	box-shadow: 0 16px 44px rgba(13, 17, 24, 0.1);
}

.nomax-contact-office__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
}

/* Contact form */
.nomax-contact-form-section {
	background: #ffffff;
}

.nomax-contact-form-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 40px);
	align-items: stretch;
	padding-bottom: 50px;
}

.nomax-contact-form-section__media {
	min-height: clamp(380px, 40vw, 520px);
	border-radius: 18px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 16px 44px rgba(13, 17, 24, 0.1);
}

.nomax-contact-form-section__title {
	margin: 0 0 clamp(28px, 3vw, 40px);
	font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.35rem);
	font-weight: 700;
	color: #1a2030;
}

.nomax-contact-form {
	display: flex;
	flex-direction: column;
	gap: clamp(22px, 2.5vw, 32px);
}

.nomax-contact-form__field {
	display: block;
	margin: 0;
}

.nomax-contact-form__label {
	display: block;
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
	color: #1a2030;
}

.nomax-contact-form__field input,
.nomax-contact-form__field textarea,
.nomax-contact-form__shortcode input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.nomax-contact-form__shortcode select,
.nomax-contact-form__shortcode textarea {
	width: 100%;
	padding: 6px 0 14px;
	border: 0;
	border-bottom: 1px solid rgba(13, 17, 24, 0.22);
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	color: #1a2030;
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.nomax-contact-form__field input:focus,
.nomax-contact-form__field textarea:focus,
.nomax-contact-form__shortcode input:not([type="hidden"]):not([type="submit"]):focus,
.nomax-contact-form__shortcode select:focus,
.nomax-contact-form__shortcode textarea:focus {
	border-bottom-color: #1a2030;
	box-shadow: none;
}

.nomax-contact-form__field textarea,
.nomax-contact-form__shortcode textarea {
	resize: vertical;
	min-height: clamp(100px, 14vw, 140px);
	line-height: 1.6;
}

.nomax-contact-form__shortcode .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: clamp(22px, 2.5vw, 32px);
}

.nomax-contact-form__shortcode label {
	display: block;
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: 500;
	color: #1a2030;
}

.nomax-contact-form__shortcode .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 42px;
	width: auto;
	margin-top: 8px;
	padding: 0 22px;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--nomax-secondary, #465666) 0%, #2f3d4d 100%) !important;
	color: #ffffff !important;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nomax-contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 42px;
	width: auto;
	margin-top: clamp(8px, 1.5vw, 16px);
	padding: 0 22px;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--nomax-secondary, #465666) 0%, #2f3d4d 100%) !important;
	color: #ffffff !important;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nomax-contact-form__submit:hover,
.nomax-contact-form__submit:focus {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(43, 45, 44, 0.22);
	color: #ffffff !important;
}

.nomax-contact-form__notice {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 0.92rem;
}

.nomax-contact-form__notice--success {
	background: rgba(166, 200, 225, 0.2);
	color: #1a2030;
	border: 1px solid rgba(166, 200, 225, 0.45);
}

.nomax-contact-form__notice--error {
	background: rgba(220, 80, 80, 0.08);
	color: #8b2e2e;
	border: 1px solid rgba(220, 80, 80, 0.25);
}

/* Bottom CTA (tall hero + email ticker inside) */
.nomax-contact-cta {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100vw;
	max-width: 100vw;
	min-height: clamp(520px, 58vh, 720px);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	background-color: var(--nomax-bg, #2b2d2c);
	background-image: var(--nomax-contact-cta-img, none);
	background-size: cover;
	background-position: center;
	text-align: center;
	overflow: hidden;
}

.nomax-contact-cta__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(13, 17, 24, 0.55) 0%,
		rgba(13, 17, 24, 0.45) 35%,
		rgba(13, 17, 24, 0.72) 72%,
		rgba(13, 17, 24, 0.92) 100%
	);
}

.nomax-contact-cta__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	padding: clamp(100px, 12vw, 160px) 0 clamp(48px, 6vw, 72px);
}

.nomax-contact-cta__inner {
	position: relative;
	max-width: min(720px, 100%);
	margin-inline: auto;
}

.nomax-contact-cta__title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.12;
	color: #ffffff;
}

.nomax-contact-cta__text {
	margin: 0 0 32px;
	font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.08rem);
	line-height: 1.75;
	color: rgba(235, 242, 250, 0.92);
}

.nomax-contact-cta__btn {
	min-width: 200px;
	padding-inline: 2rem;
	border-radius: 999px !important;
	color: #15202a !important;
	background: #ffffff !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
}

.nomax-contact-cta__btn:hover {
	color: #0d1118 !important;
	background: var(--nomax-accent, #a6c8e1) !important;
}

.nomax-contact-cta__marquee {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	width: 100%;
	margin-top: auto;
	overflow: hidden;
	padding: clamp(20px, 3vw, 32px) 0 clamp(28px, 4vw, 44px);
}

.nomax-contact-marquee__track {
	display: flex;
	width: max-content;
	animation: nomaxContactMarquee 28s linear infinite;
}

.nomax-contact-marquee__group {
	display: flex;
	align-items: center;
	gap: clamp(48px, 8vw, 120px);
	padding-right: clamp(48px, 8vw, 120px);
}

.nomax-contact-cta__marquee .nomax-contact-marquee__item {
	font-size: clamp(2.75rem, 2rem + 3.5vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.95);
	opacity: 0.92;
}

@keyframes nomaxContactMarquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nomax-contact-marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		gap: 24px;
	}

	.nomax-contact-marquee__group {
		flex-wrap: wrap;
		justify-content: center;
		padding-right: 0;
	}
}

@media (max-width: 1024px) {
	.nomax-contact-cards__grid {
		grid-template-columns: 1fr;
	}

	.nomax-contact-office__grid,
	.nomax-contact-form-section__grid {
		grid-template-columns: 1fr;
	}

	.nomax-contact-form-section__media {
		min-height: 280px;
	}
}

@media (max-width: 640px) {
	.nomax-contact-hero {
		min-height: clamp(420px, 65vh, 520px);
	}
}