:root {
  --navy-950: #06152a;
  --navy-900: #071a33;
  --navy-800: #0d2848;
  --navy-700: #143a62;
  --gold: #d8aa50;
  --gold-light: #efd393;
  --ivory: #f8f5ee;
  --paper: #fffdf9;
  --ink: #132033;
  --muted: #647083;
  --line: #e6e2d9;
  --shadow: 0 24px 70px rgba(6, 21, 42, .12);
  --radius: 4px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
section[id] { scroll-margin-top: 118px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy-900);
}
.skip-link:focus { top: 20px; }

.draft-banner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 20px;
  color: #d9e1ed;
  background: #03101f;
  font-size: 13px;
  letter-spacing: .03em;
  text-align: center;
}
.draft-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, .95);
  border-bottom: 1px solid rgba(7, 26, 51, .08);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1380px;
  height: 88px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 255px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 170, 80, .5);
  border-radius: 50%;
  background: var(--navy-900);
}
.brand-mark svg { width: 29px; height: 29px; fill: none; stroke: var(--gold-light); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-family: Georgia, "Noto Serif KR", serif; color: var(--navy-900); font-size: 21px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 4px; color: #7d8490; font-size: 10px; letter-spacing: .1em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 22px; white-space: nowrap; }
.desktop-nav a { position: relative; padding: 30px 0; color: #263449; font-size: 17px; font-weight: 650; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 22px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-phone { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.header-phone svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.header-phone span { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone small { color: #828b98; font-size: 12px; }
.header-phone strong { margin-top: 3px; color: var(--navy-900); font-family: Georgia, serif; font-size: 18px; letter-spacing: .01em; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { padding: 8px 24px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu a { display: block; padding: 15px 4px; border-bottom: 1px solid #ece9e2; font-size: 18px; font-weight: 650; }

.hero {
  position: relative;
  padding: 24px 28px 0;
  background: linear-gradient(#f4f1ea 0%, #fffdf9 100%);
}
.hero-image-wrap {
  position: relative;
  max-width: 1500px;
  min-height: min(700px, calc(100vh - 142px));
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--navy-900);
  background-image: linear-gradient(rgba(7,26,51,.9), rgba(7,26,51,.94)), url("assets/navy-texture.png");
  background-size: cover;
  box-shadow: var(--shadow);
}
.hero-image { position: absolute; top: 0; right: 0; width: 55%; height: 100%; object-fit: cover; object-position: center 34%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,21,42,1) 0%, rgba(6,21,42,.99) 36%, rgba(6,21,42,.86) 48%, rgba(6,21,42,.16) 72%, rgba(6,21,42,0) 100%), linear-gradient(0deg, rgba(3, 15, 31, .3) 0%, transparent 37%); }
.hero-content { position: absolute; z-index: 2; top: 50%; left: 6.5%; max-width: 590px; color: #fff; transform: translateY(-50%); }
.hero-brand-lockup { margin-bottom: 20px; display: flex; align-items: center; gap: 13px; }
.hero-brand-mark { width: 59px; height: 59px; display: grid; place-items: center; flex: 0 0 59px; border: 1px solid rgba(239,211,147,.55); border-radius: 50%; }
.hero-brand-mark svg { width: 38px; height: 38px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-brand-lockup > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hero-brand-lockup strong { color: #fff; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(34px, 2.2vw, 40px); font-weight: 700; letter-spacing: -.025em; text-shadow: 0 3px 18px rgba(0,0,0,.28); }
.hero-brand-lockup small { margin-top: 7px; color: #bac4d2; font-size: 12px; letter-spacing: .14em; }
.hero-kicker { margin-top: 9px; padding-top: 8px; color: var(--gold-light); border-top: 1px solid rgba(239,211,147,.3); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero-content h1 { margin: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(30px, 3vw, 51px); font-weight: 500; line-height: 1.25; letter-spacing: -.04em; text-shadow: 0 3px 20px rgba(0,0,0,.3); }
.hero-content h1 span { color: #fff3d2; }
.hero-content p { margin: 14px 0 23px; color: #e3eaf3; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 15px; font-weight: 750; transition: transform .2s ease, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-naver-mark { width: 21px; height: 21px; display: inline-grid; place-items: center; color: #fff; border-radius: 2px; background: #03a94d; font-family: Arial, sans-serif; font-size: 13px; font-weight: 900; }
.button-gold { color: var(--navy-950); background: linear-gradient(135deg, #efd393, #c7953d); box-shadow: 0 12px 30px rgba(201, 151, 61, .2); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); backdrop-filter: blur(7px); }
.button-outline { color: var(--navy-900); border-color: #bbc3cc; background: transparent; }
.hero-location { position: absolute; z-index: 2; right: 3%; bottom: 22px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; color: #fff; background: rgba(6,21,42,.72); backdrop-filter: blur(8px); font-size: 13px; }
.pin { width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.hero-info {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  min-height: 132px;
  margin: -4px auto 0;
  padding: 28px 42px;
  display: grid;
  grid-template-columns: 1fr 1fr .95fr;
  gap: 0;
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 20px 60px rgba(6,21,42,.18);
}
.hero-info-item { padding: 3px 36px; border-right: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: center; }
.hero-info-item:first-child { padding-left: 0; }
.hero-info-item:last-child { padding-right: 0; border-right: 0; }
.info-label { color: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .09em; }
.hero-info-item strong { margin-top: 2px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; letter-spacing: .03em; }
.hero-info-item small { margin-top: 2px; color: #b8c2cf; font-size: 13px; }
.hero-info-call a { font-family: Georgia, serif; font-size: 27px; color: #fff; }

.section { padding: 120px max(28px, calc((100% - var(--container)) / 2)); }
.section-heading { margin-bottom: 48px; }
.section-heading.centered { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: #b28332; font-size: 12px; font-weight: 850; letter-spacing: .2em; }
.section-heading h2, .doctor-copy h2, .facility-heading h2, .location-copy h2 { margin: 0; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(33px, 3vw, 48px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

.specialties { padding-top: 138px; background: var(--paper); }
.specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.specialty-card { position: relative; min-height: 390px; padding: 38px 30px 32px; overflow: hidden; border: 1px solid var(--line); background: #fffefa; cursor: pointer; transition: transform .3s, border-color .3s, box-shadow .3s, background .3s; }
.specialty-card::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 150px; height: 150px; border: 1px solid rgba(216,170,80,.26); border-radius: 50%; transition: transform .5s; }
.specialty-card:hover { transform: translateY(-8px); border-color: rgba(216,170,80,.7); box-shadow: 0 24px 60px rgba(6,21,42,.1); background: #fff; }
.specialty-card:hover::after { transform: scale(1.45); }
.specialty-card:focus-visible { outline: 3px solid rgba(216,170,80,.55); outline-offset: 4px; }
.specialty-card.is-selected { border-color: var(--gold); box-shadow: 0 20px 50px rgba(6,21,42,.11); background: #fff; }
.line-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #f2eee5; }
.line-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-number { position: absolute; top: 30px; right: 26px; color: #d8d2c7; font-family: Georgia, serif; font-size: 14px; }
.specialty-card h3 { margin: 28px 0 14px; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 25px; font-weight: 750; line-height: 1.35; letter-spacing: -.03em; }
.specialty-card p { margin: 0; color: #667183; font-size: 16px; line-height: 1.72; }
.specialty-link { position: absolute; bottom: 31px; left: 30px; color: #9d742d; font-size: 15px; font-weight: 750; }
.specialty-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.specialty-card:hover .specialty-link span { transform: translateX(4px); }

.disease-guide { margin-top: 80px; padding-top: 68px; border-top: 1px solid var(--line); }
.disease-guide-heading { max-width: 790px; margin-bottom: 31px; }
.disease-guide-heading h3 { margin: 0; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 35px; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.disease-guide-heading p { margin: 13px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.disease-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.disease-guide-card { overflow: hidden; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.disease-guide-card:hover, .disease-guide-card[open] { border-color: rgba(216,170,80,.68); box-shadow: 0 18px 45px rgba(6,21,42,.07); }
.disease-guide-card summary { position: relative; min-height: 118px; padding: 24px 58px 24px 24px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; cursor: pointer; list-style: none; }
.disease-guide-card summary::-webkit-details-marker { display: none; }
.disease-guide-card summary::after { content: "+"; position: absolute; top: 31px; right: 24px; width: 28px; height: 28px; display: grid; place-items: center; color: #9c742f; border: 1px solid #d9c79f; border-radius: 50%; font-family: Georgia, serif; font-size: 20px; font-weight: 300; line-height: 1; transition: transform .2s, background .2s; }
.disease-guide-card[open] summary::after { color: #fff; background: var(--navy-900); border-color: var(--navy-900); transform: rotate(45deg); }
.disease-guide-number { padding-top: 4px; color: #a5782e; font-family: Georgia, serif; font-size: 15px; }
.disease-guide-card summary > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.disease-guide-card summary strong { color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 22px; font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
.disease-guide-card summary small { margin-top: 7px; color: #737e8d; font-size: 15px; line-height: 1.55; }
.disease-guide-body { padding: 25px 24px 28px; border-top: 1px solid #eeeae2; background: #fffdf9; }
.disease-guide-lead { margin: 0 0 20px; color: #4f5b6c; font-size: 16px; line-height: 1.85; }
.disease-guide-points { display: grid; gap: 10px; }
.disease-guide-points > div { padding: 15px 16px; border-left: 3px solid #d8c6a1; background: #f7f4ed; }
.disease-guide-points strong { display: block; color: var(--navy-800); font-size: 16px; }
.disease-guide-points p { margin: 4px 0 0; color: #5d6878; font-size: 15px; line-height: 1.75; }
.disease-guide-points .urgent { border-left-color: #c8755d; background: #fff4ef; }
.disease-guide-points .urgent strong { color: #914b3b; }
.disease-guide-note { margin: 19px 0 0; color: #7b8490; font-size: 14px; line-height: 1.7; }

.doctor-section { background: var(--ivory); }
.doctor-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: center; }
.doctor-portrait { position: relative; height: 650px; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.doctor-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.doctor-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,16,32,.76), transparent 42%); }
.doctor-caption { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; color: #fff; }
.doctor-caption strong { display: block; font-family: Georgia, "Noto Serif KR", serif; font-size: 30px; font-weight: 500; }
.doctor-caption span { color: #d9e0e8; font-size: 15px; }
.doctor-copy h2 { font-size: clamp(32px, 3vw, 44px); }
.doctor-intro { max-width: 650px; margin: 22px 0 30px; color: #5f6978; font-size: 18px; }
.credentials { padding-top: 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 1px solid #d9d4c9; }
.credentials ul { margin: 0; padding: 0; list-style: none; }
.credentials li { position: relative; padding: 6px 0 6px 13px; color: #354154; font-size: 15px; line-height: 1.7; }
.credentials li::before { content: ""; position: absolute; top: 15px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.text-link { display: inline-block; margin-top: 28px; padding-bottom: 5px; border-bottom: 1px solid #b99961; color: #8c682b; font-size: 15px; font-weight: 750; }
.text-link span { display: inline-block; margin-left: 7px; }

.trust-strip { padding: 0 28px; background: var(--ivory); }
.trust-inner { max-width: var(--container); min-height: 145px; margin: 0 auto; padding: 28px 38px; display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; align-items: center; gap: 30px; color: #fff; background: var(--navy-900); }
.trust-title span { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 27px; letter-spacing: .13em; }
.trust-title strong { display: block; margin-top: 2px; font-size: 15px; }
.trust-badge { padding-left: 28px; display: flex; align-items: center; gap: 14px; border-left: 1px solid rgba(255,255,255,.16); }
.medal { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: var(--navy-900); border-radius: 50%; background: var(--gold-light); font-family: Georgia, serif; font-size: 23px; font-weight: 700; }
.medal.check { font-family: sans-serif; font-size: 20px; }
.trust-badge div { display: flex; flex-direction: column; }
.trust-badge small { color: #b8c2ce; font-size: 12px; }
.trust-badge strong { font-family: Georgia, "Noto Serif KR", serif; font-size: 19px; font-weight: 500; }
.trust-inner > p { margin: 0; color: #9ba8b7; font-size: 12px; line-height: 1.65; }

.tests-section { position: relative; overflow: hidden; color: #fff; background-color: var(--navy-950); background-image: linear-gradient(rgba(6,21,42,.84), rgba(6,21,42,.92)), url("assets/navy-texture.png"); background-size: cover; }
.tests-section::before { content: ""; position: absolute; top: -200px; right: -170px; width: 500px; height: 500px; border: 1px solid rgba(216,170,80,.16); border-radius: 50%; }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: #aeb9c8; }
.test-filter-status { position: relative; min-height: 80px; margin: -18px 0 24px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(216,170,80,.25); background: rgba(255,255,255,.045); }
.test-filter-status > div { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 11px; }
.test-filter-status small { grid-column: 1 / 3; color: #9eabba; font-size: 12px; font-weight: 750; letter-spacing: .1em; }
.test-filter-status strong { color: var(--gold-light); font-family: Georgia, "Noto Serif KR", serif; font-size: 21px; font-weight: 500; }
.test-filter-status span { color: #929faf; font-size: 12px; }
.test-filter-status p { grid-column: 1 / 3; margin: 3px 0 0; color: #aeb9c8; font-size: 14px; line-height: 1.6; }
.test-filter-status button { min-height: 40px; padding: 0 16px; color: #f3dfad; border: 1px solid rgba(216,170,80,.48); background: transparent; cursor: pointer; font-size: 14px; font-weight: 720; }
.test-filter-status button:hover, .test-filter-status button:focus-visible { color: var(--navy-950); background: var(--gold-light); }
.test-filter-status button[hidden] { display: none; }
.test-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.test-grid.is-single-result { grid-template-columns: 1fr; }
.test-card { min-width: 0; min-height: 470px; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(185px, .84fr); overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); transition: border-color .25s, background .25s; }
.test-card[hidden] { display: none; }
.test-card:hover { border-color: rgba(216,170,80,.42); background: rgba(255,255,255,.045); }
.test-copy { min-width: 0; padding: 31px 27px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.test-number { color: var(--gold); font-family: Georgia, serif; font-size: 14px; }
.test-card h3 { margin: 21px 0 11px; font-family: Georgia, "Noto Serif KR", serif; font-size: 23px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; }
.test-card p { margin: 0; color: #c1cad5; font-size: 16px; line-height: 1.82; }
.test-tag { margin-top: 20px; display: inline-block; padding: 6px 10px; color: #e0cf9f; border: 1px solid rgba(216,170,80,.3); border-radius: 30px; font-size: 12px; letter-spacing: .02em; }
.test-card details { width: 100%; margin-top: auto; padding-top: 21px; }
.test-card summary { position: relative; padding: 13px 28px 13px 0; color: #f2f5f8; border-top: 1px solid rgba(255,255,255,.14); cursor: pointer; list-style: none; font-size: 15px; font-weight: 720; }
.test-card summary::-webkit-details-marker { display: none; }
.test-card summary::after { content: "+"; position: absolute; top: 9px; right: 0; color: var(--gold-light); font-family: Georgia, serif; font-size: 19px; font-weight: 300; transition: transform .2s; }
.test-card details[open] summary::after { transform: rotate(45deg); }
.test-facts { margin: 0; }
.test-facts div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.09); }
.test-facts dt { color: #e0c988; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.test-facts dd { margin: 5px 0 0; color: #bdc6d1; font-size: 15px; line-height: 1.75; }
.test-device { position: relative; min-width: 0; min-height: 430px; display: grid; place-items: center; overflow: hidden; border-left: 1px solid rgba(255,255,255,.16); background: #fbfaf7; }
.test-device img { width: 100%; height: 100%; padding: 20px 12px 34px; object-fit: contain; filter: none; transform: none; }
.test-device > span { position: absolute; z-index: 3; right: 12px; bottom: 11px; padding: 5px 8px; color: #526071; border: 1px solid #d7d4cd; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.test-device-dual { padding: 28px 7px 42px; display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: 4px; align-items: center; }
.test-device-dual img { position: static; width: 100%; height: auto; max-height: 355px; padding: 0; object-fit: contain; }
.test-device-dual img:first-child, .test-device-dual img:nth-child(2) { z-index: auto; }
.test-device-wide img { padding-right: 8px; padding-left: 8px; }
.test-device-cerad img { padding: 24px 15px 40px; }
.test-device-abr img { padding: 18px 10px 38px; }
.medical-note { margin: 25px 0 0; color: #8996a8; font-size: 13px; }

.certificates-section { background: #f5f1e8; }
.certificate-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.certificate-toolbar p { margin: 0; color: #79808c; font-size: 14px; }
.lock-icon { width: 22px; height: 22px; margin-right: 7px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: #7c925f; font-size: 12px; }
.certificate-controls { display: flex; gap: 7px; }
.certificate-controls button { width: 41px; height: 41px; border: 1px solid #cfc8bc; background: transparent; cursor: pointer; }
.certificate-controls button:hover { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.certificate-controls button[aria-pressed="true"] { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.certificate-track { display: flex; gap: 18px; overflow: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.certificate-track::-webkit-scrollbar { display: none; }
.certificate-card { min-width: 0; flex: 0 0 calc((100% - 36px) / 3); padding: 0; scroll-snap-align: start; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.certificate-image { position: relative; height: 390px; display: block; overflow: hidden; border: 1px solid #ded7ca; background: #e9e5dc; }
.certificate-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s, filter .3s; }
.certificate-card-media .certificate-image img { padding: 22px; object-fit: contain; background: #eee9df; }
.certificate-card-object .certificate-image { background: #fff; }
.certificate-card-object .certificate-image img { padding: 20px; object-fit: contain; background: #fff; }
.certificate-image::after { content: ""; position: absolute; inset: 0; background: rgba(6,21,42,.55); opacity: 0; transition: opacity .25s; }
.certificate-image i { position: absolute; z-index: 2; top: 50%; left: 50%; padding: 9px 14px; color: #fff; border: 1px solid rgba(255,255,255,.7); transform: translate(-50%, -40%); opacity: 0; font-size: 13px; font-style: normal; transition: opacity .25s, transform .25s; }
.certificate-card:hover .certificate-image img { transform: scale(1.035); }
.certificate-card:hover .certificate-image::after, .certificate-card:hover .certificate-image i { opacity: 1; }
.certificate-card:hover .certificate-image i { transform: translate(-50%, -50%); }
.certificate-meta { min-height: 104px; padding: 20px 4px; display: flex; flex-direction: column; border-bottom: 1px solid #cfc8bc; }
.certificate-meta small { color: #a77b30; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.certificate-meta strong { margin-top: 7px; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 19px; font-weight: 500; line-height: 1.45; }

.facility-section { background: var(--paper); }
.facility-heading { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.facility-heading p { margin: 0; color: var(--muted); font-size: 15px; text-align: right; }
.facility-gallery { padding: 12px 12px 0; columns: 2; column-gap: 12px; background: var(--navy-950); box-shadow: 0 28px 80px rgba(6,21,42,.13); }
.facility-photo { position: relative; width: 100%; margin: 0 0 12px; padding: 0; display: inline-block; overflow: hidden; break-inside: avoid; border: 0; background: var(--navy-900); cursor: zoom-in; text-align: left; }
.facility-photo img { width: 100%; height: auto; filter: none; transform: none; }
.facility-photo-consultation img { transform: rotate(-3deg) scale(1.075); transform-origin: center; }
.facility-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,19,38,.86) 0%, rgba(4,19,38,.21) 34%, rgba(4,19,38,0) 68%); transition: background .3s; }
.facility-photo::before { content: "+"; position: absolute; z-index: 3; top: 17px; right: 17px; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(6,21,42,.32); backdrop-filter: blur(7px); font-size: 18px; font-weight: 300; opacity: .82; transition: transform .35s, opacity .35s; }
.facility-photo:hover::after { background: linear-gradient(0deg, rgba(4,19,38,.91) 0%, rgba(4,19,38,.24) 38%, rgba(4,19,38,0) 72%); }
.facility-photo:hover::before { opacity: 1; transform: rotate(90deg); }
.facility-photo-copy { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; display: flex; flex-direction: column; color: #fff; }
.facility-photo-copy small { margin-bottom: 4px; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.facility-photo-copy strong { font-family: Georgia, "Noto Serif KR", serif; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.exam-room-heading { margin: 62px 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.exam-room-heading small { color: #b28332; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.exam-room-heading h3 { margin: 5px 0 0; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.exam-room-controls { display: flex; gap: 7px; }
.exam-room-controls button { width: 41px; height: 41px; border: 1px solid #cfc8bc; background: transparent; cursor: pointer; }
.exam-room-controls button:hover { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.exam-room-controls button[aria-pressed="true"] { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.exam-room-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.exam-room-track::-webkit-scrollbar { display: none; }
.exam-room-card { min-width: 0; flex: 0 0 calc((100% - 28px) / 3); padding: 0; display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; border: 0; background: var(--navy-900); cursor: zoom-in; text-align: left; }
.exam-room-image { height: 430px; display: grid; place-items: center; overflow: hidden; background: #ece9e2; }
.exam-room-image img { width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; }
.exam-room-copy { min-height: 86px; padding: 18px 20px; display: flex; flex-direction: column; color: #fff; border-top: 1px solid rgba(216,170,80,.38); }
.exam-room-copy small { color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.exam-room-copy strong { margin-top: 4px; font-family: Georgia, "Noto Serif KR", serif; font-size: 18px; font-weight: 500; }
.facility-note { margin: 14px 0 0; color: #8a929d; font-size: 13px; text-align: right; }

.community-section { background: var(--ivory); }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.board-card { padding: 35px 38px; border: 1px solid #ddd8ce; background: #fffdf9; }
.board-card-head { padding-bottom: 25px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--navy-900); }
.board-card-head span { color: #b58636; font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.board-card-head h3 { margin: 3px 0 0; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 27px; font-weight: 500; }
.board-card-head button, .board-more { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 39px; color: var(--navy-900); border: 1px solid #c9c4ba; border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; }
.board-card-head button:hover, .board-more:hover, .board-more:focus-visible { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.board-card ul { margin: 0; padding: 0; list-style: none; }
.board-card li { border-bottom: 1px solid #e6e2da; }
.board-card li button { width: 100%; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.board-card li span { color: #344054; font-size: 16px; }
.board-card time { flex: 0 0 auto; color: #9ba0a8; font-size: 12px; }
.board-card li button:hover span { color: #a77b30; }
.board-card li a { width: 100%; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.board-card li a:hover span, .board-card li a:focus-visible span { color: #a77b30; }
.board-empty { padding: 25px 0; color: #89919c; font-size: 15px; line-height: 1.7; }

.location-section { padding: 120px max(28px, calc((100% - 1400px) / 2)); background: #fff; }
.location-grid { min-height: 590px; display: grid; grid-template-columns: .82fr 1.18fr; }
.location-copy { padding: 68px 70px; color: #fff; background: var(--navy-900); }
.location-copy h2 { color: #fff; font-size: clamp(34px, 3vw, 47px); }
.location-copy address { margin-top: 25px; color: #d9e2ed; font-size: 18px; font-style: normal; line-height: 1.8; }
.transit-list { margin: 30px 0; border-top: 1px solid rgba(255,255,255,.15); }
.transit-list div { padding: 14px 0; display: flex; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.transit-list span { width: 64px; color: var(--gold-light); font-size: 14px; }
.transit-list strong { font-size: 15px; font-weight: 500; }
.location-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.location-copy .button-outline { color: #fff; border-color: rgba(255,255,255,.3); }
.map-card { position: relative; min-height: 590px; overflow: hidden; background: #eae8e1; }
.map-photo-card { position: relative; min-height: 590px; padding: 24px; display: grid; place-items: center; overflow: hidden; border: 0; background: #ece9e2; cursor: zoom-in; }
.map-photo-card img { width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; }
.map-photo-card > span { position: absolute; right: 24px; bottom: 24px; padding: 13px 17px; display: flex; flex-direction: column; align-items: flex-start; color: #fff; background: rgba(6,21,42,.92); box-shadow: 0 12px 32px rgba(6,21,42,.2); }
.map-photo-card > span small { color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.map-photo-card > span strong { margin-top: 3px; font-size: 14px; font-weight: 650; }
.map-grid-lines { position: absolute; inset: 0; opacity: .36; background-image: linear-gradient(rgba(7,26,51,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(7,26,51,.06) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(-7deg) scale(1.3); }
.map-card::before { content: ""; position: absolute; top: -5%; left: 32%; width: 84px; height: 120%; background: #d3d0c7; transform: rotate(17deg); box-shadow: inset 0 0 0 18px #f2f0ea; }
.map-card::after { content: ""; position: absolute; top: 42%; left: -5%; width: 110%; height: 72px; background: #d8d5cc; transform: rotate(-9deg); box-shadow: inset 0 0 0 15px #f4f2ed; }
.road { position: absolute; z-index: 2; color: #979991; font-size: 10px; letter-spacing: .08em; }
.road-main { top: 38%; left: 48%; transform: rotate(17deg); }
.road-side { top: 51%; left: 19%; transform: rotate(-9deg); }
.station { position: absolute; z-index: 4; top: 49%; left: 31%; display: grid; grid-template-columns: 42px auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 12px 15px; border-radius: 2px; background: rgba(255,255,255,.93); box-shadow: 0 12px 35px rgba(7,26,51,.14); }
.station > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: #e06e45; font-family: Georgia, serif; font-size: 20px; }
.station strong { color: var(--navy-900); font-size: 14px; }
.station small { color: #82868b; font-size: 9px; }
.clinic-pin { position: absolute; z-index: 5; top: 25%; right: 9%; padding: 17px 20px 17px 48px; color: #fff; background: var(--navy-900); box-shadow: 0 18px 45px rgba(7,26,51,.25); }
.clinic-pin::after { content: ""; position: absolute; bottom: -10px; left: 27px; border-width: 10px 8px 0; border-style: solid; border-color: var(--navy-900) transparent transparent; }
.clinic-pin strong { display: block; font-size: 14px; }
.clinic-pin small { display: block; color: #bfc8d4; font-size: 9px; }
.pin-pulse { position: absolute; top: 23px; left: 22px; width: 12px; height: 12px; border: 3px solid var(--gold); border-radius: 50%; }
.pin-pulse::after { content: ""; position: absolute; inset: -8px; border: 1px solid var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.map-caption { position: absolute; z-index: 4; right: 20px; bottom: 18px; color: #878b8f; font-size: 9px; }

.contact-cta { padding: 0 28px 85px; background: #fff; }
.contact-cta-inner { max-width: var(--container); min-height: 205px; margin: 0 auto; padding: 44px 55px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid #bf9d61; border-bottom: 1px solid #bf9d61; }
.contact-cta-inner > div:first-child span { color: #a77b30; font-size: 14px; font-weight: 750; }
.contact-cta h2 { margin: 8px 0 0; color: var(--navy-900); font-family: "Noto Serif KR", "Nanum Myeongjo", AppleMyungjo, Georgia, serif; font-size: clamp(30px, 2.2vw, 36px); font-weight: 700; line-height: 1.35; letter-spacing: -.045em; text-wrap: balance; }
.cta-buttons { display: flex; gap: 9px; }
.cta-buttons a, .cta-buttons button { min-width: 170px; padding: 16px 18px; display: flex; flex-direction: column; align-items: flex-start; border: 0; color: #fff; background: var(--navy-900); cursor: pointer; }
.cta-buttons .cta-naver { background: #03a94d; }
.cta-buttons .cta-kakao { color: #241f12; background: #fee500; }
.cta-buttons .cta-inquiry { background: #356474; }
.cta-buttons small { opacity: .96; font-size: 12px; font-weight: 700; }
.cta-buttons strong { margin-top: 3px; font-family: Georgia, "Noto Serif KR", serif; font-size: 17px; font-weight: 700; }

.site-footer { padding: 52px 28px 115px; color: #8e9aaa; background: #041326; }
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.6fr .8fr; gap: 60px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; font-family: Georgia, "Noto Serif KR", serif; font-size: 21px; font-weight: 500; }
.footer-brand span { margin-top: 7px; color: #8290a3; font-size: 10px; letter-spacing: .12em; }
.footer-info { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 3px 20px; font-size: 13px; }
.footer-info p { margin: 0; }
.footer-info span { margin-right: 6px; color: #c5ccd5; }
.footer-info a { color: #c5ccd5; }
.footer-info .footer-note { flex: 0 0 100%; margin-top: 12px; color: #637083; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.footer-links button { padding: 0; border: 0; color: #9ba6b4; background: transparent; cursor: pointer; font-size: 12px; }
.footer-links small { margin-top: 16px; color: #6d7a8d; font-size: 11px; }

.quick-rail { position: fixed; z-index: 80; right: 20px; top: 50%; width: 70px; overflow: hidden; border: 1px solid #ddd8ce; background: #fff; box-shadow: 0 13px 36px rgba(6,21,42,.14); transform: translateY(-42%); }
.quick-rail a, .quick-rail button { width: 100%; min-height: 69px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-bottom: 1px solid #ebe7df; background: #fff; cursor: pointer; }
.quick-rail a:hover, .quick-rail button:hover { background: #f7f4ed; }
.quick-rail small { color: #4e5968; font-size: 11px; }
.quick-icon { font-family: Georgia, serif; color: var(--navy-800); font-size: 18px; font-style: normal; }
.quick-icon.naver { color: #03a94d; font-family: Arial, sans-serif; font-weight: 900; }
.quick-icon.kakao { color: #36231c; font-family: Arial, sans-serif; font-weight: 900; }
.mobile-bottom { display: none; }

.modal, .lightbox { position: fixed; z-index: 1000; inset: 0; padding: 24px; place-items: center; }
.modal:not([hidden]), .lightbox:not([hidden]) { display: grid; }
.modal-backdrop, .lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,10,21,.78); backdrop-filter: blur(7px); }
.modal-panel { position: relative; z-index: 2; width: min(620px, 100%); max-height: calc(100vh - 48px); padding: 42px; overflow: auto; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-close, .lightbox-close { position: absolute; z-index: 3; top: 15px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 27px; font-weight: 200; }
.modal-panel h2 { margin: 0; color: var(--navy-900); font-family: Georgia, "Noto Serif KR", serif; font-size: 31px; font-weight: 500; }
.modal-panel > p { margin: 9px 0 25px; color: var(--muted); font-size: 15px; }
.modal-panel form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-panel label { color: #414b59; font-size: 14px; font-weight: 700; }
.modal-panel label > small { color: #8a929d; font-size: 12px; font-weight: 500; }
.modal-panel input, .modal-panel textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #d7d4cd; border-radius: 0; outline: 0; background: #fff; font-size: 15px; font-weight: 400; resize: vertical; }
.modal-panel input:focus, .modal-panel textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,170,80,.1); }
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.checkbox input { width: 16px; margin: 0; }
.form-submit { width: 100%; margin-top: 4px; }
.preview-form-note { color: #a06d35; font-size: 12px; text-align: center; }
.inquiry-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inquiry-lookup-link { width: 100%; margin-top: 15px; padding: 10px; color: #6a7481; border: 0; border-bottom: 1px solid #b8afa0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; }
.inquiry-lookup-link:hover, .inquiry-lookup-link:focus-visible { color: var(--navy-900); }
.inquiry-success { padding: 26px; border: 1px solid #d8c6a1; background: #fffdf8; text-align: center; }
.inquiry-success > span { color: #59687a; font-size: 15px; }
.inquiry-success p { margin: 7px 0 12px; color: #59687a; font-size: 14px; }
.inquiry-success strong { margin-bottom: 18px; display: block; color: var(--navy-900); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .03em; }
.inquiry-success .button { width: 100%; }
.inquiry-lookup-result { margin-top: 20px; padding: 20px; border-left: 4px solid var(--gold); background: #fffdf8; color: #4d5968; }
.inquiry-lookup-result h3 { margin: 0 0 9px; color: var(--navy-900); font-size: 19px; }
.inquiry-lookup-result p { margin: 6px 0; font-size: 15px; line-height: 1.7; }
.inquiry-lookup-result .lookup-status { color: #9b6f29; font-weight: 800; }
.inquiry-lookup-result .lookup-reply { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e0d8c9; white-space: pre-wrap; }
.lightbox-panel { position: relative; z-index: 2; width: min(880px, 100%); max-height: calc(100vh - 48px); padding: 58px 24px 24px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; color: #fff; background: var(--navy-950); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.lightbox-panel img { width: 100%; max-height: calc(100vh - 165px); object-fit: contain; background: #e7e2d8; }
.lightbox-panel > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.lightbox-panel strong { font-family: Georgia, "Noto Serif KR", serif; font-size: 17px; font-weight: 500; }
.lightbox-panel small { color: #9aa7b8; font-size: 12px; }
.lightbox-close { color: #fff; }
.toast { position: fixed; z-index: 1100; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 13px 18px; color: #fff; border: 1px solid rgba(255,255,255,.16); background: rgba(6,21,42,.95); box-shadow: 0 12px 40px rgba(0,0,0,.25); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: 14px; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1250px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 16px; }
  .header-phone { display: none; }
  .specialty-card { min-height: 410px; }
  .doctor-grid { gap: 55px; }
  .location-copy { padding: 55px 45px; }
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .header-phone { display: flex; margin-left: auto; }
  .menu-toggle { display: block; }
  .hero-image-wrap { min-height: 610px; }
  .hero-image { width: 58%; }
  .hero-content { max-width: 460px; }
  .hero-info { max-width: calc(100% - 40px); padding: 25px 28px; }
  .hero-info-item { padding: 3px 22px; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .specialty-card { min-height: 360px; }
  .disease-guide-grid { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: .85fr 1.15fr; gap: 38px; }
  .doctor-portrait { height: 600px; }
  .credentials { grid-template-columns: 1fr; gap: 0; }
  .trust-inner { grid-template-columns: .8fr 1fr 1fr; }
  .trust-inner > p { display: none; }
  .test-grid { grid-template-columns: 1fr; }
  .test-card { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .certificate-card { flex: 0 0 calc(50% - 9px); }
  .exam-room-card { flex-basis: calc(50% - 7px); }
  .location-grid { grid-template-columns: .9fr 1.1fr; }
  .contact-cta-inner { align-items: flex-start; flex-direction: column; }
  .quick-rail { display: none; }
  .mobile-bottom { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; height: 69px; display: grid; grid-template-columns: repeat(4, 1fr); color: #fff; background: var(--navy-900); box-shadow: 0 -6px 25px rgba(0,0,0,.15); }
  .mobile-bottom a, .mobile-bottom button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-right: 1px solid rgba(255,255,255,.12); color: #fff; background: transparent; cursor: pointer; font-size: 11px; }
  .mobile-bottom span { font-family: Georgia, serif; font-size: 18px; }
  .mobile-bottom span.naver { color: #46df87; font-family: Arial, sans-serif; font-weight: 900; }
  .mobile-bottom span.kakao { color: #ffe044; font-family: Arial, sans-serif; font-weight: 900; }
}

@media (max-width: 760px) {
  section[id] { scroll-margin-top: 0; }
  body { padding-bottom: 68px; }
  .draft-banner { min-height: 31px; padding: 5px 12px; font-size: 11px; }
  .header-inner { height: 70px; padding: 0 18px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 8px; }
  .header-phone { display: none; }
  .hero { padding: 12px 0 0; }
  .hero-image-wrap { min-height: 0; overflow: visible; background: var(--navy-900); box-shadow: none; }
  .hero-image { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center 29%; }
  .hero-shade { top: 0; bottom: auto; height: min(118vw, 620px); background: linear-gradient(0deg, rgba(7,26,51,.64) 0%, rgba(7,26,51,0) 36%); }
  .hero-content { position: relative; top: auto; left: auto; max-width: none; margin-top: 0; padding: 28px 21px 34px; background: var(--navy-900); transform: none; }
  .hero-brand-lockup { margin-bottom: 18px; }
  .hero-brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .hero-brand-mark svg { width: 31px; height: 31px; }
  .hero-brand-lockup strong { font-size: 26px; }
  .hero-brand-lockup small { font-size: 9px; }
  .hero-kicker { margin-top: 7px; padding-top: 7px; font-size: 9px; letter-spacing: .13em; }
  .hero-content h1 { font-size: 31px; }
  .hero-content p { margin: 12px 0 20px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-height: 50px; padding: 0 14px; font-size: 14px; }
  .hero-location { position: relative; right: auto; bottom: auto; padding: 13px 20px; justify-content: center; color: #bfc9d6; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-900); font-size: 12px; }
  .hero-info { max-width: none; min-height: 0; margin: 0; padding: 0 20px 20px; grid-template-columns: 1fr 1fr; background: var(--navy-900); box-shadow: none; }
  .hero-info-item { padding: 17px 14px; border-top: 1px solid rgba(255,255,255,.14); border-right: 0; }
  .hero-info-item:first-child { padding-left: 14px; border-right: 1px solid rgba(255,255,255,.14); }
  .hero-info-item strong { font-size: 18px; }
  .hero-info-item small { font-size: 11px; }
  .hero-info-call { grid-column: 1 / 3; align-items: center; padding: 17px; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-info-call a { font-size: 23px; }
  .section { padding: 80px 20px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .doctor-copy h2, .facility-heading h2, .location-copy h2 { font-size: 31px; }
  .section-heading p { font-size: 16px; }
  .specialties { padding-top: 85px; }
  .specialty-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .specialty-card { min-height: 365px; padding: 24px 18px; }
  .line-icon { width: 46px; height: 46px; }
  .line-icon svg { width: 31px; height: 31px; }
  .card-number { top: 21px; right: 17px; }
  .specialty-card h3 { margin-top: 22px; font-size: 20px; }
  .specialty-card p { font-size: 14px; }
  .specialty-link { bottom: 22px; left: 18px; font-size: 13px; }
  .disease-guide { margin-top: 60px; padding-top: 52px; }
  .disease-guide-heading { margin-bottom: 24px; }
  .disease-guide-heading h3 { font-size: 28px; }
  .disease-guide-heading p { font-size: 16px; }
  .disease-guide-grid { grid-template-columns: 1fr; gap: 10px; }
  .disease-guide-card summary { min-height: 0; padding: 22px 52px 22px 18px; grid-template-columns: 34px 1fr; gap: 10px; }
  .disease-guide-card summary::after { top: 24px; right: 17px; }
  .disease-guide-card summary strong { font-size: 20px; }
  .disease-guide-card summary small { font-size: 15px; }
  .disease-guide-body { padding: 22px 18px 24px; }
  .disease-guide-lead { font-size: 16px; }
  .disease-guide-points strong { font-size: 16px; }
  .disease-guide-points p { font-size: 15px; }
  .disease-guide-note { font-size: 13px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 40px; }
  .doctor-portrait { height: 480px; }
  .doctor-copy h2 br { display: none; }
  .doctor-intro { font-size: 16px; }
  .credentials li { font-size: 14px; }
  .trust-strip { padding: 0; }
  .trust-inner { padding: 29px 20px; grid-template-columns: 1fr 1fr; gap: 23px 10px; }
  .trust-title { grid-column: 1 / 3; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .trust-title span { font-size: 23px; }
  .trust-badge { padding-left: 0; border-left: 0; gap: 8px; }
  .medal { width: 36px; height: 36px; flex-basis: 36px; font-size: 18px; }
  .trust-badge small { font-size: 10px; }
  .trust-badge strong { font-size: 16px; }
  .test-grid { grid-template-columns: 1fr; }
  .test-filter-status { margin-top: -8px; align-items: stretch; flex-direction: column; }
  .test-filter-status button { width: 100%; }
  .test-card { min-height: 0; grid-template-columns: 1fr; }
  .test-copy { padding: 27px 23px 24px; }
  .test-card h3 { margin-top: 19px; font-size: 21px; }
  .test-card p { font-size: 16px; }
  .test-card details { margin-top: 22px; }
  .test-card summary { font-size: 15px; }
  .test-facts dd { font-size: 15px; }
  .test-device { min-height: 320px; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .test-device-dual { min-height: 340px; padding: 24px 8px 42px; }
  .test-device-dual img { max-height: 274px; }
  .certificate-toolbar p { max-width: 75%; font-size: 12px; }
  .certificate-card { flex: 0 0 86%; }
  .certificate-image { height: 380px; }
  .certificate-meta { min-height: 92px; }
  .facility-heading { align-items: flex-start; flex-direction: column; }
  .facility-heading p { text-align: left; }
  .facility-gallery { padding: 7px 7px 0; columns: 1; column-gap: 7px; }
  .facility-photo { margin-bottom: 7px; }
  .facility-photo-copy { right: 20px; bottom: 18px; left: 20px; }
  .facility-photo-copy strong { font-size: 19px; }
  .exam-room-heading { margin-top: 48px; }
  .exam-room-heading h3 { font-size: 25px; }
  .exam-room-card { flex-basis: 84%; }
  .exam-room-image { height: 365px; }
  .facility-note { text-align: left; }
  .community-grid { grid-template-columns: 1fr; }
  .board-card { padding: 28px 22px; }
  .board-card li span { font-size: 15px; }
  .location-section { padding: 0; }
  .location-grid { grid-template-columns: 1fr; }
  .location-copy { padding: 70px 24px; }
  .map-card { min-height: 430px; }
  .map-photo-card { min-height: 0; padding: 18px; }
  .map-photo-card img { height: auto; }
  .map-photo-card > span { right: 18px; bottom: 18px; }
  .clinic-pin { right: 5%; }
  .contact-cta { padding: 70px 20px; }
  .contact-cta-inner { padding: 35px 0; }
  .contact-cta h2 { font-size: 28px; }
  .cta-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .cta-buttons a, .cta-buttons button { min-width: 0; padding: 14px; }
  .cta-buttons strong { font-size: 16px; }
  .site-footer { padding: 48px 20px 42px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { align-items: flex-start; }
  .modal, .lightbox { padding: 0; align-items: end; }
  .modal-panel { width: 100%; max-height: 94vh; padding: 38px 20px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox-panel { width: 100%; max-height: 94vh; padding: 52px 14px 18px; }
  .lightbox-panel > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .toast { bottom: 84px; }
}

@media (max-width: 390px) {
  .brand-copy small { display: none; }
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 305px; }
  .hero-actions, .cta-buttons { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Plain-language inquiry consent, sized for readable mobile forms. */
.inquiry-privacy-notice{padding:18px;border:1px solid #ded4be;background:#fffaf0;color:#344456;font-size:16px;line-height:1.75;}
.inquiry-privacy-notice p{margin:8px 0;font-size:inherit;line-height:inherit;}
.inquiry-privacy-notice a{font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.footer-links a{color:inherit;}
