:root {
  --ink: #14201d;
  --muted: #5e6d68;
  --line: #dce7e2;
  --paper: #fbfcf9;
  --sage: #407463;
  --sage-dark: #234c42;
  --mint: #e8f4ee;
  --coral: #b3472f;
  --gold: #c4933f;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.site-loading .topbar,
body.site-loading footer,
body.maintenance-mode .topbar,
body.maintenance-mode footer {
  display: none;
}

.loading-screen,
.maintenance-screen {
  display: grid;
  place-content: center;
  min-height: 100vh;
  padding: 32px;
  text-align: center;
}

.loading-screen {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.maintenance-screen {
  gap: 18px;
  background: var(--paper);
}

.maintenance-title,
.maintenance-message {
  margin: 0;
}

.maintenance-title {
  max-width: none;
  font-size: clamp(30px, 5vw, 52px);
}

.maintenance-message {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
  white-space: pre-line;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 231, 226, 0.9);
  background: rgba(251, 252, 249, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-dark);
}

.brand-logo {
  width: auto;
  max-width: min(52vw, 320px);
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.nav-link-phone {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--sage-dark);
  box-shadow: 0 10px 24px rgba(25, 86, 68, 0.14);
}

h1,
h2,
p,
strong,
span {
  overflow-wrap: anywhere;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: clamp(540px, 62vh, 720px);
  padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px);
  background-image:
    linear-gradient(110deg, rgba(232, 244, 238, 0.94), rgba(251, 252, 249, 0.84)),
    var(
      --hero-background-image,
      url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=80")
    );
  background-position:
    center,
    center;
  background-repeat:
    no-repeat,
    repeat;
  background-size:
    auto,
    clamp(340px, 42vw, 620px) auto;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.block-type {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 28px;
  font-weight: 800;
}

h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--sage);
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.clinic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20, 32, 29, 0.12);
}

.button.primary {
  color: var(--white);
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.button.ghost {
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.68);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 60px rgba(20, 32, 29, 0.14);
}

.hero-slideshow-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.28s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-panel > div:not(.hero-slideshow-frame) {
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.metric {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.metric-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.clinic-card {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.clinic-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.clinic-card-body {
  padding: 22px;
}

.clinic-card strong {
  display: block;
  color: var(--sage-dark);
  font-size: 23px;
}

.clinic-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.clinic-card span {
  color: var(--coral);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--mint);
  font-size: 26px;
  font-weight: 800;
}

.text-red {
  color: #b3472f;
}

.text-green {
  color: #407463;
}

.text-blue {
  color: #2463ad;
}

.text-orange {
  color: #c77722;
}

.text-bold {
  font-weight: 800;
}

.text-custom {
  font-weight: inherit;
}

.card-action {
  display: inline-flex;
}

.site-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-banner p {
  margin: 0;
  color: var(--muted);
}

.site-banner.warning {
  background: #fff6ee;
}

.official-hero,
.official-section,
.official-page-hero {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
  width: min(100%, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.official-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(620px, 76vh, 820px);
  padding-top: clamp(58px, 8vw, 108px);
  padding-bottom: clamp(58px, 8vw, 108px);
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 221, 179, 0.58), transparent 30%),
    radial-gradient(circle at 12% 26%, rgba(200, 236, 222, 0.85), transparent 34%),
    linear-gradient(135deg, #fffdf7 0%, #eef8f2 48%, #fff7ed 100%);
  border-radius: 0 0 8px 8px;
}

.official-hero-copy {
  max-width: 780px;
}

.official-hero h1,
.official-page-hero h1 {
  max-width: 13em;
}

.official-hero-card {
  display: grid;
  gap: 16px;
}

.official-visual {
  display: grid;
  min-height: 340px;
  place-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(188, 215, 205, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 238, 0.78)),
    repeating-linear-gradient(135deg, rgba(64, 116, 99, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: 0 24px 70px rgba(35, 76, 66, 0.14);
  text-align: center;
}

.official-visual span {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-dark);
  font-size: 42px;
  font-weight: 800;
}

.official-visual strong {
  color: var(--sage-dark);
  font-size: clamp(28px, 4vw, 42px);
}

.official-visual p,
.official-fact,
.official-story-card p,
.official-service-card p,
.official-section-heading p:not(.eyebrow),
.official-detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

.official-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.official-fact {
  min-height: 118px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.official-fact span {
  display: block;
  color: var(--coral);
  font-weight: 800;
}

.official-fact strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.official-section {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.official-section:nth-of-type(odd) {
  background: #fffdf8;
}

.official-section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.official-story-grid,
.official-service-grid,
.official-guide-list,
.official-mini-grid,
.official-detail {
  display: grid;
  gap: 16px;
}

.official-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-story-card,
.official-service-card,
.official-detail-card,
.official-profile-placeholder,
.official-mini-card,
.official-guide-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.official-story-card {
  padding: clamp(22px, 3vw, 32px);
}

.official-story-card h3,
.official-service-card h3,
.official-mini-card h3,
.official-detail-card h2 {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(22px, 3vw, 30px);
}

.official-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.official-breadcrumb a {
  color: var(--sage-dark);
}

.official-breadcrumb strong {
  color: var(--coral);
}

.official-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.official-service-card {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.official-service-card:hover,
.official-guide-item:hover {
  border-color: #bcd7cd;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(35, 76, 66, 0.1);
}

.official-service-card span,
.official-guide-item span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.official-service-card strong {
  margin-top: 18px;
  color: var(--sage-dark);
}

.official-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.official-profile-placeholder {
  display: grid;
  min-height: 320px;
  place-content: center;
  gap: 12px;
  padding: 30px;
  background: linear-gradient(145deg, #ffffff, #eaf5ef);
  text-align: center;
}

.official-profile-placeholder span {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 36px;
  font-weight: 800;
}

.official-profile-placeholder strong {
  color: var(--sage-dark);
  font-size: 24px;
}

.official-guide-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-guide-item {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.official-guide-item strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.official-location-preview {
  background: linear-gradient(135deg, #e8f4ee, #fff7ed);
}

.official-page-hero {
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(52px, 7vw, 92px);
  background: linear-gradient(135deg, #eef8f2, #fffdf7);
}

.official-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.official-detail-card {
  padding: clamp(24px, 4vw, 38px);
}

.official-detail-card.soft {
  background: #fff8f2;
}

.official-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.official-check-list li {
  padding: 15px 16px;
  border-radius: 8px;
  color: var(--sage-dark);
  background: var(--mint);
  font-weight: 800;
}

.official-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.official-process-list li {
  position: relative;
  min-height: 170px;
  padding: 54px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--sage-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.official-process-list li strong,
.official-process-list li span {
  display: block;
}

.official-process-list li span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.official-process-list li::before {
  position: absolute;
  top: 18px;
  left: 20px;
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  color: var(--coral);
  font-size: 18px;
  font-weight: 800;
}

.official-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-mini-card {
  min-height: 210px;
  padding: clamp(22px, 3vw, 30px);
}

.official-mini-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.official-faq-list {
  display: grid;
  gap: 14px;
}

.official-faq-item {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.official-faq-item h3 {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(20px, 2.5vw, 26px);
}

.official-faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.banner-link {
  margin-left: auto;
  color: var(--coral);
  font-weight: 800;
}

.sub-hero {
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background: var(--mint);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--sage-dark);
  font-weight: 800;
}

.content-stack {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 1040px;
}

.content-stack > * {
  min-width: 0;
  max-width: 100%;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.content-block:not(:has(img)) {
  grid-template-columns: 1fr;
}

.content-block img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.content-block p:not(.block-type) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.extra-text {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}

.price-block {
  border-color: #bcd7cd;
  background: var(--mint);
}

.price-block img {
  align-self: stretch;
  min-height: 260px;
}

.price-content {
  min-width: 0;
}

.price-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.action-block {
  border-top: 4px solid var(--gold);
}

.sub-card-section {
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(26px, 4vw, 44px);
}

.sub-card-shell {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1040px;
}

.sub-card-section-copy {
  display: grid;
  gap: 14px;
}

.sub-card-section-copy .extra-text {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

.sub-card-section-media {
  display: flex;
  justify-content: flex-start;
}

.sub-card-section-media img {
  width: min(100%, 443px);
  border-radius: 8px;
  object-fit: contain;
}

.sub-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 360px));
  gap: 16px;
  width: 100%;
}

.sub-link-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.sub-link-card:hover {
  border-color: #bcd7cd;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(25, 48, 42, 0.1);
}

.sub-link-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sub-card-body {
  display: flex;
  min-width: 0;
  min-height: 180px;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.sub-card-body h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.sub-card-body h3 {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.35;
}

.sub-card-body p:not(.block-type) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.sub-card-body .extra-text {
  margin: 0;
  font-size: 17px;
}

.sub-card-body .card-action {
  display: none;
}

.notice-block {
  border-color: #efd6c4;
  background: #fff8f2;
}

.related-list-block {
  border-color: #d7e5df;
  background: #ffffff;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--sage-dark);
  background: var(--paper);
  font-weight: 800;
}

.related-list-link:hover {
  border-color: #bcd7cd;
  background: var(--mint);
}

.related-arrow {
  flex: 0 0 auto;
  color: var(--coral);
}

.blog-page-shell {
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 84px) clamp(12px, 2.5vw, 36px);
}

.blog-embed-section {
  background: #f3f7f4;
}

.blog-embed-block {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.blog-sheet-title,
.blog-sheet-intro,
.blog-document {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.blog-sheet-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.blog-document {
  overflow: hidden;
  min-width: 0;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 719px) {
  .blog-document {
    padding: 1px;
  }
}

.blog-sheet-title + .blog-sheet-intro,
.blog-sheet-intro + .blog-document,
.blog-sheet-title + .blog-document {
  margin-top: 24px;
}

.blog-document-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.blog-document-title {
  max-width: 18em;
  font-size: clamp(32px, 5vw, 54px);
}

.blog-document-frame-content {
  --blog-document-frame-scale: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--white);
}

.blog-document-frame {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 940px;
  min-width: 940px;
  border: 0;
  background: var(--white);
  transform: scale(var(--blog-document-frame-scale));
  transform-origin: top left;
}

.blog-loading,
.blog-error {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  color: var(--sage-dark);
  font-weight: 800;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--mint);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 10px;
}

.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--sage-dark);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
  box-shadow: 0 14px 30px rgba(20, 32, 29, 0.18);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 32, 29, 0.42);
}

.modal {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(20, 32, 29, 0.28);
}

.modal p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

button.button {
  cursor: pointer;
  font: inherit;
}

.admin-menu-button {
  margin-top: 14px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.build-stamp {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.admin-password-input {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.admin-status {
  min-height: 1.7em;
  margin: 10px 0 0;
  color: var(--coral);
  font-size: 14px;
}

.admin-modal .button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.empty-state {
  min-height: calc(100vh - 180px);
}

footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #f3f7f4;
}

footer p {
  margin: 6px 0;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .official-hero,
  .official-split,
  .official-detail {
    grid-template-columns: 1fr;
  }

  .official-quick-facts,
  .official-story-grid,
  .official-service-grid,
  .official-guide-list,
  .official-mini-grid,
  .official-process-list {
    grid-template-columns: 1fr;
  }

  .clinic-grid {
    grid-template-columns: 1fr;
  }

  .content-block {
    grid-template-columns: 1fr;
  }

  .sub-card-grid {
    grid-template-columns: 1fr;
  }

  .site-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .banner-link {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}

/* online-centered-layout */
body:not(.official-site) #appRoot {
  display: grid;
  justify-items: center;
}

body:not(.official-site) .hero,
body:not(.official-site) .section,
body:not(.official-site) .sub-hero,
body:not(.official-site) .site-banner,
body:not(.official-site) footer {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
}

body:not(.official-site) .topbar {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
  justify-content: space-between;
}

body:not(.official-site) .topbar .brand {
  flex: 0 0 auto;
}

body:not(.official-site) .topbar nav {
  margin-left: auto;
  justify-content: flex-end;
}

body:not(.official-site) .hero {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  min-height: auto;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background-size: cover;
}

body:not(.official-site) .hero-copy {
  width: 100%;
  max-width: 860px;
}

body:not(.official-site) .hero-panel,
body:not(.official-site) .hero-slideshow-frame {
  display: none !important;
}

body:not(.official-site) .hero-metrics-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

body:not(.official-site) .hero-metrics-inline > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(220, 231, 226, 0.9);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

body:not(.official-site) .section {
  display: grid;
  justify-items: center;
}

body:not(.official-site) .section-heading,
body:not(.official-site) .clinic-grid,
body:not(.official-site) .content-stack,
body:not(.official-site) .sub-card-shell,
body:not(.official-site) .blog-embed-block,
body:not(.official-site) .blog-sheet-title,
body:not(.official-site) .blog-sheet-intro {
  width: 100%;
  max-width: 960px;
}

body:not(.official-site) .clinic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.official-site) .sub-hero {
  display: grid;
  justify-items: start;
}

body:not(.official-site) .sub-hero > * {
  width: 100%;
  max-width: 860px;
}

body:not(.official-site) .content-block {
  width: 100%;
  max-width: 960px;
}

body:not(.official-site) .sub-card-grid {
  justify-content: center;
}

@media (max-width: 900px) {
  body:not(.official-site) .hero,
  body:not(.official-site) .section,
  body:not(.official-site) .sub-hero,
  body:not(.official-site) footer {
    width: 100%;
  }

  body:not(.official-site) .hero-metrics-inline,
  body:not(.official-site) .clinic-grid {
    grid-template-columns: 1fr;
  }
}

.online-static-guide,
.online-process-section {
  background: #f7faf7;
}

.online-process-section {
  background: #fffdf7;
}

.online-info-grid,
.online-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 960px;
}

.online-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.online-info-card,
.online-process-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.online-info-card strong,
.online-process-card strong {
  color: var(--ink);
  font-size: 20px;
}

.online-info-card p,
.online-process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.online-process-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .online-info-grid,
  .online-process-grid {
    grid-template-columns: 1fr;
  }
}


.online-local-section {
  background: #f8f5ee;
}

.online-faq-section {
  background: #f7faf7;
}

.online-contact-card,
.online-faq-list {
  width: 100%;
  max-width: 960px;
}

.online-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.online-contact-card strong {
  color: var(--ink);
  font-size: 20px;
}

.online-contact-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.online-faq-list {
  display: grid;
  gap: 12px;
}

.online-faq-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.online-faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.online-faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 700px) {
  .online-contact-card {
    display: grid;
    align-items: start;
  }

  .online-contact-card .button {
    width: 100%;
    justify-content: center;
  }
}


.online-care-anchor {
  scroll-margin-top: 96px;
}

.online-diet-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: 100%;
  max-width: 960px;
}

.online-diet-hero-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(220, 231, 226, 0.95);
  box-shadow: 0 18px 42px rgba(24, 64, 55, 0.12);
}

.online-diet-overview {
  background: #f3f8f5;
}

.online-diet-guide {
  background: #f3f8fb;
}

.online-diet-patient-stories {
  background: #f3f8fb;
}

.online-diet-patient-stories .section-heading {
  margin-bottom: 24px;
}

.online-diet-patient-stories .naver-review-image {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: clamp(280px, 48vw, 520px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(24, 64, 55, 0.08);
}

.online-diet-patient-stories .naver-review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.online-diet-price,
.online-diet-related {
  background: #fffdf7;
}

.online-diet-price-stack {
  width: 100%;
  max-width: 960px;
}

.online-diet-price-stack .price-block,
.online-diet-form-card {
  max-width: 960px;
}

.online-diet-form-card {
  width: 100%;
  margin-top: 24px;
  color: inherit;
}

.online-diet-form-card .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--sage-dark);
  font-weight: 900;
}

.online-diet-form-card:hover {
  border-color: #bcd7cd;
  box-shadow: 0 14px 30px rgba(25, 48, 42, 0.1);
}

.online-diet-related-list {
  width: 100%;
  max-width: 960px;
}

.online-diet-social {
  background: #fff8f2;
}

.online-diet-social .sub-card-body .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--mint);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .online-diet-hero-grid,
  .online-diet-form-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .online-care-anchor {
    scroll-margin-top: 128px;
  }
}


.footer-profile-link{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid currentColor;border-radius:6px;color:inherit;font-weight:800;text-decoration:none}
.footer-profile-link:hover{text-decoration:none;opacity:.78}
.footer-related-sites{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:24px;padding-top:20px;border-top:1px solid rgba(23,72,60,.16)}
.footer-related-sites h2{margin:0;color:var(--sage-dark);font-size:15px;line-height:1.4;white-space:nowrap}
.footer-related-links{display:flex;flex-wrap:wrap;gap:8px 16px}
.footer-related-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--sage-dark);font-weight:800;text-decoration:none}
.footer-related-links a:hover{text-decoration:underline;text-underline-offset:3px}
/* medical content review */
.medical-review-section{background:#f7faf7}
.medical-review-card{display:grid;gap:12px;width:100%;max-width:960px;padding:clamp(24px,4vw,36px);border:1px solid rgba(23,72,60,.16);border-radius:8px;background:#fff}
.medical-review-card .eyebrow{margin:0;color:var(--coral)}
.medical-review-card h2{margin:0;color:var(--sage-dark);font-size:clamp(24px,4vw,32px)}
.medical-review-meta{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:4px}
.medical-review-meta p{margin:0;color:var(--ink);font-weight:800}
.medical-review-meta a{display:inline-flex;align-items:center;min-height:36px;padding:5px 12px;border:1px solid rgba(23,72,60,.32);border-radius:999px;background:#fff;color:var(--sage-dark);box-shadow:0 4px 12px rgba(23,72,60,.08);font-weight:900;line-height:1.35;text-decoration:none;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}.medical-review-meta a:hover{border-color:var(--sage-dark);background:rgba(23,72,60,.07);transform:translateY(-1px)}.medical-review-meta a:focus-visible{outline:3px solid rgba(236,106,75,.35);outline-offset:2px}
.medical-review-notice{max-width:900px;margin:4px 0 0;color:var(--muted);font-size:16px;line-height:1.75}

/* mobile-touch-targets */
@media (max-width: 900px) {
  .nav-link {
    min-height: 44px;
    padding-right: 6px;
    padding-left: 6px;
    box-sizing: border-box;
  }

  .nav-link-phone {
    padding-right: 16px;
    padding-left: 16px;
  }

  .footer-profile-link,
  .footer-related-links a,
  .admin-menu-button {
    min-height: 44px;
    box-sizing: border-box;
  }

  .admin-menu-button {
    display: inline-flex;
    align-items: center;
    padding-right: 4px;
    padding-left: 4px;
  }
}

@media (max-width: 520px) {
  nav {
    justify-content: flex-start;
    column-gap: 10px;
    row-gap: 8px;
  }
}
