@import url("https://hangeul.pstatic.net/hangeul_static/css/nanum-square-round.css");

:root {
  --green: #00A04A; --green-bright: #00C853; --green-bg: #F6FAF7;
  --green-soft: #E4F3E9; --ink: #12241A; --ink-soft: #5D7867;
  --blue: #0F4C9C; --white: #fff; --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "NanumSquareRound", -apple-system, "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.65; word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--green-soft); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 2px; }
.logo img { height: 26px; }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--green); }
.nav .btn { padding: 8px 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* 버튼 */
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 800;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 16px;
  transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,160,74,.3); }
.btn-dark { background: var(--ink); color: var(--green-bright); }
.btn-outline { background: #fff; color: var(--green); border: 2px solid var(--green); }

/* 섹션 */
.section { padding: 88px 0; scroll-margin-top: 64px; }
.section-alt { background: var(--green-bg); }
.section-label { color: var(--green); font-weight: 800; letter-spacing: 3px; font-size: 13px;
  text-transform: uppercase; margin-bottom: 12px; }
.section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
.section .lead { color: var(--ink-soft); font-size: 17px; max-width: 640px; }

/* 히어로 — 풀스크린 영상 배경 */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 60px);
  display: flex; align-items: center; padding: 72px 0; background: #0a1810; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,19,12,.76) 0%, rgba(6,19,12,.62) 45%, rgba(6,19,12,.84) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-weight: 800;
  font-size: 14px; letter-spacing: 1px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.5); margin-bottom: 20px; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.3; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero h1 .accent { color: var(--green-bright); }
.hero .sub { color: #dcebe1; font-size: clamp(16px, 2.2vw, 19px); margin: 20px 0 30px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero .store-badges { justify-content: center; }
.hero-proof { margin-top: 20px; font-size: 14px; font-weight: 700; color: #b9d2c2; }
.hero-float { position: absolute; font-size: 30px; opacity: .85; animation: heroFloat 5s ease-in-out infinite; pointer-events: none; }
.hero-float.f1 { top: 14%; right: 6%; animation-delay: 0s; }
.hero-float.f2 { bottom: 20%; right: 40%; animation-delay: 1.6s; font-size: 24px; }
.hero-float.f3 { top: 24%; left: 55%; animation-delay: 3.2s; font-size: 26px; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}
.btn-pulse { animation: btnPulse 2.4s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,160,74,.35); }
  55% { box-shadow: 0 0 0 12px rgba(0,160,74,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float, .btn-pulse { animation: none; }
}
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

/* 카드·그리드 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pull-quote { margin: 48px auto 0; max-width: 620px; text-align: center; font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800; line-height: 1.55; color: var(--ink); }
.pull-quote em { font-style: normal; color: var(--green); }
.card { background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: 0 4px 24px rgba(18,36,26,.06); }
.card .emoji { font-size: 38px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.step-num { display: inline-block; background: var(--green); color: #fff; font-weight: 800;
  width: 28px; height: 28px; border-radius: 50%; text-align: center; line-height: 28px;
  font-size: 14px; margin-bottom: 12px; }

/* 사례 */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.case-card { border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 4px 24px rgba(18,36,26,.08); }
.case-card img { width: 100%; height: 210px; object-fit: cover; }
.case-card .body { padding: 20px 22px; }
.case-card h3 { font-size: 18px; }
.case-card p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

/* 사례 갤러리 팝업 */
.case-clickable { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.case-clickable:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(18,36,26,.14); }
.case-more { display: inline-block; margin-top: 10px; color: var(--green); font-size: 13px; font-weight: 800; }
.case-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.case-modal[hidden] { display: none; }
.case-modal-backdrop { position: absolute; inset: 0; background: rgba(6,19,12,.82); }
.case-modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 780px;
  width: calc(100% - 32px); max-height: 92vh; overflow-y: auto; padding: 20px 24px 28px; }
.cm-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 22px;
  cursor: pointer; color: var(--ink-soft); z-index: 2; }
.cm-stage { position: relative; margin-top: 14px; }
.cm-img { width: 100%; max-height: 56vh; object-fit: contain; border-radius: 10px; background: #0a1810; }
.cm-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92);
  border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; font-weight: 800;
  cursor: pointer; color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.cm-prev { left: 10px; } .cm-next { right: 10px; }
.cm-nav[disabled] { opacity: 0; pointer-events: none; }
.cm-counter { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 8px; font-weight: 700; }
.case-modal h3 { font-size: 20px; margin-top: 14px; }
.cm-desc { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* SNS — 유튜브·인스타 각각 한 줄씩 (임베드 높이가 달라 섞으면 그리드가 엉킴) */
.sns-sub { font-size: 15px; font-weight: 800; color: var(--ink-soft); letter-spacing: 1px;
  margin: 44px 0 16px; }
.sns-sub:first-of-type { margin-top: 40px; }
.sns-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
  align-items: start; }
.yt-embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.yt-embed iframe { width: 100%; height: 100%; border: 0; }
.insta-row .instagram-media { margin: 0 !important; min-width: 0 !important; }

/* CTA 밴드 */
.cta-band { background: linear-gradient(150deg, #00B04F, #00953F); color: #fff; text-align: center; padding: 88px 0;
  scroll-margin-top: 64px; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 24px; }

/* 푸터 */
.site-footer { background: var(--ink); color: #9DB3A5; padding: 48px 0 36px; font-size: 14px; }
.site-footer a:hover { color: var(--green-bright); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; font-weight: 700; }
.footer-sns { display: flex; gap: 14px; margin: 14px 0; flex-wrap: wrap; }
.footer-sns a { border: 1px solid #33513F; padding: 5px 14px; border-radius: 999px; font-size: 13px; }

/* 가이드 */
.faq-item { border-bottom: 1px solid var(--green-soft); padding: 26px 0; }
.faq-item h3 { font-size: 18px; color: var(--green); margin-bottom: 12px; }
.faq-item ul, .safety-list { list-style: none; }
.faq-item li, .safety-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-soft); font-size: 15px; }
.faq-item li::before, .safety-list li::before { content: "·"; position: absolute; left: 6px; color: var(--green); font-weight: 800; }
.safety-list { margin-top: 28px; }

/* 제휴 상점 */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.store-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 24px rgba(18,36,26,.07); }
.store-card img { width: 100%; height: 150px; object-fit: cover; }
.store-card .body { padding: 18px 20px; }
.store-card .cat { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 12px;
  font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.store-card h3 { font-size: 17px; }
.store-card .addr { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.store-card .benefit { color: var(--green); font-size: 14px; font-weight: 700; margin-top: 8px; }

/* 연혁 타임라인 */
.timeline { margin-top: 40px; display: grid; gap: 40px; }
.tl-year h3 { font-size: 26px; color: var(--green); margin-bottom: 18px; }
.tl-year ul { list-style: none; border-left: 3px solid var(--green-soft); padding-left: 0; }
.tl-year li { position: relative; padding: 0 0 16px 56px; color: var(--ink); font-size: 15px; }
.tl-year li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--green); border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--green-soft); }
.tl-m { position: absolute; left: 14px; top: 0; font-weight: 800; color: var(--ink-soft); font-size: 13px; }

/* 문의 폼 */
.contact-form { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: 0 4px 24px rgba(18,36,26,.07); }
.contact-form label { display: block; font-size: 14px; font-weight: 800; margin: 16px 0 6px; }
.contact-form input[type=text], .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--green-soft); border-radius: 10px;
  font-size: 15px; font-family: inherit; box-sizing: border-box; background: var(--green-bg); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green); background: #fff; }
.contact-form button { margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin-top: 24px; padding: 14px 18px; border-radius: 10px; font-weight: 700; }
.form-msg.ok { background: var(--green-soft); color: #00733a; }
.form-msg.err { background: #fdecea; color: #c0392b; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* 뉴스 목록 */
.news-item { border-bottom: 1px solid var(--green-soft); padding: 22px 0; }
.news-item .meta { color: var(--ink-soft); font-size: 13px; margin-bottom: 4px; }
.news-item h3 { font-size: 18px; }
.news-item .tag { display: inline-block; background: var(--green-soft); color: var(--green);
  font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }

/* 반응형 */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px; border-bottom: 1px solid var(--green-soft); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
}
