*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

/* Header — sourced from the original Hwacheon navigation. */
.site-header,
.site-all-menu {
  --header-primary: #004ea2;
}

.site-header ul,
.site-all-menu ul {
  list-style: none;
}

.site-header a,
.site-all-menu a {
  color: inherit;
  text-decoration: none;
}

.site-header button,
.site-all-menu button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(80px, 5.208vw, 100px);
  color: #0d1015;
  background: #fff;
  border-bottom: 1px solid #e4e6e8;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.site-header.is-scroll-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.is-scroll-hidden + .site-header-dim {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

.site-header.transparent:not(:hover):not(.scrolled) {
  color: #fff;
  background: transparent;
  border-bottom: 0;
}

.site-header.transparent:not(:hover):not(.scrolled) .site-util__search a,
.site-header.transparent:not(:hover):not(.scrolled) .site-lang__button::before {
  filter: brightness(0) invert(1);
}

.site-header.transparent:not(:hover):not(.scrolled) .site-menu-button span {
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1720px;
  height: 100%;
  margin: 0 auto;
}

.site-logo {
  flex-shrink: 0;
  width: clamp(160px, 11.979vw, 230px);
}

.site-logo a,
.site-logo img {
  display: block;
  width: 100%;
}

.site-gnb,
.site-gnb > ul,
.site-gnb__item {
  height: 100%;
}

.site-gnb > ul {
  display: flex;
  align-items: center;
}

.site-gnb__item {
  position: static;
}

.site-gnb__item > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.site-gnb__item > a::after {
  position: absolute;
  bottom: -1px;
  left: 30px;
  width: 0;
  height: 2px;
  content: "";
  background: #111;
  transition: 0.3s;
}

.site-gnb__item:hover > a::after,
.site-gnb__item:focus-within > a::after {
  width: calc(100% - 60px);
}

.site-util {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-util__search {
  position: relative;
  width: 24px;
  aspect-ratio: 1;
  margin-right: 20px;
}

.site-util__search::before {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 1px;
  height: 12px;
  content: "";
  background: #e4e6e8;
  transform: translateY(-50%);
}

.site-util__search a {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: url("./public/assets/images/icon-search.svg") no-repeat center / 18px;
}

.site-lang {
  position: relative;
}

.site-lang__button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.site-lang__button::before {
  width: 16px;
  aspect-ratio: 1;
  margin-right: -5px;
  content: "";
  background: url("./public/assets/images/icon-earth.png") no-repeat center / contain;
}

.site-lang__button::after {
  width: 6px;
  height: 6px;
  margin-top: -4px;
  content: "";
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.site-lang__list {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 50%;
  width: 70px;
  margin-left: -35px;
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(8px);
  transition: 0.3s;
}

.site-lang__list a {
  display: block;
  padding: 4px 16px;
  color: #111;
  white-space: nowrap;
  font-size: 15px;
}

.site-lang__list a:hover,
.site-lang__list a:focus-visible {
  color: var(--header-primary);
  background: #f5f5f5;
}

.site-lang.on .site-lang__list {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-menu-button {
  position: relative;
  width: clamp(30px, 2.083vw, 40px);
  height: 22px;
  margin-left: clamp(20px, 2.083vw, 40px);
  border: 0;
  background: none;
  cursor: pointer;
}

.site-menu-button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
}

.site-menu-button span:first-child { top: 5px; }
.site-menu-button span:last-child { bottom: 5px; }

.site-mega {
  position: absolute;
  z-index: 99;
  top: clamp(80px, 5.208vw, 100px);
  left: 0;
  display: grid;
  grid-template-columns: 23% auto 18% 46%;
  width: 100%;
  min-height: 360px;
  padding: 0 5%;
  visibility: hidden;
  opacity: 0;
  border-bottom: 1px solid #e4e6e8;
  color: #0d1015;
  background: #fff;
}

.site-mega a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
}

.site-mega__title {
  padding-top: 40px;
  font-size: 40px;
}

.site-mega__title h2 { font-weight: 600; }

.site-mega__depth1,
.site-mega__depth2 {
  min-width: 260px;
  padding: 40px 30px;
  border-left: 1px solid #ddd;
}

.site-mega__depth1 li.active a {
  color: var(--header-primary);
  background: #f5f6f7;
}

.site-mega__depth1 a::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  content: "";
  border-top: 1.5px solid #111;
  border-right: 1.5px solid #111;
  transform: rotate(45deg);
}

.site-mega__depth2 a {
  color: #444;
  font-weight: 450;
}

.site-depth-panel {
  display: none;
  flex-direction: column;
}

.site-depth-panel.active { display: flex; }

.site-mega__image {
  max-width: 580px;
  margin: 40px 0 40px auto;
  overflow: hidden;
  aspect-ratio: 580 / 332;
  border-radius: 12px;
}

.site-mega__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-gnb__item:hover .site-mega,
.site-gnb__item:focus-within .site-mega {
  visibility: visible;
  opacity: 1;
}

.site-header-dim {
  position: fixed;
  z-index: 98;
  top: clamp(80px, 5.208vw, 100px);
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px);
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-header:not(.is-scroll-hidden):has(.has-mega:hover) + .site-header-dim,
.site-header:not(.is-scroll-hidden):has(.has-mega:focus-within) + .site-header-dim {
  visibility: visible;
  opacity: 1;
}

.site-all-menu {
  position: fixed;
  z-index: 999;
  inset: 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  color: #0d1015;
  background: #fff;
  transition: 0.4s;
}

.site-all-menu.active {
  visibility: visible;
  opacity: 1;
}

.site-all-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  height: clamp(80px, 5.208vw, 100px);
  margin: 0 auto;
}

.site-all-menu__close {
  position: relative;
  width: clamp(30px, 2.083vw, 40px);
  height: clamp(30px, 2.083vw, 40px);
  border: 0;
  background: none;
  cursor: pointer;
}

.site-all-menu__close::before,
.site-all-menu__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(30px, 2.083vw, 40px);
  height: 2px;
  content: "";
  background: #111;
  transform-origin: center;
}

.site-all-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.site-all-menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.site-all-gnb {
  width: 90%;
  margin: 50px auto clamp(80px, 5.208vw, 100px);
}

.site-all-item {
  display: flex;
}

.site-all-item + .site-all-item {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e4e6e8;
}

.site-all-item > a {
  display: block;
  width: 30%;
  font-size: clamp(30px, 2.083vw, 40px);
  font-weight: 550;
  line-height: 1;
}

.site-all-depth {
  display: block;
  flex: 1;
}

.site-all-depth1 > ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.site-all-depth1 > ul > li > a {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.site-all-panel {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.site-all-panel a {
  display: block;
  padding: 5px 0;
  color: #777;
  font-size: 18px;
  font-weight: 450;
}

.site-all-panel a:hover { color: var(--header-primary); }

body {
  color: #0d1015;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.visual-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.visual-section .visual-image,
.visual-section .visual-video,
.visual-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.1));
}

.visual-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1720px;
  height: 100%;
  margin: 0 auto;
}

.visual-copy {
  position: absolute;
  bottom: clamp(60px, 6.25vw, 120px);
  left: 0;
  width: 100%;
  padding-right: clamp(20px, 10.938vw, 210px);
  color: #fff;
}

.shortcut-floating{position:fixed;top:calc(clamp(80px,5.208vw,100px) + 22px);left:max(5vw,calc((100vw - 1720px)/2));z-index:80;font-family:var(--inshine-font);max-width:90vw;opacity:1;transform:translateY(0);visibility:visible;transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s}
.hero-shortcuts{display:flex;flex-direction:column;width:202px;max-width:100%;background:#fffffff5;border:1px solid #d9e2eb;border-radius:14px;padding:5px 16px;box-shadow:0 8px 28px #10294414;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.hero-shortcuts a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;color:#1f3859;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:-.025em;text-decoration:none;transition:color .2s,background .2s}
.hero-shortcuts a+a{border-top:1px solid #dfe6ee}
.hero-shortcuts a svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:#ba9553;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.hero-shortcuts a:hover{color:#9e7939}
.hero-shortcuts a:focus-visible{outline:2px solid #d6b575;outline-offset:3px}
.site-header.is-scroll-hidden ~ .shortcut-floating{opacity:0;transform:translateY(-16px);visibility:hidden;pointer-events:none;transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s .4s}
.wf-subpage .shortcut-floating,.all-menu-open .shortcut-floating{display:none}
@media(max-width:768px){.shortcut-floating{display:none}}
@media(prefers-reduced-motion:reduce){.shortcut-floating,.site-header.is-scroll-hidden ~ .shortcut-floating{transition:none}}

.visual-copy h2 {
  font-size: clamp(40px, 4.167vw, 60px);
  font-weight: 400;
  line-height: 1.1;
}

.visual-copy p {
  margin-top: clamp(20px, 2.083vw, 40px);
  white-space: pre-line;
  font-size: clamp(16px, 1.354vw, 26px);
}

[data-motion] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(60px);
}

@media (max-width: 1720px) {
  .site-mega__image { display: none; }
}

@media (min-width: 1201px) and (max-width: 1650px) {
  .site-logo { width: clamp(138px, 10.417vw, 168px); }

  .site-gnb__item > a {
    padding-right: clamp(11px, 1.042vw, 17px);
    padding-left: clamp(11px, 1.042vw, 17px);
    font-size: clamp(14px, 1.042vw, 17px);
  }

  .site-gnb__item > a::after {
    left: clamp(11px, 1.042vw, 17px);
  }

  .site-gnb__item:hover > a::after,
  .site-gnb__item:focus-within > a::after {
    width: calc(100% - clamp(22px, 2.084vw, 34px));
  }

  .site-util__search { margin-right: 14px; }
  .site-menu-button { margin-left: 18px; }
}

@media (max-width: 1200px) {
  .site-gnb { display: none; }

  .site-all-gnb { margin: 50px auto; }

  .site-all-item { flex-direction: column; }

  .site-all-item + .site-all-item {
    margin-top: 0;
    padding-top: 0;
    border: 0;
  }

  .site-all-item > a {
    position: relative;
    width: 100%;
    padding: 22px 0;
    font-size: 22px;
  }

  .site-all-item.has-child > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-all-item.has-child > a::after,
  .site-all-depth1 > ul > li.has-child > a::after {
    width: 6px;
    aspect-ratio: 1;
    content: "";
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
  }

  .site-all-item.active > a::after,
  .site-all-depth1 > ul > li.active > a::after {
    transform: rotate(225deg);
  }

  .site-all-depth { display: none; }
  .site-all-item.active .site-all-depth { display: block; }

  .site-all-depth1 > ul {
    display: block;
    padding: 0 10px 24px;
  }

  .site-all-depth1 > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: #777;
    font-size: 18px;
    font-weight: 500;
  }

  .site-all-panel {
    display: none;
    margin: 8px 0;
    padding: 15px 5px;
    border-top: 1px solid #ddd;
  }

  .site-all-depth1 > ul > li.active > .site-all-panel { display: flex; }

  .site-all-panel a {
    padding: 8px;
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .site-all-menu__head,
  .site-all-gnb { width: calc(100% - 40px); }

  .site-logo { width: 160px; }

  .site-util__search { margin-right: 16px; }

  .site-menu-button { margin-left: 16px; }
}
/* 레이아웃 계산은 유지하고 준비 전 콘텐츠만 숨긴다. */
:is(poscoflow-hero, hhi-history, kakkai-visual, kakkai-difference,
    kakkai-diagnosis, kakkai-special, oklasik-about, oklasik-doctors,
    floria-doctors, inshine-subpage-hero, minish-reviews, hwacheon-media,
    hwacheon-media-page, oneretina-tour, oneretina-directions):not([data-inshine-styled="true"]),
:is(poscoflow-hero, hhi-history, kakkai-visual, kakkai-difference,
    kakkai-diagnosis, kakkai-special, oklasik-about, oklasik-doctors,
    floria-doctors):not([data-ready="true"]) {
  opacity: 0 !important;
}
.site-gnb__item.has-dropdown { position: relative; }
.site-gnb__item > .site-dropdown {
  position: absolute; top: 100%; left: 15px; min-width: 220px; width: max-content;
  max-width: min(420px, 90vw); padding: 16px 0; margin: 0; list-style: none;
  border: 1px solid rgba(21,43,70,.08); border-radius: 10px;
  background: rgba(255,255,255,.96); color: #152b46;
  box-shadow: 0 18px 42px rgba(15,32,52,.14); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px);
  transition: opacity .26s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility 0s .32s;
}
.site-gnb__item.is-open > .site-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  transition: opacity .26s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility 0s;
}
.site-dropdown a { display: block; padding: 11px 22px; font-size: 15px; font-weight: 500; line-height: 1.5; transition: background .2s ease, color .2s ease; }
.site-dropdown a:hover, .site-dropdown a:focus-visible { background: #f4eee3; color: #93703f; }
@media (prefers-reduced-motion: reduce) { .site-gnb__item > .site-dropdown { transition: none; } }
