/* ===== Tokens ===== */
:root {
  --pri: #F26D5B;        /* 오렌지핑크(코랄) — 컨셉 컬러 */        /* 포인트 */
  --pri-2: #F9A692;      /* 코랄 밝은 변주 */     /* 포인트 밝은 변주 (그라디언트 끝) */
  --dark: #F26D5B;       /* 다크 섹션 대신 코랄 */      /* 히어로 블록 / 다크 섹션 / 푸터 */
  --soft: #FFF1EC;       /* 코랄 틴트 */      /* 태그 · 플레이스홀더 */
  --bg: #FFFFFF;
  --alt: #FFF6F3;
  --text: #111111;
  --muted: rgba(0,0,0,.6);
  --line: #F0E4E0;
  --r: 20px;            /* 카드 */
  --r-lg: 28px;       /* 히어로 프레임 */
  --r-pill: 999px;
  --gap: 24px;
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
[id] { scroll-margin-top: 96px; }
body { font-family: "Pretendard Variable", Pretendard, "Inter", "Apple SD Gothic Neo", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.is-big { font-size: 18px; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(96px, 12vh, 140px) 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--dark); color: #fff; }
/* 애플 스타일 연속 곡률(스쿼클): 지원 브라우저는 corner-shape, 아니면 큰 라운드로 폴백 */
.squircle { border-radius: clamp(56px, 13vw, 220px); corner-shape: squircle; }
.space { overflow: clip; margin: 0 clamp(16px, 2.5vw, 40px); }
.section__head { margin-bottom: clamp(40px, 5vh, 56px); }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ===== Type ===== */
@font-face { font-family: "Jalnan"; src: url("../fonts/Jalnan2.woff2") format("woff2"); font-weight: normal; font-display: swap; }   /* 여기어때 잘난체2, 한글+라틴 서브셋 셀프호스팅 */
/* 잘난체는 포인트에만: 로고 · 히어로 카피 · 마퀴. 나머지 제목은 Pretendard */
.logo__text { font-family: "Jalnan", "Pretendard Variable", Pretendard, sans-serif; font-weight: normal; letter-spacing: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
h4 { font-size: 15px; font-weight: 700; }


/* ===== Wireframe placeholders ===== */
.ph { display: flex !important; align-items: center; justify-content: center; text-align: center; background: #E9E9E9 !important; color: #8a8a8a; font-size: 13px; line-height: 1.5; font-weight: 500; }
.ph small { font-size: 11px; color: #a3a3a3; }
.hero--full .hero__bg.ph { left: auto; right: 0; transform: none; width: 40%; top: 12%; bottom: 12%; border-radius: 10px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: var(--r-pill); corner-shape: round; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: .2s; white-space: nowrap; }
.btn--dark { background: #111; color: #fff; }
.btn--white { background: #fff; color: #111; }
.btn--line { background: transparent; color: #111; border-color: #d8d8d8; }
.btn--light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--icon > svg { width: 16px; height: 16px; flex: none; }
.ico-naver, .ico-kakao { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 5px; flex: none; font-size: 11px; font-weight: 800; font-family: Inter, sans-serif; }
.ico-naver { background: #03C75A; color: #fff; }
.ico-kakao { background: #FEE500; color: #191919; }
.ico-kakao svg { width: 13px; height: 13px; }

/* ===== Header : 일반 바 (풀폭 · 흰 배경 · 하단 보더). 아래로 스크롤 시 숨김 ===== */
/* 최상단: 코랄 히어로 위 → 투명 + 흰색 요소. 스크롤 후: 흰 배경 + 코랄 로고 */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: transparent; color: var(--text); border-bottom: 1px solid transparent; transition: transform .4s cubic-bezier(.22,.8,.3,1), background .3s, color .3s, border-color .3s; }
.header .logo__mark { background: var(--pri); } .header .logo__text, .header .logo__en { color: var(--pri); }
.header .nav-toggle span { background: var(--text); }
.header .btn--dark { background: var(--pri); color: #fff; }
/* 스크롤 후: 바 대신 반투명 긴 알약이 떠 있음 */
.header.is-scrolled .logo__mark { background: var(--pri); } .header.is-scrolled .logo__text, .header.is-scrolled .logo__en { color: var(--pri); }
.header.is-scrolled .nav-toggle span { background: var(--text); }
.header.is-scrolled .btn--dark { background: var(--pri); color: #fff; }
.header.is-hidden { transform: translateY(-100%); }
.header .container { max-width: var(--max); }
.header .header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
/* PC: 스크롤 후 바 → 컨테이너 폭 반투명 알약 */
@media (min-width: 769px) {
  .header .header__inner { transition: margin .3s, height .3s, background .3s, border-radius .3s, box-shadow .3s, padding .3s; }
  .header.is-scrolled { background: transparent; border-bottom-color: transparent; }
  .header.is-scrolled .header__inner { margin-top: 12px; height: 60px; padding: 0 12px 0 22px; border-radius: 999px; corner-shape: round; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 0; box-shadow: 0 10px 34px rgba(120,40,30,.08); }
}
/* 모바일: 크기·모양 변화 없이 반투명만 */
@media (max-width: 768px) {
  .header.is-scrolled { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__stack { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; gap: 3px; }
/* 심볼: 검정 PNG를 마스크로 써서 색만 입힘 */
.logo__mark { width: 24px; height: 28px; flex: none; background: var(--pri); -webkit-mask: url("../img/logo-symbol.png") no-repeat center / contain; mask: url("../img/logo-symbol.png") no-repeat center / contain; }
.logo--light .logo__mark { background: #fff; }
.logo--light .logo__text { color: #fff; }
.space__sym { background: #fff; }
.logo__text { font-family: "Jalnan", sans-serif; font-weight: normal; font-size: 18px; letter-spacing: 0; color: var(--pri); }
.logo__en { font-family: Inter, sans-serif; font-size: 9px; letter-spacing: .16em; color: var(--pri); font-weight: 600; }
.logo--light .logo__en { color: rgba(255,255,255,.8); }
.logo--light .logo__text { color: #fff; }
.gnb { display: none; }
.gnb a { position: relative; padding: 4px 0; opacity: .6; transition: opacity .2s; }
.header__right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: flex; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; cursor: pointer; padding: 0 6px; }
.nav-toggle span { height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle span:nth-child(1) { width: 24px; } .nav-toggle span:nth-child(2) { width: 16px; } .nav-toggle span:nth-child(3) { width: 8px; }

/* ===== Hero 공통 ===== */
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Hero : 흰 바탕 + 1200 컨테이너 안 16:9 둥근 프레임에 사진(간판+인물). 카피는 프레임 좌하단 --- */
.hero--full { position: relative; z-index: 2; background: #fff; color: var(--text); padding: 92px 0 0; }
.hero__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(48px, 8vw, 120px); corner-shape: squircle; overflow: hidden; background: #EDE7E1; }
.hero__bg { position: absolute; inset: 0; z-index: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__wrap { position: relative; }
.hero__copy { position: absolute; left: calc(var(--gap) + clamp(24px, 4vw, 56px)); bottom: clamp(24px, 4vw, 56px); z-index: 2; }
.hero__copy h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* 간판이 헤드라인 → h1은 SEO용 */
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--pri { background: var(--pri); color: #fff; border-color: var(--pri); }
.hero__actions .btn--line { background: transparent; color: var(--pri); border-color: var(--pri); }
.hero__cta, .hero__cta-m { display: none; }
/* 정보 바: 히어로 바로 아래 흰 띠 */
.infobar { margin-top: clamp(20px, 2.5vw, 32px); }
.infobar__inner { background: var(--alt); border-radius: 999px; corner-shape: round; width: fit-content; max-width: calc(100% - var(--gap) * 2); padding-left: clamp(24px, 3vw, 40px) !important; padding-right: clamp(24px, 3vw, 40px) !important; justify-content: center; }
.infobar__inner { display: flex; flex-wrap: wrap; gap: 8px clamp(24px, 3vw, 48px); padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--text); }
.infobar p { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.infobar b { font-weight: 700; margin-right: 2px; }
.infobar em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--pri); color: #fff; margin-left: 4px; font-weight: 700; }
.infobar__ico { width: 18px; height: 18px; flex: none; display: inline-flex; color: var(--pri); }
.infobar__ico svg { width: 100%; height: 100%; }

/* ===== Services : 센터 확대 캐러셀 ===== */
.services { background: #fff; overflow: clip; padding: clamp(120px, 16vh, 180px) 0; }
.services__head { text-align: center; margin-bottom: clamp(48px, 7vh, 72px); }
.services__label { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; color: var(--pri); margin-bottom: 14px; letter-spacing: .02em; }
.services__head h2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; }
.cv { position: relative; overflow: clip; --w: 360px; --h: 460px; --aw: min(880px, 80vw); --ah: 580px; --gap: 20px; }
.cv__track { display: flex; align-items: center; gap: var(--gap); height: var(--ah); will-change: transform; transition: transform .6s cubic-bezier(.22,.8,.3,1); }
.cv__card { position: relative; flex: none; width: var(--w); height: var(--h); border-radius: 56px; corner-shape: squircle; overflow: hidden; background: var(--soft); cursor: pointer; transition: width .6s cubic-bezier(.22,.8,.3,1), height .6s cubic-bezier(.22,.8,.3,1); }
.cv__card.is-active { width: var(--aw); height: var(--ah); cursor: default; }
.cv__media { position: absolute; inset: 0; }
.cv__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .85; transition: filter .6s, opacity .6s; }   /* 비활성 카드 흑백 */
.cv__card.is-active .cv__media img { filter: none; opacity: 1; }
.cv__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; display: grid; place-items: center; color: var(--text); }
/* 캐러셀 아래 캡션 + 네비 */
/* 캡션 폭 = 활성 카드 폭(880) — 이미지 양끝에 정렬 */
.cv__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(28px, 4vh, 44px); max-width: min(880px, 80vw); padding: 0; }
.cv__cap-text { max-width: 640px; }
.cv__caption h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.cv__caption p { font-size: 15.5px; line-height: 1.8; color: var(--text); min-height: 3.6em; }
.cv__nav { display: flex; align-items: center; gap: 10px; flex: none; }
.cv__btn svg { width: 20px; height: 20px; }
.cv__count { margin-right: 10px; }
.cv__count { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; min-width: 48px; }
/* 공간 캐러셀: 균일 카드(16:10), 활성만 컬러 */
.cv--plain { --w: 760px; --h: 475px; --aw: 760px; --ah: 475px; --gap: 20px; }
.cv--plain .cv__card { background: rgba(255,255,255,.08); }
.cv--plain .cv__media img { filter: none; opacity: .45; }
.cv--plain .cv__card.is-active .cv__media img { opacity: 1; }
.cv__caption--plain { max-width: var(--max); align-items: center; padding: 0 var(--gap); }
.cv__caption--plain h3 { font-size: clamp(18px, 2vw, 24px); margin: 0; color: #fff; }
.cv__caption--plain .cv__count { color: rgba(255,255,255,.8); }
.cv__caption--plain .cv__btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* ===== Band : 위에서 코랄이 덮여 내려오는 그라디언트 + 하단 영문 ===== */

/* ===== Doctor : 2인 좌우 교차 ===== */
.doc-grid { display: grid; gap: clamp(64px, 9vh, 112px); }
.doc--flip .doc__photo { order: 2; }
.doctors__inner { position: relative; padding-top: 40px; }
.doctors__logo { position: absolute; right: var(--gap); top: 0; display: flex; align-items: center; gap: 10px; opacity: .45; }
.doctors__logo .logo__mark { width: 22px; height: 22px; }
.doctors__logo-kr { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.doctors__logo-en { font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.doc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.doc__photo { position: relative; border-radius: 56px; corner-shape: squircle; overflow: hidden; aspect-ratio: 3 / 4; background: var(--soft); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.doc__role { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.doc h3 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.doc__en { font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--pri); text-transform: uppercase; }
.doc__intro { font-size: 18px; line-height: 1.8; margin-bottom: 28px; font-weight: 500; color: var(--text); }
.doc ul li { font-size: 15px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); }
.doc ul li:last-child { border-bottom: 1px solid var(--line); }

/* ===== Space : 2장 크게 ===== */
.space__head { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.space__head h2 { margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.space__sym { width: .7em; height: .82em; flex: none; background: #fff; opacity: .9; -webkit-mask: url("../img/logo-symbol.png") no-repeat center / contain; mask: url("../img/logo-symbol.png") no-repeat center / contain; }
.space__head p { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.9); }

/* ===== Fees : 표 (상단 보더 없음, 카테고리 그룹 구분선만) ===== */
.fees__wrap { overflow-x: auto; }
.fees__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fees__table th, .fees__table td { padding: 16px 14px; text-align: left; vertical-align: top; }
.fees__table thead th { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 0 14px 14px; border-bottom: 1px solid var(--text); }
.fees__table tbody tr { border-bottom: 1px solid var(--line); }
.fees__table tbody tr:has(th) { border-top: 1px solid var(--text); }     /* 그룹 시작 */
.fees__table tbody th { font-weight: 700; width: 140px; vertical-align: top; padding-top: 18px; }
.fees__table td small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.fees__table td:nth-child(3) { white-space: nowrap; color: var(--muted); }
.fees__price { white-space: nowrap; font-weight: 700; font-family: Inter, sans-serif; font-variant-numeric: tabular-nums; }
.fees__memo { font-size: 13px; color: var(--muted); }
.fees__notes { margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.8; padding-left: 1em; list-style: disc; }
/* ===== FAQ : 좌 제목 / 우 아코디언 ===== */
.faq__list details { border-radius: 32px; corner-shape: squircle; background: var(--alt); padding: 0 32px; margin-bottom: 12px; }
.faq__list details[open] { background: var(--soft); }
.faq__list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--text); transform: translate(-50%, -50%); transition: transform .25s; }
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 14px; }
.faq__list details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding: 0 40px 26px 0; }
.faq__a p { font-size: 15px; line-height: 1.8; color: var(--text); }



/* ===== Footer : 코랄 · 오시는 길 통합 (주소/시간/버튼 + 루트 + 지도 + 카피라이트) ===== */
.footer { background: var(--dark); color: #fff; padding: clamp(96px, 12vh, 140px) 0 40px; font-size: 14px; border-radius: clamp(56px, 13vw, 220px) clamp(56px, 13vw, 220px) 0 0; corner-shape: squircle; margin: 0 clamp(16px, 2.5vw, 40px); }
.footer__head { margin-bottom: clamp(32px, 4vh, 44px); }
.footer__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.footer__left { display: flex; flex-direction: column; }
.footer__grid > * { min-width: 0; }   /* 버튼 등 내용물이 컬럼을 밀어 지도가 삐져나가지 않게 */
.footer__routes { margin: 24px 0 28px; }
.footer__actions { margin-top: auto; }
.footer__addr { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #fff; }
.footer__addr span { display: block; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.75); margin-top: 4px; }
.hours { border-top: 1px solid rgba(255,255,255,.25); }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 15px; }
.hours dt { color: rgba(255,255,255,.75); }
.hours em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #fff; color: var(--pri); margin-left: 6px; font-weight: 700; }
.footer__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.footer__actions .btn { height: 48px; padding: 0 12px; font-size: 14px; width: 100%; }
.footer__actions .btn--white { color: var(--pri); }
.footer__actions .btn--line { color: #fff; border-color: rgba(255,255,255,.6); }
.route li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.route__ico { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; color: var(--pri); display: grid; place-items: center; }
.route__ico svg { width: 18px; height: 18px; }
.route b { display: block; font-size: 15px; margin-bottom: 2px; color: #fff; }
.route li > div > span { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; }
.footer__map { position: relative; border-radius: 56px; corner-shape: squircle; overflow: hidden; min-height: 520px; background: var(--soft); }
/* 구글 임베드의 좌상단 검색 카드를 프레임 밖으로 밀어 잘라냄 */
.footer__map iframe { position: absolute; left: 0; top: -150px; width: 100%; height: calc(100% + 150px); border: 0; display: block; filter: saturate(.9); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.8; flex-wrap: wrap; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: #fff; font-size: 13px; font-weight: 600; }

/* ===== FAB : 세로 알약 (Ttoryeot) ===== */
.fab { position: fixed; right: 0; top: 50%; transform: translate(110%, -50%); opacity: 0; transition: transform .45s cubic-bezier(.22,.8,.3,1), opacity .3s; z-index: 12; }
.fab.is-visible { transform: translate(0, -50%); opacity: 1; }
.fab { width: 96px; display: flex; flex-direction: column; padding: 18px 0 10px; border-radius: 48px 0 0 48px; corner-shape: squircle; background: #fff; box-shadow: 0 8px 30px rgba(120,40,30,.12); border: 1px solid var(--line); border-right: 0; }
.fab__symbol { display: block; width: 34px; height: 40px; margin: 0 auto 10px; background: var(--pri); -webkit-mask: url("../img/logo-symbol.png") no-repeat center / contain; mask: url("../img/logo-symbol.png") no-repeat center / contain; }
.fab__sep { display: block; height: 1px; margin: 6px 20px; background: var(--line); }
.fab a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 0; color: var(--text); font-size: 12px; font-weight: 600; }
.fab svg { width: 26px; height: 26px; }
.fab__top { color: var(--muted); }

/* ===== Tabbar / Fullscreen nav ===== */
.tabbar { display: none; }
.nav { position: fixed; inset: 0; z-index: 15; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 32px 80px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.nav.is-open { transform: none; }
.nav__links a { display: flex; align-items: baseline; justify-content: center; gap: 16px; font-weight: 700; letter-spacing: -.02em; font-size: clamp(28px, 4vw, 44px); padding: 12px 0; }
.nav__links a span { font-family: Inter, sans-serif; font-size: 12px; opacity: .6; }
.nav__foot { margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.8; }
.header.is-menu-open { background: transparent; box-shadow: none; }
.header.is-menu-open .logo__text, .header.is-menu-open .logo__en { color: #fff; }
.header.is-menu-open .logo__mark, .header.is-menu-open .nav-toggle span { background: #fff; }
.header.is-menu-open .btn--dark { background: #fff; color: var(--pri); }

/* ===== Responsive ===== */
@media (max-width: 1280px) { .fab { display: none; }
@media (max-width: 1024px) {
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .gnb, .fab, .logo__en, .carousel__btn { display: none; }
  .header .btn { padding: 9px 14px; font-size: 13px; }
  .header__right { gap: 4px; }
  .hero__copy { display: none; }
  .nav-toggle { display: flex; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  h1 { font-size: clamp(34px, 10vw, 48px); }
  /* 모바일: 카피 블록 + 아래에 인물을 흐름으로 (겹침 없음) */
  .hero--full { min-height: 0; display: block; padding: 96px 0 0; }
  /* 첫 화면 안에 아래 코랄 띠가 살짝 보이도록 높이 제한 */
  /* 모바일: 세로 사진을 둥근 프레임에 자연 비율로, 아래 서브+버튼 */
  .hero--full { padding: 88px 0 0; }
  .hero__frame { aspect-ratio: auto; border-radius: 48px; }
  .hero__bg { position: relative; inset: auto; display: block; width: 100%; }
  .hero__bg img { width: 100%; height: auto; object-fit: unset; }
  .hero__copy { display: none; }
  .hero__actions { justify-content: center; }
  .hero__actions .btn { padding: 11px 18px; font-size: 14px; }
  .hero__person { height: min(46vh, 420px); }
  .infobar__inner { flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 18px; width: auto; max-width: none; margin: 0 var(--gap); padding-left: 22px !important; padding-right: 22px !important; border-radius: 32px; align-items: flex-start; }
  .infobar p { white-space: normal; }
  .cv { --w: 220px; --h: 320px; --aw: 84vw; --ah: 460px; --gap: 12px; }
  .cv--plain { --w: 86vw; --h: 56vw; --aw: 86vw; --ah: 56vw; --gap: 12px; }
  .cv__caption { flex-direction: column; align-items: flex-start; gap: 20px; max-width: 84vw; }
  .cv__caption--plain { flex-direction: row; align-items: center; max-width: none; }
  .cv__nav { align-self: flex-end; }
  .cv__caption p { font-size: 14.5px; }
  .space__head h2 { gap: 10px; font-size: 24px; }
  .space__sym { width: .6em; height: .6em; }
  .fees__table { font-size: 14px; min-width: 640px; }
  .fees__table tbody th { width: 84px; }
  .doc { grid-template-columns: 1fr; }
  .doc--flip .doc__photo { order: 0; }
  .footer { padding: 64px 0 calc(32px + 72px); }
  .footer__head { margin-bottom: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__map { min-height: 320px; height: 320px; }
  .footer__actions { margin-top: 0; grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; transition: transform .4s cubic-bezier(.22,.8,.3,1); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .tabbar.is-hidden { transform: translateY(100%); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 10px; font-weight: 600; color: #111; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar__pri { color: #111; }
  .nav { position: fixed; inset: 0; z-index: 15; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 32px 80px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.22,.8,.3,1); }
  .nav.is-open { transform: none; }
  .nav__links a { display: flex; align-items: baseline; gap: 16px; font-size: 28px; font-weight: 700; padding: 12px 0; letter-spacing: -.02em; }
  .nav__links a span { font-family: Inter, sans-serif; font-size: 12px; opacity: .5; }
  .nav__foot { margin-top: 40px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; }
  .header.is-menu-open { color: #fff; }
  .header.is-menu-open .logo__text { color: #fff; }
  .header.is-menu-open { background: transparent; box-shadow: none; }
}
