/* 청담안즈 메인페이지 — Figma "안즈_홈페이지_메인페이지" (PC 1280 / Mobile 390) 기준.
   모바일 우선, 1024px 이상에서 PC 레이아웃. 수치는 시안 값 그대로 (예: 12.4px, 35.6px). */
@view-transition { navigation: auto; } /* 하위 페이지와 오갈 때 흰 화면 없이 (2026-10-19, i18n.css 와 짝) */

/* 글꼴: 디자이너 HTML 내보내기(안즈_홈페이지_메인페이지-html)와 같은 파일·같은 선언 */
@font-face { font-family: "Pretendard Variable"; src: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/fonts/PretendardVariable.subset.woff2) format("woff2"); font-weight: 45 920; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans KR"; src: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/fonts/NotoSansKR-Variable.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/fonts/Roboto-Variable.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Faculty Glyphic"; src: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/fonts/FacultyGlyphic-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #000;
  --body: #525257;
  --brown-deep: #48321f;
  --brown: #70573d;
  --gold: #b6946e;
  --gold-light: #e3c599;
  --tan: #6e5f50;
  --surface: #f8f8fa;
  --surface-2: #e9e9ed;
  --line: #dcdce1;
  --control: #85858d;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --serif: "Faculty Glyphic", "Pretendard Variable", serif;
  --noto: "Noto Sans KR", "Pretendard Variable", sans-serif;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
main, footer { overflow-x: clip; } /* 글꼴이 들어오기 전 한 줄 고정 글자가 잠깐 넘쳐도 모바일 화면이 넓어지지 않게 (sticky 는 그대로 동작) */
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
picture { display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 1023px) { .pc { display: none !important; } }
/* 시안(390)의 단어 중간 줄바꿈: 390보다 좁은 폰에선 자연 줄바꿈과 겹쳐 한두 글자 줄이 생기므로 끈다 */
@media (max-width: 389.98px) { br.brk { display: none; } }
@media (min-width: 1024px) { .mo { display: none !important; } }

/* ---------- 공통 ---------- */
.wrap { position: relative; z-index: 1; padding: 0 var(--pad); }
.sec { position: relative; }
.t-serif { font-family: var(--serif); font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; color: var(--ink);
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; } /* CTA: 배경 #B6946E · 글자 흰색으로 통일 (디자이너 피드백 1016) */
.btn, .btn-line { transition: background-color .15s cubic-bezier(.33,1,.68,1); }
@media (hover: hover) {
  .btn-gold:hover { background-color: #a88661; }        /* hover */
  .fc-submit:hover { background-color: #a88661; }
  .btn-line:hover { background-color: var(--surface); }
  .f-policy:hover { text-decoration: underline; }
}
.btn-gold:active, .btn-gold.is-pressed { background-color: #967650; }   /* pressed — 모바일은 누르는 동안 main.js 가 .is-pressed */
.btn, .qi, .hd-menu, .hd-lang, .arrow { -webkit-tap-highlight-color: transparent; }
.fc-submit:active { background-color: #967650; }
.btn-block { display: flex; width: 100%; height: 48px; align-items: flex-start; padding: 14px 24px 0; font-size: 14px; line-height: 1.4; }
.btn-line { background: #fff; box-shadow: inset 0 0 0 1px var(--control); height: 48px; font-size: 14px; line-height: 1.4; }

/* 세로 격자선 (모바일: 가운데 1줄). 섹션이 화면에 들어오면 위에서 아래로 그어진다 (--l1~3: 0→1, main.js 가 .is-in) */
@property --l1 { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --l2 { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --l3 { syntax: "<number>"; inherits: false; initial-value: 1; }
.lines::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--line), var(--line)) no-repeat calc(50% + .5px) 0 / 1px calc(var(--l1) * 100%); /* 시안 x=195 */
  transition: --l1 1.1s cubic-bezier(.65,0,.35,1), --l2 1.1s cubic-bezier(.65,0,.35,1) .2s, --l3 1.1s cubic-bezier(.65,0,.35,1) .4s;
}
html.rv-on .lines:not(.is-in)::after { --l1: 0; --l2: 0; --l3: 0; }
@media (max-width: 1023px) { .pc-lines::after { content: none; } }
@media (max-width: 1023px) { .lift.lines::after { top: 32.23px; } .how.lines::after { bottom: 32px; } } /* 모바일 시안: 리프팅 세로선은 32px 아래에서 시작, 일하는 방식 세로선은 32px 먼저 끝 */

/* 대각선 흰 그라데이션 (섹션 경계) */
.wedge-b::before, .wedge-t::before {
  content: ""; position: absolute; left: 0; right: 0; pointer-events: none;
  background: no-repeat 0 0 / 100% 100%;
}
.wedge-b::before { bottom: 0; height: 64px; background-image: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/icon/wedge-bottom-mo.svg); }
.wedge-t::before { top: 0; height: 64px; background-image: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/icon/wedge-top-mo.svg); }

/* 섹션 제목 (모바일) */
.sec h2 { font-weight: 600; font-size: 28px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.sec h2.t-serif { font-weight: 400; }
.sec-desc { margin-top: 8px; font-size: 14px; line-height: 1.75; letter-spacing: -0.02em; }

/* ---------- 헤더 ---------- */
.hd { /* 스크롤해도 위에 붙어 있다 (비교 화면만 제자리) */
  position: fixed; z-index: 20; top: 0; transition: background-color .25s, color .25s; left: 0; right: 0; height: 72px;
  display: flex; align-items: center; padding: 0 var(--pad); color: #fff;
}
.hd-logo { display: block; width: 201.934px; height: 32px; }
.logo-v { position: relative; display: block; width: 201.934px; height: 32px; } /* 시안 HTML 의 로고 조각 구조 그대로 (icon/logo.html) */
.hd-nav, .hd-badge { display: none; }
.hd-right { margin-left: auto; display: flex; align-items: center; } /* 언어 선택 + 피부과 배지 (+ 모바일 메뉴) 한 묶음 */
.hd-lang {
  display: flex; align-items: flex-start; gap: 0; width: 44px; height: 44px; padding: 0 0 0 2px;
  font-weight: 600; font-size: 12px; line-height: 1; color: inherit;
}
.hd-lang > span:not(.ico) { width: 16px; margin-top: 14px; }
.hd-lang .ico { margin-top: 11.54px; }
/* 언어 목록 (시안에 없는 펼침 상태 — 단추를 누르면 그 아래에) */
.hd-langs { position: absolute; z-index: 50; min-width: 176px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.hd-langs[hidden] { display: none; }
.hd-langs a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.hd-langs img { flex: none; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); } /* 국기: _anz/i18n/flags (flag-icons 1:1) 를 동그랗게 */
.hd-langs a:hover { background: var(--surface); }
.hd-langs a.is-on { background: #f4eee6; font-weight: 600; color: var(--brown-deep); }
.hd-menu { position: relative; width: 36px; height: 36px; margin-left: 14px; }
.hd-menu i { position: absolute; left: 7px; width: 22px; height: 1.5px; background: currentColor; }
html.cmp .hd { position: absolute; }
.hd-menu i:nth-child(1) { top: 11px; } .hd-menu i:nth-child(2) { top: 17px; } .hd-menu i:nth-child(3) { top: 23px; }

.drawer { position: fixed; z-index: 40; inset: 72px 0 0 0; } /* 메뉴: 화면 전체가 아니라 오른쪽 40% (디자이너 피드백 1016) */
.drawer-dim { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%; min-width: 150px; overflow-y: auto;
  display: flex; flex-direction: column; padding: 8px 18px 16px; background: #fff; box-shadow: -8px 0 24px rgba(0,0,0,.08);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.33,1,.68,1);
}
.drawer.is-open .drawer-dim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer a { color: var(--ink); }
/* 메뉴 줄: 누르면 하위 메뉴가 펼쳐진다 — 셰브론은 언어 단추(KR) 옆과 같은 그림, 색은 PC 메뉴와 같게 (메뉴 금색 · 하위 메뉴 PC 드롭다운 글색) (디자이너 2026-10-19) */
.dr-it { border-bottom: 1px solid var(--line); }
.dr-tg { display: flex; align-items: center; gap: 2px; width: 100%; padding: 14px 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--gold); text-align: left; white-space: nowrap; }
.dr-tg > span:not(.ico) { flex: 1 1 auto; min-width: 0; }
.dr-tg .ico { margin-right: -6px; transition: transform .25s cubic-bezier(.33,1,.68,1); }
.dr-tg[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dr-sub { padding: 0 0 10px 8px; }
.dr-sub[hidden] { display: none; }
.dr-sub a { display: block; padding: 7px 0; font-weight: 400; font-size: 14px; line-height: 1.4; color: #212121; }

/* ---------- S01 히어로 ---------- */
.hero-pin { position: relative; }   /* 높이는 main.js (고정 무대 + 확대 구간) */
.pin-stage { position: sticky; top: 0; } /* 확대가 끝날 때까지 첫 화면 고정 — 그 뒤에 아래 섹션이 올라온다 */
.hero { position: relative; height: var(--hh, 673px); background: var(--surface); overflow: hidden; } /* --hh: 화면 높이 (main.js, 시안 높이 이상). 비교 화면은 시안 673 */
.hero-title { transform-origin: 50% 0; }
.hero-anim { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo { /* 모바일 시안 그대로의 원본 사진·배치 (다 커진 상태가 기본) */
  position: absolute; left: -311px; top: -207.75px; width: 973px; height: 893.84px;
  background: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/img/hero-full.jpg) no-repeat -367.8px -0.2182px / 1341px 894.3px;
}
.hero-veil { /* 첫 진입시 사진 창 위의 밝은 막 (PC와 같음, 커지면서 사라진다) */
  position: absolute; left: -2px; top: 0; width: calc(100% + 2px); height: 425px; opacity: calc(1 - var(--p, 1));
  background: linear-gradient(180deg, rgba(248,248,250,0.35) 0%, rgba(248,248,250,0.3075) 11.25%, rgba(248,248,250,0.265) 22.5%, rgba(248,248,250,0.2225) 33.75%, rgba(248,248,250,0.18) 45%, rgba(248,248,250,0.36) 58.75%, rgba(248,248,250,0.54) 72.5%, rgba(248,248,250,0.72) 86.25%, rgba(248,248,250,0.9) 100%);
}
.hero::before { /* 스크림 — 4차 요청: 모바일도 PC와 같은 어두운 그라디언트 (사진이 커지며 나타난다) */
  content: ""; position: absolute; z-index: 1; left: -14px; right: -16px; top: .24px; height: calc(var(--hh, 673px) - 73px);
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.5) 100%); opacity: var(--p, 1);
}
.hero-title {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); top: 72.24px;
  font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 44px;
  color: #fff; text-align: center; transition: color .3s cubic-bezier(.33,1,.68,1); /* 모바일: 사진과 겹치기 전에는 갈색 (main.js) */
}
.hero-text {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); top: calc(var(--hh, 673px) - 175.76px); /* 시안 497.24 (아래에서 175.76) */
  font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; text-align: center; color: #fff;
}
.hero-quick {
  position: absolute; z-index: 2; left: -1px; right: 1px; top: calc(var(--hh, 673px) - 72.76px); height: 73px; /* 시안 x=-1, y=600.24 (화면 맨 아래) */
  display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad);
  background: #fff;
}
.hero-quick .btn, .qbar .btn { width: 129px; height: 44px; align-items: flex-start; padding-top: 14px; font-size: 13px; line-height: 1; }
.qi { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 39px; height: 53px; font-weight: 500; font-size: 11px; line-height: 1; white-space: nowrap; }
.qi:last-child { width: 48px; }
.qi .ico { margin-left: 1.5px; }
.qi:last-child .ico { margin-left: 6px; }
.qi .qi-phone { color: var(--gold); }

/* ---------- S02 리프팅 ---------- */
.lift { padding: 96px 0 64px; background: #fff; }
.lift .sec-head h2 { height: 38px; }
.lift .sec-desc { height: 50px; }
.lift-hint { height: 19px; margin-top: 32px; font-size: 12px; line-height: 1.6; }
.lift-cards {
  display: flex; gap: 16px; margin: 32px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none;
}
.lift-cards::-webkit-scrollbar, .scroller::-webkit-scrollbar { display: none; }
.tcard {
  position: relative; flex: 0 0 270px; min-width: 0; height: 450px; padding: 16px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface) var(--img-mo) no-repeat 0 0 / 100% 100%; /* 모바일 시안 카드 그림 (270×450) */
  color: var(--body);
}
.tcard-en { height: 30px; font-family: var(--serif); font-size: 21.3333px; line-height: 1.4; color: var(--brown-deep); opacity: .25; }
.tcard strong { height: 30px; font-weight: 500; font-size: 22.2222px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
.tcard-desc { font-size: 14px; line-height: 1.75; letter-spacing: -0.02em; white-space: nowrap; }
.more {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 14px; line-height: 1; letter-spacing: 0.04em; color: var(--brown);
}
.more { align-items: flex-start; }
.more > span:not(.ico) { width: 63px; margin-top: 5px; }
/* 모바일 써마지 카드: 3차 요청 — 골드 카드 대신 시안 Mobile Asset 기본 줄의 '써마지 basic' (밝은 배경 · 기기 사진 · 갈색 자세히보기, 다른 카드와 같은 글자) */

/* ---------- S03 울쎄라·써마지 ---------- */
.ut { padding: 64px 0; background: var(--surface); }
.ut .ut-title, .ut .ut-title2 { height: 38px; }
.ut-title { margin-bottom: 32px; }
.ut-block + .ut-block { margin-top: 32px; }
.ut-title2 { margin-bottom: 12px; }
.ut-media { display: grid; gap: 12px; }
.ut-media img { width: 100%; aspect-ratio: 350 / 236; object-fit: cover; }
@media (max-width: 1023px) { .ut-block + .ut-block .ut-media picture + picture img { width: calc(100% + 1px); max-width: none; aspect-ratio: 351 / 236; } } /* 시안: 마지막 사진만 351 */
.ut-cap { height: 25px; margin-top: 12px; font-size: 19.5556px; line-height: 1; color: var(--tan); }
.cred { height: 100px; margin-top: 12px; font-size: 14px; line-height: 1.75; letter-spacing: -0.02em; }
.ut-block + .ut-block .cred { height: 50px; }

/* ---------- S04 일하는 방식 ---------- */
.how { padding: 64px 0 96px; background: #fff; }
.how .sec-head h2 { height: 38px; }
.how .sec-desc { height: 50px; }
.how-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.how-list h3 { height: 38px; font-weight: 600; font-size: 28px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.how-list p { margin-top: 12px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
.how-list li { height: 76px; } .how-list li:nth-child(2) { height: 102px; } /* 시안 글상자 높이 (26/52) */
@media (min-width: 390px) and (max-width: 1023px) { .how-list p { white-space: nowrap; } } /* 시안 줄 그대로 (390 미만에서는 자연 줄바꿈) */

/* ---------- S05 의료진 ---------- */
.doc { padding: 32px 0; background: var(--surface); }
.scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.doc-track { height: 347px; gap: 15px; margin: 32px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 20px; scroll-padding: 0 var(--pad); } /* 시안 틀 높이 347 (카드 327.41) */
.doc .sec-head h2 { height: 76px; }
.doc .sec-desc { height: 50px; }
.dcard { flex: 0 0 238px; scroll-snap-align: start; }
@media (max-width: 1023px) { .dcard:nth-child(2) { margin-left: -1px; } } /* 시안: 첫 간격만 14 */
.dcard img { width: 100%; aspect-ratio: 266 / 300; object-fit: cover; }
.dcard figcaption { margin-top: 10px; }
.dcard strong { display: block; height: 30px; font-weight: 500; font-size: 22.2222px; line-height: 1.35; letter-spacing: -0.02em; }
.dcard span { display: block; height: 19px; font-size: 12px; line-height: 1.6; }
.doc .btn-block { margin-top: 32px; }

/* ---------- S06 프라이빗 경험 ---------- */
.priv { background: #fff; overflow: hidden; } /* 시안: 점(6px)이 섹션 끝에서 잘려 4px만 보인다 */
.priv-slides { position: absolute; left: 0; right: 0; top: 0; height: 706px; overflow: hidden; z-index: 1; }
/* 사진: 좌 → 우로 이동 (2차 피드백 — 다음 장이 왼쪽에서 들어오고 지금 장은 오른쪽으로 나간다). 속도·곡선은 참고 사이트 슬라이더 (0.45초) */
.priv-slide { position: absolute; inset: 0; transform: translateX(100%); visibility: hidden; }
.priv-slide.is-on { transform: none; visibility: visible; }
.priv-slide.is-out { transform: translateX(-100%); visibility: visible; }
.priv-slides.is-back .priv-slide { transform: translateX(-100%); }
.priv-slides.is-back .priv-slide.is-on { transform: none; }
.priv-slides.is-back .priv-slide.is-out { transform: translateX(100%); }
.priv-slide.is-on, .priv-slide.is-out { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.priv-slide img { width: 100%; height: 100%; object-fit: cover; }
.priv-shade { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 597px; pointer-events: none; /* 시안 Rectangle 40 — 사진과 함께 움직이거나 커지지 않는다 */
  background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0)); }
.priv-body { z-index: 2; display: flex; flex-direction: column; gap: 32px; height: 706px; padding-top: 372px; padding-bottom: 64px; color: #fff; }
.priv-nav { display: flex; justify-content: space-between; }
.priv .arrow { width: 36px; height: 36px; color: #fff; }
.priv-copy h2 { font-size: 40px; line-height: 44px; color: #fff; letter-spacing: 0; }
.priv-caps { position: relative; height: 26px; margin-top: 8px; overflow: hidden; } /* 문구도 아래→위로 굴러 올라간다 (시안 Frame 167) */
.priv-caps li { display: block; height: 26px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; white-space: nowrap; transform: translateY(calc(var(--cap, 0) * -26px)); }
.priv-caps.is-moving li { transition: transform .45s cubic-bezier(.65,0,.35,1); } /* 문구는 시안 주석대로 아래→위, ease-in-out */
.dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 11px; margin-top: 20px; height: 4px; padding: 0 var(--pad); } /* 점 5개를 화면 가운데에 (모바일: 디자이너 피드백 1016, PC: 3차 피드백) */
.dots button { flex: 0 1 60px; height: 6px; background: var(--gold); opacity: .5; }
.dots button.is-on { opacity: 1; }

/* ---------- S07 시술 전후 확인 ---------- */
.care { padding: 32px 0; background: #fff; }
.care-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; } /* 한 줄 고정 글이 칸을 넓히지 않게 */
.care .sec-head h2 { height: 76px; }
.care .sec-desc { height: 50px; }
.ccard { min-height: 334px; }
.ccard img { width: 100%; aspect-ratio: 350 / 220; object-fit: cover; }
.ccard picture { overflow: hidden; }
.ccard img { transition: transform .6s cubic-bezier(.33,1,.68,1); }
@media (hover: hover) { .ccard:hover img { transform: scale(1.2); } } /* 디자이너 피드백 1016: hover 시 이미지 120% */
.ccard-copy { margin-top: 16px; }
.ccard h3 { height: 38px; font-weight: 600; font-size: 28px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.ccard p { font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
@media (min-width: 390px) and (max-width: 1023px) { .care .sec-desc, .ccard p { white-space: nowrap; } }

/* ---------- S08 후기 + 실제 시술 사진 ---------- */
.rev { padding: 32px 0; background: var(--surface); }
.rev-cards { display: grid; gap: 12px; margin-top: 12px; }
.rev .sec-head h2 { height: 38px; }
.rev .sec-desc { height: 50px; }
.rcard { width: 100%; min-height: 150px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.rcard p { min-height: 75px; font-size: 14px; line-height: 1.75; letter-spacing: -0.02em; }
.rcard cite { height: 19px; margin-top: auto; font-style: normal; font-size: 12px; line-height: 1.6; text-align: right; } /* 4차 요청: 출처는 우측 하단 */
.ba-head { margin-top: 32px; }
.sec .ba-head h2 { height: 38px; } /* 4차 요청: 모바일 제목을 다른 섹션 제목과 같게 (시안의 40px 갈색 대신 28px · 굵게 · 검정, 글상자 38 그대로) */
.ba-sub { height: 25px; margin-top: 8px; font-size: 14px; line-height: 1.2; letter-spacing: -0.03em; }
.ba-track { flex-direction: column; gap: 12px; margin-top: 12px; overflow: visible; }
.bacard { position: relative; width: 100%; container-type: inline-size; color: #fff; }
.bacard img { width: 100%; aspect-ratio: 350 / 183; object-fit: cover; } /* 폭은 좌우 여백 20 으로 맞추고(2차 피드백) 높이는 시안 183 그대로 */
/* 모바일 시안 카드 346 기준 좌표를 cqw 로 (폭이 달라도 비율 유지) */
.ba-l { position: absolute; font-size: max(2.51799cqw, 8.71223px); line-height: 1.75; letter-spacing: 0; white-space: nowrap; } /* 시안 자간 -0.03em 은 8.7px 에서 'Before'가 겹쳐 깨져 보인다 (디자이너 피드백 1016) */
.ba-l.top { top: 2.69785cqw; }
.ba-l.top.l { left: 18.7051cqw; } .ba-l.top.r { left: 72.4821cqw; }
.ba-l.bot { top: 45.5399cqw; }
@media (max-width: 1023px) { .bacard:nth-child(2) .ba-l.bot { top: 45.6647cqw; } .bacard:nth-child(3) .ba-l.bot { top: 45.4289cqw; } }
.ba-l.bot.l { left: 2.89017cqw; } .ba-l.bot.r { left: 53.6098cqw; }
.rev .btn-block { margin-top: 32px; }

/* ---------- S09 ANZ 필름 ---------- */
.film { padding: 64px 0; background: #fff; }
.film-cards { display: grid; gap: 24px; margin-top: 12px; }
.vcard { display: block; }
.vthumb { position: relative; display: block; }
.vthumb img { width: 100%; aspect-ratio: 350 / 197; object-fit: cover; }
.play { position: absolute; left: calc(50% - 29.5px); top: calc(50% - 29.98px); display: block; width: 58.9697px; height: 59.9596px; } /* 시안: 썸네일 가운데 (145.5, 68.52) */ /* 속은 icon/play.html (시안 구조 그대로) */
/* 아이콘은 icon/i/*.html — 시안 HTML 의 조각 구조 그대로 (크기·회전 포함) */
.film .sec-head h2 { height: 76px; }
.film .sec-desc { height: 25px; }
.vcap { display: block; height: 20px; margin-top: 12px; font-weight: 500; font-size: 14px; line-height: 1.4; }

/* ---------- S10 상담 신청 ---------- */
.consult { padding: 32px 0; background: var(--surface); }
.consult h2 { height: 38px; }
.consult-desc { height: 52px; margin-top: 12px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
@media (min-width: 390px) and (max-width: 1023px) { .consult-desc { white-space: nowrap; } }
.consult-form { display: flex; flex-direction: column; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 24px; }
.cf-title { height: 20px; font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; min-height: 120px; color: var(--body); }
.field > span { height: 20px; font-weight: 500; font-size: 14px; line-height: 1.4; }
.field small { height: 19px; font-size: 12px; line-height: 1.6; }
.field input {
  height: 48px; padding: 10px 12px 11.6px; background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 0;
  font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; color: var(--ink); outline-offset: -1px;
}
.field input::placeholder { color: var(--body); opacity: 1; }
.float-consult input::placeholder { color: var(--body); opacity: 1; }
.check { display: flex; align-items: center; gap: 8px; height: 44px; font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--body); cursor: pointer; }
.check span { height: 20px; }
.check input, .fc-agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check i { flex: none; width: 20px; height: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--control); }
.check input:checked + i, .fc-agree input:checked + i { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 100%; box-shadow: none; }
.check input:focus-visible + i { outline: 2px solid var(--brown); outline-offset: 2px; }
.f-submit { height: 48px; align-items: flex-start; padding-top: 14px; background: var(--gold); color: #fff; font-size: 14px; line-height: 1.4; }
.f-policy { height: 19px; font-size: 12px; line-height: 1.6; color: var(--brown); text-decoration: underline; }

/* ---------- S11 오시는 길 ---------- */
.way { padding: 32px 0; background: #fff; }
.way-map { display: block; position: relative; }
.way-map > a { display: block; height: 100%; }
.way-map img { width: 100%; height: 100%; object-fit: cover; }
.way-nmap { position: absolute !important; inset: 0; } /* 네이버 지도(키가 있을 때). 아래의 지도 그림을 덮는다. 네이버가 style 에 position:relative 를 넣어 높이가 0 이 되므로 !important */
.way-map.mo { margin-top: 32px; width: 100%; aspect-ratio: 350 / 260; }
.way dl { display: flex; flex-direction: column; margin-top: 32px; }
.way dt { display: none; }
.way h2 { height: 38px; }
.way dd { font-size: 14px; line-height: 1.75; letter-spacing: -0.02em; }
.way .w-addr dd, .way .w-hours dd { font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
.way .w-addr dd { height: 52px; }
.way .w-hours dd { height: 78px; }
.way .w-park { margin-bottom: 1.5px; } /* 전화·지하철·주차 3줄 글상자 75 */
.way .w-tel { margin-top: 32px; }
.way .w-hours { order: 9; margin-top: 32px; }
.way-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.way-btns .btn-line { align-items: flex-start; padding-top: 14px; }

/* ---------- 푸터 ---------- */
.ft { padding: 32px 0; background: var(--surface); }
.ft .wrap { display: flex; flex-direction: column; gap: 24px; }
.ft-logo { display: block; width: 201.934px; height: 32px; color: var(--gold); }
.ft-brand p { margin-top: 24px; }
.ft-brand p, .ft-col p { height: 52px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
.ft-hours p { height: 78px; }
.ft-legal { height: 38px; }
.ft-legal p { font-size: 12px; line-height: 1.6; }

/* ---------- 상담 접수 상태 · 안내 창 ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-msg { font-size: 12px; line-height: 1.6; color: #a3332a; }   /* 시안 오류 문구 */
.consult-form.is-err .field input { box-shadow: inset 0 0 0 1px #a3332a; }
.fc-head strong.is-err { color: #a3332a; }
.f-done { margin: 0 calc(var(--pad) * -1); padding: 24px; }
.f-done strong { display: block; font-weight: 600; font-size: 28px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.f-done p { margin-top: 12px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
button.f-policy { padding: 0; text-align: left; cursor: pointer; }
.dlg { width: min(440px, calc(100% - 40px)); padding: 28px 24px 24px; border: 0; color: var(--body); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg h2 { margin-bottom: 16px; font-weight: 600; font-size: 20px; line-height: 1.4; color: var(--ink); }
.dlg dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; line-height: 1.6; }
.dlg dt { font-weight: 600; color: var(--ink); white-space: nowrap; }
.dlg-ok { width: 100%; height: 44px; margin-top: 24px; font-size: 14px; }
.dlg-video { width: min(960px, calc(100% - 32px)); padding: 0; background: #000; overflow: visible; }
.dlg-frame { position: relative; aspect-ratio: 16 / 9; }
.dlg-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dlg-x { position: absolute; right: 0; top: -40px; width: 36px; height: 36px; font-size: 20px; color: #fff; }

/* ---------- 스크롤 등장 (시안 주석: pensatori-irrazionali.com Works 이후 — 흐림이 걷히며 아래에서 위로, 좌→우 한 개씩) ---------- */
html.rv-on .rv { opacity: 0; transform: translateY(48px); filter: blur(12px); }
html.rv-on .rv.is-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1), filter 1s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
}

/* ---------- 떠 있는 요소 ---------- */
.float-consult, .quick { display: none; }
.to-top {
  position: fixed; z-index: 30; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--brown); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
html.cmp .to-top { position: absolute; top: 549.24px; bottom: auto; box-shadow: none; }

/* 모바일 하단 바 (시안 Mobile Frame 119): 히어로 아래 바가 화면을 벗어나면 화면 아래에 붙는다 (main.js 가 복제) */
.qbar {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; height: 73px;
  display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad);
  background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.33,1,.68,1);
}
.qbar.is-on { transform: none; }
.to-top { transition: bottom .3s cubic-bezier(.33,1,.68,1); }
html.qbar-on .to-top, html.hq-vis .to-top { bottom: 88px; } /* 시안: 맨 위로 단추는 하단 바보다 15px 위 (첫 화면의 바·떠 있는 바 모두) */
@media (max-width: 1023px) { html:not(.cmp) body { padding-bottom: 73px; } }

/* =================================================================
   PC (1024px 이상) — 시안 1280, 본문 1136 (좌우 72)
   ================================================================= */
@media (min-width: 1024px) {
  .wrap { width: min(1136px, calc(100% - 144px)); margin: 0 auto; padding: 0; }
  .lines::after { /* 시안 세로선 x = 350 · 640 · 930 (본문 1136 기준 278 · 568 · 858) — 왼쪽부터 차례로 내려온다 */
    left: 50%; right: auto; width: 1136px; transform: translateX(-50%);
    background:
      linear-gradient(var(--line), var(--line)) no-repeat 278px 0 / 1px calc(var(--l1) * 100%),
      linear-gradient(var(--line), var(--line)) no-repeat 568px 0 / 1px calc(var(--l2) * 100%),
      linear-gradient(var(--line), var(--line)) no-repeat 858px 0 / 1px calc(var(--l3) * 100%);
  }
  .rev.lines::after { /* 시안: 후기 섹션 세로선은 끝에서 20px 먼저 멈춘다 */
    background:
      linear-gradient(var(--line), var(--line)) no-repeat 278px 1.11px / 1px calc(var(--l1) * 1203px),
      linear-gradient(var(--line), var(--line)) no-repeat 568px .11px / 1px calc(var(--l2) * 1204px),
      linear-gradient(var(--line), var(--line)) no-repeat 858px 2.11px / 1px calc(var(--l3) * 1203px);
  }
  .wedge-b::before { height: 100px; background-image: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/icon/wedge-bottom.svg); }
  .wedge-t::before { height: 100px; background-image: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/icon/wedge-top.svg); }

  .sec h2 { font-weight: 500; font-size: 35.5556px; line-height: 1.3; letter-spacing: -0.025em; }
  .sec h2.t-serif { font-weight: 400; }
  .sec-head { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; align-items: start; }
  .sec-desc { grid-column: 2 / 4; margin-top: 0; line-height: 1.75; }
  .sec-head > .btn { grid-column: 4; justify-self: end; width: 97.77px; height: 42.66px; padding: 15.33px 8px 0; align-items: flex-start; font-size: 12.4444px; line-height: 1; }

  /* 헤더 */
  /* 시안: 로고·메뉴·언어·배지 4덩어리가 1136 안에서 같은 간격(56.71) — 메뉴 글상자 폭 + 간격 24 */
  .hd { top: 0; height: 78px; padding: 0 72px; justify-content: space-between; align-items: flex-start; }
  .hd-logo { margin-top: 23px; }
  .hd-nav { display: flex; gap: 24px; margin-top: 30.5px; }
  .hd-it { position: relative; padding-bottom: 30.5px; margin-bottom: -30.5px; } /* 아래 여백 = 헤더 아래 끝까지: 메뉴에서 드롭다운으로 마우스를 옮겨도 끊기지 않게 */
  .hd-it > a { display: block; height: 17px; font-weight: 600; font-size: 14.2222px; line-height: 1; white-space: nowrap; }
  .hd-it:nth-child(1) > a { width: 78px; } .hd-it:nth-child(2) > a { width: 37px; } .hd-it:nth-child(3) > a { width: 96px; }
  .hd-it:nth-child(4) > a { width: 62px; } .hd-it:nth-child(5) > a { width: 59px; } .hd-it:nth-child(6) > a { width: 66px; }
  .hd-it:nth-child(7) > a { width: 50px; }
  .hd-it > a:hover { opacity: .75; }
  /* 하위 메뉴: 기존 사이트(아임웹) 드롭다운 모양 그대로 — 흰 상자 160, 모서리 3, 그림자, 13px 글 (디자이너 2026-10-19 "기존 드롭다운 유지") */
  .hd-sub { display: none; position: absolute; top: 100%; left: -20px; min-width: 160px; background: #fff; border-radius: 3px; box-shadow: 0 6px 12px rgba(0,0,0,.176); }
  .hd-it:hover > .hd-sub, .hd-it:focus-within > .hd-sub { display: block; }
  .hd-sub a { display: block; padding: 10px 20px; font-weight: 400; font-size: 13px; line-height: 18.5714px; color: #212121; white-space: nowrap; }
  .hd-sub a:hover { color: var(--gold); }
  .hd-right { margin-left: 0; align-items: flex-start; gap: 47.7087px; } /* 1280 에서 시안 위치 그대로 (언어 961.35 · 배지 1057.06), 넓어져도 둘은 붙어 다닌다 */
  .hd-lang { margin: 17px 0 0; width: 48px; padding: 0 0 0 6px; gap: 0; align-items: flex-start; }
  .hd-lang > span:not(.ico) { width: 16px; margin-top: 16px; }
  .hd-lang .ico { margin-top: 13.53px; }
  .hd-badge { display: flex; align-items: flex-start; gap: 4.93px; width: 150.94px; margin-top: 21px; } /* 피부과전문의 글자 9 → 12 (시안 1016) */
  .hd-badge img { width: 36px; height: 36px; }
  .hd-badge span { margin-top: 1px; font-weight: 600; font-size: 12px; line-height: 1.4; white-space: nowrap; }
  .hd-menu { display: none; }

  /* 히어로 */
  .hero { height: var(--hh, 720px); }
  .hero::before { left: 0; right: 0; top: 0; height: var(--hh, 720px); background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.5) 100%); opacity: var(--p, 1); }
  .hero-photo { /* 시안 그대로의 원본 사진·배치 (다 커진 상태가 기본) */
    position: absolute; left: -168px; top: -335.22px; width: 1556px; height: 1430px;
    background: url(https://channel-static.rebeauty.co.kr/anzclinic/_anz/mainpage/img/hero-full.jpg) no-repeat -588.2px -0.3491px / 2144px 1431px;
  }
  .hero-veil { /* 첫 진입시 사진 창 위의 밝은 막 */
    display: block; position: absolute; left: -2px; top: 0; width: calc(100% + 2px); height: 425px; opacity: calc(1 - var(--p, 1));
    background: linear-gradient(180deg, rgba(248,248,250,0.35) 0%, rgba(248,248,250,0.3075) 11.25%, rgba(248,248,250,0.265) 22.5%, rgba(248,248,250,0.2225) 33.75%, rgba(248,248,250,0.18) 45%, rgba(248,248,250,0.36) 58.75%, rgba(248,248,250,0.54) 72.5%, rgba(248,248,250,0.72) 86.25%, rgba(248,248,250,0.9) 100%);
  }
  .hero-title { top: 138px; line-height: 1.3; letter-spacing: -0.03em; color: #fff; transition: none; }
  .hero-text { top: calc(var(--hh, 720px) - 115px); white-space: normal; font-size: 12.8889px; line-height: 1.75; letter-spacing: -0.01em; color: #fff; }

  /* 리프팅 */
  .lift { padding: 120px 0; }
  .lift .sec-head { height: 92px; } /* 시안 글상자 높이 (제목 2줄 92.44 → 92) */
  .lift-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 0; overflow: visible; }
  .tcard { height: auto; aspect-ratio: 208 / 409; padding: 24.88px 16px 0; display: block; background-image: none; overflow: hidden; }
  .tcard-en { display: block; height: 21.3333px; font-size: 21.3333px; line-height: 1; letter-spacing: 0.01em; }
  .tcard strong { display: block; margin-top: 4.4467px; font-size: 22.2222px; line-height: 1.35; letter-spacing: -0.01em; }
  .tcard-desc { display: block; margin-top: 14.45px; font-size: 11.5556px; line-height: 1.65; letter-spacing: 0; white-space: nowrap; }
  .more { left: 16px; bottom: 16px; gap: 5px; align-items: flex-start; font-size: 10.6667px; } /* 시안 1016: y 374 → 373 (hover 와 같은 높이) */
  .more > span:not(.ico) { width: 48px; margin-top: 4.5px; }
  /* 마우스를 올린 카드: 기기 120%·골드 배경·흰 굵은 글자의 hover 화면이 디졸브로 나타난다 (2차 피드백).
     전환은 시안 디자인 시스템의 hover 와 같은 DISSOLVE 0.15초 Out Cubic */
  .tcard::before, .tcard::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    transition: opacity .15s cubic-bezier(.33,1,.68,1);
  }
  .tcard::before { background: var(--img) no-repeat 0 0 / 100% 100%; }
  .tcard::after { background: var(--img-hover) no-repeat 0 0 / 100% 100%; opacity: 0; }
  .tcard > :not(.more) { position: relative; z-index: 1; }
  .tcard .more { z-index: 1; }
  .tcard-en, .tcard strong, .tcard-desc, .more { transition: color .15s cubic-bezier(.33,1,.68,1); }
  .tcard.is-bold strong, .tcard.is-bold .tcard-desc, .tcard.is-bold .more { font-weight: 700; }
  .tcard.is-hover::before { opacity: 0; }
  .tcard.is-hover::after { opacity: 1; }
  .tcard.is-hover .tcard-en { color: #fff; opacity: .5; }
  .tcard.is-hover strong, .tcard.is-hover .tcard-desc, .tcard.is-hover .more { color: #fff; font-weight: 700; }
  .tcard.is-hover .more { left: 24px; bottom: 16px; }
  @media (hover: hover) {
    .tcard:hover::before { opacity: 0; }
    .tcard:hover::after { opacity: 1; }
    .tcard:hover .tcard-en { color: #fff; opacity: .5; }
    .tcard:hover strong, .tcard:hover .tcard-desc, .tcard:hover .more { color: #fff; font-weight: 700; }
    .tcard:hover .more { left: 24px; bottom: 16px; }
  }

  /* 울쎄라·써마지 */
  .ut { padding: 120px 0; }
  .ut .ut-title { height: auto; margin-bottom: 36px; font-size: 40px; line-height: 44px; letter-spacing: 0; }
  .ut-block + .ut-block { margin-top: 72px; }
  .ut-media { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ut-media img { aspect-ratio: 556 / 320; }
  .ut-cap { height: 25px; margin-top: 24px; font-size: 19.5556px; line-height: 1; }
  .cred, .ut-block + .ut-block .cred { height: auto; margin-top: 0; font-family: var(--noto); font-size: 12px; line-height: 1; letter-spacing: 0; }
  .cred li { height: 24px; padding-top: 7.11px; white-space: nowrap; }

  /* 일하는 방식 */
  .how { padding: 120px 0; }
  .how .sec-head { height: 140px; }
  .how .sec-head h2, .how .sec-desc { height: auto; }
  .how-list { grid-template-columns: repeat(3, 1fr); gap: 24px; height: 111px; margin: 0 0 0 290px; }
  .eyebrow { display: block; height: 12px; margin-bottom: 4px; font-family: Roboto, var(--sans); font-size: 9.77778px; line-height: 1.2; letter-spacing: 0.09em; text-transform: uppercase; }
  .how-list li, .how-list li:nth-child(2) { height: auto; }
  .how-list h3 { height: 37px; font-weight: 400; font-size: 28.4444px; line-height: 1.3; }
  .how-list p { font-size: 12.8889px; line-height: 1.75; letter-spacing: -0.03em; }

  /* 의료진: 시안 1016 — 카드 4장을 한 줄에 고정 (스크롤·화살표 없음), 상담 신청은 제목 줄 오른쪽 */
  .doc { padding: 120px 0 130px; }
  .doc .sec-head h2 { height: 92px; margin-left: -1px; } /* 시안 x=71, 글상자 높이 92 */
  .doc .sec-desc { height: 46px; }
  .doc .sec-head > .btn { margin-right: -.77px; } /* 시안 x=1111 */
  .doc-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; height: auto; margin: 25px 0 0; padding: 0; overflow: visible; }
  .dcard { min-width: 0; }
  .dcard figcaption { margin-top: 8px; }
  .dcard strong { height: 30px; font-size: 22.2222px; line-height: 1.35; letter-spacing: -0.02em; }
  .dcard span { height: 19px; margin-top: 8px; line-height: 1.6; }
  .arrows { display: flex; gap: 27px; }
  .arrow { width: 36px; height: 36px; color: var(--gold); }

  /* 프라이빗 */
  .priv { height: 623px; }
  .priv-slides { height: 560px; }
  .priv-body { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 560px; padding: 0; display: block; }
  .priv-copy { position: absolute; left: -1px; top: 388.22px; width: 420px; } /* 시안 x=71. 2·4번 문구가 잘리지 않게 넓게 (디자이너 피드백 1016) */
  .priv .priv-copy h2 { height: 88px; font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .priv-caps { margin-top: 15px; }
  .priv-caps li { line-height: 1.6; letter-spacing: -0.03em; }
  .priv-nav { position: absolute; right: 155px; top: 483.44px; gap: 10px; }
  .priv-btn { position: absolute; right: 4.23px; top: 480.22px; width: 133.77px; height: 42.66px; padding: 15.33px 10.69px 0; align-items: flex-start; font-size: 12.4444px; line-height: 1; }
  .priv-shade { height: 298px; /* 아래에 붙인다 (2차 피드백: 하단 정렬) */ /* 시안 Rectangle 40(검정) 위에 Rectangle 41(갈색) */
    background: linear-gradient(0deg, #70573d, rgba(112,87,61,0)), linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0)); }
  .dots { position: absolute; left: 0; right: 0; top: 619px; margin: 0; }
  .dots button { flex: none; width: 60px; }

  /* 시술 전후 확인 */
  .care { padding: 120px 0; }
  .care .sec-head { height: 140px; }
  .care .sec-head h2, .care .sec-desc { height: auto; margin-top: .11px; }
  .care .sec-head > .btn { margin-right: .23px; } /* 시안 x=1110 */
  .care-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 0; }
  .ccard { position: relative; min-height: 0; }
  .ccard img { height: 397.33px; aspect-ratio: auto; }
  .ccard-copy { position: absolute; left: 16px; right: 8px; top: 24px; margin: 0; }
  .ccard h3 { height: 27px; font-weight: 500; font-size: 19.5556px; line-height: 1.4; letter-spacing: -0.01em; color: var(--body); }
  .ccard p { margin-top: 10.66px; font-size: 12.4444px; line-height: 1.7; letter-spacing: -0.01em; white-space: nowrap; }

  /* 후기 */
  .rev { padding: 120px 0; }
  .rev .sec-head h2 { grid-column: 1; height: auto; }
  .rev .rev-desc { grid-column: 2; letter-spacing: -0.03em; margin-left: 1px; height: 100px; white-space: nowrap; } /* 시안 x=363 */
  .rev-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
  .rcard { position: relative; display: block; width: auto; min-height: 0; height: 239px; padding: 17.558px; box-shadow: 0 0 10px 0 rgba(226,232,237,.5); }
  .rcard p { min-height: 0; font-size: 12.2906px; line-height: 1.7; letter-spacing: -0.01em; white-space: nowrap; }
  .rcard:first-child p { font-size: 12px; }
  .rcard cite { position: absolute; left: 17.558px; right: 17.558px; top: 203.442px; display: block; height: 18px; font-size: 10.9737px; line-height: 1.6; color: var(--ink); text-align: right; }
  /* 실제 시술 사진 머리: 시안 좌표 그대로 (높이 77) */
  .ba-head { position: relative; height: 77px; margin-top: 120px; }
  .ba-head > * { position: absolute; }
  .sec .ba-head h2 { left: 0; top: 0; height: auto; font-weight: 500; font-size: 35.5556px; line-height: 1.3; letter-spacing: -0.025em; color: var(--ink); }
  .ba-sub { left: 291px; top: 9.67px; height: 17px; margin: 0; line-height: 1.2; } /* 시안 1016: 탭 없음, 설명은 제목 옆 */
  .ba-more { right: 0; top: -.33px; width: 148px; height: 42.66px; padding-top: 15.33px; align-items: flex-start; font-size: 12.4444px; line-height: 1; }
  .ba-track { flex-direction: row; gap: 24px; margin-top: 36px; overflow: hidden; }
  .bacard { flex: 0 0 calc(50% - 12px); width: auto; }
  .bacard img { aspect-ratio: 556 / 320; }
  .ba-l { font-size: 14px; line-height: 1.75; letter-spacing: -0.03em; }
  .ba-l.top { top: 66px; transform: none; }
  .ba-l.top.l { left: 119px; } .ba-l.top.r { left: 403px; }
  .ba-l.ba-name { left: 20px; top: 10px; font-weight: 700; font-size: 24px; } /* 시안 1016: 시술명 */
  .bacard:nth-child(3) .ba-l.ba-name { top: 10.33px; }
  .ba-l.bot { top: 275px; }
  .ba-l.bot.l { left: 20px; } .ba-l.bot.r { left: 302px; }
  .ba-arrows { justify-content: flex-end; gap: 27px; margin: 20px 5px 0 0; }

  /* 필름 */
  .film { padding: 120px 0; }
  .film-cards { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
  .vcard.wide { grid-column: span 2; }
  .vthumb img { aspect-ratio: 266 / 320; }
  .vcard.wide .vthumb img { aspect-ratio: 556 / 320; }
  .film .sec-head { height: 92px; }
  .film .sec-head h2, .film .sec-desc { height: auto; }
  .vcap { height: 17px; font-family: var(--sans); line-height: 1; }
  .play { transform: none; } /* 시안: 카드마다 재생 버튼 위치가 조금씩 다르다 */
  .vcard:nth-child(1) .play { left: 248.5px; top: 129.19px; }
  .vcard:nth-child(2) .play { left: 104px; top: 127.33px; }
  .vcard:nth-child(3) .play { left: 104px; top: 134px; }

  /* 상담 신청 */
  .consult { padding: 120px 0; }
  .consult .wrap { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; align-items: start; height: 139px; }
  .consult h2 { grid-column: 1; height: auto; margin-left: -6px; font-size: 40px; line-height: 1.3; } /* 시안 x=66 */
  .consult-desc { grid-column: 2; height: auto; margin: 0 0 0 4px; font-size: 15px; line-height: 1.75; letter-spacing: -0.02em; white-space: nowrap; }
  .consult-form { grid-column: 3 / 5; display: grid; grid-template-columns: 260px 260px; column-gap: 29px; row-gap: 12px; margin: 0; padding: 0 0 0 4px; }
  .field { min-height: 0; }
  .field input::placeholder { color: var(--body); }
  .field input { width: 100%; height: 48px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 12px 11.6px; font-size: 16px; line-height: 1.65; letter-spacing: -0.04em; }
  .f-name { margin: 1px 0 -1px; } /* 시안: 이름 칸만 1px 아래 */
  .f-name { grid-column: 1; grid-row: 1; } .f-tel { grid-column: 2; grid-row: 1; }
  .f-agree { grid-column: 1; grid-row: 2; color: var(--body); width: 259px; height: 44px; margin-top: .22px; align-items: flex-start; line-height: 1.4; }
  .f-agree i, .f-agree span { margin-top: 12px; }
  .f-agree span { height: 20px; }
  .check i { box-shadow: inset 0 0 0 1px var(--brown); }
  .f-submit { grid-column: 2; grid-row: 2; width: 259px; margin-left: 1px; padding-top: 18px; align-items: flex-start; background: var(--gold); color: #fff; font-size: 12.4444px; line-height: 1; }
  .f-policy { grid-column: 2; grid-row: 3; width: 259px; height: 19px; margin-left: 1px; line-height: 1.6; text-decoration: none; }
  .consult-form .f-msg { grid-column: 1 / -1; grid-row: 4; }
  .consult .f-done { grid-column: 3 / 5; margin: 0; padding: 0 0 0 4px; }

  /* 오시는 길 */
  .way { padding: 120px 0; }
  .way .wrap { left: .5px; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; } /* 시안 x=72.5 */
  .way-info { grid-column: 1; }
  .way h2 { height: 44px; font-family: var(--noto); font-weight: 500; font-size: 30.2222px; line-height: 1.45; letter-spacing: 0; white-space: nowrap; }
  .way dl { gap: 20px; margin-top: 16px; }
  .way dt { display: block; height: 14px; font-weight: 700; font-size: 11.5556px; line-height: 1; letter-spacing: 0.04em; }
  .way dd, .way .w-addr dd, .way .w-hours dd { height: 23px; margin-top: 4px; font-family: var(--noto); font-size: 14.2222px; line-height: 1.65; letter-spacing: -0.02em; white-space: nowrap; }
  .way .w-addr dd { font-family: var(--sans); }
  .way .w-hours dd { height: 69px; }
  .way .w-tel, .way .w-hours { margin-top: 0; }
  .way .w-hours { order: 0; }
  .way .w-park { margin-bottom: 0; }
  .way-btns { margin-top: 20px; grid-template-columns: 127px 127px; }
  .btn-line { height: 33px; padding-top: 10.5px; align-items: flex-start; box-shadow: inset 0 0 0 .8889px var(--brown); color: var(--brown); font-size: 12.4444px; line-height: 1; letter-spacing: 0.02em; }
  .way-btns .btn-line { justify-content: flex-start; padding-top: 10.5px; padding-left: 36px; }
  .way-btns .btn-line + .btn-line { padding-left: 41.5px; }
  .way-info > .btn-block { margin-top: 12px; height: 43px; padding-top: 15.5px; align-items: flex-start; font-size: 12.4444px; line-height: 1; }
  .way-map.pc { grid-column: 2 / 5; width: 845px; height: 499px; }

  /* 푸터 */
  .ft { height: 523.67px; padding: 72px 0 0; } /* 시안 보드 높이 8944 에 맞춤 (푸터 523.88 의 끝 0.21 은 보드 밖) */
  .ft .wrap { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 178px auto auto; column-gap: 24px; gap: 0 24px; }
  .ft-brand { grid-column: 1; grid-row: 1 / span 2; padding-top: .44px; }
  .ft-brand p { height: auto; margin-top: 48.44px; font-size: 11.5556px; line-height: 1.65; letter-spacing: 0; }
  .ft-col { display: flex; flex-direction: column; align-items: flex-start; }
  .ft-col:nth-of-type(2) { grid-column: 2; grid-row: 1 / span 2; }
  .ft-col:nth-of-type(3) { grid-column: 3; grid-row: 1; }
  .ft-col:nth-of-type(4) { grid-column: 4; grid-row: 1; }
  .ft-addr { grid-column: 3; grid-row: 2; }
  .ft-hours { grid-column: 4; grid-row: 2; }
  .ft-col h3 { height: 14px; margin-bottom: 8px; font-family: var(--serif); font-weight: 400; font-size: 12px; line-height: 1.2; letter-spacing: 0.09em; text-transform: uppercase; }
  .ft-col a { font-size: 11.5556px; line-height: 2; }
  .ft-col p { height: 57px; font-size: 11.5556px; line-height: 1.65; letter-spacing: 0; white-space: nowrap; }
  .ft-legal { height: auto; grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: flex-start; margin-top: 105px; padding-top: 24.11px; border-top: .8889px solid var(--line); }
  .ft-legal p { font-size: 10.6667px; line-height: 1.6; }
  .ft-legal .ft-copy { width: 69px; font-family: var(--serif); font-size: 9.77778px; line-height: 1.2; letter-spacing: 0.09em; }

  /* 떠 있는 상담창 / 빠른 메뉴 */
  /* 시안 글상자는 높이가 정수로 올림돼 있고 글자는 그 위쪽에 붙는다 → 가운데 정렬 대신 위 여백으로 맞춘다 */
  .float-consult {
    position: fixed; z-index: 30; left: 72px; bottom: 64.57px; width: 266px; height: 149.66px; display: flex; flex-direction: column; gap: 8.89px;
    padding: 14.21px 16px 0; background: #fff; filter: drop-shadow(0px 8.889px 12.44px rgba(168,137,95,0.15));
  }
  .fc-head { display: flex; justify-content: space-between; align-items: flex-start; height: 15px; font-family: var(--noto); }
  .fc-head strong { font-size: 12.4444px; line-height: 1; }
  .fc-close { width: 10px; margin-top: .5px; font-family: var(--noto); font-size: 11.5556px; line-height: 1; text-align: left; }
  .fc-row { display: flex; align-items: flex-start; gap: 3.55px; height: 34px; }
  .fc-row input { height: 34px; min-width: 0; padding: 0 0 4px 10.65px; border: 0; border-radius: 0; background: var(--surface); font-family: var(--noto); font-size: 10.6667px; line-height: 1; }
  .fc-row input:first-child { flex: 0 0 71.11px; height: 33.77px; padding-left: 10.66px; } .fc-row input:last-child { flex: 0 0 159px; }
  .fc-submit { height: 33.55px; align-items: flex-start; padding-top: 10px; background: var(--gold); color: #fff; font-size: 11.5556px; line-height: 1; }
  .fc-agree { position: relative; display: flex; align-items: flex-start; gap: 5.33px; height: 12px; font-family: var(--noto); font-size: 9.77778px; line-height: 1; cursor: pointer; }
  .fc-agree i { width: 11.55px; height: 11.55px; margin-top: .22px; border-radius: 1.778px; background: #fff; box-shadow: inset 0 0 0 .8889px var(--control); }
  .float-consult.is-closed { display: none; }

  .quick {
    position: fixed; z-index: 30; right: 69.23px; bottom: 53.12px; width: 101.77px; height: 167.11px; display: flex; flex-direction: column;
    gap: 17.78px; padding: 8.87px 8.89px 0 8.88px; background: #fff;
  }
  .quick a { position: relative; display: flex; align-items: flex-start; gap: 8px; height: 24px; font-family: var(--noto); font-weight: 700; font-size: 8.88889px; line-height: 1; white-space: nowrap; }
  .quick a > span:not(.ico) { margin-top: 6.5px; }
  .quick a + a::before { content: ""; position: absolute; left: 0; right: 0; top: -9.39px; border-top: 1px solid rgba(220,220,225,.3); }
  .quick .q-top { font-weight: 400; }
  .quick .q-top .ico { color: var(--brown); }
  .quick .q-phone { color: var(--brown); }

  /* 비교 화면에서는 떠 있는 요소를 시안 위치(첫 화면)에 고정 */
  html.cmp .float-consult { position: absolute; top: 505.77px; bottom: auto; }
  html.cmp .quick { position: absolute; top: 499.77px; bottom: auto; }
}

/* 1024~1279px: 1280 시안을 화면 폭에 맞춰 통째로 줄인다 (메뉴·카드가 좁아져 깨지지 않게).
   구간마다 그 구간의 가장 좁은 폭 기준 배율이라, 줄인 뒤 레이아웃 폭은 늘 1280 이상이다. */
@media (min-width: 1024px) and (max-width: 1055.98px) { html { zoom: .8; } }
@media (min-width: 1056px) and (max-width: 1087.98px) { html { zoom: .825; } }
@media (min-width: 1088px) and (max-width: 1119.98px) { html { zoom: .85; } }
@media (min-width: 1120px) and (max-width: 1151.98px) { html { zoom: .875; } }
@media (min-width: 1152px) and (max-width: 1183.98px) { html { zoom: .9; } }
@media (min-width: 1184px) and (max-width: 1215.98px) { html { zoom: .925; } }
@media (min-width: 1216px) and (max-width: 1247.98px) { html { zoom: .95; } }
@media (min-width: 1248px) and (max-width: 1279.98px) { html { zoom: .975; } }
