.route-section .section-heading { grid-template-columns: 1.3fr 1fr; }
.route-section .section-heading h2 { font-size: clamp(30px, 3.3vw, 48px); }
.route-story-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 45px; align-items: start; }
.route-map-sticky { position: sticky; top: 112px; }
.route-map-canvas {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 20px;
  max-width: calc(100svh - 160px); margin-inline: auto;
  border: 1px solid #8fcdc8; box-shadow: 0 20px 45px #07354b26;
  background: #08738d;
}
.route-map-canvas>img { width: 100%; height: 100%; object-fit: cover; }
.route-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff2a8; pointer-events: none; }
.map-leg { fill: none; stroke: #fff9d9c9; stroke-width: 3; stroke-dasharray: 8 9; transition: stroke .2s, stroke-width .2s; }
.map-leg.is-active { stroke: #ffe12f; stroke-width: 5; }
.route-pin {
  position: absolute; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 8px;
  color: #fff; cursor: pointer; z-index: 2;
}
.route-pin-number {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  background: #0c3c55; border: 2px solid #fff8; border-radius: 50%;
  box-shadow: 0 4px 12px #00304370; font-size: 14px; font-weight: 800;
  transition: transform .2s, background .2s;
}
.route-pin-label {
  position: absolute; left: 42px; white-space: nowrap; padding: 5px 8px;
  border-radius: 5px; background: #073448eb; font-size: 13px; font-weight: 800;
}
.route-pin[data-route-target="beach"] .route-pin-label,
.route-pin[data-route-target="monkeys"] .route-pin-label { left: auto; right: 42px; }
.route-pin[data-route-target="khram-yai"] .route-pin-label { left: auto; right: 42px; }
.route-pin[aria-pressed="true"] .route-pin-number {
  color: #073448; background: #ffe12f; border-color: #fff6a2; transform: scale(1.15);
  box-shadow: 0 0 0 7px #ffe12f33, 0 5px 18px #00304370;
}
.route-pin[aria-pressed="true"] .route-pin-label { background: #ffe12f; color: #073448; }
.route-map-hint { font-size: 13px; color: #355f6d; margin-top: 14px; line-height: 1.7; }
.route-story-stops { display: grid; gap: 28px; }
.route-story-stop {
  position: relative; overflow: visible; border-radius: 16px; border: 1px solid #bad6cf;
  background: #fffdf4; box-shadow: 0 8px 22px #0633450c;
  transition: border-color .2s, box-shadow .2s, transform .2s; scroll-margin-top: 115px;
}
.route-story-stop.is-active, .route-story-stop:hover {
  border-color: #279c9f; box-shadow: 0 12px 30px #09657526; transform: translateY(-2px);
}
.route-story-stop.is-active:after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #edcf21; pointer-events: none;
}
.route-stop-aerial {
  height: 240px; position: relative; overflow: hidden; border-radius: 15px 15px 0 0;
  background: #08738d;
}
.route-stop-aerial>img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.route-stop-aerial:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #032e42b3, transparent 45%); pointer-events: none; }
.route-story-number {
  position: absolute; top: 14px; left: 16px; z-index: 1; display: grid; place-items: center;
  width: 37px; height: 37px; background: #ffe23b; color: #103d50; border-radius: 50%;
  font: 600 18px/1 Oswald, sans-serif;
}
.route-stop-category { position: absolute; left: 20px; bottom: 14px; z-index: 1; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.route-story-copy { padding: 24px; }
.route-story-copy h3 { font: 600 29px/1.2 Oswald, sans-serif; color: #0b3c50; }
.route-story-copy h4 { margin: 12px 0 8px; font-size: 15px; color: #116776; }
.route-story-copy p { font-size: 15px; line-height: 1.75; color: #3a5f6b; }
.route-story-stop:not(:last-child):before {
  content: ''; position: absolute; bottom: -24px; left: 50%; height: 22px;
  border-left: 2px dashed #3b9eaa;
}
.route-story-stop:not(:last-child)>.route-story-copy:after {
  content: ''; position: absolute; bottom: -18px; left: calc(50% - 3px);
  width: 7px; height: 7px; border-right: 2px solid #3b9eaa;
  border-bottom: 2px solid #3b9eaa; transform: rotate(45deg);
}
@media (max-width: 1000px) {
  .route-story-layout { gap: 25px; }
  .route-story-copy { padding: 20px; }
  .route-map-sticky { top: 105px; }
  .route-pin-label { font-size: 10px; padding: 4px 6px; }
  .route-pin-number { width: 29px; height: 29px; font-size: 12px; }
}
@media (max-width: 760px) {
  .route-section .section-heading { display: block; }
  .route-section .section-heading h2 { font-size: 33px; }
  .route-story-layout { display: block; }
  .route-map-sticky { position: relative; top: auto; margin-bottom: 28px; }
  .route-map-canvas { border-radius: 13px; max-width: none; }
  .route-map-hint { font-size: 13px; }
  .route-story-stops { gap: 25px; }
  .route-story-copy { padding: 21px; }
  .route-story-copy h3 { font-size: 28px; }
  .route-story-copy p { font-size: 15px; }
  .route-stop-aerial { height: auto; aspect-ratio: 16 / 9; }
  .route-pin-label { font-size: 9px; padding: 4px 5px; }
  .route-pin-number { width: 28px; height: 28px; font-size: 12px; }
  .route-pin-label { left: 34px; }
  .route-pin[data-route-target="beach"] .route-pin-label,
  .route-pin[data-route-target="monkeys"] .route-pin-label,
  .route-pin[data-route-target="khram-yai"] .route-pin-label { right: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-story-stop, .route-pin-number, .map-leg { transition: none; }
}
