/* TB눈썹문신 공통 스타일 */
:root {
  --bg: #FBF8F7;
  --band: #F3ECEC;
  --surface: #FFFFFF;
  --ink: #241A20;
  --ink-2: #4B3F46;
  --muted: #6E626A;
  --line: #EAE1E2;
  --line-2: #DCCFD2;
  --accent: #8A3B5C;
  --accent-dark: #6A2945;
  --accent-soft: #F5E8EE;
  --deep: #2B1D26;
  --deep-line: #46333F;
  --deep-text: #D9CAD2;
  --rose-light: #E7B8CB;
  --kakao: #FEE500;
  --serif: "Gowun Batang", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75;
  word-break: keep-all; padding-bottom: 96px;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; letter-spacing: -0.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.sec { padding-top: 80px; padding-bottom: 80px; }
.muted { color: var(--muted); }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; }
.sec-head p { max-width: 460px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--accent); }
.text-link::after { content: "→"; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-kakao { background: var(--kakao); color: #191919; }
.btn-kakao:hover { color: #191919; filter: brightness(0.97); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* 상단 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 247, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-bar { max-width: 1160px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.main-nav { display: flex; justify-content: center; gap: 2px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--ink-2); font-size: 15px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }
@media (max-width: 960px) {
  .header-bar { grid-template-columns: 1fr auto; padding-top: 10px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 -11px; }
}

/* 첫 화면 */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-media { display: block; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 12px; overflow: hidden; background: var(--band); }
@media (min-width: 960px) { .hero-media { order: -1; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.22; letter-spacing: -0.035em; margin-bottom: 22px; text-wrap: pretty; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--ink-2); font-size: 17px; max-width: 500px; margin-bottom: 30px; text-wrap: pretty; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 500; }
.hero-tags a:hover { background: var(--accent); color: #fff; }

/* 지점 찾기 */
.find-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 56px; }
@media (min-width: 900px) { .find-layout { grid-template-columns: 320px 1fr; } }
.find-side h2 { margin-bottom: 10px; }
.find-side p { color: var(--muted); margin-bottom: 22px; }
.search { display: flex; flex-direction: column; gap: 6px; }
.search span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.search input { min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); font: inherit; color: var(--ink); outline: none; }
.search input:focus { border-color: var(--accent); }
.region-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); column-gap: 24px; border-top: 1px solid var(--ink); }
.region-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 64px; border-bottom: 1px solid var(--line); color: var(--ink); }
.region-link:hover { color: var(--accent); }
.region-link strong { font-size: 16px; font-weight: 600; }
.region-link small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.region-link::after { content: "→"; color: var(--line-2); }
.region-link:hover::after { color: var(--accent); }
#region-empty { margin-top: 16px; }

/* 배경 */
.band { background: var(--band); }
.band-deep { background: var(--deep); color: #fff; }
.band-deep h2 { color: #fff; }
.band-deep .kicker { color: var(--rose-light); }
.band-deep .sec-head p { color: var(--deep-text); }
.band-deep .text-link { color: var(--rose-light); }

/* 시술 안내 목록 */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 32px; gap: 6px 20px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.svc-row:hover { background: var(--surface); color: var(--ink); }
.svc-row .no { font-family: var(--serif); font-size: 15px; color: var(--accent); }
.svc-row .body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px 32px; align-items: center; }
.svc-row h3 { font-size: 20px; font-weight: 700; }
.svc-row p { color: var(--ink-2); font-size: 15px; }
.svc-row .go { color: var(--accent); font-size: 18px; justify-self: end; }

/* 처음 방문 */
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tips li { background: var(--surface); padding: 28px 24px 30px; border-top: 2px solid var(--accent); }
.tips .no { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.tips h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tips p { color: var(--muted); font-size: 15px; }

/* 시술 과정 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px 20px; }
.flow li { position: relative; padding-top: 30px; border-top: 1px solid var(--deep-line); }
.flow li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--rose-light); }
.flow .step { font-size: 12px; letter-spacing: 0.12em; color: var(--rose-light); font-weight: 600; }
.flow h3 { font-size: 19px; font-weight: 700; margin: 6px 0 8px; }
.flow p { color: var(--deep-text); font-size: 15px; }

/* 공간: 가로 스냅 캐러셀 */
.space-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 320px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.space-grid::-webkit-scrollbar { display: none; }
.space-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--band);
}
.space-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.space-item {
  display: block;
  width: 100%;
  margin: 0;
  color: inherit;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.space-item .space-card { width: 100%; max-width: none; }
@media (min-width: 720px) {
  .space-grid { grid-auto-columns: calc((100% - 36px) / 4); }
}
@media (min-width: 1024px) {
  .space-grid { grid-auto-columns: calc((100% - 84px) / 8); }
}
.space-grid figure { margin: 0; }
.space-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
#space .space-grid figcaption {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  word-break: keep-all;
}

/* 눈썹 정보 */
.guide-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; }
.guide-chips a::after { content: "→"; color: var(--accent); }
.guide-chips a:hover { border-color: var(--accent); color: var(--accent); }

/* 자주 묻는 질문 */
.faq-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 56px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 320px 1fr; } }
.faq-side h2 { margin-bottom: 10px; }
.faq-side p { color: var(--muted); margin-bottom: 10px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 17px; font-weight: 600; }
.faq-list summary span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 16px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); padding: 0 44px 24px 0; }

/* 예약·문의 띠 */
.cta-band { background: var(--accent); color: #fff; }
.cta-inner { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; gap: 24px 48px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #F6E3EB; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 760px) { .cta-band .btn-row { justify-content: flex-end; } }

/* 하단 */
.site-footer { background: var(--deep); color: var(--deep-text); font-size: 14px; }
.footer-grid { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 2fr; } }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-mark { background: var(--rose-light); color: var(--deep); }
.site-footer a { color: var(--deep-text); }
.site-footer a:hover { color: #fff; }
.footer-title { font-size: 12px; letter-spacing: 0.12em; color: var(--rose-light); font-weight: 600; margin-bottom: 12px; }
.footer-menu { display: grid; gap: 6px; align-content: start; }
.footer-regions { display: flex; flex-wrap: wrap; gap: 6px 14px; align-content: flex-start; }
.copyright { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--deep-line); font-size: 13px; color: #A8959F; }
.copyright a { color: #A8959F; }

/* 하단 고정 문의 */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.fixed-cta-inner { pointer-events: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; max-width: 440px; padding: 6px; border-radius: 10px; background: rgba(43, 29, 38, 0.94); box-shadow: 0 10px 30px rgba(43, 29, 38, 0.25); }
.fixed-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.fixed-cta .call { background: transparent; color: #fff; border: 1px solid var(--deep-line); }
.fixed-cta .call:hover { color: #fff; border-color: var(--rose-light); }

/* 세부페이지 */
.page-hero { background: var(--band); }
.page-hero .wrap { padding-top: 40px; padding-bottom: 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.25; letter-spacing: -0.03em; margin-bottom: 18px; }
.page-hero .lead { max-width: 660px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 56px; padding-top: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .split { grid-template-columns: 300px 1fr; } }
.split h2 { font-size: clamp(22px, 2.8vw, 28px); }
.split .body-text { color: var(--ink-2); max-width: 680px; }
.split .body-text + .body-text { margin-top: 14px; }
.opt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.opt-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; }
.opt-grid h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--accent-dark); }
.opt-grid p { color: var(--ink-2); font-size: 15px; }
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.num-list li:first-child { padding-top: 0; }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); color: var(--accent); font-size: 18px; }
.num-list h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.num-list p { color: var(--muted); font-size: 15px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 130px; }
.compare thead th { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 14px; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 700; }
.compare a { font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.related-card { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.related-card:hover { border-color: var(--accent); color: var(--ink); }
.related-card h3 { font-size: 17px; font-weight: 700; }
.related-card p { color: var(--muted); font-size: 14px; }
.related-card .more { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--accent); font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; background: var(--deep); color: #fff; border-radius: 8px; }
.contact-card:hover { color: #fff; background: var(--accent-dark); }
.contact-card.kakao { background: var(--kakao); color: #191919; }
.contact-card.kakao:hover { color: #191919; filter: brightness(0.97); }
.contact-card small { font-size: 13px; opacity: 0.8; }
.contact-card p { font-size: 22px; font-weight: 700; }
.contact-card .more { margin-top: 12px; font-size: 14px; font-weight: 600; }
.note { margin-top: 18px; padding: 16px 18px; background: var(--accent-soft); border-radius: 6px; color: var(--accent-dark); font-size: 14px; }
