/* =========================================================
   은행나무한의원 은계 — styles
   디자인 톤: 청원한의원 레이아웃 참고 + 은행잎 브랜드(그린/라임)
   ========================================================= */

:root {
  /* 공식 브랜드 가이드 색상: 먹색 #3e3a39 / 옐로우 #ded68b / 연녹 #aec687 / 진녹(올리브) #8f9d70 */
  --green: #6e7d4f;     /* 본문 강조·버튼용(가독성 확보된 브랜드 그린) */
  --green-d: #55613c;
  --green-l: #aec687;   /* 브랜드 연녹 */
  --olive: #8f9d70;     /* 브랜드 진녹 */
  --sage: #aec687;      /* 브랜드 연녹 */
  --ginkgo: #ded68b;    /* 브랜드 옐로우 */
  --lime: #d8cf72;      /* 어두운 배경 하이라이트용 골드 */
  --lime-d: #a89a39;    /* 밝은 배경 강조용(가독성) */
  --cream: #f4f2e8;
  --paper: #fbfbf6;
  --ink: #3e3a39;
  --muted: #75736c;
  --line: #e6e2d3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(60, 60, 40, 0.10);
  --shadow-sm: 0 8px 24px rgba(60, 60, 40, 0.08);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1140px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.section-title .accent { color: var(--green); }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 16px; max-width: 640px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--green {
  background: linear-gradient(160deg, var(--olive) 0%, var(--green-d) 100%);
  color: #fff;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-d); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 250, 245, 0);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.brand__logo { width: auto; height: 36px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.18; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

/* hero 위에서는 흰색 텍스트 (로고 심볼은 그대로 컬러) */
.header:not(.scrolled) .brand,
.header:not(.scrolled) .nav a { color: #fff; }
.header:not(.scrolled) .brand small { color: rgba(255,255,255,.82); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: .96rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--green); transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-tel { font-weight: 800; font-size: 1.02rem; }
.header:not(.scrolled) .header-tel { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: .3s; }
.header:not(.scrolled) .nav-toggle { color: #fff; }
.header.scrolled .nav-toggle { color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,40,20,.55) 0%, rgba(25,35,18,.42) 45%, rgba(20,30,15,.72) 100%);
}
.hero__inner { max-width: 760px; padding-top: var(--header-h); }
.hero__tag {
  display: inline-block; font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em;
}
.hero h1 .hl { color: var(--lime); }
.hero p { margin-top: 22px; font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.92); max-width: 560px; }
.hero__btns { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: .78rem; letter-spacing: .15em; color: rgba(255,255,255,.8);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll i { width: 1px; height: 34px; background: rgba(255,255,255,.6); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:.2;transform:scaleY(.3)} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:.2;transform:scaleY(.3)} }

/* =========================================================
   PHILOSOPHY (intro)
   ========================================================= */
.philosophy { text-align: center; }
.philosophy .big {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.45; letter-spacing: -0.02em;
}
.philosophy .big .accent { color: var(--green); }
.philosophy .sub { color: var(--muted); margin-top: 22px; font-size: 1.06rem; max-width: 660px; margin-inline: auto; }

/* ---------- patient chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: .98rem; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: .2s;
}
.chip:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.chip b { color: var(--green); }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--green); margin-bottom: 18px;
}
.card__ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .tagline { display:inline-block; margin-top:14px; font-size:.8rem; font-weight:700; color:var(--lime-d); }

/* =========================================================
   CAUSE (green section, text)
   ========================================================= */
.cause__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.cause h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.35; }
.cause .quote { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-top: 22px; }
.cause ol { margin-top: 28px; display: grid; gap: 16px; }
.cause ol li { position: relative; padding-left: 34px; color: rgba(255,255,255,.92); }
.cause ol li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 2px; background: var(--lime);
}
.cause__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.cause__visual img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   STEPS (process)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.feat-img { max-width: 980px; margin: 44px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/8; display: block; }
/* 부위 네비 (어디가 아프신가요) */
.bodymap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }
.bodynav { padding: 15px 30px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 1.05rem; transition: background .2s, color .2s, border-color .2s; }
.bodynav:hover { background: var(--green); color: #fff; border-color: var(--green); }
.bodynav--more { background: transparent; border-style: dashed; color: var(--green); }
/* 약침 강조 카드 */
.method--accent { border: 2px solid var(--green); }
/* 예약 플로팅 */
.float--booking { background: var(--green); color: #fff; }
/* 가격표 (공진단 라인업) */
.price-table { width: 100%; max-width: 560px; margin: 0 auto; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--green); color: #fff; font-weight: 700; border-bottom: none; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-note { max-width: 680px; margin: 20px auto 0; color: var(--muted); font-size: .92rem; text-align: center; line-height: 1.7; }
/* 부위별 진료 카드 */
.card--link { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.card--link h3 { margin-bottom: 8px; }
.card--link p { color: var(--muted); }
.card--link .more { margin-top: auto; padding-top: 16px; color: var(--green); font-weight: 700; font-size: .92rem; }
.card--blog { background: var(--green); color: #fff; border-color: var(--green); }
.card--blog p { color: rgba(255,255,255,.9); }
.card--blog .more { color: #fff; }
/* 서브페이지: 히어로 없는 페이지 헤더 밝게(가독성) + 현재 메뉴 표시 */
.subpage .header { background: rgba(251,250,245,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.subpage .header:not(.scrolled) .brand,
.subpage .header:not(.scrolled) .nav a,
.subpage .header:not(.scrolled) .header-tel,
.subpage .header:not(.scrolled) .nav-toggle { color: var(--ink); }
.subpage .header:not(.scrolled) .brand small { color: var(--muted); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.nav a[aria-current="page"]::after { width: 100%; }
.subhead { padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.subhead .lead { word-break: keep-all; }
@media (max-width: 720px) { .subhead .lead br { display: none; } }
/* 한약 섹션 초록 반전 — 글자색 */
.section--green .split__body h2 { color: #fff; }
.section--green .split__body p { color: rgba(255,255,255,.9); }
/* 공진단 "이런 분께 좋습니다" 강조 블록 */
.likewho { max-width: 760px; margin: 48px auto 0; text-align: center; padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.likewho h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; }
.likewho .chips { justify-content: center; }
/* split 이미지 — 세로 사진 잘림 줄이기(공진단) */
.split__media--tall img { aspect-ratio: 4/5; object-fit: cover; object-position: center; }
/* 후기 자동 가로 스크롤 */
.review-strip { overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.review-track { display: flex; gap: 16px; width: max-content; animation: review-scroll 30s linear infinite; }
.review-track img { height: 300px; width: auto; border-radius: 14px; box-shadow: var(--shadow); flex: none; background: var(--paper); }
.review-strip:hover .review-track { animation-play-state: paused; }
@keyframes review-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
/* 데스크탑: 후기 3장은 슬라이드 대신 가운데 정렬(빈 공간 방지) */
@media (min-width: 721px) {
  .review-track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
  .review-track img[aria-hidden="true"] { display: none; }
}
/* 공진단 제품 컷 — 큰 가로 슬라이드 (데스크탑·모바일 모두) */
.photo-strip { overflow: hidden; margin-top: 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.photo-track { display: flex; gap: 16px; width: max-content; animation: review-scroll 26s linear infinite; }
.photo-track img { height: 360px; width: auto; border-radius: 16px; box-shadow: var(--shadow); flex: none; }
.photo-strip:hover .photo-track { animation-play-state: paused; }
@media (min-width: 721px) {
  .photo-track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
  .photo-track img[aria-hidden="true"] { display: none; }
}
/* 모바일: 사진 띠를 자동 흐름 대신 손가락 스와이프(가로 스크롤)로 */
@media (max-width: 720px) {
  .review-strip, .photo-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 20px;
    -webkit-mask-image: none; mask-image: none;
    scrollbar-width: none;
  }
  .review-strip::-webkit-scrollbar, .photo-strip::-webkit-scrollbar { display: none; }
  .review-track, .photo-track {
    animation: none;
    width: max-content;
    padding: 0 20px;
  }
  .review-track img[aria-hidden="true"], .photo-track img[aria-hidden="true"] { display: none; }
  .review-track img, .photo-track img { scroll-snap-align: start; }
}
/* 모바일 헤더 네이버 예약 버튼 축소 */
@media (max-width: 720px) {
  .header-cta .btn--primary { padding: 7px 12px; font-size: .8rem; }
  .header-tel { display: none; }
}
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative;
}
.step__no {
  font-size: 2.4rem; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 14px;
  font-family: "Pretendard"; letter-spacing: -.02em;
}
.step h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- treatment methods ---------- */
.methods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; }
.method {
  text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px;
  transition: .2s;
}
.method:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.method__ico { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--green); }
.method h5 { font-size: 1.04rem; font-weight: 800; margin-bottom: 6px; }
.method p { font-size: .86rem; color: var(--muted); }

/* =========================================================
   HERB section (split)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split__body h2 { font-size: clamp(1.5rem,3.2vw,2.2rem); font-weight: 800; line-height: 1.35; }
.split__body p { color: var(--muted); margin-top: 18px; }
.split__body .mini { display: grid; gap: 14px; margin-top: 26px; }
.split__body .mini li { display: flex; gap: 12px; align-items: flex-start; }
.split__body .mini b { color: var(--ink); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 11px; }

.herb-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 26px; }
.herb-gallery img { border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; }

/* =========================================================
   DOCTOR
   ========================================================= */
.doctor { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.doctor__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__body h2 { font-size: clamp(1.5rem,3.2vw,2.1rem); font-weight: 800; }
.doctor__body .role { color: var(--green); font-weight: 700; margin-top: 6px; }
.doctor__body .career { margin-top: 24px; display: grid; gap: 10px; }
.doctor__body .career li { padding-left: 22px; position: relative; color: var(--muted); }
.doctor__body .career li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 2px; background: var(--green); }

/* =========================================================
   BLOG / health info
   ========================================================= */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: .22s;
  display: flex; flex-direction: column; gap: 12px;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .cat { font-size: .78rem; font-weight: 700; color: var(--lime-d); letter-spacing: .04em; }
.post h4 { font-size: 1.12rem; font-weight: 800; line-height: 1.4; }
.post p { color: var(--muted); font-size: .92rem; flex: 1; }
.post .more { color: var(--green); font-weight: 700; font-size: .9rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 46px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; font-size: 1.06rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q .ico { flex: none; width: 22px; height: 22px; position: relative; transition: .3s; }
.faq__q .ico::before, .faq__q .ico::after { content:""; position:absolute; background: var(--green); border-radius: 2px; }
.faq__q .ico::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq__q .ico::after { left: 10px; top: 0; width: 2px; height: 22px; transition: .3s; }
.faq__item.open .faq__q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq__a p { padding-bottom: 22px; }

/* =========================================================
   LOCATION
   ========================================================= */
.loc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.loc__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; border: 1px solid var(--line); }
.loc__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.loc__info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row .k { flex: none; width: 84px; font-weight: 700; color: var(--green); }
.info-row .v { color: var(--ink); }
.info-row .v small { color: var(--muted); }
.loc__recept { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.loc__note { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.loc__btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #20251b; color: rgba(255,255,255,.66); padding: 60px 0 40px; font-size: .9rem; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255,255,255,.5); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__links a:hover { color: var(--lime); }
.footer__info { line-height: 1.9; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.footer__info strong { color: rgba(255,255,255,.85); }

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */
.floats { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow); color: var(--green); font-weight: 800; font-size: .7rem;
  border: 1px solid var(--line); transition: .2s; text-align: center; line-height: 1.1;
}
.float:hover { transform: translateY(-3px); }
.float--kakao { background: #FEE500; color: #3c1e1e; border-color: #FEE500; }
.float--tel { background: var(--green); color: #fff; border-color: var(--green); }
.float--top { background: var(--ink); color: #fff; border-color: var(--ink); opacity: 0; pointer-events: none; }
.float--top.show { opacity: 1; pointer-events: auto; }

/* =========================================================
   reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .methods { grid-template-columns: repeat(2, 1fr); }
  .cause__grid, .split, .doctor, .loc { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__media { order: 0; }
  .posts { grid-template-columns: 1fr; }
  .cause__visual { aspect-ratio: 16/10; max-height: 420px; }
}
/* 헤더: 1024px 이하 햄버거 전환 (창모드 데스크탑·태블릿 포함) */
@media (max-width: 1024px) {
  .header-tel { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .28s ease, visibility .25s;
    pointer-events: none;
  }
  .nav.open {
    opacity: 1; visibility: visible; transform: translateY(0);
    pointer-events: auto;
  }
  .nav a { padding: 14px 24px; color: var(--ink) !important; width: 100%; }
  .nav a::after { display: none; }
  .nav-toggle span { transition: transform .28s ease, opacity .2s ease; }
}
@media (max-width: 720px) {
  .cards, .steps, .methods { grid-template-columns: 1fr; }
  .herb-gallery { grid-template-columns: repeat(3,1fr); }
  .hero { min-height: 92vh; }
}

/* =========================================================
   부위별 상세 글 (parts-*.html)
   ========================================================= */
.prose { max-width: 820px; margin: 0 auto; }
.prose .eyebrow { display: block; text-align: center; }
.prose h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 28px; letter-spacing: -0.02em; }
.prose h2 .accent { color: var(--green); }
.prose p { color: var(--ink); font-size: 1.02rem; line-height: 1.85; margin-bottom: 18px; word-break: keep-all; }
.prose p:last-child { margin-bottom: 0; }
.crumb { margin-top: 22px; font-size: .9rem; }
.crumb a { color: var(--green); font-weight: 700; }
.crumb a:hover { text-decoration: underline; }
.steps .step h4 { word-break: keep-all; }

/* =========================================================
   인체 바디맵 (메인 FIND YOUR PAIN)
   ========================================================= */
.bodyfig-wrap { display: flex; justify-content: center; margin-top: 44px; }
.bodyfig { width: min(400px, 94vw); height: auto; display: block; overflow: visible; }
.bodyfig a { cursor: pointer; outline: none; }
.bodyfig .pt-dot { fill: var(--green); stroke: #fff; stroke-width: 3; transition: r .15s ease; }
.bodyfig .pt-line { stroke: var(--green); stroke-width: 2.2; stroke-dasharray: 5 4; opacity: .6; }
.bodyfig .pt-pill { fill: #fff; stroke: var(--line); stroke-width: 1.6; transition: fill .15s ease, stroke .15s ease; }
.bodyfig .pt-label { font-family: inherit; font-size: 23px; font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; transition: fill .15s ease; }
.bodyfig a:hover .pt-pill, .bodyfig a:focus .pt-pill { fill: var(--green); stroke: var(--green); }
.bodyfig a:hover .pt-label, .bodyfig a:focus .pt-label { fill: #fff; }
.bodyfig a:hover .pt-dot { r: 12; }
