@import url("https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

.location-page {
  --loc-green: #176b46;
  --loc-green-dark: #174832;
  --loc-soft: #edf7ed;
  --loc-ink: #20372b;
  --loc-muted: #66766b;
  --loc-line: #e1eae2;
  color: var(--loc-ink);
  font-family: "Noto Sans KR", "Gowun Dodum", sans-serif;
  line-height: 1.75;
  overflow: hidden;
}
.location-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.location-hero {
  background: radial-gradient(circle at 83% 28%, rgba(255,226,143,.42), transparent 23%),
    linear-gradient(130deg, #f2f9ef 0%, #f9fbf4 54%, #e7f4e8 100%);
}
.location-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 440px;
  padding-block: 58px 48px;
}
.location-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--loc-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.location-eyebrow i { width: 8px; height: 8px; background: #edb94b; border-radius: 50%; }
.location-hero h1 {
  margin: 18px 0 15px;
  color: #1d3c2b;
  font-size: clamp(36px, 4.1vw, 51px);
  line-height: 1.3;
  letter-spacing: -.05em;
  font-weight: 800;
}
.location-hero h1 em { color: var(--loc-green); font-style: normal; }
.location-hero__text > p { max-width: 470px; margin: 0 0 26px; color: var(--loc-muted); font-size: 16px; line-height: 1.9; }
.location-primary-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 20px; border-radius: 9px;
  color: #fff; background: var(--loc-green); text-decoration: none; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(23,107,70,.16); transition: transform .2s ease, background .2s ease;
}
.location-primary-btn:hover { background: var(--loc-green-dark); transform: translateY(-2px); }

.location-hero__visual { position: relative; height: 310px; isolation: isolate; }
.map-blob { position: absolute; inset: 10px 25px 5px 25px; background: #dcefdc; border-radius: 44% 56% 52% 48% / 51% 41% 59% 49%; transform: rotate(-5deg); }
.map-road { position: absolute; z-index: 1; background: #fffdf5; border: 1px solid #e5e8d7; border-radius: 30px; }
.map-road--one { width: 115%; height: 38px; left: -8%; top: 48%; transform: rotate(-19deg); }
.map-road--two { width: 38px; height: 120%; top: -10%; left: 48%; transform: rotate(24deg); }
.map-road--three { width: 80%; height: 22px; left: 12%; top: 27%; transform: rotate(37deg); }
.map-park { position: absolute; z-index: 2; border-radius: 16px; background: #b5dcb6; color: #4b8559; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.map-park--one { width: 74px; height: 55px; left: 8%; top: 12%; }
.map-park--two { width: 60px; height: 43px; right: 7%; bottom: 14%; background: #c8e5c5; }
.map-water { position: absolute; z-index: 0; right: 4%; top: 7%; width: 66px; height: 95px; border-radius: 60% 40% 55% 45%; background: #c9e8ed; transform: rotate(24deg); }
.map-pin { position: absolute; z-index: 4; left: 43%; top: 29%; display: flex; flex-direction: column; align-items: center; }
.pin-head { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50% 50% 50% 12%; transform: rotate(-45deg); background: var(--loc-green); color: #fff; font-size: 28px; box-shadow: 0 8px 18px rgba(28,91,56,.24); }
.pin-label { margin-top: 14px; padding: 7px 12px; border-radius: 7px; white-space: nowrap; background: #fff; color: #315b41; font-size: 12px; font-weight: 800; box-shadow: 0 5px 15px rgba(31,72,41,.1); }
.map-mini-card { position: absolute; z-index: 5; right: 0; bottom: 0; display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 10px; padding: 13px 17px; border: 1px solid #fff; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 9px 25px rgba(40,77,46,.1); }
.map-mini-card > span { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e4f4e6; color: var(--loc-green); font-size: 20px; }
.map-mini-card b { color: #294b35; font-size: 13px; }
.map-mini-card small { color: #7a897d; font-size: 10px; }

.location-section { padding: 82px 0; }
.location-section--soft { background: #f6f9f3; }
.location-section-heading { text-align: center; margin: 0 auto 37px; }
.location-section-heading h2 { margin: 9px 0 6px; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; color: #1d3d2c; }
.location-section-heading p { margin: 0; color: var(--loc-muted); font-size: 15px; }
.location-info-layout { display: grid; grid-template-columns: 1.06fr .94fr; gap: 24px; align-items: stretch; }
.location-map-panel { overflow: hidden; border: 1px solid var(--loc-line); border-radius: 17px; background: #fff; }
.map-panel-top { display: flex; align-items: center; gap: 12px; padding: 19px 22px; border-bottom: 1px solid #edf1eb; }
.map-panel-marker { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e6f4e8; color: var(--loc-green); font-size: 24px; }
.map-panel-top strong, .map-panel-top small { display: block; }
.map-panel-top strong { font-size: 16px; }
.map-panel-top small { color: #849187; font-size: 12px; }
.illustrated-map { height: 305px; position: relative; overflow: hidden; background: #f1f4e9; }
.illustrated-map__grid { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(#d6e0cf 1px, transparent 1px), linear-gradient(90deg, #d6e0cf 1px, transparent 1px); background-size: 32px 32px; }
.illustrated-map__road { position: absolute; z-index: 1; background: #fffdf8; border: 1px solid #e4e7d9; border-radius: 30px; }
.illustrated-map__road--h { width: 120%; height: 37px; left: -10%; top: 50%; transform: rotate(-14deg); }
.illustrated-map__road--v { width: 37px; height: 130%; left: 55%; top: -15%; transform: rotate(15deg); }
.illustrated-map__road--d { width: 75%; height: 20px; left: 10%; top: 25%; transform: rotate(35deg); }
.illustrated-map__park { position: absolute; z-index: 2; display: grid; place-items: center; width: 80px; height: 65px; border-radius: 17px; background: #c7e3bf; color: #4c8353; font-size: 11px; }
.illustrated-map__park--a { left: 8%; top: 10%; }
.illustrated-map__park--a span { font-size: 21px; }
.illustrated-map__park--b { right: 5%; bottom: 10%; width: 70px; height: 54px; background: #d7e9c9; }
.illustrated-map__block { position: absolute; z-index: 2; width: 46px; height: 36px; border-radius: 7px; background: #e8d9c3; border: 2px solid #fff8ec; }
.block-a { left: 33%; top: 12%; }
.block-b { right: 23%; top: 20%; background: #d9e4ed; }
.block-c { left: 19%; bottom: 18%; }
.block-d { right: 18%; bottom: 22%; background: #e5dbee; }
.illustrated-map__station { position: absolute; z-index: 3; left: 10%; bottom: 13%; display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 8px; background: #fff; color: #566a5b; box-shadow: 0 3px 10px #294a3817; font-size: 11px; }
.illustrated-map__destination { position: absolute; z-index: 4; left: 48%; top: 32%; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--loc-green); }
.illustrated-map__destination span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50% 50% 50% 12%; transform: rotate(-45deg); background: var(--loc-green); color: #fff; font-size: 25px; box-shadow: 0 6px 15px #176b4633; }
.illustrated-map__destination b { padding: 5px 9px; border-radius: 6px; background: #fff; box-shadow: 0 3px 8px #294a3817; font-size: 11px; white-space: nowrap; }
.map-demo-notice { position: absolute; z-index: 5; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 4px 8px; border-radius: 5px; background: rgba(255,255,255,.9); color: #7b857c; font-size: 10px; white-space: nowrap; }
.map-panel-caption { margin: 0; padding: 13px 18px; color: #77857a; font-size: 12px; border-top: 1px solid #edf1eb; }
.location-details { display: flex; flex-direction: column; gap: 12px; }
.detail-card { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid var(--loc-line); border-radius: 14px; background: #fff; }
.detail-icon { flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; font-size: 23px; }
.detail-icon--green { color: #317b4d; background: #e4f4e7; }
.detail-icon--yellow { color: #b4831e; background: #fff2d0; }
.detail-icon--peach { color: #bc7659; background: #ffebe2; }
.detail-content h3 { margin: 0 0 4px; font-size: 15px; }
.detail-content p { margin: 0 0 3px; color: #53675a; font-size: 14px; }
.detail-content small { color: #89948b; font-size: 11px; }
.map-service-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 10px 0 0; }
.map-service-links p { flex-basis: 100%; margin: 0 0 2px; color: #68786d; font-size: 12px; }
.map-service-links a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #dce8dd; border-radius: 8px; color: #276442; background: #f9fcf8; text-decoration: none; font-size: 12px; font-weight: 700; }
.map-service-links a:hover { background: #eaf5eb; }

.transport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.transport-card { display: flex; gap: 15px; align-items: flex-start; min-height: 180px; padding: 23px 19px; border: 1px solid #e2eae0; border-radius: 16px; background: #fff; }
.transport-icon { flex: 0 0 49px; width: 49px; height: 49px; display: grid; place-items: center; border-radius: 15px; font-size: 24px; }
.transport-icon--subway { background: #e2f2e6; }
.transport-icon--bus { background: #fff1cd; color: #a47b21; }
.transport-icon--car { background: #eee9ff; color: #7768b4; }
.transport-copy h3 { margin: 1px 0 8px; font-size: 17px; }
.transport-copy p { margin: 0 0 10px; color: #596d60; font-size: 13px; line-height: 1.8; }
.transport-note { display: block; color: #89958b; font-size: 11px; line-height: 1.6; }

.location-contact { padding: 42px 0; color: #fff; background: linear-gradient(115deg, #176b46, #245f43); }
.location-contact__inner { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 21px; }
.location-contact__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #ffffff20; font-size: 28px; }
.location-contact__copy .location-eyebrow { color: #ccebd3; }
.location-contact__copy h2 { margin: 4px 0 4px; font-size: 25px; letter-spacing: -.04em; }
.location-contact__copy p { margin: 0; color: #d6e9dc; font-size: 13px; }
.location-contact__button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 19px; border-radius: 9px; color: #1d6542; background: #fff; text-decoration: none; font-size: 14px; font-weight: 800; white-space: nowrap; }
.location-contact__button:hover { background: #f1f8f1; }

@media (max-width: 900px) {
  .location-hero__inner { gap: 12px; }
  .location-hero__visual { transform: scale(.9); transform-origin: center; }
  .location-info-layout { grid-template-columns: 1fr; }
  .location-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-service-links { grid-column: 1 / -1; }
  .transport-grid { grid-template-columns: 1fr; }
  .transport-card { min-height: auto; }
}
@media (max-width: 650px) {
  .location-container { width: min(100% - 36px, 520px); }
  .location-hero__inner { grid-template-columns: 1fr; padding-block: 43px 16px; gap: 0; }
  .location-hero h1 { margin-top: 15px; font-size: clamp(34px, 9vw, 42px); }
  .location-hero__text > p { font-size: 14px; }
  .location-hero__visual { height: 245px; transform: scale(.84); margin: -5px 0 -20px; }
  .location-section { padding: 60px 0; }
  .location-section-heading { margin-bottom: 27px; }
  .location-section-heading p { font-size: 13px; }
  .location-details { grid-template-columns: 1fr; }
  .illustrated-map { height: 260px; }
  .detail-card { padding: 16px; }
  .transport-card { padding: 19px 16px; }
  .location-contact { padding: 34px 0; }
  .location-contact__inner { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .location-contact__icon { width: 46px; height: 46px; border-radius: 14px; font-size: 23px; }
  .location-contact__copy h2 { font-size: 21px; }
  .location-contact__copy p { font-size: 12px; }
  .location-contact__button { grid-column: 1 / -1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .location-primary-btn { transition: none; }
}
