:root {
  --ink: #102a43;
  --muted: #61748a;
  --line: #dbe8f4;
  --blue: #2580df;
  --blue-deep: #1264bd;
  --sky: #eef8ff;
  --cream: #fff9ef;
  --green: #03c75a;
  --shadow: 0 16px 40px rgba(46, 103, 153, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px 18px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(210, 226, 240, .9);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(38, 82, 122, .12);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #173753; background: #ffd864; font-size: 21px; }
.blog-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 12px; color: #fff; background: var(--green); font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(3,199,90,.22); }
.blog-button span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--green); background: #fff; border-radius: 6px; }

.hero {
  min-height: 600px;
  margin-top: -80px;
  padding: 150px max(32px, calc((100vw - 1180px) / 2)) 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #edf8ff 56%, #fffaf1 100%);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .step { margin: 0 0 12px; color: var(--blue-deep); font-weight: 800; }
.hero h1 { margin: 0; font-family: "Gowun Dodum", sans-serif; font-size: clamp(46px, 5vw, 76px); line-height: 1.17; letter-spacing: -.06em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.summary { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.summary span { padding: 9px 13px; border: 1px solid #d9e8f5; border-radius: 999px; background: rgba(255,255,255,.86); color: #51677d; font-size: 14px; }
.summary b { color: var(--blue-deep); }
.hero-art { margin: 0; position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 7% 2% -4% 8%; border-radius: 50%; background: rgba(109, 188, 246, .16); filter: blur(20px); }
.hero-art img { position: relative; display: block; width: 100%; height: auto; border-radius: 36px; box-shadow: var(--shadow); }

.search-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 74px 0 80px; }
.section-heading { text-align: center; }
.section-heading h2, .notice-section h2, .source-section h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }
.search-form { margin-top: 32px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr 1.4fr auto auto; align-items: end; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.search-form label { display: grid; gap: 8px; }
.search-form label > span { font-weight: 700; font-size: 14px; }
.search-form select, .search-form input { width: 100%; height: 52px; border: 1px solid #cfdeea; border-radius: 13px; background: #fafdff; padding: 0 14px; color: var(--ink); outline: none; }
.search-form select:focus, .search-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,128,223,.12); }
.search-form select:disabled { cursor: not-allowed; color: #8b9bad; background: #f2f5f7; }
.search-button, .reset-button, .more-button { height: 52px; border: 0; border-radius: 13px; font-weight: 800; }
.search-button { padding: 0 20px; color: #fff; background: var(--blue); box-shadow: 0 9px 20px rgba(37,128,223,.2); }
.reset-button { padding: 0 16px; color: #526a80; background: #edf4f9; }
.blog-promo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; color: #16452d; border: 1px solid #a6e6c3; border-radius: 18px; background: linear-gradient(135deg, #edfff5, #ddfaea); box-shadow: 0 10px 28px rgba(3,199,90,.09); }
.promo-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #fff; border-radius: 14px; font-size: 1.65rem; }
.blog-promo strong { display: block; font-size: 1.03rem; }
.blog-promo p { margin: 3px 0 0; color: #3e6c54; font-size: .9rem; }
.blog-promo a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; color: #fff; background: var(--green); border-radius: 12px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.blog-promo a span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--green); background: #fff; border-radius: 5px; }
.result-toolbar { margin: 40px 2px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-toolbar p { margin: 0; font-size: 20px; font-weight: 800; }
.result-toolbar span { color: var(--muted); font-size: 13px; }
.empty-state { margin-top: 34px; padding: 58px 20px; display: grid; justify-items: center; gap: 9px; text-align: center; color: var(--muted); border: 1px dashed #bbd3e6; border-radius: 24px; background: #f9fcff; }
.empty-state > span { font-size: 36px; }
.empty-state strong { color: var(--ink); font-size: 19px; }
.empty-state p { margin: 0; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place-card { display: flex; flex-direction: column; min-height: 360px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(35,81,123,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.verified-badge { padding: 7px 10px; border-radius: 999px; color: #1768b8; background: #e9f5ff; font-size: 12px; font-weight: 800; }
.place-region { color: var(--muted); font-size: 12px; }
.place-card h3 { margin: 20px 0 18px; font-size: 23px; letter-spacing: -.03em; }
.place-card dl { margin: 0; display: grid; gap: 12px; }
.place-card dl div { display: grid; grid-template-columns: 54px 1fr; gap: 8px; }
.place-card dt { color: #7b8b99; font-size: 13px; font-weight: 700; }
.place-card dd { margin: 0; color: #40576b; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.card-actions { margin-top: auto; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.card-actions a { min-height: 44px; padding: 10px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 14px; }
.map-button { color: #fff; background: var(--blue); }
.call-button { color: var(--blue-deep); background: #edf6ff; }
.call-button[hidden] { display: none; }
.card-actions:has(.call-button[hidden]) { grid-template-columns: 1fr; }
.more-button { display: block; min-width: 180px; margin: 28px auto 0; padding: 0 22px; color: #fff; background: var(--ink); }
.more-button[hidden] { display: none; }

.notice-section, .source-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto 42px; padding: 34px; border-radius: 26px; }
.notice-section { display: grid; grid-template-columns: 52px 1fr; gap: 20px; background: #fff5f1; border: 1px solid #f7d8cb; }
.notice-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: #fff; background: #ee735e; font-size: 23px; font-weight: 900; }
.notice-section p:last-child, .source-copy p { margin: 16px 0 0; color: #596d80; line-height: 1.85; }
.source-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; background: var(--cream); border: 1px solid #f0e3ca; }
.source-copy p { margin-top: 0; }
.source-link { display: inline-block; margin-top: 8px; color: var(--blue-deep); font-weight: 800; }

footer { padding: 38px 20px 48px; text-align: center; color: #728497; background: #f6f9fb; }
.footer-brand { justify-content: center; color: var(--ink); }
footer p { margin: 12px 0 0; font-size: 13px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; text-align: center; }
  .hero-description br { display: none; }
  .summary { justify-content: center; }
  .hero-art { max-width: 720px; margin: 0 auto; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .keyword-label { grid-column: 1 / -1; }
  .search-button { grid-column: 1 / 2; }
  .blog-promo { grid-template-columns: auto 1fr; }
  .blog-promo a { grid-column: 1 / -1; justify-content: center; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header { top: 8px; width: calc(100% - 20px); margin-top: 8px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; }
  .blog-button { padding: 9px 11px; font-size: 13px; }
  .hero { min-height: 0; margin-top: -70px; padding: 132px 18px 46px; gap: 30px; }
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 15px; }
  .hero-art img { border-radius: 24px; }
  .summary span { font-size: 12px; }
  .search-section { padding: 54px 0 62px; }
  .search-form { padding: 18px; grid-template-columns: 1fr; border-radius: 20px; }
  .keyword-label, .search-button { grid-column: auto; }
  .blog-promo { grid-template-columns: 1fr; text-align: center; }
  .promo-icon { margin: 0 auto; }
  .blog-promo a { grid-column: auto; }
  .result-toolbar { align-items: flex-end; }
  .result-toolbar p { font-size: 17px; }
  .result-grid { grid-template-columns: 1fr; }
  .notice-section, .source-section { padding: 25px 21px; grid-template-columns: 1fr; }
  .notice-icon { width: 42px; height: 42px; }
  .section-heading h2, .notice-section h2, .source-section h2 { font-size: 27px; }
}
