/* Home page layout (pages whose content has class="sfre-home"). Brand: navy #13294B, gold #B08D57. */
.sfre-home.sfre-home {
	--h-navy: #13294B;
	--h-gold: #B08D57;
	--h-gold-text: #8A6A35;
	--h-gold-light: #D6B983;
	--h-ink: #2B3645;
	--h-muted: #556274;
	--h-soft: #F3F5F9;
	--h-line: #E3E7EE;
	color: var(--h-ink);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.65;
}
.sfre-home.sfre-home *, .sfre-home.sfre-home *::before, .sfre-home.sfre-home *::after { box-sizing: border-box; }
.sfre-home-layout .post-title.entry-title, .sfre-home-layout .breadcrumbs-wrap { display: none !important; }

.sfre-home.sfre-home section { margin: 0 0 80px; }
.sfre-home.sfre-home h1, .sfre-home.sfre-home h2, .sfre-home.sfre-home h3 {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	color: var(--h-navy);
	font-weight: 600;
	line-height: 1.15 !important;
	margin: 0 0 12px;
	letter-spacing: 0;
}
.sfre-home.sfre-home h2 { font-size: 40px; }
.sfre-home.sfre-home h3 { font-size: 25px; }
.sfre-home.sfre-home p { margin: 0 0 14px !important; line-height: 1.65; }
.sfre-home.sfre-home .sfre-eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--h-gold-text); margin: 0 0 10px !important;
}
.sfre-home.sfre-home .sfre-section-head { max-width: 680px; margin: 0 0 32px; }
.sfre-home.sfre-home .sfre-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sfre-home.sfre-home .sfre-section-head p:not(.sfre-eyebrow) { color: var(--h-muted); }

/* Buttons */
.sfre-home.sfre-home .sfre-hbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 10px;
	font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none !important; border: 1px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sfre-home.sfre-home .sfre-hbtn--primary { background: var(--h-navy); color: #fff !important; }
.sfre-home.sfre-home .sfre-hbtn--primary:hover { background: #0C1D38; }
.sfre-home.sfre-home .sfre-hbtn--outline { border-color: var(--h-navy); color: var(--h-navy) !important; background: transparent; }
.sfre-home.sfre-home .sfre-hbtn--outline:hover { background: var(--h-navy); color: #fff !important; }
.sfre-home.sfre-home .sfre-hbtn--gold { background: var(--h-gold); color: var(--h-navy) !important; }
.sfre-home.sfre-home .sfre-hbtn--gold:hover { background: var(--h-gold-light); }
.sfre-home.sfre-home .sfre-hbtn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff !important; }
.sfre-home.sfre-home .sfre-hbtn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Hero */
.sfre-home.sfre-home .sfre-home-hero {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center;
	background: var(--h-soft); border-radius: 24px; padding: 56px;
}
.sfre-home.sfre-home .sfre-home-hero h1 { font-size: 54px; margin-bottom: 16px; }
.sfre-home.sfre-home .sfre-home-hero .sfre-home-lead { font-size: 18px; color: var(--h-muted); max-width: 520px; margin-bottom: 28px !important; }
.sfre-home.sfre-home .sfre-home-hero__media video {
	display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: 16px; background: var(--h-navy);
	box-shadow: 0 18px 40px rgba(19, 41, 75, 0.18);
}
.sfre-home.sfre-home .sfre-home-quick { margin: 16px 0 0 !important; font-size: 14px; color: var(--h-muted); }
.sfre-home.sfre-home .sfre-home-quick a { color: var(--h-navy) !important; font-weight: 500; margin-right: 12px; text-decoration: underline !important; text-decoration-color: rgba(176,141,87,.6) !important; text-underline-offset: 3px; }
.sfre-home.sfre-home .sfre-home-quick a:hover { color: var(--h-gold-text) !important; }

/* Search form inside the hero */
.sfre-home.sfre-home .sfre-quick {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px;
	background: #fff; padding: 12px; border-radius: 16px; margin: 0;
	box-shadow: 0 1px 2px rgba(19, 41, 75, 0.06), 0 10px 30px rgba(19, 41, 75, 0.08);
}
.sfre-home.sfre-home .sfre-quick input[type=search] { grid-column: 1 / -1; }
.sfre-home.sfre-home .sfre-quick input, .sfre-home.sfre-home .sfre-quick select {
	width: 100%; height: 50px; margin: 0; padding: 0 14px;
	border: 1px solid #D6DCE4; border-radius: 10px; background-color: #fff;
	font: 500 15px/1.2 'Inter', system-ui, sans-serif; color: var(--h-ink);
	box-shadow: none;
}
.sfre-home.sfre-home .sfre-quick input::placeholder { color: #6B7787; }
.sfre-home.sfre-home .sfre-quick input:focus, .sfre-home.sfre-home .sfre-quick select:focus { outline: 2px solid var(--h-gold); outline-offset: 1px; border-color: var(--h-gold); }
.sfre-home.sfre-home .sfre-quick button {
	height: 50px; padding: 0 28px; border: 0; border-radius: 10px;
	background: var(--h-navy); color: #fff; font: 600 15px/1 'Inter', system-ui, sans-serif; cursor: pointer;
}
.sfre-home.sfre-home .sfre-quick button:hover { background: #0C1D38; }

/* Agent band */
.sfre-home.sfre-home .sfre-home-agent {
	display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
	border: 1px solid var(--h-line); border-radius: 20px; padding: 24px 32px; background: #fff;
}
.sfre-home.sfre-home .sfre-home-agent__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; margin: 0 !important; }
.sfre-home.sfre-home .sfre-home-agent__info { flex: 1 1 280px; min-width: 0; }
.sfre-home.sfre-home .sfre-home-agent__info h2 { font-size: 32px; margin-bottom: 4px; }
.sfre-home.sfre-home .sfre-home-agent__info p { margin: 0 !important; color: var(--h-muted); font-size: 15px; }
.sfre-home.sfre-home .sfre-home-agent__info a { color: var(--h-navy) !important; font-weight: 500; }
.sfre-home.sfre-home .sfre-home-agent__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sfre-home.sfre-home .sfre-home-agent__brokerage { height: 34px; width: auto; margin: 0 0 0 8px !important; }

/* Neighborhood slider */
.sfre-home.sfre-home .sfre-nb__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sfre-home.sfre-home .sfre-nb__head h2 { margin: 0; }
.sfre-home.sfre-home .sfre-nb__nav { display: flex; gap: 10px; flex: none; }
.sfre-home.sfre-home .sfre-nb__btn {
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--h-line); background: #fff;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
	transition: background-color .15s ease, border-color .15s ease;
}
.sfre-home.sfre-home .sfre-nb__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--h-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sfre-home.sfre-home .sfre-nb__btn:hover { background: var(--h-navy); border-color: var(--h-navy); }
.sfre-home.sfre-home .sfre-nb__btn:hover svg { stroke: #fff; }
.sfre-home.sfre-home .sfre-nb__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; padding-bottom: 4px;
}
.sfre-home.sfre-home .sfre-nb__track::-webkit-scrollbar { display: none; }
.sfre-home.sfre-home .sfre-nb__track:focus-visible { outline: 2px solid var(--h-gold); outline-offset: 4px; border-radius: 16px; }
.sfre-home.sfre-home .sfre-nb__card {
	position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
	scroll-snap-align: start; background: var(--h-navy); text-decoration: none !important;
}
.sfre-home.sfre-home .sfre-nb__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; margin: 0 !important; }
.sfre-home.sfre-home .sfre-nb__card::after {
	content: ""; position: absolute; inset: 45% 0 0 0;
	background: linear-gradient(to top, rgba(10, 22, 42, 0.88), rgba(10, 22, 42, 0));
}
.sfre-home.sfre-home .sfre-nb__card:hover img, .sfre-home.sfre-home .sfre-nb__card:focus-visible img { transform: scale(1.05); }
.sfre-home.sfre-home .sfre-nb__meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.sfre-home.sfre-home .sfre-nb__area { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--h-gold-light); }
.sfre-home.sfre-home .sfre-nb__name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1.1; color: #fff; }

/* Services */
.sfre-home.sfre-home .sfre-home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sfre-home.sfre-home .sfre-home-service { background: var(--h-soft); border-radius: 20px; padding: 32px; }
.sfre-home.sfre-home .sfre-home-icon {
	width: 54px; height: 54px; border-radius: 50%; background: var(--h-navy);
	display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.sfre-home.sfre-home .sfre-home-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--h-gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sfre-home.sfre-home .sfre-home-service p, .sfre-home.sfre-home .sfre-home-reason p { font-size: 15px; color: var(--h-ink); }

/* Reasons */
.sfre-home.sfre-home .sfre-home-reason { border: 1px solid var(--h-line); border-radius: 18px; padding: 28px; background: #fff; }
.sfre-home.sfre-home .sfre-home-reason__num { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 44px !important; line-height: 1 !important; color: var(--h-gold) !important; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; margin: 0 0 12px !important; }
.sfre-home.sfre-home .sfre-home-reason h3 { font-size: 24px; }

/* Closing call to action */
.sfre-home.sfre-home .sfre-home-cta {
	background: var(--h-navy); border-radius: 24px; padding: 56px; text-align: center; color: #DCE3EE;
}
.sfre-home.sfre-home .sfre-home-cta h2 { color: #fff; font-size: 42px; }
.sfre-home.sfre-home .sfre-home-cta p { max-width: 560px; margin: 0 auto 28px !important; color: #C9D3E2; }
.sfre-home.sfre-home .sfre-home-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Tablet */
@media (max-width: 1023px) {
	.sfre-home.sfre-home .sfre-home-hero { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 32px; }
	.sfre-home.sfre-home .sfre-home-hero h1 { font-size: 44px; }
	.sfre-home.sfre-home .sfre-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sfre-home.sfre-home .sfre-nb__track { grid-auto-columns: calc((100% - 40px) / 2.4); }
}
/* Phone */
@media (max-width: 640px) {
	.sfre-home.sfre-home section { margin-bottom: 56px; }
	.sfre-home.sfre-home .sfre-home-hero { padding: 24px 18px; border-radius: 18px; }
	.sfre-home.sfre-home .sfre-home-hero h1 { font-size: 36px; }
	.sfre-home.sfre-home h2 { font-size: 32px; }
	.sfre-home.sfre-home .sfre-quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sfre-home.sfre-home .sfre-quick button { grid-column: 1 / -1; }
	.sfre-home.sfre-home .sfre-home-agent { padding: 22px; gap: 18px; }
	.sfre-home.sfre-home .sfre-home-agent__photo { width: 84px; height: 84px; }
	.sfre-home.sfre-home .sfre-home-cards { grid-template-columns: minmax(0, 1fr); }
	.sfre-home.sfre-home .sfre-nb__nav { display: none; }
	.sfre-home.sfre-home .sfre-nb__track { grid-auto-columns: 78%; }
	.sfre-home.sfre-home .sfre-home-cta { padding: 40px 22px; }
	.sfre-home.sfre-home .sfre-home-cta h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.sfre-home.sfre-home .sfre-nb__track { scroll-behavior: auto; }
	.sfre-home.sfre-home .sfre-nb__card img { transition: none; }
}
