/* ============ 기본 변수 / 리셋 ============ */
:root {
  --amber: #f5a623;
  --amber-dark: #d98a00;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --gray: #6b6b6b;
  --line: #e8e8e8;
  --bg-soft: #faf7f0;
  --kakao: #fee500;
  --kakao-ink: #3c1e1e;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 스크롤 등장 애니메이션 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* 하단 고정바 공간 */
}

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

/* ============ 공통 ============ */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn--call {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.4);
}
.btn--kakao {
  background: var(--kakao);
  color: var(--kakao-ink);
}

/* ============ 히어로 ============ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 16, 8, 0.5), rgba(20, 16, 8, 0.78)),
              url("images/work11.jpg");
  background-size: cover;
  background-position: center 30%;
  padding: 96px 22px 52px;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 166, 35, 0.18), transparent 60%),
              rgba(0, 0, 0, 0.35);
}
.hero__inner { position: relative; z-index: 1; max-width: 560px; }
.hero__brand {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__logo { width: 46px; height: 46px; }
.hero__brandtext {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #fff;
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero__brandtext em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: var(--amber);
}
.hero__badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.95);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero__title span { color: var(--amber); }
.hero__sub {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 18px 0 30px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 22px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============ 신뢰 배지 ============ */
.trust {
  background: var(--ink);
  padding: 26px 18px;
}
.trust__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.trust__list li { color: #fff; }
.trust__list strong {
  display: block;
  color: var(--amber);
  font-size: 1.05rem;
  font-weight: 800;
}
.trust__list span {
  font-size: 0.78rem;
  color: #bdbdbd;
}

/* ============ 대표 소개 ============ */
.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 22px;
  display: grid;
  gap: 24px;
}
.intro__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 420px;
}
.intro__title { text-align: left; }
.intro__body p { color: var(--ink-soft); margin-bottom: 12px; }
.intro__lead { color: var(--ink) !important; font-size: 1.08rem; font-weight: 700; }
.intro__highlights { list-style: none; margin: 20px 0 14px; display: grid; gap: 8px; }
.intro__highlights li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.intro__highlights strong { color: var(--amber-dark); }
.intro__sign { margin-top: 14px; color: var(--gray); font-size: 0.95rem; }
.intro__sign strong { color: var(--ink); }
@media (min-width: 768px) {
  .intro {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 36px;
  }
}

/* ============ 서비스 ============ */
.services {
  padding: 56px 22px;
  max-width: 720px;
  margin: 0 auto;
}
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.service--main {
  background: var(--bg-soft);
  border-color: var(--amber);
}
.service__icon { font-size: 2.4rem; }
.service h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 8px 0 12px;
}
.service--sub h3 { font-size: 1.15rem; }
.service p { color: var(--ink-soft); }
.tag {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--amber);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}
.tag--sub { background: var(--gray); }
.service__points {
  list-style: none;
  margin-top: 16px;
}
.service__points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.service__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-weight: 800;
}

/* ============ 작업 과정 ============ */
.process {
  background: var(--bg-soft);
  padding: 56px 22px;
}
.process__steps {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.process__steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.process h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.process p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============ 갤러리 ============ */
.gallery { padding: 56px 22px; max-width: 720px; margin: 0 auto; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery__item {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #f0ece2;
}

/* ============ 방송 출연 ============ */
.broadcast { padding: 56px 22px; max-width: 820px; margin: 0 auto; }
.broadcast__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.broadcast__badges li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}
.broadcast__badges li span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
}
.broadcast__videos { display: grid; gap: 18px; }
@media (min-width: 768px) {
  .broadcast__videos { grid-template-columns: 1fr 1fr; }
}
.yt { margin: 0; }
.yt figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.lite-yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.lite-yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}
.lite-yt:hover::after { background: rgba(0, 0, 0, 0.03); }
.lite-yt__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: rgba(229, 9, 20, 0.92);
  cursor: pointer;
  z-index: 1;
}
.lite-yt__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.lite-yt--active { cursor: default; }
.lite-yt--active::after { display: none; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ 상품 (담금주 · 건강식품) ============ */
.products { background: var(--bg-soft); padding: 56px 22px; }
.products__grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.product__icon { font-size: 2.4rem; }
.product h3 { font-size: 1.2rem; font-weight: 800; margin: 6px 0 10px; }
.product p { color: var(--ink-soft); font-size: 0.95rem; }
.products__note {
  text-align: center;
  color: var(--gray);
  font-size: 0.92rem;
  margin: 22px 0 16px;
}
.products__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ 연락처 ============ */
.contact { padding: 56px 22px; max-width: 560px; margin: 0 auto; }
.contact__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 12px;
}
.contact__name { font-weight: 800; font-size: 1.2rem; }
.contact__phone {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--amber-dark);
  text-decoration: none;
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
}
.contact__info {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 22px;
}
.contact__info li { margin-bottom: 8px; color: var(--ink-soft); font-size: 0.95rem; }
.contact__info strong { display: inline-block; width: 74px; color: var(--ink); }
.contact__cta { display: flex; gap: 12px; justify-content: center; }

/* ============ 푸터 ============ */
.footer {
  background: var(--ink);
  color: #bdbdbd;
  padding: 30px 22px;
  font-size: 0.88rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.footer__logo { width: 64px; height: 64px; flex-shrink: 0; }
.footer__text p { margin: 2px 0; }
.footer__brand { color: #fff; font-weight: 700; }
.footer a { color: var(--amber); text-decoration: none; }
.footer__copy { margin-top: 8px !important; opacity: 0.6; font-size: 0.78rem; }

/* ============ 모바일 하단 고정 바 ============ */
.stickybar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}
.stickybar a {
  flex: 1;
  text-align: center;
  padding: 18px 8px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
}
.stickybar__call { background: var(--amber); color: #fff; }
.stickybar__kakao { background: var(--kakao); color: var(--kakao-ink); }

/* ============ 데스크탑 대응 ============ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .stickybar { display: none; }
  .gallery__grid { gap: 14px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.5rem; }
  .trust__list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process__steps { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 갤러리 확대 라이트박스 ============ */
.gallery__item { cursor: zoom-in; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.gallery__item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
body.no-scroll { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.93);
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox__cap { color: #eaeaea; font-size: 0.95rem; text-align: center; max-width: 90vw; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.3); }
@media (max-width: 480px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
}
