/* Areas We Serve: the Contact Us map hero, then every county with a curved
   gradient arrow that runs from its name down into its towns. */
/* Hero: the same world map banner and heights as Contact Us. */
.page-banner.sa-banner { background-image: url("../images/bg-map.jpg"); background-position: center; }
.sa-banner .page-banner-inner { min-height: 14.75rem; }
@media (min-width: 48rem) { .page-banner.sa-banner .page-banner-inner { min-height: calc(11.5rem + 13.5vw); } }
@media (min-width: 75rem) { .page-banner.sa-banner .page-banner-inner { min-height: calc(22.5rem + 4.5vw); } }

.sa-page { color: var(--ink); background: linear-gradient(180deg, #fff 0%, #f3f5f9 100%); }
.sa-coverage { padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(3.5rem, 7vw, 6rem); }
.sa-intro { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sa-eyebrow { display: flex; align-items: center; gap: .875rem; margin: 0 0 .875rem; color: var(--accent); font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sa-eyebrow::before { content: ""; flex: 0 0 auto; width: 2.5rem; height: 3px; background: var(--accent); }
.sa-page h2 { max-width: 22ch; margin: 0 0 .875rem; font-size: clamp(1.875rem, 3.4vw, 2.625rem); line-height: 1.12; letter-spacing: -.03em; }
.sa-lead { max-width: 52ch; margin: 0; color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; }

/* Town finder: filters the county list as the visitor types. */
.sa-finder { align-self: end; min-width: 0; margin: 0; padding: 1.5rem; border-top: 4px solid var(--accent); background: #fff; box-shadow: 0 18px 44px rgb(18 22 42 / .1); }
.sa-finder label { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.sa-finder input { width: 100%; min-height: 48px; margin-top: .25rem; padding: .625rem 0; border: 0; border-bottom: 1px solid #767f96; border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.sa-finder input:focus { outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.sa-status { margin: .75rem 0 0; color: var(--muted); font-size: .9375rem; font-weight: 700; line-height: 1.45; }
.sa-status:empty { margin: 0; }

/* Counties: each one collapses to its name and town count; opening it shows
   a short arrow pointing from the name into its towns. */
.sa-counties { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.sa-county { border-top: 1px solid var(--line); }
.sa-county summary { display: block; list-style: none; cursor: pointer; }
.sa-county summary::-webkit-details-marker { display: none; }
.sa-county summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sa-summary { display: flex; align-items: center; gap: 1rem; min-height: 48px; padding-block: 1.25rem; }
.sa-county h3 { flex: 1 1 auto; margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; transition: color .2s ease; }
.sa-county summary:hover h3, .sa-county details[open] h3 { color: var(--accent); }
.sa-count { flex: 0 0 auto; color: var(--muted); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.sa-toggle { position: relative; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; transition: background-color .2s ease, border-color .2s ease; }
.sa-toggle::before, .sa-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: .875rem; height: 2px; margin: -1px 0 0 -.4375rem; background: var(--ink); transition: transform .25s ease, background-color .2s ease; }
.sa-toggle::after { transform: rotate(90deg); }
.sa-county summary:hover .sa-toggle { border-color: var(--accent); }
.sa-county details[open] .sa-toggle { border-color: var(--accent); background: var(--accent); }
.sa-county details[open] .sa-toggle::before, .sa-county details[open] .sa-toggle::after { background: #fff; }
.sa-county details[open] .sa-toggle::after { transform: rotate(0deg); }
.sa-county-body { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding-bottom: 1.5rem; }
.sa-arrow { grid-column: 1; grid-row: 1; width: 2.5rem; height: 2.1rem; overflow: visible; color: var(--navy); }
.sa-arrow-line { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; }
.sa-arrow-head { fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sa-towns { grid-column: 2; grid-row: 1; margin: 0; padding: .55rem 0 0 .375rem; list-style: none; color: #3d4560; font-size: clamp(1rem, 1.2vw, 1.0625rem); line-height: 1.65; }
.sa-towns li { display: inline; }
.sa-towns li:not(:last-child)::after { content: ", "; }
.sa-towns mark { padding: 0 .125rem; border-radius: 2px; background: rgb(203 25 57 / .14); color: var(--ink); font-weight: 700; }
.sa-empty { margin: 1.5rem 0 0; padding: 1.5rem; border-left: 4px solid var(--accent); background: #fff; font-size: 1.0625rem; line-height: 1.6; }
.sa-empty a { color: var(--accent); font-weight: 700; }

/* Closing call to action. */
.sa-cta { padding-block: clamp(3rem, 6vw, 5rem); border-top: 4px solid var(--accent); background: #fff; }
.sa-cta-inner { display: grid; gap: 1.75rem; align-items: center; }
.sa-cta p { max-width: 52ch; margin: 0; color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; }
.sa-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (min-width: 48rem) {
  .sa-county-body { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .sa-arrow { width: 2.75rem; height: 2.3rem; }
  .sa-towns { padding-top: .7rem; }
}
@media (min-width: 64rem) {
  .sa-intro { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 4rem; align-items: end; }
  .sa-cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
}
