/* ==========================================================
   beauty-landing 베이스 템플릿 (원조 구조 · 라이트 블러시 톤)
   컬러·폰트는 js/config.js 에서 CSS 변수로 주입됩니다
   ========================================================== */

:root {
  --brand: #33222b;        /* 메인(딥 플럼) */
  --brand-soft: #46303c;
  --accent: #cf8ba0;       /* 포인트(로즈) */
  --accent-ink: #7c3e55;
  --kakao: #fee500;
  --kakao-ink: #191919;
  --bg: #fbf8f7;
  --tint: #f5ecee;
  --ink: #2c2228;
  --ink-soft: #7d6d75;
  --line: #e9dce0;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(51, 34, 43, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.container--narrow { width: min(760px, 92%); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn--kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn--navy { background: var(--brand); color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 36px; font-size: 17px; }

/* ---------- 헤더 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(51, 34, 43, 0.08);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; gap: 32px; }
.header__logo { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.header.is-scrolled .header__logo { color: var(--brand); }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.header.is-scrolled .header__nav a { color: var(--ink-soft); }
.header__nav a:hover { color: var(--accent); }
.header .btn--navy { background: var(--accent); color: #fff; }

/* ---------- 히어로 ---------- */
.hero { position: relative; color: #fff; padding-bottom: 72px; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: -25% 0 0 0;   /* 패럴럭스 여유분 */
  background: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=2000&q=80")
    center 40% / cover no-repeat, var(--brand);
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(38, 22, 31, 0.92) 0%, rgba(38, 22, 31, 0.7) 45%, rgba(38, 22, 31, 0.5) 100%);
}
.hero__content {
  position: relative;
  padding: 190px 0 90px;
  max-width: 780px;
}
.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(207, 139, 160, 0.18);
  border: 1px solid rgba(207, 139, 160, 0.55);
  color: #f2c3d2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 30%;
  background: rgba(207, 139, 160, 0.25);
  z-index: -1;
  border-radius: 4px;
}
.hero__sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* 실적 스트립 */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 10px;
  transform: translateY(40px);
  margin-top: -10px;
}
.stats__item { text-align: center; padding: 6px 12px; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__item strong {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.stats__item strong span { font-size: inherit; font-weight: inherit; color: var(--accent-ink); }
.stats__item > span:last-child { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 110px 0 96px; }
.section--tint { background: var(--tint); }
.section__eyebrow {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.section__note { margin-top: 28px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 카드 ---------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-size: 34px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 메뉴(가격표) ---------- */
.menu { list-style: none; }
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.menu__row:first-child { border-top: 2px solid var(--brand); }
.menu__name strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.menu__name span { font-size: 13.5px; color: var(--ink-soft); }
.menu__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-6px); }
.menu__price { font-size: 18px; font-weight: 900; color: var(--accent-ink); white-space: nowrap; }

/* ---------- 스타일 갤러리 ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--tint);
  box-shadow: 0 4px 18px rgba(51, 34, 43, 0.06);
}
.work img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.work:hover img { transform: scale(1.07); }
.work__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(38, 22, 31, 0.85), transparent);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.work__caption strong { font-size: 15.5px; font-weight: 800; color: #fff; }
.work__caption span { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 다크 섹션 (디자이너) ---------- */
.section--dark { background: var(--brand); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__eyebrow { color: var(--accent); }
.section--dark .section__note { color: rgba(255, 255, 255, 0.5); }
.member {
  background: var(--brand-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 26px;
  text-align: center;
  transition: transform 0.25s ease;
}
.member:hover { transform: translateY(-6px); }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 20px; }
.member h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.member p { font-size: 14px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }

/* ---------- 후기 ---------- */
.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review__stars { color: var(--accent-ink); font-size: 18px; letter-spacing: 3px; }
.review p { font-size: 15.5px; flex: 1; }
.review span { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-ink);
  transition: transform 0.25s ease;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; }

/* ---------- 오시는 길 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--map { align-items: stretch; }
.info { list-style: none; margin-bottom: 30px; }
.info li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.info strong { flex: 0 0 76px; color: var(--brand); font-weight: 800; }
.info a { font-weight: 700; color: var(--accent-ink); }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  background: #efe4e7;
  min-height: 380px;
  box-shadow: var(--shadow);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map__placeholder {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
  text-align: center;
  font-weight: 600;
}
.map__placeholder span { font-size: 42px; }
.map__placeholder small { font-weight: 400; }

/* ---------- CTA 밴드 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 55%, #5d3f4e 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.cta-band p { font-size: 17px; color: rgba(255, 255, 255, 0.78); margin-bottom: 34px; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- 푸터 ---------- */
.footer {
  background: #241720;
  color: rgba(255, 255, 255, 0.55);
  padding: 44px 0 120px;
  font-size: 13.5px;
}
.footer strong { display: block; color: #fff; font-size: 16px; margin-bottom: 10px; }
.footer__biz { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.35); }

/* ---------- 모바일 하단 고정 바 ---------- */
.fixed-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}
.fixed-bar__btn {
  flex: 1;
  text-align: center;
  padding: 17px 0;
  font-size: 16px;
  font-weight: 800;
}
.fixed-bar__btn--tel { background: var(--brand); color: #fff; }
.fixed-bar__btn--kakao { background: var(--kakao); color: var(--kakao-ink); }

/* ---------- 패럴럭스 (JS가 --py 값을 매 프레임 갱신) ---------- */
.parallax-on .photo img {
  transform: translateY(var(--py, 0px)) scale(1.12);
  will-change: transform;
}

/* ---------- 등장 애니메이션 (JS 활성 시에만 숨김 → 실패해도 콘텐츠 보장) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-on { opacity: 1; transform: translateY(0); }

/* ---------- 반응형 ---------- */
.br-mobile { display: none; }

@media (max-width: 900px) {
  .header__nav { display: none; }
  .cards--3 { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero__content { padding: 150px 0 70px; }
  .stats { transform: translateY(30px); padding: 22px 4px; }
  .stats__item { padding: 6px 4px; }
  .stats__item strong { font-size: 22px; }
  .stats__item > span:last-child { font-size: 12px; }
  .section { padding: 84px 0 72px; }
  .works { grid-template-columns: 1fr; }
  .menu__name strong { font-size: 16.5px; }
  .menu__price { font-size: 16px; }
  .br-mobile { display: block; }
  .header .btn { display: none; }
  .fixed-bar { display: flex; }
  .footer { padding-bottom: 140px; }
}
