/* 공통 스타일: 색상·글꼴 변수, 헤더·버튼·하단 등 모든 페이지가 함께 쓰는 요소.
   header.php에서 korean-font.css(한국어 검토 시) 다음, pages.css·motion.css보다 먼저 불러옵니다. */
@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope/manrope-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope/manrope-600.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope/manrope-700.woff2) format('woff2');
  font-weight: 700 900;
  font-display: swap;
}
/* 기본값·색상·글꼴 변수 */
:root {
  --navy: #101f68;
  --ink: #182643;
  --muted: #596579;
  --white: #fff;
  --soft: #f0f4fa;
  --line: #dce3ed;
  --green: #d9f6df;
  --green-ink: #17442d;
  --appointment: var(--navy);
  --appointment-hover: #0b164a;
  --font: Manrope,'Malgun Gothic',sans-serif;
  --width: 1280px;
  --ease: cubic-bezier(.22,1,.36,1);
  --text-body: 1rem;
  --text-small: .875rem;
  --text-label: .8125rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  overflow-x: clip;
  line-height: 1.75;
}
body:lang(ko) {
  word-break: keep-all;
}
button, a, summary {
  -webkit-tap-highlight-color: transparent;
}
button, input {
  font: inherit;
}
button, a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button, summary {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke-width: 1.7;
}
figure {
  margin: 0;
}
p {
  margin: 0;
}
h1 {
  margin: 0;
}
h3 {
  margin: 0;
}
h4 {
  margin: 0;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #547ac8;
  outline-offset: 5px;
}
::selection {
  background: #c9d9ff;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
html[lang="ko"] {
  --font: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
/* 공통 틀·시연 안내 바 */
.wrap {
  width: calc(100% - 96px);
  max-width: var(--width);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  background: var(--navy);
  color: white;
}
.skip-link:focus {
  top: 16px;
}
.review-bar {
  background: var(--navy);
  color: var(--white);
  font-family: 'Malgun Gothic', sans-serif;
  font-size: 11px;
  line-height: 1.5;
}
.review-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.review-bar strong {
  font-weight: 600;
}
.review-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  white-space: nowrap;
}
.review-bar svg {
  width: 14px;
  height: 14px;
}
.review-detail {
  color: #dce4ff;
}
html[lang="ko"] .review-bar {
  font-family: var(--font);
}
/* 상단 헤더·메뉴 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  flex: 0 0 220px;
}
.brand img {
  width: 218px;
  height: auto;
}
.desktop-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  margin-left: auto;
  gap: 18px;
}
.desktop-nav a {
  font-weight: 600;
  position: relative;
  max-width: 160px;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
  padding-block: 30px;
  font-size: 15px;
}
.desktop-nav .nav-appointment {
  flex-shrink: 0;
  white-space: nowrap;
}
.desktop-nav .nav-checkup {
  max-width: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.desktop-nav a:not(.nav-appointment):hover, .desktop-nav a:not(.nav-appointment)[aria-current] {
  color: var(--navy);
}
.desktop-nav a:not(.nav-appointment)[aria-current]::after {
  content: '';
  height: 2px;
  background: var(--navy);
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-menu {
  position: relative;
  font-size: 12px;
}
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 11px 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  list-style: none;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu summary svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms var(--ease);
}
.language-menu[open] summary svg {
  transform: rotate(180deg);
}
.language-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 176px;
  padding: 7px;
  background: var(--white);
  box-shadow: 0 12px 30px #18264321;
  border-radius: 8px;
}
.language-options a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 4px;
}
.language-options a:hover, .language-options a[aria-current] {
  background: var(--soft);
  color: var(--navy);
}
.language-options span {
  font-weight: 400;
}
.mobile-menu {
  display: none;
}
.mobile-menu nav a:not(.nav-appointment)[aria-current] {
  color: var(--navy);
  font-weight: 700;
  background: var(--soft);
  padding-inline: 12px;
  border-radius: 4px;
}
/* 버튼·텍스트 링크 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.5;
  padding: 17px 21px;
  border: 0;
  border-radius: 7px;
  min-height: 54px;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
  max-width: 100%;
  font-size: var(--text-small);
}
.button:active {
  transform: translateY(1px);
}
.button.appointment-cta {
  background: var(--appointment);
  color: var(--white);
}
.button.appointment-cta:hover, .button.appointment-cta[aria-current] {
  background: var(--appointment-hover);
}
.desktop-nav .nav-appointment {
  padding: 12px 18px;
  min-height: 48px;
}
.primary {
  background: var(--navy);
  color: var(--white);
}
.primary:hover {
  background: #263b85;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  min-height: 44px;
  color: var(--navy);
  text-underline-offset: 5px;
  font-size: var(--text-small);
}
.text-link:hover {
  text-decoration: underline;
}
.text-link svg {
  width: 18px;
  height: 18px;
}
.whatsapp {
  background: var(--green);
  color: var(--green-ink);
  min-width: 270px;
}
.whatsapp:hover {
  background: var(--white);
}
/* 섹션 공통 */
h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.27;
  font-weight: 700;
  letter-spacing: -.032em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section {
  padding-block: 95px;
  scroll-margin-top: 25px;
}
.section-heading {
  margin-bottom: 38px;
}
.section-heading h2 {
  max-width: 650px;
}
/* 하위 페이지 제목·다음 페이지 안내 */
.page-intro {
  padding: 28px 0 38px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  font-size: var(--text-label);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-intro h1 {
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--navy);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-intro > .wrap > p {
  margin-top: 19px;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.8;
  max-width: 65ch;
}
.next-page {
  padding-block: 38px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.next-page > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.next-page h2 {
  font-size: 24px;
  line-height: 1.4;
}
.next-page p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 700px;
  font-size: var(--text-body);
}
.next-page .button {
  flex: 0 0 auto;
}
/* 하단·모바일 상담 버튼 */
.site-footer {
  background: var(--soft);
  padding-top: 43px;
}
.footer-main {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 35px;
}
.footer-main img {
  width: 190px;
  height: auto;
}
.footer-main p {
  color: var(--muted);
  margin-top: 11px;
  font-size: var(--text-label);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact > span {
  color: var(--muted);
  font-size: var(--text-label);
}
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: var(--text-label);
}
.back-top svg {
  transform: rotate(-45deg);
  width: 17px;
  height: 17px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
}
.mobile-contact {
  display: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 4px;
  padding-bottom: 23px;
}
.footer-nav a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  font-size: var(--text-small);
  min-height: 44px;
}
.footer-nav a:hover, .footer-nav a[aria-current] {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-contact a {
  font-size: 15px;
}
@media (max-width: 1190px) {
  /* 공통 틀·시연 안내 바 */
  .wrap {
    width: calc(100% - 64px);
  }
}
@media (min-width: 1191px) and (max-width: 1279px) {
  .site-header > .wrap {
    width: calc(100% - 64px);
  }
}
@media (max-width: 1279px) {
  /* 상단 헤더·메뉴 */
  .brand {
    flex-basis: 205px;
  }
  .brand img {
    width: 195px;
  }
  .header-row {
    gap: 16px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 14px;
  }
}
@media (max-width: 1190px) {
  /* 상단 헤더·메뉴 */
  .desktop-nav {
    display: none;
  }
  .header-row {
    min-height: 83px;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu > summary {
    list-style: none;
    padding: 10px;
    cursor: pointer;
    min-height: 44px;
  }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 18px 32px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 28px #18264312;
    display: grid;
  }
  .mobile-menu nav a {
    padding: 12px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-menu nav .nav-appointment {
    padding: 14px 18px;
    margin-bottom: 8px;
  }
}
@media (max-width: 980px) {
  /* 섹션 공통 */
  .section {
    padding-block: 70px;
  }
}
@media (max-width: 700px) {
  /* 기본값·색상·글꼴 변수 */
  html {
    scroll-padding-top: 87px;
  }
  /* 공통 틀·시연 안내 바 */
  .wrap {
    width: calc(100% - 40px);
  }
  .review-detail {
    display: none;
  }
  .review-bar .wrap {
    gap: 8px;
  }
  .review-bar {
    font-size: 10px;
  }
  /* 상단 헤더·메뉴 */
  .header-row {
    min-height: 76px;
  }
  .brand {
    flex-basis: auto;
    max-width: 205px;
  }
  .brand img {
    width: 180px;
  }
  .header-actions {
    gap: 2px;
  }
  .language-menu summary {
    padding: 9px 7px;
    font-size: 11px;
    gap: 5px;
  }
  /* 버튼·텍스트 링크 */
  .button {
    padding: 15px 17px;
    min-height: 51px;
    font-size: 14px;
  }
  .whatsapp {
    min-width: 0;
  }
  /* 섹션 공통 */
  .section {
    padding-block: 53px;
  }
  h2 {
    font-size: 29px;
    letter-spacing: -.028em;
  }
  .section-heading {
    margin-bottom: 27px;
  }
  /* 하위 페이지 제목·다음 페이지 안내 */
  .breadcrumbs {
    gap: 10px;
    font-size: 12px;
    margin-bottom: 18px;
  }
  .page-intro h1 {
    line-height: 1.25;
    font-size: 32px;
  }
  .page-intro > .wrap > p {
    margin-top: 14px;
    font-size: 16px;
  }
  .next-page {
    padding-block: 29px;
  }
  .next-page > .wrap {
    display: block;
  }
  .next-page h2 {
    font-size: 23px;
  }
  .next-page .button {
    margin-top: 20px;
  }
  .page-intro {
    padding-block: 21px 28px;
  }
  /* 하단·모바일 상담 버튼 */
  .footer-main {
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-main > div:first-child {
    width: 100%;
  }
  .footer-main img {
    width: 183px;
  }
  .back-top {
    margin-left: auto;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 5px;
    padding-bottom: 90px;
    font-size: 11px;
  }
  .mobile-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: var(--navy);
    color: var(--white);
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-weight: 700;
    border-top: 1px solid #465492;
    font-size: 14px;
  }
  .mobile-contact svg {
    width: 22px;
    height: 22px;
  }
  .mobile-contact svg:last-child {
    margin-left: auto;
    width: 19px;
  }
  .mobile-contact svg:first-child {
    margin-right: auto;
  }
  .footer-nav {
    padding-bottom: 17px;
    gap: 4px 22px;
  }
}
@media (max-width: 380px) {
  /* 공통 틀·시연 안내 바 */
  .wrap {
    width: calc(100% - 32px);
  }
  /* 상단 헤더·메뉴 */
  .brand img {
    width: 156px;
  }
  .header-row {
    gap: 8px;
  }
  .mobile-menu > summary {
    padding: 9px 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* 기본값·색상·글꼴 변수 */
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  /* 공통 틀·시연 안내 바 */
  .review-bar, .header-actions, .mobile-contact, .filters, .hero-buttons, .booking-contact, .back-top {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  /* 상단 헤더·메뉴 */
  .site-header {
    position: static;
  }
  /* 섹션 공통 */
  .section {
    padding-block: 30px;
  }
  /* 하위 페이지 제목·다음 페이지 안내 */
  .breadcrumbs, .next-page, .footer-nav {
    display: none;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  /* 하단·모바일 상담 버튼 */
  .footer-bottom {
    padding-bottom: 10px;
  }
}
