/* Texas relief map: every service area is dotted, gallery towns are listed beside it. */
.texas-map { position:relative; isolation:isolate; height:clamp(620px,52vw,720px); overflow:hidden; border:1px solid #e3e8e5; border-radius:24px; background:radial-gradient(ellipse at 30% 42%,#fff 0,#f5f6f2 56%,#eceeea 100%); color:var(--ink); box-shadow:0 1px 2px #1a2e2808,0 30px 60px -48px #1a2e2855; }
.texas-map-stage { position:absolute; inset:0; }
.texas-map-poster { position:absolute; top:9%; left:2%; width:62%; height:84%; object-fit:contain; transform:perspective(1100px) rotateX(18deg); filter:drop-shadow(4px 19px 16px #233b2c18); transition:opacity .6s; }
.texas-map-canvas { position:absolute; inset:0; width:100%; height:100%; display:block; opacity:0; transition:opacity .6s; }
.texas-map.is-ready .texas-map-canvas { opacity:1; }
.texas-map.is-ready .texas-map-poster { opacity:0; }

.texas-map-overlay { position:absolute; inset:0; z-index:2; width:100%; height:100%; overflow:visible; pointer-events:none; opacity:0; transition:opacity .6s; }
.texas-map.is-ready .texas-map-overlay { opacity:1; }
.map-leader { fill:none; stroke:#173342; stroke-width:1; opacity:0; transition:opacity .25s; }
.map-leader.is-active { opacity:.35; }
.map-dot { cursor:pointer; pointer-events:auto; }
.map-dot-hit { fill:transparent; }
.map-dot-body { opacity:0; transform-box:fill-box; transform-origin:center; filter:drop-shadow(0 1px 2px #0b181640); }
.texas-map.is-zoomed .map-dot-body { animation:map-dot-in .7s cubic-bezier(.2,.9,.3,1.2) var(--delay,700ms) both; }
@keyframes map-dot-in { from { opacity:0; scale:.2; } to { opacity:1; scale:1; } }
.map-dot-ring { fill:#ffffffe6; stroke:#17334226; stroke-width:1; transform-box:fill-box; transform-origin:center; transition:scale .3s var(--ease),fill .25s; }
.map-dot-core { fill:#5f7582; }
.map-dot.is-gallery .map-dot-ring { fill:#fff; stroke:#173342; stroke-width:1.5; }
.map-dot.is-gallery .map-dot-core { fill:#173342; }
.map-dot:hover .map-dot-ring,.map-dot.is-selected .map-dot-ring { scale:1.35; }

.texas-map-tip,.texas-map-preview { position:absolute; top:0; left:0; z-index:4; pointer-events:none; opacity:0; }
.texas-map-tip { padding:6px 11px; border-radius:999px; background:#173342; color:#fff; font-size:12px; font-weight:560; letter-spacing:-.01em; white-space:nowrap; transform:translate(-50%,calc(-100% - 14px)); transition:opacity .2s; }
.texas-map-tip.is-active { opacity:1; }
.texas-map-preview { width:232px; margin:0; padding:6px; border-radius:18px; background:#fff; box-shadow:0 2px 6px #0b18161a,0 28px 50px -24px #0b181680; transform:translate(-50%,calc(-100% - 20px)) scale(.94); transform-origin:50% 100%; transition:opacity .25s,transform .35s var(--ease); }
.texas-map-preview.is-active { opacity:1; transform:translate(-50%,calc(-100% - 20px)); }
.texas-map-preview img { display:block; width:100%; height:auto; aspect-ratio:16 / 10; object-fit:cover; border-radius:13px; background:#e9ece8; }
.texas-map-preview figcaption { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:10px 8px 5px; }
.texas-map-preview strong { font-size:14px; font-weight:560; letter-spacing:-.02em; }
.texas-map-preview span { color:var(--muted); font-size:11px; white-space:nowrap; }

.texas-map-panel { position:absolute; z-index:3; top:50%; right:4%; width:30%; max-width:400px; transform:translateY(-50%); }
.texas-map-caption { margin:0 0 18px; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:#7b837e; }
.texas-city-link { position:relative; display:flex; align-items:center; gap:16px; min-height:84px; border-top:1px solid #d9dfda; }
.texas-city-link:last-child { border-bottom:1px solid #d9dfda; }
.texas-city-dot { width:7px; height:7px; flex-shrink:0; border:1.5px solid #173342; border-radius:50%; background:#fff; transition:background .25s; }
.texas-city-copy { flex:1; padding-block:14px; }
.texas-city-copy strong { display:block; font-size:clamp(24px,2.2vw,32px); font-weight:440; line-height:1.14; letter-spacing:-.06em; transition:translate .35s var(--ease),color .25s; }
.texas-city-copy span { display:block; margin-top:6px; font-size:11px; color:#7f8983; }
.texas-city-arrow { display:flex; width:28px; justify-content:center; color:#879087; transition:transform .3s,color .25s; }
.texas-city-arrow .icon { width:16px; height:16px; }
.texas-city-link:hover .texas-city-copy strong,.texas-city-link.is-selected .texas-city-copy strong { translate:3px 0; color:#173342; }
.texas-city-link.is-selected .texas-city-dot { background:#173342; }
.texas-city-link:hover .texas-city-arrow { transform:translate(2px,-2px); color:#173342; }
.texas-city-link:focus-visible { outline:2px solid #173342; outline-offset:4px; border-radius:6px; }
.texas-map-more { margin-top:22px; }
.texas-map-more p { margin:0 0 14px; color:var(--muted); font-size:13px; line-height:1.55; }
.texas-map-more strong { color:var(--ink); font-weight:560; }
.texas-map-more a[href^="tel:"] { color:var(--ink); text-decoration:underline; text-underline-offset:3px; text-decoration-color:#17334255; }

.texas-map-legend { display:flex; gap:18px; margin-top:22px; padding-top:18px; border-top:1px solid #e3e8e5; font-size:11px; color:#6f7a74; }
.texas-map-legend span { display:flex; align-items:center; gap:7px; }
.texas-map-legend i { width:9px; height:9px; border:1px solid #17334240; border-radius:50%; background:radial-gradient(circle,#5f7582 0 32%,#fff 36%); }
.texas-map-legend i.is-gallery { border:1.5px solid #173342; background:radial-gradient(circle,#173342 0 36%,#fff 42%); }
.town-collection:has(.texas-map) { padding-bottom:100px; }

@media (max-width:1050px) and (min-width:901px) {
 .texas-map { height:600px; }
 .texas-city-link { min-height:76px; gap:10px; }
 .texas-city-copy strong { font-size:24px; }
}
@media (max-width:900px) {
 .texas-map { height:auto; padding-bottom:22px; border-radius:20px; }
 .texas-map-stage { position:relative; inset:auto; height:clamp(320px,72vw,460px); }
 .texas-map-poster { top:4%; left:0; width:100%; height:92%; }
 .texas-map-tip,.texas-map-preview { display:none; }
 .texas-map-panel { position:relative; top:auto; right:auto; width:auto; max-width:none; margin:22px 22px 0; transform:none; }
 .texas-city-link { min-height:74px; }
 .texas-city-copy strong { font-size:26px; }
 .town-collection:has(.texas-map) { padding-bottom:65px; }
}
@media (prefers-reduced-motion:reduce) {
 .texas-map * { transition:none!important; }
 .texas-map.is-zoomed .map-dot-body { animation:none; opacity:1; }
}

/* Phones already get a photo card for every gallery under the map. */
@media (max-width:760px) {
 .texas-map-caption,.texas-map-cities { display:none; }
 .texas-map-panel { margin-top:4px; }
 .texas-map-more { margin-top:0; text-align:center; }
 .texas-map-legend { justify-content:center; }
}