
.state-route-explorer{padding:104px 0 48px;background:#07172d url("../img/truck-3.jpg") center 42%/cover no-repeat;color:#f7faff;position:relative;overflow:hidden;isolation:isolate}
.state-route-explorer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(4,19,40,.86),rgba(5,24,49,.64) 58%,rgba(4,19,40,.84)),linear-gradient(180deg,rgba(5,20,42,.30),rgba(5,20,42,.88));}
.state-route-explorer:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.10;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:42px 42px}
.state-route-explorer .wrap{position:relative;z-index:1}
.state-route-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.state-route-eyebrow{display:block;color:#ffbf24;font-size:11px;font-weight:800;letter-spacing:1.7px;margin-bottom:12px}
.state-route-heading h2{font-size:clamp(27px,3vw,40px);line-height:1.15;color:#fff;margin:0 0 12px;font-weight:800}
.state-route-heading p{max-width:650px;color:#b9c9de;line-height:1.7;margin:0}
.state-route-badge{border:1px solid #36516f;background:#102b4d;border-radius:30px;padding:10px 15px;color:#dbe8f7;font-size:10px;font-weight:800;letter-spacing:1px;white-space:nowrap}
.state-route-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}
.state-map-panel,.state-route-card{border:1px solid rgba(148,179,215,.24);background:rgba(14,39,71,.83);border-radius:15px;box-shadow:0 18px 50px rgba(0,0,0,.16);overflow:hidden}
.state-map-toolbar{height:48px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(148,179,215,.18);font-size:10px;letter-spacing:1px;font-weight:800;color:#e8f1fc}
.state-map-toolbar span{display:flex;align-items:center;gap:9px}.state-map-toolbar i{width:7px;height:7px;background:#ffbf24;border-radius:50%;box-shadow:0 0 0 4px #ffbf2420}
.state-map-toolbar small{color:#8ea8c7;letter-spacing:0;font-weight:500;font-size:11px}
.superior-us-map{min-height:500px;padding:15px 12px;display:flex;align-items:center;justify-content:center}
.superior-us-map svg{width:100%;height:auto;max-height:570px;overflow:visible}
.superior-us-map .state-shape{fill:#657fa3;stroke:#9bb0cc;stroke-width:.8;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s,filter .18s}
.superior-us-map .state-shape:hover,.superior-us-map .state-shape:focus{fill:#ffca3a;outline:none;filter:drop-shadow(0 0 5px #ffc42f88)}
.superior-us-map .state-shape.is-selected{fill:#ffbd22;stroke:#ffe08a;stroke-width:1.5}
.superior-us-map .state-label{fill:#f6f9ff;font-size:10px;font-weight:800;pointer-events:none;text-anchor:middle;dominant-baseline:central;text-shadow:0 1px 3px #203b60}
.map-loading{color:#b9c9de;font-size:13px;text-align:center;padding:50px 10px}
.state-map-legend{display:flex;justify-content:space-between;gap:15px;padding:12px 18px;border-top:1px solid rgba(148,179,215,.18);color:#91a9c6;font-size:10px}
.state-map-legend span:first-child{display:flex;align-items:center;gap:7px}.state-map-legend i{width:10px;height:10px;background:#657fa3;border-radius:2px;display:inline-block}
.state-route-card{padding:22px}
.state-route-card h3{font-size:24px;line-height:1.2;color:#fff;margin:0 0 9px}
.state-route-card>p{color:#b7c9df;font-size:12px;line-height:1.6;margin:0 0 20px}
.state-route-card label{display:block;font-size:11px;color:#9eb4d0;margin-bottom:7px}
.state-route-card select{width:100%;padding:12px 10px;border:1px solid #405b7c;background:#193759;color:#fff;border-radius:8px;font:inherit;font-size:12px}
.state-route-divider{height:1px;background:#2c4768;margin:20px 0}
.state-route-stat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #2b4565;font-size:11px;color:#b7c9df}
.state-route-stat span{display:flex;align-items:center;gap:8px}.state-route-stat b{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border:1px solid #ffbf24;color:#ffbf24;border-radius:50%;font-size:13px}
.state-route-stat strong{font-size:11px;color:#fff;text-align:right}
.state-route-cta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:19px;padding:14px 15px;background:#ffbd22;color:#111e31;border-radius:8px;font-weight:800;font-size:12px;text-decoration:none;transition:transform .2s,background .2s}
.state-route-cta:hover{background:#ffd05b;transform:translateY(-2px)}
.state-route-note{font-size:10px!important;color:#8ea8c7!important;margin:12px 0 0!important}
.state-route-popular{border-top:1px solid #2b4565;margin-top:20px;padding-top:16px}.state-route-popular>strong{display:block;color:#9eb4d0;font-size:10px;letter-spacing:1px;margin-bottom:8px}
#popularStateLinks{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#popularStateLinks button{background:transparent;border:0;color:#e9f2ff;text-align:left;padding:7px 0;font-size:11px;cursor:pointer}#popularStateLinks button:hover{color:#ffbf24}
.state-route-seo-copy{color:#a8bdd6;font-size:12px;line-height:1.8;max-width:850px;margin:20px 0 0}
@media(max-width:850px){.state-route-layout{grid-template-columns:1fr}.state-route-card{max-width:none}.superior-us-map{min-height:280px}.state-route-heading{align-items:flex-start;flex-direction:column}.state-route-badge{white-space:normal}}
@media(max-width:520px){.state-route-explorer{padding:72px 0 48px}.state-route-heading h2{font-size:28px}.state-map-toolbar{padding:0 11px}.state-map-toolbar small{font-size:9px}.superior-us-map{padding:10px 4px;min-height:190px}.state-map-legend{flex-direction:column;gap:6px}.state-route-card{padding:18px}}

/* Route state page: selected origin/destination and route connector */
.superior-us-map .state-shape.is-destination{fill:#ffbd22;stroke:#ffe08a;stroke-width:1.5}
.superior-us-map .route-connector{fill:none;stroke:#ffd56a;stroke-width:2.6;stroke-dasharray:2 7;stroke-linecap:round;pointer-events:none;filter:drop-shadow(0 1px 2px #07172b)}
.superior-us-map .route-dot{stroke:#fff3c0;stroke-width:1.6;pointer-events:none}
.superior-us-map .origin-dot{fill:#ffbd22}
.superior-us-map .destination-dot{fill:#f7faff}
.state-page-route-layout .state-map-panel{overflow:hidden}

/* Clickable directory for all US states */
.state-directory{position:relative;z-index:1;border-top:1px solid rgba(174,199,229,.25);margin-top:28px;padding:22px 0 4px;color:#fff}
.state-directory h3{font-size:12px;text-transform:uppercase;letter-spacing:1.2px;color:#ffbf24;margin:0 0 14px}
.state-directory-links{display:flex;flex-wrap:wrap;gap:5px 14px}
.state-directory-links button{appearance:none;background:transparent;border:0;padding:3px 0;color:#f3f7ff;font:600 11px/1.5 inherit;cursor:pointer;text-align:left}
.state-directory-links button:hover,.state-directory-links button:focus{color:#ffbf24;text-decoration:underline}
.state-directory-page{max-width:1320px;margin:30px auto 0;padding:22px 16px 8px}
@media(max-width:520px){.state-directory-links{gap:6px 12px}.state-directory-links button{font-size:11px}}


/* Screenshot-matched state-to-state route explorer layout */
.state-route-explorer{padding:40px 0 48px;background:#071a33 url("../img/truck-3.jpg") center 44%/cover no-repeat;color:#f7faff;min-height:820px}
.state-route-explorer:before{background:linear-gradient(90deg,rgba(5,22,46,.86),rgba(5,22,46,.66) 58%,rgba(5,22,46,.82)),linear-gradient(180deg,rgba(5,20,42,.42),rgba(5,20,42,.78))}
.state-route-explorer:after{opacity:.045;background-size:42px 42px}
.state-route-explorer .wrap{width:min(1160px,calc(100% - 40px));max-width:1160px}
.state-route-heading{margin-bottom:18px;align-items:flex-start}
.state-route-heading h2{font-size:23px;line-height:1.25;margin:0 0 10px;font-weight:800;letter-spacing:-.035em}
.state-route-heading p{font-size:11px;line-height:1.6;max-width:650px}
.state-route-eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px}
.state-route-badge{display:none}
.state-route-layout{grid-template-columns:minmax(0,1fr) 285px;gap:15px;align-items:start}
.state-map-panel{border:0;background:transparent;border-radius:0;box-shadow:none;overflow:visible}
.state-map-toolbar,.state-map-legend{display:none}
.superior-us-map{min-height:510px;padding:0;overflow:visible}
.superior-us-map svg{width:100%;height:auto;max-height:535px;overflow:visible}
.superior-us-map .state-shape{fill:#647d9f;stroke:#8da4c2;stroke-width:.85}
.superior-us-map .state-shape:hover,.superior-us-map .state-shape:focus{fill:#ffca3a;filter:drop-shadow(0 0 5px #ffc42f88)}
.state-route-explorer .superior-us-map .state-shape.is-selected,.state-route-explorer .superior-us-map .state-shape.is-destination{fill:#647d9f;stroke:#8da4c2;stroke-width:.85}
.state-route-card{padding:20px;border-radius:13px;background:rgba(13,38,70,.94);border-color:rgba(130,164,204,.22);box-shadow:0 18px 45px rgba(0,0,0,.18)}
.state-route-card h3{font-size:18px;line-height:1.25;margin:0 0 13px;letter-spacing:-.03em}
.state-route-card .route-helper{display:none}
.state-route-selects{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.state-route-card .state-route-selects label{display:flex;align-items:center;gap:4px;min-width:0;margin:0;padding:0 8px;height:35px;border:1px solid #3a5577;border-radius:8px;background:#173454;color:#b9cbe1;font-size:9px;white-space:nowrap}
.state-route-selects select{min-width:0;width:100%;height:30px;margin:0;padding:0 15px 0 0;border:0;background:transparent;color:#fff;font-size:10px;font-weight:700;appearance:auto}
.state-route-divider{margin:14px 0 7px}
.state-route-stat{padding:9px 0;font-size:10px}
.state-route-stat b{width:26px;height:26px;font-size:12px}
.state-route-stat strong{font-size:10px}
.state-route-cta{margin-top:13px;padding:12px 13px;justify-content:center;font-size:10px;min-height:38px}
.state-route-cta span{display:none}
.state-route-note{display:none}
.state-route-popular{margin-top:14px;padding-top:13px}
.state-route-popular>strong{font-size:9px;margin-bottom:6px}
#popularStateLinks{display:grid;grid-template-columns:1fr;gap:0}
#popularStateLinks button{display:flex;align-items:center;gap:7px;justify-content:flex-start;border-bottom:1px solid #2b4565;padding:8px 0;font-size:10px;font-weight:700}
#popularStateLinks button:last-child{border-bottom:0}
#popularStateLinks button i{font-style:normal;color:#ffbf24}
#popularStateLinks button b{margin-left:auto;color:#ffbf24;font-size:15px;font-weight:400}
.state-directory{margin-top:12px;padding:20px 0 0;border-top:1px solid rgba(174,199,229,.22)}
.state-directory h3{display:none}
.state-directory-links{gap:4px 8px;line-height:1.35}
.state-directory-links button{font-size:9px;line-height:1.5;padding:2px 0;color:#f4f7ff;white-space:nowrap}
.state-route-seo-copy{font-size:10px;margin-top:12px;max-width:850px;color:#9eb4d0}
@media(max-width:900px){.state-route-explorer{min-height:0;padding:34px 0 36px}.state-route-explorer .wrap{width:min(100% - 28px,760px)}.state-route-layout{grid-template-columns:1fr}.superior-us-map{min-height:0}.superior-us-map svg{max-height:none}.state-route-card{max-width:none}.state-route-heading{margin-bottom:12px}.state-directory{margin-top:15px}}
@media(max-width:520px){.state-route-heading h2{font-size:23px}.state-route-heading p{font-size:11px}.state-route-card{padding:17px}.state-route-selects{grid-template-columns:1fr 1fr}.state-directory-links{gap:5px 10px}.state-directory-links button{font-size:10px}}

.state-route-left{min-width:0}
.state-route-heading{margin:0 0 16px;min-height:0}
.state-route-card{margin-top:0}
@media(max-width:900px){.state-route-heading{margin-bottom:12px}}

.superior-us-map .state-callout-label{font-size:9px;text-anchor:start}

/* V67: high-contrast route selectors — selected city/state stays readable */
.state-route-card select,.state-route-card select:focus,.state-route-card select:active{color:#fff!important;-webkit-text-fill-color:#fff!important;background-color:#193759!important;border-color:#49698d!important;opacity:1!important;text-shadow:none!important;color-scheme:dark}
.state-route-card select option{color:#f7fbff!important;background:#102844!important}
.state-route-card select option:checked{color:#fff!important;background:#24527e!important}
.state-route-card select:focus-visible{outline:2px solid #ffbd22!important;outline-offset:2px}
.state-route-card{animation:routeCardEnter .7s cubic-bezier(.2,.75,.25,1) both}
@keyframes routeCardEnter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.state-route-card{animation:none}}

/* V67: animated route path and moving route marker */
.superior-us-map .route-connector{stroke-dasharray:5 8;animation:routeDashFlow 2.2s linear infinite}
@keyframes routeDashFlow{to{stroke-dashoffset:-52}}
@media(prefers-reduced-motion:reduce){.superior-us-map .route-connector{animation:none}}
