:root {
  /* 로고 색상 기반 팔레트 */
  --green-900: #0e5c2e;
  --green-700: #157a3c;
  --green-500: #1e9c4a;
  --green-300: #43b86a;
  --navy-900: #1c2b38;
  --navy-700: #2c3e50;
  --navy-500: #3d5468;
  --ivory: #faf7f0;
  --cream: #f3eee2;
  --gold: #c7a24b;
  --ink: #1e2a33;
  --muted: #5c6b73;
  --line: #e6e1d4;
  --white: #ffffff;

  --container: 1160px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(28, 43, 56, 0.10);
  --font-ko: 'Noto Sans KR', system-ui, sans-serif;
  --font-serif: 'Gowun Batang', 'Noto Sans KR', serif;
  --font-en: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-ko);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--green-500);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 22px; height: 1.5px;
  background: var(--gold);
  vertical-align: middle;
  margin: -2px 10px 0 0;
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.section__desc { margin-top: 14px; color: var(--muted); font-size: 16px; }
.section__head--light .section__title,
.section__head--light .section__desc { color: var(--ivory); }
.section__head--light .section__desc { color: rgba(250, 247, 240, .8); }

.section { padding: 72px 0; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16px; }
.btn--primary { background: var(--green-500); color: var(--white); box-shadow: 0 10px 24px rgba(30, 156, 74, .28); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); }
.btn--navy { background: var(--navy-700); color: var(--white); box-shadow: 0 10px 24px rgba(28, 43, 56, .22); }
.btn--navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

/* ---------- 네비 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav--solid { background: rgba(250, 247, 240, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; object-fit: contain; }
.brand__name { font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--navy-900); }
.nav--solid .brand__name { color: var(--navy-900); }
.nav:not(.nav--solid) .brand__name { color: var(--white); }
.brand__name--light { color: var(--ivory); }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a { font-weight: 500; font-size: 15px; color: var(--navy-900); transition: color .2s; }
.nav:not(.nav--solid) .nav__menu a { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.nav__menu a:hover { color: var(--green-500); }
.nav__cta {
  padding: 9px 20px; border-radius: 999px; background: var(--green-500);
  color: var(--white) !important; text-shadow: none !important; font-weight: 700;
}
.nav__cta:hover { background: var(--green-700); }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; line-height: 0; padding: 4px; }
.nav__toggle svg { width: 26px; height: 26px; display: block; }
.nav--solid .nav__toggle { color: var(--navy-900); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14, 92, 46, .82) 0%, rgba(28, 43, 56, .72) 55%, rgba(28, 43, 56, .45) 100%); }
.hero__content { position: relative; color: var(--white); padding-top: 80px; padding-bottom: 60px; }
.hero__eyebrow { font-family: var(--font-en); font-style: italic; font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.hero__title { font-family: var(--font-serif); font-size: clamp(40px, 9vw, 78px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.hero__subtitle { margin-top: 16px; font-size: clamp(18px, 3vw, 24px); font-weight: 600; color: rgba(255,255,255,.95); letter-spacing: -.01em; }
.hero__lead { margin-top: 16px; font-size: clamp(15px, 2.4vw, 19px); max-width: 640px; color: rgba(255,255,255,.86); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); line-height: 0; animation: bob 1.8s ease-in-out infinite; }
.hero__scroll svg { width: 28px; height: 28px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 신뢰 띠 ---------- */
.trustbar { background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%); color: var(--ivory); padding: 28px 0; }
.trustbar__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 0; text-align: center; }
.trustbar__item { padding: 0 10px; }
.trustbar__item strong { display: block; font-family: var(--font-en); font-weight: 800; font-size: 25px; line-height: 1; color: var(--white); letter-spacing: -.01em; }
.trustbar__item strong em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold); margin-left: 3px; }
.trustbar__item span { display: block; margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* ---------- 그리드 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* ---------- 강점 카드 ---------- */
.strength { background: var(--ivory); }
.card-plain { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.card-plain:hover { transform: translateY(-4px); box-shadow: 0 24px 46px rgba(28,43,56,.13); }
.card-plain__num { display: block; font-family: var(--font-en); font-weight: 800; color: var(--gold); font-size: 42px; line-height: 1; letter-spacing: -.02em; margin-bottom: 16px; }
.card-plain h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy-900); }
.card-plain p { color: var(--muted); font-size: 15px; }

/* ---------- 작물 컬렉션 ---------- */
.collection { background: var(--cream); }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.product:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(28,43,56,.16); }
.product__media { aspect-ratio: 4 / 3; background-color: var(--cream); position: relative; overflow: hidden; }
.product__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.45s ease; }
.product__slide.is-active { opacity: 1; }
.product__body { padding: 22px 22px 26px; }
.product__cat { display: inline-block; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); background: rgba(30,156,74,.10); padding: 4px 10px; border-radius: 999px; }
.product__name { margin: 12px 0 8px; font-size: 19px; color: var(--navy-900); line-height: 1.4; }
.product__name em { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 2px; }
.product__body p { color: var(--muted); font-size: 14.5px; }
.product__carousel { position: relative; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.82); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; line-height: 1; color: var(--navy-900); z-index: 2; transition: background .2s, opacity .2s; opacity: 0; }
.product__carousel:hover .carousel__btn { opacity: 1; }
.carousel__btn:hover { background: var(--white); }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.carousel__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s; }
.carousel__dot--active { background: var(--white); }

/* ---------- 셰프 플레이팅 ---------- */
.plating { background: var(--navy-900); }
.plating-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.plating-slider__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease; }
.plating-slider__slide.is-active { opacity: 1; }
.plating-slider__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: var(--white); z-index: 2; transition: background .2s; }
.plating-slider__btn:hover { background: rgba(255,255,255,.28); }
.plating-slider__btn--prev { left: 16px; }
.plating-slider__btn--next { right: 16px; }
.plating-slider__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.plating-slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; }
.plating-slider__dot--active { background: var(--white); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 14px; }
.gallery__item { border-radius: var(--radius); background-color: var(--navy-700); background-size: cover; background-position: center; transition: transform .4s ease; }
.gallery__item:hover { transform: scale(.98); filter: brightness(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- 농장 스토리 ---------- */
.farm { background: var(--ivory); }
.split { display: grid; gap: 32px; align-items: center; }
.split__media { aspect-ratio: 4 / 3; border-radius: var(--radius); background-color: var(--green-900); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.split__text .section__title { text-align: left; }
.split__text p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy-700); }
.checklist li::before { content: '✓'; flex-shrink: 0; color: var(--white); background: var(--green-500); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; display: grid; place-items: center; }
.pkg-link { background: none; border: none; cursor: pointer; color: var(--green-500); font-family: var(--font-ko); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 0; margin-top: 20px; display: inline-block; transition: color .2s; }
.pkg-link:hover { color: var(--green-700); }
.pkg-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pkg-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.pkg-modal__box { position: relative; z-index: 1; width: 100%; max-width: 560px; background: var(--ivory); border-radius: 18px; padding: 40px 32px 28px; }
.pkg-modal__close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px; transition: color .2s; }
.pkg-modal__close:hover { color: var(--navy-900); }
.pkg-modal__eyebrow { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); margin-bottom: 16px; }
.pkg-modal__viewer { background: var(--cream); border-radius: 12px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pkg-modal__img { max-width: 85%; max-height: 85%; object-fit: contain; }
.pkg-modal__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.pkg-modal__btn { background: none; border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: var(--navy-900); transition: background .2s; }
.pkg-modal__btn:hover { background: var(--cream); }
.pkg-modal__dots { display: flex; gap: 6px; align-items: center; }
.pkg-modal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s; }
.pkg-modal__dot--active { background: var(--green-500); }
.pkg-modal__count { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- B2B ---------- */
.b2b { background: linear-gradient(160deg, var(--green-900), var(--navy-900)); color: var(--ivory); }
.b2b__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.b2b__card h3 { font-size: 19px; margin-bottom: 8px; color: var(--white); }
.b2b__card p { color: rgba(250,247,240,.78); font-size: 15px; }
.b2b__cta { margin-top: 44px; text-align: center; }
.b2b__cta p { margin-bottom: 18px; color: rgba(250,247,240,.9); font-size: 17px; }

/* B2B 실적 수치 */
.stats { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
.stat { text-align: center; padding: 26px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.stat__num { display: block; font-family: var(--font-en); font-weight: 800; font-size: clamp(34px, 7vw, 46px); line-height: 1; color: var(--white); letter-spacing: -.02em; }
.stat__num em { font-style: normal; font-size: 16px; font-weight: 600; color: var(--green-300); margin-left: 4px; }
.stat__label { display: block; margin-top: 10px; font-size: 14px; color: rgba(250,247,240,.72); }
.stats__breakdown { text-align: center; color: rgba(250,247,240,.7); font-size: 14px; margin-bottom: 8px; }
.trust-badge {
  display: inline-block; margin-bottom: 22px !important; text-align: center;
  font-family: var(--font-en); font-size: 14px; font-weight: 600;
  color: var(--green-300) !important; letter-spacing: .01em; line-height: 1.5;
  padding: 8px 18px; border: 1px solid rgba(67,184,106,.4); border-radius: 999px;
}
.trust-badge strong { color: var(--white); }
.trust-badge__part:not(:last-child)::after { content: ' · '; }

/* ---------- 문의 ---------- */
.contact { background: var(--cream); text-align: center; }
.contact__inner { max-width: 720px; margin: 0 auto; }
.contact__title { font-family: var(--font-serif); font-size: clamp(26px, 5vw, 40px); font-weight: 700; color: var(--navy-900); line-height: 1.35; margin-bottom: 30px; letter-spacing: -.01em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy-900); color: rgba(250,247,240,.82); padding-top: 56px; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer__brandtop { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer__logo { width: 38px; height: 38px; object-fit: contain; }
.footer__tag { font-family: var(--font-en); color: var(--green-300); font-weight: 600; margin-top: 4px; }
.footer__slogan { margin-top: 10px; font-size: 14px; color: rgba(250,247,240,.6); }
.footer__info h4 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.footer__info p { font-size: 14px; margin-bottom: 4px; }
.footer__info a { color: var(--green-300); }
.footer__map iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius); filter: grayscale(.2); }
.footer__maplink { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--green-300); }
.footer__maplink:hover { text-decoration: underline; }
.footer__bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(250,247,240,.5); }

/* ---------- 연락처 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28, 43, 56, .55); backdrop-filter: blur(2px); }
.modal__card { position: relative; width: 100%; max-width: 380px; background: var(--white); border-radius: 18px; padding: 36px 28px 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); text-align: center; }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--muted); cursor: pointer; line-height: 0; padding: 6px; }
.modal__close svg { width: 22px; height: 22px; }
.modal__title { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; letter-spacing: -.01em; }
.modal__desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal__row { display: flex; align-items: center; gap: 10px; padding: 14px 2px; border-top: 1px solid var(--line); text-align: left; }
.modal__row:last-of-type { border-bottom: 1px solid var(--line); }
.modal__label { font-size: 13px; color: var(--muted); width: 42px; flex-shrink: 0; }
.modal__value { flex: 1; font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--navy-900); word-break: break-all; }
.modal__copy { flex-shrink: 0; background: rgba(30, 156, 74, .1); color: var(--green-700); border: 0; border-radius: 8px; padding: 8px 13px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font-ko); transition: background .2s; }
.modal__copy:hover { background: rgba(30, 156, 74, .2); }
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 110; background: var(--navy-900); color: var(--white); padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }

/* ---------- 등장 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 767px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); padding: 8px 0; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu a { color: var(--navy-900) !important; text-shadow: none !important; padding: 14px 22px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 10px 22px; text-align: center; }
  .trust-badge { border-radius: 16px; padding: 10px 20px; }
  .trust-badge__part { display: block; }
  .trust-badge__part:not(:last-child)::after { content: none; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .trustbar__inner { grid-template-columns: repeat(4, 1fr); }
  .trustbar__item strong { font-size: 29px; }
  .trustbar__item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .3); }
  .gallery { grid-auto-rows: 220px; }
  .split { grid-template-columns: 1fr 1fr; gap: 54px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.1fr; }
  .footer { padding-top: 70px; }
}

@media (min-width: 1024px) {
  .gallery { grid-auto-rows: 250px; }
}
