/* ==========================================================================
   철거랩 기업 홈페이지 — 공용 스타일
   방향: 다크 인더스트리얼 + 일렉트릭 블루
   · 페이지 전체 다크 고정 (섹션 중간에 라이트로 뒤집지 않는다)
   · 모양 규칙: 버튼은 알약(pill), 카드·사진은 6px, 입력창은 6px
   · 라이트로 되돌리려면 :root 토큰 블록만 교체하면 된다
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css");

:root {
  /* 표면 */
  --bg: #0a0c0f;
  --panel: #12151a;
  --panel-2: #1a1f26;
  --line: #262c34;
  --line-strong: #39414c;

  /* 글자 */
  --ink: #f3f5f8;
  --ink-2: #c3cad3;
  --muted: #8a939e;

  /* 액센트 */
  --accent: #2b6bff;
  --accent-2: #5b8cff;
  --accent-dark: #1a54e6;
  --accent-soft: rgba(43, 107, 255, .16);
  --accent-line: rgba(43, 107, 255, .38);

  --r: 6px;
  --r-sm: 3px;
  --pill: 999px;

  --wrap: 1240px;
  --gut: 24px;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* 하단 고정 바 자리 */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.24;
  letter-spacing: -0.03em;
  font-weight: 800;
}
p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- 레이아웃 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gut);
}

.sec { padding-block: 96px; }
.sec--tight { padding-block: 64px; }
.sec--panel { background: var(--panel); }

/* 액센트 밴드 — 페이지에서 가장 색이 강한 구간 */
.sec--ink {
  background:
    radial-gradient(120% 180% at 85% 0%, var(--accent-2) 0%, var(--accent) 42%, var(--accent-dark) 100%);
  color: #fff;
}

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 라틴 라벨 전용. 한글은 절대 mono 금지(윈도우에서 바탕체 폴백으로 깨짐) */
.label-en {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.h-xl { font-size: clamp(31px, 4.8vw, 54px); }
.h-lg { font-size: clamp(26px, 3.3vw, 38px); }
.h-md { font-size: clamp(20px, 2.3vw, 26px); }

.lead {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.sm { font-size: 14px; }

/* 형광펜 강조 */
.mark {
  background: var(--accent);
  color: #fff;
  padding: 0 .16em;
  border-radius: var(--r-sm);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl { color: var(--accent-2); }

/* ---------- 버튼 (알약) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 15px 30px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
    border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(43, 107, 255, .32);
}
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 8px 30px rgba(43, 107, 255, .45); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

.btn--light { background: #fff; color: #0a0c0f; }
.btn--light:hover { background: #dfe4ec; }

.btn--onink { background: #fff; color: var(--accent-dark); }
.btn--onink:hover { background: #e7edff; }

.btn--onink-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--onink-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 헤더 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 15, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { height: 72px; display: flex; align-items: center; gap: 28px; }

/* 로고 이미지는 비율을 유지한 채 높이만 맞춘다 (자르지 않는다).
   가로로 긴 워드마크(로고에 이미 상호가 들어간 형태)면 옆의 텍스트 상호를 숨긴다. */
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img {
  width: auto; height: 32px; max-width: 190px;
  object-fit: contain; border-radius: 0;
}
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -0.035em; }
.brand.is-wordmark b { display: none; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

.head-tel {
  display: flex; flex-direction: column; line-height: 1.15; flex: none;
  padding-left: 22px; border-left: 1px solid var(--line);
}
.head-tel span { font-size: 11px; color: var(--muted); font-weight: 600; }
.head-tel b { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: transparent; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle i::before,
.nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after { top: 6px; }

/* ---------- 사진 슬롯 ----------
   assets/photos/ 에 파일을 넣으면 자동으로 사진이 뜨고,
   없으면 라벨이 그대로 보인다. 가짜 스톡 사진은 쓰지 않는다. */
.shot {
  margin: 0; position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot[data-ratio="wide"] { aspect-ratio: 16 / 9; }
.shot[data-ratio="tall"] { aspect-ratio: 3 / 4; }
.shot[data-ratio="square"] { aspect-ratio: 1 / 1; }
.shot[data-ratio="hero"] { aspect-ratio: 5 / 4; }

.shot.is-empty::after {
  content: "사진 자리 " attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: repeating-linear-gradient(135deg,
    transparent 0 14px, rgba(255,255,255,.035) 14px 28px);
}

.shot-cap { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- 히어로 (풀블리드 다크 미디어) ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #0a0c0f; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-bg video { pointer-events: none; }
.hero-bg.has-video::before { content: none; }
/* 영상이 잘 보이도록 최소한만 덮는다. 글자 가독성은 텍스트 쪽 그림자로 확보. */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 50% 46%, rgba(6,8,11,.62) 0%, rgba(6,8,11,.22) 60%, transparent 78%),
    linear-gradient(180deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,.10) 34%, rgba(10,12,15,.20) 66%, rgba(10,12,15,.92) 100%);
}
.hero-bg.is-empty {
  background:
    radial-gradient(80% 62% at 50% 38%, rgba(43,107,255,.26) 0%, transparent 62%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.022) 22px 44px),
    #0a0c0f;
}
.hero-bg.is-empty::before {
  content: "배경 사진 자리 (assets/photos/hero.jpg)";
  position: absolute; left: 0; right: 0; bottom: 22px;
  text-align: center; font-size: 12px; color: var(--muted);
}

.hero-in {
  position: relative; z-index: 1;
  width: 100%;
  text-align: center;
  padding-block: 116px 104px;
}
.hero h1 {
  font-size: clamp(31px, 5.2vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-shadow: 0 2px 28px rgba(0,0,0,.85), 0 1px 4px rgba(0,0,0,.6);
}
.hero .lead {
  margin: 22px auto 0; font-size: 19px; color: #eef2f7;
  text-shadow: 0 2px 18px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.7);
}
.hero-tel { text-shadow: 0 2px 20px rgba(0,0,0,.85); }

/* 영상 위에 얹히는 보조 버튼은 배경을 깔아야 읽힌다 */
.hero .btn--ghost {
  background: rgba(10, 12, 15, .55);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}
.hero .btn--ghost:hover {
  background: rgba(10, 12, 15, .78);
  border-color: #fff;
  color: #fff;
}

.hero-tel {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.035em;
}
.hero-tel::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(91, 140, 255, .22);
}
.hero .btn-row { margin-top: 30px; justify-content: center; }

.hero-fade { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) both; }
.hero-fade:nth-child(2) { animation-delay: .08s; }
.hero-fade:nth-child(3) { animation-delay: .16s; }
.hero-fade:nth-child(4) { animation-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 하위 페이지 헤드 ---------- */
.pagehead {
  position: relative;
  padding-block: 76px 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(72% 130% at 12% 0%, rgba(43,107,255,.20) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 96px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---------- 약속 스트립 ---------- */
.promise {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.promise-in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.promise-in > div {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}
.promise-in > div:first-child { border-left: 0; padding-left: 0; }
.promise b { display: block; font-size: 19px; font-weight: 800; }
.promise b em { font-style: normal; color: var(--accent-2); }
.promise span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- 대표 사업 (가로 전면) ---------- */
.svc-lead {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 40px;
  padding: 34px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r);
  background:
    radial-gradient(90% 150% at 100% 0%, rgba(43,107,255,.14) 0%, transparent 58%),
    var(--panel);
}
.svc-lead .shot { border-color: var(--line-strong); }

/* 구조물 철거 종류 목록 */
.svc-kinds { margin: 0; padding: 0; list-style: none; }
.svc-kinds li { padding: 15px 0; border-top: 1px solid var(--line); }
.svc-kinds li:first-child { border-top: 0; padding-top: 0; }
.svc-kinds b { display: block; font-size: 18px; font-weight: 800; }
.svc-kinds span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }

/* 현장 사진 4장 : 넓은 1장 + 정사각 3장 */
.shot-grid4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.shot-grid4 > :first-child { grid-column: 1 / -1; }

/* 관할 지역 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  background: var(--panel-2);
}

/* 다른 지역 링크 */
.region-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.region-links a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .15s ease, color .15s ease;
}
.region-links a:hover { border-color: var(--accent); color: var(--accent-2); }

/* 같은 크기 4장 (2 x 2) */
.shot-grid-even {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* ---------- 사업 영역 그리드 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }
.svc h3 { font-size: 22px; margin-top: 18px; }
.svc p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.svc .tag {
  display: inline-block; margin-top: 12px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-2);
}
.svc .tag:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 원칙(번호 행) ---------- */
.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid; grid-template-columns: 92px 1fr 1.35fr; gap: 28px;
  align-items: start; padding-block: 36px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.principle:hover { background: rgba(43,107,255,.05); }
.principle .num {
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  color: var(--accent); padding-top: 2px; letter-spacing: -0.02em;
}
.principle h3 { font-size: 24px; }
.principle p { color: var(--ink-2); font-size: 16px; }

/* ---------- 사례 ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px;
  font-size: 14px; color: var(--muted);
}
.work-meta b { color: var(--accent-2); font-weight: 700; }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--accent-2); margin-bottom: 6px; display: block;
}

/* ---------- 스플릿 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--narrow { grid-template-columns: 1fr 1.15fr; }

.steps { counter-reset: st; margin: 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: st; position: relative;
  padding: 18px 0 18px 50px;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: 19px;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  color: var(--accent-2);
}
.steps b { display: block; font-size: 17px; }
.steps span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }

/* ---------- CTA 밴드 ---------- */
.band-in {
  display: grid; grid-template-columns: 1.2fr auto; gap: 36px;
  align-items: center; padding-block: 70px;
}
.sec--ink .lead { color: rgba(255,255,255,.86); }
.sec--ink .label-en { color: rgba(255,255,255,.72); }

/* ---------- 표 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 15px 12px; vertical-align: top; }
.tbl th { width: 168px; color: var(--muted); font-weight: 700; font-size: 15px; }
.tbl td { color: var(--ink-2); }
.tbl tr + tr { border-top: 1px solid var(--line); }

/* ---------- 폼 ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label { font-size: 15px; font-weight: 700; }
.field .help { font-size: 13.5px; color: var(--muted); }
.field .err { font-size: 13.5px; color: #ff7b7b; font-weight: 600; display: none; }
.field.is-bad .err { display: block; }
.field.is-bad input,
.field.is-bad textarea,
.field.is-bad select { border-color: #ff7b7b; }

input[type="text"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%;
  padding: 14px 15px;
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
input::placeholder, textarea::placeholder { color: #79828d; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  background: #171c23;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 130px; resize: vertical; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: 15.5px; font-weight: 600;
  background: var(--panel-2);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.choice input:hover + span { border-color: var(--accent-2); }
.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff;
}
.choice input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.agree input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.agree a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; display: none;
}
.form-status.ok { display: block; background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent-line); }
.form-status.bad { display: block; background: rgba(255,90,90,.12); color: #ff9a9a; border: 1px solid rgba(255,90,90,.4); }

/* ---------- 견적 계산기 ---------- */
.calc {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}
.calc-head {
  padding: 20px 26px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--panel-2);
}
.calc-body { padding: 28px 26px 30px; }
.calc-step { display: none; }
.calc-step.is-on { display: block; }
.calc-q { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.calc-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.calc-choices { display: grid; gap: 10px; margin-top: 22px; }
.calc-opt {
  width: 100%; text-align: left;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--panel-2);
  color: var(--ink);
  font-size: 17px; font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
}
.calc-opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.calc-opt:active { transform: translateY(1px); }
.calc-opt small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 3px; }

.calc-progress {
  height: 4px; width: 170px;
  background: var(--line); border-radius: var(--pill); overflow: hidden;
}
.calc-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s ease;
}

.result-box { border: 1px solid var(--accent-line); border-radius: var(--r); overflow: hidden; }
.result-top {
  padding: 26px;
  background: radial-gradient(130% 190% at 88% 0%, var(--accent-2) 0%, var(--accent) 44%, var(--accent-dark) 100%);
  color: #fff;
}
.result-top .amount {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800; letter-spacing: -0.04em; margin-top: 6px;
}
.result-rows { padding: 8px 26px 20px; background: var(--panel); }
.result-rows div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; font-size: 16px; color: var(--ink-2);
}
.result-rows div + div { border-top: 1px solid var(--line); }
.result-rows b { font-weight: 700; white-space: nowrap; color: var(--ink); }

.calc-back {
  background: none; border: 0; padding: 0;
  color: var(--muted); font-size: 14.5px; font-weight: 600;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.calc-back:hover { color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 22px 40px 22px 0;
  font-size: 17.5px; font-weight: 700;
  cursor: pointer; list-style: none; position: relative;
  transition: color .15s ease;
}
.faq summary:hover { color: var(--accent-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 32px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary { color: var(--accent-2); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq .a { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 16px; }

/* ---------- 푸터 ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding-block: 58px 40px;
  font-size: 15px;
}
.foot-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.foot-tel {
  font-size: 32px; font-weight: 800; letter-spacing: -0.04em;
  margin-top: 10px; display: block;
}
.foot-tel:hover { color: var(--accent-2); }
.foot-links { display: grid; gap: 10px; align-content: start; }
.foot-links b { font-size: 13px; color: var(--accent-2); font-weight: 700; letter-spacing: .04em; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: #fff; }
.foot-biz { padding-top: 24px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }

/* ---------- 하단 고정 CTA 바 ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  height: 60px; padding-inline: var(--gut);
  background: rgba(10, 12, 15, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
}
.callbar .cb-msg { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.callbar .cb-msg em { font-style: normal; color: var(--accent-2); }
.callbar a {
  display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: var(--pill);
  font-size: 15px; font-weight: 700;
  border: 1px solid var(--line-strong);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.callbar a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.callbar a.cb-main {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 18px rgba(43,107,255,.35);
}
.callbar a.cb-main:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ---------- 스크롤 리빌 ---------- */
.rv { opacity: 0; transform: translateY(16px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv.is-in { opacity: 1; transform: none; transition: none; }
  .hero-fade { animation: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .head-tel b { font-size: 18px; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; padding-bottom: 66px; }
  .sec { padding-block: 66px; }
  .sec--tight { padding-block: 48px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent-2); }
  .head-tel { display: none; }

  .hero { min-height: 0; }
  .hero-in { padding-block: 76px 72px; }
  .promise-in { grid-template-columns: 1fr; }
  .promise-in > div { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .promise-in > div:first-child { border-top: 0; }

  .svc-lead { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .shot-grid4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shot-grid4 > :first-child { grid-column: 1 / -1; }
  .shot-grid-even { grid-template-columns: 1fr; gap: 12px; }
  .svc-grid { grid-template-columns: 1fr; gap: 34px; }
  .principle { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .principle .num { padding-top: 0; }
  .works-grid { grid-template-columns: 1fr; }
  .split, .split--narrow { grid-template-columns: 1fr; gap: 34px; }
  .band-in { grid-template-columns: 1fr; gap: 26px; padding-block: 50px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .tbl th { width: 118px; font-size: 14px; }
  .calc-body { padding: 22px 20px 24px; }
  .calc-head { padding: 16px 20px; }

  .callbar { gap: 10px; padding-inline: 14px; }
  .callbar .cb-msg { display: none; }
  .callbar a { flex: 1; justify-content: center; padding: 11px 12px; }
}

@media (max-width: 520px) {
  :root { --gut: 18px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .callbar a { width: auto; }
  .ba-pair { grid-template-columns: 1fr; }
  .calc-progress { width: 110px; }
}

@media print {
  .site-head, .callbar, .btn-row { display: none; }
}
