:root {
  --ink: #171923;
  --muted: #606b7c;
  --line: #dde5ef;
  --soft: #f4f7fb;
  --blue: #25449a;
  --orange: #ff7417;
  --green: #0c987b;
  --panel: #ffffff;
  --shadow: 0 14px 36px rgba(26, 38, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif;
  background: #fff;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #835314;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 52% 32%, #fff5c8 0 20%, transparent 21%),
    linear-gradient(135deg, #f1b448, #8cc7a0 55%, #25449a);
}

.top-nav {
  display: flex;
  gap: 24px;
  color: #333c49;
  font-size: 15px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 54px;
  align-items: center;
  min-height: 680px;
  padding: 72px 6vw 58px;
  background: linear-gradient(180deg, #edf5ff 0%, #fff 64%);
}

.hero-copy {
  max-width: 760px;
}

.notice,
.eyebrow,
.result-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.12;
}

.hero p,
.section-heading p,
.result-box p,
.benefit-grid p,
.situation-grid p,
.site-footer p,
.content-page p,
.facility-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p {
  max-width: 680px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--orange);
}

.button.secondary {
  color: #fff;
  background: var(--blue);
}

.button.full {
  width: 100%;
}

.decision-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.decision-panel strong {
  display: block;
  font-size: 26px;
  margin-bottom: 18px;
}

.decision-panel ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: #3d4654;
  line-height: 1.55;
  font-weight: 800;
}

.mini-map {
  position: relative;
  min-height: 210px;
  margin-top: 26px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(37, 68, 154, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 68, 154, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 35% 55%, rgba(255, 116, 23, 0.16), transparent 28%),
    #eef5f1;
  background-size: 42px 42px, 42px 42px, auto, auto;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.mini-map .pin:nth-child(1) {
  left: 58%;
  top: 28%;
  background: #4185ff;
}

.mini-map .pin:nth-child(2) {
  left: 34%;
  top: 58%;
  background: var(--orange);
}

.mini-map .pin:nth-child(3) {
  left: 70%;
  top: 68%;
  background: var(--green);
}

.section {
  padding: 82px 6vw;
}

.section.surface {
  background: var(--soft);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 18px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.situation-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.situation-grid article,
.benefit-grid article,
.checker,
.result-box,
.filters,
.map-card,
.facility-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 34, 55, 0.08);
}

.situation-grid article,
.benefit-grid article {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.situation-grid strong,
.benefit-grid strong {
  font-size: 22px;
}

.situation-grid a,
.benefit-grid a {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.grade-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.checker,
.filters {
  display: grid;
  gap: 16px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

select,
input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e2;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

.result-box {
  padding: 28px;
}

.result-box h3 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.recommend-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.recommend-stack p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f3f7ff;
}

.fine-print {
  margin-top: 18px;
  font-size: 14px;
}

.explore-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.facility-results {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.facility-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  box-shadow: none;
}

.facility-card h3 {
  margin: 0;
  font-size: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #24406f;
  background: #eaf1ff;
  font-size: 13px;
  font-weight: 900;
}

.map-card {
  padding: 22px;
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.map-card-head strong {
  font-size: 20px;
}

.map-card-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.kakao-map {
  position: relative;
  min-height: 600px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(37, 68, 154, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 68, 154, 0.08) 1px, transparent 1px),
    #eef5f1;
  background-size: 42px 42px;
}

.kakao-map.map-fallback::after {
  content: "지도를 불러오지 못했습니다. 아래 시설 목록에서 주소와 연락처를 먼저 확인해 주세요.";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  padding: 16px;
  border-radius: 8px;
  color: #24406f;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  line-height: 1.55;
}

.map-info {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.guide-list a {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  line-height: 1.45;
}

.guide-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 42px 6vw;
  color: #3a4351;
  background: #111827;
}

.site-footer strong {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  max-width: 860px;
  color: #c7d0dd;
}

.site-footer a {
  display: inline-flex;
  margin: 0 18px 8px 0;
  color: #e8edf5;
}

.content-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 70px 6vw;
}

.content-page h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.content-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  margin-top: 22px;
}

.content-card ul {
  margin: 0;
  padding-left: 20px;
  color: #3d4654;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 5vw;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .grade-layout,
  .explore-layout,
  .situation-grid,
  .benefit-grid,
  .guide-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 5vw;
  }

  .hero-actions {
    flex-direction: column;
  }

  .kakao-map {
    min-height: 420px;
  }
}
