/* ==============================================
   프로기노바 케어 — style.css
   팔레트: 더스티로즈/테라코타 + 크림베이지
   서체: Noto Sans KR 단일 서체 (제목·본문 모두) — 세리프 미사용
   ============================================== */

/* 1. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: #352a25;
  background: #fbf7f1;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* 2. Tokens */
:root {
  --primary:       #a15b4f;
  --primary-dark:  #7e463c;
  --primary-tint:  #f2e2da;
  --bg:            #fbf7f1;
  --bg-alt:        #f2ebe1;
  --text:          #352a25;
  --text-sub:      #6c5c53;
  --border:        #e3d5c7;
  --radius:        6px;
  --max-w:         1080px;
  --sec-pad:       76px;
  --hdr:           68px;
  --font-head:     'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* 3. Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 740px; }
.center { text-align: center; }

/* 4. Section typography */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 44px;
}
.accent { color: var(--primary); }

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { font-size: 15px; padding: 15px 30px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-tint); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: #fdf3ee; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* 6. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--hdr);
  background: #fbf7f1;
  border-bottom: 1px solid var(--border);
}
.hdr-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hdr-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.hdr-mark {
  width: 28px; height: 28px; flex-shrink: 0;
}
.hdr-logo .logo-text {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
}
.hdr-nav a:hover, .hdr-nav a.active { color: var(--primary); }
.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  flex-shrink: 0;
  white-space: nowrap;
}
.hdr-cta:hover { background: var(--primary-dark); }

/* 7. 우측 고정 세로 탭 (쇼핑몰 바로가기) — 수수한 톤, 그림자·모션 없음 */
.side-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  border-right: none;
  padding: 16px 8px;
  border-radius: 4px 0 0 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.side-tab:hover { color: var(--primary); }
.side-tab svg { flex-shrink: 0; }

/* 8. Info banner */
.info-banner {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 9px 24px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 9. Hero — 좌측 정렬 레이아웃 */
.hero { padding: 76px 0 64px; }
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 5px 15px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
  max-width: 640px;
}
.hero-sub {
  font-size: clamp(14.5px, 1.7vw, 16px);
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 600px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat span { font-size: 11.5px; color: var(--text-sub); line-height: 1.4; }

/* 10. 핵심 정보 — 텍스트 목록 (카드 미사용) */
.quicklinks-section { padding: var(--sec-pad) 0; }
.quicklink-list { border-top: 1px solid var(--border); margin-top: 8px; }
.quicklink-list li { border-bottom: 1px solid var(--border); }
.quicklink-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 2px;
}
.ql-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  width: 22px;
}
.ql-text { flex: 1; }
.ql-text strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ql-text p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.ql-arrow { flex-shrink: 0; align-self: center; }
.ql-arrow svg { width: 14px; height: 14px; stroke: var(--text-sub); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.quicklink-list a:hover .ql-arrow svg { transform: translateX(3px); }
.quicklink-list a:hover .ql-text strong { text-decoration: underline; }

/* 11. Overview table */
.overview-section { padding: var(--sec-pad) 0; }
.table-wrap { border-top: 2px solid var(--primary); border-bottom: 1px solid var(--border); }
.overview-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.overview-table th {
  width: 168px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
  background: var(--bg-alt);
}
.overview-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  line-height: 1.72;
}
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: none; }

/* 12. Mechanism (호르몬 균형 원리 — 가로 타임라인 재사용) */
.mechanism-section { padding: var(--sec-pad) 0; background: var(--bg-alt); }
.mech-footnote {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.mech-footnote strong { color: var(--primary); font-weight: 700; }

/* 13. Bottom CTA */
.bottom-cta { background: var(--primary); padding: var(--sec-pad) 0; color: #fff; }
.bottom-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(21px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}
.bottom-cta .sub { font-size: 14.5px; opacity: .88; margin-bottom: 30px; line-height: 1.75; }
.bottom-cta .notice { margin-top: 18px; font-size: 12px; opacity: .68; }

/* 14. Footer */
.site-footer { background: #2c211c; padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #f2e2da; }
.footer-disclaimer { font-size: 12px; line-height: 1.9; color: #a99384; max-width: 720px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #938073; }
.footer-links a:hover, .footer-links a.active { color: #fff; }
.footer-copy { font-size: 12px; color: #6e5d53; }

/* 15. Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-sub);
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-sub); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }

/* 16. Page hero (sub-pages) */
.page-hero { background: var(--bg-alt); padding: 50px 0 42px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(25px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 14px;
}
.page-hero .lead { font-size: 14.5px; color: var(--text-sub); line-height: 1.8; max-width: 600px; }

/* 17. Content sections */
.content-sec { padding: 54px 0; }
.content-sec + .content-sec { border-top: 1px solid var(--border); }
.content-sec.bg-alt { background: var(--bg-alt); border-top: none; }
.content-h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 20px;
}
.content-body { font-size: 15px; color: var(--text-sub); line-height: 1.9; }
.content-body p + p { margin-top: 14px; }
.content-body strong { color: var(--text); font-weight: 700; }

/* 18. Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 22px; }
.data-table thead th {
  background: var(--bg-alt);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 2px solid var(--primary);
}
.data-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  line-height: 1.7;
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  margin-right: 4px;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.tag-warn { color: #8a6a1f; }
.tag-info { color: var(--primary); }
.tag-stop { color: #a13c33; }

/* 19. Highlight / Disclaimer / Caution boxes (no left border bars — full outline only) */
.highlight-box {
  background: var(--primary-tint);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.85;
  margin-top: 24px;
}
.highlight-box strong { color: var(--primary-dark); }
.disclaimer-box {
  background: #fbf7f1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-top: 24px;
}
.disclaimer-box strong { color: var(--text); }
.caution-box {
  background: #fbeeec;
  border: 1px solid #e2b3a9;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 13px;
  color: #7a3428;
  line-height: 1.9;
  margin-top: 24px;
}
.caution-box strong { color: #7a3428; }

/* 20. Steps */
.step-list { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; }
.step-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-content h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-content p { font-size: 13.5px; color: var(--text-sub); line-height: 1.75; }

/* 21. Vertical timeline (구매 가이드 통관 흐름) */
.timeline-list { display: flex; flex-direction: column; margin-top: 30px; }
.tl-item { display: flex; gap: 20px; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-aside { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 40px; }
.tl-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tl-line { flex: 1; width: 1px; background: var(--border); margin-top: 8px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { padding-top: 6px; }
.tl-body h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tl-body p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
.tl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 7px;
}

/* 21b. Horizontal timeline (호르몬요법 진행 단계) */
.htl-wrap { margin-top: 32px; overflow-x: auto; padding-bottom: 6px; }
.htl { display: flex; align-items: stretch; min-width: 640px; }
.htl-step { flex: 1; position: relative; padding: 0 14px 0 0; }
.htl-step:last-child { padding-right: 0; }
.htl-top { display: flex; align-items: center; margin-bottom: 16px; }
.htl-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.htl-track { flex: 1; height: 1px; background: var(--border); }
.htl-step:last-child .htl-track { display: none; }
.htl-body h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.htl-body p { font-size: 12.5px; color: var(--text-sub); line-height: 1.7; }
.htl-phase {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* 22. FAQ accordion */
.faq-list { margin-top: 30px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: none; border: none; cursor: pointer;
  text-align: left;
  line-height: 1.5;
}
.faq-q svg {
  flex-shrink: 0;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s;
  width: 17px; height: 17px;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.faq-a-inner { padding-bottom: 19px; }
.faq-item.open .faq-a { max-height: 800px; }

/* 23. CTA — 카드 없이 텍스트 + 상단 구분선만 사용 */
.cta-card {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 46px;
}
.cta-card-text h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 7px; line-height: 1.4; }
.cta-card-text p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.cta-notice { font-size: 12px; color: var(--text-sub); margin-top: 8px; margin-bottom: 20px; line-height: 1.6; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 24. 쇼핑몰 안내 (purchase-guide.html) — 카드 없이 텍스트 구성 */
.shop-cta-card {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  margin-top: 30px;
}
.shop-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 9px; }
.shop-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.shop-desc { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.shop-notice { font-size: 12px; color: var(--text-sub); margin-top: 9px; margin-bottom: 18px; line-height: 1.6; }
.shop-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 25. 가로 스크롤 테이블 래퍼 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 22px; }
.table-scroll .data-table { margin-top: 0; min-width: 540px; }

/* 27. Reveal-on-scroll — 아주 미묘한 페이드만 적용 (화려한 모션 지양) */
.reveal { opacity: 0; transition: opacity .35s ease; }
.reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* 28. Responsive */
@media (max-width: 768px) {
  :root { --sec-pad: 50px; --hdr: 56px; }
  .hero-stats { gap: 8px 20px; }
  .overview-table th { width: 108px; font-size: 13px; }
  .overview-table td { font-size: 13px; }
  .htl-wrap { margin-top: 24px; }
  .side-tab { font-size: 11px; padding: 13px 6px; }
  .quicklink-list a { gap: 12px; padding: 18px 2px; }
  .hdr-nav { gap: 14px; }
  .hdr-nav a { font-size: 13px; }
  .hdr-cta { padding: 8px 12px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .data-table { font-size: 13px; }
  .data-table thead th, .data-table tbody td { padding: 10px 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .side-tab { font-size: 10.5px; padding: 11px 5px; }
  .cta-btns .btn, .shop-cta-btns .btn { width: 100%; justify-content: center; }
}
