/* ════════════════════════════════════════════════════════════════════
   Location pages — single state (/{state}/) + all-states archive
   ════════════════════════════════════════════════════════════════════ */

/* ── Single state page ───────────────────────────────────────────── */
.an-state-page {
	background: var(--an-bg-primary);
	color: var(--an-text);
}
.an-state-page__hero {
	position: relative;
	color: #FFFFFF;
	padding: 80px 20px 72px;
	background-size: cover;
	background-position: center;
}
.an-state-page__hero-inner {
	max-width: var(--an-container-max);
	margin: 0 auto;
}
.an-state-page__eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 8px;
}
.an-state-page__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0;
}
.an-state-page__sub {
	margin-top: 10px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
}

.an-state-page__inner {
	max-width: var(--an-container-max);
	margin: 0 auto;
	padding: 56px 20px;
}
.an-state-page__section { margin-bottom: 56px; }
.an-state-page__section:last-child { margin-bottom: 0; }
.an-state-page__section h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
	color: var(--an-heading);
	margin: 0 0 20px;
}

.an-state-page__cities {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}
.an-state-page__cities a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	background: var(--an-bg-secondary);
	border: 1px solid var(--an-border);
	border-radius: var(--an-radius-md);
	color: var(--an-heading);
	text-decoration: none;
	transition: background var(--an-trans-base), border-color var(--an-trans-base);
}
.an-state-page__cities a:hover {
	background: var(--an-bg-elevated);
	border-color: var(--an-heading);
}
.an-state-page__cities strong { font-size: 15px; font-weight: 600; }
.an-state-page__cities span { font-size: 12.5px; color: var(--an-text-muted); }

.an-state-page__notaries {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.an-state-notary {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 14px;
	padding: 16px;
	background: var(--an-bg-elevated);
	border: 1px solid var(--an-border);
	border-radius: var(--an-radius-md);
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--an-trans-base), transform var(--an-trans-base);
}
.an-state-notary:hover {
	box-shadow: 0 12px 32px rgba(var(--an-shadow-color), 0.08);
	transform: translateY(-1px);
}
.an-state-notary__img {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50%;
	object-fit: cover;
}
.an-state-notary__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.an-state-notary__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--an-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.an-state-notary__rate {
	font-size: 13px;
	font-weight: 600;
	color: #E11D2E;
}
.an-state-notary__avail {
	font-size: 12px;
	font-weight: 500;
}
.an-state-notary__avail--open    { color: #16A34A; }
.an-state-notary__avail--closed,
.an-state-notary__avail--unknown { color: var(--an-text-muted); }

.an-state-page__empty {
	padding: 32px;
	text-align: center;
	background: var(--an-bg-secondary);
	border: 1px dashed var(--an-border-strong);
	border-radius: var(--an-radius-md);
	color: var(--an-text-muted);
}
.an-state-page__empty a { color: #E11D2E; font-weight: 600; }

/* ── All-states archive ──────────────────────────────────────────── */
.an-states-archive {
	background: var(--an-bg-primary);
	color: var(--an-text);
	padding: 72px 20px 96px;
}
.an-states-archive__inner {
	max-width: var(--an-container-max);
	margin: 0 auto;
}
.an-states-archive__head {
	text-align: center;
	margin-bottom: 40px;
}
.an-states-archive__eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--an-text-muted);
	margin-bottom: 10px;
}
.an-states-archive__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 600;
	color: var(--an-heading);
	letter-spacing: -0.015em;
	margin: 0;
}
.an-states-archive__dot {
	display: inline-block;
	width: 10px; height: 10px;
	background: #E11D2E;
	border-radius: 50%;
	margin-left: 6px;
	transform: translateY(-2px);
}
.an-states-archive__sub {
	margin-top: 10px;
	color: var(--an-text-muted);
	font-size: 14.5px;
}

.an-states-archive__index {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 24px 0 40px;
}
.an-states-archive__index a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: var(--an-radius-pill);
	border: 1px solid var(--an-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--an-heading);
	text-decoration: none;
	transition: background var(--an-trans-base), color var(--an-trans-base), border-color var(--an-trans-base);
}
.an-states-archive__index a:hover {
	background: var(--an-heading);
	color: var(--an-bg-primary);
	border-color: var(--an-heading);
}

.an-states-archive__group {
	margin-top: 40px;
	scroll-margin-top: 88px;
}
.an-states-archive__letter {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #E11D2E;
	margin: 0 0 14px;
	border-bottom: 1px solid var(--an-border);
	padding-bottom: 8px;
}
.an-states-archive__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}
.an-states-archive__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: var(--an-bg-secondary);
	border: 1px solid var(--an-border);
	border-radius: var(--an-radius-sm);
	color: var(--an-heading);
	text-decoration: none;
	font-size: 14px;
	transition: background var(--an-trans-base), border-color var(--an-trans-base);
}
.an-states-archive__item:hover {
	background: var(--an-bg-elevated);
	border-color: var(--an-heading);
}
.an-states-archive__state { font-weight: 600; }
.an-states-archive__count {
	font-size: 12px;
	color: var(--an-text-muted);
}
.an-states-archive__empty {
	text-align: center;
	padding: 48px;
	color: var(--an-text-muted);
}

/* ─── Services Archive — featured visual tiles on top of A-Z list ── */
.an-services-archive__featured {
	list-style: none;
	padding: 0;
	margin: 24px 0 16px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.an-service-tile {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 18px 16px;
	background: var(--an-bg-elevated);
	border: 1px solid var(--an-border);
	border-radius: var(--an-radius-lg);
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--an-trans-base), transform var(--an-trans-base), border-color var(--an-trans-base);
}
.an-service-tile:hover {
	box-shadow: 0 16px 36px rgba(var(--an-shadow-color), 0.10);
	transform: translateY(-2px);
	border-color: rgba(225, 29, 46, 0.35);
	color: inherit;
}
.an-service-tile__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(225, 29, 46, 0.10);
	color: #E11D2E;
	border-radius: 12px;
}
.an-service-tile__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.an-service-tile__name {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--an-heading);
}
.an-service-tile__desc {
	font-size: 12.5px;
	color: var(--an-text-muted);
	line-height: 1.5;
}
.an-service-tile__count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #E11D2E;
}
.an-service-tile__count svg { transition: transform var(--an-trans-fast); }
.an-service-tile:hover .an-service-tile__count svg { transform: translateX(3px); }

@media (max-width: 1024px) {
	.an-services-archive__featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.an-services-archive__featured { grid-template-columns: 1fr; gap: 12px; }
	.an-service-tile { padding: 14px; }
}
