/* ==============================================
   오르리갈 정보 — style.css
   올리브그린 + 라임 / 웜화이트 · 다이어트·웰니스 톤
   ============================================== */

/* 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: #1f2417;
  background: #fdfbf3;
  line-height: 1.75;
  -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 {
  --olive:        #55742f;
  --olive-dark:   #3c5320;
  --olive-tint:   #eef3df;
  --lime:         #8fbb1f;
  --lime-deep:    #6f9418;
  --bg:           #fdfbf3;
  --bg-alt:       #f5f2e2;
  --card:         #ffffff;
  --text:         #1f2417;
  --text-sub:     #5c6350;
  --border:       #e6e2cd;
  --radius-sm:    12px;
  --radius:       18px;
  --pill:         999px;
  --max-w:        1120px;
  --sec-pad:      76px;
  --hdr:          62px;
  --heading-font: 'Nanum Gothic', 'Noto Sans KR', sans-serif;
}

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

/* 4. Section typography */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--heading-font);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 44px;
}
.accent { color: var(--olive); }

/* 5. Buttons — pill shape */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-lg { font-size: 16px; padding: 16px 34px; }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-dark); }
.btn-outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive-tint); }
.btn-white { background: #fff; color: var(--olive-dark); font-weight: 800; }
.btn-white:hover { background: #f2f7e6; }
.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: rgba(253, 251, 243, .96);
  backdrop-filter: saturate(140%) blur(6px);
  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;
  gap: 26px;
}
.hdr-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.hdr-logo .logo-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--olive);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hdr-logo .logo-dot span { color: #fff; font-family: var(--heading-font); font-size: 14px; line-height: 1; }
.hdr-logo .logo-text {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
/* 가로 스크롤 칩(chip) 탭 내비게이션 — 모든 화면 크기에서 동일하게 동작 */
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--olive-tint);
  padding: 9px 18px;
  border-radius: var(--pill);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.hdr-nav a:hover { background: #e2ebc9; }
.hdr-nav a.active { background: var(--olive); color: #fff; }

/* 8. Info banner */
.info-banner {
  background: var(--olive-tint);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 9px 24px;
  font-size: 12px;
  color: var(--olive-dark);
  line-height: 1.5;
}

/* 9. Hero */
.hero { padding: 76px 0 64px; text-align: center; }
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--olive-dark);
  background: var(--olive-tint);
  padding: 6px 18px;
  border-radius: var(--pill);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--olive); }
.hero-sub { font-size: clamp(15px, 2vw, 17px); color: var(--text-sub); line-height: 1.75; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 10. Stat strip — 큰 숫자, 카드가 아닌 하나의 표 형태 */
.stat-band { padding: 8px 0 var(--sec-pad); }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 40px;
}
.stat-strip-item { background: var(--card); padding: 24px 14px; text-align: center; }
.stat-num {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--olive);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.stat-label { font-size: 12.5px; color: var(--text-sub); line-height: 1.5; }

/* 11. 핵심 정보 목록 — 카드 그리드 대신 표 형태의 리스트 */
.cards-section { padding: var(--sec-pad) 0; }
.quick-list { border-top: 1px solid var(--border); margin-top: 8px; }
.quick-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.quick-item h3 { font-family: var(--heading-font); font-size: 16.5px; font-weight: 700; color: var(--text); flex: 0 0 168px; }
.quick-item p { font-size: 13.5px; color: var(--text-sub); line-height: 1.65; flex: 1 1 260px; }
.card-link { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--olive-dark); flex-shrink: 0; transition: gap .2s; }
.card-link:hover { gap: 6px; }
.card-link svg { width: 13px; height: 13px; stroke: var(--olive-dark); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* 11-1. 본문 삽입 사진 */
.hero-note { margin-top: 32px; font-size: 13.5px; color: var(--text-sub); line-height: 1.75; max-width: 560px; margin-left: auto; margin-right: auto; }

/* 12. Overview table */
.overview-section { padding: var(--sec-pad) 0; }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.overview-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.overview-table th {
  width: 150px;
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-sub);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
}
.overview-table td { padding: 15px 20px; border-bottom: 1px solid var(--border); color: var(--text); line-height: 1.65; }
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: none; }

/* 13. Mechanism — 가로 스텝 플로우 */
.mechanism-section { background: var(--bg-alt); padding: var(--sec-pad) 0; }
.mech-flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.mech-step {
  flex: 1; max-width: 250px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
}
.mech-step .step-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--lime-deep); margin-bottom: 14px; }
.mech-icon {
  width: 54px; height: 54px;
  background: var(--olive);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.mech-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mech-step h4 { font-family: var(--heading-font); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 7px; line-height: 1.4; }
.mech-step p { font-size: 12.5px; color: var(--text-sub); line-height: 1.65; }
.mech-arrow { flex-shrink: 0; width: 40px; display: flex; align-items: center; justify-content: center; padding-top: 60px; }
.mech-arrow svg { width: 20px; height: 20px; stroke: #c3c9ab; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mech-footnote { margin-top: 34px; text-align: center; font-size: 13px; color: var(--text-sub); }
.mech-footnote strong { color: var(--olive-dark); font-weight: 700; }

/* 14. Bottom CTA */
.bottom-cta { background: var(--olive); padding: var(--sec-pad) 0; text-align: center; color: #fff; }
.bottom-cta h2 { font-family: var(--heading-font); font-size: clamp(22px, 3.6vw, 38px); font-weight: 700; line-height: 1.32; margin-bottom: 14px; }
.bottom-cta .sub { font-size: 15px; opacity: .85; margin-bottom: 32px; line-height: 1.7; }
.bottom-cta .notice { margin-top: 20px; font-size: 12px; opacity: .6; }

/* 15. Footer */
.site-footer { background: #23291a; padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { font-family: var(--heading-font); font-size: 17px; font-weight: 700; color: #fff; }
.footer-disclaimer { font-size: 12px; line-height: 1.85; color: #9aa088; max-width: 720px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #838a70; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #626a4f; }

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

/* 17. Page hero (sub-pages) */
.page-hero { background: var(--bg-alt); padding: 54px 0 46px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.page-hero .lead { font-size: 15px; color: var(--text-sub); line-height: 1.75; max-width: 620px; }

/* 18. Content sections */
.content-sec { padding: 58px 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(--heading-font);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 22px;
}
.content-body { font-size: 15px; color: var(--text-sub); line-height: 1.85; }
.content-body p + p { margin-top: 14px; }
.content-body strong { color: var(--text); font-weight: 700; }

/* 19. Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 24px; border-radius: var(--radius-sm); overflow: hidden; }
.data-table thead th { background: var(--olive); color: #fff; font-weight: 700; padding: 12px 16px; text-align: left; font-size: 13px; }
.data-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text); line-height: 1.65; vertical-align: top; }
.data-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.data-table tbody tr:last-child td { border-bottom: none; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--pill); margin-right: 4px; white-space: nowrap; }
.tag-warn { background: #fbe9c6; color: #7a5a10; }
.tag-info { background: var(--olive-tint); color: var(--olive-dark); }
.tag-stop { background: #fadfda; color: #a63a2a; }

/* 20. Highlight / Disclaimer / Caution boxes — 좌측 보더 없이 배경면으로 구분 */
.highlight-box { background: var(--olive-tint); border-radius: var(--radius); padding: 22px 26px; font-size: 14px; color: var(--text); line-height: 1.85; margin-top: 24px; }
.highlight-box strong { color: var(--olive-dark); }
.disclaimer-box { background: #fbf3df; border-radius: var(--radius); padding: 20px 24px; font-size: 13px; color: #6b5527; line-height: 1.85; margin-top: 24px; }
.caution-box { background: #fbe6e1; border-radius: var(--radius); padding: 20px 24px; font-size: 13px; color: #7d2f21; line-height: 1.85; margin-top: 24px; }

/* 21. Steps (세로) */
.step-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--olive); color: #fff;
  font-family: var(--heading-font); font-size: 14px; 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: 4px; }
.step-content p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* 23. Timeline (구매 가이드) */
.timeline-list { display: flex; flex-direction: column; margin-top: 32px; }
.tl-item { display: flex; gap: 20px; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-aside { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 42px; }
.tl-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive); color: #fff;
  font-family: var(--heading-font); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tl-line { flex: 1; width: 2px; background: var(--border); margin-top: 8px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { padding-top: 7px; }
.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(--olive-dark); background: var(--olive-tint); padding: 3px 12px; border-radius: var(--pill); margin-bottom: 6px; }

/* 24. FAQ accordion */
.faq-list { margin-top: 32px; }
.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(--text-sub); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; width: 18px; height: 18px; }
.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.85; }
.faq-a-inner { padding-bottom: 19px; }
.faq-item.open .faq-a { max-height: 800px; }

/* 25. CTA card */
.cta-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 38px 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 48px;
}
.cta-card-text h3 { font-family: var(--heading-font); font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.cta-card-text p { font-size: 14px; color: var(--text-sub); line-height: 1.65; }
.cta-notice { font-size: 12px; color: var(--text-sub); margin-top: 8px; line-height: 1.5; }
.cta-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* 26. 쇼핑몰 CTA 카드 (buying.html) */
.shop-cta-card {
  background: var(--card);
  border: 2px solid var(--olive);
  border-radius: 20px;
  padding: 38px 42px;
  margin-top: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.shop-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--olive); margin-bottom: 8px; }
.shop-name { font-family: var(--heading-font); font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.shop-desc { font-size: 14px; color: var(--text-sub); line-height: 1.65; }
.shop-notice { font-size: 12px; color: var(--text-sub); margin-top: 8px; line-height: 1.5; }
.shop-cta-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* 27. 가로 스크롤 테이블 래퍼 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); margin-top: 24px; }
.table-scroll .data-table { margin-top: 0; min-width: 560px; }

/* 29. Responsive */
@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .mech-flow { flex-direction: column; align-items: center; }
  .mech-arrow { width: auto; padding-top: 0; padding: 6px 0; }
  .mech-arrow svg { transform: rotate(90deg); }
  .mech-step { max-width: 100%; width: 100%; }
  .cta-card, .shop-cta-card { flex-direction: column; text-align: center; }
  .cta-btns, .shop-cta-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .quick-item h3 { flex-basis: 100%; }
}
@media (max-width: 768px) {
  :root { --sec-pad: 52px; --hdr: 56px; }
  .hdr-nav a { font-size: 13px; padding: 8px 15px; }
  .overview-table th { width: 100px; font-size: 13px; }
  .overview-table td { font-size: 13px; }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-card, .shop-cta-card { padding: 26px 22px; }
  .data-table { font-size: 13px; }
  .data-table thead th, .data-table tbody td { padding: 10px 12px; }
}
