/* ==========================================================================
   Homepage — section-specific styles for front-page.php and its parts.
   ========================================================================== */

/* === Utility Bar (top compliance bar) === */
.utility-bar {
	background: var(--color-primary);
	color: var(--color-grey-light);
	font-family: var(--font-body);
	font-size: var(--text-xs);
	letter-spacing: 0.05em;
	padding: var(--space-2) 0;
}

.utility-bar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	justify-content: space-between;
	align-items: center;
}

.utility-bar__brand {
	color: var(--color-grey-light);
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
}

.utility-bar__brokerage-logo {
	height: 28px;
	width: auto;
	display: block;
	background: var(--color-white);
	padding: 3px;
	border-radius: 2px;
}

.utility-bar__brand strong {
	color: var(--color-white);
	font-weight: 600;
}

.utility-bar__sep {
	margin: 0 var(--space-3);
	color: var(--color-grey-mid);
}

.utility-bar a {
	color: var(--color-grey-light);
	text-decoration: none;
}

.utility-bar a:hover {
	color: var(--color-accent);
}

.utility-bar .social-icons a {
	width: 28px;
	height: 28px;
	color: var(--color-grey-light);
	border-color: var(--color-grey-mid);
	font-size: var(--text-xs);
}

/* === Hero === */
.hero-section {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

/* Mobile: fixed background attachment is unreliable on iOS/Android and
   tanks scroll performance — fall back to default scroll behavior. */
@media (max-width: 1023px) {
	.hero-bg {
		background-attachment: scroll;
	}
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(28, 45, 55, 0.78) 0%,
		rgba(28, 45, 55, 0.50) 55%,
		rgba(42, 68, 89, 0.32) 100%
	);
	clip-path: var(--clip-hero-overlay);
	will-change: transform;
}

.hero-geo-1 {
	position: absolute;
	width: 36vw;
	height: 36vw;
	max-width: 480px;
	max-height: 480px;
	top: 8%;
	right: -8%;
	background: var(--color-accent);
	clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
	opacity: 0.15;
	will-change: transform;
}

.hero-geo-2 {
	position: absolute;
	width: 30vw;
	height: 22vw;
	bottom: 10%;
	right: 4%;
	background: var(--color-primary-light);
	clip-path: polygon(0 30%, 70% 0, 100% 70%, 30% 100%);
	opacity: 0.18;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: var(--space-32) var(--space-12) var(--space-32);
	max-width: 820px;
	margin-left: 8%;
}

.hero-eyebrow {
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: var(--text-sm);
	margin-bottom: var(--space-4);
	display: inline-block;
	padding-left: var(--space-10);
	position: relative;
	opacity: 0;
	animation: fadeInDown var(--duration-page) var(--ease-elegant) 0.2s forwards;
}

.hero-eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: var(--space-8);
	height: 1px;
	background: var(--color-white);
}

.hero-headline {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--color-white);
	margin: 0 0 var(--space-6);
	opacity: 0;
	transform: translateX(-40px);
	animation: slideInLeft var(--duration-page) var(--ease-elegant) 0.4s forwards;
}

.hero-subheadline {
	font-family: var(--font-accent);
	font-style: italic;
	font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
	color: var(--color-grey-light);
	margin: 0 0 var(--space-8);
	max-width: 620px;
	opacity: 0;
	animation: fadeInUp var(--duration-page) var(--ease-elegant) 0.7s forwards;
}

.hero-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	opacity: 0;
	animation: fadeInUp var(--duration-page) var(--ease-elegant) 1s forwards;
}

/* Outer wrapper — sits outside .hero-section to avoid overflow:hidden clipping.
   Negative margin pulls it up to visually overlap the hero bottom. */
.hero-search-outer {
	position: relative;
	z-index: 4;
	margin-top: calc(-1 * var(--space-20));
	margin-bottom: var(--space-4);
	pointer-events: none;
}

.hero-search-wrapper {
	position: relative;
	z-index: 3;
	margin: 0 var(--space-8);
	padding: var(--space-6) var(--space-8);
	filter: var(--drop-shadow-xl);
	opacity: 0;
	transform: translateY(40px);
	animation: fadeInUp var(--duration-page) var(--ease-elegant) 1.2s forwards;
	pointer-events: auto;
}

/* Decorative card backdrop with corner cut — moved off the wrapper so
   IDX autocomplete dropdowns can extend below without being clipped. */
.hero-search-wrapper::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--color-white);
	border-top: 4px solid var(--color-accent);
	clip-path: polygon(0 0, 98% 0, 100% 4%, 100% 100%, 0 100%);
	z-index: -1;
	pointer-events: none;
}

/* Force Optima Express's internal form containers to allow overflow so the
   address-autocomplete popup isn't clipped at the search card's bottom edge.
   Targets known stable iHomeFinder wrapper patterns; the suggestion list
   itself is excluded so its own overflow (scrolling) still works. */
.hero-search-wrapper > *,
.hero-search-wrapper [class*="ihf-omnibar"],
.hero-search-wrapper [class*="ihf-search-form"],
.hero-search-wrapper [class*="ihf-quick-search"],
.hero-search-wrapper .ihf-container,
.hero-search-wrapper .omnibar,
.hero-search-wrapper .omnibar-wrapper,
.hero-search-wrapper form {
	overflow: visible !important;
}

/* Promote the search card above all sibling sections, and force any IDX
   autocomplete / popover / listbox spawned inside it to render on top. */
.hero-search-outer {
	z-index: 100;
}

.hero-search-wrapper [class*="autocomplete"],
.hero-search-wrapper [class*="suggestion"],
.hero-search-wrapper [class*="popover"],
.hero-search-wrapper [role="listbox"],
.hero-search-wrapper [role="presentation"][class*="ui-popover"] {
	z-index: 9999 !important;
}

.hero-search-wrapper__label {
	display: block;
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-accent);
	margin-bottom: var(--space-3);
}

/* --- Omnibar fallback (decorative search form when [omnibar] isn't active) --- */
.omnibar-fallback {
	display: grid;
	grid-template-columns: 2.2fr 1.2fr 1fr auto;
	gap: var(--space-3);
	align-items: stretch;
}

.omnibar-fallback__field {
	position: relative;
	display: flex;
	align-items: center;
}

.omnibar-fallback__field i {
	position: absolute;
	left: var(--space-4);
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-accent);
	font-size: var(--text-base);
	pointer-events: none;
}

.omnibar-fallback__field--location input {
	padding-left: calc(var(--space-4) + 22px);
}

.omnibar-fallback input,
.omnibar-fallback select {
	width: 100%;
	min-height: 52px;
	padding: var(--space-3) var(--space-4);
	font-family: var(--font-body);
	font-size: var(--text-base);
	color: var(--color-primary);
	background: var(--color-off-white);
	border: 1px solid var(--color-grey-light);
	border-radius: var(--radius-sm);
	transition: border-color var(--duration-base) var(--ease-out),
		background var(--duration-base) var(--ease-out),
		box-shadow var(--duration-base) var(--ease-out);
	-webkit-appearance: none;
	appearance: none;
}

.omnibar-fallback select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%231c2d37' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right var(--space-4) center;
	background-size: 10px 7px;
	padding-right: var(--space-10);
	cursor: pointer;
}

.omnibar-fallback input:focus,
.omnibar-fallback select:focus {
	outline: none;
	background: var(--color-white);
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(97, 155, 138, 0.15);
}

.omnibar-fallback input::placeholder {
	color: var(--color-grey-mid);
}

.omnibar-fallback__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 52px;
	padding: 0 var(--space-6);
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--duration-base) var(--ease-out),
		color var(--duration-base) var(--ease-out),
		transform var(--duration-fast) var(--ease-out);
}

.omnibar-fallback__submit:hover,
.omnibar-fallback__submit:focus {
	background: var(--color-accent);
	color: var(--color-white);
	transform: translateY(-2px);
	outline: none;
}

@media (max-width: 1023px) {
	.omnibar-fallback {
		grid-template-columns: 1fr 1fr;
	}
	.omnibar-fallback__field--location {
		grid-column: 1 / -1;
	}
	.omnibar-fallback__submit {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.omnibar-fallback {
		grid-template-columns: 1fr;
	}
	.omnibar-fallback__field--location {
		grid-column: auto;
	}
}

/* === Featured Listings === */
.featured-listings {
	padding-top: clamp(var(--space-24), 12vw, var(--space-32));
	background: var(--color-off-white);
}

.featured-listings__cta {
	margin-top: var(--space-12);
	text-align: center;
}

/* === Why Choose Us === */
.why-choose {
	background: var(--color-primary);
	color: var(--color-white);
	position: relative;
}

.why-card {
	position: relative;
	padding: var(--space-10);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	clip-path: polygon(0 0, 96% 0, 100% 5%, 100% 100%, 0 100%);
	overflow: hidden;
	transition: transform var(--duration-base) var(--ease-out),
		background var(--duration-base) var(--ease-out);
}

.why-card:hover,
.why-card:focus-within {
	transform: translateY(-6px);
	background: rgba(255, 255, 255, 0.08);
}

.why-card__bignum {
	position: absolute;
	top: -1rem;
	right: -1rem;
	font-family: var(--font-display);
	font-size: 9rem;
	font-weight: 900;
	color: var(--color-accent);
	opacity: 0.07;
	line-height: 1;
	pointer-events: none;
}

.why-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: var(--space-6);
	background: rgba(97, 155, 138, 0.15);
	color: var(--color-accent);
	font-size: var(--text-2xl);
	border-radius: 50%;
}

.why-card__title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	color: var(--color-white);
	margin: 0 0 var(--space-3);
}

.why-card__text {
	color: var(--color-grey-light);
	margin: 0;
	font-size: var(--text-base);
	line-height: var(--lh-normal);
}

/* === About Preview === */
.about-preview {
	background: var(--color-white);
	position: relative;
	overflow: hidden;
}

.about-preview-grid {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: var(--space-16);
	align-items: center;
}

.about-preview__photo {
	position: relative;
}

.about-preview__photo-frame {
	position: relative;
	aspect-ratio: 4 / 5;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
	clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
	transform: rotate(-2deg);
	overflow: hidden;
	filter: var(--drop-shadow-lg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-preview__photo-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.18) 100%);
	pointer-events: none;
}

/* About page uses a landscape photo (image0.jpeg is 640×457 ≈ 7:5).
   Override the portrait 4:5 frame so the photo fills without left/right crop. */
.page-about .about-preview__photo-frame {
	aspect-ratio: 7 / 5;
}

.page-about .about-preview__photo-frame img {
	object-position: center center;
}

.page-about .about-preview__photo {
	max-width: 560px;
	margin-inline: auto;
}

.about-preview__photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Homepage about photo — let the frame size to the image's natural aspect ratio
   so the full portrait is visible (no top/bottom crop) and centered.
   Cap to the source file's native width (457px) so the browser never upscales it
   into blur. Replace with a higher-res upload to display larger sharply. */
.homepage .about-preview__photo {
	max-width: 457px;
	margin-inline: auto;
}

.homepage .about-preview__photo-frame {
	aspect-ratio: auto;
	background: transparent;
}

.homepage .about-preview__photo-frame img {
	width: 100%;
	height: auto;
	max-width: 457px;
	object-fit: contain;
	object-position: center center;
	display: block;
}

.about-preview__photo-initials {
	font-family: var(--font-display);
	font-size: 8rem;
	font-weight: 900;
	color: rgba(97, 155, 138, 0.4);
	letter-spacing: -0.05em;
	z-index: 2;
}

.about-preview__accent-bar {
	position: absolute;
	width: 50%;
	height: 6px;
	background: var(--color-accent);
	bottom: -12px;
	left: 25%;
	z-index: 3;
}

.about-preview__credentials {
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-accent);
	margin-top: var(--space-6);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-grey-light);
}

/* === Latest Videos === */
.latest-videos {
	background: var(--color-primary-tint);
	position: relative;
}

.video-card {
	position: relative;
	background: var(--color-white);
	overflow: hidden;
	clip-path: var(--clip-card-soft);
	filter: var(--drop-shadow-sm);
	transition: transform var(--duration-base) var(--ease-out),
		filter var(--duration-base) var(--ease-out);
	display: flex;
	flex-direction: column;
}

.video-card:hover,
.video-card:focus-within {
	transform: translateY(-6px);
	filter: var(--drop-shadow-lg);
}

.video-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.video-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-slow) var(--ease-out);
}

.video-card:hover .video-card__media img {
	transform: scale(1.05);
}

.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	background: var(--color-accent);
	color: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--text-2xl);
	transition: transform var(--duration-base) var(--ease-out),
		background var(--duration-base) var(--ease-out);
	box-shadow: var(--shadow-md);
}

.video-card:hover .video-card__play {
	transform: translate(-50%, -50%) scale(1.1);
	background: var(--color-primary);
}

.video-card__body {
	padding: var(--space-5) var(--space-6) var(--space-6);
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.video-card__title {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 var(--space-2);
	line-height: var(--lh-snug);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__date {
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	color: var(--color-grey-mid);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0;
}

.youtube-fallback {
	padding: var(--space-12);
	text-align: center;
	background: var(--color-white);
	border: 1px dashed var(--color-grey-light);
	color: var(--color-grey-mid);
}

/* === Latest Posts (homepage journal teaser) === */
.latest-posts {
	background: var(--color-white);
	padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.latest-posts__header {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: var(--space-8);
	margin-bottom: var(--space-12);
	padding-bottom: var(--space-8);
	border-bottom: 1px solid var(--color-grey-light);
}

.latest-posts__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
	color: var(--color-primary);
	margin: 0 0 var(--space-3);
	line-height: 1.05;
	letter-spacing: -0.025em;
	max-width: 18ch;
}

.latest-posts__sub {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	color: var(--color-grey-mid);
	margin: 0;
	max-width: 56ch;
	line-height: var(--lh-snug);
}

.latest-posts__view-all {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-3) var(--space-5);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-primary);
	text-decoration: none;
	border-bottom: 2px solid var(--color-accent);
	transition: gap var(--duration-base) var(--ease-out),
		color var(--duration-base) var(--ease-out),
		border-color var(--duration-base) var(--ease-out);
	white-space: nowrap;
}

.latest-posts__view-all:hover,
.latest-posts__view-all:focus {
	color: var(--color-accent);
	gap: var(--space-4);
	border-bottom-color: var(--color-primary);
}

.latest-posts__view-all i {
	transition: transform var(--duration-base) var(--ease-out);
}

.latest-posts__view-all:hover i {
	transform: translateX(4px);
}

.latest-posts__grid {
	margin-top: 0;
}

@media (max-width: 768px) {
	.latest-posts__header {
		grid-template-columns: 1fr;
		gap: var(--space-6);
		align-items: start;
	}

	.latest-posts__view-all {
		justify-self: start;
	}
}

/* === Testimonials === */
.testimonials {
	background: var(--color-primary);
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.testimonials__track-wrap {
	position: relative;
	overflow: hidden;
	margin-top: var(--space-8);
}

.testimonials__track {
	display: flex;
	gap: var(--space-6);
	scroll-snap-type: x mandatory;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	padding-bottom: var(--space-2);
}

.testimonials__track::-webkit-scrollbar {
	display: none;
}

.testimonial-card {
	position: relative;
	flex: 0 0 calc((100% - 2 * var(--space-6)) / 3);
	min-width: 320px;
	scroll-snap-align: start;
	background: var(--color-white);
	color: var(--color-grey-dark);
	padding: var(--space-8);
	border-left: 4px solid var(--color-accent);
	clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 0 100%);
	filter: var(--drop-shadow-md);
}

.testimonial-card__quote-icon {
	color: var(--color-accent);
	font-size: var(--text-3xl);
	margin-bottom: var(--space-3);
	display: inline-block;
}

.testimonial-card__quote {
	font-family: var(--font-accent);
	font-style: italic;
	font-size: var(--text-lg);
	line-height: var(--lh-snug);
	color: var(--color-grey-dark);
	margin: 0 0 var(--space-6);
}

.testimonial-card__author {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: var(--text-base);
	color: var(--color-primary);
	margin: 0;
}

.testimonial-card__location {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: var(--color-grey-mid);
	margin: 0 0 var(--space-3);
}

.testimonials__controls {
	display: flex;
	gap: var(--space-3);
	justify-content: center;
	align-items: center;
	margin-top: var(--space-8);
}

.testimonials__dots {
	display: flex;
	gap: var(--space-2);
}

.testimonials__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	border: 0;
	cursor: pointer;
	padding: 0;
	transition: background var(--duration-fast) var(--ease-out);
}

.testimonials__dot.is-active {
	background: var(--color-accent);
}

.testimonials__arrow {
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--color-white);
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background var(--duration-fast) var(--ease-out);
}

.testimonials__arrow:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
}

/* === CTA Banner === */
.cta-banner {
	background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-primary) 100%);
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -10%;
	width: 50%;
	height: 140%;
	background: rgba(255, 255, 255, 0.06);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
	pointer-events: none;
}

.cta-banner__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: var(--space-12);
	align-items: center;
	position: relative;
	z-index: 1;
}

.cta-banner__title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
	color: var(--color-white);
	margin: 0 0 var(--space-4);
	line-height: 1.1;
}

.cta-banner__sub {
	font-family: var(--font-accent);
	font-style: italic;
	font-size: var(--text-xl);
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 var(--space-6);
}

.cta-banner__phone {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-family: var(--font-display);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-white);
	text-decoration: none;
	margin-top: var(--space-6);
	transition: color var(--duration-fast) var(--ease-out);
}

.cta-banner__phone:hover {
	color: var(--color-accent-light);
}

.cta-banner__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
}

/* === Contact page — Office location map ============================== */

.contact-map {
	position: relative;
	background: var(--color-primary-tint);
}

.contact-map__frame {
	position: relative;
	width: 100%;
	height: clamp(380px, 50vw, 560px);
	overflow: hidden;
	background: var(--color-primary-tint);
}

.contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(0.9);
}

.contact-map__card {
	position: absolute;
	left: clamp(var(--space-6), 6vw, var(--space-12));
	bottom: var(--space-8);
	z-index: 2;
	max-width: 380px;
	background: var(--color-white);
	padding: var(--space-6) var(--space-8);
	filter: var(--drop-shadow-lg);
	clip-path: var(--clip-card-soft);
	border-left: 4px solid var(--color-accent);
}

.contact-map__card .eyebrow {
	margin-bottom: var(--space-2);
}

.contact-map__brokerage {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: var(--text-xl);
	color: var(--color-primary);
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-2);
	line-height: 1.2;
}

.contact-map__address {
	font-style: normal;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: var(--color-grey-dark);
	margin: 0 0 var(--space-5);
	line-height: var(--lh-snug);
	max-width: 28ch;
}

.contact-map__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
}

.contact-map__open-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
	text-decoration: none;
	border-bottom: 1px solid var(--color-accent);
	padding-bottom: 2px;
	transition: color var(--duration-base) var(--ease-out),
		border-color var(--duration-base) var(--ease-out);
}

.contact-map__open-link:hover {
	color: var(--color-accent);
	border-bottom-color: var(--color-primary);
}

@media (max-width: 768px) {
	.contact-map__frame {
		height: 360px;
	}

	.contact-map__card {
		position: relative;
		left: auto;
		bottom: auto;
		max-width: none;
		margin: calc(var(--space-8) * -1) var(--space-5) var(--space-8);
	}
}
