/* Best Health IQ — COA (Certificate of Analysis) page */
.bhiq-coa {
  --coa-navy: #16233A;
  --coa-navy-2: #1B2C4A;
  --coa-blue: var(--bhiq-blue, #3375D0);
  --coa-blue-2: #3A6FCC;
  --coa-pink: #CC3366;
  --coa-panel: #F4F6FA;
  --coa-ink: var(--bhiq-ink, #16233A);
  --coa-muted: #5B6578;
  --coa-line: #E3E8F0;
  --coa-green: #A8C98A;
  --coa-serif: var(--bhiq-serif, 'Noto Serif', Georgia, serif);
  --coa-ui: var(--bhiq-ui, 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif);
  font-family: var(--coa-ui);
  color: var(--coa-ink);
  overflow-x: clip;
}
.bhiq-coa *, .bhiq-coa *::before, .bhiq-coa *::after { box-sizing: border-box; }
.bhiq-coa img { max-width: 100%; height: auto; display: block; }
:where(.bhiq-coa) :where(h1, h2, h3, h4, p) { margin: 0; }
.bhiq-coa__wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Hero ---------- */
.bhiq-coa__hero { min-height: 620px; display: flex; align-items: center; background: var(--coa-navy); color: #fff; padding: 96px 0 80px; }
.bhiq-coa__hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bhiq-coa__crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; font-size: 14px; color: rgba(255,255,255,.82); }
.bhiq-coa__crumbs a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bhiq-coa__crumbs a:hover { text-decoration: underline; }
.bhiq-coa__pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.bhiq-coa__pill { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.bhiq-coa__pill--green { background: linear-gradient(90deg, #4F6A3D, #8BA870); color: #fff; }
.bhiq-coa__pill--grey { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.bhiq-coa__hero h1 { font-family: var(--coa-serif); font-weight: 700; font-size: 60px; line-height: 1.1; color: #fff; letter-spacing: -.01em; }
.bhiq-coa__hero-sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 620px; }
.bhiq-coa__glass { background: rgba(22,35,58,.55); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 30px 30px 26px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.bhiq-coa__glass-title { font-family: var(--coa-serif); font-weight: 700; font-size: 22px; margin-bottom: 18px; color: #fff; }
.bhiq-coa__glass ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bhiq-coa__glass li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.45; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.bhiq-coa__glass li:last-child { border-bottom: 0; padding-bottom: 0; }
.bhiq-coa__glass li strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.bhiq-coa__tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #4F6A3D, #8BA870); position: relative; margin-top: 2px; }
.bhiq-coa__tick::after { content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bhiq-coa__glass-note { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- Shared section ---------- */
.bhiq-coa__sec { padding: 96px 0; background: #fff; }
.bhiq-coa__sec--panel { background: var(--coa-panel); }
.bhiq-coa__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coa-blue); margin-bottom: 12px; }
.bhiq-coa__h2 { font-family: var(--coa-serif); font-weight: 700; font-size: 40px; line-height: 1.18; color: var(--coa-ink); }
.bhiq-coa__h3 { font-family: var(--coa-serif); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--coa-ink); }
.bhiq-coa__lead { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--coa-muted); max-width: 1000px; }
.bhiq-coa__text { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--coa-muted); }
.bhiq-coa__text strong { color: var(--coa-ink); }
.bhiq-coa__cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.bhiq-coa__card { background: #fff; border: 1px solid var(--coa-line); border-radius: 16px; padding: 30px; box-shadow: 0 6px 24px rgba(22,35,58,.05); }
.bhiq-coa__card h3 { font-family: var(--coa-serif); font-weight: 700; font-size: 21px; margin: 18px 0 10px; color: var(--coa-ink); }
.bhiq-coa__card p { font-size: 15px; line-height: 1.65; color: var(--coa-muted); }
.bhiq-coa__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #E8F0FB; color: var(--coa-blue); }
.bhiq-coa__icon svg { width: 22px; height: 22px; }

/* ---------- Specimen ---------- */
.bhiq-coa__spec { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.bhiq-coa__spec-side { position: sticky; top: 100px; }
.bhiq-coa__spec-side .bhiq-coa__h2 { font-size: 40px; }
.bhiq-coa__index { margin-top: 30px; background: #fff; border-radius: 14px; padding: 22px 24px; border: 1px solid var(--coa-line); }
.bhiq-coa__index h3 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A93A4; margin-bottom: 10px; font-family: var(--coa-ui); }
.bhiq-coa__index ol { list-style: none; margin: 0; padding: 0; }
.bhiq-coa__index-btn { all: unset; box-sizing: border-box; display: flex; gap: 12px; align-items: baseline; width: 100%; padding: 5px 0; font-size: 14.5px; color: var(--coa-ink); cursor: pointer; line-height: 1.4; }
.bhiq-coa__index-btn span { color: var(--coa-blue); font-weight: 600; min-width: 18px; font-size: 13px; }
.bhiq-coa__index-btn:hover { color: var(--coa-blue); }
.bhiq-coa__index-btn:focus-visible { outline: 2px solid var(--coa-blue); outline-offset: 2px; border-radius: 4px; }
.bhiq-coa__doc-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; }
.bhiq-coa__doc-head ~ .bhiq-coa__doc-head { margin-top: 44px; }
.bhiq-coa__doc-head h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coa-ink); font-family: var(--coa-ui); }
.bhiq-coa__doc-head span { font-size: 13px; font-weight: 600; color: var(--coa-blue); }
.bhiq-coa__doc { position: relative; margin: 0; background: #fff; border-radius: 12px; padding: 0; box-shadow: 0 10px 34px rgba(22,35,58,.08); border: 1px solid var(--coa-line); }
.bhiq-coa__doc img { border-radius: 12px; width: 100%; }
.bhiq-coa__spot { position: absolute; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--coa-blue); color: #fff; font: 600 12px/1 var(--coa-ui); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 0 0 0 rgba(51,117,208,.45), 0 4px 10px rgba(22,35,58,.25); animation: bhiq-coa-pulse 2.4s ease-out infinite; }
.bhiq-coa__spot[aria-expanded="true"] { background: var(--coa-navy); }
.bhiq-coa__spot:focus-visible { outline: 3px solid var(--coa-pink); outline-offset: 2px; }
@keyframes bhiq-coa-pulse { 0% { box-shadow: 0 0 0 0 rgba(51,117,208,.45), 0 4px 10px rgba(22,35,58,.25); } 70% { box-shadow: 0 0 0 10px rgba(51,117,208,0), 0 4px 10px rgba(22,35,58,.25); } 100% { box-shadow: 0 0 0 0 rgba(51,117,208,0), 0 4px 10px rgba(22,35,58,.25); } }
@media (prefers-reduced-motion: reduce) { .bhiq-coa__spot { animation: none; } }
.bhiq-coa__tip { position: absolute; z-index: 5; width: 320px; top: var(--y); background: var(--coa-navy); color: #fff; border-radius: 14px; padding: 18px 20px; font-size: 14px; line-height: 1.55; box-shadow: 0 18px 40px rgba(10,18,32,.35); }
.bhiq-coa__tip[hidden] { display: none; }
.bhiq-coa__tip--l { left: calc(var(--x) + 40px); }
.bhiq-coa__tip--r { right: calc(100% - var(--x) + 10px); }
.bhiq-coa__tip-stat { font-family: var(--coa-serif); font-weight: 700; font-size: 26px; line-height: 1; color: var(--coa-green); margin-bottom: 4px !important; }
.bhiq-coa__tip-title { font-family: var(--coa-serif); font-weight: 700; font-size: 17px; color: #fff; margin-bottom: 8px !important; }
.bhiq-coa__tip-body { color: rgba(247,246,240,.85); margin-bottom: 12px !important; }
.bhiq-coa__tip-detail { padding-top: 10px; border-top: 1px solid rgba(247,246,240,.18); font-size: 12.5px; color: rgba(247,246,240,.7); }
.bhiq-coa__tip-detail strong, .bhiq-coa__mcard-detail strong { color: var(--coa-green); letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.bhiq-coa__note { margin-top: 26px; font-size: 13.5px; line-height: 1.6; color: var(--coa-muted); }
.bhiq-coa__meaning { display: none; }

/* ---------- Scorecard ---------- */
.bhiq-coa__score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 40px 0 56px; }
.bhiq-coa__score-cell { background: var(--coa-panel); border-radius: 12px; padding: 22px 24px; }
.bhiq-coa__score-label { font-size: 12.5px; color: #8A93A4; font-weight: 500; }
.bhiq-coa__score-value { font-family: var(--coa-serif); font-weight: 700; font-size: 22px; margin: 6px 0 8px !important; color: var(--coa-ink); }
.bhiq-coa__score-spec { display: inline-block; font-size: 12px; font-weight: 600; color: var(--coa-blue); background: #E8F0FB; padding: 3px 10px; border-radius: 999px; }
.bhiq-coa__terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.bhiq-coa__terms > div { border-left: 3px solid #D5E2F5; padding-left: 16px; }
.bhiq-coa__terms h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; font-family: var(--coa-ui); }
.bhiq-coa__terms p { font-size: 13.5px; line-height: 1.6; color: var(--coa-muted); }

/* ---------- Purity ---------- */
.bhiq-coa__purity { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bhiq-coa__chart { margin: 0; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 10px 34px rgba(22,35,58,.06); }
.bhiq-coa__chart figcaption { margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--coa-muted); }
.bhiq-coa__formula { margin-top: 26px; border-radius: 14px; padding: 24px 26px; color: #fff; background: linear-gradient(180deg, var(--coa-navy) 0%, #24477F 55%, var(--coa-blue-2) 100%); box-shadow: 0 14px 30px rgba(22,35,58,.2); }
.bhiq-coa__formula-eq { font-weight: 600; font-size: 16px; line-height: 1.5; margin-bottom: 12px !important; }
.bhiq-coa__formula p:not(.bhiq-coa__formula-eq) { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.82); }

/* ---------- Full panel ---------- */
.bhiq-coa__card--panel h3 { margin-bottom: 18px; }
.bhiq-coa__test { padding: 14px 0; border-top: 1px solid var(--coa-line); }
.bhiq-coa__test h4 { font-size: 15px; font-weight: 600; color: var(--coa-ink); margin-bottom: 4px; }
.bhiq-coa__test p { font-size: 14px; line-height: 1.55; }
.bhiq-coa__test .bhiq-coa__test-method { color: var(--coa-blue); font-size: 13px; font-weight: 500; margin-top: 4px; }

/* ---------- Compare ---------- */
.bhiq-coa__compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.bhiq-coa__cmp { border-radius: 18px; padding: 34px 34px 30px; }
.bhiq-coa__cmp h3 { font-family: var(--coa-serif); font-weight: 700; font-size: 24px; }
.bhiq-coa__cmp-sub { margin: 6px 0 20px !important; font-size: 14px; }
.bhiq-coa__cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bhiq-coa__cmp li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; }
.bhiq-coa__cmp li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bhiq-coa__cmp em { font-style: normal; font-weight: 400; }
.bhiq-coa__cmp--basic { background: #fff; border: 1px solid var(--coa-line); color: var(--coa-ink); }
.bhiq-coa__cmp--basic .bhiq-coa__cmp-sub { color: #8A93A4; }
.bhiq-coa__cmp--basic li::before { color: #8A93A4; }
.bhiq-coa__cmp--basic em { color: #9AA3B2; }
.bhiq-coa__cmp--full { background: linear-gradient(180deg, var(--coa-navy) 0%, #24477F 50%, var(--coa-blue-2) 100%); color: #fff; box-shadow: 0 18px 40px rgba(22,35,58,.22); }
.bhiq-coa__cmp--full .bhiq-coa__cmp-sub { color: rgba(255,255,255,.7); }
.bhiq-coa__cmp--full li::before { color: var(--coa-green); }
.bhiq-coa__cmp--full em { color: var(--coa-green); }

/* ---------- Traceability ---------- */
.bhiq-coa__steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.bhiq-coa__steps li { border-top: 3px solid #D5E2F5; padding-top: 22px; }
.bhiq-coa__step-n { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--coa-blue); color: #fff; font-size: 12px; font-weight: 600; }
.bhiq-coa__steps h3 { font-family: var(--coa-serif); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 14px 0 8px; }
.bhiq-coa__steps p { font-size: 14px; line-height: 1.6; color: var(--coa-muted); }

/* ---------- FAQ ---------- */
.bhiq-coa__faq-wrap { text-align: center; }
.bhiq-coa__faq-wrap .bhiq-coa__lead { margin-left: auto; margin-right: auto; }
.bhiq-coa__faq { max-width: 820px; margin: 40px auto 0; text-align: left; display: grid; gap: 12px; }
.bhiq-coa__faq-item { background: var(--coa-panel); border-radius: 12px; border: 1px solid transparent; transition: border-color .2s; }
.bhiq-coa__faq-item.is-open { border-color: #D5E2F5; background: #F7F9FC; }
.bhiq-coa__faq-item h3 { font-size: inherit; }
.bhiq-coa__faq-btn { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--coa-ui); font-size: 15.5px; font-weight: 600; color: var(--coa-ink); }
.bhiq-coa__faq-btn svg { flex: 0 0 auto; color: var(--coa-blue); transition: transform .2s; }
.bhiq-coa__faq-btn[aria-expanded="true"] { color: var(--coa-blue); }
.bhiq-coa__faq-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bhiq-coa__faq-btn:focus-visible { outline: 2px solid var(--coa-blue); outline-offset: 2px; border-radius: 12px; }
.bhiq-coa__faq-a { padding: 0 22px 20px; }
.bhiq-coa__faq-a p { font-size: 14.5px; line-height: 1.7; color: var(--coa-muted); }

/* ---------- CTA ---------- */
.bhiq-coa__sec--cta { padding-top: 40px; }
.bhiq-coa__cta { border-radius: 24px; padding: 64px 40px; text-align: center; color: #fff; background: linear-gradient(180deg, #1B2A47 0%, #24477F 50%, var(--coa-blue-2) 100%); box-shadow: 0 20px 44px rgba(22,35,58,.2); }
.bhiq-coa__cta h2 { font-family: var(--coa-serif); font-weight: 700; font-size: 44px; color: #fff; }
.bhiq-coa__cta p { margin: 14px auto 0; max-width: 600px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.88); }
.bhiq-coa__cta-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.bhiq-coa__btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.bhiq-coa__btn:hover { transform: translateY(-1px); }
.bhiq-coa__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bhiq-coa__btn--dark { background: var(--coa-navy); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.bhiq-coa__btn--dark::after { content: '→'; }
.bhiq-coa__btn--light { background: #fff; color: var(--coa-navy); }
.bhiq-coa__disclaimer { margin: 26px auto 0; max-width: 1100px; text-align: center; font-size: 12.5px; line-height: 1.6; color: #8A93A4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bhiq-coa__spec { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
  .bhiq-coa__hero h1 { font-size: 50px; }
}
@media (max-width: 900px) {
  .bhiq-coa__wrap { padding: 0 24px; }
  .bhiq-coa__hero-grid, .bhiq-coa__purity, .bhiq-coa__compare { grid-template-columns: 1fr; }
  .bhiq-coa__cards3 { grid-template-columns: 1fr; }
  .bhiq-coa__spec { grid-template-columns: 1fr; }
  .bhiq-coa__spec-side { position: static; }
  .bhiq-coa__score { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhiq-coa__terms, .bhiq-coa__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bhiq-coa__wrap { padding: 0 20px; }
  .bhiq-coa__hero { min-height: 0; padding: 72px 0 56px; }
  .bhiq-coa__hero-grid { gap: 32px; }
  .bhiq-coa__hero h1 { font-size: 36px; }
  .bhiq-coa__hero-sub { font-size: 16px; }
  .bhiq-coa__glass { padding: 24px 22px; }
  .bhiq-coa__sec { padding: 64px 0; }
  .bhiq-coa__h2, .bhiq-coa__spec-side .bhiq-coa__h2 { font-size: 30px; }
  .bhiq-coa__lead { font-size: 15.5px; }
  .bhiq-coa__index { display: none; }
  .bhiq-coa__spot { width: 22px; height: 22px; font-size: 10px; border-width: 1.5px; }
  .bhiq-coa__tip, .bhiq-coa__tip--l, .bhiq-coa__tip--r { left: 8px; right: 8px; width: auto; top: calc(var(--y) + 28px); }
  .bhiq-coa__meaning { display: grid; gap: 14px; margin-top: 40px; }
  .bhiq-coa__meaning > .bhiq-coa__h3 { margin-bottom: 6px; }
  .bhiq-coa__mcard { background: #fff; border-radius: 14px; border: 1px solid var(--coa-line); padding: 22px; }
  .bhiq-coa__mcard .bhiq-coa__mcard-stat { font-family: var(--coa-serif); font-weight: 700; font-size: 22px; color: var(--coa-blue); }
  .bhiq-coa__mcard h3 { font-family: var(--coa-serif); font-weight: 700; font-size: 17px; margin: 6px 0 8px; }
  .bhiq-coa__mcard p { font-size: 14px; line-height: 1.6; color: var(--coa-muted); }
  .bhiq-coa__mcard-detail { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--coa-line); font-size: 13px !important; }
  .bhiq-coa__mcard-detail strong { color: var(--coa-blue); }
  .bhiq-coa__score { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 40px; }
  .bhiq-coa__score-cell { padding: 16px 14px; }
  .bhiq-coa__score-value { font-size: 17px; }
  .bhiq-coa__score-spec { font-size: 11px; padding: 2px 8px; }
  .bhiq-coa__card { padding: 24px 22px; }
  .bhiq-coa__mcard { padding: 18px 18px; }
  .bhiq-coa__terms, .bhiq-coa__steps { grid-template-columns: 1fr; }
  .bhiq-coa__cmp { padding: 26px 22px; }
  .bhiq-coa__chart { padding: 16px; }
  .bhiq-coa__cta { padding: 44px 22px; border-radius: 20px; }
  .bhiq-coa__cta h2 { font-size: 32px; }
  .bhiq-coa__btn { width: 100%; justify-content: center; }
  .bhiq-coa__faq-btn { padding: 16px 18px; font-size: 15px; }
}
