/**
 * Homepage — hybrid directory + B2B-style layout.
 * Uses theme variables from style.css (:root / body.soulfood-directory).
 */

.sfvd-home {
	--sfvd-home-max: 1320px;
	--sfvd-home-radius: var(--sfv-radius, 12px);
	--sfvd-home-radius-sm: var(--sfv-radius-sm, 8px);
	color: var(--sfv-text, #1f2937);
	background: #fff;
}

.sfvd-home-container {
	max-width: var(--sfvd-home-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

body.sfvd-is-front .site-main {
	padding-top: 0;
	background: #fff;
}

/* Hero */
.sfvd-home-hero {
	position: relative;
	border-radius: 0 0 calc(var(--sfvd-home-radius) + 4px) calc(var(--sfvd-home-radius) + 4px);
	overflow: hidden;
	margin: 0 0 0;
	background: linear-gradient(125deg, #0f172a 0%, #134e4a 45%, var(--sfv-primary, #0f766e) 100%);
	color: #fff;
	box-shadow: var(--sfv-shadow, 0 12px 40px rgba(15, 23, 42, 0.15));
}

@media (min-width: 960px) {
	.sfvd-home-hero {
		margin: 0 1.25rem;
		border-radius: calc(var(--sfvd-home-radius) + 4px);
		margin-top: 1rem;
	}
}

.sfvd-home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
	pointer-events: none;
	z-index: 0;
}

.sfvd-home-hero__inner {
	position: relative;
	z-index: 1;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
}

.sfvd-home-hero__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 960px) {
	.sfvd-home-hero__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 2.5rem;
		align-items: stretch;
	}
}

.sfvd-home-hero__copy {
	min-width: 0;
}

.sfvd-home-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.sfvd-home-hero__pills li {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.95);
}

.sfvd-home-hero__micro {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
}

.sfvd-home-hero__micro-item {
	margin: 0;
	min-width: 5rem;
}

.sfvd-home-hero__micro-item dt {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.sfvd-home-hero__micro-item dd {
	margin: 0.15rem 0 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.sfvd-home-hero__panel {
	background: rgba(255, 255, 255, 0.98);
	color: var(--sfv-text, #1f2937);
	border-radius: var(--sfvd-home-radius);
	padding: 1.25rem 1.25rem 1.35rem;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.sfvd-home-hero__panel-title {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 800;
	color: var(--sfv-text, #1f2937);
}

.sfvd-home-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.sfvd-home-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.sfvd-home-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 46rem;
	font-size: clamp(1rem, 2vw, 1.125rem);
	color: rgba(255, 255, 255, 0.9);
}

.sfvd-home-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.sfvd-home-hero__ctas--solo {
	margin-bottom: 0;
}

.sfvd-home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 44px;
	padding: 0 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.sfvd-home-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.sfvd-home-btn--primary {
	background: #fff;
	color: var(--sfv-primary-dark, #115e59);
}

.sfvd-home-btn--primary:hover {
	background: #ccfbf1;
}

.sfvd-home-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.sfvd-home-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.sfvd-home-btn--small {
	min-height: 38px;
	padding: 0 1rem;
	font-size: 0.875rem;
	border-radius: var(--sfvd-home-radius-sm);
}

.sfvd-home-btn--outline {
	background: transparent;
	color: var(--sfv-primary, #0f766e);
	border: 2px solid var(--sfv-primary, #0f766e);
}

.sfvd-home-btn--outline:hover {
	background: rgba(15, 118, 110, 0.08);
}

/* Search */
.sfvd-home-search {
	max-width: 52rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sfvd-home-search--card {
	max-width: none;
}

.sfvd-home-search--card .sfvd-home-search__row input {
	border: 1px solid var(--sfv-border, #e5e7eb);
	background: #fff;
}

.sfvd-home-search--card .sfvd-home-btn--primary {
	width: 100%;
	justify-content: center;
}

.sfvd-home-search__submit--full {
	grid-column: 1 / -1;
	width: 100%;
	justify-content: center;
}

.sfvd-home-search__row {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0.65rem;
}

.sfvd-home-search__row input {
	grid-column: span 6;
	min-height: 48px;
	border-radius: var(--sfvd-home-radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 0 0.85rem;
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.96);
	color: var(--sfv-text, #1f2937);
}

.sfvd-home-search__row input::placeholder {
	color: #64748b;
}

.sfvd-home-search__submit {
	grid-column: span 12;
	justify-self: start;
}

@media (min-width: 720px) {
	.sfvd-home-search__row:first-of-type input {
		grid-column: span 6;
	}
	.sfvd-home-search__row:last-of-type input:nth-child(1) {
		grid-column: span 3;
	}
	.sfvd-home-search__row:last-of-type input:nth-child(2) {
		grid-column: span 3;
	}
	.sfvd-home-search__submit {
		grid-column: span 6;
	}
}

@media (max-width: 719px) {
	.sfvd-home-search__row input,
	.sfvd-home-search__submit {
		grid-column: 1 / -1;
	}
}

/* Sections */
.sfvd-home-section {
	padding: 3rem 0;
}

.sfvd-home-section--surface {
	background: var(--sfv-surface, #f3f4f6);
}

.sfvd-home-section__head {
	margin-bottom: 1.75rem;
}

.sfvd-home-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.sfvd-home-section__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.sfvd-home-section__desc {
	margin: 0;
	color: var(--sfv-muted, #6b7280);
	max-width: 40rem;
}

.sfvd-home-section__foot {
	margin: 1.5rem 0 0;
}

.sfvd-home-link {
	font-weight: 700;
	color: var(--sfv-primary, #0f766e);
	text-decoration: none;
	white-space: nowrap;
}

.sfvd-home-link:hover,
.sfvd-home-link:focus {
	text-decoration: underline;
}

/* Grids */
.sfvd-home-grid {
	display: grid;
	gap: 1.25rem;
}

.sfvd-home-grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.sfvd-home-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Cards */
.sfvd-home-card {
	background: #fff;
	border: 1px solid var(--sfv-border, #e5e7eb);
	border-radius: var(--sfvd-home-radius);
	overflow: hidden;
	box-shadow: var(--sfv-shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.sfvd-home-card__media img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.sfvd-home-card__body {
	padding: 1rem 1.1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.sfvd-home-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}

.sfvd-home-card__title a {
	color: inherit;
	text-decoration: none;
}

.sfvd-home-card__title a:hover {
	color: var(--sfv-primary, #0f766e);
}

.sfvd-home-card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--sfv-muted, #6b7280);
}

.sfvd-home-card__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--sfv-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Categories */
.sfvd-home-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
}

.sfvd-home-cat {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1rem 1.1rem;
	border-radius: var(--sfvd-home-radius-sm);
	border: 1px solid var(--sfv-border, #e5e7eb);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sfvd-home-cat:hover {
	border-color: var(--sfv-primary, #0f766e);
	box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}

.sfvd-home-cat__name {
	font-weight: 800;
}

.sfvd-home-cat__meta {
	font-size: 0.8125rem;
	color: var(--sfv-muted, #6b7280);
}

/* Cities */
.sfvd-home-cities {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.65rem;
}

.sfvd-home-city {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: var(--sfvd-home-radius-sm);
	border: 1px solid var(--sfv-border, #e5e7eb);
	background: #fff;
	text-decoration: none;
	color: inherit;
	font-weight: 700;
}

.sfvd-home-city:hover {
	border-color: var(--sfv-primary, #0f766e);
}

.sfvd-home-city__arrow {
	color: var(--sfv-primary, #0f766e);
}

/* Quotes */
.sfvd-home-quote {
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border-radius: var(--sfvd-home-radius);
	border: 1px solid var(--sfv-border, #e5e7eb);
	box-shadow: var(--sfv-shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.sfvd-home-quote__stars {
	margin: 0 0 0.5rem;
	letter-spacing: 2px;
	color: #f59e0b;
	font-size: 0.95rem;
}

.sfvd-home-quote__text {
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.55;
}

.sfvd-home-quote__foot {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-size: 0.875rem;
	color: var(--sfv-muted, #6b7280);
}

.sfvd-home-quote__author {
	font-style: normal;
	font-weight: 800;
	color: var(--sfv-text, #1f2937);
}

.sfvd-home-quote__place a {
	font-weight: 600;
	color: var(--sfv-primary, #0f766e);
	text-decoration: none;
}

.sfvd-home-quote__place a:hover {
	text-decoration: underline;
}

/* Newsletter */
.sfvd-home-newsletter {
	background: linear-gradient(135deg, #f0fdfa 0%, #e2e8f0 100%);
	border-top: 1px solid var(--sfv-border, #e5e7eb);
	border-bottom: 1px solid var(--sfv-border, #e5e7eb);
}

.sfvd-home-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.sfvd-home-newsletter__inner {
		grid-template-columns: 1fr 1.2fr;
	}
}

.sfvd-home-muted {
	color: var(--sfv-muted, #6b7280);
	margin: 0;
}

/* SEO */
.sfvd-home-seo {
	background: #0f172a;
	color: #e2e8f0;
	padding: 3rem 0 4rem;
}

.sfvd-home-seo__title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
}

.sfvd-home-seo__block + .sfvd-home-seo__block {
	margin-top: 2.5rem;
}

.sfvd-home-seo__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.5rem 1.25rem;
}

.sfvd-home-seo__list a {
	color: #99f6e4;
	text-decoration: none;
	font-size: 0.9rem;
}

.sfvd-home-seo__list a:hover {
	text-decoration: underline;
}

/* Stats band */
.sfvd-home-stats {
	padding: 1.75rem 0;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border-bottom: 1px solid var(--sfv-border, #e5e7eb);
}

.sfvd-home-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.25rem;
	text-align: center;
}

.sfvd-home-stats__item {
	margin: 0;
	padding: 0.5rem 0.75rem;
}

.sfvd-home-stats__num {
	display: block;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 800;
	color: var(--sfv-primary, #0f766e);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.sfvd-home-stats__lbl {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--sfv-muted, #6b7280);
}

/* How it works */
.sfvd-home-how {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.sfvd-home-how {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}
}

.sfvd-home-how__col {
	background: var(--sfv-surface, #f3f4f6);
	border: 1px solid var(--sfv-border, #e5e7eb);
	border-radius: var(--sfvd-home-radius);
	padding: 1.5rem 1.5rem 1.65rem;
}

.sfvd-home-how__col--accent {
	background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%);
	border-color: #99f6e4;
}

.sfvd-home-how__title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 800;
}

.sfvd-home-how__steps {
	margin: 0 0 1.25rem;
	padding-left: 1.2rem;
	line-height: 1.6;
	color: var(--sfv-text, #1f2937);
}

.sfvd-home-how__steps li {
	margin-bottom: 0.5rem;
}

.sfvd-home-how__btn {
	width: 100%;
	justify-content: center;
}

@media (min-width: 480px) {
	.sfvd-home-how__btn {
		width: auto;
	}
}

/* Owner CTA */
.sfvd-home-owner-cta {
	padding: 3rem 0;
	background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, var(--sfv-primary, #0f766e) 100%);
	color: #fff;
}

.sfvd-home-owner-cta__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
}

@media (min-width: 768px) {
	.sfvd-home-owner-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
	}
}

.sfvd-home-owner-cta__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}

.sfvd-home-owner-cta__lead {
	margin: 0;
	max-width: 36rem;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.55;
}

.sfvd-home-owner-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sfvd-home-owner-cta .sfvd-home-btn--primary {
	background: #fff;
	color: var(--sfv-primary-dark, #115e59);
}

.sfvd-home-owner-cta .sfvd-home-btn--primary:hover {
	background: #ccfbf1;
}

.sfvd-home-owner-cta .sfvd-home-btn--ghost {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}
