/* ==========================================================================
   쌍용익스프레스 — 평택 포장이사 전문
   ========================================================================== */

/* Pretendard (SIL OFL) — KS X 1001 상용 한글 2350자로 서브셋. assets/fonts/LICENSE.txt 참고.
   시스템 폰트로 두면 윈도우에서 맑은 고딕으로 떨어져 조판이 크게 나빠집니다. */
@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard-subset.woff2') format('woff2-variations');
}

:root {
  --navy:        #0F2440;
  --navy-800:    #1A3557;
  --navy-600:    #2C4E78;
  --red:         #D6211C;
  --red-dark:    #B01914;
  /* 로고(쌍용 두 마리)에서 추출한 브랜드 블루. 워드마크·포커스·태그에 사용 */
  --blue:        #0B54A0;
  --blue-light:  #5B9BD8;   /* 남색 배경(푸터) 위에서 쓰는 밝은 변형 */

  --ink:         #16202E;
  --ink-2:       #4A5768;
  --muted:       #6B7787;
  --line:        #E3E8EF;
  --bg:          #FFFFFF;
  --bg-soft:     #F5F7FA;
  --bg-navy:     #0F2440;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 1px 2px rgba(15,36,64,.05), 0 8px 24px rgba(15,36,64,.07);
  --shadow-lg:   0 2px 4px rgba(15,36,64,.06), 0 18px 48px rgba(15,36,64,.13);

  --wrap:        1160px;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; transition: top .2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-mark { font-size: 21px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
/* 워드마크: 헤더에서는 "쌍용"을 로고의 빨간 용 색과 맞춰 강조합니다. 익스프레스는 남색. */
.brand-mark .s1 { color: var(--red); }
.brand-mark .s2 { color: var(--navy); }
/* 헤더와 통일 — 남색 배경에서도 빨강 대비 3.04:1 (large text AA 통과) */
.brand-sub {
  font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: -.02em;
  white-space: nowrap;
}

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 15.5px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap;   /* 항목이 두 줄로 깨져 헤더 높이가 늘어나는 것 방지 */
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--red); }

/* 지역 드롭다운 — 데스크톱은 hover/focus, 모바일은 클릭(아코디언)으로 열립니다 */
.has-dropdown { position: relative; }
/* 버튼과 드롭다운 사이 6px 간격(.dropdown의 top: calc(100% + 6px))이 li 박스 바깥이라
   마우스가 그 틈을 지나는 순간 :hover 가 끊겨 메뉴가 닫혀버립니다. 그 틈을 투명하게
   메워서 hover 가 끊기지 않게 합니다. */
.has-dropdown::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 6px;
}
.nav-drop-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-drop-toggle:hover { background: var(--bg-soft); color: var(--navy); }
.nav-drop-toggle[data-current="true"] { color: var(--red); }
.nav-drop-toggle .chev { transition: transform .18s; flex-shrink: 0; }
.has-dropdown[data-open="true"] .nav-drop-toggle .chev { transform: rotate(180deg); }

/* .nav ul { display:flex } (0,1,1) 이 .dropdown (0,1,0) 보다 우선순위가 높아서
   그냥 두면 드롭다운이 항상 펼쳐진 채로 보입니다. .nav .dropdown 으로 명시합니다. */
.nav .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 140px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; margin: 0;
  display: none; flex-direction: column; z-index: 10;
}
.has-dropdown[data-open="true"] .dropdown { display: block; }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.dropdown a[aria-current="page"] { color: var(--red); }

@media (min-width: 901px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block; }
}

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 15.5px;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.header-cta:hover { background: var(--red-dark); }
.header-cta:active { transform: translateY(1px); }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  align-items: center; justify-content: center; color: var(--navy);
}

@media (max-width: 900px) {
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 12px 16px; }
  .nav a { padding: 14px 10px; border-radius: 10px; font-size: 17px; }

  /* 지역 드롭다운 → 모바일에서는 아코디언 */
  .has-dropdown { position: static; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 14px 10px; border-radius: 10px; font-size: 17px; }
  .nav .dropdown {
    position: static; box-shadow: none; border: 0; background: var(--bg-soft);
    margin: 2px 4px 8px; padding: 4px;
  }
  .dropdown a { font-size: 16px; padding: 11px 14px; }
}

/* ---------- 공지 배너 ----------
   /admin "사이트 설정" 에서 켜면 Worker 가 헤더 뒤에 끼워 넣습니다.
   정적 HTML 에는 없는 요소라 여기 말고는 흔적이 없는 게 정상입니다. */
.notice-bar {
  background: #FFF7E0; border-bottom: 1px solid #F5DFA1;
  color: #7A5A00; font-size: 14.5px; font-weight: 700;
  padding: 10px 0; text-align: center; word-break: keep-all;
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% 18%, rgba(43,86,148,.55) 0%, transparent 62%),
    linear-gradient(168deg, #143053 0%, #0F2440 52%, #0B1B31 100%);
}
/* 미세한 격자 — 평평한 단색 배경이 주는 싼 느낌을 걷어냅니다 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 460px at 22% 42%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 460px at 22% 42%, #000 0%, transparent 78%);
}
/* padding-block 만 지정할 것. padding 단축형을 쓰면 .wrap 의 좌우 여백을
   덮어써서 모바일에서 본문이 화면 끝에 붙습니다. */
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 0.82fr;
  gap: 56px; align-items: center; padding-block: 92px 84px;
}
.hero-inner { max-width: 620px; }

/* 실제 작업 사진 카드 — 브랜드 포장재가 보이는 사진을 씁니다 */
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3.35; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.09);
}
.hero-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(9,20,36,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 11px; padding: 10px 13px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9);
}
.hero-photo figcaption svg { flex-shrink: 0; color: #7DD3A0; }

/* 히어로 사진 자동 슬라이드 — 크로스페이드.
   컨테이너가 aspect-ratio 로 높이를 고정하므로 전환 중 레이아웃이 밀리지 않습니다. */
.hero-photo .hs-track {
  position: relative; aspect-ratio: 4 / 3.35;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.09);
}
.hero-photo .hs-track img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: auto;
  border-radius: 0; box-shadow: none;
  opacity: 0; transition: opacity .9s ease;
}
.hero-photo .hs-track img.is-on { opacity: 1; }
/* 점 버튼: 시각적 점은 작아도 터치 영역은 26px 를 확보합니다 (모바일 손가락 기준) */
.hs-dots { position: absolute; top: 8px; right: 8px; display: flex; z-index: 2; }
.hs-dots button {
  width: 26px; height: 26px; border: 0; padding: 0;
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.hs-dots button::after {
  content: ""; width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,.5);
  transition: width .25s, background .25s;
}
.hs-dots button[aria-current="true"]::after { background: #fff; width: 20px; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hs-track img { transition: none; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 68px 60px; }
  .hero-inner { max-width: 100%; }
  /* 그리드가 한 칸으로 접히면 DOM 순서(문구 먼저, 사진 나중)대로 쌓여 차량 사진이
     화면 맨 아래로 밀립니다. 홈 최상단에 차량 사진이 보이도록 사진을 먼저 오게 합니다. */
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .hero-photo .hs-track { aspect-ratio: 16 / 10; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .01em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
}
.hero h1 { font-size: clamp(30px, 5.6vw, 50px); font-weight: 900; letter-spacing: -.035em; }
.hero h1 .accent { color: #FF6B5E; }
.hero-lead {
  margin-top: 20px; font-size: clamp(16px, 2.1vw, 18.5px);
  color: rgba(255,255,255,.82); line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 12px; border: 0;
  font-size: 17px; font-weight: 800; letter-spacing: -.02em;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(214,33,28,.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-block { width: 100%; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 14px; color: rgba(255,255,255,.72);
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts svg { flex-shrink: 0; color: #7DD3A0; }

@media (max-width: 640px) {
  .hero-grid { padding-block: 46px; gap: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-lead br { display: none; }
}

/* ---------- section ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(43,86,148,.42) 0%, transparent 65%),
    var(--bg-navy);
  color: #fff;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }
.section-dark .section-eyebrow { color: #FF8A7E; }

.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow {
  display: block; font-size: 13px; font-weight: 900; letter-spacing: .16em;
  color: var(--red); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(25px, 3.6vw, 34px); font-weight: 900; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 640px) { .section { padding: 56px 0; } .section-head { margin-bottom: 34px; } }

/* ---------- trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 30px 0;
}
.trustbar li { display: flex; align-items: center; gap: 14px; }
.trustbar li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trustbar .ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--navy);
}
.trustbar .n { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.trustbar .l { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
@media (max-width: 860px) {
  .trustbar ul { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; padding: 22px 0; }
  .trustbar li + li { padding-left: 0; border-left: 0; }
  .trustbar li:nth-child(n+2) { padding-left: 0; }
  .trustbar li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .trustbar ul { grid-template-columns: 1fr; }
  .trustbar li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; gap: 16px; } }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 28px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #FDECEB, #FBDCDA); color: var(--red);
}
/* 이사 종류가 가장 먼저 읽혀야 합니다. 손님은 "포장이사"를 찾지
   카피를 찾지 않습니다. h3 = 서비스 이름, .catch = 한 줄 요약 순서를 지키세요. */
.card h3 { font-size: 22px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 7px; }
.card .catch {
  font-size: 14.5px; font-weight: 800; color: var(--red);
  line-height: 1.5; margin-bottom: 12px;
}
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
/* 절대 위치로 띄워야 이 태그가 붙은 카드만 내용이 아래로 밀리지 않습니다 */
.card .tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 900;
  letter-spacing: .06em; color: var(--blue); background: #E8EFFB;
  padding: 3px 9px; border-radius: 5px;
}

/* 홈 "더 자세히 보시려면" — <a class="card"> 로 .card 스타일을 재사용합니다 */
a.card { display: block; text-decoration: none; color: inherit; }
.explore-grid .card p { margin-top: 4px; }

/* ---------- process (이사 진행 과정) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step { position: relative; text-align: center; padding: 0 14px; }
.step .num {
  position: relative; z-index: 1;
  width: 54px; height: 54px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--navy); color: var(--navy);
  font-size: 17px; font-weight: 900; letter-spacing: -.02em;
}
.step:first-child .num { background: var(--navy); color: #fff; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; left: 26px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 7px, transparent 7px 14px); }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; text-align: left; padding: 0 0 26px; }
  .step .num { margin: 0; }
  .step .num + h3 { margin-top: 12px; }
  .step h3, .step p { grid-column: 2; }
}

/* ---------- why us (왜 여기인가) ---------- */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .whys { grid-template-columns: 1fr; gap: 20px; } }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.why:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-media .no {
  position: absolute; top: 14px; left: 14px;
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 900;
  box-shadow: 0 4px 14px rgba(214,33,28,.4);
}
.why-body { padding: 24px 22px 26px; }
.why h3 { font-size: 19.5px; margin-bottom: 11px; letter-spacing: -.03em; }
.why p { font-size: 15.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 900px) { .why-media img { aspect-ratio: 16 / 9; } }

/* ---------- reviews ---------- */
.review-top {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 34px;
}
/* [hidden] 의 display:none 은 UA 스타일이라 위의 display:flex 에 밀립니다.
   이 줄이 없으면 후기가 0개인데도 "– ☆☆☆☆☆ 후기 0개" 박스가 뜹니다. */
.review-top[hidden] { display: none; }
.review-avg {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px 9px 16px; box-shadow: var(--shadow);
}
.review-avg .score {
  font-size: 24px; font-weight: 900; letter-spacing: -.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.review-avg .stars { color: #F79009; font-size: 15px; letter-spacing: 1.5px; }
.review-avg .cnt { font-size: 13.5px; color: var(--muted); }

.reviews { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .reviews { columns: 2; column-gap: 14px; } }
@media (max-width: 600px) { .reviews { columns: 1; } }
.review {
  break-inside: avoid; margin: 0 0 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 21px;
}
.review .stars { color: #F79009; font-size: 14.5px; letter-spacing: 1.5px; }
.review .photo { margin-top: 12px; }
.review .photo img {
  width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px;
  cursor: zoom-in; display: block;
}
.review .body {
  margin: 10px 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8;
  white-space: pre-wrap;
}
.review .who {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.review .who b { color: var(--ink); font-size: 14.5px; font-weight: 800; }
.review .who .tag {
  background: var(--bg-soft); border-radius: 5px; padding: 2px 8px;
  font-size: 12px; font-weight: 700; color: var(--navy-600);
}
/* .reviews 가 3단 컬럼이라 그냥 두면 이 안내문이 컬럼 사이에서
   두 조각으로 쪼개집니다. 전체 폭을 쓰게 하고 분리를 막습니다. */
.review-empty {
  column-span: all; break-inside: avoid;
  text-align: center; padding: 54px 20px; color: var(--muted);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  line-height: 1.9;
}
.review-cta { text-align: center; margin-top: 30px; }

/* ---------- 홈 대표 후기 슬라이드 (/admin 에서 고른 최대 3개) ---------- */
.review-slider { max-width: 640px; margin: 0 auto; }
.review-slider[hidden] { display: none; }
.rs-track { min-height: 190px; }
.rs-track .review { margin: 0; animation: rs-fade .4s ease; }
@keyframes rs-fade { from { opacity: 0; } to { opacity: 1; } }
.rs-dots { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.rs-dots button { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rs-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .25s, background .25s; }
.rs-dots button[aria-current="true"]::after { background: var(--red); width: 20px; }
@media (prefers-reduced-motion: reduce) { .rs-track .review { animation: none; } }

/* 후기 작성 다이얼로그 */
.rv-dialog {
  border: 0; padding: 0; border-radius: var(--radius); max-width: 520px; width: calc(100% - 32px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.rv-dialog::backdrop { background: rgba(10,18,30,.6); backdrop-filter: blur(3px); }
.rv-dialog .inner { padding: 30px 28px 26px; }
@media (max-width: 560px) { .rv-dialog .inner { padding: 22px 18px 20px; } }
.rv-dialog h3 { font-size: 21px; margin-bottom: 6px; }
.rv-dialog .sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.rv-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 0; background: var(--bg-soft); border-radius: 8px; color: var(--ink-2);
  display: grid; place-items: center;
}
.rv-close:hover { background: var(--line); }

/* 별점 입력
   선택자를 `.field .stars-input label` 로 쓴 이유: 아래쪽의 `.field label` 이
   같은 우선순위(0,2,0)라 파일 뒤에 있다는 이유만으로 이겨버립니다.
   그러면 별이 14px 검은 글자로 렌더링됩니다. 우선순위를 낮추지 마세요. */
.stars-input {
  display: flex; gap: 4px; direction: rtl; justify-content: flex-end;
  position: relative;
}
/* 흐름에서 빼되 DOM 순서는 유지 — 형제 선택자가 여기에 의존합니다 */
.stars-input input {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.field .stars-input label {
  display: inline-block; cursor: pointer;
  font-size: 32px; line-height: 1; color: var(--line);
  transition: color .12s, transform .12s; margin: 0;
}
/* 자기 자신 + 뒤따르는 형제(=더 낮은 별점) 를 함께 칠합니다.
   rtl 이라 화면에서는 왼쪽부터 채워지는 것으로 보입니다. */
.field .stars-input label:hover,
.field .stars-input label:hover ~ label,
.field .stars-input input:checked ~ label { color: #F79009; }
.field .stars-input label:hover { transform: scale(1.12); }
.field .stars-input input:focus-visible + label {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 16.5px; font-weight: 800; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: #FDECEB; color: var(--red); font-size: 13px; font-weight: 900;
}
.faq summary .chev { margin-left: auto; flex-shrink: 0; color: var(--muted); transition: transform .22s; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .a {
  padding: 0 22px 22px 62px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8;
}
@media (max-width: 560px) {
  .faq summary { padding: 16px 16px; font-size: 15.5px; gap: 10px; }
  .faq .a { padding: 0 16px 18px 16px; }
}

/* ---------- split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-body h2 { font-size: clamp(24px, 3.2vw, 31px); margin-bottom: 22px; }
.split-body p { color: var(--ink-2); font-size: 16.5px; }
.split-body p + p { margin-top: 16px; }
.split-body strong { color: var(--ink); font-weight: 800; }
.split-body .hl { color: var(--red); font-weight: 800; }
.signature {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.signature b { color: var(--ink); font-size: 17px; font-weight: 800; }

/* ---------- about band ---------- */
.about-band {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 44px;
}
.about-band img { width: 100%; }
.about-body { max-width: 760px; margin: 0 auto; text-align: center; }
.about-body p { color: var(--ink-2); font-size: 16.5px; }
.about-body p + p { margin-top: 16px; }
.about-body strong { color: var(--ink); font-weight: 800; }
.about-body .hl { color: var(--red); font-weight: 800; font-size: 17.5px; }
.about-body .signature { display: inline-block; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .about-band { margin-bottom: 30px; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px; color: #fff; font-size: 13.5px; font-weight: 700;
  background: linear-gradient(to top, rgba(15,36,64,.86), transparent);
}

/* ---------- quote form ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; gap: 28px; } }

.quote-aside h2 { font-size: clamp(24px, 3.2vw, 31px); margin-bottom: 16px; }
.quote-aside > p { color: var(--ink-2); margin-bottom: 26px; }
.callbox {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.callbox .k { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 700; }
.callbox .tel {
  display: block; font-size: 32px; font-weight: 900; letter-spacing: -.03em;
  margin: 4px 0 18px; color: #fff;
}
.callbox .tel:hover { color: #FF8A7E; }
.callbox .branches { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: 9px; overflow: hidden; }
.callbox .branches a {
  background: var(--navy); padding: 11px 10px; text-align: center;
  font-size: 14px; transition: background .15s;
}
.callbox .branches a:hover { background: var(--navy-600); }
.callbox .branches b { display: block; font-size: 12px; color: rgba(255,255,255,.6); font-weight: 700; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,76,161,.13);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-hint { font-size: 12.5px; color: var(--muted); margin: -10px 0 18px; line-height: 1.6; }
.field input[type="file"] { padding: 9px 10px; font-size: 14px; }
.rv-photo-preview {
  position: relative; display: inline-block; margin-top: 10px;
}
.rv-photo-preview[hidden] { display: none; }
.rv-photo-preview img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block;
}
.rv-photo-preview button {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px;
  border-radius: 999px; border: 2px solid #fff; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.radio-row { display: flex; gap: 10px; }
.radio-row label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; margin: 0;
  transition: border-color .15s, background .15s, color .15s;
}
.radio-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-row label:has(input:checked) { border-color: var(--red); background: #FEF2F1; color: var(--red); }
.radio-row label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-bottom: 18px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--red); }

.form-status { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: 15px; font-weight: 700; display: none; }
.form-status[data-state="ok"] { display: block; background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.form-status[data-state="error"] { display: block; background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.form-status[data-state="sending"] { display: block; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.form-fallback { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-fallback a { color: var(--red); font-weight: 800; }

/* ---------- contact / branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .branch-grid { grid-template-columns: 1fr; } }
.branch {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: box-shadow .18s, transform .18s;
}
.branch:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.branch .area { font-size: 17px; font-weight: 900; color: var(--navy); }
.branch .num { display: block; font-size: 21px; font-weight: 900; color: var(--red); margin-top: 8px; letter-spacing: -.02em; }
.branch .cover { font-size: 13px; color: var(--muted); margin-top: 8px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.info-card h3 svg { color: var(--red); }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: 15.5px; }
.info-card dt { color: var(--muted); font-weight: 700; white-space: nowrap; }
.info-card dd { margin: 0; color: var(--ink); }
.info-card dd a { border-bottom: 1px solid var(--line); }
.info-card dd a:hover { color: var(--red); border-color: var(--red); }
.map-links { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.map-links a {
  flex: 1; min-width: 92px; text-align: center; padding: 10px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 14px; font-weight: 800; color: var(--navy); transition: border-color .15s, color .15s;
}
.map-links a:hover { border-color: var(--navy); }

/* ---------- region page bits ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 62px 0 56px; }
.page-hero .crumb { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; }
.page-hero p { margin-top: 16px; color: rgba(255,255,255,.78); max-width: 620px; }
.page-hero .tel-inline {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  background: var(--red); padding: 13px 24px; border-radius: 12px; font-weight: 900; font-size: 19px;
}
.page-hero .tel-inline:hover { background: var(--red-dark); }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 25px; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; color: var(--navy); }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul.ticks { margin: 16px 0; display: grid; gap: 10px; }
.prose ul.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.prose ul.ticks svg { flex-shrink: 0; margin-top: 6px; color: #12A150; }
.note {
  background: var(--bg-soft); border-left: 3px solid var(--red);
  padding: 18px 20px; border-radius: 0 10px 10px 0; margin: 24px 0;
  font-size: 15.5px; color: var(--ink-2);
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.62); padding: 56px 0 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand .brand-mark { font-size: 20px; }
.footer-brand .brand-mark .s2 { color: #fff; }
.footer-brand p { margin-top: 12px; line-height: 1.8; }
/* 페이지마다 본문 헤딩 레벨이 달라(h2 없이 h1→footer 로 끝나는 페이지도 있음) 푸터의
   "바로가기"/"지역별 안내" 는 진짜 헤딩(h3)이 아니라 라벨(.footer-h)로 둡니다.
   실제 h3 로 두면 페이지에 따라 h1 뒤에 h3 가 바로 오는 heading-order 위반이 생깁니다. */
.site-footer h4, .site-footer .footer-top .footer-h { color: #fff; font-size: 14.5px; font-weight: 800; margin-bottom: 14px; }
.site-footer nav li + li { margin-top: 9px; }
.site-footer nav a:hover, .site-footer a:hover { color: #fff; }
.footer-biz { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; line-height: 1.7; }
.footer-biz span { white-space: nowrap; }
/* .62 알파 = 네이비 배경 대비 7.4:1 (WCAG AA 통과). 더 낮추지 말 것 */
.footer-copy { margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.62); }

/* 제작사 크레딧 — 다른 이사업 정보와 섞이지 않게 위에 구분선을 두고 맨 아래 따로 둡니다 */
.footer-credit {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: 12px;
}
.footer-credit a {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.5); transition: color .15s;
}
.footer-credit a:hover { color: var(--blue-light); }
.footer-credit a img { flex-shrink: 0; display: block; border-radius: 4px; }
.footer-credit b { color: rgba(255,255,255,.85); font-weight: 800; }
.footer-credit a:hover b { color: var(--blue-light); }

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -4px 20px rgba(15,36,64,.1);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 13px; border-radius: 11px; font-weight: 800; font-size: 16px;
  }
  .callbar .c-tel { background: var(--red); color: #fff; }
  .callbar .c-form { background: var(--bg-soft); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
  body { padding-bottom: 76px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,18,30,.92);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }
.lightbox-cap { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 14px; text-align: center; }
