/* ==================================================
   HOMEPAGE V2 (PREVIEW) STYLES
   Scoped entirely to .homepage-v2 - cannot affect the
   live homepage, directory pages, or attorney profiles.
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.homepage-v2 {
	font-family: 'Inter', Arial, sans-serif;
}

.homepage-v2 h1,
.homepage-v2 h2,
.homepage-v2 h3 {
	font-family: 'Inter', Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* ---------- Trust stats bar ---------- */

.hv2-trust-bar {
	background: #1f2d3d;
	padding: 24px 0;
}

.hv2-trust-bar .wrapper {
	display: flex;
	justify-content: center;
	gap: 60px;
}

.hv2-trust-item {
	text-align: center;
	color: #ffffff;
}

.hv2-trust-number {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
}

.hv2-trust-label {
	display: block;
	font-size: 12px;
	color: #b7c2cc;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 4px;
}

/* ---------- Section headings ---------- */

.hv2-section-heading {
	font-size: 26px;
	text-align: center;
	color: #1f2d3d;
	margin: 0 0 36px;
}

/* ---------- Category (practice area) tile grid ---------- */

.hv2-categories {
	background: #fafbfb;
	padding: 60px 0;
}

.hv2-tile-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hv2-tile {
	list-style: none;
}

.hv2-tile-link {
	display: block;
	background: #ffffff;
	border-radius: 14px;
	padding: 28px 16px;
	text-align: center;
	box-shadow: 0 2px 14px rgba(0,0,0,0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	text-decoration: none;
}

.hv2-tile-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.10);
	text-decoration: none;
}

.hv2-tile-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background-color: #e8f9f9;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px 28px;
}

.hv2-tile-title {
	font-size: 15px;
	font-weight: 600;
	color: #222222;
	margin: 0;
}

/* ---------- Location chip grid (no flag icons - plain pin instead) ---------- */

.hv2-locations {
	background: #ffffff;
	padding: 50px 0 60px;
}

.hv2-chip-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.hv2-chip {
	list-style: none;
}

.hv2-chip-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f4f6f7;
	border-radius: 50px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 500;
	color: #333333;
	text-decoration: none;
	transition: background 0.15s ease;
}

.hv2-chip-link:hover {
	background: #e8f9f9;
	text-decoration: none;
}

.hv2-chip-pin {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #35cbc9;
	display: inline-block;
}

/* ---------- CTA banner (list your firm) ---------- */

.hv2-cta-banner {
	background: linear-gradient(135deg, #ff9c00 0%, #ffb84d 100%);
	padding: 30px 0;
}

.hv2-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.hv2-cta-title {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 2px;
}

.hv2-cta-subtitle {
	font-size: 13px;
	color: rgba(255,255,255,0.9);
	margin: 0;
}

.hv2-cta-button {
	background: #ffffff;
	color: #ff9c00 !important;
	border-radius: 50px;
	padding: 12px 28px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease;
}

.hv2-cta-button:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.homepage-v2 .section-best-places,
.homepage-v2 .section-recent-places {
	background: #ffffff !important;
	padding: 60px 0 !important;
}

.homepage-v2 .section-recent-places {
	background: #fafbfb !important;
}

.homepage-v2 .section-title {
	font-size: 26px !important;
	font-weight: 700 !important;
	color: #1f2d3d !important;
	text-align: center !important;
	margin: 0 0 36px !important;
}

.homepage-v2 .items-list-view .item {
	background: #ffffff !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 14px rgba(0,0,0,0.07) !important;
	margin-bottom: 16px !important;
	padding: 18px !important;
	border: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease !important;
	list-style: none !important;
}

.homepage-v2 .items-list-view .item:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(0,0,0,0.10) !important;
}

.homepage-v2 .item-thumbnail img {
	border-radius: 10px !important;
}

.homepage-v2 .item-title a {
	color: #1f2d3d !important;
	font-weight: 700 !important;
}

.homepage-v2 .item-meta-information a {
	color: #35cbc9 !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.hv2-tile-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
	}
	.hv2-trust-bar .wrapper {
		gap: 30px;
	}
	.hv2-cta-inner {
		flex-direction: column;
		text-align: center;
	}
}