@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');

/*
  참농비료 — 시인성 우선 설계
  주 사용자는 시설재배 농가(고령층). 홈가드닝은 스마트스토어로 분기시킨다.
  · 본문 20px / 버튼 21px / 터치 타깃 60px 이상
  · 보조 텍스트도 대비 7:1 이상 (WCAG AAA)
  · 모바일 하단 전화 고정 바
*/

:root {
  --ink: #101c14;
  --forest: #1b3b2b;
  --moss: #2f5a41;
  --gold: #a8842f;        /* 크림 위 대비 4.6:1 — 큰 글씨/테두리 전용 */
  --gold-on-dark: #e0c489;/* 어두운 배경 위 대비 9.2:1 */
  --cream: #faf8f3;
  --paper: #fff;
  --muted: #4a5850;       /* 크림 위 대비 8.1:1 */
  --muted-dark: #cfd8d2;  /* 짙은 배경 위 대비 9.6:1 */
  --line: #d5cebc;

  --wrap: 1180px;
  --gap: clamp(72px, 9vw, 128px);
  --tap: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 20px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3 { line-height: 1.28; letter-spacing: -0.035em; font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- 헤더 ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 82px; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--forest); color: var(--gold-on-dark);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; line-height: 1.15; text-align: center;
}
.brand-name { display: block; font-weight: 800; font-size: 23px; letter-spacing: -0.04em; }
.brand-sub { display: block; font-size: 12px; color: var(--muted); letter-spacing: .18em; font-weight: 600; }

.nav { margin-left: auto; display: flex; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 19px; font-weight: 700;
  display: grid; place-items: center; min-height: var(--tap);
  border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--gold); }

.head-tel {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: var(--tap); padding: 0 24px;
  background: var(--forest); color: #fff;
  font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
  text-decoration: none; border-radius: 4px; white-space: nowrap;
}
.head-tel:hover { background: var(--moss); }

/* ---------- 입구 분기 ---------- */

.gateway { background: var(--paper); border-bottom: 2px solid var(--line); padding: 22px 0; }
.gateway .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}
.gateway p { font-size: 19px; font-weight: 600; }
.gateway a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  border: 2px solid var(--forest); border-radius: 4px;
  font-size: 19px; font-weight: 800; text-decoration: none;
  margin-left: auto;
}
.gateway a:hover { background: var(--forest); color: #fff; }

/* ---------- 히어로 ---------- */

.hero {
  background: var(--forest);
  color: #fff;
  padding: clamp(64px, 9vw, 118px) 0 clamp(60px, 8vw, 100px);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70ch 50ch at 82% 6%, rgba(168,132,47,.22), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-on-dark); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--gold-on-dark); }

.hero h1 {
  font-size: clamp(36px, 5.2vw, 66px);
  letter-spacing: -0.045em; max-width: 18ch;
}
.hero h1 em { font-style: normal; color: var(--gold-on-dark); }

.hero-lead {
  margin-top: 28px; max-width: 44ch;
  font-size: clamp(19px, 1.7vw, 23px);
  color: #fff; line-height: 1.78;
}

.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 12px 32px; border-radius: 4px;
  font-size: 21px; font-weight: 800; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  font-family: inherit; transition: .15s ease;
}
.btn-gold { background: var(--gold-on-dark); color: #1a1405; }
.btn-gold:hover { background: #eed7a8; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-line { border-color: var(--forest); color: var(--forest); background: var(--paper); }
.btn-line:hover { background: var(--forest); color: #fff; }
.btn-big { font-size: 23px; min-height: 68px; padding-inline: 40px; }

/* 히어로 근거 스트립 */
.hero-facts {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px;
  border-top: 2px solid rgba(255,255,255,.28);
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.hero-facts dt {
  font-size: 16px; font-weight: 700; color: var(--gold-on-dark); margin-bottom: 8px;
}
.hero-facts dd { margin: 0; font-size: 17px; color: var(--muted-dark); line-height: 1.6; }
.hero-facts dd b { display: block; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 4px; }

/* ---------- 섹션 공통 ---------- */

section { padding: var(--gap) 0; }
.sec-head { max-width: 56ch; margin-bottom: clamp(40px, 5vw, 58px); }
.sec-label {
  display: block; font-size: 18px; font-weight: 800;
  color: var(--gold); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 3.5vw, 44px); }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 20px; line-height: 1.8; }

/* ---------- 진단 ---------- */

.diagnose { background: var(--paper); border-block: 2px solid var(--line); }

.symptom-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.symptom {
  display: flex; align-items: center; gap: 18px;
  min-height: 104px; padding: 22px 26px;
  background: var(--cream); border: 2px solid var(--line);
  border-radius: 4px; text-decoration: none; transition: .15s ease;
}
.symptom:hover { border-color: var(--forest); background: #fff; }
.symptom-ico {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest); color: var(--gold-on-dark);
  display: grid; place-items: center; font-size: 20px; font-weight: 800;
}
.symptom b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.025em; }
.symptom span span { display: block; margin-top: 4px; font-size: 17px; color: var(--muted); }

.diagnose-note {
  margin-top: 36px; padding: 26px 30px;
  border-left: 5px solid var(--gold);
  background: var(--cream); border-radius: 0 4px 4px 0;
  font-size: 19px; color: var(--ink); line-height: 1.8;
}
.diagnose-note b { font-weight: 800; }

/* ---------- 2단 ---------- */

.split {
  display: grid; gap: clamp(40px, 5vw, 80px);
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: start;
}

.reg-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.reg-list li {
  display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 2px solid var(--line);
}
.reg-list b { font-size: 20px; font-weight: 800; min-width: 12ch; }
.reg-list code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 17px; font-weight: 600; color: var(--moss);
}
.reg-list span { margin-left: auto; font-size: 17px; color: var(--muted); }

/* ---------- 소싱 ---------- */

.sourcing { background: var(--ink); color: #fff; }
.sourcing .sec-head h2 { color: #fff; }
.sourcing .sec-head p { color: var(--muted-dark); }
.sourcing .sec-label { color: var(--gold-on-dark); }

.origin-grid {
  display: grid; gap: 2px; background: rgba(255,255,255,.22);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border: 2px solid rgba(255,255,255,.22);
}
.origin { background: var(--ink); padding: 32px 26px 30px; }
.origin-cc { font-size: 16px; font-weight: 800; letter-spacing: .14em; color: var(--gold-on-dark); margin-bottom: 12px; }
.origin b { display: block; font-size: 25px; font-weight: 800; letter-spacing: -0.03em; }
.origin p { margin-top: 10px; font-size: 17.5px; color: var(--muted-dark); line-height: 1.7; }

/* ---------- 품목 ---------- */

.prod-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.prod {
  background: var(--paper); border: 2px solid var(--line); border-radius: 4px;
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.prod-tag {
  align-self: flex-start; font-size: 15px; font-weight: 800;
  padding: 6px 12px; border-radius: 3px;
}
.tag-make { background: var(--forest); color: var(--gold-on-dark); }
.tag-import { background: var(--cream); color: var(--moss); border: 2px solid var(--line); }
.tag-deal { background: var(--cream); color: var(--muted); border: 2px solid var(--line); }
.prod b { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; }
.prod p { font-size: 17.5px; color: var(--muted); line-height: 1.7; }
.prod .btn { margin-top: auto; font-size: 18px; min-height: 52px; padding-inline: 20px; }

.stock-note {
  margin-top: 34px; padding: 26px 30px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 4px;
  font-size: 19px; line-height: 1.8;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
}
.stock-note strong { font-weight: 800; }

/* ---------- 문의 ---------- */

.contact { background: var(--forest); color: #fff; }
.contact .sec-head h2 { color: #fff; }
.contact .sec-label { color: var(--gold-on-dark); }
.contact .sec-head p { color: #fff; }

.contact-grid {
  display: grid; gap: clamp(36px, 5vw, 68px);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.contact-lines { margin: 0; padding: 0; list-style: none; }
.contact-lines li { padding: 20px 0; border-bottom: 2px solid rgba(255,255,255,.28); }
.contact-lines dt { font-size: 17px; font-weight: 700; color: var(--gold-on-dark); margin-bottom: 6px; }
.contact-lines dd { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.contact-lines dd a { text-decoration: none; }
.contact-lines dd small { display: block; font-size: 17px; font-weight: 400; color: var(--muted-dark); margin-top: 6px; letter-spacing: 0; line-height: 1.6; }

form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: 18px; font-weight: 700; color: var(--gold-on-dark); }
input, textarea {
  font: inherit; font-size: 19px; min-height: var(--tap);
  padding: 14px 16px; border-radius: 4px;
  background: #fff; border: 2px solid transparent; color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #6d7a72; }
textarea { min-height: 140px; resize: vertical; }
form .btn { margin-top: 6px; }

/* ---------- 모바일 고정 전화 바 ---------- */

.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 2px;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -3px 14px rgba(16,28,20,.22);
}
.call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 64px; font-size: 21px; font-weight: 800; text-decoration: none;
}
.call-bar .cb-tel { background: var(--forest); color: #fff; }
.call-bar .cb-ask { background: var(--gold-on-dark); color: #1a1405; }

/* ---------- 푸터 ---------- */

.site-foot {
  background: var(--ink); color: var(--muted-dark);
  padding: 52px 0 60px; font-size: 17.5px; line-height: 1.85;
}
.foot-top { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: baseline; }
.foot-top .brand-name { color: #fff; }
.foot-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.foot-nav a:hover { color: var(--gold-on-dark); }
.foot-info { margin-top: 28px; padding-top: 26px; border-top: 2px solid rgba(255,255,255,.2); }
.foot-info span { margin-right: 18px; white-space: nowrap; }

/* ---------- 반응형 ---------- */

@media (max-width: 900px) {
  .nav { display: none; }
  .head-tel { margin-left: auto; }
  .gateway a { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 700px) {
  body { font-size: 19px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .call-bar { display: flex; }
  .head-tel { font-size: 19px; padding-inline: 18px; }
  .symptom { min-height: 92px; }
  .hero-facts { gap: 24px; }

  /* 버튼 글씨가 잘리지 않게 — 폭을 채우고 필요하면 줄바꿈 */
  .hero-cta { display: grid; }
  .hero-cta .btn { width: 100%; }
  .btn { padding-inline: 22px; text-wrap: balance; }
  .btn-big { font-size: 21px; padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   영양 진단 페이지
   ========================================================== */

.diag-hero { background: var(--forest); color: #fff; padding: clamp(48px,7vw,86px) 0 clamp(40px,6vw,66px); }
.diag-hero h1 { font-size: clamp(30px,4.4vw,50px); max-width: 20ch; }
.diag-hero p { margin-top: 20px; max-width: 46ch; font-size: clamp(19px,1.6vw,22px); }

.diag-steps {
  margin-top: 32px; padding-top: 26px;
  border-top: 2px solid rgba(255,255,255,.28);
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  font-size: 18px; font-weight: 700; color: var(--muted-dark);
}
.diag-steps b { color: var(--gold-on-dark); margin-right: 8px; }

/* 부위 그룹 */
.part { padding: clamp(44px,6vw,72px) 0 0; }
.part-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.part-head h2 { font-size: clamp(25px,3vw,34px); }
.part-head span { font-size: 18px; color: var(--muted); font-weight: 600; }

/* 증상 카드 = details */
.sx { border: 2px solid var(--line); border-radius: 5px; background: var(--paper); margin-bottom: 14px; }
.sx[open] { border-color: var(--forest); }
.sx > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  min-height: 84px; padding: 18px 22px;
  font-size: 22px; font-weight: 800; letter-spacing: -0.025em;
}
.sx > summary::-webkit-details-marker { display: none; }
.sx > summary:hover { background: var(--cream); }
.sx-mark {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--forest); color: var(--forest);
  display: grid; place-items: center; font-size: 26px; font-weight: 800; line-height: 1;
}
.sx[open] .sx-mark { background: var(--forest); color: #fff; }
.sx[open] .sx-mark::before { content: "−"; }
.sx:not([open]) .sx-mark::before { content: "+"; }
.sx-txt { flex: 1; }
.sx-txt small { display: block; margin-top: 4px; font-size: 17px; font-weight: 500; color: var(--muted); }

/* 결과 */
.sx-body { padding: 4px 22px 26px; border-top: 2px solid var(--line); }

.verdict {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 22px 0 24px; padding: 20px 24px;
  background: var(--forest); color: #fff; border-radius: 5px;
}
.verdict .verdict-sym {
  flex: none; min-width: 96px; width: 96px; height: 96px;
  border-radius: 12px;
  background: #f0d18f;
  color: #0d1a12;                    /* 거의 검정에 가까운 짙은 초록 */
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; font-weight: 800; line-height: 96px;
  letter-spacing: -0.03em; text-align: center;
  box-shadow: inset 0 0 0 3px rgba(13,26,18,.35);
}
.verdict b { display: block; font-size: 27px; font-weight: 800; letter-spacing: -0.03em; }
.verdict span:not(.verdict-sym) { display: block; font-size: 18px; color: var(--muted-dark); margin-top: 3px; }

.rx { display: grid; gap: 22px; }
.rx h3 { font-size: 20px; color: var(--gold); }
.rx h3 + p, .rx h3 + ul { margin-top: 8px; }
.rx p { font-size: 19px; line-height: 1.78; }
.rx ul { margin: 0; padding-left: 1.25em; font-size: 19px; line-height: 1.78; }
.rx li + li { margin-top: 6px; }
.rx li b { font-weight: 800; }

.warn {
  padding: 20px 24px; border-radius: 5px;
  background: #fdf4e3; border: 2px solid #dcb96a;
  font-size: 19px; line-height: 1.75;
}
.warn b { display: block; font-weight: 800; margin-bottom: 6px; }

.confuse {
  padding: 18px 22px; background: var(--cream);
  border: 2px solid var(--line); border-radius: 5px; font-size: 18.5px; line-height: 1.75;
}
.confuse b { font-weight: 800; }
.confuse a { font-weight: 700; }

.sx-ask { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sx-ask .btn { font-size: 19px; }

/* 하단 안내 */
.diag-foot {
  margin: clamp(52px,6vw,80px) 0 0;
  padding: 30px 32px; border-left: 5px solid var(--gold);
  background: var(--paper); border-radius: 0 5px 5px 0;
  font-size: 19px; line-height: 1.8;
}
.diag-foot b { font-weight: 800; }

@media (max-width: 700px) {
  .sx > summary { font-size: 20px; padding: 16px 16px; gap: 13px; }
  .sx-body { padding-inline: 16px; }
  .verdict { gap: 14px; padding: 16px 18px; }
  .verdict b { font-size: 23px; }
  .sx-ask .btn { width: 100%; }
}

/* 증상 카드 썸네일 — 열어보기 전에 눈으로 훑을 수 있게 */
.sx-img {
  flex: none; width: 88px; height: 66px;
  object-fit: contain;
  background: var(--cream);
  border: 2px solid var(--line); border-radius: 4px;
  padding: 3px;
}
.sx[open] .sx-img { border-color: var(--forest); }

/* 결과 안에서는 크게 다시 보여준다 */
.verdict-fig {
  flex: none; width: 132px; height: 104px; object-fit: contain;
  background: rgba(255,255,255,.94); border-radius: 6px; padding: 5px;
}

@media (max-width: 700px) {
  .sx-img { width: 68px; height: 54px; }
  .verdict-fig { width: 96px; height: 78px; }
}

/* ==========================================================
   모바일 가독성 — 답과 처방만 먼저, 설명은 접는다
   ========================================================== */

.sx-img { width: 84px; height: 84px; padding: 0; border: 0; background: none; }
.sx[open] .sx-img { border: 0; }

/* 결과 상단: 그림 + 성분명 */
.verdict { align-items: center; gap: 20px; padding: 18px 22px; }
.verdict-fig {
  width: 104px; height: 104px; padding: 0;
  background: rgba(255,255,255,.92); border-radius: 10px;
}

/* 처방 — 가장 크게, 가장 먼저 */
.do {
  margin: 22px 0 18px; padding: 24px 26px;
  background: var(--cream); border: 3px solid var(--forest); border-radius: 6px;
}
.do h3 { font-size: 22px; color: var(--forest); margin-bottom: 14px; }
.do ul { margin: 0; padding-left: 1.15em; font-size: 20px; line-height: 1.75; }
.do li + li { margin-top: 10px; }
.do b { font-weight: 800; }

/* 접히는 상세 */
.more { border-top: 2px solid var(--line); margin-top: 20px; }
.more > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  min-height: 58px; font-size: 18px; font-weight: 700; color: var(--muted);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "▾"; font-size: 15px; }
.more[open] > summary::after { content: "▴"; }
.more-body { padding-bottom: 22px; display: grid; gap: 18px; }
.more-body h4 { margin: 0 0 6px; font-size: 18px; color: var(--gold); font-weight: 800; }
.more-body p { font-size: 18px; line-height: 1.75; color: var(--ink); }

/* 정상 비교 스트립 */
.ref { background: var(--paper); border-block: 2px solid var(--line); }
.ref-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ref-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; background: var(--cream);
  border: 2px solid var(--line); border-radius: 5px;
}
.ref-card img { width: 92px; height: 92px; flex: none; }
.ref-card b { display: block; font-size: 20px; font-weight: 800; }
.ref-card span { font-size: 17px; color: var(--muted); }

@media (max-width: 700px) {
  .sx > summary { min-height: 96px; }
  .sx-img { width: 72px; height: 72px; }
  .sx-txt small { font-size: 16px; }
  .verdict { gap: 14px; padding: 14px 16px; }
  .verdict-fig { width: 84px; height: 84px; }
  .do { padding: 18px 18px; }
  .do ul { font-size: 19px; }
  .ref-card img { width: 76px; height: 76px; }
}


/* ==========================================================
   집중 모드 — 하나를 열면 나머지는 흐려지고 잠긴다
   <details name="sx"> 로 열림은 하나만. 여기서는 나머지를 죽인다.
   ========================================================== */

.sx { transition: opacity .18s ease, filter .18s ease; }

body:has(.sx[open]) .sx:not([open]) {
  opacity: .22;
  filter: blur(2px) grayscale(.6);
  pointer-events: none;
}
body:has(.sx[open]) .part-head,
body:has(.sx[open]) .ref,
body:has(.sx[open]) .diag-foot { opacity: .3; transition: opacity .18s ease; }

/* 열린 카드는 확실하게 띄운다 */
.sx[open] {
  border-color: var(--forest); border-width: 3px;
  box-shadow: 0 10px 34px rgba(16,28,20,.16);
}

/* 닫는 방법을 놓치지 않게 — 열린 카드 하단에 큰 닫기 */
.sx-close {
  display: none; width: 100%; margin-top: 20px;
  background: none; border: 2px solid var(--line);
  color: var(--muted); border-radius: 5px;
  min-height: 58px; font: inherit; font-size: 18px; font-weight: 700;
  cursor: pointer;
}
.sx[open] .sx-close { display: block; }
.sx-close:hover { border-color: var(--forest); color: var(--forest); }

@media (prefers-reduced-motion: reduce) {
  body:has(.sx[open]) .sx:not([open]) { filter: grayscale(.6); }
}

/* 처방 목록의 (20-8-8) 같은 규격 코드 — 농약사에서 부르는 이름이라 남긴다 */
.do small {
  font-size: 16px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.do br + b { display: inline-block; margin-top: 4px; }

@media (max-width: 700px) {
  .verdict .verdict-sym { min-width: 78px; width: 78px; height: 78px;
                 font-size: 38px; line-height: 78px; }
}

/* ==========================================================
   취급 품목 · 회사 소개
   ========================================================== */

.notice {
  padding: 26px 30px; border-left: 5px solid var(--gold);
  background: var(--paper); border-radius: 0 5px 5px 0;
  font-size: 19px; line-height: 1.8;
}
.notice b { font-weight: 800; }

.prod-reg {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 15px; color: var(--moss); font-weight: 600;
}
.reg-note {
  margin-top: 26px; font-family: ui-monospace, Menlo, monospace;
  font-size: 16px; color: var(--muted);
}

/* 연혁 */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: flex; gap: clamp(18px, 3vw, 40px);
  padding: 28px 0; border-bottom: 2px solid var(--line);
}
.timeline li:first-child { border-top: 2px solid var(--line); }
.tl-year {
  flex: none; width: 5ch;
  font-size: clamp(26px, 3vw, 34px); font-weight: 800;
  color: var(--gold); letter-spacing: -0.04em; line-height: 1.2;
}
.timeline b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.timeline p { margin-top: 8px; font-size: 18.5px; color: var(--muted); line-height: 1.75; }
.timeline code {
  display: inline-block; margin-top: 10px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 15.5px; color: var(--moss); font-weight: 600;
}

@media (max-width: 700px) {
  .timeline li { gap: 16px; padding: 22px 0; }
  .tl-year { width: 4.6ch; font-size: 24px; }
  .timeline b { font-size: 20px; }
}
