/* ===== 색상·기본값 (여기 값만 바꾸면 전체 톤이 바뀝니다) ===== */
:root {
  --c-olive: #3f4a1e;        /* 대표색: 진한 올리브 */
  --c-olive-2: #55652a;      /* 대표색 밝은 버전(호버·그라데이션) */
  --c-olive-ink: #262d12;    /* 제목 글자 */
  --c-olive-tint: #eef1e3;   /* 연한 배경·태그 */
  --c-soft: #f7f8f2;         /* 섹션 배경 */
  --c-text: #334155;
  --c-sub: #64748b;
  --c-line: #e3e6d8;
  --c-bg: #ffffff;
  --c-kakao: #fee500;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(38, 45, 18, .08);
  --gutter: 16px;
  --max: 1120px;
  --header-h: 60px;
  --quickbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  word-break: keep-all;
  padding-bottom: var(--quickbar-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; }
.center { text-align: center; margin-top: 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #000; color: #fff; padding: 8px 12px; }

/* ===== 헤더 ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header__inner { max-width: var(--max); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; color: var(--c-olive-ink); letter-spacing: -.5px; margin-right: auto; }
.header__call {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border-radius: 99px; background: var(--c-olive); color: #fff; font-weight: 700; font-size: 14px;
}
.menu-btn { width: 40px; height: 40px; border: 0; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--c-olive-ink); transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  flex-direction: column; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
}
.nav.is-open { display: flex; }
.nav a { padding: 14px var(--gutter); border-top: 1px solid var(--c-line); font-weight: 500; }
.nav a:hover { color: var(--c-olive-2); }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--c-olive); color: #fff; }
.btn--primary:hover { background: var(--c-olive-2); }
.btn--kakao { background: var(--c-kakao); color: #191919; }
.btn--white { background: #fff; color: var(--c-olive-ink); }
.btn--line { background: #fff; color: var(--c-olive); border: 1px solid var(--c-olive); }
.btn--lg { min-height: 64px; width: 100%; font-size: 18px; box-shadow: var(--shadow); }
.btn__ico { font-size: 22px; }
.btn__txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn__txt b { font-size: 22px; letter-spacing: .5px; }
.btn__txt small { font-size: 12px; font-weight: 500; opacity: .85; }

/* ===== HERO ===== */
.hero {
  padding: 40px var(--gutter) 48px; text-align: center;
  background:
    radial-gradient(900px 400px at 50% -10%, var(--c-olive-tint), transparent 70%),
    var(--c-bg);
}
/* 24시간 365일 긴급출동 — 붉은색 강조 배지 */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #e5322d, #c41a17); color: #fff;
  font-weight: 900; font-size: 16px; letter-spacing: -.2px;
  padding: 9px 20px; border-radius: 99px;
  box-shadow: 0 0 0 0 rgba(229, 50, 45, .45), 0 6px 18px rgba(196, 26, 23, .35);
  animation: badge-glow 2s infinite;
}
@keyframes badge-glow {
  70% { box-shadow: 0 0 0 12px rgba(229, 50, 45, 0), 0 6px 18px rgba(196, 26, 23, .35); }
  100% { box-shadow: 0 0 0 0 rgba(229, 50, 45, 0), 0 6px 18px rgba(196, 26, 23, .35); }
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .badge, .dot { animation: none; } }
@media (min-width: 768px) { .badge { font-size: 18px; padding: 10px 24px; } }
.hero__sub { margin-top: 14px; font-weight: 700; color: var(--c-olive-2); }
.hero__title { margin-top: 6px; font-size: clamp(30px, 8.5vw, 56px); line-height: 1.25; font-weight: 900; color: var(--c-olive-ink); letter-spacing: -1.5px; }
.hero__title em { font-style: normal; color: var(--c-olive-2); }
.hero__desc { margin-top: 12px; color: var(--c-sub); font-size: 15px; }
.hero__cta { margin: 26px auto 0; max-width: 420px; display: grid; gap: 10px; }
.hero__pay { margin-top: 14px; font-weight: 700; color: var(--c-olive); }
.hero__area { margin-top: 4px; font-size: 14px; color: var(--c-sub); }
.stats { margin: 30px auto 0; max-width: 560px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats[hidden] { display: none; }
.stats li { padding: 16px 4px; display: flex; flex-direction: column; }
.stats li + li { border-left: 1px solid var(--c-line); }
.stats b { font-size: 24px; font-weight: 900; color: var(--c-olive); }
.stats span:last-child { font-size: 12px; color: var(--c-sub); }

/* ===== 공통 섹션 ===== */
.section { padding: 64px var(--gutter); }
.section--soft { background: var(--c-soft); }
.eyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--c-olive-2); }
.eyebrow--light { color: #cfe08f; }
.section__title { text-align: center; margin-top: 6px; font-size: 26px; font-weight: 900; color: var(--c-olive-ink); letter-spacing: -.5px; line-height: 1.35; }
.section__lead { text-align: center; color: var(--c-sub); margin: 12px auto 32px; font-size: 15px; max-width: 640px; }

/* ===== SOLUTIONS ===== */
.sol { display: grid; gap: 12px; }
.sol__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sol__ico { display: inline-grid; place-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-olive-tint); font-size: 24px; }
.sol__item h3 { margin-top: 12px; font-size: 18px; color: var(--c-olive-ink); }
.sol__item p { margin-top: 6px; font-size: 14px; color: var(--c-sub); }

/* ===== SERVICE ===== */
.feat { display: grid; gap: 12px; }
.feat__item { background: #fff; border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--c-olive); }
.feat__no { font-size: 12px; font-weight: 900; letter-spacing: 1px; color: var(--c-olive-2); }
.feat__item h3 { margin-top: 4px; font-size: 19px; color: var(--c-olive-ink); }
.feat__item > p:not(.feat__no) { margin-top: 6px; font-size: 14px; color: var(--c-sub); }
.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; font-weight: 700; color: var(--c-olive); background: var(--c-olive-tint); padding: 4px 10px; border-radius: 99px; }
.tags li::before { content: "#"; }

/* ===== 중간 CTA ===== */
.band { background: linear-gradient(135deg, var(--c-olive), var(--c-olive-2)); color: #fff; padding: 40px var(--gutter); text-align: center; }
.band h2 { font-size: 22px; font-weight: 900; }
.band__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ===== ABOUT ===== */
.about__txt { max-width: 760px; margin: 24px auto 0; font-size: 16px; line-height: 1.9; text-align: center; }
.about__txt strong { color: var(--c-olive); }

/* ===== REVIEWS 슬라이더 ===== */
.slider { position: relative; }
.slider__track { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
/* 자동으로 흐를 때: 스냅 끄고 양옆을 은은하게 흐리게 */
.slider.is-auto .slider__track {
  scroll-snap-type: none; padding: 12px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.slider.is-auto .review { transition: transform .3s, box-shadow .3s; }
.slider.is-auto .review:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(38, 45, 18, .16); }
.slider__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 80%; scroll-snap-align: start; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.review__img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: 50% 40%; background: #eef0e6; }
.review__body { padding: 18px 20px 20px; }
.review__date { font-size: 12px; font-weight: 700; color: var(--c-olive-2); }
.review h3 { margin-top: 8px; font-size: 17px; color: var(--c-olive-ink); }
.review p { margin-top: 6px; font-size: 14px; }
.review__who { color: var(--c-sub); font-size: 13px !important; margin-top: 14px !important; }
.review__text, .review__reply-text { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.review__text { -webkit-line-clamp: 5; }
.review__reply { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--c-olive-tint); border-left: 3px solid var(--c-olive); }
.review__reply-label { margin: 0 !important; font-size: 12px !important; font-weight: 900; color: var(--c-olive); }
.review__reply-text { -webkit-line-clamp: 3; margin-top: 4px !important; font-size: 13px !important; color: var(--c-text); }
.review.is-open .review__text, .review.is-open .review__reply-text { -webkit-line-clamp: unset; display: block; }
.review__more { margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--c-olive-2); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.slider__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--c-olive); }
.slider__toggle { font-size: 12px; letter-spacing: -1px; }

/* ===== PRODUCTS ===== */
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto; border: 1px solid var(--c-line); background: #fff; color: var(--c-sub);
  padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.filter.is-active { background: var(--c-olive); border-color: var(--c-olive); color: #fff; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.product[hidden] { display: none; }
.product img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #eef0e6; }
.product__body { padding: 14px; }
.product__meta { font-size: 12px; font-weight: 700; color: var(--c-olive-2); }
.product h3 { margin-top: 2px; font-size: 15px; color: var(--c-olive-ink); }
.product ul { margin-top: 6px; }
.product li { font-size: 12px; color: var(--c-sub); padding-left: 10px; position: relative; }
.product li::before { content: "·"; position: absolute; left: 0; }
.note { margin-top: 18px; font-size: 13px; color: var(--c-sub); text-align: center; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 0 18px; }
.faq details.is-more { display: none; }
.faq.show-all details.is-more { display: block; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--c-olive-ink); list-style: none; display: flex; align-items: flex-start; gap: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "▾"; margin-left: auto; color: var(--c-olive); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .q { color: var(--c-olive-2); font-weight: 900; }
.faq details p { padding: 0 0 16px 26px; color: var(--c-sub); font-size: 14px; }

/* ===== CONTACT ===== */
.contact { background: var(--c-olive-ink); color: #fff; text-align: center; padding: 64px var(--gutter); }
.contact h2 { margin-top: 6px; font-size: 28px; font-weight: 900; }
.contact > .wrap > p:not(.eyebrow):not(.contact__note) { margin-top: 10px; color: #d6dcc4; }
.contact__phone { display: inline-block; margin-top: 18px; font-size: clamp(32px, 9vw, 52px); font-weight: 900; color: #d9ec98; letter-spacing: 1px; }
.contact__note { margin-top: 18px; font-size: 13px; color: #b8c09f; }

/* ===== 푸터 ===== */
.footer { background: #151908; color: #9aa08a; font-size: 13px; padding: 32px var(--gutter); }
.footer__name { color: #fff; font-weight: 900; font-size: 16px; margin-bottom: 10px; }
.footer__info { margin: 0; display: grid; gap: 2px; }
.footer__info div { display: flex; gap: 8px; }
.footer__info dt { color: #d6dac9; min-width: 96px; }
.footer__info dd { margin: 0; }
.footer__copy { margin-top: 14px; font-size: 12px; }

/* ===== 하단 고정 바 ===== */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--quickbar-h); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 14px rgba(0,0,0,.06);
}
.quickbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; gap: 2px; color: var(--c-olive-ink); }
.quickbar__item span { font-size: 18px; line-height: 1; }
.quickbar__item--call { background: var(--c-olive); color: #fff; font-size: 14px; }
.quickbar__item--kakao { background: var(--c-kakao); }
.quickbar__item--share { border: 0; background: #fff; font: inherit; font-size: 12px; font-weight: 700; color: var(--c-olive-ink); cursor: pointer; }
.share-btn { margin-top: 22px; padding: 10px 20px; border-radius: 99px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.share-btn:hover { background: rgba(255,255,255,.12); }
.toast { position: fixed; left: 50%; bottom: calc(var(--quickbar-h) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--c-olive-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); transition: opacity .25s, transform .25s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 공유하기 선택 창 (아래에서 올라옴) */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: sheet-fade .2s; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0;
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); animation: sheet-up .25s ease-out;
}
.sheet__title { text-align: center; font-weight: 900; font-size: 17px; color: var(--c-olive-ink); }
.sheet__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.sheet__item { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--c-text); cursor: pointer; padding: 6px 0; }
.sheet__item[hidden] { display: none; }
.sheet__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-content: center; font-size: 26px; }
.sheet__ico--kakao { background: var(--c-kakao); }
.sheet__ico--sms { background: #e7f3e0; }
.sheet__ico--copy { background: var(--c-olive-tint); }
.sheet__ico--more { background: #eef0f3; font-weight: 900; }
.sheet__close { display: block; width: 100%; margin-top: 18px; height: 48px; border: 0; border-radius: 14px; background: var(--c-soft); font: inherit; font-weight: 700; color: var(--c-text); cursor: pointer; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-fade { from { opacity: 0; } }
@media (min-width: 768px) {
  .sheet__panel { left: 50%; right: auto; bottom: 50%; width: 420px; transform: translate(-50%, 50%); border-radius: 20px; padding-bottom: 16px; animation: sheet-fade .2s; }
}
@media (prefers-reduced-motion: reduce) { .sheet__dim, .sheet__panel { animation: none; } }

@media (max-width: 440px) {
  .header__call { width: 38px; padding: 0; justify-content: center; }
  .header__call span { display: none; }
}

/* ===== PC ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .menu-btn { display: none; }
  .nav { display: flex !important; position: static; flex-direction: row; background: none; border: 0; box-shadow: none; margin-right: 8px; }
  .nav a { border: 0; padding: 0 10px; font-size: 15px; }
  .hero { padding: 72px var(--gutter) 72px; }
  .hero__cta { max-width: 640px; grid-template-columns: 1.3fr 1fr; }
  .section { padding: 96px var(--gutter); }
  .section__title { font-size: 34px; }
  .sol { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feat { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .band h2 { font-size: 28px; }
  .review { flex-basis: calc((100% - 28px) / 3); }
  .filters { justify-content: center; flex-wrap: wrap; }
  .products { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .quickbar {
    left: auto; right: 24px; bottom: 24px; height: auto; width: 84px;
    grid-template-columns: 1fr; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.18);
  }
  .quickbar__item { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .quickbar__item:last-child { border-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 960px) {
  .nav a { padding: 0 6px; font-size: 14px; }
  .header__call span { display: none; }
}

/* Netlify가 자동으로 넣는 'Powered by Netlify' 표시 숨김 */
#nl-badge-frame, iframe[title="Powered by Netlify"] { display: none !important; }
