/* 송파다이아튼튼의원 메인 페이지 최종 디자인 */
:root {
  --home-blue: #5eb3e2;
  --home-blue-bright: #79c9ee;
  --home-blue-deep: #288fbe;
  --home-navy: #17384a;
  --home-navy-deep: #102b3a;
  --home-sky: #eaf7fd;
  --home-mist: #f5fbfe;
  --home-ink: #3f515b;
  --home-muted: #71818a;
  --home-line: rgba(72, 159, 207, .20);
  --home-shadow-sm: 0 14px 32px rgba(31, 102, 140, .09);
  --home-shadow: 0 25px 64px rgba(31, 102, 140, .14);
}

html, body { overflow-x: clip; }
#main { color: var(--home-ink); background: #fff; }
#main *, #main *::before, #main *::after { box-sizing: border-box; }
#main .container { width: min(calc(100% - 48px), 1080px); }
#main .container--wide { width: min(calc(100% - 48px), 1200px); }
#main .link-standalone {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--home-blue-deep); font-weight: 750; text-decoration: none;
}
#main .link-standalone::after { content: "→"; transition: transform .25s ease; }
@media (hover:hover) { #main .link-standalone:hover::after { transform: translateX(4px); } }

/* 01. 메인 비주얼 */
#main .hero {
  position: relative; width: 100%; max-width: none;
  height: clamp(630px, calc(100svh - 88px), 790px); min-height: 0;
  margin: 0; overflow: hidden; background: var(--home-navy-deep);
}
#main .hero::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,23,33,.90) 0%, rgba(9,29,41,.72) 43%, rgba(10,29,40,.28) 78%, rgba(10,29,40,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.32));
  pointer-events: none;
}
#main .hero::after {
  content: ""; position: absolute; z-index: 2;
  right: clamp(24px,5vw,80px); bottom: 42px; width: 1px; height: 86px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.72));
  box-shadow: 0 93px 0 rgba(255,255,255,.22); pointer-events: none;
}
#main .hero__backdrop {
  width: 100%; height: 100%; object-fit: cover; object-position: center 48%;
  filter: grayscale(1) contrast(1.04); transform: scale(1.015);
  animation: home-hero-breathe 18s ease-in-out infinite alternate;
}
#main .hero__inner {
  position: relative; z-index: 3; display: flex; flex-direction: column;
  justify-content: center; width: min(calc(100% - 72px),1200px); height: 100%;
  margin: 0 auto; padding: 34px 0 80px;
}
#main .hero__inner::before {
  content: "SONGPA DIATEUNTEUN CLINIC"; display: block; margin-bottom: 22px;
  color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 700; letter-spacing: .42em;
}
#main .hero__title {
  max-width: 1100px; margin: 0; color: #fff;
  font-size: clamp(2.75rem,4.2vw,4.15rem); font-weight: 800;
  line-height: 1.25; letter-spacing: -.06em; text-wrap: balance;
}
#main .hero__title-line { display: block; }
#main .hero__accent { color: var(--home-blue-bright); text-shadow: 0 0 28px rgba(88,180,228,.24); }
#main .hero__clinic-list {
  display: grid; gap: 2px; width: max-content; max-width: 100%; min-height: 0;
  margin: 36px 0 0 7px; padding: 7px 0 7px 30px;
  border-left: 2px solid rgba(255,255,255,.62); color: #fff;
  font-size: clamp(1.06rem,1.4vw,1.3rem); font-weight: 520; line-height: 1.65;
}
#main .hero__clinic-list li::marker { color: var(--home-blue-bright); }
#main .hero__sub {
  margin: 32px 0 0; color: var(--home-blue-bright);
  font-size: clamp(.95rem,1.15vw,1.08rem); font-weight: 600; letter-spacing: -.02em;
}
@keyframes home-hero-breathe { from { transform: scale(1.015); } to { transform: scale(1.055); } }

/* 02. 상단 상담 바 */
#main .home-cta {
  position: relative; z-index: 12; min-height: 0;
  margin-top: -55px; padding: 0 0 56px; background: transparent;
}
#main .home-cta .action-pill {
  display: grid; grid-template-columns: 205px minmax(0,1fr) 148px;
  align-items: center; gap: 26px; width: min(100%,1110px); min-height: 110px;
  margin: 0 auto; padding: 19px 28px 18px 32px;
  border: 1px solid rgba(79,162,207,.17); border-radius: 999px;
  background: rgba(255,255,255,.97); box-shadow: 0 20px 58px rgba(25,74,99,.18);
  backdrop-filter: blur(15px);
}
#main .action-pill__brand { width: 188px; height: auto; }
#main .action-pill__brand img { width: 100%; height: auto; }
#main .action-pill__form { display: grid; gap: 10px; width: 100%; height: auto; }
#main .action-pill__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
#main .action-pill__field {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px;
  min-width: 0; padding-bottom: 8px; border-bottom: 1px solid #dfe9ee;
}
#main .action-pill__field-label { color: var(--home-ink); font-size: .82rem; font-weight: 750; white-space: nowrap; }
#main .action-pill__field-hint { overflow: hidden; color: #a7b2b8; font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; }
#main .action-pill__terms { display: flex; align-items: center; gap: 7px; color: #7e8a90; font-size: .73rem; }
#main .action-pill__submit {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  border-radius: 12px; background: var(--home-navy-deep); color: #fff;
  font-size: .84rem; font-weight: 750;
}

/* 03. 진료과목 */
#main .subject { position: relative; overflow: hidden; background: #fff; }
#main .subject__stage {
  position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(circle at 50% 52%,rgba(214,241,253,.56),transparent 34%), linear-gradient(180deg,#fff,#fbfdff);
}
#main .subject__stage::after {
  content: ""; position: absolute; z-index: 0; inset: auto 0 0; height: 30%;
  background: linear-gradient(180deg,transparent,rgba(235,248,254,.55)); pointer-events: none;
}
#main .subject__canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .82; pointer-events: none; }
#main .subject__head, #main .subject__rail { position: relative; z-index: 2; }
#main .subject__head { width: min(calc(100% - 40px),720px); margin: 0 auto; text-align: center; }
#main .subject__eyebrow { color: rgba(30,127,177,.38); font-size: .68rem; font-weight: 750; letter-spacing: .58em; }
#main .subject__title {
  margin: 14px 0 0; color: var(--home-blue); font-size: clamp(2.15rem,3vw,2.85rem);
  font-weight: 320; letter-spacing: -.05em;
}
#main .subject__title strong { font-weight: 760; }
#main .subject__lead { margin: 18px 0 0; color: var(--home-muted); font-size: 1rem; line-height: 1.65; }
#main .subject__rail {
  display: flex; align-items: stretch; gap: 30px; width: max-content; max-width: none;
  margin: 48px 0 0; padding: 0 max(34px,calc((100vw - 1200px)/2)) 50px;
  overflow: visible; will-change: transform;
}
#main .subject__item, #main .subject-card { flex: 0 0 auto; width: 370px; }
#main .subject-card {
  position: relative; height: 242px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.34); border-radius: 15px; background: var(--home-blue);
  box-shadow: 0 24px 54px rgba(41,129,177,.20); transform: translateY(0);
  transition: transform .4s cubic-bezier(.2,.75,.2,1), box-shadow .4s ease;
}
#main .subject-card::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(90deg,rgba(19,97,143,.38),rgba(49,158,215,.08) 62%), linear-gradient(180deg,transparent 48%,rgba(18,91,132,.30));
  pointer-events: none;
}
#main .subject-card::after {
  content: "→"; position: absolute; z-index: 3; left: 24px; bottom: 22px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  background: rgba(255,255,255,.20); color: #fff; font-size: 1.25rem;
  backdrop-filter: blur(7px); transition: transform .3s ease, background .3s ease;
}
#main .subject-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1),filter .35s ease; }
#main .subject-card__text { position: absolute; z-index: 2; inset: 0; padding: 42px 25px 22px; color: #fff; }
#main .subject-card__name { margin: 0; color: #fff; font-size: 1.26rem; font-weight: 800; letter-spacing: -.035em; }
#main .subject-card__en { margin: 7px 0 0; color: rgba(255,255,255,.82); font-size: .69rem; font-weight: 750; letter-spacing: .25em; }
#main .subject-card__terms {
  position: absolute; right: 18px; bottom: 25px; left: 83px;
  margin: 0; padding: 0; color: rgba(255,255,255,.94); background: none;
  font-size: .77rem; font-weight: 600; line-height: 1.35; text-align: left;
  text-shadow: 0 1px 6px rgba(10,65,97,.42); backdrop-filter: none;
}
@media (hover:hover) and (pointer:fine) {
  #main .subject-card:hover { transform: translateY(-9px); box-shadow: 0 33px 70px rgba(41,129,177,.29); }
  #main .subject-card:hover .subject-card__image { transform: scale(1.045); filter: saturate(1.08); }
  #main .subject-card:hover::after { transform: translateX(4px); background: rgba(255,255,255,.34); }
}
@media (min-width:1201px) {
  #main .subject--enhanced { min-height: 0; padding: 0; overflow: visible; }
  #main .subject--enhanced::before, #main .subject--enhanced::after { display: none; }
  #main .subject--enhanced .subject__stage {
    position: sticky; top: var(--legacy-header-height,88px); display: flex; flex-direction: column;
    justify-content: center; height: calc(100vh - var(--legacy-header-height,88px)); min-height: 720px;
    padding: clamp(54px,6vh,76px) 0;
  }
}

/* 04. 대표원장 */
#main .doctor-band {
  position: relative; min-height: 900px; padding: 72px 24px 88px;
  overflow: hidden; background: linear-gradient(180deg,var(--home-blue) 0 66%,var(--home-mist) 66% 100%);
  color: #fff;
}
#main .doctor-band::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 66%;
  background: radial-gradient(circle at 16% 12%,rgba(255,255,255,.18),transparent 25%), linear-gradient(110deg,rgba(38,143,200,.86),rgba(69,172,225,.72));
  pointer-events: none;
}
#main .doctor-band::after {
  content: ""; position: absolute; z-index: 1; inset: auto; top: 83px; right: -75px;
  width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.03);
  pointer-events: none;
}
#main .doctor-band > .band__backdrop {
  z-index: 0; top: 0; width: 100%; height: 66%; object-fit: cover;
  opacity: .48; filter: grayscale(.35);
}
#main .doctor-band__inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(380px,.95fr) minmax(390px,1.05fr);
  grid-template-rows: auto auto auto 42px auto auto auto auto;
  align-items: start; column-gap: 82px; row-gap: 0;
  max-width: 1120px; margin: 0 auto; padding: 0;
}
#main .doctor-band__text { display: contents; }
#main .doctor-band__eyebrow {
  grid-column: 1/-1; grid-row: 1; justify-self: center; margin: 0;
  color: rgba(255,255,255,.74); font-size: .68rem; font-weight: 750;
  letter-spacing: .58em; text-align: center;
}
#main .doctor-band__text h2 {
  grid-column: 1/-1; grid-row: 2; justify-self: center; margin: 13px 0 0;
  color: #fff; font-size: clamp(2.1rem,3vw,2.75rem); font-weight: 350;
  letter-spacing: -.05em; text-align: center;
}
#main .doctor-band__lead {
  grid-column: 1/-1; grid-row: 3; justify-self: center; max-width: 56ch;
  margin: 17px 0 0; color: rgba(255,255,255,.92); font-size: 1rem;
  font-weight: 560; line-height: 1.65; text-align: center;
}
#main .doctor-band__figure {
  grid-column: 1; grid-row: 5/9; justify-self: end;
  width: min(100%,460px); height: 570px; margin: 0; overflow: hidden;
  border: 7px solid rgba(255,255,255,.84); border-radius: 15px;
  background: #fff; box-shadow: var(--home-shadow);
}
#main .doctor-band__figure img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
#main .doctor-band__name,
#main .doctor-band__credentials,
#main .doctor-band__principle,
#main .doctor-band__text > p:last-child {
  grid-column: 2; width: 100%; margin: 0; padding-right: 38px; padding-left: 38px;
  background: rgba(255,255,255,.96); color: var(--home-ink);
}
#main .doctor-band__name {
  grid-row: 5; padding-top: 38px; padding-bottom: 12px; border-radius: 15px 15px 0 0;
  color: var(--home-navy-deep) !important; font-size: 1.8rem; font-weight: 800; letter-spacing: -.04em;
  box-shadow: 0 -15px 46px rgba(24,83,114,.10);
}
#main .doctor-band__credentials {
  grid-row: 6; padding-top: 6px; padding-bottom: 20px; font-size: .93rem; line-height: 1.72;
}
#main .doctor-band__credentials li { position: relative; padding-left: 14px; }
#main .doctor-band__credentials li::before {
  content: ""; position: absolute; top: .75em; left: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--home-blue);
}
#main .doctor-band__principle {
  grid-row: 7; max-width: none; padding-top: 22px; padding-bottom: 18px;
  border-top: 1px solid #e2edf2; color: var(--home-muted) !important; font-size: .92rem; line-height: 1.72;
}
#main .doctor-band__text > p:last-child {
  grid-row: 8; padding-top: 10px; padding-bottom: 34px; border-radius: 0 0 15px 15px;
  box-shadow: 0 25px 60px rgba(24,83,114,.14);
}
#main .doctor-band__text .link-standalone {
  min-height: 45px; padding: 0 18px; border-radius: 999px;
  background: var(--home-sky); color: var(--home-blue-deep);
}

/* 05. 병원 둘러보기 */
#main .facility-band {
  position: relative; min-height: 1040px; padding: 76px 24px 104px;
  overflow: hidden; background: linear-gradient(180deg,var(--home-blue) 0 54%,#fff 54% 100%);
}
#main .facility-band::before {
  content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 54%;
  background: linear-gradient(90deg,rgba(41,151,209,.88),rgba(72,176,229,.74)), radial-gradient(circle at 88% 24%,rgba(255,255,255,.16),transparent 25%);
  pointer-events: none;
}
#main .facility-band::after { display: none; }
#main .facility-band > .band__backdrop {
  z-index: 0; top: 0; width: 100%; height: 54%; object-fit: cover;
  opacity: .55; filter: grayscale(.25);
}
#main .facility-band > .container { position: relative; z-index: 2; max-width: 1200px; }
#main .facility-band .section-heading { margin-bottom: 38px; color: #fff; }
#main .facility-band .section-heading h2 {
  color: #fff; font-size: clamp(2.1rem,3vw,2.75rem); font-weight: 350; letter-spacing: -.05em;
}
#main .facility-band .section-heading h2::before {
  content: "DIATEUNTEUN CLINIC"; display: block; margin-bottom: 13px;
  color: rgba(255,255,255,.73); font-size: .68rem; font-weight: 750; letter-spacing: .58em;
}
#main .facility-band .section-heading__lead { margin-top: 16px; color: rgba(255,255,255,.91); font-weight: 560; }
#main .facility {
  display: grid; grid-template-columns: minmax(330px,.82fr) minmax(500px,1.18fr);
  grid-template-rows: 330px 135px auto; gap: 30px 78px;
  max-width: 1120px; margin: 0 auto;
}
#main .facility__copy { grid-column: 1; grid-row: 1; align-self: center; padding: 0; color: #fff; }
#main .facility__copy h3 { margin: 0; color: #fff; font-size: 1.65rem; font-weight: 750; letter-spacing: -.04em; }
#main .facility__copy p { margin-top: 17px; color: rgba(255,255,255,.91); font-size: .95rem; line-height: 1.72; }
#main .facility__link {
  display: inline-flex; align-items: center; gap: 22px; min-height: 45px;
  margin-top: 8px; padding: 0 20px; border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none;
  transition: background .25s ease,color .25s ease;
}
#main .facility__link::before {
  content: "→"; display: grid; place-items: center; width: 25px; height: 25px;
  border-radius: 50%; background: #fff; color: var(--home-blue-deep);
}
#main .facility__featured {
  position: relative; grid-column: 2; grid-row: 1/3; width: 100%; height: 495px;
  margin: 0; overflow: hidden; border: 8px solid rgba(255,255,255,.82);
  border-radius: 15px; background: #fff; box-shadow: var(--home-shadow);
}
#main .facility__featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
#main .facility__featured figcaption {
  position: absolute; right: 18px; bottom: 18px; width: auto; height: auto;
  overflow: visible; clip: auto; padding: 9px 15px; border-radius: 999px;
  background: rgba(14,45,62,.72); color: #fff; font-size: .78rem; font-weight: 700;
  backdrop-filter: blur(9px);
}
#main .facility__wordmark {
  grid-column: 1; grid-row: 2; align-self: end; margin: 0;
  color: rgba(88,180,228,.30); font-size: clamp(2.7rem,4.3vw,4.3rem);
  font-weight: 780; line-height: .95; letter-spacing: .015em;
}
#main .facility__wordmark span { display: block; margin-left: 2.25em; }
#main .facility__strip {
  grid-column: 1/-1; grid-row: 3; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px; width: 100%; margin: 28px 0 0; padding: 0;
}
#main .facility__strip figure {
  position: relative; height: 196px; margin: 0; overflow: hidden;
  border: 1px solid var(--home-line); border-radius: 12px; background: #fff; box-shadow: var(--home-shadow-sm);
}
#main .facility__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
#main .facility__strip figcaption {
  position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 12px 14px;
  border-radius: 12px; background: rgba(255,255,255,.91); color: var(--home-navy-deep);
  font-size: .86rem; font-weight: 750; backdrop-filter: blur(8px);
}
@media (hover:hover) {
  #main .facility__link:hover { background: #fff; color: var(--home-blue-deep); }
  #main .facility__featured:hover img, #main .facility__strip figure:hover img { transform: scale(1.035); }
}

/* 06. 환자 후기 */
#main .legacy-reviews {
  position: relative; padding: 112px 24px 118px; overflow: hidden;
  background: radial-gradient(circle at 12% 18%,rgba(88,180,228,.08),transparent 24%),#fff;
}
#main .legacy-reviews::after {
  content: "+"; position: absolute; right: 6%; top: 84px;
  color: rgba(88,180,228,.16); font-size: 5rem; font-weight: 250; transform: rotate(18deg);
}
#main .legacy-reviews .section-heading { margin-bottom: 10px; }
#main .legacy-reviews .section-heading h2 {
  color: var(--home-ink); font-size: clamp(2.1rem,3vw,2.65rem); font-weight: 350; letter-spacing: -.05em;
}
#main .legacy-reviews .section-heading h2::before {
  content: "PATIENT REVIEW"; display: block; margin-bottom: 14px;
  color: var(--home-blue); font-size: .68rem; font-weight: 800; letter-spacing: .58em;
}
#main .legacy-reviews .section-heading__lead { margin-top: 16px; color: var(--home-muted); }
#main .reviews__source { margin: 0 0 46px; color: #98a5ac; text-align: center; }
#main .reviews__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px)/3);
  grid-template-columns: none; gap: 24px; max-width: 1180px; margin: 0 auto;
  padding: 0 0 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
#main .reviews__list::-webkit-scrollbar { display: none; }
#main .reviews__item {
  position: relative; display: grid; align-content: center; min-height: 300px;
  padding: 52px 34px 36px; overflow: hidden; border: 1px solid var(--home-line);
  border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: var(--home-shadow-sm);
  text-align: left; scroll-snap-align: start;
}
#main .reviews__item::before {
  content: "“"; position: absolute; top: 16px; left: 25px;
  color: rgba(88,180,228,.20); font-family: Georgia,serif; font-size: 5.2rem; line-height: 1;
}
#main .reviews__item::after {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg,var(--home-blue-deep),var(--home-blue-bright));
}
#main .reviews__stars { position: relative; z-index: 1; margin: 0 0 18px; color: var(--home-blue); font-size: 1.1rem; letter-spacing: .09em; }
#main .reviews__quote { margin: 0; color: #53656f; font-size: .98rem; line-height: 1.78; }
#main .reviews__meta { margin: 23px 0 0; color: #96a2a8; font-size: .78rem; }
#main .reviews__pagination { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 25px; }
#main .reviews__pagination button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(88,180,228,.28); cursor: pointer; transition: width .25s ease,background .25s ease;
}
#main .reviews__pagination button.is-active { width: 30px; background: var(--home-blue); }

/* 07. 대표번호와 진료시간 */
#main .legacy-hours {
  padding: 96px 24px 116px;
  background: linear-gradient(180deg,rgba(238,249,253,.94),rgba(226,244,251,.88));
}
#main .hours-twin {
  display: grid; grid-template-columns: .88fr 1.12fr; gap: 0;
  max-width: 1110px; margin: 0 auto; overflow: hidden;
  border: 1px solid rgba(60,145,192,.18); border-radius: 28px; background: #fff;
  box-shadow: var(--home-shadow);
}
#main .hours-twin__panel {
  position: relative; display: flex; flex-direction: column; min-height: 420px;
  padding: 58px 58px 50px; border: 0; border-radius: 0; background: #fff;
  box-shadow: none; transform: none;
}
#main .hours-twin__panel:first-child {
  justify-content: center; overflow: hidden;
  background: linear-gradient(145deg,#4aa9da,var(--home-blue)); color: #fff;
}
#main .hours-twin__panel:first-child::before,
#main .hours-twin__panel:first-child::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
}
#main .hours-twin__panel:first-child::before { right: -95px; bottom: -110px; width: 290px; height: 290px; }
#main .hours-twin__panel:first-child::after { right: -20px; bottom: -30px; width: 150px; height: 150px; }
#main .hours-twin__eyebrow {
  order: initial; margin: 0 0 13px; color: rgba(22,120,170,.42);
  font-size: .65rem; font-weight: 750; letter-spacing: .48em;
}
#main .hours-twin__panel:first-child .hours-twin__eyebrow { color: rgba(255,255,255,.61); }
#main .hours-twin__panel h3 {
  margin: 0; color: var(--home-navy-deep); font-size: 2.2rem; font-weight: 380; letter-spacing: -.05em;
}
#main .hours-twin__panel:first-child h3 { color: #fff; }
#main .hours-twin__phone {
  position: relative; z-index: 1; margin: 18px 0 0; color: #fff;
  font-size: clamp(2.2rem,3.2vw,3.05rem); font-weight: 900; letter-spacing: -.055em;
}
#main .hours-twin__phone a { color: inherit; text-decoration: none; }
#main .hours-twin__note {
  position: relative; z-index: 1; max-width: 28ch; margin: 18px 0 0;
  color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.65;
}
#main .hours-twin__list { display: grid; gap: 9px; max-width: none; margin: 28px 0 0; }
#main .hours-twin__list > div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 18px; }
#main .hours-twin__list dt {
  display: inline-flex; align-items: center; justify-content: center; min-height: 30px;
  padding: 4px 12px; border-radius: 999px; background: var(--home-blue);
  color: #fff; font-size: .8rem; font-weight: 750;
}
#main .hours-twin__list dd { color: var(--home-ink); font-size: .95rem; font-weight: 650; }
#main .hours-twin__notes { display: grid; gap: 3px; margin: 17px 0 0; color: var(--home-muted); font-size: .78rem; line-height: 1.55; }
#main .hours-twin__panel:last-child > p:last-child { margin-top: auto; padding-top: 20px; }

/* 08. 의료 정보 공통 */
#main .home-medical { position: relative; padding: 118px 24px; }
#main .home-medical .section-heading { margin-bottom: 50px; }
#main .home-medical .section-heading h2 {
  color: var(--home-navy-deep); font-size: clamp(2.15rem,3vw,2.75rem);
  font-weight: 380; letter-spacing: -.05em;
}
#main .home-medical .section-heading__lead { margin-top: 14px; color: var(--home-muted); line-height: 1.7; }

/* 주요 증상 - 에디토리얼 2단 */
#main .home-medical--focus {
  overflow: hidden;
  background: radial-gradient(circle at 4% 8%,rgba(88,180,228,.16),transparent 24%), linear-gradient(145deg,#f6fcfe,#eaf7fc);
}
#main .home-medical--focus::after {
  content: "CLINIC FOCUS"; position: absolute; right: -22px; bottom: 4px;
  color: rgba(55,154,208,.075); font-size: clamp(5rem,10vw,9rem); font-weight: 900;
  letter-spacing: -.04em; white-space: nowrap; pointer-events: none;
}
#main .home-medical--focus > .container {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr);
  align-items: start; gap: 64px;
}
#main .home-medical--focus .section-heading { justify-items: start; margin: 10px 0 0; text-align: left; }
#main .home-medical--focus .section-heading::before {
  content: "SYMPTOM CHECK"; color: var(--home-blue-deep);
  font-size: .68rem; font-weight: 800; letter-spacing: .42em;
}
#main .home-medical--focus .section-heading h2 {
  max-width: 9ch; font-size: clamp(2.5rem,4vw,3.6rem); font-weight: 720; line-height: 1.16;
}
#main .home-medical--focus .section-heading__lead { max-width: 32ch; }
#main .focus { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#main .focus__item {
  position: relative; display: grid; grid-template-columns: 66px 1fr;
  align-content: center; gap: 6px 18px; min-height: 190px; padding: 26px;
  border: 1px solid rgba(67,158,207,.16); border-radius: 12px;
  background: rgba(255,255,255,.88); box-shadow: var(--home-shadow-sm);
  transition: transform .28s ease,box-shadow .28s ease;
}
#main .focus__item .line-icon--on-blue {
  grid-row: 1/3; align-self: center; width: 66px; height: 66px;
  padding: 8px; border-radius: 18px; background: var(--home-sky);
}
#main .focus__item h3 { align-self: end; margin: 0; }
#main .focus__item h3, #main .focus__item h3 a {
  color: var(--home-blue-deep); font-size: 1.05rem; font-weight: 780;
  line-height: 1.35; text-decoration: none;
}
#main .focus__item > p { align-self: start; margin: 0; color: var(--home-muted); font-size: .84rem; line-height: 1.55; }
@media (hover:hover) { #main .focus__item:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(31,102,140,.15); } }

/* 감별 단서와 진료 순서 */
#main .home-medical--clues { background: #fff; }
#main .home-medical--clues > .container { width: min(calc(100% - 48px),1080px); }
#main .home-medical--clues .section-heading h2::before {
  content: "DIFFERENTIAL CHECK"; display: block; margin-bottom: 14px;
  color: var(--home-blue); font-size: .68rem; font-weight: 800; letter-spacing: .48em;
}
#main .comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
#main .comparison__column {
  position: relative; padding: 38px 38px 36px; overflow: hidden;
  border: 1px solid var(--home-line); border-radius: 12px;
  background: var(--home-mist); box-shadow: var(--home-shadow-sm);
}
#main .comparison__column::after {
  content: ""; position: absolute; top: -34px; right: -34px;
  width: 110px; height: 110px; border-radius: 50%; background: rgba(88,180,228,.10);
}
#main .comparison__column:nth-child(2) { background: #f7fbfd; }
#main .comparison__column h3 {
  position: relative; z-index: 1; margin: 0; color: var(--home-blue-deep);
  font-size: 1.17rem; font-weight: 800;
}
#main .comparison__caption { margin: 12px 0 0; color: var(--home-muted); font-size: .86rem; line-height: 1.6; }
#main .comparison__column ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; }
#main .comparison__column li { position: relative; padding-left: 20px; color: var(--home-ink); font-size: .9rem; line-height: 1.65; }
#main .comparison__column li::before {
  content: ""; position: absolute; top: .7em; left: 0; width: 7px; height: 7px;
  border-radius: 50%; background: var(--home-blue); box-shadow: 0 0 0 5px rgba(88,180,228,.10);
}
#main .section-after { margin: 30px 0 0; text-align: center; }
#main .process-after { margin-top: 68px; }
#main .process-strip {
  position: relative; display: grid; grid-template-columns: 160px 1fr;
  align-items: center; gap: 38px; padding: 38px; overflow: hidden;
  border-radius: 14px; background: linear-gradient(135deg,#3298c8,var(--home-blue));
  box-shadow: 0 24px 56px rgba(19,72,100,.18);
}
#main .process-strip::after {
  content: ""; position: absolute; right: -70px; bottom: -95px;
  width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
}
#main .process-strip__title { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 1.35rem; font-weight: 760; text-align: left; }
#main .process-strip__list {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px; counter-reset: home-step;
}
#main .process-strip__list li {
  position: relative; min-height: 112px; padding: 44px 14px 15px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 8px;
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.90);
  font-size: .82rem; line-height: 1.5; text-align: center; counter-increment: home-step;
}
#main .process-strip__list li::before {
  content: "0" counter(home-step); position: absolute; top: 14px; right: 0; left: 0;
  color: var(--home-blue-bright); font-size: .72rem; font-weight: 850; letter-spacing: .14em;
}

/* 10. 그 밖의 진료 범위 */
#main .home-medical--support {
  overflow: hidden;
  background: radial-gradient(circle at 92% 9%,rgba(255,255,255,.18),transparent 25%), linear-gradient(145deg,#4aa9da,#6bc0e8);
}
#main .home-medical--support .section-heading h2 { color: #fff; }
#main .home-medical--support .section-heading h2::before {
  content: "CARE PROGRAM"; display: block; margin-bottom: 14px;
  color: var(--home-blue-bright); font-size: .68rem; font-weight: 800; letter-spacing: .48em;
}
#main .home-medical--support .section-heading__lead { color: rgba(255,255,255,.70); }
#main .support { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
#main .support__item {
  position: relative; display: grid; align-content: start; gap: 8px;
  min-height: 244px; padding: 27px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; background: rgba(255,255,255,.08); box-shadow: none;
  transition: transform .3s ease,background .3s ease,border-color .3s ease;
}
#main .support__item--lead {
  grid-column: span 2; background: linear-gradient(135deg,rgba(88,180,228,.33),rgba(255,255,255,.09));
  border-color: rgba(112,199,238,.38);
}
#main .support__item .line-icon--on-blue {
  width: 66px; height: 66px; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.92);
}
#main .support__item h3 { margin: 6px 0 0; }
#main .support__item h3, #main .support__item h3 a {
  color: #fff; font-size: 1.05rem; font-weight: 780; line-height: 1.4; text-decoration: none;
}
#main .support__terms { color: var(--home-blue-bright); font-size: .82rem; font-weight: 750; }
#main .support__item > p:last-child { margin: 2px 0 0; color: rgba(255,255,255,.65); font-size: .81rem; line-height: 1.55; }
@media (hover:hover) {
  #main .support__item:hover { transform: translateY(-6px); border-color: rgba(112,199,238,.42); background: rgba(255,255,255,.12); }
}

/* 11. 오시는 길 */
#main .home-location { padding: 112px 24px; background: var(--home-mist); }
#main .address-band {
  display: grid; grid-template-columns: minmax(0,.88fr) minmax(430px,1.12fr);
  gap: 0; max-width: 1160px; margin: 0 auto; overflow: hidden;
  border: 1px solid var(--home-line); border-radius: 15px; background: #fff;
  box-shadow: var(--home-shadow);
}
#main .address-band__text { padding: 54px 56px; }
#main .address-band__text h2 {
  margin: 0; color: var(--home-navy-deep); font-size: 2.35rem; font-weight: 400; letter-spacing: -.05em;
}
#main .address-band__text h2::before {
  content: "LOCATION"; display: block; margin-bottom: 12px;
  color: var(--home-blue); font-size: .65rem; font-weight: 800; letter-spacing: .45em;
}
#main .address-band__facts { display: grid; gap: 0; margin: 30px 0 0; }
#main .address-band__facts > div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eaf0f3; }
#main .address-band__facts dt { color: var(--home-blue-deep); font-weight: 780; }
#main .address-band__facts dd { color: var(--home-ink); line-height: 1.55; }
#main .address-band__text > p:last-child { margin-top: 28px; }
#main .address-band__map {
  position: relative; display: grid; place-content: center; min-height: 390px;
  padding: 38px; overflow: hidden;
  background: linear-gradient(rgba(255,255,255,.72) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.72) 1px,transparent 1px), linear-gradient(145deg,#dff3fb,#c7e9f7);
  background-size: 42px 42px,42px 42px,auto;
}
#main .address-band__map::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 74px; height: 74px;
  border: 18px solid rgba(22,120,170,.14); border-radius: 50% 50% 50% 0;
  transform: translate(-50%,-82%) rotate(-45deg);
}
#main .address-band__map::after {
  content: "송파다이아튼튼의원"; position: relative; z-index: 1;
  display: grid; place-items: center; min-width: 210px; min-height: 64px;
  padding: 14px 20px; border-radius: 999px; background: rgba(255,255,255,.96);
  color: var(--home-blue-deep); font-weight: 850; box-shadow: 0 16px 36px rgba(22,120,170,.18);
}
#main .address-band__map-link {
  position: relative; z-index: 2; justify-self: center; min-height: 44px;
  margin-top: 18px; padding: 0 20px; border-radius: 999px;
  background: var(--home-navy-deep); color: #fff; font-weight: 750; text-decoration: none;
}

/* 12. 하단 상담 */
#main .home-consult { padding: 86px 24px 96px; background: linear-gradient(135deg,var(--home-blue-deep),var(--home-blue)); }
#main .home-consult .section-heading { margin-bottom: 20px; }
#main .home-consult .section-heading h2 { color: #fff; font-size: 2.2rem; font-weight: 430; }
#main .consult {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 36px;
  max-width: 1050px; margin: 0 auto; padding: 30px 34px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 14px;
  background: rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(20,89,126,.16);
  backdrop-filter: blur(10px);
}
#main .consult__body { margin: 0; color: rgba(255,255,255,.90); line-height: 1.65; text-align: left; }
#main .consult__list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#main .consult__item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 112px; min-height: 52px; padding: 0 18px;
  border: 1px solid rgba(255,255,255,.38); border-radius: 7px;
  background: #fff; color: var(--home-blue-deep); font-size: .84rem;
  font-weight: 800; text-decoration: none; transition: transform .25s ease,background .25s ease;
}
@media (hover:hover) { #main .consult__item:hover { transform: translateY(-3px); background: var(--home-navy-deep); color: #fff; } }

/* 화면 진입 효과 */
#main .home-reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1); }
#main .home-reveal.is-visible { opacity: 1; transform: none; }

/* 태블릿 */
@media (max-width:1100px) {
  #main .home-cta .action-pill { grid-template-columns: 165px minmax(0,1fr) 138px; gap: 18px; }
  #main .action-pill__brand { width: 158px; }
  #main .doctor-band__inner { column-gap: 44px; }
  #main .facility { grid-template-columns: .8fr 1.2fr; column-gap: 46px; }
  #main .support { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width:959px) {
  #main .container, #main .container--wide { width: min(calc(100% - 36px),760px); }
  #main .hero { height: 640px; }
  #main .hero__inner { width: min(calc(100% - 44px),760px); }
  #main .hero__title { font-size: clamp(2.45rem,6vw,3.5rem); }
  #main .hero__title-line:first-child { white-space: normal; }

  #main .home-cta { margin-top: -40px; padding-bottom: 44px; }
  #main .home-cta .action-pill { grid-template-columns: 1fr auto; width: min(100%,720px); border-radius: 28px; }
  #main .action-pill__brand { display: none; }

  #main .subject { padding: 96px 0 104px; }
  #main .subject__stage { overflow: visible; }
  #main .subject__canvas { display: none; }
  #main .subject__rail {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px;
    width: min(calc(100% - 36px),760px); margin: 48px auto 0; padding: 0; transform: none;
  }
  #main .subject__item, #main .subject-card { width: 100%; }

  #main .doctor-band {
    min-height: 0; padding: 76px 18px 90px;
    background: linear-gradient(145deg,#55adde,#6abde7);
  }
  #main .doctor-band::before, #main .doctor-band > .band__backdrop { height: 100%; }
  #main .doctor-band__inner { grid-template-columns: 1fr; grid-template-rows: auto; gap: 18px; }
  #main .doctor-band__eyebrow,
  #main .doctor-band__text h2,
  #main .doctor-band__lead,
  #main .doctor-band__figure,
  #main .doctor-band__name,
  #main .doctor-band__credentials,
  #main .doctor-band__principle,
  #main .doctor-band__text > p:last-child { grid-column: 1; grid-row: auto; }
  #main .doctor-band__figure {
    order: 4; justify-self: center; width: min(100%,450px); height: auto;
    aspect-ratio: 476/600; margin-top: 12px;
  }
  #main .doctor-band__name { order: 5; margin-top: 6px; }
  #main .doctor-band__credentials { order: 6; }
  #main .doctor-band__principle { order: 7; }
  #main .doctor-band__text > p:last-child { order: 8; }
  #main .doctor-band__name,
  #main .doctor-band__credentials,
  #main .doctor-band__principle,
  #main .doctor-band__text > p:last-child { width: min(100%,600px); justify-self: center; }

  #main .facility-band {
    min-height: 0; padding: 76px 18px 90px;
    background: linear-gradient(145deg,#55adde,#6abde7);
  }
  #main .facility-band::before, #main .facility-band > .band__backdrop { height: 100%; }
  #main .facility { grid-template-columns: 1fr; grid-template-rows: auto; gap: 26px; }
  #main .facility__copy, #main .facility__featured, #main .facility__wordmark, #main .facility__strip {
    grid-column: 1; grid-row: auto;
  }
  #main .facility__copy { width: min(100%,620px); justify-self: center; }
  #main .facility__featured {
    width: min(100%,650px); height: auto; aspect-ratio: 5/3; justify-self: center;
  }
  #main .facility__wordmark { width: min(100%,650px); justify-self: center; color: rgba(255,255,255,.38); }
  #main .facility__strip { gap: 16px; margin-top: 8px; }

  #main .legacy-reviews, #main .legacy-hours, #main .home-medical, #main .home-location { padding: 86px 18px; }
  #main .reviews__list { grid-auto-columns: min(78vw,390px); }
  #main .hours-twin { grid-template-columns: 1fr; }
  #main .hours-twin__panel { min-height: 0; padding: 48px 42px; }

  #main .home-medical--focus > .container { grid-template-columns: 1fr; gap: 42px; }
  #main .home-medical--focus .section-heading { justify-items: center; text-align: center; }
  #main .home-medical--focus .section-heading h2,
  #main .home-medical--focus .section-heading__lead { max-width: 52ch; }
  #main .process-strip { grid-template-columns: 1fr; gap: 24px; }
  #main .process-strip__title { text-align: center; }
  #main .process-strip__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main .support { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main .support__item--lead { grid-column: span 2; }
  #main .address-band { grid-template-columns: 1fr; }
  #main .address-band__map { min-height: 300px; }
  #main .consult { grid-template-columns: 1fr; gap: 22px; }
  #main .consult__body { text-align: center; }
  #main .consult__list { justify-content: center; }
}

/* 모바일 */
@media (max-width:620px) {
  #main .container, #main .container--wide { width: min(calc(100% - 28px),560px); }
  #main .hero { height: 570px; }
  #main .hero__inner { width: calc(100% - 36px); padding-bottom: 58px; }
  #main .hero__inner::before { margin-bottom: 17px; font-size: .56rem; letter-spacing: .27em; }
  #main .hero__title { font-size: clamp(2rem,9.1vw,2.75rem); line-height: 1.25; }
  #main .hero__clinic-list { margin-top: 27px; padding-left: 24px; font-size: .98rem; }
  #main .hero__sub { margin-top: 26px; font-size: .86rem; line-height: 1.55; }

  #main .home-cta { margin-top: -30px; }
  #main .home-cta .action-pill {
    grid-template-columns: 1fr; gap: 14px; width: calc(100% - 12px);
    min-height: 0; padding: 21px; border-radius: 22px;
  }
  #main .action-pill__form { display: none; }
  #main .action-pill__submit { width: 100%; }

  #main .subject { padding: 74px 0 82px; }
  #main .subject__head { width: calc(100% - 28px); }
  #main .subject__title { font-size: 2rem; }
  #main .subject__rail { grid-template-columns: 1fr; width: calc(100% - 28px); }
  #main .subject-card { height: 218px; }

  #main .doctor-band__text h2,
  #main .facility-band .section-heading h2,
  #main .legacy-reviews .section-heading h2,
  #main .home-medical .section-heading h2 { font-size: 1.95rem; }
  #main .doctor-band__lead br { display: none; }
  #main .doctor-band__name,
  #main .doctor-band__credentials,
  #main .doctor-band__principle,
  #main .doctor-band__text > p:last-child { padding-right: 26px; padding-left: 26px; }
  #main .doctor-band__name { padding-top: 30px; font-size: 1.55rem; }
  #main .doctor-band__text > p:last-child { padding-bottom: 27px; }

  #main .facility__copy br { display: none; }
  #main .facility__strip { grid-template-columns: 1fr; }
  #main .facility__strip figure { height: 190px; }
  #main .reviews__item { min-height: 300px; padding: 48px 25px 32px; }
  #main .hours-twin { border-radius: 26px; }
  #main .hours-twin__panel { padding: 40px 25px; }
  #main .hours-twin__phone { font-size: 2.08rem; }
  #main .hours-twin__list > div { grid-template-columns: 72px 1fr; gap: 12px; }

  #main .focus, #main .comparison, #main .process-strip__list, #main .support { grid-template-columns: 1fr; }
  #main .focus__item { min-height: 160px; padding: 22px; }
  #main .comparison__column { padding: 30px 25px; }
  #main .process-strip { padding: 30px 20px; }
  #main .support__item--lead { grid-column: auto; }
  #main .support__item { min-height: 0; }

  #main .address-band__text { padding: 40px 26px; }
  #main .address-band__facts > div { grid-template-columns: 70px 1fr; }
  #main .address-band__map { min-height: 255px; padding: 28px 18px; }

  #main .home-consult { padding: 72px 14px 82px; }
  #main .consult { padding: 24px 20px; }
  #main .consult__list { display: grid; grid-template-columns: 1fr; width: 100%; }
  #main .consult__item { width: 100%; }
}

@media (prefers-reduced-motion:reduce) {
  #main .hero__backdrop, #main .home-reveal, #main .subject-card,
  #main .subject-card__image, #main .focus__item, #main .support__item {
    animation: none !important; transition: none !important; transform: none !important;
  }
  #main .home-reveal { opacity: 1; }
}

/* 2026-09 visual refinement: wider editorial layout */
@media (min-width:960px) {
  #main .container { width: min(calc(100% - 64px),1180px); }
  #main .container--wide { width: min(calc(100% - 64px),1360px); }
  #main .hero__inner { width: min(calc(100% - 72px),1320px); }
}

/* 진료과목: 장식과 이동감을 차분하게 */
#main .subject__canvas { opacity: 1; }
#main .subject__rail { gap: 20px; }
@media (min-width:1201px) {
  #main .subject--legacy-motion {
    display: flex; width: 100%; height: 100vh; padding: 0; overflow: hidden;
  }
  #main .subject--legacy-motion::before,
  #main .subject--legacy-motion::after { display: none; }
  #main .subject--legacy-motion .subject__stage {
    position: relative; top: auto; display: flex; flex-direction: column; justify-content: center;
    width: 100%; height: 100%; min-height: 720px; padding: 100px 0; overflow: hidden;
  }
  #main .subject__rail { margin-top: 50px; padding: 0 20vw; }
  #main .subject__item, #main .subject-card { width: 390px; }
  #main .subject-card {
    height: 252px;
    box-shadow: 0 20px 40px rgba(94,179,226,.22),0 8px 20px rgba(94,179,226,.15);
  }
}
#main .subject-card { box-shadow: 0 18px 42px rgba(41,129,177,.15); }
@media (hover:hover) and (pointer:fine) {
  #main .subject-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(41,129,177,.22); }
}
@media (max-width:1200px) {
  #main .subject { padding: 96px 0 104px; }
  #main .subject__stage { overflow: visible; }
  #main .subject__canvas { display: none; }
  #main .subject__rail {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px;
    width: min(calc(100% - 36px),900px); margin: 48px auto 0; padding: 0; transform: none;
  }
  #main .subject__item, #main .subject-card { width: 100%; }
}
@media (max-width:620px) {
  #main .subject__rail { grid-template-columns: 1fr; width: calc(100% - 28px); }
}

/* 대표원장: 나뉜 카드 대신 사진 + 하나의 편집형 정보 영역 */
#main .doctor-band {
  min-height: 850px; padding: 78px 24px 86px;
  background: linear-gradient(118deg,#318fc1 0%,#55b5e5 100%);
}
#main .doctor-band::before,
#main .doctor-band > .band__backdrop { height: 100%; }
#main .doctor-band::before {
  background: radial-gradient(circle at 12% 8%,rgba(255,255,255,.18),transparent 28%),linear-gradient(112deg,rgba(28,126,181,.88),rgba(79,181,230,.72));
}
#main .doctor-band__inner {
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-rows: auto auto auto 48px auto;
  column-gap: clamp(66px,7vw,112px); max-width: 1280px;
}
#main .doctor-band__figure {
  grid-column: 1; grid-row: 5; width: min(100%,500px); height: 590px;
  border: 0; border-radius: 10px; box-shadow: 0 28px 72px rgba(12,68,99,.24);
}
#main .doctor-band__profile {
  position: relative; grid-column: 2; grid-row: 5; align-self: center;
  width: 100%; padding: 12px 0 8px 38px; border-left: 1px solid rgba(255,255,255,.45);
}
#main .doctor-band__profile::before {
  content: "REPRESENTATIVE DIRECTOR"; display: block; margin: 0 0 22px;
  color: rgba(255,255,255,.58); font-size: .65rem; font-weight: 750; letter-spacing: .34em;
}
#main .doctor-band__name,
#main .doctor-band__credentials,
#main .doctor-band__principle,
#main .doctor-band__action {
  width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
#main .doctor-band__name { color: #fff !important; font-size: clamp(1.85rem,2.3vw,2.4rem); font-weight: 800; }
#main .doctor-band__credentials {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 24px;
  margin-top: 26px; color: rgba(255,255,255,.94); font-size: .9rem; line-height: 1.55;
}
#main .doctor-band__credentials li { padding-left: 13px; }
#main .doctor-band__credentials li::before { top: .67em; width: 4px; height: 4px; background: #fff; opacity: .65; }
#main .doctor-band__principle {
  max-width: 58ch; margin-top: 30px; padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.86) !important;
  font-size: .94rem; line-height: 1.78;
}
#main .doctor-band__action { margin-top: 26px; }
#main .doctor-band__profile .link-standalone {
  min-height: 46px; padding: 0 19px; border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px; background: transparent; color: #fff;
}

/* 둘러보기: 큰 사진을 중심으로 한 비대칭 갤러리 */
#main .facility-band {
  min-height: 0; padding: 104px 24px 112px;
  background: linear-gradient(180deg,#f5fafc 0%,#fff 100%);
}
#main .facility-band::before {
  inset: 238px 0 auto auto; width: 47%; height: 540px;
  background: linear-gradient(135deg,rgba(191,230,247,.62),rgba(228,246,253,.34));
}
#main .facility-band > .band__backdrop { display: none; }
#main .facility-band > .container { max-width: 1360px; }
#main .facility-band .section-heading {
  justify-items: start; max-width: 1280px; margin: 0 auto 54px; text-align: left;
}
#main .facility-band .section-heading h2 {
  color: var(--home-navy-deep); font-size: clamp(2.15rem,3vw,2.85rem); font-weight: 430;
}
#main .facility-band .section-heading h2::before {
  margin-bottom: 14px; color: var(--home-blue-deep); font-size: .65rem;
}
#main .facility-band .section-heading__lead { margin-top: 15px; color: var(--home-muted); font-weight: 520; }
#main .facility {
  grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr);
  grid-template-rows: 350px 150px auto; gap: 20px clamp(58px,6vw,94px); max-width: 1280px;
}
#main .facility__copy {
  align-self: end; padding: 0 0 38px 24px; border-left: 2px solid var(--home-blue);
  color: var(--home-ink);
}
#main .facility__copy h3 { color: var(--home-navy-deep); font-size: 1.85rem; }
#main .facility__copy p { max-width: 38ch; color: var(--home-muted); }
#main .facility__link {
  border-color: var(--home-blue-deep); background: transparent; color: var(--home-blue-deep);
}
#main .facility__link::before { background: var(--home-blue-deep); color: #fff; }
#main .facility__featured {
  height: 520px; border: 6px solid #fff; border-radius: 8px;
  box-shadow: 0 30px 76px rgba(24,95,132,.18);
}
#main .facility__wordmark {
  align-self: center; padding-left: 24px; color: rgba(31,120,169,.38);
  font-size: .72rem; font-weight: 800; line-height: 1; letter-spacing: .3em;
}
#main .facility__wordmark span { display: inline; margin-left: .55em; }
#main .facility__strip { gap: 18px; margin-top: 34px; }
#main .facility__strip figure { height: 218px; border: 0; border-radius: 8px; box-shadow: 0 16px 36px rgba(28,92,124,.12); }
#main .facility__strip figure::after {
  content: ""; position: absolute; inset: 45% 0 0;
  background: linear-gradient(180deg,transparent,rgba(8,35,49,.7)); pointer-events: none;
}
#main .facility__strip figcaption {
  z-index: 1; right: 20px; bottom: 17px; left: 20px; padding: 0;
  border-radius: 0; background: transparent; color: #fff; font-size: .9rem; backdrop-filter: none;
}
@media (hover:hover) {
  #main .facility__link:hover { border-color: var(--home-navy-deep); background: var(--home-navy-deep); color: #fff; }
}

/* 후기: 스크롤 레일 안쪽에 그림자 여유 공간 확보 */
#main .legacy-reviews { padding-right: 0; padding-left: 0; }
#main .legacy-reviews > .container { width: min(calc(100% - 16px),1480px); max-width: 1480px; }
#main .reviews__list {
  grid-auto-columns: calc((100% - 48px)/3); max-width: 1480px;
  padding: 34px 80px 52px; scroll-padding-inline: 80px;
}
#main .reviews__item { border-radius: 9px; box-shadow: 0 17px 34px rgba(31,102,140,.14); }
#main .reviews__pagination { margin-top: 8px; }

@media (min-width:960px) {
  #main .reviews__list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    max-width: 1320px;
    padding: 34px 0 52px;
    overflow: visible;
    scroll-snap-type: none;
  }
  #main .reviews__item.is-review-hidden { display: none; }
}

/* 하단 상담: 박스형에서 오픈형 레이아웃으로 */
#main .home-consult {
  position: relative; overflow: hidden; padding: 52px 24px 58px;
  background: linear-gradient(118deg,#237eae 0%,#58b6e3 100%);
}
#main .home-consult::before {
  content: ""; position: absolute; right: -120px; bottom: -250px; width: 520px; height: 520px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  box-shadow: 0 0 0 82px rgba(255,255,255,.035),0 0 0 164px rgba(255,255,255,.025);
}
#main .home-consult .section-heading { position: relative; margin-bottom: 22px; }
#main .home-consult .section-heading h2 { font-size: 1.9rem; }
#main .home-consult .section-heading h2::before {
  content: "CONTACT & RESERVATION"; display: block; margin-bottom: 12px;
  color: rgba(255,255,255,.6); font-size: .62rem; font-weight: 750; letter-spacing: .36em;
}
#main .consult {
  position: relative; grid-template-columns: minmax(300px,1fr) auto; gap: 44px;
  max-width: 1240px; padding: 19px 0; border: solid rgba(255,255,255,.3); border-width: 1px 0;
  border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none;
}
#main .consult__body { font-size: .96rem; font-weight: 650; }
#main .consult__list { gap: 12px; }
#main .consult__item {
  justify-content: space-between; gap: 18px; min-width: 132px; min-height: 48px;
  padding: 0 18px; border: 1px solid rgba(255,255,255,.58); border-radius: 4px;
}
#main .consult__item::after { content: "↗"; color: var(--home-blue); font-size: .9rem; }

@media (max-width:959px) {
  #main .doctor-band__inner {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    gap: 24px;
  }
  #main .doctor-band__figure {
    grid-column: 1; grid-row: auto; order: 4;
    width: min(100%,450px); height: auto; aspect-ratio: 476/600;
  }
  #main .doctor-band__profile {
    grid-column: 1; grid-row: auto; order: 5; justify-self: center; width: min(100%,650px);
    padding: 34px 0 0; border-top: 1px solid rgba(255,255,255,.4); border-left: 0;
  }
  #main .doctor-band__credentials { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main .facility { grid-template-columns: 1fr; grid-template-rows: auto; }
  #main .facility-band { padding-top: 78px; padding-bottom: 84px; }
  #main .facility-band::before { inset: 33% 0 auto auto; width: 70%; height: 38%; }
  #main .facility-band .section-heading { justify-items: center; text-align: center; }
  #main .facility__copy { padding: 0 0 0 24px; }
  #main .facility__featured { height: auto; }
  #main .facility__strip figure { height: 196px; }
  #main .reviews__list { grid-auto-columns: calc((100% - 24px)/2); padding-right: 24px; padding-left: 24px; scroll-padding-inline: 24px; }
  #main .consult { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width:620px) {
  #main .doctor-band__profile { padding-top: 28px; }
  #main .doctor-band__credentials { grid-template-columns: 1fr; }
  #main .doctor-band__name,
  #main .doctor-band__credentials,
  #main .doctor-band__principle,
  #main .doctor-band__action { padding-right: 0; padding-left: 0; }
  #main .facility__copy { padding-left: 18px; }
  #main .facility__wordmark { padding-left: 0; }
  #main .reviews__list { grid-auto-columns: 100%; padding: 26px 24px 40px; scroll-padding-inline: 24px; }
  #main .home-consult { padding: 44px 18px 48px; }
  #main .consult { padding: 18px 0; }
}

/* 2026-09 final polish: 증상 카드 / 진료 순서 / 상담 문의 */
#main .focus {
  gap: 22px;
  counter-reset: focus-card;
}
#main .focus__item {
  grid-template-columns: 76px minmax(0,1fr);
  gap: 8px 22px;
  min-height: 188px;
  padding: 30px 32px;
  border-color: rgba(67,158,207,.18);
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,255,255,.88));
  box-shadow: 0 14px 34px rgba(31,102,140,.09);
  counter-increment: focus-card;
}
#main .focus__item::after {
  content: "0" counter(focus-card);
  position: absolute;
  top: 21px;
  right: 24px;
  color: rgba(49,153,207,.15);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
}
#main .focus__item .line-icon--on-blue {
  width: 76px;
  height: 76px;
  padding: 10px;
  border: 1px solid rgba(49,153,207,.13);
  border-radius: 22px;
  background: linear-gradient(145deg,#e4f5fc,#f3fbfe);
}
#main .focus__item h3 { padding-right: 30px; }
#main .focus__item h3,
#main .focus__item h3 a {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
}
#main .focus__item > p {
  max-width: 31ch;
  color: #687983;
  font-size: .95rem;
  line-height: 1.68;
  letter-spacing: -.018em;
}

#main .process-after { margin-top: 74px; }
#main .process-strip {
  grid-template-columns: 176px minmax(0,1fr);
  gap: 42px;
  padding: 36px 42px;
  overflow: visible;
  border: 1px solid rgba(55,154,208,.18);
  border-radius: 18px;
  background: linear-gradient(135deg,#f5fbfe,#edf8fc);
  box-shadow: 0 18px 44px rgba(31,102,140,.10);
}
#main .process-strip::after { display: none; }
#main .process-strip__title {
  color: var(--home-navy-deep);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
}
#main .process-strip__title::before {
  content: "CARE PROCESS";
  display: block;
  margin-bottom: 9px;
  color: var(--home-blue);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .24em;
}
#main .process-strip__list { gap: 0; }
#main .process-strip__list li {
  min-height: 106px;
  padding: 54px 20px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #50636d;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.55;
  text-align: left;
}
#main .process-strip__list li::before {
  top: 2px;
  right: auto;
  left: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--home-blue-deep),var(--home-blue));
  color: #fff;
  font-size: .68rem;
  letter-spacing: .08em;
  box-shadow: 0 8px 18px rgba(31,120,169,.20);
}
#main .process-strip__list li::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  left: 66px;
  height: 1px;
  background: linear-gradient(90deg,rgba(55,154,208,.42),rgba(55,154,208,.10));
}
#main .process-strip__list li:last-child::after { display: none; }

#main .home-consult {
  padding: 46px 24px 50px;
  background:
    radial-gradient(circle at 86% 10%,rgba(255,255,255,.13),transparent 28%),
    linear-gradient(118deg,#237eae 0%,#55b4e1 100%);
}
#main .home-consult > .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
  align-items: center;
  gap: 46px;
  max-width: 1280px;
}
#main .home-consult .section-heading {
  justify-items: start;
  margin: 0;
  text-align: left;
}
#main .home-consult .section-heading h2 {
  font-size: 2.05rem;
  font-weight: 720;
  letter-spacing: -.045em;
}
#main .home-consult .section-heading h2::before {
  margin-bottom: 10px;
  font-size: .58rem;
  letter-spacing: .28em;
}
#main .consult {
  grid-template-columns: minmax(260px,1fr) auto;
  gap: 30px;
  width: 100%;
  max-width: none;
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 16px;
  background: rgba(255,255,255,.11);
  box-shadow: 0 18px 42px rgba(16,79,113,.13);
  backdrop-filter: blur(8px);
}
#main .consult__body {
  position: relative;
  padding-left: 25px;
  color: #fff;
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.6;
}
#main .consult__body::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.13);
}
#main .consult__list {
  display: grid;
  grid-template-columns: repeat(3,minmax(126px,1fr));
  gap: 10px;
}
#main .consult__item {
  justify-content: space-between;
  min-width: 0;
  min-height: 54px;
  padding: 0 17px;
  border-color: rgba(255,255,255,.66);
  border-radius: 10px;
  font-size: .88rem;
  box-shadow: 0 8px 20px rgba(19,88,124,.10);
}
#main .consult__item[data-cta="naver-booking"] {
  border-color: var(--home-navy-deep);
  background: var(--home-navy-deep);
  color: #fff;
}
#main .consult__item[data-cta="naver-booking"]::after { color: #fff; }

@media (max-width:1100px) {
  #main .home-consult > .container { grid-template-columns: 180px minmax(0,1fr); gap: 28px; }
  #main .consult { grid-template-columns: 1fr; gap: 18px; }
  #main .consult__list { justify-content: stretch; }
}

@media (max-width:959px) {
  #main .focus__item { min-height: 176px; }
  #main .process-strip { grid-template-columns: 1fr; gap: 28px; }
  #main .process-strip__title { text-align: center; }
  #main .home-consult > .container { grid-template-columns: 1fr; gap: 20px; }
  #main .home-consult .section-heading { justify-items: center; text-align: center; }
}

@media (max-width:620px) {
  #main .focus { gap: 14px; }
  #main .focus__item {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 7px 17px;
    min-height: 158px;
    padding: 24px 20px;
  }
  #main .focus__item .line-icon--on-blue { width: 64px; height: 64px; border-radius: 18px; }
  #main .focus__item h3,
  #main .focus__item h3 a { font-size: 1.08rem; }
  #main .focus__item > p { font-size: .9rem; }
  #main .process-after { margin-top: 54px; }
  #main .process-strip { gap: 22px; padding: 30px 24px; }
  #main .process-strip__list { grid-template-columns: 1fr; gap: 0; }
  #main .process-strip__list li { min-height: 74px; padding: 8px 0 22px 58px; }
  #main .process-strip__list li::before { top: 0; left: 0; }
  #main .process-strip__list li::after {
    top: 43px;
    right: auto;
    bottom: 2px;
    left: 19px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg,rgba(55,154,208,.42),rgba(55,154,208,.10));
  }
  #main .home-consult { padding: 40px 18px 44px; }
  #main .consult { padding: 22px 20px; }
  #main .consult__body { padding-left: 22px; font-size: .94rem; text-align: left; }
  #main .consult__list { grid-template-columns: 1fr; }
}

/* 2026-09 final polish: 대표번호·진료시간 / 진료 범위 */
#main .legacy-hours {
  padding-top: 106px;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 86% 18%,rgba(94,179,226,.11),transparent 27%),
    linear-gradient(180deg,#f1fafe 0%,#e8f6fb 100%);
}
#main .hours-twin {
  grid-template-columns: .9fr 1.1fr;
  max-width: 1160px;
  border-color: rgba(60,145,192,.16);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(31,102,140,.13);
}
#main .hours-twin__panel {
  min-height: 438px;
  padding: 58px 62px 50px;
}
#main .hours-twin__panel:first-child {
  background:
    radial-gradient(circle at 8% 0%,rgba(255,255,255,.15),transparent 31%),
    linear-gradient(145deg,#3498c8,#60b8e3);
}
#main .hours-twin__eyebrow {
  margin-bottom: 14px;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .42em;
}
#main .hours-twin__panel h3 {
  font-size: 2.15rem;
  font-weight: 520;
}
#main .hours-twin__phone {
  margin-top: 24px;
  font-size: clamp(2.5rem,3.35vw,3.3rem);
  line-height: 1.15;
}
#main .hours-twin__phone::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 26px;
  background: rgba(255,255,255,.62);
}
#main .hours-twin__note {
  max-width: 32ch;
  margin-top: 18px;
  color: rgba(255,255,255,.86);
  font-size: .93rem;
}
#main .hours-twin__panel:last-child {
  align-items: stretch;
  background: linear-gradient(145deg,#fff,#fbfdfe);
}
#main .hours-twin__panel:last-child .hours-twin__eyebrow,
#main .hours-twin__panel:last-child h3 { text-align: left; }
#main .hours-twin__list {
  gap: 0;
  margin-top: 25px;
}
#main .hours-twin__list > div {
  grid-template-columns: 86px 1fr;
  gap: 22px;
  min-height: 49px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(38,126,171,.10);
}
#main .hours-twin__list > div:last-child { border-bottom: 0; }
#main .hours-twin__list dt {
  min-height: 31px;
  background: #e8f6fc;
  color: var(--home-blue-deep);
  font-size: .8rem;
}
#main .hours-twin__list dd {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
#main .hours-twin__notes {
  gap: 5px;
  margin-top: 17px;
  padding: 12px 0 0 16px;
  border-top: 1px solid rgba(38,126,171,.10);
  border-left: 2px solid rgba(94,179,226,.42);
  color: #7b8a92;
  font-size: .79rem;
}
#main .hours-twin__panel:last-child > p:last-child {
  margin-top: auto;
  padding-top: 19px;
}
#main .hours-twin__panel:last-child .link-standalone {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(40,143,190,.22);
  border-radius: 999px;
  background: #f0f9fd;
  font-size: .9rem;
}

#main .home-medical--support {
  background:
    radial-gradient(circle at 92% 4%,rgba(255,255,255,.17),transparent 25%),
    linear-gradient(145deg,#348fc0 0%,#5cb5df 55%,#67bee5 100%);
}
#main .home-medical--support .section-heading__lead {
  max-width: 58ch;
  color: rgba(255,255,255,.84);
}
#main .support { gap: 20px; }
#main .support__item {
  gap: 9px;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  border-color: rgba(255,255,255,.24);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.055));
  box-shadow: 0 14px 30px rgba(18,85,120,.08);
}
#main .support__item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,rgba(255,255,255,.82),rgba(255,255,255,0));
  opacity: .55;
}
#main .support__item--lead {
  grid-template-columns: 82px minmax(0,1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 24px;
  padding: 34px;
  border-color: rgba(255,255,255,.31);
  background: linear-gradient(135deg,rgba(15,90,130,.19),rgba(255,255,255,.10));
}
#main .support__item--lead .line-icon--on-blue {
  grid-row: 1 / 4;
  align-self: center;
}
#main .support__item .line-icon--on-blue {
  width: 70px;
  height: 70px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 24px rgba(17,83,118,.10);
}
#main .support__item h3 { margin-top: 7px; }
#main .support__item h3,
#main .support__item h3 a {
  font-size: 1.12rem;
  font-weight: 820;
  letter-spacing: -.035em;
}
#main .support__terms {
  color: rgba(239,250,255,.88);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.55;
}
#main .support__item > p:last-child {
  margin-top: 3px;
  color: rgba(255,255,255,.76);
  font-size: .84rem;
  line-height: 1.62;
}
@media (hover:hover) {
  #main .support__item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.42);
    background: linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.08));
    box-shadow: 0 20px 38px rgba(18,85,120,.13);
  }
}

@media (max-width:959px) {
  #main .legacy-hours { padding-top: 86px; padding-bottom: 92px; }
  #main .hours-twin__panel { min-height: 0; padding: 50px 48px; }
  #main .hours-twin__panel:first-child { min-height: 360px; }
  #main .support__item--lead { min-height: 220px; }
}

@media (max-width:620px) {
  #main .hours-twin { border-radius: 20px; }
  #main .hours-twin__panel { padding: 40px 26px; }
  #main .hours-twin__panel:first-child { min-height: 330px; }
  #main .hours-twin__phone { font-size: 2.2rem; }
  #main .hours-twin__list > div { grid-template-columns: 76px 1fr; gap: 14px; }
  #main .hours-twin__panel:last-child .link-standalone { font-size: .84rem; }
  #main .support__item,
  #main .support__item--lead {
    grid-template-columns: 68px minmax(0,1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    min-height: 0;
    padding: 25px 22px;
  }
  #main .support__item .line-icon--on-blue {
    grid-row: 1 / 4;
    align-self: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  #main .support__item h3 { margin-top: 0; }
  #main .support__item h3,
  #main .support__item h3 a { font-size: 1.04rem; }
}

/* 2026-09 clarity fix: 선명한 상담 컬러 / 비교 목록 / 제목 줄바꿈 */
#main .home-medical--clues > .container {
  width: min(calc(100% - 48px),1160px);
}
#main .home-medical--clues .section-heading h2 {
  max-width: 26ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.05rem,2.75vw,2.65rem);
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
#main .home-medical--clues .section-heading__lead {
  max-width: 48ch;
  margin-right: auto;
  margin-left: auto;
  word-break: keep-all;
  text-wrap: balance;
}
#main .comparison__column h3,
#main .comparison__caption,
#main .comparison__column li {
  word-break: keep-all;
}
#main .comparison__column ul {
  list-style: none !important;
}
#main .comparison__column li {
  list-style: none !important;
}
#main .comparison__column li::marker {
  content: "";
  font-size: 0;
}

#main .home-consult {
  background: linear-gradient(115deg,#1698d2 0%,#32ace0 48%,#61c5ef 100%);
}
#main .home-consult::before {
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 0 0 82px rgba(255,255,255,.055),0 0 0 164px rgba(255,255,255,.035);
}
#main .consult {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.14);
  box-shadow: 0 18px 42px rgba(0,103,153,.14);
  backdrop-filter: none;
}
#main .consult__body { color: #fff; }
#main .consult__item {
  border-color: #fff;
  background: #fff;
  color: #087eb7;
}
#main .consult__item::after { color: #0b8fc9; }
#main .consult__item[data-cta="naver-booking"] {
  border-color: #03c75a;
  background: #03c75a;
  color: #fff;
}
#main .consult__item[data-cta="phone"] {
  border-color: #087eb7;
  background: #087eb7;
  color: #fff;
}
#main .consult__item[data-cta="naver-booking"]::after,
#main .consult__item[data-cta="phone"]::after { color: #fff; }

@media (max-width:620px) {
  #main .home-medical--clues > .container { width: min(calc(100% - 28px),560px); }
  #main .home-medical--clues .section-heading h2 {
    max-width: 18ch;
    font-size: 1.9rem;
    line-height: 1.35;
  }
  #main .home-medical--clues .section-heading__lead { max-width: 31ch; }
  #main .comparison__column li { word-break: normal; }
}

/* 2026-09 final polish: 상단 상담 예약 바 */
#main .home-cta {
  margin-top: -64px;
  padding-bottom: 62px;
}
#main .home-cta .action-pill {
  position: relative;
  grid-template-columns: 214px minmax(0,1fr) 158px;
  gap: 24px;
  width: min(100%,1160px);
  min-height: 126px;
  padding: 22px 24px 20px 28px;
  overflow: hidden;
  border: 1px solid rgba(42,151,205,.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(21,88,124,.17);
  backdrop-filter: none;
}
#main .home-cta .action-pill::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg,#229dd6,#6bc8ef);
}
#main .action-pill__brand {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding-right: 24px;
  border-right: 1px solid #e4eff4;
}
#main .action-pill__brand img {
  width: 186px;
  max-width: 100%;
}
#main .action-pill__form {
  gap: 8px;
}
#main .action-pill__fields {
  gap: 12px;
}
#main .action-pill__field {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 2px;
  min-height: 55px;
  padding: 9px 14px;
  border: 1px solid #dcebf2;
  border-radius: 10px;
  background: #f7fcfe;
}
#main .action-pill__field-label {
  color: #147fac;
  font-size: .72rem;
  font-weight: 850;
}
#main .action-pill__field-hint {
  color: #9aa9b0;
  font-size: .77rem;
}
#main .action-pill__terms {
  gap: 6px;
  padding-left: 2px;
  color: #77868e;
  font-size: .72rem;
}
#main .action-pill__checkbox {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid #b9ccd5;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}
#main .action-pill__terms-link {
  color: #318eb9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#main .action-pill__submit {
  min-width: 0;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg,#118ac1,#20a7df);
  color: #fff;
  font-size: .88rem;
  font-weight: 820;
  box-shadow: 0 12px 25px rgba(16,137,190,.23);
  transition: transform .22s ease,box-shadow .22s ease,background .22s ease;
}
@media (hover:hover) {
  #main .action-pill__submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg,#087caf,#169bd2);
    box-shadow: 0 16px 28px rgba(16,137,190,.29);
  }
}

@media (max-width:1100px) {
  #main .home-cta .action-pill {
    grid-template-columns: 174px minmax(0,1fr) 148px;
    gap: 18px;
    padding-left: 22px;
  }
  #main .action-pill__brand { padding-right: 18px; }
  #main .action-pill__brand img { width: 154px; }
}

@media (max-width:959px) {
  #main .home-cta { margin-top: -46px; padding-bottom: 48px; }
  #main .home-cta .action-pill {
    grid-template-columns: minmax(0,1fr) 150px;
    gap: 18px;
    width: min(100%,720px);
    min-height: 118px;
    padding: 19px 20px;
    border-radius: 18px;
  }
  #main .action-pill__brand { display: none; }
}

@media (max-width:620px) {
  #main .home-cta { margin-top: -32px; padding-bottom: 42px; }
  #main .home-cta .action-pill {
    grid-template-columns: 1fr;
    width: calc(100% - 8px);
    min-height: 0;
    padding: 14px;
    border-radius: 16px;
  }
  #main .action-pill__form { display: none; }
  #main .action-pill__submit { width: 100%; min-height: 54px; }
}

/* 2026-09 readability fix: 상단 라인 제거 / 텍스트 확대 */
#main .home-cta .action-pill::before,
#main .support__item::before {
  display: none;
}
#main .action-pill__field {
  width: 100%;
  max-width: none;
  min-height: 58px;
  padding: 10px 15px;
}
#main .action-pill__fields {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  width: 100%;
}
#main .action-pill__field-label {
  font-size: .8rem;
}
#main .action-pill__field-hint {
  font-size: .84rem;
}
#main .action-pill__terms {
  font-size: .78rem;
  line-height: 1.5;
}
#main .action-pill__submit {
  font-size: .94rem;
  letter-spacing: -.02em;
}

#main .home-medical--support .section-heading__lead {
  font-size: 1.02rem;
  line-height: 1.75;
}
#main .support__item {
  min-height: 248px;
}
#main .support__item h3,
#main .support__item h3 a {
  font-size: 1.2rem;
  line-height: 1.42;
}
#main .support__terms {
  font-size: .94rem;
  line-height: 1.62;
}
#main .support__item > p:last-child {
  font-size: .91rem;
  line-height: 1.68;
}

@media (max-width:959px) {
  #main .action-pill__field-label { font-size: .77rem; }
  #main .action-pill__field-hint { font-size: .81rem; }
  #main .support__item { min-height: 238px; }
}

@media (max-width:620px) {
  #main .support__item,
  #main .support__item--lead { min-height: 0; }
  #main .support__item h3,
  #main .support__item h3 a { font-size: 1.11rem; }
  #main .support__terms { font-size: .9rem; }
  #main .support__item > p:last-child { font-size: .86rem; }
}

/* 2026-09 sitewide typography pass: 메인 전체 가독성 확대 */
#main { font-size: 17px; }

#main .hero__inner::before { font-size: .73rem; }
#main .hero__clinic-list { font-size: clamp(1.13rem,1.45vw,1.36rem); }
#main .hero__sub { font-size: clamp(1.03rem,1.2vw,1.14rem); }

#main .action-pill__field-label { font-size: .84rem; }
#main .action-pill__field-hint { font-size: .88rem; }
#main .action-pill__terms { font-size: .82rem; }
#main .action-pill__submit { font-size: .98rem; }

#main .subject__eyebrow { font-size: .73rem; }
#main .subject__lead { font-size: 1.08rem; }
#main .subject-card__name { font-size: 1.34rem; }
#main .subject-card__en { font-size: .75rem; }
#main .subject-card__terms { font-size: .87rem; }

#main .doctor-band__eyebrow { font-size: .71rem; }
#main .doctor-band__lead { font-size: 1.08rem; line-height: 1.72; }
#main .doctor-band__credentials { font-size: 1rem; line-height: 1.62; }
#main .doctor-band__principle { font-size: 1.02rem; line-height: 1.82; }
#main .doctor-band__profile .link-standalone { font-size: .98rem; }

#main .facility-band .section-heading__lead { font-size: 1.04rem; }
#main .facility__copy p { font-size: 1.03rem; line-height: 1.78; }
#main .facility__link { font-size: .98rem; }
#main .facility__featured figcaption,
#main .facility__strip figcaption { font-size: .95rem; }

#main .legacy-reviews .section-heading__lead { font-size: 1.06rem; }
#main .reviews__source { font-size: .91rem; }
#main .reviews__quote { font-size: 1.06rem; line-height: 1.82; }
#main .reviews__meta { font-size: .86rem; }

#main .hours-twin__note { font-size: .99rem; }
#main .hours-twin__list dt { font-size: .87rem; }
#main .hours-twin__list dd { font-size: 1.06rem; }
#main .hours-twin__notes { font-size: .86rem; }
#main .hours-twin__panel:last-child .link-standalone { font-size: .96rem; }

#main .home-medical .section-heading__lead { font-size: 1.05rem; }
#main .focus__item h3,
#main .focus__item h3 a { font-size: 1.26rem; }
#main .focus__item > p { font-size: 1rem; line-height: 1.72; }
#main .comparison__column h3 { font-size: 1.28rem; }
#main .comparison__caption { font-size: .97rem; line-height: 1.68; }
#main .comparison__column li { font-size: 1rem; line-height: 1.72; }
#main .process-strip__title { font-size: 1.62rem; }
#main .process-strip__list li { font-size: 1rem; line-height: 1.62; }
#main .support__item h3,
#main .support__item h3 a { font-size: 1.26rem; }
#main .support__terms { font-size: .98rem; }
#main .support__item > p:last-child { font-size: .94rem; }

#main .address-band__facts dt,
#main .address-band__facts dd { font-size: 1rem; }
#main .address-band__text > p:last-child .link-standalone,
#main .address-band__map-link { font-size: .96rem; }

#main .consult__body { font-size: 1.06rem; }
#main .consult__item { font-size: .96rem; }

@media (max-width:959px) {
  #main { font-size: 16.5px; }
  #main .doctor-band__credentials { font-size: .96rem; }
  #main .reviews__quote { font-size: 1.02rem; }
  #main .focus__item h3,
  #main .focus__item h3 a { font-size: 1.2rem; }
  #main .support__item h3,
  #main .support__item h3 a { font-size: 1.19rem; }
}

@media (max-width:620px) {
  #main { font-size: 16px; }
  #main .hero__clinic-list { font-size: 1.04rem; }
  #main .hero__sub { font-size: .95rem; }
  #main .subject__lead,
  #main .doctor-band__lead,
  #main .legacy-reviews .section-heading__lead,
  #main .home-medical .section-heading__lead { font-size: .98rem; }
  #main .subject-card__name { font-size: 1.2rem; }
  #main .subject-card__terms { font-size: .84rem; }
  #main .doctor-band__credentials,
  #main .doctor-band__principle,
  #main .facility__copy p,
  #main .reviews__quote,
  #main .comparison__column li,
  #main .process-strip__list li { font-size: .96rem; }
  #main .focus__item h3,
  #main .focus__item h3 a,
  #main .support__item h3,
  #main .support__item h3 a { font-size: 1.14rem; }
  #main .focus__item > p,
  #main .support__terms { font-size: .93rem; }
  #main .support__item > p:last-child { font-size: .89rem; }
  #main .consult__body { font-size: 1rem; }
  #main .consult__item { font-size: .94rem; }
}

/* 2026-09 reservation form layout fix */
#main .action-pill__field {
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
}
#main .action-pill__field-label,
#main .action-pill__field-hint { white-space: nowrap; }

@media (max-width:620px) {
  #main .home-cta .action-pill {
    gap: 14px;
    padding: 18px;
  }
  #main .action-pill__form {
    display: grid;
    gap: 9px;
    width: 100%;
  }
  #main .action-pill__fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #main .action-pill__field {
    grid-template-columns: 72px minmax(0,1fr);
    gap: 10px;
    min-height: 50px;
    padding: 9px 13px;
  }
  #main .action-pill__terms {
    padding-left: 1px;
    font-size: .77rem;
  }
}

/* 2026-09 card interaction: 카드 전체 링크 영역 */
#main .subject-card__name a,
#main .focus__item h3 a,
#main .support__item h3 a {
  color: inherit;
  text-decoration: none;
}
#main .subject-card__name a::after,
#main .focus__item h3 a::after,
#main .support__item h3 a::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  cursor: pointer;
}
#main .subject-card__name a:focus-visible::after,
#main .focus__item h3 a:focus-visible::after,
#main .support__item h3 a:focus-visible::after {
  outline: 3px solid #fff;
  outline-offset: -5px;
}
#main .focus__item:has(h3 a),
#main .support__item:has(h3 a) { cursor: pointer; }

/* 2026-09 stable responsive design: 진료시간 / 그 밖의 진료 범위 */
#main .legacy-hours {
  padding: 82px 24px 90px;
  background:
    radial-gradient(circle at 12% 15%,rgba(64,171,220,.09),transparent 28%),
    linear-gradient(180deg,#f5fcff 0%,#eaf7fc 100%);
}
#main .legacy-hours > .container {
  width: min(100%,1080px);
  padding: 0;
}
#main .hours-twin {
  display: grid;
  grid-template-columns: minmax(340px,.78fr) minmax(0,1.22fr);
  gap: 0;
  width: min(100%,1080px);
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(52,154,205,.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(31,116,159,.12);
}
#main .hours-twin__panel {
  width: 100%;
  min-width: 0;
  min-height: 382px;
  padding: 46px 50px 42px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  text-align: left;
}
#main .hours-twin__panel:first-child {
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 88% 90%,rgba(255,255,255,.16),transparent 31%),
    linear-gradient(145deg,#2ba5d9 0%,#61c2e8 100%);
}
#main .hours-twin__panel:last-child {
  align-items: stretch;
  background: #fff;
}
#main .hours-twin__eyebrow {
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: .68rem;
  letter-spacing: .34em;
}
#main .hours-twin__panel h3 {
  font-size: 2rem;
}
#main .hours-twin__panel:first-child h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
#main .hours-twin__phone {
  margin-top: 20px;
  font-size: clamp(2.25rem,3vw,2.8rem);
  white-space: nowrap;
}
#main .hours-twin__phone a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
#main .hours-twin__phone a::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color .2s ease, transform .2s ease;
}
#main .hours-twin__phone::after {
  display: none;
}
#main .hours-twin__note {
  margin-top: 16px;
  font-size: .96rem;
}
#main .hours-twin__list {
  width: 100%;
  margin-top: 18px;
}
#main .hours-twin__list > div {
  grid-template-columns: 82px minmax(0,1fr);
  gap: 20px;
  min-height: 47px;
  padding: 7px 0;
  min-width: 0;
  border-bottom-color: #e4f1f7;
}
#main .hours-twin__list dt {
  background: #e8f7fd;
  color: #1186bd;
}
#main .hours-twin__list dd {
  min-width: 0;
  font-size: 1rem;
  text-align: right;
}
#main .hours-twin__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #e3f0f6;
  border-radius: 10px;
  background: #f8fcfe;
  color: #667a84;
  font-size: .82rem;
  line-height: 1.5;
}
#main .hours-twin__notes li {
  position: relative;
  padding-left: 11px;
}
#main .hours-twin__notes li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #42addd;
}
#main .hours-twin__panel:last-child .link-standalone {
  min-height: 44px;
  padding: 0 19px;
  border-color: #b7e4f6;
  background: #ecf9fe;
  color: #087fb8;
  box-shadow: none;
}
#main .hours-twin__panel:last-child > p:last-child {
  align-self: flex-start;
  margin-top: 20px;
  padding-top: 0;
}

#main .home-medical--support {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 7%,rgba(94,190,231,.15),transparent 26%),
    linear-gradient(180deg,#f4fbfe 0%,#eaf7fc 100%);
}
#main .home-medical--support .section-heading h2 {
  color: var(--home-navy-deep);
}
#main .home-medical--support .section-heading h2::before {
  color: #289acb;
}
#main .home-medical--support .section-heading__lead {
  color: #667b86;
}
#main .support {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
#main .support__item,
#main .support__item--lead {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #d7ecf5;
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 13px 30px rgba(32,119,160,.09);
  transform: none;
}
#main .support__item--lead {
  grid-column: span 2;
  grid-template-columns: 80px minmax(0,1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 24px;
  border-color: rgba(255,255,255,.52);
  background:
    radial-gradient(circle at 92% 8%,rgba(255,255,255,.19),transparent 32%),
    linear-gradient(135deg,#269fd3 0%,#61c2e8 100%);
  box-shadow: 0 17px 38px rgba(28,131,180,.18);
}
#main .support__item::before {
  display: none;
}
#main .support__item .line-icon--on-blue {
  width: 68px;
  height: 68px;
  padding: 9px;
  border: 1px solid #cce8f4;
  border-radius: 18px;
  background: #f2fbff;
  box-shadow: none;
}
#main .support__item--lead .line-icon--on-blue {
  grid-row: 1 / 4;
  align-self: center;
  border-color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.96);
}
#main .support__item h3,
#main .support__item h3 a {
  color: #087eb6;
}
#main .support__terms {
  color: #3e718a;
}
#main .support__item > p:last-child {
  color: #5d717b;
}
#main .support__item h3,
#main .support__item .support__terms,
#main .support__item > p:last-child {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
#main .support__item--lead h3,
#main .support__item--lead h3 a,
#main .support__item--lead .support__terms,
#main .support__item--lead > p:last-child {
  color: #fff;
}
#main .support__item h3 a:focus-visible::after {
  outline-color: #138fc6;
}
#main .support__item--lead h3 a:focus-visible::after {
  outline-color: #fff;
}
@media (hover:hover) {
  #main .hours-twin__phone a:hover::after {
    background: rgba(255,255,255,.16);
    transform: translateX(3px);
  }
  #main .hours-twin__panel:last-child .link-standalone:hover {
    border-color: #25a6dd;
    background: #25a6dd;
    color: #fff;
  }
  #main .support__item:hover {
    border-color: #b7e2f3;
    background: #fff;
    box-shadow: 0 19px 40px rgba(32,119,160,.14);
    transform: translateY(-4px);
  }
  #main .support__item--lead:hover {
    border-color: rgba(255,255,255,.72);
    background:
      radial-gradient(circle at 92% 8%,rgba(255,255,255,.22),transparent 32%),
      linear-gradient(135deg,#2098ce 0%,#59bce5 100%);
  }
}

@media (max-width:959px) {
  #main .legacy-hours {
    padding: 72px 18px 78px;
  }
  #main .hours-twin {
    grid-template-columns: minmax(0,1fr);
    width: min(100%,720px);
  }
  #main .hours-twin__panel {
    min-height: 0;
    padding: 44px 48px;
  }
  #main .hours-twin__panel:first-child {
    min-height: 270px;
  }
  #main .support {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #main .support__item--lead {
    grid-column: span 2;
  }
}

@media (max-width:620px) {
  #main .legacy-hours {
    padding: 58px 14px 64px;
  }
  #main .hours-twin {
    width: 100%;
    border-radius: 20px;
  }
  #main .hours-twin__panel {
    padding: 34px 24px;
  }
  #main .hours-twin__panel:first-child {
    min-height: 235px;
  }
  #main .hours-twin__panel h3 {
    font-size: 1.85rem;
  }
  #main .hours-twin__phone {
    font-size: clamp(1.65rem,8.4vw,2.25rem);
    letter-spacing: -.065em;
  }
  #main .hours-twin__phone a {
    gap: 9px;
  }
  #main .hours-twin__phone a::after {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  #main .hours-twin__list > div {
    grid-template-columns: 72px minmax(0,1fr);
    gap: 12px;
  }
  #main .hours-twin__list dd {
    font-size: .96rem;
  }
  #main .hours-twin__notes {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 6px;
    padding: 12px;
    font-size: .82rem;
  }
  #main .hours-twin__panel:last-child .link-standalone {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #main .home-medical--support {
    padding-right: 14px;
    padding-left: 14px;
  }
  #main .home-medical--support > .container {
    width: 100%;
    padding: 0;
  }
  #main .support {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  #main .support__item,
  #main .support__item--lead {
    grid-column: auto;
    grid-template-columns: 62px minmax(0,1fr);
    grid-template-rows: auto auto auto;
    column-gap: 17px;
    min-height: 0;
    padding: 23px 20px;
    border-radius: 15px;
  }
  #main .support__item .line-icon--on-blue,
  #main .support__item--lead .line-icon--on-blue {
    grid-row: 1 / 4;
    align-self: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
  #main .support__item h3 {
    margin-top: 0;
  }
  #main .support__item h3,
  #main .support__item h3 a {
    font-size: 1.08rem;
    line-height: 1.4;
  }
  #main .support__terms {
    font-size: .88rem;
    line-height: 1.55;
  }
  #main .support__item > p:last-child {
    font-size: .84rem;
    line-height: 1.55;
  }
}

@media (max-width:360px) {
  #main .hours-twin__panel {
    padding-right: 18px;
    padding-left: 18px;
  }
  #main .hours-twin__list > div {
    grid-template-columns: 66px minmax(0,1fr);
    gap: 9px;
  }
  #main .support__item,
  #main .support__item--lead {
    grid-template-columns: 56px minmax(0,1fr);
    column-gap: 14px;
    padding: 21px 17px;
  }
  #main .support__item .line-icon--on-blue,
  #main .support__item--lead .line-icon--on-blue {
    width: 54px;
    height: 54px;
  }
}

/* Layout grids must not inherit the original mobile horizontal-rail flow. */
@media (max-width:1199px) {
  body.home .quickbar { display: none !important; }
  body.home .action-bar { display: block; }
  body.home { padding-bottom: calc(76px + env(safe-area-inset-bottom,0px)); }
}
@media (min-width:768px) and (max-width:1199px) {
  body.home .site-header__inner { width: calc(100% - 32px); min-height: 76px; gap: 16px; flex-wrap: nowrap; }
  body.home .site-header__brand { width: clamp(180px,22vw,260px); flex: 0 0 auto; }
  body.home .site-header__brand img { width: 100%; height: auto; }
  body.home .site-nav__list { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; }
  body.home .site-nav__item { flex: 1 1 0; min-width: 0; }
  body.home .site-nav__label { width: 100%; height: 76px; padding: 0 4px; font-size: .875rem; white-space: nowrap; }
}
#main .focus,
#main .support,
#main .facility__strip {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  overflow: visible;
  scroll-snap-type: none;
}
#main .focus > *,
#main .support > *,
#main .facility__strip > * { min-width: 0; }
#main a.action-pill__submit { text-decoration: none; }
#main .facility__featured { max-width: 100%; min-width: 0; }
#main .subject-card__name,
#main .focus__item h3,
#main .support__item h3 { position: static; }

@media (max-width:959px) {
  #main .doctor-band { min-height: 0; }
  #main .doctor-band__inner > * { min-width: 0; max-width: 100%; }
  #main .facility__strip { padding: 0; margin-inline: 0; }
  #main .focus { padding: 0; margin-inline: 0; }
  #main .clinic-hours-card__contact,
  #main .clinic-hours-card__schedule { min-width: 0; }
}
@media (max-width:620px) {
  #main .hero { height: auto; min-height: 530px; }
  #main .hero__inner { height: auto; min-height: 530px; padding: 40px 0 72px; }
  #main .hero__title { text-wrap: initial; word-break: keep-all; }
  #main .hero__title-line:first-child { overflow-wrap: anywhere; }
  #main .hero::after { display: none; }
  #main .home-consult { padding: 36px 20px 40px; }
  #main .home-consult > .container { width: 100%; padding: 0; }
  #main .consult { gap: 16px; padding: 20px 16px; }
  #main .consult__list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  #main .consult__item { min-width: 0; padding: 10px 6px; justify-content: center; font-size: .875rem; white-space: nowrap; }
  #main .consult__item::after { display: none; }
  #main .home-medical,
  #main .legacy-reviews,
  #main .home-location,
  #main .doctor-band,
  #main .facility-band { padding: 60px 20px; }
  #main .home-medical > .container,
  #main .legacy-reviews > .container,
  #main .home-location > .container,
  #main .doctor-band > .container,
  #main .facility-band > .container { width: 100%; padding-inline: 0; }
  #main .focus,
  #main .support,
  #main .facility__strip { grid-template-columns: minmax(0,1fr); }
  #main .focus__item { grid-template-columns: 64px minmax(0,1fr); }
  #main .focus__item h3,
  #main .focus__item > p,
  #main .support__item h3,
  #main .support__item > p { min-width: 0; word-break: keep-all; overflow-wrap: break-word; }
  #main .facility__wordmark { display: none; }
  #main .clinic-hours-card__contact-note,
  #main .clinic-hours-card__list dd,
  #main .focus__item > p,
  #main .support__terms,
  #main .support__item > p:last-child,
  #main .comparison__column li,
  #main .reviews__quote { font-size: 1rem; }
}

/* 2026-09 isolated clinic hours card: legacy cascade와 분리한 반응형 규칙 */
#main .clinic-hours-section,
#main .clinic-hours-section * {
  box-sizing: border-box;
}
#main .clinic-hours-section {
  padding: 76px 24px 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(58, 177, 225, .11), transparent 30%),
    linear-gradient(180deg, #f5fcff 0%, #eaf8fd 100%);
}
#main .clinic-hours-section > .container {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}
#main .clinic-hours-card {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
  width: 100%;
  overflow: hidden;
  border: 1px solid #d6edf7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(28, 117, 158, .13);
}
#main .clinic-hours-card__contact,
#main .clinic-hours-card__schedule {
  position: relative;
  min-width: 0;
  margin: 0;
}
#main .clinic-hours-card__contact {
  display: flex;
  min-height: 365px;
  padding: 48px 46px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 102% 102%, rgba(255, 255, 255, .18), transparent 38%),
    linear-gradient(145deg, #199bd3 0%, #58bee6 100%);
}
#main .clinic-hours-card__contact::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}
#main .clinic-hours-card__schedule {
  min-height: 365px;
  padding: 42px 50px 40px;
  background: #fff;
}
#main .clinic-hours-card__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: #83cceb;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .28em;
  line-height: 1.4;
}
#main .clinic-hours-card__contact .clinic-hours-card__eyebrow {
  color: rgba(255, 255, 255, .72);
}
#main .clinic-hours-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #112f3e;
  font-size: 1.85rem;
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.3;
}
#main .clinic-hours-card__contact h3 {
  color: #fff;
  font-size: 1.2rem;
}
#main .clinic-hours-card__phone {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  line-height: 1.1;
}
#main .clinic-hours-card__phone a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(2.15rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -.06em;
  text-decoration: none;
  white-space: nowrap;
}
#main .clinic-hours-card__phone a > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  font-size: .95rem;
  letter-spacing: 0;
  transition: transform .2s ease, background-color .2s ease;
}
#main .clinic-hours-card__contact-note {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .96rem;
  line-height: 1.65;
}
#main .clinic-hours-card__list {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 18px 0 0;
}
#main .clinic-hours-card__list > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 6px 0;
  border-bottom: 1px solid #e4f1f7;
}
#main .clinic-hours-card__list > div:last-child {
  border-bottom: 0;
}
#main .clinic-hours-card__list dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: #e7f7fd;
  color: #0787c0;
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.2;
}
#main .clinic-hours-card__list dd {
  min-width: 0;
  margin: 0;
  color: #233f4d;
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.45;
  text-align: right;
  word-break: keep-all;
}
#main .clinic-hours-card__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin: 13px 0 0;
  padding: 12px 14px;
  border: 1px solid #e2f1f7;
  border-radius: 12px;
  background: #f7fcfe;
  color: #607883;
  font-size: .82rem;
  line-height: 1.5;
  list-style: none;
}
#main .clinic-hours-card__notes li {
  position: relative;
  margin: 0;
  padding-left: 11px;
  word-break: keep-all;
}
#main .clinic-hours-card__notes li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #31a8da;
}
#main .clinic-hours-card__action {
  margin: 16px 0 0;
}
#main .clinic-hours-card__action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #b8e4f5;
  border-radius: 999px;
  background: #edf9fe;
  color: #087fb8;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}
@media (hover: hover) {
  #main .clinic-hours-card__phone a:hover > span {
    background: rgba(255, 255, 255, .16);
    transform: translateX(3px);
  }
  #main .clinic-hours-card__action a:hover {
    border-color: #1ba0d7;
    background: #1ba0d7;
    color: #fff;
  }
}
@media (max-width: 820px) {
  #main .clinic-hours-section {
    padding: 64px 18px 70px;
  }
  #main .clinic-hours-card {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    margin: 0 auto;
  }
  #main .clinic-hours-card__contact {
    min-height: 0;
    padding: 36px 38px 34px;
  }
  #main .clinic-hours-card__schedule {
    min-height: 0;
    padding: 38px;
  }
}
@media (max-width: 520px) {
  #main .clinic-hours-section {
    padding: 48px 14px 54px;
  }
  #main .clinic-hours-card {
    border-radius: 20px;
    box-shadow: 0 17px 38px rgba(28, 117, 158, .12);
  }
  #main .clinic-hours-card__contact {
    padding: 30px 24px 28px;
  }
  #main .clinic-hours-card__schedule {
    padding: 31px 24px 28px;
  }
  #main .clinic-hours-card h3 {
    font-size: 1.65rem;
  }
  #main .clinic-hours-card__contact h3 {
    font-size: 1.08rem;
  }
  #main .clinic-hours-card__phone a {
    gap: 9px;
    font-size: clamp(1.78rem, 8.4vw, 2.15rem);
  }
  #main .clinic-hours-card__phone a > span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  #main .clinic-hours-card__list > div {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 11px;
  }
  #main .clinic-hours-card__list dd {
    font-size: .94rem;
  }
  #main .clinic-hours-card__notes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 11px 12px;
  }
  #main .clinic-hours-card__action a {
    width: 100%;
  }
}
@media (max-width: 360px) {
  #main .clinic-hours-section {
    padding-right: 10px;
    padding-left: 10px;
  }
  #main .clinic-hours-card__contact,
  #main .clinic-hours-card__schedule {
    padding-right: 19px;
    padding-left: 19px;
  }
  #main .clinic-hours-card__phone a {
    font-size: 1.68rem;
  }
  #main .clinic-hours-card__list > div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
  }
  #main .clinic-hours-card__list dt {
    padding-right: 8px;
    padding-left: 8px;
  }
  #main .clinic-hours-card__list dd {
    font-size: .88rem;
  }
}
