/**
 * MyEazyHomes — Final homepage theme
 * Matches Home_page_final.jpeg: Inter/Montserrat, navy + orange, light footer.
 * Cache-bust: 2026-07-19-v2
 */
:root {
	--navy: #071225;
	--navy2: #0b1830;
	--orange: #f58212;
	--orange-deep: #e06f08;
	--orange-2: #ff9c2a;
	--text: #101827;
	--muted: #687386;
	--line: #e7ebf1;
	--soft: #f7f8fb;
	--white: #fff;
	--paper: #fff;
	--ink: var(--text);
	--ink-soft: #283447;
	--bone: var(--soft);
	--accent: var(--orange);
	--accent-d: var(--orange-deep);
	--gold: var(--orange);
	--gold-l: var(--orange-2);
	--gold-deep: var(--orange-deep);
	--serif: "Inter", "Montserrat", system-ui, sans-serif;
	--sans: "Inter", "Montserrat", system-ui, sans-serif;
	--display: "Inter", "Montserrat", system-ui, sans-serif;
	--shadow: 0 16px 42px rgba(13, 24, 44, 0.12);
	--radius: 8px;
	--wrap-wide: min(1120px, calc(100% - 48px));
}

::selection {
	background: var(--orange);
	color: #fff;
}

body {
	background: #fff;
	color: var(--text);
	font-family: var(--sans);
}

.accent {
	color: var(--orange);
}

.wrap-wide {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* ── Hide premium top bar on final theme ── */
.top-bar {
	display: none;
}

/* ── Header ── */
.site-header {
	background: #fff;
	backdrop-filter: none;
	border-bottom: 1px solid rgba(231, 235, 241, 0.9);
	box-shadow: none;
	position: sticky;
	top: 0;
	z-index: 50;
}

.nav {
	max-width: 1120px;
	margin: 0 auto;
	padding: 4px 24px;
	min-height: 96px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.brand-logo--header {
	flex: 0 1 auto;
	align-self: stretch;
	max-width: min(640px, 52vw);
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.brand-logo--header picture {
	display: flex;
	align-items: center;
	height: 100%;
	max-height: 100%;
}

.brand-logo--header .brand-logo__img {
	height: calc(100% - 4px);
	max-height: 88px;
	min-height: 72px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.navlinks a {
	position: relative;
	color: #182235;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	padding: 30px 0;
	transition: color 0.18s ease;
}

.navlinks a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	height: 3px;
	background: transparent;
	border-radius: 999px;
	transition: background 0.18s ease;
}

.navlinks a.active::after,
.navlinks a:hover::after {
	background: var(--orange);
}

.navlinks a:hover,
.navlinks a.active {
	color: var(--navy);
}

.navphone,
.navphone--desktop {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--navy);
	color: #fff !important;
	border-radius: 7px;
	padding: 13px 20px;
	font-weight: 800;
	font-size: 13px;
	white-space: nowrap;
	border: 0;
	flex-shrink: 0;
}

.navphone:hover,
.navphone--desktop:hover {
	background: var(--navy2);
	color: #fff !important;
}

.navphone svg {
	width: 16px;
	height: 16px;
}

.mobile-toggle {
	display: none;
	background: var(--navy);
	color: #fff;
	border-radius: 7px;
	border: 0;
	flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
	border-radius: 6px;
	padding: 14px 25px;
	font-weight: 800;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(12, 18, 32, 0.16);
}

.btn-orange,
.btn-primary {
	background: var(--orange);
	color: #fff;
	border: 0;
}

.btn-orange:hover,
.btn-primary:hover {
	background: var(--orange-deep);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: #fff;
}

.btn-outline-dark {
	background: transparent;
	color: var(--navy);
	border: 1px solid var(--navy);
}

.btn svg {
	width: 16px;
	height: 16px;
}

/* ── Section helpers ── */
.block {
	padding: 28px 0 36px;
}

.block--tight {
	padding-top: 8px;
	padding-bottom: 34px;
}

.sec-title {
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
	text-align: center;
	margin: 0 0 12px;
	color: var(--navy);
	font-family: var(--sans);
}

.sec-title--left {
	text-align: left;
	font-size: 28px;
	margin-bottom: 0;
}

.sec-mark {
	display: block;
	width: 46px;
	height: 3px;
	background: var(--orange);
	margin: 0 auto 30px;
	border-radius: 999px;
	position: relative;
}

.sec-mark::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 13px;
	height: 3px;
	background: var(--navy);
	transform: translateX(-50%);
	border-radius: 999px;
}

.sec-head {
	margin-bottom: 18px;
}

.sec-head--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.view-link {
	font-size: 13px;
	font-weight: 800;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.view-link svg {
	width: 14px;
	height: 14px;
}

.view-link:hover {
	color: var(--orange);
}

/* ── Hero (final) ── */
.hero--final {
	background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 52%, #dae4f2 52%, #dae4f2 100%);
	position: relative;
	overflow: hidden;
	margin: 0;
}

.hero--final .hero__body {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: stretch;
	min-height: 470px;
	padding: 0;
	position: relative;
}

.hero--final .hero-copy {
	position: relative;
	z-index: 2;
	color: #fff;
	padding: 56px 48px 88px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: none;
}

.hero--final .hero-copy::after {
	content: "";
	position: absolute;
	right: -48px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 220px solid transparent;
	border-bottom: 220px solid transparent;
	border-left: 48px solid var(--navy);
	z-index: 2;
	pointer-events: none;
}

.hero--final .hero-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35em;
	font-weight: 600;
	font-size: 15px;
	margin: 0 0 14px;
	color: #e6edf7;
}

.hero--final .hero-eyebrow .brand-name {
	display: inline-flex;
	align-items: baseline;
	font-size: clamp(1.45rem, 2.6vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

/* Logo color combo: My / Homes dark-on-light → white on hero; Eazy orange */
.hero--final .brand-name__my,
.hero--final .brand-name__homes {
	color: #fff;
}

.hero--final .brand-name__eazy {
	color: var(--orange);
}

.hero--final h1 {
	font-family: var(--sans);
	font-size: clamp(2.1rem, 4vw, 3.1rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	max-width: 460px;
	margin: 0 0 18px;
	color: #fff;
}

.hero--final .hero-lead {
	font-size: 16px;
	color: #e6edf7;
	max-width: 430px;
	margin: 0 0 22px;
	line-height: 1.55;
}

.hero-quick {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 4px 0 26px;
	max-width: 520px;
}

.hero-quick__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.hero-quick__ic {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	color: var(--orange);
}

.hero-quick__ic svg {
	width: 26px;
	height: 26px;
}

.hero-quick__item strong {
	font-size: 13px;
	display: block;
	font-weight: 800;
	line-height: 1.2;
}

.hero-quick__item span {
	font-size: 10px;
	color: #d7dfeb;
	display: block;
	line-height: 1.3;
}

.hero--final .hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 0;
}

.hero--final .hero-visual {
	position: relative;
	min-height: 470px;
	overflow: hidden;
}

.hero--final .hero-visual picture,
.hero--final .hero-visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 470px;
	object-fit: cover;
	object-position: center center;
}

.hero--final .hero-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 18, 37, 0.18), rgba(7, 18, 37, 0.02));
	pointer-events: none;
}

/* Hide old premium hero pieces if present */
.hero--premium,
.hero-trust,
.hero__backdrop,
.hero-script,
.services-band--premium {
	display: none !important;
}

/* ── Search ── */
.search-float {
	position: relative;
	z-index: 5;
	margin-top: -42px;
	margin-bottom: 8px;
	padding-bottom: 0;
}

.searchbar--final,
.searchbar--light {
	background: #fff;
	border: 0;
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 24px 32px 28px;
	display: block;
	margin-top: 0;
	max-width: none;
}

.searchbar--final .searchbar__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 20px;
	font-family: var(--sans);
}

.searchbar--final .searchbar__grid,
.searchbar--light .searchbar__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 16px;
	align-items: end;
}

.searchbar--final .sf,
.searchbar--light .sf {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 11px 14px 12px;
	background: linear-gradient(180deg, #152238 0%, #0d1826 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 16px rgba(7, 18, 37, 0.18);
	margin: 0;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.searchbar--final .sf:focus-within,
.searchbar--light .sf:focus-within {
	border-color: rgba(245, 130, 18, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px rgba(245, 130, 18, 0.18);
}

.searchbar--final .sf label,
.searchbar--light .sf label {
	display: block;
	font-size: 10px;
	font-weight: 800;
	color: #9eb0c7;
	margin-bottom: 6px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.searchbar--final .sf-select,
.searchbar--light .sf-select {
	position: relative;
}

.searchbar--final .sf-select select,
.searchbar--light .sf-select select {
	width: 100%;
	border: 0;
	background: transparent;
	color: #f3f6fb;
	outline: 0;
	font-size: 14px;
	font-weight: 600;
	padding: 0 22px 0 0;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.searchbar--final .sf-select select option,
.searchbar--light .sf-select select option {
	background: #0d1826;
	color: #f3f6fb;
}

.searchbar--final .sf-chevron,
.searchbar--light .sf-chevron,
.searchbar--final .sf-select > i,
.searchbar--light .sf-select > i {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #f58212;
	display: flex;
	align-items: center;
}

.searchbar--final .sf-chevron svg,
.searchbar--light .sf-chevron svg,
.searchbar--final .sf-select .lucide,
.searchbar--light .sf-select .lucide {
	width: 16px;
	height: 16px;
	color: #f58212;
}

.searchbar--final .go,
.searchbar--light .go {
	height: 58px;
	padding: 0 28px;
	white-space: nowrap;
	background: var(--orange);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 800;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(245, 130, 18, 0.28);
}

.searchbar--final .go:hover,
.searchbar--light .go:hover {
	background: var(--orange-deep);
}

.searchbar--final .go svg,
.searchbar--light .go svg {
	width: 16px;
	height: 16px;
}

.searchbar__head,
.searchbar__line,
.eyebrow {
	/* keep eyebrow usable elsewhere */
}

.page-home .eyebrow {
	color: var(--orange);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
}

/* ── Why cards ── */
.why--final {
	padding: 52px 0 44px;
	background:
		radial-gradient(90% 80% at 10% 0%, rgba(245, 130, 18, 0.12) 0%, transparent 55%),
		radial-gradient(70% 70% at 90% 100%, rgba(36, 74, 120, 0.45) 0%, transparent 50%),
		linear-gradient(180deg, #0b1526 0%, #071225 100%);
	color: #fff;
}

.why--final .sec-title {
	color: #fff;
}

.why--final .sec-mark {
	background: var(--orange);
}

.why--final .sec-mark::before {
	background: #fff;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.why-card {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	padding: 26px 16px 24px;
	text-align: center;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(6px);
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.why-card:hover {
	transform: translateY(-3px);
	border-color: rgba(245, 130, 18, 0.45);
	background: rgba(255, 255, 255, 0.07);
}

.why-card__ic {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 15px;
	border-radius: 50%;
	color: var(--orange);
	background: rgba(245, 130, 18, 0.12);
	border: 1px solid rgba(245, 130, 18, 0.28);
}

.why-card__ic svg {
	width: 26px;
	height: 26px;
}

.why-card h3 {
	font-size: 13px;
	margin: 0 0 8px;
	color: #fff;
	font-weight: 800;
	font-family: var(--sans);
}

.why-card p {
	font-size: 12px;
	color: #b7c4d6;
	margin: 0;
	line-height: 1.5;
}

/* ── Featured properties slider ── */
.prop-slider__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.prop-slider__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.prop-slider__btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
	padding: 0;
}

.prop-slider__btn svg {
	width: 18px;
	height: 18px;
}

.prop-slider__btn:hover:not(:disabled) {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.prop-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.prop-slider {
	position: relative;
	margin: 0 -8px;
}

.prop-slider__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 8px 18px;
	scrollbar-width: none;
}

.prop-slider__track::-webkit-scrollbar {
	display: none;
}

.prop-slider__slide {
	flex: 0 0 calc((100% - 54px) / 4);
	min-width: 240px;
	max-width: 320px;
	scroll-snap-align: start;
}

.prop-slider__slide .property-card,
.prop-slider__slide .card.property-card {
	display: block;
	height: 100%;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(14, 26, 45, 0.06);
}

.page-home .card-img {
	height: 165px;
}

.page-home .card-loc {
	color: var(--muted);
	font-size: 11px;
}

.page-home .card-loc i,
.page-home .card-loc svg {
	color: var(--orange);
}

.page-home .card-body h3 {
	font-family: var(--sans);
	font-size: 15px;
	color: var(--navy);
}

.page-home .card-price,
.page-home .card-price small {
	color: var(--orange);
	font-weight: 800;
}

.page-home .chip,
.page-home .chip.gold {
	background: var(--navy);
	color: #fff;
	border-radius: 3px;
}

/* ── Loan panel ── */
.loan--final .loan-panel {
	background: var(--navy);
	border-radius: 12px;
	color: #fff;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px;
	padding: 32px;
	overflow: hidden;
	position: relative;
}

.loan--final .loan-panel__bg,
.loan--final .loan-panel__ring,
.loan--final .loan-panel__shade,
.loan--final .loan-panel__photo {
	display: none;
}

.loan--final .loan-copy {
	position: relative;
	padding: 12px 4px;
	z-index: 1;
}

.loan--final .loan-eyebrow {
	font-size: 14px;
	margin-bottom: 8px;
	color: #d6dfeb;
	display: block;
}

.loan--final .loan-copy h2 {
	font-family: var(--sans);
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 14px;
	color: #fff;
	font-weight: 800;
}

.loan--final .loan-copy p {
	color: #dbe3ef;
	max-width: 460px;
	margin: 0 0 28px;
	font-size: 15px;
}

.loan--final .loan-perks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: 520px;
}

.loan--final .loan-perk {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.loan--final .loan-perk__ic {
	color: var(--orange);
	display: grid;
	place-items: center;
}

.loan--final .loan-perk__ic svg {
	width: 30px;
	height: 30px;
}

.loan--final .loan-perk__label {
	font-size: 12px;
	color: #fff;
	line-height: 1.35;
	font-weight: 600;
}

.loan--final .loan-form-wrap {
	z-index: 1;
}

.loan--final .loan-form {
	background: #fff;
	color: var(--text);
	border-radius: 8px;
	padding: 22px;
	box-shadow: none;
}

.loan--final .loan-form h3 {
	font-family: var(--sans);
	font-size: 17px;
	margin: 0 0 16px;
	color: var(--navy);
	font-weight: 800;
}

.loan--final .loan-form .lrow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.loan--final .loan-form .field {
	margin-bottom: 12px;
}

.loan--final .loan-form label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 5px;
	color: #3b4658;
}

.loan--final .loan-form .inp,
.loan--final .loan-form select {
	width: 100%;
	height: 39px;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 0 12px;
	color: #555;
	background: #fff;
	outline: 0;
	font-size: 14px;
}

.loan--final .loan-form .btn {
	width: 100%;
	margin-top: 6px;
}

/* ── Services with images ── */
.services-final {
	padding: 0 0 32px;
}

.services-final__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.service-card {
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(14, 26, 45, 0.05);
}

.service-card picture {
	display: block;
	width: 100%;
	background: #e8eef5;
}

.service-card img,
.service-card picture img {
	display: block;
	height: 180px;
	width: 100%;
	object-fit: cover;
	object-position: center;
	image-rendering: auto;
}

.service-card > div {
	padding: 14px;
}

.service-card h3 {
	font-size: 14px;
	color: var(--navy);
	margin: 0 0 8px;
	font-weight: 800;
	font-family: var(--sans);
}

.service-card p {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
	line-height: 1.45;
}

/* ── Expert help CTA ── */
.expert-cta {
	padding: 0 0 44px;
}

.expert-panel,
.contact-cta__panel {
	background: var(--navy);
	color: #fff;
	border-radius: 12px;
	padding: 26px 34px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.expert-text {
	display: flex;
	align-items: center;
	gap: 22px;
}

.expert-text__ic {
	display: grid;
	place-items: center;
	color: #fff;
	flex-shrink: 0;
}

.expert-text__ic svg {
	width: 48px;
	height: 48px;
}

.expert-text h2,
.contact-cta__panel h2 {
	font-family: var(--sans);
	font-size: 22px;
	margin: 0 0 4px;
	color: #fff;
	font-weight: 800;
}

.expert-text p,
.contact-cta__panel p {
	font-size: 13px;
	color: #dce5ef;
	margin: 0;
}

.expert-actions,
.contact-cta__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.expert-actions .btn-outline {
	border-color: rgba(255, 255, 255, 0.55);
}

/* ── Footer (light, 5-col) ── */
.site-footer {
	background: #fff;
	color: var(--muted);
	border-top: 1px solid var(--line);
	margin-top: 0;
}

.site-footer__inner {
	padding: 34px 0 18px;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 3.6fr;
	gap: 40px;
	padding-bottom: 22px;
	margin-bottom: 0;
	border-bottom: 0;
	align-items: start;
}

.site-footer__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	min-width: 0;
}

.site-footer__heading {
	margin: 0 0 13px;
	color: var(--navy);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	font-family: var(--sans);
}

.site-footer__about {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 4px;
	max-width: 260px;
}

.site-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 13px;
}

.site-footer__social a,
.site-footer__social span {
	width: 28px;
	height: 28px;
	background: var(--navy);
	color: #fff;
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background 0.18s ease;
}

.site-footer__social a:hover {
	background: var(--orange);
}

.site-footer__social svg {
	width: 13px;
	height: 13px;
}

.site-footer__col,
.site-footer__nav,
.site-footer__services,
.site-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	min-width: 0;
}

.site-footer__col a,
.site-footer__nav a,
.site-footer__services a,
.site-footer__services span,
.site-footer__contact a,
.site-footer__address {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.45;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	transition: color 0.18s ease;
}

.site-footer__col a:hover,
.site-footer__contact a:hover {
	color: var(--orange);
}

.site-footer__contact svg,
.site-footer__address svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--navy);
}

.site-footer__address {
	margin: 0;
}

.site-footer__bottom {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--muted);
}

.site-footer__legal {
	color: var(--muted);
}

.site-footer .brand-logo--footer {
	max-width: 280px;
}

.site-footer .brand-logo--footer .brand-logo__img,
.site-footer .brand-logo img,
.site-footer .meh-logo img {
	height: 76px;
	width: auto;
	max-width: 260px;
	object-fit: contain;
	object-position: left center;
}

/* ── Headings globally sans on homepage ── */
.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4 {
	font-family: var(--sans);
}

/* ── Properties page search (4 fields + button) ── */
.searchbar--page .searchbar__grid {
	grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
}

.searchbar--page {
	margin: 0 0 8px;
	padding: 22px 28px 24px;
}

.properties-page {
	padding: 40px 0 72px;
}

.properties-page .sec-head h1 {
	font-family: var(--sans);
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	font-weight: 800;
	color: var(--navy);
	margin: 6px 0 10px;
}

.properties-page .sec-head h1 em {
	font-style: normal;
	color: var(--orange);
}

.property-grid--page {
	margin-top: 28px;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

/* ── Global mobile/tablet safety ── */
html {
	-webkit-text-size-adjust: 100%;
}

body {
	overflow-x: hidden;
}

img,
picture,
video,
iframe {
	max-width: 100%;
}

.btn,
.go,
.navphone,
.mobile-toggle {
	min-height: 44px;
	touch-action: manipulation;
}

.mobile-open .navlinks a::after {
	display: none;
}

/* ── Tablet (≤1100px) ── */
@media (max-width: 1100px) {
	.wrap-wide {
		padding: 0 24px;
		max-width: 100%;
		box-sizing: border-box;
	}

	.hero--final {
		background: var(--navy);
	}

	.hero--final .hero__body {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero--final .hero-copy {
		padding: 36px 0 28px;
		order: 2;
	}

	.hero--final .hero-copy::after {
		display: none;
	}

	.hero--final .hero-visual {
		order: 1;
		min-height: clamp(220px, 38vw, 320px);
		margin: 0 -20px;
		width: calc(100% + 40px);
	}

	.hero--final .hero-visual picture,
	.hero--final .hero-visual img {
		min-height: clamp(220px, 38vw, 320px);
	}

	.search-float {
		margin-top: 0;
		padding-top: 18px;
	}

	.searchbar--final .searchbar__grid,
	.searchbar--light .searchbar__grid,
	.searchbar--page .searchbar__grid {
		grid-template-columns: 1fr 1fr;
	}

	.searchbar--final .go,
	.searchbar--light .go,
	.searchbar--page .go {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 48px;
	}

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

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

	.prop-slider__slide {
		flex: 0 0 calc((100% - 18px) / 2);
		min-width: 260px;
	}

	.services-final__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}

	.loan--final .loan-panel {
		grid-template-columns: 1fr;
		padding: 28px 22px;
		gap: 24px;
	}

	.loan--final .loan-perks {
		grid-template-columns: repeat(4, 1fr);
		max-width: none;
	}

	.expert-panel,
	.contact-cta__panel {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px 22px;
	}

	.expert-actions,
	.contact-cta__actions {
		width: 100%;
	}

	.expert-actions .btn,
	.contact-cta__actions .btn {
		flex: 1 1 auto;
		min-width: min(100%, 160px);
	}
}

/* ── Compact tablet / large phone (≤980px) — matches mobile nav ── */
@media (max-width: 980px) {
	.site-header {
		overflow: visible;
	}

	.site-header .nav {
		height: auto;
		min-height: 76px;
		padding: 4px 16px;
		gap: 10px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Hide desktop phone + menu links — was overflowing mobile header */
	.site-header .navlinks,
	.site-header .navphone--desktop {
		display: none !important;
	}

	.site-header .mobile-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		margin-left: auto;
	}

	.brand-logo--header {
		max-width: calc(100% - 56px);
		min-width: 0;
		flex: 1 1 auto;
		align-self: stretch;
	}

	.brand-logo--header .brand-logo__img {
		height: calc(100% - 2px);
		max-height: 68px;
		min-height: 56px;
		width: auto;
		max-width: 100%;
	}

	.mobile-open .navlinks {
		display: flex !important;
	}

	.mobile-open .navlinks a {
		padding: 14px 0;
		font-size: 15px;
		letter-spacing: 0;
		text-transform: none;
	}

	.mobile-open .navlinks a::after {
		display: none;
	}

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

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

	.loan--final .loan-perks {
		grid-template-columns: repeat(2, 1fr);
	}

	.properties-page {
		padding: 28px 0 56px;
	}

	.sec-head--row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.site-footer__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 16px;
	}
}

/* ── Mobile (≤720px) ── */
@media (max-width: 720px) {
	.wrap-wide {
		padding: 0 22px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.site-header .nav {
		min-height: 72px;
		padding: 3px 18px;
	}

	.brand-logo--header .brand-logo__img {
		height: calc(100% - 2px);
		max-height: 66px;
		min-height: 58px;
	}

	.hero--final .hero-copy {
		padding: 28px 0 24px;
	}

	.hero--final h1 {
		font-size: clamp(1.65rem, 7vw, 2rem);
		max-width: none;
	}

	.hero--final .hero-lead {
		font-size: 14.5px;
		max-width: none;
		margin-bottom: 18px;
	}

	.hero--final .hero-visual {
		margin: 0 -16px;
		width: calc(100% + 32px);
		min-height: 200px;
	}

	.hero--final .hero-visual picture,
	.hero--final .hero-visual img {
		min-height: 200px;
	}

	.hero-quick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 14px;
		max-width: none;
		width: 100%;
		margin-bottom: 22px;
	}

	.hero-quick__item {
		min-width: 0;
	}

	.hero-quick__item strong {
		font-size: 13px;
	}

	.hero-quick__item span {
		font-size: 10px;
	}

	.searchbar--final,
	.searchbar--light,
	.searchbar--page {
		padding: 18px 16px 20px;
		border-radius: 10px;
	}

	.searchbar--final .searchbar__title {
		font-size: 1.15rem;
		margin-bottom: 14px;
	}

	.searchbar--final .searchbar__grid,
	.searchbar--light .searchbar__grid,
	.searchbar--page .searchbar__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.why-grid,
	.property-grid--page,
	.services-final__grid,
	.loan--final .loan-form .lrow,
	.loan--final .loan-perks {
		grid-template-columns: 1fr;
	}

	.prop-slider__slide {
		flex: 0 0 min(82vw, 300px);
		min-width: min(82vw, 300px);
		max-width: none;
	}

	.prop-slider__header {
		align-items: flex-start;
	}

	.prop-slider__actions {
		width: 100%;
		justify-content: space-between;
	}

	.site-footer__top {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.site-footer__links {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px 14px;
		width: 100%;
	}

	.site-footer__brand {
		grid-column: auto;
		width: 100%;
		max-width: none;
	}

	.site-footer__about {
		max-width: none;
	}

	.site-footer__heading {
		margin-bottom: 8px;
		font-size: 13px;
	}

	.site-footer__col a,
	.site-footer__contact a,
	.site-footer__address {
		font-size: 12px;
		padding: 3px 0;
		line-height: 1.4;
		width: 100%;
	}

	.site-footer__inner {
		padding: 24px 0 14px;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.site-footer .brand-logo--footer {
		max-width: 240px;
	}

	.site-footer .brand-logo--footer .brand-logo__img,
	.site-footer .brand-logo img {
		height: 64px;
		max-width: 220px;
	}

	.hero--final .hero-cta,
	.expert-actions,
	.contact-cta__actions {
		width: 100%;
		flex-direction: column;
	}

	.hero--final .hero-cta .btn,
	.expert-actions .btn,
	.contact-cta__actions .btn {
		width: 100%;
	}

	.expert-text {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.expert-text h2 {
		font-size: 1.25rem;
	}

	.loan--final .loan-copy h2 {
		font-size: 1.55rem;
	}

	.sec-title,
	.sec-title--left {
		font-size: 1.45rem;
	}

	.service-card img,
	.service-card picture img {
		height: 200px;
	}

	.block {
		padding: 24px 0 28px;
	}

	.properties-page .sf,
	.searchbar--page .sf,
	.searchbar--final .sf {
		padding: 12px 14px;
	}

	.searchbar select,
	.loan-form .inp,
	.loan-form select,
	.field .inp,
	.inp {
		font-size: 16px;
	}
}

/* ── Small phones (≤420px) ── */
@media (max-width: 420px) {
	/* Keep footer links in 2 columns — do not stack to one long list */
	.site-footer__links {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 18px 12px;
	}

	.hero-quick {
		gap: 14px 10px;
	}

	.hero-quick__item strong {
		font-size: 12px;
	}

	.hero-quick__item span {
		font-size: 9px;
	}

	.why-card {
		padding: 18px 14px;
	}
}

@media (max-height: 820px) and (min-width: 1101px) {
	.hero--final .hero__body,
	.hero--final .hero-visual,
	.hero--final .hero-visual picture,
	.hero--final .hero-visual img {
		min-height: 420px;
	}

	.hero--final .hero-copy {
		padding-top: 40px;
		padding-bottom: 72px;
	}
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.btn:hover {
		transform: none;
	}
}

/* ── Footer mobile layout (final override) ── */
@media (max-width: 980px) {
	.site-footer .wrap-wide.site-footer__inner,
	.site-footer .site-footer__inner {
		padding-left: 24px !important;
		padding-right: 24px !important;
		box-sizing: border-box;
	}

	.site-footer .site-footer__top {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 22px !important;
	}

	.site-footer .site-footer__links {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px 20px !important;
		width: 100% !important;
		padding: 0;
	}

	.site-footer .site-footer__col {
		width: 100%;
		min-width: 0;
		padding-right: 4px;
	}

	.site-footer .site-footer__col a,
	.site-footer .site-footer__address {
		width: 100%;
		display: flex;
		padding-right: 4px;
	}

	.site-footer .site-footer__about {
		max-width: none;
	}

	.site-footer .site-footer__bottom {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 720px) {
	.site-footer .wrap-wide.site-footer__inner,
	.site-footer .site-footer__inner {
		padding-left: 22px !important;
		padding-right: 22px !important;
	}

	.hero--final .hero-copy {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 420px) {
	.wrap-wide {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.site-footer .wrap-wide.site-footer__inner,
	.site-footer .site-footer__inner {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.site-header .nav {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
