body[data-page="sede-torino"] .location-route {
  min-height: 460px;
  padding: clamp(24px, 3vw, 38px);
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(126, 177, 250, 0.22);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(67, 142, 255, 0.36), transparent 31%),
    radial-gradient(circle at 12% 92%, rgba(255, 105, 47, 0.15), transparent 29%),
    linear-gradient(135deg, #061a39 0%, #0a3f8d 66%, #0a5ebc 100%);
  box-shadow: 0 28px 70px rgba(6, 35, 82, 0.24);
}

body[data-page="sede-torino"] .location-route::before {
  width: 560px;
  height: 300px;
  left: -90px;
  top: 52%;
  border: 1px dashed rgba(154, 197, 255, 0.19);
  border-radius: 50%;
  transform: rotate(-14deg);
}

body[data-page="sede-torino"] .location-route::after {
  width: 320px;
  height: 540px;
  right: -120px;
  top: -180px;
  border: 1px solid rgba(200, 224, 255, 0.12);
  border-radius: 50%;
  transform: rotate(38deg);
}

.location-route > .map-pin { display: none; }

.location-route-road {
  position: absolute;
  z-index: 0;
  left: -8%;
  right: 25%;
  bottom: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #66a7ff 18%, #8bbdff 69%, #ff7a3f 100%);
  box-shadow: 0 0 20px rgba(75, 146, 248, 0.42);
  transform: rotate(-8deg);
}

.location-route-road::before,
.location-route-road::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 50%;
  border: 3px solid #0b3979;
  border-radius: 50%;
  background: #8bbdff;
  box-shadow: 0 0 0 5px rgba(127, 181, 255, 0.12), 0 0 20px rgba(127, 181, 255, 0.55);
  transform: translateY(-50%);
}

.location-route-road::before { left: 19%; }
.location-route-road::after {
  right: -2px;
  background: #ff7439;
  box-shadow: 0 0 0 5px rgba(255, 116, 57, 0.12), 0 0 20px rgba(255, 116, 57, 0.5);
}

.location-route-shell { position: relative; z-index: 2; }
.location-route-head { display: flex; align-items: center; gap: 15px; }

.location-route-marker {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px 16px 16px 5px;
  color: #fff;
  background: linear-gradient(145deg, #ff6a2b, #c4430a);
  box-shadow: 0 14px 30px rgba(122, 40, 4, 0.32);
}

.location-route-marker svg,
.location-route-geolocate svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-route-title small,
.location-route-title strong,
.location-route-title span { display: block; }

.location-route-title small {
  color: #8eb9f3;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.location-route-title strong {
  margin-top: 3px;
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.05;
}

.location-route-title span {
  margin-top: 5px;
  color: #bfd2ee;
  font-size: 12px;
}

.location-route-title .location-route-highway {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(83, 226, 183, 0.25);
  border-radius: 999px;
  color: #9ce7d0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(35, 178, 137, 0.1);
}

.location-route-form {
  margin-top: 26px;
  padding: clamp(19px, 2vw, 25px);
  border: 1px solid rgba(167, 201, 250, 0.18);
  border-radius: 18px;
  background: rgba(4, 24, 56, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 20px 45px rgba(0, 12, 38, 0.2);
  backdrop-filter: blur(13px);
}

.location-route-field > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #a9c5ed;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.location-route-origin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.location-route-origin input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(163, 199, 250, 0.25);
  border-radius: 12px;
  color: #10213f;
  outline: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 25px rgba(0, 15, 45, 0.17);
}

.location-route-origin input:focus {
  border-color: #72adff;
  box-shadow: 0 0 0 4px rgba(56, 133, 241, 0.2), 0 10px 25px rgba(0, 15, 45, 0.17);
}

.location-route-geolocate {
  min-width: 50px;
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151, 194, 255, 0.28);
  border-radius: 12px;
  color: #cfe1fb;
  background: rgba(35, 91, 168, 0.42);
}

.location-route-options {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.location-route-options label { position: relative; cursor: pointer; }
.location-route-options input { position: absolute; opacity: 0; pointer-events: none; }

.location-route-options span {
  min-height: 35px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(153, 192, 248, 0.2);
  border-radius: 999px;
  color: #afc9ed;
  font-size: 11px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.045);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.location-route-options input:checked + span {
  border-color: rgba(104, 168, 255, 0.65);
  color: #fff;
  background: rgba(26, 105, 216, 0.42);
}

.location-route-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 15px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(105deg, #c4430a, #f15b18);
  box-shadow: 0 15px 30px rgba(133, 43, 4, 0.3);
}

.location-route-submit:hover { filter: brightness(1.06); }

.location-route-links {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.location-route-links a {
  min-height: 38px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(162, 199, 250, 0.18);
  border-radius: 10px;
  color: #d5e5fb;
  font-size: 10px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.045);
}

.location-route-links a:hover { background: rgba(255, 255, 255, 0.09); }

.location-route-privacy,
.location-route-status {
  margin: 12px 0 0;
  color: #91aed6;
  font-size: 9px;
  line-height: 1.45;
}

.location-route-status:empty { display: none; }

@media (max-width: 860px) {
  body[data-page="sede-torino"] .location-route { min-height: 430px; }
}

@media (max-width: 560px) {
  body[data-page="sede-torino"] .location-route {
    min-height: 0;
    padding: 20px 15px;
    border-radius: 17px;
  }
  .location-route-origin { grid-template-columns: minmax(0, 1fr) 48px; }
  .location-route-links { grid-template-columns: 1fr; }
  .location-route-links a { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .location-route-options span { transition: none; }
}
