/* =========================================================
   도들샘 홈페이지 — 공통 스타일
   시안: 도들샘 홈페이지 시안.dc.html / 토큰: README.md
   ========================================================= */

/* ---------- 디자인 토큰 ---------- */
:root {
  --green-900: #0F2C21;
  --green-800: #14392B;
  --green-700: #1E5138;
  --green-500: #6FB43F;
  --green-400: #7AC143;
  --green-300: #8FC96A;
  --beige-100: #F7F5EF;
  --beige-200: #F2EEE4;
  --page-bg:   #EDEAE2;

  --text-body:     #4A5851;
  --text-greeting: #3B4741;
  --text-muted:    #6E7A70;
  --text-faint:    #8A8577;
  --text-strong:   #1B2C24;
  --line-dark:     #B9B3A2;
  --orange-500:    #EA5519;

  --bd-08: rgba(20, 57, 43, .08);
  --bd-10: rgba(20, 57, 43, .10);
  --bd-12: rgba(20, 57, 43, .12);
  --bd-16: rgba(20, 57, 43, .16);
  --bd-18: rgba(20, 57, 43, .18);
  --bd-22: rgba(20, 57, 43, .22);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-serif: "Noto Serif KR", serif;

  --wrap: 1440px;
  --radius-card: 14px;
  --radius-sm: 9px;
  --shadow-frame: 0 18px 50px rgba(20, 57, 43, .13);
  --shadow-drop: 0 14px 34px rgba(20, 57, 43, .12);

  --sec-pad-y: 84px;
  --sec-pad-x: 60px;
  --block-gap: 64px;
}

/* ---------- 리셋 / 베이스 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }

a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--green-500); }

h1, h2, h3, h4, p, figure { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* 공통 헤더/푸터는 js/main.js가 주입 — 주입 전 레이아웃 이동 방지용 최소 높이 */
[data-include="site-header"] { display: block; min-height: 96px; }
[data-include="site-footer"] { display: block; min-height: 320px; background: var(--green-900); }
@media (max-width: 1024px) {
  [data-include="site-header"] { min-height: 68px; }
  [data-include="site-footer"] { min-height: 520px; }
}
/* 서브 내비 주입 전 자리표시자 숨김 (주입 후 실제 요소가 반응형 규칙을 따름) */
[data-subtabs] { display: none; }
[data-lnb] { min-height: 1px; }
@media (max-width: 1024px) { [data-lnb] { display: none; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.long { max-width: 34em; text-wrap: pretty; }

/* =========================================================
   헤더
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--bd-08);
}

.util-bar {
  border-bottom: 1px solid rgba(20, 57, 43, .06);
}
.util-bar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 9px 40px;
  font-size: 12px;
  line-height: 1;
  color: var(--text-muted);
}
.util-bar a { color: var(--text-muted); }
.util-bar a:hover { color: var(--green-800); }

.main-bar .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 0;
}
.brand-logo img { height: 38px; width: auto; }
.brand-logo .tagline {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* GNB */
.gnb {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 36px;
}
.gnb-item { position: relative; padding: 22px 0; }
.gnb-item > a {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--text-strong);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.gnb-item > a:hover { color: var(--green-500); }
.gnb-item.is-active > a { color: var(--green-800); border-bottom-color: var(--green-800); }

.gnb-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--bd-10);
  border-radius: 12px;
  box-shadow: var(--shadow-drop);
  display: none;
}
.gnb-item:hover .gnb-panel,
.gnb-item:focus-within .gnb-panel { display: block; }
.gnb-panel a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #3D4A42;
  border-radius: 8px;
  white-space: nowrap;
}
.gnb-panel a:hover { background: var(--beige-200); color: var(--green-800); }

/* 헤더 CTA */
.header-cta { display: flex; gap: 8px; flex: 1 1 0; justify-content: flex-end; }
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  background: #fff;
  color: var(--green-800);
  border: 1px solid var(--bd-18);
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.btn-store:hover { border-color: var(--green-800); color: var(--green-800); }
.btn-store .arw { font-size: 12px; color: var(--green-500); }

/* 햄버거 */
.burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(20, 57, 43, .15);
  border-radius: var(--radius-sm);
  flex: none;
}
.burger span {
  display: block;
  width: 16px; height: 10px;
  border-top: 1.6px solid var(--green-800);
  border-bottom: 1.6px solid var(--green-800);
}

/* 모바일 드로어 */
.drawer {
  display: none;
  border-top: 1px solid var(--bd-08);
  background: #fff;
}
.drawer.open { display: block; animation: ddsFade .18s ease; }
.drawer-group { padding: 14px 24px; border-bottom: 1px solid rgba(20, 57, 43, .07); }
.drawer-group > strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  color: var(--green-800);
  margin-bottom: 8px;
}
.drawer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.drawer-links a { font-size: 13px; line-height: 1; color: var(--text-muted); }
.drawer-stores { display: flex; gap: 8px; padding: 16px 24px; }
.drawer-stores a {
  flex: 1;
  text-align: center;
  padding: 13px;
  background: #fff;
  color: var(--green-800);
  border: 1px solid var(--bd-18);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}

@keyframes ddsFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   푸터
   ========================================================= */
.site-footer { background: var(--green-900); padding: 60px 60px 34px; }
.site-footer .wrap { color: rgba(255, 255, 255, .62); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .9fr;
  gap: 56px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.8; }
.footer-col.brand { gap: 16px; }
.footer-col.brand img { height: 42px; width: auto; display: block; }
.footer-col .label {
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  color: var(--green-300);
  margin-bottom: 4px;
}
.footer-col a { color: rgba(255, 255, 255, .62); }
.footer-col a:hover { color: #fff; }
.footer-note {
  padding-top: 20px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .32);
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .4);
}

/* =========================================================
   버튼 / 링크 유틸
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-solid { background: var(--green-800); color: #fff; }
.btn-solid:hover { background: var(--green-700); color: #fff; }
.btn-ghost { background: none; color: var(--green-800); border-color: var(--bd-22); }
.btn-ghost:hover { background: var(--green-800); color: #fff; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--green-300); color: var(--green-800); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 13px; }

.link-underline {
  align-self: flex-start;
  padding: 0 0 4px;
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--green-800);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--green-800);
}
.link-underline:hover { border-color: var(--green-500); color: var(--green-500); }

.kicker {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--green-500);
}

/* =========================================================
   섹션 공통
   ========================================================= */
.section { padding: var(--sec-pad-y) var(--sec-pad-x); }
.section .wrap { width: 100%; }
.section--beige { background: var(--beige-100); }
.section--green { background: var(--green-800); color: #fff; }
.section--white { background: #fff; }

.h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--green-800);
  text-wrap: pretty;
}
.section--green .h2 { color: #fff; }
.h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.03em;
  color: var(--green-800);
}

/* =========================================================
   히어로 슬라이더
   ========================================================= */
.hero {
  position: relative;
  background: var(--green-800);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 560px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero-panel {
  position: relative;
  padding: 72px 60px 72px 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  right: -8%;
  bottom: -16%;
  width: 62%;
  opacity: .055;
  pointer-events: none;
}
.hero-axis {
  position: absolute;
  left: 56px;
  bottom: 72px;
  writing-mode: vertical-rl;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .34em;
  color: rgba(255, 255, 255, .3);
  pointer-events: none;
}
.hero-axis-line {
  position: absolute;
  left: 44px;
  top: 72px;
  bottom: 72px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .18) 30%, rgba(255, 255, 255, .18) 70%, rgba(255, 255, 255, 0) 100%);
}

.hero-slide { display: none; flex-direction: column; gap: 20px; position: relative; }
.hero-slide.active { display: flex; }
.hero-slide .kicker { color: var(--green-300); }
.hero-slide h1 {
  font-weight: 700;
  font-size: 58px;
  line-height: 1.16;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: pretty;
}
.hero-slide p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  text-wrap: pretty;
  white-space: pre-line;
}
.hero-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }

.hero-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot {
  background: none;
  border: none;
  padding: 0 2px 4px;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .4);
  border-bottom: 1.5px solid transparent;
}
.hero-dot.active { color: #fff; border-bottom-color: var(--green-300); }
.hero-arrows { display: flex; gap: 6px; }
.hero-arrows button {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 13px;
}
.hero-arrows button:hover { background: rgba(255, 255, 255, .12); }

.hero-media {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #1B4634 0 10px, #20503C 10px 20px);
}
.hero-media .media-slide { position: absolute; inset: 0; display: none; }
.hero-media .media-slide.active { display: block; }
.hero-media .media-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 57, 43, .45) 0%, rgba(20, 57, 43, 0) 45%);
  pointer-events: none;
}
.hero-split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--green-800); }
.hero-split > div { position: relative; overflow: hidden; }
.hero-split img { width: 100%; height: 100%; object-fit: cover; }
.hero-split .scrim-b { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 57, 43, .05) 40%, rgba(20, 57, 43, .72) 100%); }
.hero-split .brand-mark { position: absolute; bottom: 26px; left: 22px; right: 22px; display: flex; }
.hero-split .brand-mark img { width: auto; }
.hero-split .brand-mark.orecipe img { height: 44px; margin-left: 16px; }
.hero-split .brand-mark.snofruit img { height: 36px; }

/* =========================================================
   신뢰지표
   ========================================================= */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--bd-08);
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 52px 46px;
}
.trust-item {
  padding: 14px 22px;
  border-left: 1px solid var(--bd-08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-item i, .trust-item svg { width: 26px; height: 26px; color: var(--green-500); flex: none; }
.trust-item > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trust-item .big { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; color: var(--green-800); }
.trust-item .lbl { font-weight: 600; font-size: 13.5px; line-height: 1.5; color: var(--green-800); margin-top: 2px; }
.trust-item .sub { font-size: 12.5px; line-height: 1.6; color: var(--text-faint); }

/* =========================================================
   브랜드 스토리
   ========================================================= */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-text { display: flex; flex-direction: column; gap: 20px; }
.story-text p { font-size: 15.5px; line-height: 1.85; color: var(--text-body); max-width: 26em; text-wrap: pretty; }
.story-photos { display: flex; flex-direction: column; gap: 12px; }
.story-photos > div { height: 245px; border-radius: 12px; overflow: hidden; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   제품 섹션 (메인)
   ========================================================= */
.prod-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.prod-head .titles { display: flex; flex-direction: column; gap: 12px; }

.pill-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--beige-200);
  border-radius: 999px;
  flex-wrap: wrap;
}
.pill-tabs button {
  padding: 9px 15px;
  border: none;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  background: transparent;
  color: var(--text-muted);
}
.pill-tabs button.active { background: var(--green-800); color: #fff; }

.cat-desc { font-size: 15.5px; line-height: 1.85; color: var(--text-body); max-width: 620px; margin-bottom: 24px; text-wrap: pretty; }

.card-grid { display: grid; gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }

.prod-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(20, 57, 43, .09);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--text-body);
}
a.prod-card:hover { border-color: var(--green-800); }
.prod-card .thumb {
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #E7E2D6 0 9px, #F1EDE3 9px 18px);
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .meta { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 6px; }
.prod-card .name { font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--green-800); }
.prod-card .note { font-size: 13px; line-height: 1.55; color: var(--text-faint); }

.section-cta { margin-top: 26px; display: flex; justify-content: center; }

/* =========================================================
   자사 브랜드 (메인)
   ========================================================= */
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bd-08);
}
.brand-card .photo { height: 360px; overflow: hidden; background: repeating-linear-gradient(135deg, #E7E2D6 0 9px, #F1EDE3 9px 18px); }
.brand-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.brand-card .en { font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: .12em; color: var(--green-500); }
.brand-card p { font-size: 14px; line-height: 1.7; color: var(--text-body); max-width: 34em; text-wrap: pretty; }
.brand-card .actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.btn-chip {
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-chip.fill { background: var(--beige-200); color: var(--green-800); }
.btn-chip.fill:hover { background: var(--green-800); color: #fff; }
.btn-chip.solid { background: var(--green-800); color: #fff; }
.btn-chip.solid:hover { background: var(--green-700); color: #fff; }
.btn-chip.out { border-color: var(--bd-16); color: var(--green-800); }
.btn-chip.out:hover { border-color: var(--green-800); }

/* =========================================================
   R&D 섹션 (메인)
   ========================================================= */
.rnd-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.rnd-text { display: flex; flex-direction: column; gap: 16px; }
.rnd-text .kicker { color: var(--green-300); }
.rnd-text p { font-size: 15.5px; line-height: 1.85; color: rgba(255, 255, 255, .7); max-width: 34em; text-wrap: pretty; }
.rnd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rnd-cards .card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rnd-cards .no { font-weight: 600; font-size: 11px; line-height: 1; color: rgba(255, 255, 255, .45); }
.rnd-cards .ttl { font-weight: 600; font-size: 15px; line-height: 1.4; color: #fff; }
.rnd-cards .sub { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

/* =========================================================
   문의 / 고객센터 CTA (메인)
   ========================================================= */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { padding: 36px 34px; background: var(--beige-100); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.cta-card p { font-size: 14px; line-height: 1.7; color: var(--text-body); }
.cta-card .tel { font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; color: var(--green-800); }
.cta-card .tel-sub { font-size: 13.5px; line-height: 1.7; color: var(--text-faint); }

/* =========================================================
   서브페이지 골격
   ========================================================= */
.page-head {
  padding: 40px 60px 46px;
  background: var(--beige-100);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--green-800); }
.breadcrumb .current { color: var(--green-800); }
.page-head h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--green-800);
}
.page-head .desc { margin-top: 10px; font-size: 15.5px; line-height: 1.85; color: var(--text-muted); }

/* 모바일 전용 서브 탭 */
.sub-tabs {
  display: none;
  gap: 4px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid rgba(20, 57, 43, .09);
  overflow-x: auto;
}
.sub-tabs a {
  padding: 16px 18px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 14.5px;
  line-height: 1;
  color: var(--text-muted);
}
.sub-tabs a.active { font-weight: 600; color: var(--green-800); border-bottom-color: var(--green-800); }

.sub-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 56px;
  padding: var(--sec-pad-y) var(--sec-pad-x);
  background: #fff;
  align-items: start;
}

.lnb {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.lnb-menu { border: 1px solid var(--bd-10); border-radius: 12px; overflow: hidden; }
.lnb-menu .lnb-head {
  padding: 18px 20px;
  background: var(--green-800);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}
.lnb-menu a {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--bd-08);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-muted);
}
.lnb-menu a:hover { color: var(--green-800); }
.lnb-menu a.active { font-weight: 600; background: var(--beige-200); color: var(--green-800); }

.lnb-tel {
  padding: 20px;
  border: 1px solid var(--bd-10);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lnb-tel .label { font-weight: 500; font-size: 12.5px; line-height: 1; color: var(--text-faint); }
.lnb-tel .num { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: var(--green-800); }
.lnb-tel .sub { font-size: 12.5px; line-height: 1.8; color: var(--text-faint); }

.sub-content { display: flex; flex-direction: column; gap: var(--block-gap); min-width: 0; }
.block { display: flex; flex-direction: column; gap: 16px; }
.block > h2.h2 { text-wrap: pretty; }

/* 공통 표 */
.info-table { border-top: 1.5px solid var(--green-800); }
.info-table .row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--bd-10); }
.info-table .k { padding: 16px 20px; background: var(--beige-100); font-weight: 600; font-size: 13.5px; line-height: 1.6; color: var(--green-800); }
.info-table .v { padding: 16px 20px; font-size: 13.5px; line-height: 1.6; color: var(--text-body); }

/* 인트로 (좌 텍스트 / 우 이미지) */
.intro-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 56px; align-items: center; }
.intro-grid .intro-text { display: flex; flex-direction: column; gap: 16px; }
.intro-grid .intro-text p { font-size: 15.5px; line-height: 1.85; color: var(--text-body); max-width: 34em; text-wrap: pretty; }
.intro-grid .intro-img { height: 280px; border-radius: var(--radius-card); overflow: hidden; background: #F1EDE3; }
.intro-grid .intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* 핵심가치 / 아이콘 카드 */
.icon-card {
  padding: 26px 24px;
  border: 1px solid var(--bd-10);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.icon-card i, .icon-card svg { width: 24px; height: 24px; color: var(--green-500); flex: none; }
.icon-card .ttl { font-weight: 700; font-size: 16.5px; line-height: 1.3; color: var(--green-800); }
.icon-card .sub { font-size: 13.5px; line-height: 1.7; color: var(--text-body); }

.note-line { font-size: 12.5px; line-height: 1.7; color: var(--text-faint); }

/* 단계 리스트 (테두리 없음) — 제품 페이지 품질관리 요약 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps .step { display: flex; flex-direction: column; gap: 6px; }
.steps .step .no { font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: .08em; color: var(--green-500); }
.steps .step .t { font-weight: 600; font-size: 14.5px; line-height: 1.4; color: var(--green-800); }
.steps .step .s { font-size: 13px; line-height: 1.65; color: var(--text-faint); }

/* 공정 카드 (테두리 있음) — 품질관리 6단계 / 채용 절차 */
.flow-card { padding: 24px; border: 1px solid var(--bd-10); border-radius: var(--radius-card); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.flow-card .no { font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .06em; color: var(--green-500); }
.flow-card .t { font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; color: var(--green-800); }
.flow-card .s { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* 컬러 스와치 그리드 */
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 인사말 */
/* 인사말 본문: 제목·문단·서명 블록이 같은 폭(왼·오른쪽 라인 정렬) */
.greeting-body { display: flex; flex-direction: column; gap: 22px; max-width: 46em; }
.greeting-body .paras { display: flex; flex-direction: column; gap: 16px; }
.greeting-body p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-greeting);
  text-wrap: pretty;
}
.sign-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--bd-10);
}
.sign-block .role { font-size: 13.5px; line-height: 1.6; color: var(--text-faint); }
.sign-block .name { font-family: var(--font-serif); font-weight: 600; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--green-800); }
.sign-img-photo { height: 64px; width: auto; max-width: 240px; object-fit: contain; mix-blend-mode: multiply; }

/* 연혁 */
.history-era { display: flex; flex-direction: column; gap: 18px; }
.history-era .era-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--green-800); }
.history-era .era-name { font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -.03em; color: var(--green-800); }
.history-era .era-range { font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--green-500); }
.history-row { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 13px 2px; border-bottom: 1px solid var(--bd-08); }
.history-row .year { font-weight: 600; font-size: 14px; line-height: 1.7; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text-faint); }
.history-row .items { display: flex; flex-direction: column; gap: 6px; }
.history-row .items span { font-size: 14.5px; line-height: 1.7; color: var(--text-body); }

/* CI */
.ci-box { height: 300px; border: 1px solid var(--bd-10); border-radius: var(--radius-card); background: #fff; display: flex; align-items: center; justify-content: center; padding: 36px; }
.ci-box img { max-width: 100%; max-height: 100%; }
.sig-card { border: 1px solid var(--bd-10); border-radius: var(--radius-card); overflow: hidden; }
.sig-card .sig-view { height: 190px; display: flex; align-items: center; justify-content: center; padding: 28px; border-bottom: 1px solid var(--bd-08); }
.sig-card .sig-view.dark { background: var(--green-800); }
.sig-card .sig-view.light { background: #fff; }
.sig-card .sig-view img { max-width: 100%; max-height: 100%; }
.sig-card .cap { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.sig-card .cap .t { font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--green-800); }
.sig-card .cap .d { font-size: 12.5px; line-height: 1.6; color: var(--text-faint); }
.swatch { display: flex; flex-direction: column; gap: 10px; }
.swatch .chip { height: 96px; border-radius: 12px; border: 1px solid var(--bd-10); }
.swatch .n { font-weight: 600; font-size: 13.5px; line-height: 1.4; color: var(--green-800); }
.swatch .hex { font-weight: 500; font-size: 12px; line-height: 1.4; color: var(--text-faint); }

/* 인증 및 수상 */
.cert-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-800);
}
.cert-hero .cert-img { min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(255, 255, 255, .05); }
.cert-hero .cert-img img { max-width: 100%; max-height: 400px; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 28px rgba(0, 0, 0, .3); }
.cert-hero .cert-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.badge-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(143, 201, 106, .16);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--green-300);
}
.cert-hero h3 { font-weight: 700; font-size: 24px; line-height: 1.35; letter-spacing: -.035em; color: #fff; }
.cert-hero p { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .78); max-width: 34em; }
.cert-hero .org { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .5); }

.haccp-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.haccp-head .sub { font-size: 13.5px; line-height: 1.6; color: var(--text-faint); }
.haccp-card { border: 1px solid var(--bd-10); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.haccp-card .img { height: 190px; overflow: hidden; background: #F1EDE3; display: flex; align-items: flex-start; justify-content: center; }
.haccp-card .img img { width: 100%; }
.haccp-card .cap { padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.haccp-card .cap .n { font-weight: 700; font-size: 14.5px; line-height: 1.4; color: var(--green-800); }
.haccp-card .cap .no { font-size: 12px; line-height: 1.5; color: var(--text-faint); }

/* 찾아오시는 길 */
.map-embed {
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #E7E2D6 0 9px, #F1EDE3 9px 18px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ 아코디언 */
.faq-list { border-top: 1.5px solid var(--green-800); }
.faq-item { border-bottom: 1px solid var(--bd-10); }
.faq-q {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 22px 6px;
  background: none;
  border: none;
}
.faq-q .q-mark { flex: none; font-weight: 700; font-size: 14px; line-height: 1.5; color: var(--green-500); }
.faq-q .q-text { flex: 1; font-weight: 500; font-size: 15.5px; line-height: 1.5; color: var(--green-800); }
.faq-q .sign { flex: none; font-size: 18px; line-height: 1; color: var(--green-500); transition: transform .2s; }
.faq-item.open .faq-q .q-text { font-weight: 600; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 6px 24px 34px; font-size: 14.5px; line-height: 1.8; color: var(--text-body); }
.faq-item.open .faq-a { display: block; }
.faq-links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.faq-links a { font-weight: 600; color: var(--green-800); }
.faq-links a:hover { color: var(--green-500); }

.rel-cta {
  padding: 36px 34px;
  background: var(--beige-100);
  border-radius: 16px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.rel-cta .rc-text { display: flex; flex-direction: column; gap: 6px; }
.rel-cta .rc-text strong { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--green-800); }
.rel-cta .rc-text span { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

/* 문의 (UI) */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 28px; border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 14px; }
.contact-card.dark { background: var(--green-800); }
.contact-card.dark .c-label { color: var(--green-300); }
.contact-card.dark .c-main { color: #fff; }
.contact-card.dark .c-sub { color: rgba(255, 255, 255, .7); }
.contact-card.light { border: 1px solid var(--bd-12); background: #fff; }
.contact-card.light .c-label { color: var(--green-500); }
.contact-card .c-label { font-weight: 600; font-size: 11.5px; line-height: 1; letter-spacing: .14em; }
.contact-card .c-main { font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--green-800); }
.contact-card .c-main.sm { font-size: 19px; letter-spacing: -.02em; word-break: break-all; }
.contact-card .c-sub { font-size: 13.5px; line-height: 1.75; color: var(--text-muted); }

.info-box { padding: 24px 26px; background: var(--beige-100); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 12px; }
.info-box .ib-title { font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--green-800); }
.info-box .ib-list { display: flex; flex-direction: column; gap: 10px; }
.info-box .ib-list span { font-size: 13.5px; line-height: 1.75; color: var(--text-body); }
.info-box .ib-note { font-size: 13px; line-height: 1.75; color: var(--text-muted); margin-top: 2px; }

.oem-block { display: flex; flex-direction: column; gap: 26px; padding-top: 30px; border-top: 1px solid var(--bd-10); }
.plain-field { display: flex; flex-direction: column; gap: 8px; }
.plain-field .pf-label { font-weight: 600; font-size: 13.5px; line-height: 1.5; color: var(--green-800); }
.plain-field .pf-val { font-size: 13.5px; line-height: 1.75; color: var(--text-muted); }

.dashed-box {
  padding: 36px 34px;
  border: 1px dashed var(--bd-22);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.dashed-box strong { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--green-800); }
.dashed-box span { font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }

/* 브랜드 서브 (오레시피 / 스노푸룻) */
.brand-head { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.brand-head .logo-box { height: 170px; background: var(--beige-100); border-radius: var(--radius-card); display: flex; align-items: center; justify-content: center; }
.brand-head .logo-box img { max-width: 76%; max-height: 54%; }
.brand-head .bh-text { display: flex; flex-direction: column; gap: 14px; }
.brand-head .bh-text p { font-size: 15.5px; line-height: 1.85; color: var(--text-body); max-width: 33em; text-wrap: pretty; }
.line-card { display: flex; flex-direction: column; gap: 12px; }
.line-card .thumb { height: 190px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(135deg, #E7E2D6 0 9px, #F1EDE3 9px 18px); }
.line-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-card > div:not(.thumb) { display: flex; flex-direction: column; gap: 4px; }
.line-card .n { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--green-800); }
.line-card .note { font-size: 12.5px; line-height: 1.6; color: var(--text-faint); }

.store-cta {
  padding: 36px 34px;
  background: var(--beige-100);
  border-radius: 16px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.store-cta .sc-text { display: flex; flex-direction: column; gap: 6px; }
.store-cta .sc-text strong { font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--green-800); }
.store-cta .sc-text span { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
.store-cta .sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 브랜드 소개(상위) 2카드 */
.brand-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-two .bt-card { border: 1px solid var(--bd-10); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.brand-two .bt-logo { height: 170px; background: var(--beige-100); display: flex; align-items: center; justify-content: center; }
.brand-two .bt-logo img { max-width: 70%; max-height: 50%; }
.brand-two .bt-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.brand-two .bt-body p { font-size: 14px; line-height: 1.7; color: var(--text-body); max-width: 34em; text-wrap: pretty; }

/* 사이트맵 */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: var(--sec-pad-y) var(--sec-pad-x); background: #fff; }
.sitemap-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--bd-10); border-radius: var(--radius-card); }
.sitemap-card.family { background: var(--beige-100); }
.sitemap-card > .sm-head {
  align-self: flex-start;
  padding: 0 0 10px;
  border-bottom: 1.5px solid var(--green-800);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--green-800);
}
.sitemap-card .sm-links { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; align-items: flex-start; }
.sitemap-card .sm-links a { font-size: 13.5px; line-height: 1.5; color: var(--text-body); }
.sitemap-card .sm-links a:hover { color: var(--green-500); }

/* 헤더 중간 폭(1025–1200px)에서 간격만 살짝 축소 */
@media (max-width: 1200px) {
  .main-bar .wrap { gap: 16px; }
  .gnb { gap: 24px; }
}

/* =========================================================
   반응형 — 1024px 이하 모바일 값
   ========================================================= */
@media (max-width: 1024px) {
  :root { --sec-pad-y: 48px; --sec-pad-x: 20px; --block-gap: 44px; }

  .util-bar { display: none; }
  .main-bar .wrap { padding: 14px 20px; gap: 10px; }
  .brand-logo { padding: 0; flex: none; }
  .brand-logo .tagline { display: none; }
  .gnb, .header-cta { display: none; }
  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { padding: 40px 24px 34px; }
  .hero-axis, .hero-axis-line { display: none; }
  .hero-slide h1 { font-size: 34px; line-height: 1.25; }
  .hero-slide p { font-size: 14.5px; line-height: 1.75; }
  .hero-media { min-height: 260px; }

  .trust .wrap { grid-template-columns: 1fr 1fr; padding: 34px 20px; }

  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-photos > div { height: 170px; }

  .prod-head { flex-direction: column; align-items: flex-start; }

  .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .prod-card .thumb, .line-card .thumb { height: 120px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .flow-grid.card-grid.cols-3 { grid-template-columns: 1fr; }

  .brands-grid, .brand-two { grid-template-columns: 1fr; }
  .brand-card .photo { height: 240px; }

  .rnd-grid { grid-template-columns: 1fr; gap: 28px; }
  .rnd-cards { grid-template-columns: 1fr; }

  .cta-grid, .contact-cards { grid-template-columns: 1fr; }

  .h2, .page-head h1 { font-size: 26px; }
  .page-head h1 { font-size: 28px; line-height: 1.3; }
  .h3 { font-size: 20px; }

  .page-head { padding: 26px 20px 30px; }
  .sub-tabs { display: flex; }
  .sub-layout { grid-template-columns: 1fr; gap: 0; }
  .lnb { display: none; }

  .info-table .row { grid-template-columns: 108px 1fr; }
  .info-table .k, .info-table .v { padding: 13px 14px; }

  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-grid .intro-img { height: 200px; }
  .greeting-body p { line-height: 2.05; font-size: 14.5px; }

  .history-row { grid-template-columns: 64px 1fr; gap: 14px; }
  .history-era .era-name { font-size: 22px; line-height: 1.3; }

  .ci-box { height: 200px; }
  .sig-card .sig-view { height: 150px; }
  .swatch-grid { grid-template-columns: 1fr 1fr !important; }

  .cert-hero { grid-template-columns: 1fr; }
  .cert-hero .cert-body { padding: 24px; }
  .card-grid.haccp { grid-template-columns: 1fr 1fr; }
  .haccp-card .img { height: 150px; }

  .map-embed { height: 240px; }

  .brand-head { grid-template-columns: 1fr; gap: 28px; }
  .brand-head .logo-box { height: 140px; }

  .sitemap-grid { grid-template-columns: 1fr 1fr; }

  .site-footer { padding: 40px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .lnb { top: 0; }
}

@media (max-width: 560px) {
  .card-grid.cols-4, .card-grid.haccp { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: 1fr 1fr !important; }
}
