/*
  녹월 흑염소진액 프로모션 랜딩 (모바일 전용) — 리디자인2 hifi 구현.
  색 3톤(모래/그린잉크/테라코타). 컬럼 기본 중앙 정렬, 예외는 정보행·동의문·후기.
  섹션 헤더(키커+제목+바), 정보행(라벨/값 밑줄), 체크목록, CTA 3D 버튼 패턴.
*/

:root {
  --bg-outer: #ded0b6;
  --bg-1: #f5ead8;
  --bg-2: #f9f4ed;
  --ink: #272e1b;
  --text-body: #474238;
  --text-muted: #645c50;
  --accent-text: #8c491a;
  --btn-top: #c67139;
  --btn-mid: #b2622d;
  --btn-bottom: #9a5322;
  --btn-edge: #7e4116;
  --bar: #b2622d;
  --underline: #c67139;
  --price-hi: #FFB03A;
  --accent-light: #e8ae85;
  --gold: #ffd9b8;
  --on-dark: #f5ead8;
  --on-dark-1: #ded3c0;
  --on-dark-2: #d6cbb8;
  --on-dark-3: #c0b6a5;
  --on-dark-faint: #a19786;
  --divider: rgba(39, 46, 27, 0.11);
  --divider-dark: rgba(245, 234, 216, 0.22);
  --divider-hero: rgba(245, 234, 216, 0.16);
  --form-fill: rgba(39, 46, 27, 0.05);
  --error-fill: #ffe1d0;
  --field-border: rgba(32, 30, 29, 0.12);
  --maxw: 540px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-outer);
  color: #201e1d;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--accent-text); }
::selection { background: #ffe1d0; }

.page { width: 100%; min-height: 100%; background: var(--bg-outer); display: flex; justify-content: center; }
.column { width: 100%; max-width: var(--maxw); background: var(--bg-1); position: relative; text-align: center; box-shadow: 0 0 60px rgba(39, 46, 27, 0.18); }

.sec { padding: 38px 22px; }
.bg-1 { background: var(--bg-1); }
.bg-2 { background: var(--bg-2); }

/* ---------- 섹션 헤더 패턴 ---------- */
.kicker { font-size: 16.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--accent-text); text-align: center; margin-bottom: 10px; }
.stitle { font-size: clamp(27px, 7.8vw, 32px); line-height: 1.36; font-weight: 700; letter-spacing: -1px; color: var(--ink); text-align: center; margin-bottom: 14px; }
.stitle span { display: inline-block; }
.bar { display: block; width: 44px; height: 3px; margin: 0 auto 22px; border-radius: 999px; background: var(--bar); }
/* 다크 포토 섹션 헤더 */
.on-photo .kicker { color: var(--gold); text-shadow: 0 2px 14px rgba(16, 20, 11, 0.7); }
.on-photo .stitle { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.32; color: var(--on-dark); text-shadow: 0 2px 16px rgba(16, 20, 11, 0.7); }
.on-photo .bar { background: var(--accent-light); }

/* ---------- 정보 행 (라벨/값, 얇은 밑줄) ---------- */
.rows { display: flex; flex-direction: column; margin-bottom: 22px; }
/* minmax(0,1fr) + 값 nowrap = 값이 "생산 / 시설"처럼 두 줄로 접히는 것 방지 */
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.row:last-child { border-bottom: none; }
.row__k { font-size: 19px; color: var(--text-muted); letter-spacing: -0.4px; }
.row__v { font-size: 19px; font-weight: 700; color: var(--text-body); letter-spacing: -0.4px; text-align: right; white-space: nowrap; }
.row__v.is-long { font-size: 17.5px; } /* 긴 값(아침 공복 또는 식후 / 따뜻한 물에 데워서)만 한 단계 낮춤 */
.row__v.is-strike { font-weight: 400; color: var(--text-muted); text-decoration: line-through; }
/* 다크 포토 섹션 */
.rows--dark .row { border-color: var(--divider-dark); }
.rows--dark .row__k { font-size: 20px; color: var(--on-dark-1); }
.rows--dark .row__v { font-size: 21px; color: var(--on-dark); }
/* 히어로 구성표 */
.rows--hero .row { border-color: var(--divider-hero); }
.rows--hero .row__k { color: var(--on-dark-3); }
.rows--hero .row__v { color: var(--on-dark); }

/* ---------- 체크 목록 ---------- */
.chk-ic { flex: none; }
.check { display: flex; align-items: center; justify-content: center; gap: 12px; }
.check span { font-size: 19px; color: var(--text-muted); letter-spacing: -0.4px; }
.checkitem__t { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px; margin-bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.checkitem__d { font-size: 16.5px; line-height: 1.75; color: var(--text-muted); letter-spacing: -0.3px; }
/* 다크 버전 */
.on-photo .checkitem__t { font-size: 22px; color: var(--on-dark); letter-spacing: -0.5px; margin-bottom: 6px; }
.on-photo .checkitem__d { font-size: 18.5px; line-height: 1.7; color: var(--on-dark-2); }

/* ---------- CTA 버튼 ---------- */
@keyframes nwLift { 0%, 72%, 100% { transform: translateY(0); } 78% { transform: translateY(-6px); } 84% { transform: translateY(0); } 89% { transform: translateY(-3px); } }
@keyframes nwShine { 0% { transform: translateX(-120%) skewX(-18deg); } 34%, 100% { transform: translateX(320%) skewX(-18deg); } }
.nw-cta {
  position: relative; overflow: hidden; display: block; width: 100%; padding: 21px;
  border: none; border-top: 1px solid rgba(255, 255, 255, 0.34); border-radius: 999px;
  background: linear-gradient(180deg, #c67139 0%, #b2622d 42%, #9a5322 100%);
  color: #fff; font-family: inherit; font-size: clamp(18px, 5.2vw, 20px); font-weight: 800;
  letter-spacing: -0.4px; white-space: nowrap; text-align: center; text-shadow: 0 1px 2px rgba(70, 34, 8, 0.4);
  box-shadow: 0 7px 0 #7e4116, 0 14px 26px rgba(39, 46, 27, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -3px 8px rgba(90, 44, 12, 0.35);
  cursor: pointer; animation: nwLift 2.6s ease-in-out infinite;
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.18s ease;
}
.nw-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 36%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.46) 50%, transparent 100%);
  animation: nwShine 2.2s ease-in-out infinite; pointer-events: none;
}
.nw-cta:hover { filter: brightness(1.06); box-shadow: 0 7px 0 #7e4116, 0 18px 32px rgba(39, 46, 27, 0.34), inset 0 2px 0 rgba(255, 255, 255, 0.32), inset 0 -3px 8px rgba(90, 44, 12, 0.3); }
.nw-cta:active { transform: translateY(6px); animation: none; box-shadow: 0 1px 0 #6d3813, 0 4px 10px rgba(39, 46, 27, 0.26), inset 0 2px 6px rgba(90, 44, 12, 0.45); }
.nw-cta:focus-visible { outline: 2px solid #b2622d; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .nw-cta, .nw-cta::before { animation: none !important; } }

/* ---------- 0. 상단 sticky 띠배너 ---------- */
.topbar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: var(--ink); cursor: pointer; }
.topbar__deal { flex: none; font-size: clamp(16.5px, 4.7vw, 19px); font-weight: 700; color: var(--on-dark); letter-spacing: -0.4px; white-space: nowrap; }
.topbar__time { flex: none; font-size: clamp(15px, 4.2vw, 16.5px); font-weight: 600; color: var(--on-dark-faint); letter-spacing: -0.3px; white-space: nowrap; }

/* ---------- 2. 히어로 (다크 포토 + 가격블록) ---------- */
.hero { background: var(--ink); }
.hero__photo { position: relative; width: 100%; aspect-ratio: 5 / 6; overflow: hidden; }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24, 29, 17, 0.62) 0%, rgba(24, 29, 17, 0.3) 16%, rgba(24, 29, 17, 0.06) 32%, rgba(24, 29, 17, 0.58) 64%, #272e1b 100%); }
/* 브랜드 마크 — 히어로 이미지 좌상단 구석에(가운데 인물 얼굴을 가리지 않게). 로고는 흰색 반전. */
.hero__brand { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 18px 22px 0; text-align: left; }
.hero__brand-logo { height: 36px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(16, 20, 11, 0.75)); }
.hero__brand-farm { font-size: 15px; font-weight: 600; color: #e6dccb; letter-spacing: 0.4px; text-shadow: 0 1px 10px rgba(16, 20, 11, 0.8); }
.hero__h1wrap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 22px 24px; }
.hero__h1 { color: var(--on-dark); text-align: center; text-shadow: 0 2px 20px rgba(20, 24, 14, 0.55); line-height: 1.34; font-weight: 700; letter-spacing: -1px; }
.hero__h1 .l1 { display: inline-block; font-size: clamp(31px, 9.2vw, 60px); }
.hero__h1 .l2 { display: inline-block; font-size: clamp(28px, 8.4vw, 55px); }
.hero__body { padding: 24px 22px 38px; }

.hero__checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.hero__checks .check span { font-size: 19px; color: var(--on-dark-3); }

.price { text-align: center; margin-bottom: 26px; }
.price__label { font-size: 16.5px; color: var(--on-dark-faint); letter-spacing: -0.2px; margin-bottom: 12px; }
.price__was { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.price__was s { font-size: 19px; color: var(--on-dark-faint); }
.price__badge { padding: 5px 12px; border-radius: 999px; background: var(--accent-text); color: #fff; font-size: 19px; font-weight: 800; }
.price__big { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.price__num { display: inline-block; font-size: clamp(56px, 15.8vw, 74px); line-height: 0.9; font-weight: 800; letter-spacing: -3.4px; color: var(--price-hi); padding-bottom: 9px; border-bottom: 5px solid var(--underline); }
.price__won { font-size: 26px; font-weight: 800; color: var(--gold); padding-bottom: 15px; }

.gauge { margin-bottom: 24px; }
.gauge__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; text-align: left; margin-bottom: 10px; }
.gauge__row .row__k { font-size: 19px; color: var(--on-dark-3); }
.gauge__row .row__v { font-size: 19px; font-weight: 700; color: var(--on-dark); text-align: right; white-space: nowrap; }
.gauge__track { height: 10px; border-radius: 999px; background: rgba(245, 234, 216, 0.14); overflow: hidden; }
.gauge__fill { height: 100%; border-radius: 999px; background: var(--underline); width: 0; transition: width 0.5s ease; }

.hero__reassure { margin-top: 14px; font-size: 16.5px; color: var(--on-dark-faint); letter-spacing: -0.3px; text-align: center; }

/* ---------- 3. 가격 비교 ---------- */
.media { width: 100%; border-radius: 20px; overflow: hidden; }
.media--43 { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.media > img { width: 100%; height: 100%; object-fit: cover; }

.deal-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px; margin-top: 12px; border-radius: 16px; background: var(--ink); }
.deal-row__k { font-size: clamp(17px, 4.8vw, 19px); font-weight: 700; color: var(--on-dark); letter-spacing: -0.4px; white-space: nowrap; }
.deal-row__v { font-size: clamp(21px, 6vw, 26px); font-weight: 800; color: var(--gold); letter-spacing: -0.7px; white-space: nowrap; text-align: right; }

.pricediff { line-height: 1.5; font-weight: 800; color: var(--accent-text); letter-spacing: -0.7px; text-align: center; margin-bottom: 26px; }
.pricediff span { display: inline-block; }
.pricediff .d1 { font-size: clamp(20px, 5.8vw, 30px); }
.pricediff .d2 { font-size: clamp(23px, 6.7vw, 35px); }

.footnote { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--text-muted); letter-spacing: -0.3px; }

/* ---------- 4. 제품과 성분 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.duo .media { border-radius: 20px; aspect-ratio: 1 / 1; }
.prod-list { display: flex; flex-direction: column; gap: 18px; }

/* ---------- 접힘 토글 (알약 버튼) ----------
   래퍼(.disc)에는 테두리·패딩 없음 — 버튼 자체가 경계다. */
.disc { }
.nw-toggle {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px;
  border: 1.5px solid rgba(140, 73, 26, 0.4); background: rgba(255, 255, 255, 0.72);
  color: var(--accent-text);
  font-size: 17px; font-weight: 700; letter-spacing: -0.4px; text-align: center;
  cursor: pointer; list-style: none;
}
.nw-toggle::-webkit-details-marker { display: none; }
.nw-toggle::marker { content: ""; }
.nw-toggle:hover { filter: brightness(0.97); }
.nw-toggle .chev { flex: none; width: 18px; height: 18px; stroke: currentColor; transition: transform 0.22s ease; }
details[open] > .nw-toggle .chev { transform: rotate(180deg); }
/* 다크 포토 섹션 버전 */
.on-photo .nw-toggle { border-color: rgba(255, 217, 184, 0.5); background: rgba(245, 234, 216, 0.09); color: var(--gold); }
.disc__strip { border-radius: 20px; overflow: hidden; margin-top: 16px; font-size: 0; }
.disc__strip img { width: 100%; height: auto; display: block; }

/* ---------- 5. 타깃 (사진 밴드 + 밝은 지면) ---------- */
.photoband { position: relative; width: 100%; overflow: hidden; }
.photoband--wide { aspect-ratio: 16 / 10; }
.photoband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photoband__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(245, 234, 216, 0) 62%, rgba(245, 234, 216, 0.72) 84%, #f5ead8 100%); }
.sec-target { background: var(--bg-1); }
.sec-target__body { padding: 10px 22px 38px; }
.sec-target .stitle { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.32; }
.wholist { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-bottom: 20px; text-align: left; }
.wholist__item { display: flex; align-items: flex-start; gap: 13px; }
.wholist__item svg { margin-top: 5px; }
.wholist__item p { font-size: 21px; line-height: 1.65; color: var(--ink); font-weight: 600; letter-spacing: -0.4px; }
.disclaimer { font-size: 17.5px; line-height: 1.7; color: #4a4437; letter-spacing: -0.3px; }

/* ---------- 6·7. 다크 포토 섹션 ---------- */
.sec-photo { position: relative; overflow: hidden; padding: 38px 22px; background: var(--ink); }
.sec-photo__bg { position: absolute; inset: 0; pointer-events: none; }
.sec-photo__bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-photo__bg .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 29, 17, 0.93) 0%, rgba(24, 29, 17, 0.74) 26%, rgba(24, 29, 17, 0.74) 74%, rgba(24, 29, 17, 0.93) 100%); }
.sec-photo__inner { position: relative; }
.checklist { display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.brand-p { font-size: 21px; line-height: 1.7; color: var(--on-dark); letter-spacing: -0.4px; margin-bottom: 14px; }
.brand-p span { display: inline-block; }
.brand-p:last-of-type { margin-bottom: 26px; }

/* ---------- 8. 후기 ---------- */
.reviews-sub { font-size: 16.5px; color: var(--text-muted); letter-spacing: -0.3px; text-align: center; margin-bottom: 22px; }
.reviews { display: flex; flex-direction: column; gap: 22px; }
.review { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
.review__ava { flex: none; width: 64px; height: 64px; border-radius: 999px; overflow: hidden; }
.review__ava img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-size: 17.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px; }
.review__name .stars { font-weight: 400; color: var(--accent-text); letter-spacing: 1px; }
.review__text { margin-top: 5px; font-size: 18px; line-height: 1.7; color: var(--text-body); letter-spacing: -0.4px; }

/* ---------- 9. 섭취 (GIF) ---------- */
.media--gif { aspect-ratio: 848 / 542; border-radius: 20px; }

/* ---------- 10. FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq .disc { padding: 20px 0 0; }
.faq .disc p { margin-top: 10px; font-size: 16.5px; line-height: 1.75; color: var(--text-muted); letter-spacing: -0.3px; text-align: left; }

/* ---------- 11. 폼 ---------- */
/* 폼은 모바일 한 화면에 들어와야 해서 치수를 조였습니다 — 키우지 마세요.
   폼 내부·접힘 토글만 본문(19px)보다 한 단계 낮은 위계입니다
   (토글 18 / 입력 17.5 / 라벨·라디오 16.5 / 동의 15). 한 화면에 담기 위한 의도적 조정. */
.sec-formc { padding: 30px 22px 34px; }
.form-lead { font-size: 17px; line-height: 1.65; color: var(--text-muted); letter-spacing: -0.4px; text-align: center; margin-bottom: 16px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: 24px; background: var(--form-fill); }
.field { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.field label, .field__label { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.field input[type="text"], .field input[type="tel"] { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--field-border); border-radius: 999px; background: #fff; font-family: inherit; font-size: 17.5px; text-align: center; color: #201e1d; outline: none; }
.field input::placeholder { color: #a6a093; }
.field input:focus { border-color: var(--underline); }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; padding: 0 12px; border: 1px solid var(--field-border); border-radius: 999px; background: #fff; font-size: 16.5px; color: var(--text-body); cursor: pointer; }
.radio input { accent-color: var(--underline); }
.radio:hover, .radio:focus-within { border-color: var(--underline); }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.6; color: var(--text-muted); letter-spacing: -0.3px; text-align: left; cursor: pointer; }
.consent input { accent-color: var(--underline); margin: 4px 0 0; flex: none; }
.form-error { padding: 11px 16px; border-radius: 14px; background: var(--error-fill); color: var(--accent-text); font-size: 16.5px; font-weight: 700; letter-spacing: -0.3px; text-align: left; }
/* 제출 버튼만 다른 CTA(21px)보다 압축 */
.nw-cta--form { padding: 18px; margin-top: 4px; }
.form-success { padding: 36px 22px; border-radius: 24px; background: var(--ink); text-align: center; }
.form-success__t { font-size: 26px; font-weight: 800; color: var(--gold); letter-spacing: -0.7px; margin-bottom: 10px; }
.form-success p { font-size: 19px; line-height: 1.8; color: var(--on-dark-3); letter-spacing: -0.4px; }

/* ---------- 12. 푸터 ---------- */
.footer { padding: 34px 22px 148px; background: var(--ink); }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer__chip { display: flex; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--bg-1); }
.footer__chip img { height: 24px; width: auto; }
.footer__brand > span { font-size: 16.5px; color: var(--on-dark-faint); letter-spacing: -0.3px; }
.footer__biz { font-size: 16.5px; line-height: 1.8; color: var(--on-dark-faint); letter-spacing: -0.2px; }
.footer__copy { margin-top: 12px; font-size: 16.5px; color: var(--on-dark-faint); }

/* ---------- 13. 하단 고정 바 ---------- */
.fixbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; pointer-events: none; }
.fixbar__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 12px 22px 16px; background: rgba(249, 244, 237, 0.96); backdrop-filter: blur(10px); pointer-events: auto; }
.fixbar__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; text-align: left; margin-bottom: 10px; }
.fixbar__k { font-size: 16.5px; color: var(--text-muted); letter-spacing: -0.3px; }
.fixbar__v { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px; text-align: right; white-space: nowrap; }
