/* 마이크로청담 두피문신 SMP 상담 랜딩 (2026-10-22). 모바일 전용 480px 한 줄 — PC에서도 가운데 한 줄(사용자 지시 10/22).
   색은 요청서 9-2 제안값: 배경 아이보리 #F5F2ED, 본문 먹색 #202321, 카드 화이트, 상담 CTA 딥그린 #244236, 보조 톤다운 골드 #A78B60.
   글꼴은 산세리프(Pretendard) 하나. 배지·그림자·스크롤 애니메이션은 최소로(요청서 9-5). */
:root {
  --bg: #F5F2ED;
  --ink: #202321;
  --ink-2: #474B48;
  --muted: #6F726F;
  --line: #E2DDD4;
  --card: #FFFFFF;
  --cta: #244236;
  --cta-d: #1A3128;
  --gold: #A78B60;
  --err: #B42318;
  --sticky-h: 78px;
  --header-h: 56px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: #E7E2DA;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.page { max-width: 480px; margin: 0 auto; background: var(--bg); min-height: 100vh; padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); overflow-x: clip; }

/* 행사 문구 켜고 끄기: <html data-promo="off"> 이면 할인 문구를 숨긴다 */
[data-promo="off"] .promo-only { display: none !important; }
[data-promo="on"] .promo-off-only { display: none !important; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
  background: rgba(245,242,237,.95); border-bottom: 1px solid var(--line);
}
.logo img { width: 120px; height: auto; }
.header-tag { font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ① 메인: 본점 공간 사진 꽉 채우고 아래쪽 어둡게 → 흰 글자(Mobbin WHOOP·Fresha·Ro 패턴) */
.hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; padding: 0 20px 26px; overflow: hidden; background: #2a2622; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0) 20%, rgba(20,18,15,.55) 55%, rgba(20,18,15,.88) 100%); }
.hero-copy { position: relative; z-index: 1; color: #fff; }
.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #E3CFA9; }
.hero h1 { margin-top: 8px; font-size: 30px; line-height: 1.33; font-weight: 800; letter-spacing: -0.03em; }
.hero-sub { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.88); }
.hero-hub { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.9); }
.hero-hub b { color: #E3CFA9; }
.hero-hub a { margin-left: 4px; font-size: 14px; color: rgba(255,255,255,.75); text-underline-offset: 3px; }
.hero-actions { padding: 16px 20px 0; }
.hero-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; text-decoration: none; }
.hero-promo b { font-size: 16px; }
.hero-promo span { flex: 0 0 auto; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* 사례 자리(작업용). 같은 크기 고정 2분할 */
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; }
.case-img { position: relative; aspect-ratio: 3 / 4; background: repeating-linear-gradient(135deg, #E9E4DB 0 12px, #E3DDD2 12px 24px); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img span { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; background: rgba(32,35,33,.75); color: #fff; }
.case-slot figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* 버튼·폼 */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 0; border-radius: 12px; font-size: 17px; font-weight: 700; text-decoration: none; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:active { background: var(--cta-d); }
.btn-cta:focus-visible, .sticky-form:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn:disabled { opacity: .6; }
.btn-block { margin-top: 24px; }
.form-card { margin: 24px 20px 0; padding: 24px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.form-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.form-desc { margin-top: 4px; font-size: 15px; color: var(--muted); }
.lead-form { margin-top: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 54px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F726F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(36,66,54,.15); }
.field.is-error input, .field.is-error select { border-color: var(--err); }
.field-err { font-size: 14px; color: var(--err); margin-top: 4px; }
.field-err:empty { display: none; }
.consent { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 4px; min-height: 44px; }
.consent-check { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.consent-check input { width: 22px; height: 22px; accent-color: var(--cta); }
.consent-check.is-error span { color: var(--err); }
.consent-more { background: none; border: 0; font-size: 14px; color: var(--muted); text-decoration: underline; padding: 8px 0; }
.consent-err { margin: 0 0 8px; }
.btn-submit { margin-top: 10px; }
.form-note { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.form-msg { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--err); text-align: center; }
.form-msg:empty { display: none; }
.form-done { text-align: center; padding: 20px 0 8px; outline: none; }
.done-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--cta); color: #fff; align-items: center; justify-content: center; }
.done-ico svg { width: 28px; height: 28px; }
.done-title { margin-top: 12px; font-size: 20px; font-weight: 800; }
.done-desc { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* 공통 섹션 */
.section { padding: 44px 20px 0; }  /* 2026-10-22 56→44: 9.3화면 → 줄이기(불필요한 스크롤 = 이탈) */
.sec-title { font-size: 26px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; }
.sec-desc { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.sec-title + .case-list, .sec-title + .why-list, .sec-title + .steps, .sec-title + .faq { margin-top: 16px; }
.fineprint { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ③ 사례 */
.case-list { list-style: none; display: flex; gap: 10px; margin: 18px -20px 0; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.case-list::-webkit-scrollbar { display: none; }
.case-list > li { flex: 0 0 78%; scroll-snap-align: center; }
.case-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 8px; font-size: 13px; }
.case-meta dd { white-space: nowrap; }
.case-meta div { display: flex; gap: 6px; }
.case-meta dt { color: var(--muted); }
.case-meta dd { font-weight: 600; }

/* ④ 선택할 이유: 항목마다 본점 실사 1장 */
.sec-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.why-list { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.why-list img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.why-n { font-size: 13px; font-weight: 700; color: var(--gold); }
.why-list b { display: block; font-size: 17px; }
.why-list p { margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* 본점 공간: 가로 넘김 사진 줄 */
.sec-space { padding-top: 20px; }
.space-strip { list-style: none; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.space-strip::-webkit-scrollbar { display: none; }
.space-strip li { flex: 0 0 70%; scroll-snap-align: center; border-radius: 12px; overflow: hidden; }
.space-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space-cap { margin-top: 8px; padding: 0 20px; font-size: 13px; color: var(--muted); }

/* 대표 아티스트 */
.artist-card { display: grid; grid-template-columns: 40% 1fr; align-items: stretch; border-radius: 16px; overflow: hidden; background: #0f0f0f; color: #fff; }
.artist-card img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; object-position: 50% 12%; }
.artist-copy { padding: 18px 16px; }
.artist-copy small { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #E3CFA9; }
.artist-copy b { display: block; margin-top: 6px; font-size: 17px; line-height: 1.45; }
.artist-copy p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.75); }

/* ⑤ 행사·비용 */
.promo-box { margin-top: 18px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.promo-head { font-size: 17px; font-weight: 800; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.cond-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cond-list div { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.cond-list div:nth-child(5) { grid-column: 1 / -1; }
.cond-list div:nth-last-child(-n+2) { border-bottom: 0; }
.cond-list dt { font-size: 12px; color: var(--muted); }
.cond-list dd { color: var(--ink); font-weight: 600; }

/* ⑥ 상담 과정·지점 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.steps li { padding: 12px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.steps span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 13px; font-weight: 700; align-items: center; justify-content: center; }
.steps b { display: block; margin-top: 6px; font-size: 15px; }
.steps p { font-size: 12px; line-height: 1.4; color: var(--muted); }

/* 직영점·상담 지역: 지점별 접힌 줄(Mobbin Fresha·Grab 지점 목록) */
.hub-list { margin-top: 16px; border-top: 1px solid var(--line); }
.hub-row { border-bottom: 1px solid var(--line); }
.hub-row summary { list-style: none; position: relative; display: flex; align-items: baseline; gap: 10px; padding: 13px 30px 13px 0; cursor: pointer; }
.hub-row summary::-webkit-details-marker { display: none; }
.hub-row summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.hub-row[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hub-row summary b { flex: 0 0 auto; font-size: 16px; }
.hub-row[open] summary b { color: var(--cta); }
.hub-row summary span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--muted); }
.hub-row .area-chips { padding: 0 0 16px; }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.area-chips a { display: inline-block; padding: 6px 11px; font-size: 14px; color: var(--ink-2); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }

/* ⑦ FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq summary { list-style: none; padding: 17px 44px 17px 16px; font-size: 16px; font-weight: 700; position: relative; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 16px 16px; font-size: 16px; color: var(--ink-2); }

/* ⑧ 마지막 폼 */
.sec-final { padding-bottom: 8px; }
.form-card-bottom { margin: 22px 0 0; }

/* 푸터 */
.site-footer { margin-top: 64px; padding: 32px 20px 28px; background: var(--ink); color: rgba(255,255,255,.72); font-size: 13px; }
.footer-logo { width: 110px; margin-bottom: 16px; filter: invert(1); }
.footer-info div { display: flex; gap: 8px; margin-bottom: 4px; }
.footer-info dt { flex: 0 0 auto; color: rgba(255,255,255,.5); }
.footer-notice { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-notice b { color: #fff; }
.footer-notice p { margin-top: 4px; }
.footer-privacy { margin-top: 14px; background: none; border: 0; color: rgba(255,255,255,.85); text-decoration: underline; font-size: 13px; padding: 6px 0; }
.footer-copy { margin-top: 8px; color: rgba(255,255,255,.4); }

/* 하단 고정 바(모바일). 키보드 입력 중·폼이 보일 때·접수 완료 뒤에는 내린다 */
.sticky-bar {
  position: fixed; left: 50%; bottom: 0; z-index: 60; width: 100%; max-width: 480px; transform: translateX(-50%);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245,242,237,.97); border-top: 1px solid var(--line);
  transition: transform .3s ease;
}
.sticky-bar.is-pre, .sticky-bar.is-hidden, .sticky-bar.is-form, .sticky-bar.is-done { transform: translate(-50%, 110%); }
.sticky-form { display: flex; align-items: center; justify-content: center; height: 56px; max-width: 520px; margin: 0 auto; border-radius: 12px; background: var(--cta); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }

/* 모달 */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,20,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 440px; max-height: 85vh; overflow: auto; background: #fff; border-radius: 16px; padding: 22px 20px 20px; }
.modal-box h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.privacy-list div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.privacy-list dt { font-size: 14px; font-weight: 700; color: var(--ink); }
.privacy-list dd { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.modal-close { margin-top: 16px; height: 52px; font-size: 16px; }

.lead-form.is-flash { border-radius: 10px; animation: fx-flash 1.2s ease-out 1; }
@keyframes fx-flash { 0% { box-shadow: 0 0 0 0 rgba(36,66,54,.35); } 100% { box-shadow: 0 0 0 14px rgba(36,66,54,0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lead-form.is-flash { animation: none !important; }
  .sticky-bar { transition: none; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 27px; }
  .sec-title { font-size: 23px; }
  .cond-list dt { flex-basis: 96px; }
}
