/* Fleet Services directory: scoped to fleet-services-locations.html. */
.fleet-locations-page {
  --fleet-red:#ed1c24;
  --fleet-navy:#102b45;
  --fleet-blue:#008fbe;
  --fleet-line:#c9d8e2;
  --fleet-soft:#f3f7fa;
}

.fleet-locations-overview {
  padding:clamp(42px,6vw,84px) 0;
  background:var(--fleet-soft);
}

.fleet-overview-grid {
  display:grid;
  grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);
  gap:clamp(30px,5vw,76px);
  align-items:center;
}

.fleet-overview-copy .eyebrow,
.fleet-directory-heading .eyebrow {
  color:var(--fleet-red);
}

.fleet-overview-copy h2,
.fleet-directory-heading h2 {
  max-width:10ch;
  color:var(--fleet-navy);
  font-size:clamp(3rem,5.2vw,5.5rem);
  line-height:.9;
}

.fleet-overview-copy>p:not(.eyebrow) {
  max-width:56ch;
  margin-top:22px;
  color:#4d6577;
  font-size:1.06rem;
  line-height:1.7;
}

.fleet-directory-heading h2 {
  max-width:20ch;
  margin-inline:auto;
}

.fleet-map-count {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:28px;
  color:var(--fleet-navy);
  font-size:.86rem;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.fleet-map-count::before,
.fleet-map-legend i {
  width:12px;
  height:12px;
  flex:none;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--fleet-red);
  box-shadow:0 0 0 3px rgba(237,28,36,.18);
}

.fleet-map-shell {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(16,43,69,.2);
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 46px rgba(16,43,69,.16);
}

.fleet-map-shell::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:450;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.72);
  border-radius:inherit;
}

#fleet-services-map {
  width:100%;
  height:clamp(430px,42vw,590px);
  background:radial-gradient(circle at 50% 40%, rgba(237,28,36,.2), #0b1722 72%);
}

.fleet-map-fallback {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:32px;
  color:#fff;
  text-align:center;
  background:
    radial-gradient(circle at 72% 30%, rgba(237,28,36,.24), transparent 26%),
    radial-gradient(circle at 25% 72%, rgba(0,143,190,.19), transparent 28%),
    #0b1722;
}

.fleet-map-fallback strong {
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:2.2rem;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.fleet-map-fallback span {
  max-width:42ch;
  color:rgba(255,255,255,.76);
  line-height:1.55;
}

#fleet-services-map.leaflet-container .fleet-map-fallback {
  display:none;
}

.fleet-map-shell .leaflet-control-zoom {
  overflow:hidden;
  border:1px solid rgba(16,43,69,.17);
  border-radius:10px;
  box-shadow:0 10px 24px rgba(16,43,69,.14);
}

.fleet-map-shell .leaflet-control-zoom a {
  width:34px;
  height:34px;
  border-bottom:1px solid rgba(16,43,69,.12);
  background:rgba(255,255,255,.94);
  color:var(--fleet-navy);
  line-height:32px;
}

.fleet-map-shell .leaflet-control-zoom a:hover {
  background:#ffe7e8;
  color:#b9141a;
}

.fleet-map-shell .leaflet-control-attribution {
  padding:3px 6px;
  border-radius:7px 0 0;
  background:rgba(16,43,69,.78);
  color:rgba(255,255,255,.72);
  font-size:9px;
}

.fleet-map-shell .leaflet-control-attribution a {
  color:#fff;
}

/* Keep the required map-provider text credit, without the Leaflet flag badge. */
.fleet-map-shell .leaflet-attribution-flag,
.fleet-map-shell .leaflet-control-attribution svg,
.fleet-map-shell .leaflet-control-attribution img {
  display:none !important;
  width:0 !important;
  height:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
}

.fleet-map-marker {
  background:transparent;
  border:0;
}

.fleet-map-marker__pulse,
.fleet-map-marker__core {
  position:absolute;
  border-radius:50%;
}

.fleet-map-marker__pulse {
  inset:-7px;
  background:rgba(237,28,36,.24);
  animation:fleet-map-pulse 2.5s ease-out infinite;
}

.fleet-map-marker__core {
  inset:0;
  border:2.5px solid rgba(255,255,255,.94);
  background:var(--fleet-red);
  box-shadow:0 0 0 3px rgba(237,28,36,.25),0 0 18px rgba(237,28,36,.65);
}

.fleet-map-popup .leaflet-popup-content-wrapper {
  overflow:hidden;
  border:1px solid rgba(16,43,69,.18);
  border-radius:14px;
  box-shadow:0 16px 34px rgba(16,43,69,.24);
}

.fleet-map-popup .leaflet-popup-content {
  width:230px !important;
  margin:0;
}

.fleet-map-popup__content {
  padding:18px;
  color:var(--fleet-navy);
  font-family:Arial,sans-serif;
}

.fleet-map-popup__content h3 {
  margin:0;
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:1.7rem;
  line-height:.95;
  text-transform:uppercase;
}

.fleet-map-popup__content p {
  margin:9px 0 14px;
  color:#4d6577;
  font-size:.82rem;
  line-height:1.45;
}

.fleet-map-popup__content a {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:7px;
  background:var(--fleet-red);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  text-decoration:none;
  text-transform:uppercase;
}

.fleet-map-popup__content a:hover {
  background:#bd1117;
}

.fleet-map-legend {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
  color:#4d6577;
  font-size:.86rem;
  font-weight:700;
}

.fleet-map-legend i {
  display:block;
}

.fleet-location-directory {
  padding-top:clamp(55px,8vw,105px);
}

.fleet-directory-heading {
  text-align:center;
  margin-bottom:clamp(38px,5vw,62px);
}

.fleet-state-group {
  padding:clamp(32px,4vw,52px) 0;
  border-top:1px solid var(--fleet-line);
}

.fleet-state-heading {
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:24px;
}

.fleet-state-heading .fleet-state-code {
  color:var(--fleet-red);
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:2.25rem;
  font-weight:700;
  letter-spacing:.05em;
  line-height:1;
}

.fleet-state-heading h2 {
  margin:0;
  color:var(--fleet-navy);
  font-size:clamp(2.1rem,3.3vw,3rem);
  line-height:.95;
}

.fleet-state-heading span:last-child {
  color:#718596;
  font-size:.85rem;
  font-weight:700;
}

.fleet-location-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.fleet-location-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(190px,.86fr);
  min-height:246px;
  overflow:hidden;
  border:1px solid var(--fleet-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(16,43,69,.06);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.fleet-location-card:hover,
.fleet-location-card:focus-within {
  border-color:rgba(237,28,36,.52);
  box-shadow:0 15px 32px rgba(16,43,69,.12);
  transform:translateY(-2px);
}

.fleet-location-content {
  display:flex;
  flex-direction:column;
  padding:25px 22px 22px;
}

.fleet-location-label {
  margin:0 0 10px;
  color:var(--fleet-red);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.fleet-location-content h3 {
  margin:0;
  color:var(--fleet-navy);
  font-size:clamp(2rem,2.8vw,2.55rem);
  line-height:.9;
}

.fleet-location-content address {
  margin-top:16px;
  color:#4d6577;
  font-size:.94rem;
  font-style:normal;
  line-height:1.55;
}

.fleet-mobile-badge {
  display:inline-flex;
  align-self:flex-start;
  margin-top:12px;
  padding:5px 8px;
  border-radius:999px;
  background:#fff0f1;
  color:#a11217;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.fleet-location-actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:auto;
  padding-top:20px;
}

.fleet-location-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 11px;
  border:1px solid #b8cad6;
  border-radius:7px;
  color:var(--fleet-navy);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.055em;
  text-decoration:none;
  text-transform:uppercase;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}

.fleet-location-actions a:first-child {
  border-color:var(--fleet-red);
  background:var(--fleet-red);
  color:#fff;
}

.fleet-location-actions a:first-child:hover,
.fleet-location-actions a:first-child:focus-visible {
  border-color:#bd1117;
  background:#bd1117;
  color:#fff;
}

.fleet-location-actions a:last-child:hover,
.fleet-location-actions a:last-child:focus-visible {
  border-color:var(--fleet-blue);
  background:#e8f7fc;
  color:#005d7e;
}

.fleet-location-map {
  min-height:100%;
  border-left:1px solid var(--fleet-line);
  background:#eaf1f5;
}

.fleet-location-map iframe {
  display:block;
  width:100%;
  height:100%;
  min-height:246px;
  border:0;
}

@keyframes fleet-map-pulse {
  0% { transform:scale(.85); opacity:.72; }
  100% { transform:scale(2.25); opacity:0; }
}

@media (max-width:1109px) {
  .fleet-overview-grid { grid-template-columns:1fr; }
  .fleet-overview-copy h2 { max-width:13ch; }
  .fleet-location-grid { grid-template-columns:1fr; }
}

@media (max-width:699px) {
  .fleet-locations-overview { padding-block:42px; }
  .fleet-state-heading { flex-wrap:wrap; gap:8px 12px; }
  .fleet-state-heading span:last-child { width:100%; margin-left:50px; }
  .fleet-location-card { grid-template-columns:1fr; }
  .fleet-location-card:hover { transform:none; }
  .fleet-location-map { min-height:220px; border-top:1px solid var(--fleet-line); border-left:0; }
  .fleet-location-map iframe { min-height:220px; }
  #fleet-services-map { height:390px; }
}

@media (max-width:380px) {
  .fleet-overview-copy h2,
  .fleet-directory-heading h2 { font-size:2.8rem; }
  .fleet-location-content { padding:22px 18px 19px; }
  .fleet-location-actions { display:grid; grid-template-columns:1fr; }
  .fleet-location-actions a { width:100%; }
  #fleet-services-map { height:350px; }
}

@media (max-height:540px) and (orientation:landscape) {
  #fleet-services-map { height:360px; }
}

@media (prefers-reduced-motion:reduce) {
  .fleet-map-marker__pulse { animation:none; }
  .fleet-location-card,
  .fleet-location-actions a { transition:none; }
}
