.map-page {
  --map-card: rgba(8, 20, 46, 0.72);
  --map-line: rgba(255, 255, 255, 0.11);
  --map-soft: rgba(174, 185, 210, 0.78);

  background:
    radial-gradient(
      circle at 50% 7%,
      rgba(3, 215, 202, 0.10),
      transparent 34rem
    ),
    radial-gradient(
      circle at 82% 28%,
      rgba(8, 121, 255, 0.13),
      transparent 32rem
    ),
    #020617;
}

.map-main {
  overflow: hidden;
}

.map-shell {
  width: min(var(--rumapa-semantic-max), calc(100% - var(--rumapa-semantic-gutter)));
  margin-inline: auto;
}

.map-hero {
  position: relative;
  padding: 150px 0 90px;
}

.map-hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(3, 215, 202, 0.08);
  filter: blur(90px);
  pointer-events: none;
}

.map-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.04fr)
    minmax(360px, 0.96fr);
  gap: 70px;
  align-items: center;
}

.map-eyebrow,
.map-kicker {
  margin: 0 0 16px;
  color: #03d7ca;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.map-gradient {
  display: block;
  margin-top: 8px;
  color: transparent;
  background:
    linear-gradient(
      100deg,
      #03d7ca 0%,
      #0879ff 50%,
      #a36bff 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.map-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #aeb9d2;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.map-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #f7f9ff;
  background: rgba(255,255,255,.055);
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 240ms cubic-bezier(.16,1,.3,1),
    border-color 240ms cubic-bezier(.16,1,.3,1),
    background 240ms cubic-bezier(.16,1,.3,1);
}

.map-button:hover {
  transform: translateY(-2px);
  border-color: rgba(3,215,202,.38);
  background: rgba(255,255,255,.085);
}

.map-button-primary {
  border-color: transparent;
  background: linear-gradient(100deg, #0879ff, #8b42ff);
}

.map-hero-visual {
  position: relative;
  min-height: 610px;
}

.map-phone-glow {
  position: absolute;
  inset: 12% 3% 4%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(3,215,202,.19),
      rgba(8,121,255,.14) 37%,
      rgba(139,66,255,.08) 57%,
      transparent 73%
    );
  filter: blur(35px);
}

.map-phone {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 390px);
  margin: 0 auto;
  filter:
    drop-shadow(0 38px 70px rgba(0,0,0,.44));
}

.map-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.map-context-card {
  position: absolute;
  z-index: 3;
  right: -12px;
  bottom: 72px;
  width: min(330px, 78%);
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(4,15,37,.87);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}

.map-context-label {
  display: block;
  margin-bottom: 8px;
  color: #03d7ca;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-context-card p {
  margin: 0;
  color: #f7f9ff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.map-intro {
  padding: 30px 0 110px;
}

.map-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.map-intro-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--map-line);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );
}

.map-intro-card strong {
  display: block;
  margin-bottom: 14px;
  color: #f7f9ff;
  font-size: 20px;
}

.map-intro-card p {
  margin: 0;
  color: #aeb9d2;
  line-height: 1.65;
}

.map-story {
  padding: 104px 0;
  border-top: 1px solid rgba(255,255,255,.075);
}

.map-story-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .78fr)
    minmax(0, 1.22fr);
  gap: 86px;
  align-items: start;
}

.map-number {
  display: block;
  margin: 0 0 22px;
  color: rgba(122,145,194,.30);
  font-size: clamp(72px, 7vw, 108px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.055em;
  user-select: none;
}

.map-story h2 {
  max-width: 620px;
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.map-story-copy {
  padding-top: 96px;
}

.map-story-copy > p {
  max-width: 700px;
  margin: 0;
  color: #aeb9d2;
  font-size: 18px;
  line-height: 1.75;
}

.map-example,
.map-principle {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--map-line);
  border-radius: 24px;
  background: var(--map-card);
}

.map-example strong,
.map-principle strong {
  display: block;
  margin-bottom: 8px;
  color: #f7f9ff;
  font-size: 18px;
}

.map-example p,
.map-principle p {
  margin: 0;
  color: #aeb9d2;
  line-height: 1.65;
}

.map-universe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.map-universe-item {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border: 1px solid var(--map-line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  color: #f7f9ff;
  font-weight: 700;
}

.map-next {
  padding: 110px 0;
}

.map-next-card {
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 36px;
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(139,66,255,.16),
      transparent 26rem
    ),
    radial-gradient(
      circle at 16% 82%,
      rgba(3,215,202,.11),
      transparent 25rem
    ),
    rgba(6,19,45,.82);
}

.map-next-card h2 {
  max-width: 780px;
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.045em;
}

.map-next-card > p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #aeb9d2;
  font-size: 18px;
  line-height: 1.7;
}

.map-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 980px) {
  .map-hero-grid,
  .map-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-hero {
    padding-top: 128px;
  }

  .map-hero-visual {
    min-height: 560px;
  }

  .map-story-copy {
    padding-top: 0;
  }

  .map-intro-grid {
    grid-template-columns: 1fr;
  }

  .map-universe {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .map-shell {
    width: min(100% - 28px, 1180px);
  }

  .map-hero {
    padding: 112px 0 58px;
  }

  .map-hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .map-lead {
    font-size: 17px;
  }

  .map-hero-visual {
    min-height: 500px;
  }

  .map-context-card {
    right: 0;
    bottom: 42px;
    width: 86%;
  }

  .map-intro {
    padding-bottom: 72px;
  }

  .map-story {
    padding: 74px 0;
  }

  .map-number {
    margin-bottom: 16px;
    font-size: clamp(58px, 18vw, 76px);
  }

  .map-story h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .map-story-copy > p {
    font-size: 16px;
  }

  .map-universe {
    grid-template-columns: 1fr 1fr;
  }

  .map-next {
    padding: 78px 0;
  }

  .map-next-card {
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-page *,
  .map-page *::before,
  .map-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Standalone Map page: content remains visible without Home reveal JS. */
.map-story,
.map-story-copy,
.map-story-visual {
  opacity: 1;
  filter: none;
}

.map-story {
  transform: none;
}

.map-story-copy,
.map-story-visual {
  transform: none;
}

/* RUMAPA Map Premium Open Layout V1 */

.map-page .map-story {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 96px 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.map-page .map-story::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -6%;
  width: min(54vw, 620px);
  aspect-ratio: 1.55;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: .14;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      ellipse at center,
      rgba(43, 143, 255, .26) 0 1px,
      transparent 2px 24px
    );
  mask-image:
    radial-gradient(
      ellipse at center,
      #000 0%,
      rgba(0,0,0,.72) 38%,
      transparent 74%
    );
  -webkit-mask-image:
    radial-gradient(
      ellipse at center,
      #000 0%,
      rgba(0,0,0,.72) 38%,
      transparent 74%
    );
}

.map-page .map-story:nth-of-type(even)::after {
  right: auto;
  left: 43%;
  opacity: .09;
}

.map-page .map-story-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.map-page .map-story-copy {
  width: 100%;
  max-width: 760px;
  padding-top: 0;
}

.map-page .map-story h2 {
  max-width: 700px;
}

.map-page .map-story-copy > p {
  max-width: 680px;
}

.map-page .map-number {
  margin-bottom: 24px;
}

.map-page .map-example,
.map-page .map-principle {
  max-width: 560px;
}

.map-page .map-universe {
  max-width: 760px;
}

.map-page .map-story,
.map-page .map-story-copy,
.map-page .map-story-visual {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (min-width: 901px) {
  .map-page .map-story:nth-of-type(2),
  .map-page .map-story:nth-of-type(3),
  .map-page .map-story:nth-of-type(4) {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .map-page .map-story:nth-of-type(5),
  .map-page .map-story:nth-of-type(6) {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .map-page .map-story:nth-of-type(7) {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

@media (max-width: 900px) {
  .map-page .map-story {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .map-page .map-story::after {
    right: -18%;
    width: min(80vw, 560px);
    opacity: .09;
  }

  .map-page .map-story:nth-of-type(even)::after {
    left: 30%;
  }
}

@media (max-width: 640px) {
  .map-page .map-story {
    width: calc(100% - 32px);
    padding: 56px 0;
  }

  .map-page .map-story::after {
    right: -34%;
    width: 92vw;
    opacity: .07;
  }

  .map-page .map-story:nth-of-type(even)::after {
    left: 24%;
  }

  .map-page .map-number {
    margin-bottom: 18px;
  }
}

/* RUMAPA Map Premium Story System V1 */

.map-page .map-story-premium {
  padding-top: 92px;
  padding-bottom: 92px;
}

.map-page .map-premium-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(64px, 8vw, 120px);
  align-items: center;
}

.map-page .map-premium-content {
  min-width: 0;
}

.map-page .map-premium-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.map-page .map-premium-heading .map-number {
  margin: 0 0 14px;
}

.map-page .map-premium-kicker {
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(92, 196, 255, .82);
}

.map-page .map-premium-heading h2 {
  max-width: 540px;
  margin: 0;
}

.map-page .map-premium-content .map-story-copy {
  max-width: 560px;
  margin-top: 22px;
}

.map-page .map-premium-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-page .map-radar {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1.28;
}

.map-page .map-radar::before {
  content: "";
  position: absolute;
  inset: 4% 2%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 149, 255, .10),
      rgba(0, 149, 255, .025) 42%,
      transparent 70%
    );
  filter: blur(8px);
}

.map-page .map-radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(30, 153, 255, .28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 28px rgba(0, 137, 255, .025),
    inset 0 0 24px rgba(0, 137, 255, .018);
}

.map-page .map-radar-ring-1 {
  width: 22%;
  aspect-ratio: 1;
}

.map-page .map-radar-ring-2 {
  width: 43%;
  aspect-ratio: 1;
}

.map-page .map-radar-ring-3 {
  width: 66%;
  aspect-ratio: 1;
}

.map-page .map-radar-ring-4 {
  width: 90%;
  aspect-ratio: 1;
  opacity: .62;
}

.map-page .map-radar-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #087fff;
  box-shadow:
    0 0 0 11px rgba(0, 132, 255, .15),
    0 0 38px rgba(0, 153, 255, .55);
}

.map-page .map-you-are-here,
.map-page .map-node,
.map-page .map-nearby-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(95, 168, 255, .24);
  border-radius: 999px;
  background: rgba(4, 15, 37, .88);
  box-shadow:
    0 12px 32px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(241, 247, 255, .92);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.map-page .map-you-are-here {
  left: 52%;
  top: 34%;
  color: #fff;
  border-color: rgba(41, 162, 255, .42);
}

.map-page .map-node::before,
.map-page .map-nearby-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #168cff;
  box-shadow: 0 0 14px rgba(22, 140, 255, .72);
}

.map-page .map-node-a {
  left: 14%;
  top: 26%;
}

.map-page .map-node-b {
  right: 5%;
  top: 27%;
}

.map-page .map-node-c {
  right: 1%;
  bottom: 24%;
}

.map-page .map-node-d {
  left: 17%;
  bottom: 20%;
}

.map-page .map-node-b::before,
.map-page .map-nearby-shops::before {
  background: #8757ff;
  box-shadow: 0 0 14px rgba(135, 87, 255, .72);
}

.map-page .map-node-c::before {
  background: #24c6b5;
  box-shadow: 0 0 14px rgba(36, 198, 181, .62);
}

.map-page .map-node-d::before,
.map-page .map-nearby-parks::before {
  background: #32c789;
  box-shadow: 0 0 14px rgba(50, 199, 137, .62);
}

.map-page .map-nearby-cafe {
  left: 7%;
  top: 22%;
}

.map-page .map-nearby-restaurants {
  left: 1%;
  bottom: 19%;
}

.map-page .map-nearby-shops {
  right: 1%;
  top: 25%;
}

.map-page .map-nearby-parks {
  right: 4%;
  bottom: 18%;
}

.map-page .map-story-premium::after {
  width: min(48vw, 590px);
  right: 0;
  opacity: .07;
}

@media (max-width: 980px) {
  .map-page .map-premium-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .map-page .map-premium-content,
  .map-page .map-premium-heading h2,
  .map-page .map-premium-content .map-story-copy {
    max-width: 720px;
  }

  .map-page .map-premium-visual {
    min-height: 390px;
  }

  .map-page .map-radar {
    width: min(100%, 580px);
  }
}

@media (max-width: 640px) {
  .map-page .map-story-premium {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .map-page .map-premium-grid {
    gap: 30px;
  }

  .map-page .map-premium-kicker {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .map-page .map-premium-visual {
    min-height: 320px;
  }

  .map-page .map-radar {
    width: 100%;
  }

  .map-page .map-you-are-here,
  .map-page .map-node,
  .map-page .map-nearby-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }

  .map-page .map-node-a,
  .map-page .map-nearby-cafe {
    left: 1%;
  }

  .map-page .map-node-b,
  .map-page .map-nearby-shops {
    right: 0;
  }

  .map-page .map-node-c,
  .map-page .map-nearby-parks {
    right: 0;
  }

  .map-page .map-node-d,
  .map-page .map-nearby-restaurants {
    left: 1%;
  }
}

/* RUMAPA Map Premium Outer Grid Fix */

.map-page .map-story.map-story-premium {
  display: block;
  grid-template-columns: none;
}

.map-page .map-story.map-story-premium > .map-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* RUMAPA Map Premium Visuals 03-07 */

/* 03 — EXPLORE ANOTHER AREA */

.map-page .map-area-stage {
  position: relative;
  width: min(100%, 560px);
  height: 360px;
  margin-inline: auto;
}

.map-page .map-area-stage::before,
.map-page .map-area-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 153, 255, .16);
  border-radius: 50%;
}

.map-page .map-area-stage::before {
  width: 230px;
  height: 230px;
  left: 0;
  top: 64px;
  box-shadow:
    0 0 0 38px rgba(30, 153, 255, .018),
    0 0 0 76px rgba(30, 153, 255, .012);
}

.map-page .map-area-stage::after {
  width: 250px;
  height: 250px;
  right: 0;
  top: 44px;
  border-color: rgba(78, 104, 255, .19);
  box-shadow:
    0 0 0 40px rgba(83, 72, 255, .018),
    0 0 0 80px rgba(83, 72, 255, .01);
}

.map-page .map-area-point {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: rgba(237, 244, 255, .92);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.map-page .map-area-origin {
  left: 88px;
  top: 146px;
}

.map-page .map-area-destination {
  right: 85px;
  top: 134px;
}

.map-page .map-area-dot {
  width: 18px;
  height: 18px;
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #087fff;
  box-shadow:
    0 0 0 12px rgba(0, 132, 255, .13),
    0 0 34px rgba(0, 143, 255, .42);
}

.map-page .map-area-target {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(88, 117, 255, .5);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(81, 89, 255, .055),
    0 0 32px rgba(80, 90, 255, .18);
}

.map-page .map-area-target span {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #735cff;
  box-shadow: 0 0 22px rgba(115, 92, 255, .7);
}

.map-page .map-area-route {
  position: absolute;
  z-index: 3;
  left: 38%;
  right: 37%;
  top: 169px;
  display: flex;
  align-items: center;
}

.map-page .map-area-route-line {
  width: 100%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(18, 143, 255, .25),
      rgba(72, 167, 255, .9),
      rgba(114, 88, 255, .75)
    );
  box-shadow: 0 0 14px rgba(40, 143, 255, .22);
}

.map-page .map-area-route-arrow {
  margin-left: -2px;
  color: #718dff;
  font-size: 23px;
  line-height: 1;
}


/* 04 — FLEXIBLE RADIUS */

.map-page .map-radius-stage {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.map-page .map-radius-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(30, 153, 255, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-page .map-radius-circle-1 {
  width: 25%;
  aspect-ratio: 1;
}

.map-page .map-radius-circle-2 {
  width: 47%;
  aspect-ratio: 1;
}

.map-page .map-radius-circle-3 {
  width: 70%;
  aspect-ratio: 1;
}

.map-page .map-radius-circle-4 {
  width: 94%;
  aspect-ratio: 1;
  opacity: .7;
}

.map-page .map-radius-center {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #087fff;
  box-shadow:
    0 0 0 12px rgba(0,132,255,.13),
    0 0 36px rgba(0,143,255,.5);
}

.map-page .map-radius-label {
  position: absolute;
  z-index: 5;
  min-width: 60px;
  padding: 8px 12px;
  border: 1px solid rgba(82, 160, 255, .25);
  border-radius: 999px;
  background: rgba(4, 15, 37, .9);
  color: rgba(239, 246, 255, .9);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

.map-page .map-radius-5 {
  left: 54%;
  top: 38%;
}

.map-page .map-radius-10 {
  left: 65%;
  top: 29%;
}

.map-page .map-radius-25 {
  left: 75%;
  top: 18%;
}

.map-page .map-radius-50 {
  right: -1%;
  top: 7%;
}


/* 05 — LOCAL LIFE */

.map-page .map-life-stage {
  position: relative;
  width: min(100%, 540px);
  height: 430px;
  margin-inline: auto;
}

.map-page .map-life-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(30,153,255,.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-page .map-life-orbit-1 {
  width: 250px;
  height: 250px;
}

.map-page .map-life-orbit-2 {
  width: 410px;
  height: 350px;
  opacity: .72;
}

.map-page .map-life-center {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(38, 157, 255, .38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(18,127,255,.18), rgba(5,19,45,.94) 70%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 0 0 15px rgba(0, 132, 255, .035),
    0 0 44px rgba(0, 125, 255, .14);
}

.map-page .map-life-node {
  position: absolute;
  z-index: 5;
  padding: 8px 13px;
  border: 1px solid rgba(86, 157, 255, .22);
  border-radius: 999px;
  background: rgba(4, 15, 37, .88);
  color: rgba(235,243,255,.9);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.map-page .map-life-node-1 { left: 10%; top: 12%; }
.map-page .map-life-node-2 { left: 42%; top: 4%; }
.map-page .map-life-node-3 { right: 5%; top: 19%; }
.map-page .map-life-node-4 { right: 0; top: 48%; }
.map-page .map-life-node-5 { right: 12%; bottom: 10%; }
.map-page .map-life-node-6 { left: 38%; bottom: 2%; }
.map-page .map-life-node-7 { left: 5%; bottom: 18%; }
.map-page .map-life-node-8 { left: 0; top: 42%; }


/* 06 — AI SEARCH TO MAP */

.map-page .map-ai-stage {
  width: min(100%, 520px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  align-items: center;
}

.map-page .map-ai-query,
.map-page .map-ai-result {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(74, 150, 255, .22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(8, 25, 55, .84), rgba(3, 13, 33, .92));
  box-shadow:
    0 18px 50px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.map-page .map-ai-query {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.map-page .map-ai-label,
.map-page .map-ai-result span {
  color: #3fc9e8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.map-page .map-ai-query strong,
.map-page .map-ai-result strong {
  color: #f4f7ff;
  font-size: 15px;
  line-height: 1.4;
}

.map-page .map-ai-flow {
  position: relative;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      rgba(28,151,255,.18),
      rgba(28,151,255,.85),
      rgba(107,86,255,.72)
    );
}

.map-page .map-ai-flow span {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #2e9cff;
  box-shadow: 0 0 13px rgba(46,156,255,.72);
}

.map-page .map-ai-flow span:nth-child(1) { left: 16%; }
.map-page .map-ai-flow span:nth-child(2) { left: 48%; }
.map-page .map-ai-flow span:nth-child(3) { left: 80%; }

.map-page .map-ai-result {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-page .map-ai-result div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-page .map-ai-pin {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 8px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #087fff;
  box-shadow:
    0 0 0 10px rgba(0,132,255,.1),
    0 0 28px rgba(0,143,255,.35);
}


/* 07 — USER CONTROL */

.map-page .map-control-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 360px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-page .map-control-stage::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(30,153,255,.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(30,153,255,.012),
    0 0 0 84px rgba(30,153,255,.008);
}

.map-page .map-control-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 13px;
}

.map-page .map-control-dot {
  width: 20px;
  height: 20px;
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #087fff;
  box-shadow:
    0 0 0 12px rgba(0,132,255,.13),
    0 0 36px rgba(0,143,255,.46);
}

.map-page .map-control-options {
  position: relative;
  z-index: 4;
  width: 100%;
}

.map-page .map-control-options span {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid rgba(82,158,255,.23);
  border-radius: 999px;
  background: rgba(4,15,37,.9);
  color: rgba(239,246,255,.9);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.map-page .map-control-options span:nth-child(1) {
  left: 5%;
  top: -92px;
}

.map-page .map-control-options span:nth-child(2) {
  right: 3%;
  top: -60px;
}

.map-page .map-control-options span:nth-child(3) {
  left: 12%;
  top: 55px;
}

.map-page .map-control-caption {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 52px;
  color: rgba(91, 197, 255, .84);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* RESPONSIVE 03-07 */

@media (max-width: 640px) {
  .map-page .map-area-stage,
  .map-page .map-control-stage {
    transform: scale(.88);
    transform-origin: center;
  }

  .map-page .map-radius-stage {
    width: min(100%, 390px);
  }

  .map-page .map-life-stage {
    transform: scale(.86);
    transform-origin: center;
  }

  .map-page .map-ai-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-page .map-ai-flow {
    width: 2px;
    height: 42px;
    margin-inline: auto;
    background:
      linear-gradient(
        180deg,
        rgba(28,151,255,.18),
        rgba(28,151,255,.85),
        rgba(107,86,255,.72)
      );
  }

  .map-page .map-ai-flow span {
    left: 50% !important;
    top: auto;
    transform: translateX(-50%);
  }

  .map-page .map-ai-flow span:nth-child(1) { top: 8%; }
  .map-page .map-ai-flow span:nth-child(2) { top: 45%; }
  .map-page .map-ai-flow span:nth-child(3) { top: 82%; }
}

/* RUMAPA Map Control Caption Localization Fix */

.map-page .map-story-control .map-control-caption {
  bottom: 24px;
  max-width: 72%;
  text-align: right;
  line-height: 1.35;
}
