:root {
  --sky-50: #f3f9ff;
  --sky-100: #e4f3fe;
  --sky-200: #c6e6fc;
  --sky-300: #8dcef8;
  --sky-500: #48acf0;
  --sky-600: #2d9fed;
  --sky-700: #167fc6;
  --navy: #15364d;
  --ink: #243b4a;
  --muted: #607988;
  --line: #d9e8f1;
  --white: #ffffff;
  --sand: #fff9f2;
  --wood: #a66f3f;
  --review: #83591c;
  --review-bg: #fff4da;
  --shadow: 0 18px 50px rgba(22, 77, 103, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--navy); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.draft-notice { background: var(--navy); color: #e9f7fd; font-size: 13px; text-align: center; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,233,239,.9); backdrop-filter: blur(14px); }
.header-row { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; color: var(--navy); white-space: nowrap; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 14px; background: var(--sky-600); color: white; }
.brand-mark svg { width: 37px; height: 37px; display: block; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
.brand-text strong { font-size: 23px; font-weight: 850; letter-spacing: -.055em; }
.brand-text small { margin-top: 5px; color: var(--sky-700); font-size: 10px; font-weight: 700; letter-spacing: .015em; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.main-nav a { color: #415965; padding: 10px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--sky-700); }
.header-cta { padding: 11px 17px !important; border-radius: 999px; color: white !important; background: var(--sky-600); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy); font-size: 22px; cursor: pointer; }

.hero { position: relative; overflow: hidden; background: linear-gradient(145deg, #f5faff 0%, #e5f3fe 52%, #ffffff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 460px; height: 460px; right: -180px; top: -170px; background: rgba(85,186,225,.13); }
.hero::after { width: 220px; height: 220px; left: -90px; bottom: -100px; background: rgba(18,110,148,.06); }
.hero-grid { min-height: 660px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-block: 78px 90px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--sky-700); font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--sky-500); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 22px; color: var(--navy); font-size: clamp(42px, 6.2vw, 74px); line-height: 1.08; letter-spacing: -.065em; }
.hero-copy { max-width: 660px; margin-bottom: 30px; color: #48616e; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.hero-copy strong { color: var(--sky-700); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sky-600); color: white; box-shadow: 0 12px 28px rgba(24,139,184,.22); }
.button-secondary { background: white; color: var(--navy); border-color: var(--line); }
.button-muted { background: #eef3f5; color: #70828b; cursor: not-allowed; }
.map-links { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px; }
.map-button { justify-content: flex-start; min-width: 154px; padding: 10px 15px; background: white; color: var(--navy); border-color: var(--line); box-shadow: 0 7px 20px rgba(22,77,103,.07); }
.map-button:hover { border-color: var(--sky-300); box-shadow: 0 12px 24px rgba(22,77,103,.11); }
.map-button img { width: 28px; height: 28px; flex: none; display: block; }
.hero-art { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero-photo { width: min(100%, 500px); aspect-ratio: 4 / 5; border-radius: 42px 42px 90px 42px; object-fit: cover; object-position: center; border: 8px solid rgba(255,255,255,.84); box-shadow: 0 28px 70px rgba(15,76,114,.18); }
.hero-brand-badge { position: absolute; right: 18px; top: 22px; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px; background: white; box-shadow: 0 14px 36px rgba(15,76,114,.16); }
.hero-brand-badge img { width: 54px; height: 54px; }
.float-card { position: absolute; padding: 13px 16px; background: rgba(255,255,255,.93); border: 1px solid white; border-radius: 14px; box-shadow: 0 12px 30px rgba(20,72,94,.11); color: var(--navy); font-size: 13px; font-weight: 800; }
.float-card.one { left: -12px; top: 82px; }
.float-card.two { right: -12px; bottom: 52px; }

.section { padding-block: 96px; }
.section-soft { background: var(--sky-50); }
.section-dark { background: var(--navy); color: #d7e9f1; }
.section-warm { background: var(--sand); }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--sky-600); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin-bottom: 15px; color: var(--navy); font-size: clamp(30px, 4.5vw, 48px); line-height: 1.23; letter-spacing: -.045em; }
.section-dark h2, .section-dark h3 { color: white; }
.lead { color: var(--muted); font-size: 18px; }
.section-dark .lead { color: #bad0da; }
.value-grid, .treatment-grid, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.treatment-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
.treatment-grid:has(> :nth-child(5):last-child) > :nth-child(-n+3) { grid-column: span 2; }
.treatment-grid:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
.card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(28,79,101,.045); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 13px; background: var(--sky-100); color: var(--sky-700); font-size: 13px; font-weight: 900; }
.card h3 { color: var(--navy); font-size: 21px; letter-spacing: -.03em; }
.card p { margin-bottom: 0; color: var(--muted); }
.treatment-card { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s, transform .2s; }
.treatment-card:hover { transform: translateY(-4px); border-color: var(--sky-300); }
.treatment-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 16px; background: linear-gradient(145deg, var(--sky-100), white); color: var(--sky-700); font-size: 23px; }
.text-link { margin-top: 20px; color: var(--sky-700); font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.story-panel { padding: 42px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #0f2c3f, #17455e); box-shadow: 0 22px 60px rgba(4,26,38,.24); }
.story-quote { margin: 0; color: white; font-size: clamp(25px, 3vw, 36px); line-height: 1.45; letter-spacing: -.04em; font-weight: 800; }
.story-note { margin-top: 28px; color: #a9c7d4; font-size: 14px; }
.check-list { display: grid; gap: 15px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: var(--sky-100); color: var(--sky-700); font-weight: 900; }
.review-chip { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: var(--review-bg); color: var(--review); font-size: 11px; font-weight: 850; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; background: white; overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; color: var(--navy); font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--sky-600); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-jump { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 50px; }
.faq-jump a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--navy); font-size: 13px; font-weight: 800; }
.faq-jump a:hover { border-color: var(--sky-300); color: var(--sky-700); }
.faq-group { margin: 0 0 55px; scroll-margin-top: 130px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.faq-group-heading h2 { margin-bottom: 0; font-size: clamp(26px, 3.5vw, 36px); }
.faq-count { white-space: nowrap; color: var(--sky-700); font-size: 13px; font-weight: 900; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer .review-chip { margin-top: 5px; }
.faq-number { color: var(--sky-700); font-size: 12px; margin-right: 8px; }
.faq-source { font-size: 13px; color: var(--sky-700); text-decoration: underline; text-underline-offset: 3px; }
.faq-intro { max-width: 780px; margin-bottom: 27px; color: var(--muted); }
.faq-search { margin: 0 0 25px; }
.faq-search label { display: block; margin-bottom: 9px; color: var(--navy); font-weight: 800; }
.faq-search input { width: min(100%, 540px); min-height: 52px; padding: 13px 17px; border: 1px solid #bcd6e5; border-radius: 14px; background: white; color: var(--navy); font: inherit; outline: none; }
.faq-search input:focus { border-color: var(--sky-700); box-shadow: 0 0 0 3px rgba(45,159,237,.15); }
.faq-search-status { min-height: 24px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.schedule-card { overflow: hidden; border-radius: var(--radius-lg); background: white; color: var(--ink); box-shadow: var(--shadow); }
.schedule-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border: 0; }
.schedule-row strong { color: var(--navy); }
.schedule-row .highlight { color: var(--sky-700); font-weight: 800; }
.address-card { min-height: 100%; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); }
.address-card h3 { font-size: 24px; }
.address-card p { color: #bad0da; }
.cta-panel { padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: var(--radius-lg); background: linear-gradient(125deg, #dff4fc, #f7fcff); }
.cta-panel h2 { margin-bottom: 8px; color: var(--navy); font-size: clamp(27px, 3.5vw, 41px); }
.cta-panel .kicker { color: var(--sky-700); }
.cta-panel p { margin-bottom: 0; color: var(--muted); }

.photo-frame { margin: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--sky-100); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; min-height: 0; flex: 1; display: block; object-fit: cover; }
.photo-frame figcaption { padding: 13px 18px; background: white; color: var(--muted); font-size: 13px; }
.clinic-gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 240px 240px; gap: 16px; }
.clinic-gallery .photo-frame:first-child { grid-row: 1 / 3; }
.clinic-gallery .photo-frame:first-child img { min-height: 0; }
.clinic-gallery .photo-frame:nth-child(2) { grid-column: 2 / 4; }
.clinic-gallery .photo-frame:nth-child(3) { grid-column: 2 / 4; }
.clinic-gallery .photo-frame img { min-height: 0; }
.exterior-card { min-height: 360px; }
.exterior-card img { height: 360px; object-position: center 58%; }

.page-hero { padding: 78px 0 66px; background: linear-gradient(145deg, var(--sky-50), white); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(39px, 5vw, 62px); }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.breadcrumbs span { margin: 0 7px; color: #9cadb6; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 58px; }
.prose p { color: var(--muted); font-size: 17px; }
.principle-row { display: grid; grid-template-columns: 110px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); }
.principle-row:last-child { border-bottom: 1px solid var(--line); }
.principle-index { color: var(--sky-500); font-size: 28px; font-weight: 900; }
.principle-row h3 { margin-bottom: 8px; color: var(--navy); font-size: 22px; }
.principle-row p { margin-bottom: 0; color: var(--muted); }
.placeholder-panel { padding: 36px; border: 1px dashed var(--sky-300); border-radius: var(--radius-md); background: var(--sky-50); }
.placeholder-panel h2 { font-size: 28px; }
.placeholder-panel p { margin: 0; color: var(--muted); }

.site-footer { padding: 54px 0 92px; background: #0b2636; color: #b7cbd5; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 36px; }
.profile-card { overflow: hidden; }
.profile-head { min-height: 500px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(145deg, #dff2ff, #f8fcfe); }
.profile-portrait { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center top; }
.profile-label { position: relative; z-index: 1; width: 100%; padding: 62px 36px 30px; background: linear-gradient(transparent, rgba(16,48,69,.9)); }
.profile-label .kicker, .profile-label h2, .profile-label p { color: white !important; }
.profile-head h2 { margin-bottom: 6px; }
.profile-body { padding: 30px 36px 36px; }
.credential-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.credential-list li { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.credential-list li:last-child { padding-bottom: 0; border: 0; }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel-link { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--navy); font-weight: 800; }
.channel-link:hover { border-color: var(--sky-300); }
.footer-title { color: white; font-size: 18px; font-weight: 800; }
.footer-list { display: grid; gap: 7px; margin-top: 14px; font-size: 14px; }
.footer-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #829ca8; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 30px), var(--content)); }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: 76px; left: 15px; right: 15px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .header-cta { margin-top: 6px; text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-block: 64px 70px; }
  .hero-art { min-height: 340px; order: -1; }
  .hero-photo { width: min(100%, 620px); aspect-ratio: 16 / 11; border-radius: 30px 30px 58px 30px; }
  .hero-brand-badge { right: 18px; top: 18px; }
  .float-card.one { left: 0; top: 40px; }
  .float-card.two { right: 0; bottom: 35px; }
  .value-grid, .treatment-grid, .info-grid, .treatment-grid:has(> :nth-child(5):last-child) { grid-template-columns: 1fr; }
  .treatment-grid:has(> :nth-child(5):last-child) > :nth-child(n) { grid-column: auto; }
  .split { grid-template-columns: 1fr; gap: 35px; }
  .section { padding-block: 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .channel-grid { grid-template-columns: 1fr; }
  .clinic-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 230px; }
  .clinic-gallery .photo-frame:first-child { grid-column: 1 / 3; grid-row: auto; }
  .clinic-gallery .photo-frame:nth-child(2) { grid-column: auto; }
  .clinic-gallery .photo-frame:nth-child(3) { grid-column: auto; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 34px 28px; }
}

@media (max-width: 600px) {
  body { padding-bottom: 68px; }
  .draft-notice { font-size: 11px; }
  .header-row { height: 68px; }
  .main-nav { top: 68px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark svg { width: 34px; height: 34px; }
  .hero-grid { padding-block: 44px 58px; }
  .hero-art { min-height: 270px; }
  .hero-photo { aspect-ratio: 4 / 3; border-width: 5px; border-radius: 24px 24px 44px 24px; }
  .hero-brand-badge { width: 58px; height: 58px; right: 10px; top: 10px; border-radius: 18px; }
  .hero-brand-badge img { width: 40px; height: 40px; }
  .float-card { padding: 10px 12px; font-size: 11px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 17px; }
  .button-row .button { flex: 1 1 140px; }
  .map-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-button { min-width: 0; }
  .map-button:last-child { grid-column: 1 / -1; }
  .section { padding-block: 62px; }
  .card { padding: 24px; }
  .principle-row { grid-template-columns: 1fr; gap: 5px; }
  .schedule-row { grid-template-columns: 1fr 1.5fr; font-size: 14px; }
  .page-hero { padding: 54px 0 46px; }
  .clinic-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .clinic-gallery .photo-frame:first-child, .clinic-gallery .photo-frame:nth-child(2), .clinic-gallery .photo-frame:nth-child(3) { grid-column: auto; }
  .clinic-gallery .photo-frame { min-height: 230px; }
  .profile-head { min-height: 430px; }
  .mobile-actions { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 68px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); box-shadow: 0 -8px 25px rgba(16,56,76,.12); }
  .mobile-actions a { display: grid; place-items: center; background: white; color: var(--navy); font-size: 14px; font-weight: 850; }
  .mobile-actions a:last-child { background: var(--sky-600); color: white; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
