/* Home page: "How to reach us" route map (Balanagar, JNTU, Miyapur, Gachibowli to Prakruthi Nivas). */
.reach-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .reach-grid { grid-template-columns: minmax(0, 1fr); } }

.reach-map { margin: 0; padding: clamp(12px, 2vw, 20px); background: linear-gradient(180deg, #F6FAF7, #fff);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.reach-map svg { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.reach-map figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; }

.rm-casing path { stroke: #fff; stroke-width: 16; }
.rm-r { stroke-width: 7; }
.rm-trunk { stroke: var(--green); stroke-width: 10; }
.rm-shared2 { stroke: #5F6F66; stroke-width: 8; }
.rm-r1 { stroke: #D9730D; } .rm-r2 { stroke: #1F5FA8; } .rm-r3 { stroke: #7A4BB0; } .rm-r4 { stroke: #B0306A; }

.rm-home rect { fill: #E4F2E7; stroke: var(--green); stroke-width: 2.5; }
.rm-house { stroke: var(--green-d); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rm-home-name { font: 700 19px/1 var(--head); fill: var(--green-d); }
.rm-home-sub { font: 600 13px/1 var(--font); fill: var(--muted); }

.rm-labels text, .rm-origins text.rm-l { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.rm-l { font: 600 15px/1 var(--font); fill: var(--ink); }
.rm-key { font-weight: 800; fill: var(--green-d); }
.rm-place { font: 700 16px/1 var(--head); fill: var(--teal-d, #0A4D5D); }
.rm-small { font: 600 12.5px/1 var(--font); fill: var(--muted); }
.rm-nh { font-weight: 800; fill: var(--green-d); letter-spacing: .04em; }

.rm-nodes circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.rm-nodes .rm-key-node { stroke: var(--green-d); stroke-width: 4; }
.rm-o circle { stroke: #fff; stroke-width: 3.5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.rm-o text { font: 800 15px/1 var(--head); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.rm-o1 circle { fill: #D9730D; } .rm-o2 circle { fill: #1F5FA8; } .rm-o3 circle { fill: #7A4BB0; } .rm-o4 circle { fill: #B0306A; }
.rm-compass circle { fill: #fff; stroke: var(--line); stroke-width: 2; }
.rm-compass path { fill: var(--green-d); }
.rm-compass text { font: 800 12px/1 var(--head); fill: var(--green-d); text-anchor: middle; }

.reach-routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.route { position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.route-top { display: flex; align-items: center; gap: 12px; }
.route-no { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c); color: #fff; font: 800 1rem/1 var(--head); }
.route h3 { margin: 0; font-size: 1.06rem; }
.route-meta { margin: 2px 0 0; font-size: .9rem; font-weight: 700; color: var(--c); }
.route-via { margin: 10px 0 8px; font-size: .94rem; color: var(--ink); line-height: 1.55; }
.route-via i { font-style: normal; color: var(--c); font-weight: 800; padding: 0 2px; }
.route-link { font-weight: 700; font-size: .92rem; color: var(--teal-d, #0A4D5D); }
.route-link::after { content: " \2197"; }
.reach-here { margin: 26px 0 0; text-align: center; }
