/* Service Areas, October 2026 redesign.
 * 1. Hub page: coverage strip, directory header, region filters, city cards.
 * 2. Coverage band above the footer (every page): cities grouped by region.
 * 3. City pages: the "how we serve this city" line in the hero card. */

/* ---------------------------------------------------------------- 1. Hub */
.sa2-coverage { position: relative; z-index: 2; margin-top: -42px; padding: 0 0 8px; }
.sa2-coverage__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sa2-mode { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 24px; border: 1px solid #dce7fb; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(16, 26, 59, .08); }
.sa2-mode__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #1667d9, #b13cc7); color: #fff; }
.sa2-mode__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sa2-mode h3 { margin: 0 0 6px; color: #101a3b; font-size: 17px; line-height: 1.3; }
.sa2-mode p { margin: 0; color: #526b91; font-size: 14px; line-height: 1.6; }

.sa2-directory { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: #f6f9ff; }
.sa2-directory__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 22px; }
.sa2-directory__head > div { max-width: 620px; }
.sa2-directory__head h2 { margin: 10px 0 10px; color: #101a3b; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; text-wrap: balance; }
.sa2-directory__head p:not(.sah-eyebrow) { margin: 0; color: #526b91; font-size: 17px; line-height: 1.6; }
.sa2-search { position: relative; flex: 0 1 360px; }
.sa2-search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 1px solid #d6e2f7; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(16, 26, 59, .05); color: #101a3b; font: inherit; font-size: 15px; }
.sa2-search input:focus { outline: none; border-color: #1667d9; box-shadow: 0 0 0 4px rgba(22, 103, 217, .14); }
.sa2-search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #5b6b82; line-height: 0; }
.sa2-search__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.sa2-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.sa2-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid #d6e2f7; border-radius: 999px; background: #fff; color: #243e70; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.sa2-chip span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: #eef3fc; color: #526b91; font-size: 12px; font-weight: 700; }
.sa2-chip:hover { border-color: #1667d9; color: #1667d9; }
.sa2-chip:focus-visible { outline: 3px solid #39cce8; outline-offset: 2px; }
.sa2-chip.is-active { border-color: transparent; background: linear-gradient(135deg, #1667d9, #5146c7); color: #fff; }
.sa2-chip.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.sa2-filters { margin-bottom: 4px; }

.sa2-groups { display: grid; gap: 40px; margin-top: 18px; }
.sa2-region__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #dfe7f5; }
.sa2-region__head h3 { margin: 0; color: #101a3b; font-size: 22px; line-height: 1.2; }
.sa2-region__note { color: #5146c7; font-size: 13px; font-weight: 700; }
.sa2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.sa2-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dfe7f5; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(16, 26, 59, .06); color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.sa2-card[hidden] { display: none; }
.sa2-card:hover, .sa2-card:focus-visible { transform: translateY(-3px); border-color: #1667d9; box-shadow: 0 20px 40px rgba(22, 103, 217, .14); }
.sa2-card:focus-visible { outline: 3px solid #39cce8; outline-offset: 3px; }
.sa2-card__logo { display: flex; align-items: center; justify-content: center; gap: 14px; height: 104px; padding: 16px 20px; border-bottom: 1px solid #edf2fa; background: #fff; }
.sa2-card__logo img { display: block; max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.sa2-card__logo--pair img { max-width: calc(50% - 7px); max-height: 52px; }
.sa2-card__logo--name { background: linear-gradient(135deg, #f1f6ff, #f7f1fd); }
.sa2-card__wordmark { display: inline-flex; align-items: center; gap: 8px; color: #243e70; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.sa2-card__wordmark svg { width: 22px; height: 22px; fill: none; stroke: #b13cc7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sa2-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.sa2-card__city { color: #101a3b; font-size: 18px; line-height: 1.25; }
.sa2-card__mode { display: inline-flex; align-items: center; gap: 6px; color: #1667d9; font-size: 12px; font-weight: 700; }
.sa2-card__mode::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #22b573; }
.sa2-card__mode--scheduled::before { background: #f2a43a; }
.sa2-card__mode--remote::before { background: #8b5cf6; }
.sa2-card__text { color: #526b91; font-size: 14px; line-height: 1.55; }
.sa2-card__more { margin-top: auto; padding-top: 8px; color: #1667d9; font-size: 14px; font-weight: 700; }
.sa2-card__more span { display: inline-block; transition: transform .2s ease; }
.sa2-card:hover .sa2-card__more span { transform: translateX(4px); }
.sa2-empty { margin: 24px 0 0; padding: 20px; border: 1px dashed #c9d6ee; border-radius: 14px; color: #526b91; text-align: center; }

@media (max-width: 1100px) { .sa2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.sa2-coverage { margin-top: 24px; }
	.sa2-coverage__grid { grid-template-columns: 1fr; gap: 12px; }
	.sa2-directory__head { flex-direction: column; align-items: stretch; }
	.sa2-search { flex-basis: auto; }
	.sa2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.sa2-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 2px 16px 8px; scrollbar-width: none; }
	.sa2-filters::-webkit-scrollbar { display: none; }
	.sa2-chip { flex: none; }
	.sa2-grid { grid-template-columns: 1fr; gap: 12px; }
	/* Phones: logo on the left, details on the right, so the list stays short. */
	.sa2-card { flex-direction: row; }
	.sa2-card__logo { flex: none; width: 112px; height: auto; min-height: 112px; padding: 12px; border-bottom: 0; border-right: 1px solid #edf2fa; }
	.sa2-card__logo img { max-height: 54px; }
	.sa2-card__logo--pair { flex-direction: column; gap: 8px; }
	.sa2-card__logo--pair img { max-width: 100%; max-height: 34px; }
	.sa2-card__wordmark { flex-direction: column; gap: 4px; font-size: 15px; text-align: center; }
	.sa2-card__body { padding: 14px 16px; }
	.sa2-card__more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sa2-card, .sa2-card__more span, .sa2-chip { transition: none; } .sa2-card:hover { transform: none; } }

/* ---------------------------------------------- 2. Coverage band (all pages) */
.da-coverage-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.da-coverage-region { padding: 20px 20px 22px; border: 1px solid rgba(143, 194, 255, .18); border-radius: 18px; background: rgba(255, 255, 255, .04); text-align: left; }
.da-site-coverage .da-coverage-region h3 { margin: 0 0 4px !important; color: #fff !important; font-size: 17px !important; line-height: 1.3 !important; text-align: left; }
.da-site-coverage .da-coverage-region > p { margin: 0 0 14px !important; color: #9fb4d8 !important; font-size: 13px; line-height: 1.45; }
.da-coverage-region ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.da-coverage-region li { margin: 0; min-width: 0; }
.da-coverage-region .da-location-card { width: 100%; min-height: 42px; margin: 0 !important; }
.da-coverage-more { margin: 22px 0 0; text-align: center; }
.da-coverage-more a { color: #8fc2ff; font-weight: 700; text-decoration: none; }
.da-coverage-more a:hover { color: #fff; }
@media (max-width: 1000px) { .da-coverage-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .da-coverage-regions { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 359px) { .da-coverage-region ul { grid-template-columns: 1fr; } }

/* ------------------------------------------------- 3. City page hero card */
.dal-hero__card-mode { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border: 1px solid rgba(143, 194, 255, .28); border-radius: 999px; background: rgba(143, 194, 255, .08); color: #cfe2ff; font-size: 13px; font-weight: 600; }
.dal-hero__card-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22b573; }
[data-location] .dal-hero__card-mode { line-height: 1.3; }
