:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ink: #18211d;
  --ink-soft: #5c6862;
  --line: #dfe5e1;
  --surface: #ffffff;
  --surface-soft: #f4f7f4;
  --mint: #116e5d;
  --mint-dark: #0b5548;
  --mint-light: #dff1eb;
  --coral: #e7755c;
  --coral-light: #fff0eb;
  --sand: #f1e8d8;
  --shadow: 0 18px 45px rgba(25, 57, 47, 0.09);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fbfcfa;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
}

.brand-mark svg {
  width: 24px;
  fill: #fff;
}

.brand-mark .mark-line {
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.about-link {
  padding: 9px 4px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.about-link:hover {
  color: var(--mint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switch {
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe3df;
  border-radius: 999px;
  color: #626f69;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.language-switch a {
  color: inherit;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a[aria-current="page"] {
  color: var(--mint);
}

.language-switch a[aria-current="page"] {
  font-weight: 850;
}

.language-switch > span {
  color: #d2dad6;
  font-weight: 400;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 530px;
  margin: 0 auto;
  padding: 72px 76px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 93% 9%, rgba(255, 255, 255, 0.72) 0 9%, transparent 9.2%),
    linear-gradient(135deg, #e2f1e9 0%, #ecf4e9 53%, #f3ead9 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
p {
  word-break: keep-all;
}

h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

h1 em {
  position: relative;
  color: var(--mint);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 8px;
  border-radius: 10px;
  background: rgba(231, 117, 92, 0.3);
  content: "";
  transform: rotate(-1deg);
}

.hero-description {
  max-width: 510px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 35px;
}

.hero-stats div {
  display: grid;
  gap: 2px;
}

.hero-stats strong {
  font-family: var(--font-sans);
  color: var(--mint-dark);
  font-size: 25px;
  font-weight: 400;
}

.hero-stats span {
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-art {
  position: relative;
  min-height: 360px;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(17, 110, 93, 0.19);
  border-radius: 50%;
}

.orbit-one {
  width: 310px;
  height: 310px;
  top: 25px;
  right: 22px;
}

.orbit-two {
  width: 220px;
  height: 220px;
  top: 70px;
  right: 67px;
}

.art-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 20px 40px rgba(24, 66, 53, 0.12);
  backdrop-filter: blur(8px);
}

.art-card-main {
  top: 102px;
  right: 25px;
  width: 300px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 24px;
  transform: rotate(-2deg);
}

.art-card-main div {
  display: grid;
  gap: 5px;
}

.art-card-main span,
.art-card-review span {
  color: var(--ink-soft);
  font-size: 12px;
}

.art-card-main strong,
.art-card-review strong {
  font-size: 15px;
}

.art-pin {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: var(--mint);
}

.art-pin svg {
  width: 25px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.art-card-tag {
  top: 55px;
  right: 235px;
  padding: 13px 18px;
  border-radius: 99px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 700;
  transform: rotate(5deg);
}

.art-card-review {
  right: 95px;
  bottom: 45px;
  padding: 17px 20px;
  display: grid;
  gap: 4px;
  border-radius: 17px;
  transform: rotate(3deg);
}

.art-dot {
  position: absolute;
  border-radius: 50%;
}

.dot-one {
  width: 20px;
  height: 20px;
  right: 11px;
  bottom: 90px;
  background: var(--coral);
}

.dot-two {
  width: 12px;
  height: 12px;
  top: 70px;
  right: 65px;
  background: var(--mint);
}

.map-explorer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 24px;
}

.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.map-heading h1 {
  font-size: clamp(42px, 5vw, 62px);
}

.map-description {
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.map-stats {
  margin-bottom: 7px;
  display: flex;
  gap: 40px;
}

.map-stats div {
  display: grid;
  min-width: 88px;
  gap: 3px;
}

.map-stats strong {
  color: var(--mint);
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 400;
}

.map-stats span {
  color: var(--ink-soft);
  font-size: 12px;
}

.directory-search-field {
  width: 100%;
  height: 58px;
  margin-top: 24px;
  padding: 0 20px 0 23px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d7e0db;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(31, 66, 54, 0.07);
  transition: 0.2s ease;
}

.directory > .directory-search-field {
  margin-top: 0;
}

.directory-search-field:focus-within {
  border-color: var(--mint);
  box-shadow: 0 12px 35px rgba(31, 66, 54, 0.09), 0 0 0 4px rgba(17, 110, 93, 0.07);
}

.directory-search-field svg {
  width: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.directory-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.directory-search-field input::placeholder {
  color: #9ba59f;
}

.directory-search-field kbd {
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  color: #718079;
  background: var(--surface-soft);
  font-family: inherit;
  font-size: 11px;
  white-space: nowrap;
}

.verification-guide {
  margin-top: 20px;
  padding: 18px 20px 16px;
  border: 1px solid #dce4df;
  border-radius: 18px;
  background: #f8faf8;
}

.verification-guide-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.verification-guide-kicker {
  margin: 0 0 4px;
  color: #63716a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.verification-guide-heading h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.025em;
}

.verification-key-list {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.verification-key-item {
  min-width: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  background: #fff;
}

.verification-key-item p {
  margin: 0;
  color: #56635d;
  font-size: 12px;
  line-height: 1.55;
}

.verification-key-swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
}

.verification-key-swatch {
  flex: 0 0 auto;
  padding: 6px 9px;
  font-size: 11px;
}

.verification-key-swatch i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.verification-key-swatch.institution {
  border-color: #cfe0e8;
  color: #315f75;
  background: #eff6f9;
}

.verification-key-swatch.institution i {
  background: #4d7c90;
}

.verification-key-swatch.specialist {
  border-color: #cbe2da;
  color: #176252;
  background: #edf7f3;
}

.verification-key-swatch.specialist i {
  background: var(--mint);
}

.verification-guide-note {
  margin: 10px 1px 0;
  color: #5f6c66;
  font-size: 12px;
  line-height: 1.55;
}

.verification-guide-note a {
  color: inherit;
  font: inherit;
  text-decoration-color: #aab6b0;
  text-underline-offset: 3px;
}

.verification-guide-note a:hover,
.verification-guide-note a:focus-visible {
  color: var(--mint);
}

.map-board {
  min-height: 550px;
  margin-top: 20px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  align-items: stretch;
  gap: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef5f1 0%, #e5efe9 57%, #f4eee1 100%);
  overflow: hidden;
}

.map-board-info {
  padding: 32px 16px 28px 22px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.map-caption {
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.map-board-info h2 {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.35;
}

.map-board-info > p {
  max-width: 270px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.show-all-button {
  min-height: 44px;
  margin-top: 28px;
  padding: 0 16px;
  border: 1px solid rgba(17, 110, 93, 0.25);
  border-radius: 12px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.show-all-button:hover,
.show-all-button.active {
  border-color: var(--mint);
  color: #fff;
  background: var(--mint);
}

.map-legend {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #64716b;
  font-size: 12px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border: 1px solid #d2ddd7;
  border-radius: 3px;
  background: #e1e8e4;
}

.map-legend i.available {
  border-color: #79af9e;
  background: #a9d4c5;
}

.seoul-map-shell {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

.seoul-map {
  width: min(100%, 720px);
  max-height: 480px;
  overflow: visible;
}

.district-shape {
  fill: #dfe7e2;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-linejoin: round;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
  transition: fill 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.map-district {
  outline: none;
}

.map-district.has-data {
  cursor: pointer;
}

.map-district.has-data .district-shape {
  fill: #9bcdbc;
  stroke: #fff;
}

.map-district.has-data:hover .district-shape,
.map-district.has-data:focus-visible .district-shape {
  fill: #69b49f;
  filter: drop-shadow(0 5px 7px rgba(20, 81, 64, 0.22));
}

.map-district.selected .district-shape {
  fill: var(--mint);
  filter: drop-shadow(0 7px 8px rgba(20, 81, 64, 0.25));
}

.district-label {
  fill: #89938e;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
  text-anchor: middle;
  user-select: none;
}

.map-district.has-data .district-label {
  fill: #174f42;
  font-size: 12px;
  font-weight: 800;
}

.lang-en .map-district.has-data .district-label {
  font-size: 9px;
  letter-spacing: -0.02em;
}

.map-district.selected .district-label {
  fill: #fff;
}

.map-status {
  position: absolute;
  right: 18px;
  bottom: 17px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(17, 110, 93, 0.12);
  border-radius: 10px;
  color: var(--mint-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(31, 66, 54, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.directory {
  width: min(1180px, calc(100% - 40px));
  margin: 62px auto 0;
}

h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.selected-district-tags {
  min-height: 29px;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.selected-district-tag {
  min-height: 29px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #bcded4;
  border-radius: 999px;
  color: #176252;
  background: #edf7f3;
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

button.selected-district-tag {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

button.selected-district-tag:hover,
button.selected-district-tag:focus-visible {
  border-color: #7ebfac;
  background: #e1f2ec;
  outline: none;
}

.selected-district-tag span {
  color: #56877a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.selected-district-tag.all {
  border-color: #d8e2de;
  color: #53635d;
  background: #f5f7f6;
}

.toolbar {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.district-filter {
  display: flex;
  gap: 8px;
}

.filter-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.filter-button:hover {
  border-color: #9db9b0;
  color: var(--mint);
}

.filter-button.active {
  border-color: var(--mint);
  color: #fff;
  background: var(--mint);
}

.search-field {
  width: min(360px, 100%);
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: 0.2s ease;
}

.search-field:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(17, 110, 93, 0.08);
}

.search-field svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: #74817b;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-field input::placeholder {
  color: #9aa39f;
}

.clinic-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.clinic-browser {
  min-height: 650px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(25, 57, 47, 0.06);
  overflow: hidden;
}

.clinic-browser[hidden] {
  display: none;
}

.clinic-list-pane {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #f7f9f7;
}

.list-pane-heading {
  height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.list-pane-heading strong {
  color: var(--mint);
  font-size: 11px;
}

.clinic-name-list {
  max-height: 650px;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.clinic-name-button {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease, background 0.18s ease;
}

.clinic-name-button + .clinic-name-button {
  margin-top: 3px;
}

.clinic-name-button:hover {
  background: #edf3ef;
}

.clinic-name-button.active {
  color: #fff;
  background: var(--mint);
  box-shadow: 0 9px 20px rgba(17, 110, 93, 0.18);
}

.clinic-order {
  color: #65726c;
  font-family: var(--font-sans);
  font-size: 11px;
}

.clinic-name-button.active .clinic-order {
  color: #d8eee8;
}

.clinic-name-button strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
}

.clinic-arrow {
  color: #9ba59f;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: 0.18s ease;
}

.clinic-name-button:hover .clinic-arrow,
.clinic-name-button.active .clinic-arrow {
  opacity: 1;
  transform: translateX(0);
}

.clinic-name-button.active .clinic-arrow {
  color: #fff;
}

.clinic-detail-pane {
  min-width: 0;
  padding: 42px 46px 38px;
}

.detail-group {
  min-width: 0;
}

.detail-group + .detail-group {
  margin-top: 27px;
}

.disease-focus,
.map-service-section {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.detail-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.detail-section-heading > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: var(--mint);
  background: #e8f4ef;
  font-size: 9px;
  font-weight: 800;
}

.detail-section-heading > strong {
  font-size: 14px;
  letter-spacing: -0.025em;
}

.detail-section-description {
  margin: 7px 0 0;
  color: #5f6c66;
  font-size: 12px;
  line-height: 1.55;
}

.detail-group-topline {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.clinic-verification-wrap {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.clinic-verification-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.clinic-verification-badge {
  min-height: 31px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.clinic-verification-badge > span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 850;
}

.clinic-verification-badge.institution.confirmed {
  border-color: #cfe0e8;
  color: #3f7187;
  background: #eff6f9;
}

.clinic-verification-badge.institution.confirmed > span {
  background: #4d7c90;
}

.clinic-verification-badge.specialist.confirmed {
  border-color: #cbe2da;
  color: #176252;
  background: #edf7f3;
}

.clinic-verification-badge.specialist.confirmed > span {
  background: var(--mint);
}

.clinic-verification-badge.unconfirmed {
  border-color: #e2ddd4;
  color: #786d60;
  background: #f8f5f0;
}

.clinic-verification-badge.unconfirmed > span {
  background: #8b8176;
}

.clinic-hira-source-link {
  color: #5c6963;
  font-size: 11px;
  font-weight: 700;
  text-decoration-color: #b4c2bc;
  text-underline-offset: 3px;
}

.clinic-hira-source-link:hover,
.clinic-hira-source-link:focus-visible {
  color: var(--mint);
}

.clinic-detail-head {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.clinic-detail-head h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.detail-address {
  margin: 12px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-address > span:first-child {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.detail-address-value {
  min-width: 0;
  color: #4f5d57;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.lang-en .detail-address-value {
  display: grid;
  gap: 3px;
}

.address-ko {
  color: #5f6d66;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.detail-phone {
  margin: 7px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-phone span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.detail-phone a {
  color: #4f5d57;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-decoration: none;
}

.clinic-hours {
  margin-top: 7px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.clinic-hours-row {
  padding: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.clinic-hours-row:first-child {
  flex: 0 1 auto;
}

.clinic-lunch-row {
  position: relative;
  flex: 0 0 auto;
  padding-left: 17px;
}

.clinic-lunch-row::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 22px;
  background: #d9e1dc;
  content: "";
  transform: translateY(-50%);
}

.clinic-information + .disease-focus {
  margin-top: 0;
}

.clinic-hours-heading {
  display: grid;
  gap: 3px;
}

.clinic-hours-heading strong {
  font-size: 12px;
  line-height: 1.6;
}

.clinic-hours-label {
  color: #a84f3d;
  font-size: 12px;
  line-height: 1.6;
}

.clinic-hours-heading span {
  color: #87938d;
  font-size: 9px;
}

.clinic-hours ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
}

.clinic-hours li {
  padding: 0;
  color: #4f5d57;
  font-size: 12px;
  line-height: 1.6;
}

.clinic-lunch-row .clinic-hours-label,
.clinic-lunch-row li {
  color: #a84f3d;
}

.hours-unavailable {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.disease-focus {
  background: transparent;
}

.disease-focus .disease-list {
  margin-top: 15px;
  gap: 8px;
}

.inline-detail-section {
  margin-top: 29px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.inline-detail-section h4 {
  margin: 0 0 13px;
  font-size: 13px;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rating-card {
  min-width: 0;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.rating-card:hover {
  border-color: #a8beb5;
  box-shadow: 0 10px 24px rgba(25, 57, 47, 0.09);
  transform: translateY(-2px);
}

.rating-card.naver-rating {
  background: #f3fbf6;
}

.rating-card.kakao-rating {
  background: #fffbed;
}

.rating-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.rating-service i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.naver-rating .rating-service i {
  background: #03c75a;
}

.kakao-rating .rating-service i {
  color: #2d2817;
  background: #fee500;
}

.rating-card strong {
  justify-self: end;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.kakao-rating strong b {
  color: #f2a800;
  font-weight: 700;
}

.rating-card strong small {
  color: #5f6b65;
  font-size: 12px;
  font-weight: 500;
}

.rating-review-count {
  grid-column: 1 / -1;
  color: #46524c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.rating-shortcut {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid rgba(92, 104, 98, 0.13);
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.kakao-rating .rating-shortcut {
  color: #746500;
}

.review-copy-section p {
  max-width: 760px;
  margin: 0;
  color: #46524c;
  font-size: 14px;
  line-height: 1.9;
}

.detail-link-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.detail-link-section h4 {
  margin-bottom: 4px;
}

.detail-link-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.detail-link-section .dialog-contact {
  flex: 0 0 auto;
}

.inline-detail-note {
  margin: 21px 0 0;
  color: #626f69;
  font-size: 12px;
  line-height: 1.6;
}

.clinic-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.clinic-card:hover {
  border-color: #b7cec6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-scope {
  color: #89938e;
  font-size: 11px;
}

.clinic-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.card-address {
  min-height: 43px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.disease-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.disease-chip {
  padding: 6px 9px;
  border: 1px solid #dce4df;
  border-radius: 8px;
  color: #53615b;
  background: #f8faf8;
  font-size: 12px;
}

.review-summary {
  margin: 20px 0 0;
  color: #35413b;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

.tag-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.tag.positive {
  color: #176554;
  background: #e8f5f0;
}

.card-actions {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-links {
  display: flex;
  gap: 8px;
}

.map-link,
.detail-button,
.dialog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.map-link {
  width: 34px;
  height: 34px;
}

.map-link.naver {
  color: #fff;
  background: #03c75a;
}

.map-link.kakao {
  color: #2e2817;
  background: #fee500;
}

.detail-button {
  padding: 9px 13px;
  border: 0;
  color: var(--mint);
  background: #edf5f2;
  cursor: pointer;
}

.detail-button:hover {
  background: var(--mint-light);
}

.empty-state {
  margin-top: 28px;
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed #cfd8d3;
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
}

.empty-state span {
  display: block;
  color: #a7b4ae;
  font-size: 44px;
}

.empty-state strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
}

.empty-state p {
  margin: 8px 0 0;
  font-size: 13px;
}

.guide {
  width: min(1180px, calc(100% - 40px));
  margin: 110px auto 0;
  padding: 54px 58px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  border-radius: var(--radius-xl);
  background: #153c34;
  color: #fff;
}

.guide .eyebrow {
  color: #80cfb8;
}

.guide-copy > p:last-child {
  margin: 20px 0 0;
  color: #bfd0ca;
  font-size: 14px;
  line-height: 1.8;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.guide-steps li:first-child {
  padding-top: 0;
}

.guide-steps li:last-child {
  padding-bottom: 0;
  border: 0;
}

.guide-steps > li > span {
  color: #80cfb8;
  font-family: var(--font-sans);
  font-size: 15px;
}

.guide-steps strong {
  font-size: 15px;
}

.guide-steps p {
  margin: 5px 0 0;
  color: #bfd0ca;
  font-size: 12px;
  line-height: 1.6;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 62px auto 0;
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #626e68;
  font-size: 12px;
}

.service-notice {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 24px 27px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(194, 91, 70, 0.24);
  border-radius: 18px;
  color: #8b4134;
  background: #fff3ef;
}

.service-notice-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c66350;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.service-notice strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.service-notice p {
  margin: 7px 0 0;
  color: #705b55;
  font-size: 12px;
  line-height: 1.7;
}

footer p {
  margin: 0;
}

footer strong {
  color: var(--ink-soft);
}

.footer-copy {
  display: grid;
  gap: 6px;
  line-height: 1.65;
}

.footer-meta {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 8px;
  white-space: nowrap;
}

.footer-meta a {
  color: var(--mint);
  font-weight: 750;
  text-underline-offset: 4px;
}

.methodology-main {
  width: min(820px, calc(100% - 40px));
  margin: 56px auto 0;
}

.methodology-main > h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.methodology-lead {
  max-width: 720px;
  margin: 22px 0 42px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.methodology-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.methodology-card + .methodology-card {
  margin-top: 14px;
}

.methodology-card h2 {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 750;
}

.methodology-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.methodology-card p + p {
  margin-top: 8px;
}

.methodology-card a {
  color: var(--mint);
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-email {
  display: inline-block;
  margin: 4px 0 6px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.policy-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.policy-list li + li {
  margin-top: 5px;
}

.clinic-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(13, 38, 31, 0.24);
}

.clinic-dialog::backdrop {
  background: rgba(14, 30, 25, 0.52);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(241, 244, 242, 0.94);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.dialog-hero {
  padding: 42px 42px 30px;
  background: linear-gradient(135deg, #e4f2ec, #f2ebdc);
}

.dialog-hero h2 {
  margin-top: 13px;
  padding-right: 35px;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 750;
}

.dialog-address {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.dialog-body {
  padding: 32px 42px 42px;
}

.detail-section + .detail-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.detail-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.map-service-section .rating-grid {
  margin-top: 14px;
}

.dialog-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.dialog-link {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.dialog-link.primary {
  border-color: var(--mint);
  color: #fff;
  background: var(--mint);
}

.dialog-note {
  margin-top: 20px !important;
  color: #8a948f !important;
  font-size: 11px !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 58px 46px;
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

  .guide {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-board {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .map-board-info {
    padding: 12px 12px 0;
  }

  .map-board-info h2 br {
    display: none;
  }

  .map-board-info > p {
    max-width: 580px;
  }

  .seoul-map-shell {
    min-height: 430px;
  }

  .clinic-browser {
    grid-template-columns: 255px minmax(0, 1fr);
  }

  .clinic-detail-pane {
    padding: 34px 30px;
  }

  .clinic-detail-head {
    flex-direction: column;
    gap: 10px;
  }

  .detail-link-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .map-explorer,
  .directory,
  .guide,
  .service-notice,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 62px;
  }

  .lang-en .brand {
    gap: 8px;
    font-size: 14px;
    letter-spacing: -0.025em;
  }

  .lang-en .brand-mark {
    width: 31px;
    height: 31px;
  }

  .language-switch {
    height: 32px;
    padding: 0 8px;
    gap: 6px;
    font-size: 11px;
  }

  .header-actions .about-link {
    display: none;
  }

  .about-link {
    font-size: 12px;
  }

  .hero {
    padding: 44px 25px 40px;
    border-radius: 24px;
  }

  .map-explorer {
    padding-top: 16px;
  }

  .map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .map-heading h1 {
    font-size: 39px;
  }

  .map-description {
    font-size: 14px;
  }

  .map-stats {
    gap: 25px;
  }

  .map-stats strong {
    font-size: 27px;
  }

  .directory-search-field {
    height: 58px;
    margin-top: 20px;
    padding: 0 15px;
  }

  .directory-search-field input {
    font-size: 14px;
  }

  .directory-search-field kbd {
    display: none;
  }

  .verification-guide {
    padding: 17px 15px 15px;
  }

  .verification-guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .verification-key-list {
    grid-template-columns: 1fr;
  }

  .verification-key-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .map-board {
    margin-top: 14px;
    padding: 20px 14px 14px;
    gap: 18px;
    border-radius: 22px;
  }

  .map-board-info {
    padding: 15px 11px 0;
  }

  .map-board-info h2 {
    font-size: 27px;
  }

  .map-board-info h2 br {
    display: block;
  }

  .show-all-button {
    margin-top: 20px;
  }

  .map-legend {
    margin-top: 18px;
  }

  .seoul-map-shell {
    min-height: 300px;
    border-radius: 17px;
  }

  .seoul-map {
    width: 100%;
  }

  .district-label {
    font-size: 8px;
  }

  .map-district.has-data .district-label {
    font-size: 10px;
  }

  .lang-en .map-district.has-data .district-label {
    font-size: 8px;
  }

  .map-status {
    right: 10px;
    bottom: 10px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-stats {
    gap: 23px;
  }

  .directory {
    margin-top: 60px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .district-filter {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .filter-button {
    white-space: nowrap;
  }

  .search-field {
    width: 100%;
  }

  .clinic-grid {
    grid-template-columns: 1fr;
  }

  .clinic-browser {
    min-height: 0;
    display: block;
    border-radius: 19px;
  }

  .clinic-list-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .list-pane-heading {
    height: 54px;
  }

  .clinic-name-list {
    max-height: none;
    padding: 9px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .clinic-name-button {
    width: 220px;
    min-width: 220px;
    min-height: 55px;
    scroll-snap-align: start;
  }

  .clinic-name-button + .clinic-name-button {
    margin-top: 0;
  }

  .clinic-detail-pane {
    padding: 29px 22px 27px;
  }

  .detail-group-topline {
    gap: 10px;
  }

  .lang-en .detail-group-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .lang-en .clinic-verification-wrap {
    width: 100%;
    justify-items: end;
  }

  .clinic-verification-badges {
    gap: 5px;
  }

  .clinic-verification-badge {
    min-height: 29px;
    padding: 4px 7px;
    gap: 5px;
    font-size: 10px;
  }

  .clinic-detail-head h3 {
    font-size: 24px;
  }

  .clinic-hours-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .clinic-hours-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .clinic-hours {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 16px;
  }

  .clinic-lunch-row {
    padding-left: 17px;
  }

  .inline-detail-section {
    margin-top: 23px;
    padding-top: 21px;
  }

  .rating-grid {
    grid-template-columns: 1fr;
  }

  .detail-link-section .dialog-contact {
    width: 100%;
  }

  .clinic-card {
    padding: 23px;
  }

  .guide {
    margin-top: 80px;
    padding: 40px 25px;
    border-radius: 24px;
  }

  footer {
    flex-direction: column;
    line-height: 1.6;
  }

  .service-notice {
    padding: 21px 19px;
  }

  .footer-meta {
    justify-items: start;
  }

  .methodology-main {
    width: min(100% - 28px, 820px);
    margin-top: 38px;
  }

  .methodology-card {
    padding: 23px 21px;
  }

  .dialog-hero {
    padding: 36px 24px 25px;
  }

  .dialog-hero h2 {
    font-size: 23px;
  }

  .dialog-body {
    padding: 26px 24px 32px;
  }

}
