/* ============================================================
   (주)재경 장묘개발 — 메인 페이지
   2026-08-23 개편: 다크(#12151a) → 밝은 톤 A안(딥그린 + 골드)
   · 원본 gravejk.com 실측: 흰 배경 사이트 / 후기 섹션만 다크
   · 이모지 전부 제거, 영어 라벨 제거
   · 섹션 여백 대폭 확대 (미르 지적: "따닥따닥 붙어 있다")
   ============================================================ */

:root {
  /* 바탕 */
  --bg:          #FBFAF7;   /* 웜 화이트 */
  --bg-alt:      #F1EFE9;   /* 교차 섹션 */
  --surface:     #FFFFFF;   /* 카드 */
  --border:      #E4E1D8;
  --border-soft: #EFEDE6;

  /* 포인트 */
  --green:       #2F5D4B;
  --green-dark:  #24483A;
  --green-tint:  #EAF0EC;
  --gold:        #B08D57;
  --gold-dark:   #96763F;

  /* 다크 띠 (후기 섹션 전용) */
  --dark:        #1C2A24;
  --dark-2:      #24352D;
  --dark-line:   #33473D;

  /* 글자 */
  --text:        #22262B;
  --text-muted:  #5C6570;
  --text-faint:  #8A9199;

  --radius: 4px;
  --max-width: 1200px;
  --font-base: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Malgun Gothic", "맑은 고딕", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* 섹션 공통 머리말 — 한글 소라벨 + 큰 제목 (영어 라벨 사용 안 함) */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  letter-spacing: 0.02em;
}
.sec-head h2 {
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.sec-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

/* ---------- 공지바 ---------- */
.notice-bar {
  background: var(--green);
  color: rgba(255,255,255,0.92);
  text-align: center;
  font-size: 0.83rem;
  padding: 11px 16px;
  letter-spacing: 0.01em;
}

/* ---------- 헤더 / GNB ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo-box {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: 0.02em;
}
.brand-text .name { font-weight: 700; font-size: 1.06rem; }
.brand-text .slogan { font-size: 0.76rem; color: var(--text-muted); }

.gnb { display: flex; align-items: center; gap: 34px; }
.gnb ul { display: flex; gap: 30px; font-size: 0.95rem; color: var(--text-muted); }
.gnb ul a { padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.gnb ul a:hover,
.gnb ul a.current { color: var(--green); border-bottom-color: var(--gold); }

.btn-cta {
  background: var(--green); color: #fff;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  transition: background .15s;
}
.btn-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; color: var(--text); cursor: pointer; line-height: 1;
}

/* ---------- 히어로 (영상 유지 · 높이 714px = 원본 실측치) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #16211c;
  height: 714px;
}
.hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 56.25vw;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(14,24,19,0.82) 0%, rgba(14,24,19,0.55) 52%, rgba(14,24,19,0.35) 100%);
}

/* 히어로 문구 (우측) */
.hero-copy {
  position: absolute; z-index: 2;
  right: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  top: 50%; transform: translateY(-50%);
  width: min(520px, 46%);
  color: #fff; text-align: right;
}
.hero-copy .kicker {
  font-size: 0.88rem; font-weight: 600; color: #D9C295;
  letter-spacing: 0.04em; margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: 2.7rem; font-weight: 700; line-height: 1.35;
  letter-spacing: -0.035em; margin-bottom: 20px;
}
.hero-copy p {
  font-size: 1rem; line-height: 1.95; color: rgba(255,255,255,0.86);
}

.hero-sound-toggle {
  position: absolute; bottom: 26px; right: 26px; z-index: 3;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.32);
  font-size: 0.78rem; cursor: pointer; color: #fff;
  font-family: inherit;
}
.hero-sound-toggle:hover { background: rgba(255,255,255,0.24); }

/* 상담 오버레이 패널 (아너스톤 실측 패턴 — 좌측 배치) */
.counsel-panel {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  z-index: 3;
  width: min(400px, calc(100% - 48px));
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  padding: 30px 28px;
  color: #fff;
}
.counsel-panel h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.02em; }
.counsel-panel .sub { font-size: 0.83rem; color: rgba(255,255,255,0.78); margin-bottom: 20px; }

.counsel-radio { display: flex; gap: 20px; margin-bottom: 15px; font-size: 0.85rem; }
.counsel-radio label { display: flex; align-items: center; gap: 7px; cursor: pointer; }

.counsel-panel .field-inline { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.counsel-panel input[type="text"],
.counsel-panel input[type="tel"] {
  width: 100%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
}
.counsel-panel input::placeholder { color: rgba(255,255,255,0.58); }
.counsel-panel input:focus { outline: none; border-color: #D9C295; background: rgba(255,255,255,0.14); }

.counsel-consent { margin-bottom: 18px; }
.counsel-consent .all-agree {
  font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 11px; padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.counsel-consent .item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.86); margin-bottom: 7px;
}
.counsel-consent .item label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.counsel-consent .item .view-btn {
  background: none; border: none; color: rgba(255,255,255,0.66);
  text-decoration: underline; font-size: 0.75rem; cursor: pointer; font-family: inherit;
}
.counsel-consent .item .view-btn:hover { color: #fff; }

/* 약관 본문 (내용보기로 펼침) */
.consent-body {
  display: none;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 4px 0 10px;
  font-size: 0.73rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.84);
}
.consent-body.open { display: block; }
.consent-body dt { font-weight: 700; color: #D9C295; margin-top: 6px; }
.consent-body dt:first-child { margin-top: 0; }

.btn-counsel-submit {
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.btn-counsel-submit:hover { background: var(--gold-dark); }

/* ---------- 슬로건 ---------- */
.slogan-band {
  position: relative;
  overflow: hidden;
  padding: 118px 0 100px;
  text-align: center;
  background: var(--bg);
}
/* 배경 무늬 — 물결이 퍼지듯 아주 옅은 동심원 (이미지 없이 CSS만) */
.slogan-band::before {
  content: "";
  position: absolute;
  top: 46%; left: 50%;
  width: 1180px; height: 1180px;
  transform: translate(-50%, -50%);
  background:
    repeating-radial-gradient(circle,
      rgba(47,93,75,0.055) 0 1px, transparent 1px 46px),
    radial-gradient(circle,
      rgba(176,141,87,0.10) 0%, transparent 62%);
  pointer-events: none;
}
/* 가장자리를 배경색으로 부드럽게 지워 무늬가 도드라지지 않게 한다 */
.slogan-band::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(251,250,247,0) 26%,
                            rgba(251,250,247,0) 74%, var(--bg) 100%),
    linear-gradient(90deg,  var(--bg) 0%, rgba(251,250,247,0) 20%,
                            rgba(251,250,247,0) 80%, var(--bg) 100%);
  pointer-events: none;
}
.slogan-band .container { position: relative; z-index: 1; }

/* 인용부호 배지 — 원본(07-16 실측)의 슬로건 배지를 다듬은 것 */
.slogan-band .mark {
  width: 68px; height: 68px;
  margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(28,42,36,0.09);
}
.slogan-band .mark svg { width: 68px; height: 68px; display: block; }
.slogan-band h2 {
  font-size: 2.3rem; font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.45;
}
.slogan-band p.lead {
  color: var(--text-muted);
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.95;
}

/* ---------- 통계 3칸 (원본 방식: 숫자 + 큰 플러스) ---------- */
.stats-band {
  padding: 0 0 110px;
  background: var(--bg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  text-align: center;
  padding: 62px 20px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-size: 3.75rem;        /* 60px — 원본 실측치 */
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--text);
}
.stat .num .plus {
  color: var(--green);
  font-weight: 700;
  margin-left: 3px;
}
.stat .cap {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---------- 재경이 하는 일 (2단) ---------- */
.our-service { background: var(--bg-alt); padding: 120px 0; }
.our-service .inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.our-service .eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--green); padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}
.our-service h2 {
  font-size: 2.05rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.4;
}
.our-service p.desc {
  color: var(--text-muted); margin-top: 18px;
  font-size: 1rem; line-height: 1.95;
}
.check-list { margin-top: 30px; }
.check-list li {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.check-list li:first-child { border-top: 1px solid var(--border); }
.check-list li::before {
  content: ""; flex: none;
  width: 3px; height: 17px; border-radius: 2px;
  background: var(--gold);
}
.our-service .btn-cta { margin-top: 32px; display: inline-block; padding: 14px 30px; font-size: 0.95rem; }

.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .18s, border-color .18s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.service-card .bar { width: 26px; height: 3px; background: var(--gold); margin-bottom: 18px; }
.service-card .name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.service-card .note { font-size: 0.86rem; color: var(--text-muted); margin-top: 9px; line-height: 1.75; }

/* ---------- 현장 사진 ---------- */
.gallery-section { padding: 120px 0; background: var(--bg); }
.gallery-main {
  aspect-ratio: 16 / 7;
  margin-bottom: 14px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(28,42,36,0.55); border: 1px solid rgba(255,255,255,0.45);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  font-size: 1.15rem; color: #fff; line-height: 1;
}
.gallery-main .arrow:hover { background: rgba(28,42,36,0.8); }
.gallery-main .arrow.prev { left: 14px; }
.gallery-main .arrow.next { right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery-thumbs img {
  width: 100%; height: 96px; object-fit: cover; border-radius: var(--radius);
  cursor: pointer; border: 2px solid transparent; opacity: 0.55;
  transition: opacity .15s, border-color .15s;
}
.gallery-thumbs img:hover { opacity: 0.85; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

/* ---------- 후기 (이 섹션만 다크 — 원본과 동일한 리듬) ---------- */
.cta-reviews { background: var(--dark); color: #F4F2EC; padding: 120px 0; }
.cta-reviews .sec-head .eyebrow { color: #D9C295; border-bottom-color: var(--gold); }
.cta-reviews .sec-head h2 { color: #F4F2EC; }
.cta-reviews .sec-head p { color: rgba(244,242,236,0.72); }
.cta-reviews .btn-cta {
  background: var(--gold); color: #fff;
  display: inline-block; padding: 14px 32px; font-size: 0.95rem;
}
.cta-reviews .btn-cta:hover { background: var(--gold-dark); }
.cta-reviews .head-cta { text-align: center; margin-bottom: 60px; }

.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex; flex-direction: column;
}
.review-card .stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; font-size: 0.9rem; }
.review-card .text {
  font-size: 0.92rem; line-height: 1.95;
  color: rgba(244,242,236,0.88);
  flex: 1;
}
.review-card .who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--dark-line); }
.review-card .who-name { font-size: 0.88rem; font-weight: 600; color: #F4F2EC; }
.review-card .who-tag { font-size: 0.78rem; color: rgba(244,242,236,0.5); margin-top: 4px; }

/* ---------- 개장·이장 상품 ---------- */
.products { padding: 120px 0; background: var(--bg-alt); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .18s, border-color .18s;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.product-card.featured { border-color: var(--gold); }
.product-card .badge {
  position: absolute; top: -1px; right: 22px;
  background: var(--gold); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 6px 11px; border-radius: 0 0 var(--radius) var(--radius);
}
.product-card .pname { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.product-card .pcode { font-size: 0.8rem; color: var(--text-faint); margin-top: 5px; }
.product-card .price {
  font-size: 1.75rem; font-weight: 800; color: var(--green);
  letter-spacing: -0.035em; margin: 20px 0 22px;
  padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.product-card .price small { font-size: 0.95rem; font-weight: 600; margin-left: 2px; }
.product-card ul { flex: 1; }
.product-card ul li {
  display: flex; gap: 10px;
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 10px;
}
.product-card ul li::before {
  content: ""; flex: none;
  width: 3px; height: 15px; border-radius: 2px; margin-top: 6px;
  background: var(--gold);
}
/* 가격 비교 줄 — 항목 왼쪽, 금액 오른쪽 */
.product-card ul.price-rows li { justify-content: space-between; gap: 12px; }
.product-card ul.price-rows li::before { display: none; }
.product-card ul.price-rows li b { color: var(--text); font-weight: 700; white-space: nowrap; }

.product-card .btn-quote {
  margin-top: 24px;
  display: block; text-align: center;
  border: 1px solid var(--green); color: var(--green);
  padding: 12px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  transition: background .15s, color .15s;
}
.product-card:hover .btn-quote { background: var(--green); color: #fff; }

.product-notice {
  margin-top: 34px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  line-height: 1.8;
}
.product-notice strong { color: var(--green); font-weight: 700; }

/* ---------- 문의 폼 (블록 전체 사진 + 화이트 그라데이션) ---------- */
.contact-form-section {
  position: relative;
  padding: 124px 0;
  background: var(--bg);
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
/* 왼쪽은 흰색으로 덮어 글씨가 잘 읽히고, 오른쪽으로 갈수록 사진이 드러난다 */
.contact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(251,250,247,0.985) 0%,
    rgba(251,250,247,0.96)  32%,
    rgba(251,250,247,0.82)  52%,
    rgba(251,250,247,0.48)  74%,
    rgba(251,250,247,0.20) 100%);
}
.contact-form-section .container { position: relative; z-index: 1; }

.contact-form-grid {
  display: grid; grid-template-columns: 1fr 1.12fr;
  gap: 58px; align-items: center;
}

/* 왼쪽 안내 */
.contact-side .eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--green); padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 2px solid var(--gold);
}
.contact-side h2 {
  font-size: 2.05rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.42;
}
.contact-side p {
  margin-top: 18px; color: var(--text-muted);
  font-size: 1rem; line-height: 1.95;
}
.contact-side .tel {
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--border);
}
.contact-side .tel .k { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.contact-side .tel .v {
  font-size: 2.35rem; font-weight: 800; color: var(--green);
  letter-spacing: -0.04em; line-height: 1.25; margin-top: 6px;
}
.contact-side .tel .n { margin-top: 10px; font-size: 0.9rem; color: var(--text-faint); line-height: 1.8; }

/* 오른쪽 흰 카드 폼 */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: 0 20px 54px rgba(28,42,36,0.10);
}
.contact-form h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.contact-form .form-lead { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; line-height: 1.85; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.87rem; margin-bottom: 8px; font-weight: 600; }
.field label .req { color: var(--gold); margin-left: 3px; }
.field input, .field textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 15px; font-family: inherit; font-size: 0.93rem; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
/* 상품 상세에서 견적 내용을 받아온 경우 */
.field textarea.filled { border-color: var(--green); background: var(--green-tint); min-height: 150px; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.file-drop {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; color: var(--text-muted); font-size: 0.87rem;
  background: var(--surface);
}
.privacy-note {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.privacy-note b { color: var(--green); }
.btn-submit {
  background: var(--green); color: #fff; border: none;
  padding: 15px 34px; border-radius: var(--radius); font-weight: 700;
  cursor: pointer; font-size: 0.98rem; font-family: inherit;
  transition: background .15s;
}
.btn-submit:hover { background: var(--green-dark); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--dark); color: rgba(244,242,236,0.62);
  padding: 66px 0 30px; font-size: 0.85rem;
}
.site-footer .foot-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}
.site-footer .fname { font-size: 1.1rem; font-weight: 700; color: #F4F2EC; letter-spacing: -0.02em; }
.site-footer .fslogan { font-size: 0.83rem; margin-top: 8px; color: rgba(244,242,236,0.5); }
.site-footer .ftel { margin-top: 22px; font-size: 1.35rem; font-weight: 800; color: #D9C295; letter-spacing: -0.02em; }
.site-footer h4 { font-size: 0.86rem; color: #F4F2EC; margin-bottom: 14px; font-weight: 600; }
.site-footer p { line-height: 1.95; }
.site-footer .foot-links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .foot-links a:hover { color: #D9C295; }
.site-footer .foot-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 0.8rem;
  color: rgba(244,242,236,0.42);
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .hero-copy { width: min(440px, 48%); }
  .counsel-panel { width: min(360px, 46%); padding: 26px 22px; }
  .review-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .gnb ul { display: none; }
  .nav-toggle { display: block; }
  .gnb.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 18px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero { height: auto; min-height: 0; padding: 0; }
  .hero-video-bg, .hero-sound-toggle { display: none; }
  .hero-overlay { position: relative; inset: auto; background: #16211c; }
  .hero-copy {
    position: static; transform: none; width: auto; text-align: left;
    padding: 70px 24px 40px;
  }
  .hero-copy h1 { font-size: 1.9rem; }
  .counsel-panel {
    position: static; transform: none; width: auto;
    margin: 0 24px 40px; background: rgba(255,255,255,0.1);
  }

  .slogan-band { padding: 80px 0 66px; }
  .slogan-band h2 { font-size: 1.65rem; }
  .stats-band { padding-bottom: 80px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 42px 20px; }
  .stat:last-child { border-bottom: none; }
  .stat .num { font-size: 2.9rem; }

  .our-service, .gallery-section, .cta-reviews, .products, .contact-form-section { padding: 80px 0; }
  .our-service .inner { grid-template-columns: 1fr; gap: 44px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2, .our-service h2 { font-size: 1.6rem; }

  .service-cards, .review-grid, .product-grid,
  .contact-form-grid, .site-footer .foot-top {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .gallery-thumbs img { height: 56px; }

  /* 문의 폼: 세로로 쌓이므로 사진을 전체적으로 더 흐리게 덮는다 */
  .contact-bg::after {
    background: linear-gradient(180deg,
      rgba(251,250,247,0.97) 0%,
      rgba(251,250,247,0.93) 55%,
      rgba(251,250,247,0.86) 100%);
  }
  .contact-form { padding: 32px 24px; }
  .contact-side h2 { font-size: 1.55rem; }
  .contact-side .tel .v { font-size: 1.95rem; }
}

/* ── 문의 폼: 파일 첨부 ─────────────────────────────────── */
.file-drop { display: block; cursor: pointer; }
.file-drop:hover { border-color: var(--brand, #c9a961); }
.file-hint { display: block; margin-top: 6px; font-size: 0.78rem; opacity: 0.75; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.83rem; color: var(--text-muted); }
.file-list li { padding: 4px 0; }
.file-list li.over { color: #c62828; }

/* 접수 결과 문구 */
.jk-reply { margin: 14px 0 0; font-weight: 600; font-size: 0.9rem; }
