/* =========================================================
   BAREE STUDIO — 메뉴 가이드(guide.html) 전용 스타일
   공통 토큰·헤더·버튼·푸터는 style.css 를 그대로 사용합니다.

   색 구성 (메인 페이지와 같은 규칙, 섹션마다 한 가지 포인트 계열만 사용)
   · 첫 화면     로즈 블록 + 사진 + 코코아 띠        (메인: 브랜드 철학)
   · 메뉴 가이드  아이보리 배경 / 포인트 = 로즈       (메인: 메뉴 & 가격)
                 메뉴 그림 블록 = 로즈·코코아·베이지·연핑크
   · 회복 과정   오트 베이지 배경 / 포인트 = 로즈     (메인: 후기)
   · 관리 가이드  아이보리 배경 + 흰 카드 / 포인트 = 로즈, 안내 박스 = 코코아
   · FAQ        연핑크 배경 / 아이콘 = 로즈           (메인: FAQ)
   · 상담 안내   코코아 블록                          (메인: 오시는 길)
   ========================================================= */
.page-guide main { padding-top: var(--header-h); }
.btn--white { background: #fff; color: var(--rose); }
.btn--white:hover { background: var(--cream); }
.link-arrow--light { color: #fff; }

/* ---------- Hero ---------- */
.g-hero { display: grid; grid-template-columns: 1fr; }
.g-hero__text { padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.g-hero__title { font-size: clamp(34px, 5.2vw, 56px); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.g-hero__title em { font-style: normal; color: var(--petal); }
.g-hero__desc { font-size: 17px; line-height: 1.75; opacity: .92; }
.g-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 10px; }
.g-hero__side { display: grid; grid-template-rows: 1fr auto; }
.g-hero__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.g-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.g-hero__strip { background: var(--cocoa); padding: 22px clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; }
.g-hero__strip p { font-weight: 600; font-size: 17px; }
.g-hero__strip span { font-family: var(--f-logo); font-size: 13px; letter-spacing: .14em; opacity: .75; }
@media (min-width: 900px) {
  .g-hero { grid-template-columns: 1.1fr 1fr; min-height: calc(100svh - var(--header-h)); max-height: 860px; }
  .g-hero__img { aspect-ratio: auto; }
}

/* ---------- Concern chips (포인트: 로즈) ---------- */
.concern { margin-top: 36px; }
.concern__label { font-weight: 600; margin-bottom: 12px; }
.concern__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chipbtn:hover { border-color: var(--rose); }
.chipbtn[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.concern__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Menu tabs ---------- */
.mtabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
.mtab {
  text-align: left; padding: 18px 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; position: relative; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.mtab:hover { border-color: rgba(var(--rose-rgb), .45); }
.mtab__num { font-family: var(--f-logo); font-size: 12px; color: var(--muted); }
.mtab__en { font-family: var(--f-logo); font-size: 11px; letter-spacing: .12em; color: var(--rose); margin-top: 8px; }
.mtab__name { font-size: 17px; font-weight: 600; line-height: 1.35; }
.mtab__price { font-family: var(--f-logo); font-size: 14px; color: var(--muted); margin-top: 4px; }
.mtab[aria-selected="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.mtab[aria-selected="true"] .mtab__num, .mtab[aria-selected="true"] .mtab__en, .mtab[aria-selected="true"] .mtab__price { color: rgba(255,255,255,.8); }
@media (min-width: 900px) { .mtabs { grid-template-columns: repeat(4, 1fr); gap: 14px; } .mtab { padding: 22px 22px 18px; } }

/* ---------- Menu panel ---------- */
.mpanel { display: grid; grid-template-columns: 1fr; margin-top: 18px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.mpanel__visual { position: relative; padding: 28px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: background .4s var(--ease), color .4s; }
.mpanel__vlabel { font-family: var(--f-logo); font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; letter-spacing: -.01em; }
.mpanel__caption { font-size: 12px; opacity: .8; line-height: 1.5; }
.lipart { width: min(78%, 320px); align-self: center; overflow: visible; }
.lipart path { transition: opacity .4s var(--ease), fill .4s, stroke .4s; }
.lipart__base { fill: rgba(40, 25, 22, .38); opacity: 0; }
.lipart__fill { fill: url(#lipFill); opacity: 0; }
.lipart__tone { fill: url(#lipTone); opacity: 0; }
.lipart__dark { fill: url(#lipDark); opacity: 0; }
.lipart__shine { fill: url(#lipShine); opacity: 0; transition: opacity .4s; }
.lipart__labels { opacity: 0; transition: opacity .4s; }
.lipart__labels text { font-family: var(--f-logo); font-size: 11px; letter-spacing: .12em; fill: currentColor; stroke: none; }
.lipart__labels path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.lipart__seam { fill: none; stroke: rgba(0,0,0,.18); stroke-width: 2; stroke-linecap: round; }
.lipart__line { fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; opacity: 0; stroke-dasharray: 700; stroke-dashoffset: 0; }
.mpanel__body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.mpanel__en { font-family: var(--f-logo); font-size: 12px; letter-spacing: .14em; color: var(--rose); }
.mpanel__title { font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.mpanel__intro { color: var(--muted); }
.mfacts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 6px; }
.mfacts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mfacts dt { font-size: 13px; font-weight: 600; color: var(--rose); }
.mfacts dd { font-size: 15px; }
@media (min-width: 600px) { .mfacts div { grid-template-columns: 120px 1fr; gap: 16px; } }
.mprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; background: var(--petal); border-radius: 12px; }
.mprice__label { font-size: 13px; color: var(--muted); width: 100%; }
.mprice__regular { font-size: 14px; color: var(--muted); }
.mprice__event { font-size: 14px; color: var(--rose); font-weight: 600; }
.mprice__event strong { font-family: var(--f-logo); font-size: 24px; margin-left: 4px; }
.mpanel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.mpanel__actions .link-arrow { color: var(--rose); }

/* 메뉴별 그림 블록 */
.mpanel[data-mode="tone"] .mpanel__visual { background: var(--rose); color: #fff; }
.mpanel[data-mode="tone"] .lipart__tone { opacity: 1; }
.mpanel[data-mode="tone"] .lipart__shine { opacity: 1; }
.mpanel[data-mode="tone"] .lipart__seam { stroke: rgba(var(--rose-rgb), .4); }
.mpanel[data-mode="dark"] .mpanel__visual { background: var(--cocoa); color: #fff; }
.mpanel[data-mode="dark"] .lipart__dark { opacity: 1; }
.mpanel[data-mode="dark"] .lipart__shine { opacity: .6; }
.mpanel[data-mode="dark"] .lipart__labels { opacity: .85; }
.mpanel[data-mode="dark"] .lipart__seam { stroke: rgba(0, 0, 0, .25); }
.mpanel[data-mode="dark"] .lipart__line { opacity: .45; stroke-width: 1.5; }
.mpanel[data-mode="line"] .mpanel__visual { background: var(--beige); color: var(--rose); }
.mpanel[data-mode="line"] .lipart__line { opacity: 1; animation: draw 1.1s var(--ease); }
.mpanel[data-mode="line"] .lipart__seam { stroke: rgba(var(--rose-rgb), .35); }
.mpanel[data-mode="line"] .mpanel__caption { color: var(--ink); }
.mpanel[data-mode="set"] .mpanel__visual { background: var(--petal); color: var(--rose); }
.mpanel[data-mode="set"] .lipart__fill { opacity: 1; fill: rgba(var(--rose-rgb), .45); }
.mpanel[data-mode="set"] .lipart__line { opacity: 1; animation: draw 1.1s var(--ease); }
.mpanel[data-mode="set"] .mpanel__caption { color: var(--ink); }
@keyframes draw { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }
@media (min-width: 900px) {
  .mpanel { grid-template-columns: 5fr 7fr; }
  .mpanel__visual { min-height: 100%; padding: 36px; }
}

/* ---------- Compare ---------- */
.compare { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.compare summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary p { font-weight: 600; }
.compare summary p span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.compare[open] .compare__btn { background: var(--ink); color: var(--cream); }
.compare__wrap { overflow-x: auto; margin: 22px -24px 12px; padding: 0 24px; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare__table th, .compare__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare__table thead th { font-size: 15px; font-weight: 600; background: var(--petal); }
.compare__table thead th:first-child { background: transparent; }
.compare__table tbody th { font-size: 13px; color: var(--rose); font-weight: 600; white-space: nowrap; width: 120px; }

/* ---------- Recovery (오트 베이지 배경, 포인트: 로즈) ---------- */
#recovery { background: var(--beige); }
.rcontrols { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg button { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--rose); color: #fff; }
.rtimeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 0; margin: 20px 0 0; overflow-x: auto; padding: 10px 0 4px 8px; }
.rstep { position: relative; padding-top: 22px; border-top: 2px solid rgba(var(--rose-rgb), .2); }
.rstep::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--beige); border: 2px solid rgba(var(--rose-rgb), .45); transition: background .2s, border-color .2s; }
.rstep button { text-align: left; padding: 0 12px 6px 0; display: flex; flex-direction: column; gap: 2px; color: var(--muted); transition: color .2s; }
.rstep small { font-family: var(--f-logo); font-size: 12px; }
.rstep b { font-size: 15px; font-weight: 600; }
.rstep.is-done { border-top-color: var(--rose); }
.rstep.is-done::before { background: var(--rose); border-color: var(--rose); }
.rstep.is-active::before { background: #fff; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(var(--rose-rgb), .18); }
.rstep.is-active button { color: var(--ink); }
.rpanel { margin-top: 22px; background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.rpanel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rpanel__period { font-weight: 600; color: #fff; background: var(--rose); padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.rpanel__count, .rpanel__label { font-family: var(--f-logo); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.rpanel__label { color: var(--rose); margin-top: 8px; }
.rpanel__title { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.rpanel__text { color: var(--muted); max-width: 46em; }
.rpanel__tip { display: flex; gap: 10px; margin-top: 6px; padding: 14px 16px; background: var(--petal); border-radius: 12px; font-size: 15px; }
.rpanel__tip > span:first-child { color: var(--rose); font-weight: 600; }
.rdisclaimer { margin-top: 16px; }

/* ---------- Care (아이보리 배경 + 흰 카드, 포인트: 로즈 / 안내 박스: 코코아) ---------- */
#care { background: var(--cream); }
.care { display: grid; gap: 20px; margin-top: 32px; }
.ctabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.ctabs button { padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ctabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--rose); }
.clist { display: grid; gap: 10px; }
.citem { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.citem:hover { border-color: rgba(var(--rose-rgb), .45); }
.citem__box { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(var(--rose-rgb), .5); display: grid; place-items: center; color: transparent; font-size: 13px; margin-top: 1px; transition: background .2s, color .2s; }
.citem b { display: block; font-weight: 600; margin-bottom: 4px; }
.citem span:last-child { color: var(--muted); font-size: 15px; }
.citem[aria-pressed="true"] { background: var(--petal); border-color: transparent; }
.citem[aria-pressed="true"] .citem__box { background: var(--rose); border-color: var(--rose); color: #fff; }
.cprogress { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.cprogress__bar { flex: 1; max-width: 220px; height: 4px; border-radius: 4px; background: var(--petal); overflow: hidden; }
.cprogress__bar i { display: block; height: 100%; width: 0; background: var(--rose); transition: width .4s var(--ease); }
.care__aside { background: var(--cocoa); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; align-self: start; }
.care__star { font-size: 22px; opacity: .7; }
.care__aside h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.care__aside p { opacity: .9; }
.care__note { font-size: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
@media (min-width: 900px) { .care { grid-template-columns: 1.6fr 1fr; gap: 28px; } }

/* ---------- FAQ (연핑크 배경 — 메인 FAQ와 동일) ---------- */
#faq { background: var(--petal); }
/* 가이드 페이지에는 그린을 쓰지 않음: 공통 스타일의 세이지 포인트를 로즈로 */
.page-guide .acc__ico::before, .page-guide .acc__ico::after { background: var(--rose); }
.page-guide .footer__sns a:hover { background: var(--rose); border-color: var(--rose); }
.page-guide .lang button:hover { color: var(--rose); }

/* ---------- Contact (코코아 블록 — 메인 '오시는 길'과 동일) ---------- */
.g-contact__box { background: var(--cocoa); position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.g-contact__box .btn--white { color: var(--cocoa); }
.g-contact__title { font-size: clamp(28px, 4.4vw, 46px); font-weight: 600; line-height: 1.28; letter-spacing: -.03em; }
.g-contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.g-contact__handle { font-family: var(--f-logo); font-size: 14px; opacity: .8; }
.g-contact__mark { position: absolute; right: clamp(20px, 5vw, 64px); bottom: -.18em; font-size: clamp(90px, 16vw, 220px); opacity: .14; pointer-events: none; }

/* =========================================================
   MOBILE — 메뉴 가이드
   ========================================================= */
@media (max-width: 767px) {
  .g-hero__title { font-size: 32px; }
  .g-hero__img { aspect-ratio: 5 / 4; }
  .g-hero__strip span { display: none; }
  .mtab__en { display: none; }
  .mtab { padding: 16px; }
  .mtab__name { font-size: 16px; margin-top: 4px; }
  .mpanel__visual { min-height: 230px; padding: 22px; }
  .mpanel__body { padding: 24px 20px; }
  .mpanel__actions .btn { width: 100%; }
  /* 회복 단계: 가로 스크롤 없이 한 줄에 모두 */
  .rtimeline { grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-left: 6px; }
  .rstep button { padding-right: 6px; }
  .rstep small { font-size: 11px; }
  .rstep b { font-size: 13px; line-height: 1.35; }
  .rpanel { padding: 22px 20px; }
  .ctabs button { padding: 12px 12px; font-size: 15px; }
  .citem { padding: 16px; }
  .g-contact__btns .btn { width: 100%; }
}

/* 관리 가이드 탭이 길어도(영어 등) 화면 밖으로 밀리지 않게 */
.care > * { min-width: 0; }
