/* ============================================================
   Areas We Serve Page Styles
   ============================================================ */

/* 1. Hero */
.areas-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	background: var(--nb-ink) var(--hero-bg,none) center/cover no-repeat;
	overflow: hidden;
}
.areas-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(130deg, rgba(17,18,20,.9) 50%, rgba(17,18,20,.6));
}
.areas-hero .container { position: relative; z-index: 1; padding: 100px 0 70px; }
.areas-hero__with-map { display: grid; grid-template-columns: 1fr 480px; gap: 40px; align-items: center; }
.areas-hero__content { color: #fff; }
.areas-hero__content h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.13; margin: 12px 0 18px; }
.areas-hero__content p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 540px; margin-bottom: 28px; }
.areas-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.areas-hero__map-col { position: relative; z-index: 2; }
@media (max-width: 1024px) { .areas-hero__with-map { grid-template-columns: 1fr; } .areas-hero__map-col { display: none; } }

/* Coverage card (replaces map) */
.nbpi-coverage-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 32px 28px; backdrop-filter: blur(10px); }
.nbpi-coverage-card__header { display: flex; align-items: center; gap: 10px; color: var(--nb-yellow); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.nbpi-coverage-card__header svg { width: 18px; height: 18px; }
.nbpi-coverage-card__region { font-size: 1.6rem; font-weight: 900; color: #fff; margin: 0 0 22px; line-height: 1.2; }
.nbpi-coverage-card__cities { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.nbpi-coverage-card__cities li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: .95rem; font-weight: 600; }
.nbpi-pin-dot { width: 10px; height: 10px; background: var(--nb-yellow); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,198,39,.25); }
.nbpi-coverage-card__footer { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: .85rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.nbpi-coverage-card__footer svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--nb-yellow); }

/* Animated map pins */
.areas-hero__map-pins { position: absolute; right: 8%; top: 0; bottom: 0; width: 340px; pointer-events: none; }
.map-pin { position: absolute; color: var(--nb-yellow); animation: mapPinFloat 3s ease-in-out infinite; }
.map-pin svg { width: 32px; height: 32px; }
.map-pin--1 { top: 25%; left: 40%; animation-delay: 0s; }
.map-pin--2 { top: 45%; left: 65%; animation-delay: .6s; }
.map-pin--3 { top: 62%; left: 30%; animation-delay: 1.2s; }
.map-pin--4 { top: 30%; left: 80%; animation-delay: .9s; }
.map-pin--5 { top: 70%; left: 55%; animation-delay: 1.8s; }
@keyframes mapPinFloat {
	0%,100% { transform: translateY(0) scale(1); opacity: .6; }
	50% { transform: translateY(-10px) scale(1.15); opacity: 1; }
}
@media (max-width: 900px) { .areas-hero__map-pins { display: none; } .areas-hero { min-height: auto; } }

/* 2. County List + City Pills */
.areas-counties-list { background: #fff; }
.county-list { margin-top: 48px; }
.county-list__item {
	padding: 32px 0;
	border-bottom: 1px solid #ebebeb;
}
.county-list__item:first-child { border-top: 1px solid #ebebeb; }
.county-list__heading {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--nb-ink);
	margin: 0 0 20px;
	text-align: center;
}
.county-list__cities {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.city-pill {
	display: inline-flex;
	align-items: center;
	background: var(--nb-yellow);
	color: var(--nb-ink);
	font-size: .9rem;
	font-weight: 700;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .18s, transform .18s;
}
.city-pill:hover {
	background: #e8b400;
	transform: translateY(-2px);
}
.areas-counties__note {
	text-align: center;
	margin-top: 36px;
	font-size: .92rem;
	color: var(--nb-muted);
}
.areas-counties__note a { color: var(--nb-ink); font-weight: 700; }
/* Compact variant for inner-page county lists */
.county-list--compact .county-list__item { padding: 22px 0; }
.county-list--compact .county-list__heading { font-size: 1.25rem; margin: 0 0 14px; }
.county-list--compact .city-pill { font-size: .85rem; padding: 8px 18px; }

@media (max-width: 600px) {
	.county-list__heading { font-size: 1.3rem; }
	.city-pill { font-size: .85rem; padding: 9px 18px; }
}

/* Old areas cards grid */

.areas-cards-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; }
.area-big-card {
	width: calc(33.333% - 16px);
	min-width: 260px;
	background: #fff;
	border: 2px solid #f0f0f0;
	border-radius: 22px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.area-big-card:hover { border-color: var(--nb-yellow); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(255,198,39,.15); }
.area-big-card__info h3 { margin: 0 0 6px; font-size: 1.15rem; }
.area-big-card__county { font-size: .82rem; color: var(--nb-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 8px; }
.area-big-card__info p { font-size: .9rem; color: var(--nb-muted); margin: 0; }
.area-big-card__cta { font-size: .88rem; font-weight: 700; color: var(--nb-yellow); margin-top: auto; }
@media (max-width: 860px) { .areas-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .areas-cards-grid { grid-template-columns: 1fr; } }

/* 3. Why local */
.areas-why-local__grid { display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: center; }
.areas-why-local__media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 72px rgba(0,0,0,.12); }
.areas-why-local__media img { width: 100%; height: 540px; object-fit: cover; display: block; }
.areas-why-local__badge { position: absolute; bottom: 24px; left: 24px; background: var(--nb-yellow); border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem; color: var(--nb-ink); line-height: 1.3; }
.areas-why-local__badge svg { width: 24px; height: 24px; flex-shrink: 0; }
@media (max-width: 900px) { .areas-why-local__grid { grid-template-columns: 1fr; } .areas-why-local__media img { height: 360px; } }

/* 4. Services compact grid */
.services-grid--3col { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card-compact { background: #fff; border: 1px solid #f0f0f0; border-radius: 14px; padding: 18px 16px; display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; transition: border-color .2s; }
.service-card-compact:hover { border-color: var(--nb-yellow); }
.service-card-compact h3 { font-size: .93rem; margin: 0 0 4px; }
.service-card-compact span { font-size: .82rem; color: var(--nb-yellow); font-weight: 600; }
@media (max-width: 760px) { .services-grid--3col { grid-template-columns: repeat(2,1fr); } }

/* 5. Coverage yellow section */
.section--yellow { background: var(--nb-yellow) !important; }
.areas-coverage__grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.areas-coverage__text p { color: rgba(17,18,20,.75); margin-bottom: 14px; }
.areas-coverage__pins { display: flex; flex-direction: column; gap: 12px; }
.coverage-pin { display: flex; align-items: center; gap: 12px; background: rgba(17,18,20,.08); border-radius: 12px; padding: 12px 16px; }
.coverage-pin svg { width: 20px; height: 20px; color: var(--nb-ink); }
.coverage-pin span { font-weight: 600; color: var(--nb-ink); }
@media (max-width: 860px) { .areas-coverage__grid { grid-template-columns: 1fr; } }

/* 6. Badge wall (shared) */
.badge-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: center; margin-top: 36px; }
.badge-wall--compact { gap: 20px; }
.badge-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badge-item img { max-height: 72px; max-width: 120px; object-fit: contain; }
.badge-item--sm img { max-height: 52px; max-width: 90px; }
.badge-item__name { font-size: .78rem; color: var(--nb-muted); text-align: center; max-width: 100px; }

/* Review placeholder / shell */
.review-summary { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; }
.review-score { display: flex; align-items: center; gap: 16px; }
.review-score strong { font-size: 3.5rem; font-weight: 900; color: var(--nb-yellow); line-height: 1; }
.review-stars { font-size: 1.5rem; color: var(--nb-yellow); letter-spacing: 2px; }
.review-count strong { font-size: 2rem; font-weight: 800; color: var(--nb-ink); display: block; }
.review-count span { font-size: .9rem; color: var(--nb-muted); }
.review-placeholder { background: #fff; border: 2px dashed #e8e8e8; border-radius: 18px; padding: 48px; text-align: center; }
.review-placeholder strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.review-placeholder p { color: var(--nb-muted); font-size: .95rem; max-width: 420px; margin: 0 auto; }

/* Mobile: service cards stack */
.services-grid--3col > * { min-width: 0; }
@media (max-width: 560px) { .services-grid--3col { grid-template-columns: 1fr; } }
