/* The Duct Worx FL - service areas page extras (shared components live in styles.css) */

/* hero */
.areas-hero .split { align-items: center; }
.areas-hero .lead { margin-bottom: 0; }
.zip-card { position: relative; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border-top: 6px solid var(--sun); }
.zip-card__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .3rem; }
.zip-card .zip__row input { font-size: 1.3rem; }
.zip-card .zip__result { min-height: 0; }

/* map */
.area-map { margin: 0; }
.area-map svg { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 6px solid #fff; background: #fff; }
.area-map figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: .9rem; }
.pin { cursor: pointer; outline: none; }
.pin__dot { fill: var(--sun); stroke: var(--ink); stroke-width: 3; transition: fill .2s; }
.pin__pulse { fill: var(--sun); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.6s ease-out infinite; }
.pin text { font-family: var(--font-head); font-weight: 700; font-size: 17px; fill: var(--ink); paint-order: stroke; stroke: #FFF9F0; stroke-width: 5px; stroke-linejoin: round; }
.pin:hover .pin__dot, .pin:focus-visible .pin__dot { fill: var(--teal); }
.pin:hover text, .pin:focus-visible text { fill: var(--teal-700); }
.pin__hit { fill: transparent; stroke: none; }
.pin:focus-visible .pin__hit { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 4; }
.pin:focus-visible .pin__dot { stroke: var(--ink); stroke-width: 5; }
@keyframes pinPulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(2); opacity: 0; } }
@media (max-width: 520px) { .pin text { font-size: 20px; } }

/* city cards */
.city-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.city-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--foam) 0 55%, transparent 56%); pointer-events: none; }
.city-card > * { position: relative; z-index: 1; }
.city-card:target { box-shadow: 0 0 0 4px var(--sun), var(--sh-lg); }
.city-card__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .8rem .25rem .55rem; border-radius: var(--r-pill); background: var(--foam); color: var(--teal-700); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.city-card p { flex: 1; }

/* don't see your town */
.town-card { display: grid; gap: 1.5rem; align-items: center; }
.town-card h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.town-card p { margin: 0; color: var(--text); }
.town-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 760px) { .town-card { grid-template-columns: 1.3fr 1fr; } .town-card__actions { justify-content: flex-end; } }

/* final CTA */
.cta-band__actions { display: grid; gap: .9rem; }
