/* ============================================================
   HJ산업 · 프리미엄 랜딩페이지
   Brand: 에이치제이(HJ)산업 (윤희영 대표)
   Palette: Deep Forest Green + Navy Steel + Signal Amber
============================================================ */
:root{
  /* ── COLORS ──────────────────────────────────── */
  --ink:#0d1418;
  --ink-2:#2a343b;
  --ink-3:#5b6771;
  --ink-4:#8a95a0;
  --line:#dee5ea;
  --line-2:#e8eef2;
  --surface:#ffffff;
  --surface-2:#f7f9fa;
  --surface-3:#f0f4f6;
  --cream:#f9f6ef;

  /* Brand — Deep Industrial */
  --green-900:#0a2e26;
  --green-800:#103d2a;
  --green-700:#154b3f;
  --green-600:#1e6b52;
  --green-500:#2a8264;

  /* Steel Navy — secondary */
  --blue-800:#0f3652;
  --blue-700:#1f6288;
  --blue-500:#3d87b4;
  --blue-100:#e8f2f8;

  /* Signal amber — CTA + accents */
  --amber-500:#e5a437;
  --amber-400:#f0b854;
  --amber-100:#fdf3dc;

  /* Semantic */
  --kakao:#FEE500;
  --danger:#c62828;

  /* Gradients */
  --grad-hero: linear-gradient(135deg,#0a2e26 0%, #103d2a 40%, #0f3652 100%);
  --grad-cta: linear-gradient(135deg, #154b3f 0%, #1f6288 100%);
  --grad-amber: linear-gradient(135deg, #e5a437 0%, #f0b854 50%, #e5a437 100%);
  --grad-panel: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);

  /* Shadows */
  --sh-sm: 0 2px 8px -2px rgba(10,46,38,.10);
  --sh-md: 0 12px 32px -12px rgba(10,46,38,.16);
  --sh-lg: 0 24px 60px -18px rgba(10,46,38,.28);
  --sh-xl: 0 32px 80px -20px rgba(10,46,38,.40);

  /* Type */
  --font-kr: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Nanum Myeongjo', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;
  --dur: .28s;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ── RESET / BASE ────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

/* ── A11Y: 키보드 포커스 링 (마우스 클릭에는 안 보임) ─────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: 6px;
}
button:focus-visible,
a:focus-visible,
.radio-tile:focus-visible,
.check-tile:focus-visible,
.faq-q:focus-visible,
.drop-zone:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(240,184,84,.2);
}
/* 스크린리더 전용 텍스트 */
.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;
}
body {
  margin:0;
  font-family: var(--font-kr);
  color: var(--ink);
  background: var(--surface);
  font-size:16px;
  line-height:1.65;
  letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
  word-break:keep-all;
  overflow-x:hidden;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea, button { font-family: inherit; }
h1,h2,h3,h4 { margin:0; letter-spacing:-.03em; line-height:1.15; color: var(--green-800); text-wrap: balance; font-weight:800; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing:-.04em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 20px; }
p { margin:0; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ── TOP BAR ─────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,46,38,.08);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 52px; width: auto; display:block; }
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.topbar-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -.01em;
  border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}
.topbar-nav a:hover {
  color: var(--green-700);
  background: rgba(30,107,82,.06);
}
@media (max-width: 900px) {
  .topbar-nav { display: none; }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text .kr {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing:-.03em;
}
.brand-text .en {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-3);
  font-weight: 600;
  font-family: var(--font-serif);
  text-transform: uppercase;
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.top-tel {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--green-800);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-tel::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .7; }
}
.top-btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-cta);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.top-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }

/* ── HERO ───────────────────────────────────── */
/* ─────────────────────────────────────────────
   HERO · 사진 배경 제거 · 순수 색감 컴포지션
   레이어 구성:
   1) 베이스: 딥 그린 → 미드나잇 티일 대각 그라디언트
   2) 왼쪽 상단: 초록 원형 라이트 스팟
   3) 오른쪽 하단: 앰버 원형 라이트 스팟
   4) 대각 컬러 블록 (앰버 삼각형)
   5) 스캔 그리드 (밝기 낮게)
   6) 대형 "HJ" 배경 워터마크 (양각)
   7) 상단·하단 fade 마스크
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 40px 0 60px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  /* 베이스 그라디언트 — 딥 그린 → 미드나잇 티일 → 다크 블루 */
  background:
    radial-gradient(80% 60% at 15% 20%, rgba(30,107,82,.55) 0%, transparent 55%),
    radial-gradient(70% 55% at 85% 85%, rgba(240,184,84,.28) 0%, transparent 55%),
    linear-gradient(135deg, #0a2e26 0%, #0d3d3a 35%, #0f3652 100%);
}
/* 앰버 대각 컬러 블록 — 우측 하단 삼각형 */
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 55%;
  height: 65%;
  background: linear-gradient(135deg, rgba(240,184,84,.14) 0%, rgba(229,164,55,.05) 100%);
  transform: skewY(-12deg);
  border-top: 1px solid rgba(240,184,84,.15);
  z-index: -2;
  pointer-events: none;
}
/* 스캔 그리드 + 대형 HJ 워터마크 (양각 stroke) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  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: 40px 40px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}
/* 좌측 상단 원형 광원 */
.hero .hero-orb-1,
.hero .hero-orb-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}
.hero .hero-orb-1 {
  top: -180px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(42,130,100,.55) 0%, rgba(42,130,100,0) 65%);
}
.hero .hero-orb-2 {
  bottom: -140px; right: -100px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(240,184,84,.35) 0%, rgba(240,184,84,0) 65%);
}
/* 대형 HJ 배경 워터마크 (스트로크형 아웃라인 타이포) */
.hero .hero-watermark {
  position: absolute;
  right: -3vw; bottom: -6vw;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(240px, 40vw, 640px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240,184,84,.14);
  text-stroke: 1.5px rgba(240,184,84,.14);
  user-select: none;
  z-index: -1;
  pointer-events: none;
}
/* 상단/하단 페이드 */
.hero .hero-fade-top,
.hero .hero-fade-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: -1;
}
.hero .hero-fade-top {
  top: 0;
  background: linear-gradient(180deg, rgba(10,46,38,.5) 0%, transparent 100%);
}
.hero .hero-fade-bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(10,46,38,.7) 0%, transparent 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--amber-400);
  box-shadow: 0 0 12px var(--amber-400);
}
.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  letter-spacing:-.045em;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #ffd68b 0%, #f0b854 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 560px;
}
.btn {
  min-height: 58px;
  padding: 0 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
  text-align: center;
  letter-spacing:-.01em;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary { background: #fff; color: var(--green-800); box-shadow: 0 12px 32px -12px rgba(0,0,0,.4); }
.btn-primary:hover { box-shadow: 0 18px 42px -12px rgba(0,0,0,.55); }
.btn-kakao { background: var(--kakao); color: #191919; }
.btn-ai {
  background: linear-gradient(135deg, rgba(229,164,55,.15), rgba(240,184,84,.08));
  color: #fff;
  border: 1px solid rgba(240,184,84,.4);
}
.btn-ai::before {
  content: "";
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b854' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 L15 9 L22 12 L15 15 L12 22 L9 15 L2 12 L9 9 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
  max-width: 560px;
}
.trust-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.trust-item b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-400);
  letter-spacing:-.02em;
  font-family: var(--font-serif);
  font-style: italic;
}
.trust-item span {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
}

/* ─────────────────────────────────────────────
   Hero side — AI scan visual (Tesla FSD style)
   ───────────────────────────────────────────── */
.hero-viz {
  --scan: #6ee7c7;              /* mint scan accent */
  --scan-soft: rgba(110,231,199,.7);
  --scan-dim: rgba(110,231,199,.35);
  --hud-bg: rgba(6,20,17,.72);
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-xl), inset 0 0 0 1px rgba(255,255,255,.02);
  isolation: isolate;
  font-family: var(--font-mono);
  color: #eaf6f2;
}
/* live camera feed — 사진 대신 색감으로 구성된 "현장" 컴포지션 */
.hero-viz .viz-feed {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    /* 우측 상단 앰버 스팟 (조명) */
    radial-gradient(circle at 78% 22%, rgba(240,184,84,.35) 0%, rgba(240,184,84,0) 42%),
    /* 좌측 하단 그린 스팟 */
    radial-gradient(circle at 18% 82%, rgba(30,107,82,.45) 0%, rgba(30,107,82,0) 45%),
    /* 원근감 표현: 아래에서 위로 짙어짐 */
    linear-gradient(160deg, #0f3352 0%, #0d2a3f 40%, #0a1e2c 100%);
  filter: saturate(1.05) contrast(1.02);
}
/* 원근 룸 아웃라인 (벽/천장/바닥 선) */
.hero-viz .viz-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* 좌측 벽 → 소실점 */
    linear-gradient(64deg, transparent 0%, transparent 12%, rgba(110,231,199,.14) 12%, rgba(110,231,199,.14) 12.15%, transparent 12.15%),
    linear-gradient(-64deg, transparent 0%, transparent 12%, rgba(110,231,199,.14) 12%, rgba(110,231,199,.14) 12.15%, transparent 12.15%),
    /* 천장/바닥 라인 */
    linear-gradient(180deg, transparent 0%, transparent 18%, rgba(110,231,199,.10) 18%, rgba(110,231,199,.10) 18.1%, transparent 18.1%, transparent 82%, rgba(110,231,199,.10) 82%, rgba(110,231,199,.10) 82.1%, transparent 82.1%);
  opacity: .8;
}
/* 원근 소실선 (중앙 소실점으로 향하는 선들) */
.hero-viz .viz-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* 바닥 원근 그리드 (콘크리트 바닥 느낌) */
    linear-gradient(180deg,
      transparent 0%, transparent 68%,
      rgba(110,231,199,.06) 68%, rgba(110,231,199,.06) 100%);
  mask-image: linear-gradient(180deg, transparent 60%, black 75%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 60%, black 75%, black 100%);
}
/* dark overlay + subtle scan grid */
.hero-viz::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,20,17,.55) 0%, rgba(6,20,17,.25) 40%, rgba(6,20,17,.75) 100%),
    repeating-linear-gradient(0deg,  rgba(110,231,199,.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(110,231,199,.05) 0 1px, transparent 1px 44px);
  z-index: 1;
  pointer-events: none;
}
/* scan sweep line */
.hero-viz::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--scan-soft) 20%, #a7f3d9 50%, var(--scan-soft) 80%, transparent);
  box-shadow: 0 0 8px var(--scan), 0 0 20px var(--scan-dim);
  animation: hvScan 4.4s cubic-bezier(.6,0,.4,1) infinite;
  z-index: 4;
  pointer-events: none;
}
@keyframes hvScan {
  0%   { top: 6%;  opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 94%; opacity: 0; }
}

/* ── HUD: top bar ─────────────────────────── */
.hv-hud {
  position: absolute; z-index: 5;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(234,246,242,.85);
}
.hv-hud.top {
  top: 14px; left: 16px; right: 16px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.hv-hud .brand-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  background: var(--hud-bg);
  border: 1px solid rgba(110,231,199,.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hv-hud .brand-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 8px #ff5a5a;
  animation: hvBlink 1.4s ease-in-out infinite;
}
@keyframes hvBlink { 50% { opacity: .25; } }
.hv-hud .meta {
  display: inline-flex; gap: 10px;
  padding: 5px 10px;
  background: var(--hud-bg);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  color: rgba(234,246,242,.6);
  font-size: 10px;
}
.hv-hud .meta b { color: var(--scan); font-weight: 500; }

/* ── viewport crosshair corners ───────────── */
.hv-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--scan-soft);
  z-index: 5;
  opacity: .8;
}
.hv-corner.tl { top: 52px; left: 16px; border-right: 0; border-bottom: 0; }
.hv-corner.tr { top: 52px; right: 16px; border-left: 0; border-bottom: 0; }
.hv-corner.bl { bottom: 152px; left: 16px; border-right: 0; border-top: 0; }
.hv-corner.br { bottom: 152px; right: 16px; border-left: 0; border-top: 0; }

/* ── bounding boxes over feed ─────────────── */
.hv-box {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--scan-soft);
  box-shadow: 0 0 0 1px rgba(6,20,17,.35), inset 0 0 24px rgba(110,231,199,.06);
  animation: hvBoxIn .55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes hvBoxIn {
  0%   { opacity: 0; transform: scale(.94); }
  100% { opacity: 1; transform: scale(1); }
}
/* corner brackets */
.hv-box::before, .hv-box::after,
.hv-box > .cc-tl, .hv-box > .cc-tr, .hv-box > .cc-bl, .hv-box > .cc-br {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border: 1.5px solid var(--scan);
}
.hv-box::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hv-box::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hv-box > .cc-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hv-box > .cc-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* class label attached above bounding box */
.hv-box .lbl {
  position: absolute;
  top: -22px; left: -1px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  height: 20px;
  background: var(--scan);
  color: #06231b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  border-radius: 2px 2px 2px 0;
}
.hv-box .lbl .pct {
  font-family: var(--font-mono);
  font-weight: 500;
  opacity: .78;
}
/* per-object positions */
.hv-box.b1 { top: 12%;  left: 28%; width: 44%; height: 15%; animation-delay: .15s; }  /* 천장 */
.hv-box.b2 { top: 30%;  left: 44%; width: 30%; height: 26%; animation-delay: .45s; }  /* 벽체 노출 */
.hv-box.b3 { top: 66%;  left: 8%;  width: 58%; height: 20%; animation-delay: .75s; }  /* 바닥 */
.hv-box.b4 { top: 44%;  left: 12%; width: 12%; height: 26%; animation-delay: 1.05s; } /* 작업자 */
.hv-box.b4 { border-color: rgba(255,255,255,.55); }
.hv-box.b4::before, .hv-box.b4::after,
.hv-box.b4 > .cc-bl, .hv-box.b4 > .cc-br { border-color: #fff; }
.hv-box.b4 .lbl { background: rgba(255,255,255,.94); color: #06231b; }

/* ── right-side data panel ────────────────── */
.hv-panel {
  position: absolute;
  top: 60px; right: 14px;
  width: 178px;
  z-index: 5;
  background: var(--hud-bg);
  border: 1px solid rgba(110,231,199,.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  padding: 10px 11px 11px;
  font-size: 11px;
  color: rgba(234,246,242,.88);
  animation: hvBoxIn .5s var(--ease) both;
  animation-delay: 1.1s;
}
.hv-panel .p-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: rgba(234,246,242,.5);
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(110,231,199,.18);
  margin-bottom: 8px;
}
.hv-panel .p-hd b { color: var(--scan); font-weight: 500; }
.hv-panel .p-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hv-panel .p-row:last-of-type { border-bottom: 0; }
.hv-panel .p-row .k {
  font-family: var(--font-kr);
  font-size: 11px;
  color: rgba(234,246,242,.72);
  letter-spacing: 0;
}
.hv-panel .p-row .v {
  font-size: 10.5px;
  color: var(--scan);
  font-variant-numeric: tabular-nums;
}
.hv-panel .p-row .v .pct {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  background: rgba(110,231,199,.14);
  border-radius: 3px;
  color: #cff8e8;
  font-size: 9.5px;
}
.hv-panel .p-sub {
  margin-top: 3px;
  font-family: var(--font-kr);
  font-size: 10px;
  color: rgba(234,246,242,.4);
  letter-spacing: 0;
}

/* ── bottom summary strip ─────────────────── */
.hv-summary {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 5;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(6,20,17,.55), rgba(6,20,17,.82));
  border: 1px solid rgba(110,231,199,.20);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  animation: hvBoxIn .55s var(--ease) both;
  animation-delay: 1.35s;
}
.hv-summary .s-item {
  position: relative;
  padding-left: 10px;
}
.hv-summary .s-item + .s-item::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(255,255,255,.08);
}
.hv-summary .s-k {
  font-size: 9.5px;
  letter-spacing: .12em;
  color: rgba(234,246,242,.5);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.hv-summary .s-v {
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.hv-summary .s-v .u {
  font-size: 11px;
  font-weight: 500;
  color: rgba(234,246,242,.55);
  margin-left: 2px;
}
.hv-summary .s-v .plus {
  color: var(--scan);
  margin: 0 3px;
}

/* responsive tighten */
@media (max-width: 900px) {
  .hv-panel { width: 148px; top: 54px; right: 12px; font-size: 10.5px; }
  .hv-summary { padding: 10px 12px; }
  .hv-summary .s-v { font-size: 17px; }
  .hv-corner.bl, .hv-corner.br { bottom: 138px; }
}

/* ── SECTION SHELL ───────────────────────────── */
section {
  padding: 80px 0;
}
.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
}
.section-head.left {
  text-align: left;
  margin-left: 0;
  max-width: 780px;
}

/* ── SLIDING GALLERY ─────────────────────────── */
.gallery-section {
  padding: 80px 0 60px;
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.gallery-viewport {
  overflow: hidden;
  position: relative;
  /* 좌우 페이드 마스크 제거 (사용자 요청) */
}
.gallery-viewport + .gallery-viewport { margin-top: 0; }
.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.gallery-track--left  { animation: slideLeft 60s linear infinite; }
.gallery-track--right { animation: slideRight 60s linear infinite; }
.gallery-viewport:hover .gallery-track { animation-play-state: paused; }
@keyframes slideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes slideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── STRENGTHS MARQUEE (장점 슬라이딩 배너) ───── */
.strengths-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--green-900) 0%, var(--green-800) 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin: 24px 0;
  position: relative;
  /* 좌우 페이드 마스크 제거 (사용자 요청) */
}
.strengths-marquee::before,
.strengths-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.08);
  z-index: 3;
}
.strengths-marquee::before { left: 50%; display: none; }
.strengths-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: slideLeft 42s linear infinite;
  padding: 18px 0;
}
.strengths-marquee:hover .strengths-track { animation-play-state: paused; }
.st-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
  color: #fff;
  white-space: nowrap;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  border-right: 1px solid rgba(255,255,255,.14);
}
.st-pill .st-icon {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.st-pill.hot .st-icon {
  background: var(--amber-400);
  color: var(--green-900);
}
.st-pill em {
  font-style: normal;
  color: var(--amber-400);
  font-weight: 800;
}
@media (max-width: 720px){
  .st-pill { padding: 0 22px; font-size: 13.5px; gap: 10px; }
  .st-pill .st-icon { width: 26px; height: 26px; flex: 0 0 26px; font-size: 13px; }
}

.case-card {
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--green-600);
}
.case-image {
  position: relative;
  height: 200px;
  background: var(--grad-hero);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.case-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.case-card:hover .case-image img { transform: scale(1.06); }
.case-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,46,38,.15) 0%, rgba(10,46,38,.35) 55%, rgba(10,46,38,.85) 100%);
  z-index: 1;
}
.case-image .stamp {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: left;
}
.case-image .stamp strong {
  display: block;
  font-family: var(--font-kr);
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  color: var(--amber-400);
  letter-spacing:-.02em;
  margin-top: 3px;
  text-transform: none;
}
.case-body {
  padding: 18px 20px 22px;
}
.case-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing:-.01em;
  background: rgba(21,75,63,.08);
  color: var(--green-800);
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}
.tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: tagDotBlink 1.6s ease-in-out infinite;
}
@keyframes tagDotBlink {
  0%, 100% { opacity: .35; box-shadow: 0 0 0 0 currentColor; transform: scale(1); }
  50%      { opacity: 1;   box-shadow: 0 0 0 3px rgba(0,0,0,0); transform: scale(1.15); }
}
/* 태그가 여러 개일 때 서로 살짝 시차를 두어 더 자연스럽게 */
.tag:nth-child(2)::before { animation-delay: .25s; }
.tag:nth-child(3)::before { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .tag::before { animation: none; opacity: .6; }
}
.case-card:hover .tag {
  background: rgba(21,75,63,.12);
  border-color: rgba(21,75,63,.15);
}
.tag.blue { background: rgba(31,98,136,.09); color: var(--blue-800); }
.tag.amber { background: var(--amber-100); color: #8b5f10; }
.case-card:hover .tag.blue { background: rgba(31,98,136,.14); border-color: rgba(31,98,136,.18); }
.case-card:hover .tag.amber { background: #f9e9c4; border-color: rgba(139,95,16,.18); }
.case-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing:-.02em;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color var(--dur) var(--ease);
}
.case-card:hover .case-title { color: var(--green-700); }
.case-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.case-amount {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing:-.01em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.case-amount .won { font-family: var(--font-kr); font-style: normal; font-size: 14px; color: var(--ink-3); margin-left: 2px; }
.case-region {
  font-size: 11px;
  color: var(--ink-4);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.case-region::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--green-600);
  background: transparent;
  flex-shrink: 0;
}
/* hover 오버레이 CTA — 카드 상단 이미지 위에 뜨는 "자세히 보기" 힌트 */
.case-image .peek {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 9px;
  background: rgba(255,255,255,.9);
  color: var(--green-800);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 6px 16px -6px rgba(10,46,38,.35);
}
.case-image .peek svg { color: var(--amber-500); }
.case-card:hover .case-image .peek {
  opacity: 1;
  transform: translateX(0);
}

.gallery-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.g-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--green-800);
  transition: all var(--dur) var(--ease);
}
.g-cta:hover { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.g-cta.primary { background: var(--grad-cta); color: #fff; border-color: transparent; }
.g-cta.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── AI FEATURES ─────────────────────────────── */
.features {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--grad-panel);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--green-500);
  box-shadow: var(--sh-lg);
}
.feature .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 500;
  color: var(--amber-500);
  opacity: .8;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--green-800);
  letter-spacing:-.02em;
}
.feature p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.feature .tag-set {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.feature .tag-set .tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--surface-3);
  color: var(--ink-3);
}
.feature.wide { grid-column: span 2; }
.feature.dark {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
}
.feature.dark h3 { color: #fff; }
.feature.dark p { color: rgba(255,255,255,.85); }
.feature.dark .num { color: var(--amber-400); }
.feature.dark .tag-set { border-color: rgba(255,255,255,.1); }
.feature.dark .tag-set .tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }

/* ── AI ESTIMATE FORM ────────────────────────── */
.estimate {
  padding: 100px 0;
  background:
    linear-gradient(180deg, var(--surface-2) 0%, #fff 100%);
}
.estimate-shell {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.estimate-lead {
  /* sticky 제거: 폼이 길어져 스크롤 시 왼쪽 카드가 잘려 보이는 문제 방지 */
  position: relative;
}
.estimate-lead h2 {
  margin-bottom: 16px;
  letter-spacing:-.035em;
}
.estimate-lead .lead-copy {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.upload-hint {
  padding: 20px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.upload-hint::before {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(400px 200px at 100% 100%, rgba(240,184,84,.25), transparent 60%);
}
.upload-hint > * { position: relative; z-index: 1; }
.upload-hint h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-hint h4::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--amber-400);
  display: inline-block;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2e26' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 L15 9 L22 12 L15 15 L12 22 L9 15 L2 12 L9 9 Z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.upload-hint p {
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.lead-checklist {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.lead-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.lead-check::before {
  content: "✓";
  color: var(--green-600);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-md);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--blue-700) 50%, var(--amber-500) 100%);
  border-radius: 28px 28px 0 0;
}
.form-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 8px;
}
.form-eyebrow .badge-ai {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-800);
  color: var(--amber-400);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
}
.form-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing:-.03em;
  color: var(--green-900);
  margin-bottom: 8px;
  line-height: 1.2;
}
.form-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 28px;
  line-height: 1.6;
}
.form-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing:-.01em;
  margin: 24px 0 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section-title::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--amber-500);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing:-.01em;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,107,82,.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.field .hint {
  font-size: 11.5px;
  color: var(--ink-4);
  font-family: var(--font-mono);
}

/* ── AR/LiDAR 자동측정 버튼 ────────────────── */
.field-with-btn { position:relative; }
.field-with-btn input { padding-right: 132px; }
.ar-scan-btn {
  position:absolute;
  right:6px;
  top: 30px;
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #103d2a 0%, #1f6288 100%);
  color:#fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing:-.01em;
  display: inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
  box-shadow: 0 4px 14px -6px rgba(15,54,82,.5);
  white-space: nowrap;
}
.ar-scan-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(15,54,82,.6); }
.ar-scan-btn:disabled { opacity: .7; cursor: progress; }
.ar-scan-btn .ar-ico {
  width: 14px; height: 14px;
  border: 1.6px solid #f0b854;
  border-radius: 3px;
  position: relative;
}
.ar-scan-btn .ar-ico::before,
.ar-scan-btn .ar-ico::after {
  content:''; position:absolute; background:#f0b854;
}
.ar-scan-btn .ar-ico::before { left:50%; top:-2px; bottom:-2px; width:1.6px; transform:translateX(-50%); }
.ar-scan-btn .ar-ico::after  { top:50%; left:-2px; right:-2px; height:1.6px; transform:translateY(-50%); }
.ar-scan-btn.scanning .ar-ico { animation: arSpin 1s linear infinite; }
@keyframes arSpin { to { transform: rotate(360deg); } }

/* ── AI 영상 분석 패널 ────────────────────── */
.ai-scan-panel {
  display: none;
  margin-top: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0a2e26 0%, #103d2a 100%);
  padding: 18px 20px 20px;
  color:#e8eef2;
  border: 1px solid rgba(240,184,84,.25);
  box-shadow: 0 20px 40px -20px rgba(10,46,38,.6);
  overflow: hidden;
}
.ai-scan-panel.show { display:block; animation: aiPanelIn .4s var(--ease); }
@keyframes aiPanelIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.ai-scan-head {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(240,184,84,.25);
  margin-bottom: 12px;
}
.ai-scan-head .t {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--amber-400);
  letter-spacing:.14em;
  text-transform: uppercase;
  display:flex; align-items:center; gap:8px;
}
.ai-scan-head .t::before {
  content:''; width:8px; height:8px; border-radius:50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(240,184,84,.2);
  animation: aiPulse 1.4s ease-in-out infinite;
}
@keyframes aiPulse { 0%,100% { opacity:1; transform: scale(1);} 50% { opacity:.4; transform: scale(1.4);} }
.ai-scan-head .status {
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(232,238,242,.6);
  letter-spacing:.1em;
}
.ai-scan-progress {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ai-scan-progress > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f0b854 0%, #e5a437 100%);
  border-radius: 99px;
  transition: width .6s var(--ease);
}
.ai-scan-list {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing:-.01em;
}
.ai-scan-row {
  display:flex; align-items:center; gap:10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.05);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.ai-scan-row.on {
  opacity: 1; transform: none;
  background: rgba(240,184,84,.08);
  border-color: rgba(240,184,84,.25);
}
.ai-scan-row .ico {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(240,184,84,.15);
  color: var(--amber-400);
  display:flex; align-items:center; justify-content:center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.ai-scan-row.on .ico { background: var(--amber-500); color: #0a2e26; }
.ai-scan-row .lbl { flex: 1; color: #e8eef2; }
.ai-scan-row .val { color: var(--amber-400); font-weight: 700; }
.ai-scan-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(240,184,84,.2);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ai-scan-summary.show { display:flex; }
.ai-scan-summary .msg {
  font-size: 12.5px;
  color: rgba(232,238,242,.85);
}
.ai-scan-summary .msg b { color: var(--amber-400); }
.ai-scan-summary .btn-apply {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--amber-500);
  color: #0a2e26;
  font-size: 12px;
  font-weight: 800;
  letter-spacing:-.01em;
  border: 0;
  cursor: pointer;
}
.ai-scan-summary .btn-apply:hover { background: var(--amber-400); }

/* ── 산출 근거 (breakdown 하단) ────────────── */
.result-formula {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(240,184,84,.08);
  border: 1px dashed rgba(240,184,84,.4);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  letter-spacing:-.01em;
}
.result-formula b { color: var(--amber-400); }
.result-formula .fm-title {
  display:block;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--amber-400);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Radio group (공사 유형) */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  grid-column: 1 / -1;
}
.radio-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,107,82,.04) 0%, transparent 60%),
    linear-gradient(180deg, #fbfcfc 0%, #f4f7f6 100%);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
  overflow: hidden;
}
.radio-tile:hover {
  border-color: rgba(30,107,82,.4);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,107,82,.08) 0%, transparent 60%),
    linear-gradient(180deg, #f8fbfa 0%, #eff4f2 100%);
}
.radio-tile input { display: none; }
.radio-tile .rt-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f1 100%);
  border: 1px dashed rgba(21,75,63,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
}
.radio-tile .rt-ico svg { display: block; }
.radio-tile .rt-txt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.radio-tile .dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  flex-shrink: 0;
  background: #fff;
  transition: all var(--dur) var(--ease);
  position: relative;
}
.radio-tile input:checked ~ .rt-txt .dot,
.radio-tile input:checked ~ .dot {
  border-color: var(--green-700);
  background: var(--green-700);
}
.radio-tile input:checked ~ .rt-txt .dot::before,
.radio-tile input:checked ~ .dot::before {
  content:"";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #fff;
}
.radio-tile:has(input:checked) {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,107,82,.14) 0%, transparent 60%),
    linear-gradient(180deg, #f2f8f5 0%, #e6f0eb 100%);
  border-color: var(--green-700);
  color: var(--green-800);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 8px 22px -14px rgba(21,75,63,.55);
}
.radio-tile:has(input:checked) .rt-ico {
  background: linear-gradient(180deg, #ffffff 0%, #dfeee7 100%);
  border-color: rgba(21,75,63,.55);
  border-style: solid;
  color: var(--green-800);
}
/* 앰버 강조 — "철거 + 원상복구" 콤보 (첫 번째) 선택시 강조는 유지, 대신 4번째 "건물 철거"만 앰버 톤 */
.radio-tile[data-accent="amber"]:has(input:checked) {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(240,184,84,.18) 0%, transparent 60%),
    linear-gradient(180deg, #fbf6e6 0%, #f2ebd4 100%);
  border-color: var(--amber-500);
  color: #7a5410;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 8px 22px -14px rgba(180,126,24,.55);
}
.radio-tile[data-accent="amber"]:has(input:checked) .rt-ico {
  background: linear-gradient(180deg, #ffffff 0%, #f5e8c5 100%);
  border-color: rgba(139,95,16,.5);
  color: #8b5f10;
}
.radio-tile[data-accent="amber"]:has(input:checked) .dot {
  border-color: var(--amber-500);
  background: var(--amber-500);
}

/* Checkbox group (체크 항목) */
.check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  grid-column: 1 / -1;
}
.check-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #fbfcfc 0%, #f5f8f7 100%);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}
.check-tile:hover {
  border-color: rgba(30,107,82,.35);
  background: linear-gradient(180deg, #f7faf9 0%, #eef4f1 100%);
}
.check-tile input { display: none; }
.check-tile .box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(21,75,63,.05) inset;
}
.check-tile .box::after {
  content: "";
  width: 4px; height: 8px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg) scale(0);
  transition: transform var(--dur) var(--ease);
  margin-top:-2px;
}
.check-tile input:checked ~ .box {
  background: linear-gradient(135deg, #1e6b52 0%, #103d2a 100%);
  border-color: var(--green-700);
  box-shadow:
    0 1px 2px rgba(21,75,63,.15) inset,
    0 4px 10px -4px rgba(21,75,63,.5);
}
.check-tile input:checked ~ .box::after { transform: rotate(45deg) scale(1); }
.check-tile:has(input:checked) {
  border-color: var(--green-700);
  background:
    radial-gradient(140% 100% at 0% 50%, rgba(30,107,82,.12) 0%, transparent 55%),
    linear-gradient(180deg, #f4faf7 0%, #e8f1ec 100%);
  color: var(--green-800);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 6px 16px -12px rgba(21,75,63,.4);
}
.check-tile:has(input:checked)::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
}

/* ─────────────────────────────────────────────
   Upload dropzone (v2 · 시각적으로 매력적)
   - 상단 예시 썸네일 3장(SVG 실루엣: 거실/천장/폐기물)
   - 카드형 컨테이너 + 그린/앰버 액센트
   - 부드러운 hover 색상 전환만
   ───────────────────────────────────────────── */
.drop-zone {
  position: relative;
  display: block;
  border-radius: 18px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,107,82,.06) 0%, transparent 60%),
    linear-gradient(180deg, #fbfcfc 0%, #f4f7f6 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 8px 24px -18px rgba(10,46,38,.35);
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--green-600);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,107,82,.12) 0%, transparent 60%),
    linear-gradient(180deg, #f6faf8 0%, #eef4f1 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 14px 32px -18px rgba(10,46,38,.5);
}
.drop-zone input[type=file] { display: none; }

/* 상단 예시 썸네일 스트립 */
.dz-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 16px 0 16px;
}
.dz-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px dashed rgba(21,75,63,.25);
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f4 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.drop-zone:hover .dz-thumb,
.drop-zone.dragover .dz-thumb {
  border-color: rgba(30,107,82,.5);
  background: linear-gradient(180deg, #ffffff 0%, #eaf1ed 100%);
}
.dz-thumb .num {
  position: absolute;
  top: 6px; left: 6px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(21,75,63,.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.dz-thumb .lbl {
  position: absolute;
  bottom: 5px;
  left: 6px; right: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-800);
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1;
  opacity: .78;
}
.dz-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
  padding: 14px 10px 20px 10px;
  color: var(--green-700);
  opacity: .55;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.drop-zone:hover .dz-thumb svg {
  opacity: .82;
  color: var(--green-600);
}

/* 사진↔영상 dropzone 구분 액센트 */
.drop-zone[data-kind="video"] {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(240,184,84,.10) 0%, transparent 60%),
    linear-gradient(180deg, #fbfaf4 0%, #f5f1e6 100%);
}
.drop-zone[data-kind="video"]:hover,
.drop-zone[data-kind="video"].dragover {
  border-color: var(--amber-500);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(240,184,84,.18) 0%, transparent 60%),
    linear-gradient(180deg, #fbf6e6 0%, #f2ebd4 100%);
}
.drop-zone[data-kind="video"] .dz-thumb {
  border-color: rgba(229,164,55,.32);
  background: linear-gradient(180deg, #ffffff 0%, #fbf5e4 100%);
}
.drop-zone[data-kind="video"] .dz-thumb .num {
  background: rgba(139,95,16,.9);
}
.drop-zone[data-kind="video"] .dz-thumb .lbl {
  color: #8b5f10;
}
.drop-zone[data-kind="video"] .dz-thumb svg {
  color: var(--amber-500);
  opacity: .7;
}

/* 하단 CTA 본문 */
.dz-body {
  padding: 14px 20px 20px 20px;
  text-align: center;
  position: relative;
}
.dz-body::before {
  content: "";
  position: absolute;
  top: 0; left: 20px; right: 20px;
  border-top: 1px dashed rgba(21,75,63,.18);
}
.drop-zone[data-kind="video"] .dz-body::before {
  border-top-color: rgba(229,164,55,.35);
}
.drop-zone .dz-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-cta);
  margin: 12px auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(21,75,63,.6);
}
.drop-zone[data-kind="video"] .dz-icon {
  background: linear-gradient(135deg, #e5a437 0%, #b47e18 100%);
  box-shadow: 0 8px 18px -8px rgba(180,126,24,.7);
}
.drop-zone .dz-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.drop-zone .dz-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--amber-100);
  color: #8b5f10;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.drop-zone .dz-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}
.drop-zone .dz-highlight {
  color: var(--amber-500);
  font-weight: 700;
}
.drop-zone[data-kind="video"] .dz-highlight {
  color: #8b5f10;
}
.drop-zone .dz-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  transition: all var(--dur) var(--ease);
}
.drop-zone:hover .dz-cta {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.drop-zone[data-kind="video"] .dz-cta { color: #8b5f10; }
.drop-zone[data-kind="video"]:hover .dz-cta {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: #fff;
}

/* 업로드된 파일 chip 리스트 */
.drop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 10px 20px 0;
}
.drop-list:empty { margin: 0; }
.drop-list .chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.drop-list .chip .x { cursor: pointer; opacity: .7; }

/* 좁은 폭 대응: 썸네일이 너무 눌리지 않게 */
@media (max-width: 460px) {
  .dz-thumbs { gap: 6px; padding: 12px 12px 0 12px; }
  .dz-thumb .lbl { font-size: 9px; }
  .dz-thumb svg { padding: 10px 6px 16px 6px; }
  .dz-body { padding: 12px 14px 16px; }
}

/* ── PRIVACY CONSENT ─────────────────────────── */
.consent-block {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.consent-row + .consent-row { margin-top: 10px; }
.consent-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--ink-4);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all .18s var(--ease);
}
.consent-row input[type="checkbox"]:hover { border-color: var(--green-700); }
.consent-row input[type="checkbox"]:checked {
  background: var(--green-700);
  border-color: var(--green-700);
}
.consent-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent-txt {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.consent-txt .req {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--amber-100);
  color: #8a5b0e;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: 1px;
}
.consent-txt .opt {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: 1px;
}
.consent-txt a.policy-link {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.consent-txt a.policy-link:hover { color: var(--green-600); }
.consent-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}

.submit-btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.4);
}
.submit-btn.is-disabled:hover { transform: none; box-shadow: none; }

/* ── LEAD CTA (in result panel) ──────────────── */
.lead-cta-block {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240,184,84,.14) 0%, rgba(240,184,84,.06) 100%);
  border: 1px solid rgba(240,184,84,.35);
}
.lead-cta-block .lc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.lead-cta-block .lc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(240,184,84,.18);
  animation: aiPulse 1.6s ease-in-out infinite;
}
.lead-cta-block .lc-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing:.16em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.lead-cta-block h4 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing:-.02em;
  margin: 0 0 6px;
}
.lead-cta-block p {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin: 0 0 16px;
}
.lead-submit-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  background: var(--grad-amber);
  color: #1a1200;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing:-.01em;
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lead-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(229,164,55,.6); }
.lead-submit-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.lead-submit-btn.is-loading {
  opacity: .8;
  cursor: progress;
  pointer-events: none;
}

/* ── 상담 신청 연락처 입력 ─────────────────── */
.lead-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  margin: 8px 0 6px;
}
.lc-field { display: flex; flex-direction: column; gap: 6px; }
.lc-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
}
.lc-field label .req { color: #F5A524; font-weight: 800; margin-left: 2px; }
.lc-field input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 0 14px;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.lc-field input::placeholder { color: rgba(255,255,255,.35); }
.lc-field input:focus {
  outline: none;
  border-color: #F5A524;
  background: rgba(255,255,255,.12);
}
.lc-field input.is-invalid {
  border-color: #ef4444;
  background: rgba(239,68,68,.08);
}
.lc-hint {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 0 0 14px;
  line-height: 1.5;
}
@media (max-width: 640px){
  .lead-contact-grid { grid-template-columns: 1fr; }
}

/* ── THANK YOU MODAL ─────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,20,24,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

/* Thank you card */
.thankyou-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sh-xl);
  overflow: hidden;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-backdrop.show .thankyou-card {
  transform: none;
  opacity: 1;
}
.ty-hero {
  padding: 40px 32px 28px;
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ty-hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 30%, rgba(240,184,84,.22) 0%, transparent 55%);
  pointer-events: none;
}
.ty-check-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(240,184,84,.14);
  border: 1.5px solid rgba(240,184,84,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tyPulse 2.6s ease-in-out infinite;
}
@keyframes tyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,184,84,.35); }
  50% { box-shadow: 0 0 0 14px rgba(240,184,84,0); }
}
.ty-check {
  width: 40px;
  height: 40px;
  color: var(--amber-400);
  animation: tyCheckDraw .6s var(--ease) .2s both;
}
@keyframes tyCheckDraw {
  from { transform: scale(.4) rotate(-30deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
.ty-eyebrow {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing:.24em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 8px;
}
.ty-hero h3 {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  letter-spacing:-.02em;
  margin: 0 0 10px;
  line-height: 1.3;
  color: #fff;
}
.ty-hero p {
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0;
}
.ty-body { padding: 28px 32px 24px; }
.ty-ticket {
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  margin-bottom: 22px;
}
.ty-ticket .tk-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
}
.ty-ticket .tk-row + .tk-row { border-top: 1px dotted var(--line-2); }
.ty-ticket .tk-k {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing:.14em;
  text-transform: uppercase;
}
.ty-ticket .tk-v {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 13px;
}
.ty-ticket .tk-v.amt {
  color: var(--green-700);
  font-size: 15px;
  font-weight: 800;
}
.ty-next {
  margin-bottom: 22px;
}
.ty-next h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing:-.01em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ty-next h5::before {
  content: "";
  width: 3px; height: 14px;
  background: var(--amber-500);
  border-radius: 2px;
}
.ty-next ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  counter-reset: ty;
}
.ty-next li {
  counter-increment: ty;
  padding: 12px 14px 12px 44px;
  background: var(--surface-2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  position: relative;
}
.ty-next li::before {
  content: counter(ty);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.ty-next li b { color: var(--ink); }
.ty-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ty-actions .btn {
  min-height: 52px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ty-close-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.ty-close-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--ink-4);
}
.ty-xbtn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  z-index: 2;
}
.ty-xbtn:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── POLICY MODAL ────────────────────────────── */
.policy-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sh-xl);
  overflow: hidden;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.modal-backdrop.show .policy-card {
  transform: none;
  opacity: 1;
}
.policy-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.policy-head .p-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing:.2em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 4px;
}
.policy-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing:-.02em;
  margin: 0;
}
.policy-tabs {
  display: flex;
  gap: 4px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.policy-tab {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  margin-bottom: -1px;
}
.policy-tab:hover { color: var(--ink); }
.policy-tab.active {
  color: var(--green-700);
  border-bottom-color: var(--green-700);
}
.policy-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.policy-body h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0 8px;
  letter-spacing:-.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.policy-body h4:first-child { margin-top: 0; }
.policy-body h4::before {
  content: "";
  width: 3px; height: 13px;
  background: var(--green-700);
  border-radius: 2px;
}
.policy-body p { margin: 0 0 8px; }
.policy-body ul { padding-left: 20px; margin: 0 0 12px; }
.policy-body li { margin-bottom: 4px; }
.policy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 12.5px;
}
.policy-body th, .policy-body td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.policy-body th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--ink);
  font-size: 12px;
  letter-spacing:.02em;
}
.policy-body .callout {
  padding: 12px 14px;
  background: var(--amber-100);
  border-left: 3px solid var(--amber-500);
  border-radius: 6px;
  color: #6b4514;
  font-size: 12.5px;
  margin: 8px 0 12px;
  line-height: 1.6;
}
.policy-foot {
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--ink-3);
}
.policy-close {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.policy-close:hover { background: var(--ink-2); }

@media (max-width: 640px){
  .thankyou-card, .policy-card { border-radius: 18px; }
  .ty-hero { padding: 32px 22px 22px; }
  .ty-hero h3 { font-size: 22px; }
  .ty-body, .policy-body { padding: 20px 22px; }
  .policy-head, .policy-foot { padding-left: 22px; padding-right: 22px; }
  .policy-tabs { padding-left: 12px; padding-right: 12px; }
  .policy-tab { padding: 12px 12px; font-size: 12.5px; }
  .ty-actions { grid-template-columns: 1fr; }
}

.submit-btn {
  width: 100%;
  min-height: 62px;
  border-radius: 16px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-top: 24px;
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing:-.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(240,184,84,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  z-index: -1;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 44px -14px rgba(21,75,63,.5); }
.submit-btn:hover::before { animation: shimmerBtn 1.2s ease; }
@keyframes shimmerBtn { to { transform: translateX(100%); } }

/* Result panel */
.result-panel {
  display: none;
  margin-top: 28px;
  border-radius: 22px;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  animation: resultIn .5s var(--ease);
  position: relative;
  box-shadow:
    0 24px 60px -24px rgba(10,46,38,.55),
    0 2px 0 rgba(255,255,255,.06) inset;
}
.result-panel::before {
  /* 상단 앰버 라이트 스트립 */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--amber-400) 20%, var(--amber-400) 80%, transparent 100%);
  z-index: 2;
}
.result-panel::after {
  /* 배경 그리드 텍스처 */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,184,84,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,184,84,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.result-panel > * { position: relative; z-index: 1; }
.result-panel.show { display: block; }
@keyframes resultIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.result-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.result-head .r-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--amber-400);
  text-transform: uppercase;
  font-weight: 700;
}
.result-head .r-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 12px var(--amber-400);
  animation: rEyebrowPulse 1.6s ease-in-out infinite;
}
@keyframes rEyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.4); }
}
.result-head h3 { color: #fff; font-size: 22px; letter-spacing:-.02em; margin-top: 6px; }
.result-head .r-version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(240,184,84,.3);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber-400);
  letter-spacing: .1em;
  font-weight: 700;
}
.result-head .r-version .rv-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: rEyebrowPulse 1.4s ease-in-out infinite;
}
.result-summary {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(0,0,0,.15);
}
.rs-item .k {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing:.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.rs-item .v {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.result-total {
  padding: 28px 24px 26px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.result-total::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(240,184,84,.35) 50%, transparent 100%);
}
.result-total .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.75);
  letter-spacing:.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(240,184,84,.2);
  font-weight: 700;
}
.result-total .label svg { color: var(--amber-400); }
.result-total .amount {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 600;
  color: var(--amber-400);
  letter-spacing:-.02em;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(240,184,84,.35);
  display: block;
}
.result-total .amount .amt-num {
  display: inline-block;
  min-width: 1ch;
}
.result-total .amount .won-lg {
  font-size: 22px; color: rgba(255,255,255,.92);
  font-family: var(--font-kr); font-style: normal;
  margin-left: 6px;
  font-weight: 700;
  letter-spacing: 0;
}
.result-total .amount-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.result-total .amount-note .chip-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
}
.result-total .amount-note .chip-note.accent {
  color: var(--amber-400);
  border-color: rgba(240,184,84,.35);
  background: rgba(240,184,84,.06);
}
.result-breakdown { padding: 22px 24px; }
.result-breakdown h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  letter-spacing:.14em;
  margin-bottom: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.result-breakdown h4::before {
  content: "";
  width: 4px; height: 12px;
  background: var(--amber-400);
  border-radius: 2px;
}
.result-lines {
  display: grid;
  gap: 6px;
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.05);
}
.rl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  font-size: 13px;
  transition: background var(--dur) var(--ease);
}
.rl-item:hover { background: rgba(255,255,255,.08); }
.rl-item .k { color: rgba(255,255,255,.82); }
.rl-item .v { color: #fff; font-weight: 700; font-family: var(--font-mono); }
.rl-item.rl-sub {
  background: transparent;
  border-top: 1px dashed rgba(255,255,255,.15);
  margin-top: 4px;
  padding-top: 12px;
}
.rl-item.rl-sub .k, .rl-item.rl-sub .v { color: rgba(255,255,255,.72); font-size: 12px; }
.rl-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 14px 6px;
  border-top: 1px solid rgba(240,184,84,.25);
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
}
.rl-total .k {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff;
  font-family: var(--font-kr);
  letter-spacing: 0;
}
.rl-total .v {
  color: var(--amber-400);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: -.01em;
}
.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 24px 20px;
}
.result-actions .btn {
  min-height: 56px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}
.result-actions .btn svg { flex-shrink: 0; }
.result-actions .btn.tel {
  background: #fff;
  color: var(--green-800);
  box-shadow: 0 8px 22px -10px rgba(255,255,255,.35);
}
.result-actions .btn.tel:hover {
  background: var(--amber-400);
  color: var(--green-900);
  transform: translateY(-1px);
}
.result-actions .btn.kko {
  background: var(--kakao);
  color: #191919;
  box-shadow: 0 8px 22px -10px rgba(255,232,68,.5);
}
.result-actions .btn.kko:hover {
  background: #fde047;
  transform: translateY(-1px);
}
.result-actions .btn .tel-num {
  font-family: var(--font-mono);
  letter-spacing: -.01em;
}
.result-note {
  padding: 14px 24px 24px;
  font-size: 11.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  text-align: center;
  border-top: 1px dashed rgba(255,255,255,.08);
  margin-top: 4px;
}

/* ── PROCESS ─────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--surface-2);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  left: 40px; right: 40px;
  top: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.step {
  position: relative;
  padding: 22px 22px 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--green-500) 100%);
  opacity: .0;
  transition: opacity var(--dur) var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -22px rgba(21,75,63,.35);
  border-color: rgba(30,107,82,.35);
}
.step:hover::before { opacity: 1; }
.step:nth-child(4)::before { background: linear-gradient(90deg, var(--amber-500) 0%, var(--amber-400) 100%); }

.step .num {
  position: relative;
  z-index: 1;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 10px 22px -10px rgba(21,75,63,.55);
}
.step:nth-child(4) .num { background: var(--grad-amber); color: var(--green-900); box-shadow: 0 10px 22px -10px rgba(180,126,24,.6); }

/* 상단 미니 일러스트 존 */
.step .step-ill {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(30,107,82,.08) 0%, transparent 60%),
    linear-gradient(180deg, #f7faf8 0%, #eff4f2 100%);
  border: 1px dashed rgba(21,75,63,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  color: var(--green-700);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step:hover .step-ill {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(30,107,82,.15) 0%, transparent 60%),
    linear-gradient(180deg, #f2f8f5 0%, #e6f0eb 100%);
  border-color: rgba(30,107,82,.4);
}
.step:nth-child(4) .step-ill {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(240,184,84,.14) 0%, transparent 60%),
    linear-gradient(180deg, #fbf6e6 0%, #f2ebd4 100%);
  border-color: rgba(139,95,16,.25);
  color: var(--amber-500);
}
.step:nth-child(4):hover .step-ill {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(240,184,84,.24) 0%, transparent 60%),
    linear-gradient(180deg, #f8eecb 0%, #ebe0b8 100%);
  border-color: rgba(139,95,16,.5);
}
.step .step-ill svg {
  width: 62%;
  height: 62%;
  display: block;
  opacity: .78;
  transition: opacity var(--dur) var(--ease);
}
.step:hover .step-ill svg { opacity: 1; }
.step .step-ill .ill-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: .06em;
  background: rgba(255,255,255,.85);
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(21,75,63,.12);
}
.step:nth-child(4) .step-ill .ill-badge {
  color: #8b5f10;
  border-color: rgba(139,95,16,.2);
}

.step h3 { font-size: 17px; margin-bottom: 8px; color: var(--green-900); letter-spacing:-.02em; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }
.step .meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--ink-4);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step .meta::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-500);
}
.step:nth-child(4) .meta::before { background: var(--amber-500); }

/* ── FAQ + CONTACT ───────────────────────────── */
.faq-wrap {
  padding: 100px 0;
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.faq-list {
  border-top: 1px solid var(--line);
  counter-reset: faqIdx;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
  transition: background var(--dur) var(--ease);
  counter-increment: faqIdx;
}
.faq-item:hover { background: linear-gradient(90deg, rgba(30,107,82,.03), transparent 80%); }
.faq-item.open { background: linear-gradient(90deg, rgba(30,107,82,.045), transparent 90%); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing:-.02em;
  padding: 20px 4px 20px 8px;
  gap: 20px;
  transition: color var(--dur) var(--ease);
}
.faq-q .q-lead {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.faq-q .q-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-500);
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 30px;
  transition: color var(--dur) var(--ease);
}
.faq-q .q-num::before {
  content: "Q" counter(faqIdx, decimal-leading-zero);
}
.faq-q .q-txt {
  flex: 1;
  min-width: 0;
  transition: color var(--dur) var(--ease);
}
.faq-item:hover .faq-q .q-txt { color: var(--green-700); }
.faq-item.open .faq-q .q-txt { color: var(--green-700); }
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-700);
  transition: transform .35s var(--ease),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.faq-q .plus::before {
  /* 가로 막대 */
  width: 12px; height: 2px;
}
.faq-q .plus::after {
  /* 세로 막대 */
  width: 2px; height: 12px;
}
.faq-item:hover .faq-q .plus {
  background: #fff;
  border-color: var(--green-600);
  color: var(--green-700);
}
.faq-item.open .faq-q .plus {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  border-color: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(21,75,63,.55);
}
.faq-item.open .faq-q .plus::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 480px;
  opacity: 1;
}
.faq-a p {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  padding: 4px 8px 24px 46px;
  margin: 0;
}
.faq-a p::before {
  content: "A";
  position: absolute;
  left: 12px; top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(30,107,82,.1);
  border: 1px solid rgba(30,107,82,.18);
}

.contact-panel {
  padding: 32px;
  border-radius: 24px;
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 250px at 100% 0%, rgba(240,184,84,.20), transparent 60%),
    linear-gradient(45deg, rgba(255,255,255,.02) 0, rgba(255,255,255,0) 100%);
}
.contact-panel > * { position: relative; }
.contact-panel .c-eyebrow {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--amber-400);
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-panel h3 { color: #fff; font-size: 24px; margin-bottom: 8px; letter-spacing:-.02em; }
.contact-panel p { color: rgba(255,255,255,.8); font-size: 14px; margin-bottom: 24px; line-height: 1.65; }
.contact-tel-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 20px 20px;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: all var(--dur) var(--ease);
  display: block;
}
.contact-tel-block:hover { background: rgba(255,255,255,.10); transform: translateY(-1px); }
.contact-tel-block .label {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing:.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.contact-tel-block .number {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  color: var(--amber-400);
  letter-spacing:-.01em;
}
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.contact-actions .btn {
  min-height: 52px;
  border-radius: 12px;
  font-size: 14px;
}

/* ── PARTNERS ────────────────────────────────── */
.partners {
  padding: 60px 0;
  background: var(--green-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.partners::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
}
.partners > * { position: relative; }
.partners-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.partners h2 { color: #fff; font-size: 26px; letter-spacing:-.03em; }
.partners .p-sub { color: rgba(255,255,255,.7); font-size: 14px; max-width: 480px; margin-top: 8px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* 파트너 명함 사진 슬롯 — 각 명함이 자연스럽게 통째로 보이도록 */
.partner { overflow: hidden; }
.partner .p-card-photo {
  position: relative;
  margin: -8px -8px 18px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  /* 명함이 놓인 데스크 느낌 — 미묘한 원목 톤 */
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(255,255,255,.05) 0%, transparent 60%),
    linear-gradient(180deg, #1c1e22 0%, #14161a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner .p-card-photo img {
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  /* 진짜 명함처럼 살짝 떠 있는 느낌 */
  box-shadow:
    0 1px 2px rgba(0,0,0,.35),
    0 8px 20px -4px rgba(0,0,0,.55),
    0 18px 40px -10px rgba(0,0,0,.55);
  transform: rotate(-0.6deg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.partner:nth-child(2) .p-card-photo img { transform: rotate(0.8deg); }
.partner:nth-child(3) .p-card-photo img { transform: rotate(-0.3deg); }
.partner:hover .p-card-photo img {
  transform: rotate(0deg) scale(1.03);
  box-shadow:
    0 2px 4px rgba(0,0,0,.4),
    0 14px 30px -6px rgba(0,0,0,.65),
    0 28px 60px -12px rgba(0,0,0,.7);
}
.partner .p-card-photo .p-photo-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(240,184,84,.15);
  border: 1px solid rgba(240,184,84,.35);
  color: var(--amber-400);
  font-size: 9.5px;
  font-family: var(--font-mono);
  letter-spacing:.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* 파트너 명함형 정보 블록 */
.partner .p-contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.partner .p-contact .p-owner {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  letter-spacing:-.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.partner .p-contact .p-owner .p-owner-label {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing:.06em;
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
}
.partner .p-contact .p-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.82);
  font-family: var(--font-mono);
  letter-spacing:.02em;
}
.partner .p-contact .p-row svg {
  flex: 0 0 14px;
  color: var(--amber-400);
}
/* ── 협력사 전화번호 : 클릭하면 바로 통화 연결 (tel: 링크) ── */
.partner .p-contact .p-row a[href^="tel:"] {
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 10px 3px 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: rgba(224,166,74,.14);
  border: 1px solid rgba(224,166,74,.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  position: relative;
}
.partner .p-contact .p-row a[href^="tel:"]::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.7);
  animation: telDotBlink 1.4s ease-in-out infinite;
}
@keyframes telDotBlink {
  0%, 100% { opacity: .55; box-shadow: 0 0 0 0 rgba(52,211,153,.7); }
  50%      { opacity: 1;   box-shadow: 0 0 0 4px rgba(52,211,153,0); }
}
.partner .p-contact .p-row a[href^="tel:"]::after {
  content: "탭하면 통화";
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--amber-400);
  color: #1a1a1a;
  margin-left: 2px;
  font-family: var(--font-kr);
  opacity: .92;
}
.partner .p-contact .p-row a[href^="tel:"]:hover {
  background: rgba(224,166,74,.28);
  border-color: var(--amber-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -4px rgba(224,166,74,.5);
}
.partner .p-contact .p-row a[href^="tel:"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px -2px rgba(224,166,74,.4);
}
@media (prefers-reduced-motion: reduce) {
  .partner .p-contact .p-row a[href^="tel:"]::before { animation: none; }
}
.partner .p-contact .p-row .p-mail {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.partner .p-scope {
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  letter-spacing:.01em;
}
.partner {
  padding: 24px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--dur) var(--ease);
}
.partner:hover { background: rgba(255,255,255,.08); border-color: rgba(240,184,84,.35); }
.partner .p-kind {
  font-size: 11px;
  color: var(--amber-400);
  letter-spacing:.15em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.partner .p-name {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  letter-spacing:-.02em;
}
.partner .p-desc {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  line-height: 1.5;
}
.partner .p-slot {
  margin-top: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(240,184,84,.15);
  color: var(--amber-400);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing:.06em;
  display: inline-block;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: #051510;
  color: rgba(255,255,255,.7);
  padding: 60px 0 130px;
  font-size: 13.5px;
  line-height: 1.75;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 76px;
  width: auto;
  display: block;
  opacity: .95;
  /* 흰색으로 이미 반전된 누끼 로고 · 배경과 자연스럽게 녹아들도록 소프트 글로우 추가 */
  filter: drop-shadow(0 2px 12px rgba(255,255,255,.06));
}
.footer-brand .kr {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing:-.02em;
  line-height: 1;
}
.footer-brand .en {
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 340px;
}
/* ── (removed) PORTFOLIO GRID + LIGHTBOX ───────
.portfolio-section {
  padding: 96px 0 88px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f2ec 100%);
  position: relative;
}
.portfolio-section .section-head {
  text-align: center;
  margin-bottom: 32px;
}
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 36px;
  max-width: 900px;
  padding: 0 20px;
}
.pf-filter {
  border: 1px solid var(--ink-2);
  background: #fff;
  color: var(--ink-2);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  letter-spacing: -.01em;
  font-family: inherit;
}
.pf-filter:hover {
  border-color: var(--green-800);
  color: var(--green-800);
}
.pf-filter.active {
  background: var(--green-800);
  color: #fff;
  border-color: var(--green-800);
  box-shadow: 0 6px 14px -6px rgba(21,71,52,.4);
}
.pf-filter .cnt {
  font-size: 12px;
  opacity: .7;
  margin-left: 4px;
  font-weight: 500;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); padding: 0 24px; } }
@media (max-width: 760px)  { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; } }
@media (max-width: 420px)  { .portfolio-grid { grid-template-columns: 1fr; } }
.pf-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15,20,25,.05), 0 12px 28px -18px rgba(15,20,25,.12);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
  border: 1px solid rgba(15,20,25,.06);
}
.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(15,20,25,.08), 0 24px 44px -20px rgba(15,20,25,.24);
}
.pf-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e5df;
}
.pf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  display: block;
}
.pf-card:hover .pf-img-wrap img { transform: scale(1.06); }
.pf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(21,71,52,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.pf-badge.blue { background: rgba(28,54,94,.92); }
.pf-badge.amber { background: rgba(178,110,20,.94); }
.pf-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px; height: 32px;
  background: rgba(15,20,25,.6);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(4px);
}
.pf-card:hover .pf-zoom { opacity: 1; }
.pf-body {
  padding: 14px 14px 16px;
}
.pf-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-bottom: 4px;
  text-wrap: pretty;
}
.pf-region {
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pf-region::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--green-600);
  border-radius: 50%;
  display: inline-block;
}
.pf-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.pf-count-note {
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 20px;
  letter-spacing: -.01em;
}

/* ── LIGHTBOX ─────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,18,.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  animation: lbFade .2s ease;
}
.lightbox.open { display: flex; }
@keyframes lbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lb-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.lb-caption {
  color: #fff;
  text-align: center;
  max-width: 640px;
}
.lb-caption .lb-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.lb-caption .lb-meta {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  margin-top: 4px;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 20px;
  backdrop-filter: blur(6px);
  transition: background .18s ease;
  z-index: 10001;
  font-family: inherit;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { top: 50%; left: 24px;  transform: translateY(-50%); }
.lb-next  { top: 50%; right: 24px; transform: translateY(-50%); }
.lb-index {
  position: fixed;
  top: 28px; left: 32px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  z-index: 10001;
}
@media (max-width: 640px) {
  .lb-close, .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 17px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev  { left: 8px; }
  .lb-next  { right: 8px; }
  .lb-index { top: 18px; left: 16px; }
}
*/

/* ── LIVE CHAT WIDGET ─────────────────────── */
.live-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  font-family: var(--font-kr);
}
@media (max-width: 720px){
  /* sticky-bar 위로 밀어올림 */
  .live-chat { right: 14px; bottom: 82px; }
}

/* 접힌 상태: FAB */
.lc-fab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff;
  padding: 12px 20px 12px 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 28px -8px rgba(21,71,52,.5), 0 4px 10px rgba(15,20,25,.15);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  font-family: inherit;
  position: relative;
  animation: lcFabBreath 3.2s ease-in-out infinite;
}
.lc-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(21,71,52,.6), 0 6px 14px rgba(15,20,25,.2);
}
@keyframes lcFabBreath {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(21,71,52,.5), 0 4px 10px rgba(15,20,25,.15), 0 0 0 0 rgba(230,178,54,.55); }
  50%      { box-shadow: 0 12px 28px -8px rgba(21,71,52,.5), 0 4px 10px rgba(15,20,25,.15), 0 0 0 12px rgba(230,178,54,0); }
}
@keyframes lcNudge {
  0%, 100% { transform: translateY(0); }
  30%      { transform: translateY(-6px) rotate(-2deg); }
  60%      { transform: translateY(2px)  rotate(1deg); }
}
.live-chat.open .lc-fab { display: none; }
.lc-fab-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lc-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.lc-fab-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lc-fab-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.82);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -.01em;
}
.lc-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: lcPulse 1.6s ease-in-out infinite;
}
@keyframes lcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.lc-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  background: var(--amber-400);
  color: var(--green-900);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 6px rgba(15,20,25,.2);
}
.lc-fab-badge:empty, .lc-fab-badge.hidden { display: none; }
@media (max-width: 720px){
  .lc-fab { padding: 10px 16px 10px 10px; gap: 10px; }
  .lc-fab-icon { width: 34px; height: 34px; }
  .lc-fab-title { font-size: 13.5px; }
  .lc-fab-sub { font-size: 11px; }
}

/* 펼친 상태: Panel */
.lc-panel {
  display: none;
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(15,20,25,.28), 0 10px 24px rgba(15,20,25,.12);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line-2);
  animation: lcPanelIn .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes lcPanelIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.live-chat.open .lc-panel { display: flex; }
@media (max-width: 720px){
  .lc-panel { width: calc(100vw - 20px); height: calc(100vh - 100px); border-radius: 16px; }
}

/* Header */
.lc-header {
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
}
.lc-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lc-avatar {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  overflow: hidden;
  flex: 0 0 42px;
  border: 2px solid rgba(255,255,255,.2);
}
.lc-avatar img { width: 72%; height: 72%; object-fit: contain; }
.lc-header-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-online {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(34,197,94,.22);
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0;
}
.lc-header-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.72);
  margin-top: 2px;
  letter-spacing: -.01em;
}
.lc-close-btn {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.14);
  border: none;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  transition: background .18s ease;
  font-family: inherit;
}
.lc-close-btn:hover { background: rgba(255,255,255,.24); }

/* Body */
.lc-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 16px;
  background: linear-gradient(180deg, #f8f6f1 0%, #f2ede2 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.lc-body::-webkit-scrollbar { width: 6px; }
.lc-body::-webkit-scrollbar-thumb { background: rgba(15,20,25,.12); border-radius: 3px; }

.lc-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: var(--ink);
  animation: lcMsgIn .28s ease-out;
  text-wrap: pretty;
}
@keyframes lcMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lc-msg.bot {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(15,20,25,.06);
}
.lc-msg.user {
  align-self: flex-end;
  background: var(--green-800);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.lc-msg b { font-weight: 800; color: var(--green-900); }
.lc-msg.user b { color: var(--amber-400); }
.lc-msg .lc-msg-time {
  font-size: 10.5px;
  color: var(--ink-4);
  margin-top: 4px;
  font-family: var(--font-mono);
}
.lc-msg.user .lc-msg-time { color: rgba(255,255,255,.6); }

.lc-typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 12px 16px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(15,20,25,.06);
}
.lc-typing span {
  width: 6px; height: 6px;
  background: var(--ink-4);
  border-radius: 50%;
  animation: lcTyping 1.2s infinite ease-in-out;
}
.lc-typing span:nth-child(2) { animation-delay: .15s; }
.lc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lcTyping {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-3px); }
}

/* Quick replies */
.lc-quick {
  padding: 8px 14px 6px;
  background: linear-gradient(180deg, #f2ede2 0%, #fff 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
  border-top: 1px solid rgba(15,20,25,.05);
}
.lc-quick-btn {
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--green-800);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: all .16s ease;
  font-family: inherit;
}
.lc-quick-btn:hover {
  background: var(--green-800);
  color: #fff;
  border-color: var(--green-800);
}

/* Footer input */
.lc-footer {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid var(--line-2);
  flex: 0 0 auto;
}
.lc-input {
  flex: 1;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .16s ease;
  color: var(--ink);
}
.lc-input:focus { border-color: var(--green-600); background: #fff; }
.lc-send {
  width: 40px; height: 40px;
  border: none;
  background: var(--green-800);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  transition: background .16s ease;
  padding-left: 2px;
}
.lc-send:hover { background: var(--green-900); }

/* CTA bar bottom */
.lc-cta-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  flex: 0 0 auto;
}
.lc-cta {
  padding: 10px 6px;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-2);
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
  transition: background .16s ease;
  letter-spacing: -.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.lc-cta svg { flex-shrink: 0; opacity: .85; }
.lc-cta-kko svg { color: #191919; opacity: 1; }
.lc-cta-ai svg { color: var(--amber-400); opacity: 1; }
.lc-cta b {
  display: block;
  color: var(--green-900);
  font-size: 12.5px;
  font-weight: 800;
  margin-top: 2px;
}
.lc-cta:hover { background: var(--surface-2); }
.lc-cta-kko { background: #FEE500; }
.lc-cta-kko b { color: #191919; }
.lc-cta-ai   { background: var(--green-800); color: rgba(255,255,255,.85); }
.lc-cta-ai b { color: var(--amber-400); }
.lc-cta-ai:hover { background: var(--green-900); }

.footer h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing:.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.footer-info { display: grid; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.footer-info b { color: rgba(255,255,255,.9); font-weight: 700; margin-right: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a {
  color: rgba(255,255,255,.72);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer-legal a:hover { color: var(--amber-400); }
.footer-legal .fl-dot { color: rgba(255,255,255,.25); }

/* ── STICKY BOTTOM (mobile) ──────────────────── */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(10,46,38,.10);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px -12px rgba(0,0,0,.15);
}
.sticky-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sticky-inner a {
  min-height: 48px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sticky-inner .s-tel { background: var(--grad-cta); color: #fff; }
.sticky-inner .s-kko { background: var(--kakao); color: #191919; }
.sticky-inner .s-ai { background: #fff; color: var(--green-800); border: 1px solid var(--line); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-viz { max-width: 480px; margin: 0 auto; aspect-ratio: 4/3.5; }
  .estimate-shell { grid-template-columns: 1fr; }
  .estimate-lead { position: static; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .topbar-inner { padding: 10px 16px; }
  .top-actions .top-tel, .top-actions .top-btn:not(.top-btn-tel) { display: none; }
  .brand img { height: 42px; }
  .brand-text .kr { font-size: 15px; }
  .hero { padding: 30px 0 50px; }
  .hero-cta, .hero-trust { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .form-card { padding: 24px 18px; }
  .form-title { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .radio-group, .check-group { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
  .result-total .amount { font-size: 40px; }
  .contact-panel { padding: 24px; }
  .wrap { padding: 0 16px; }
  .case-card { flex: 0 0 260px; }
}

/* ── 📱 MOBILE FINE-TUNING (2026-08 추가) ────────────
   실제 iPhone 12/13/14 (390px) 및 SE (375px) 뷰포트 점검 반영
   ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* 가로 오버플로우 완전 차단 */
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* Hero 통계 카드: 3열 → 2×2 그리드 + 크기 축소 */
  .hv-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    padding: 10px 12px;
  }
  .hv-summary .s-item:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 10px;
  }
  .hv-summary .s-item + .s-item::before {
    display: none; /* 세로 구분선 제거 (2열에선 어색함) */
  }
  .hv-summary .s-v { font-size: 15px; }
  .hv-summary .s-v .u { font-size: 10px; }
  .hv-summary .s-k { font-size: 9px; margin-bottom: 3px; }

  /* Hero 우측 DETECTION 패널 – 더 컴팩트하게 */
  .hv-panel {
    width: 128px;
    top: 48px;
    right: 10px;
    font-size: 9.5px;
    padding: 10px 10px;
  }
  .hv-panel .p-hd { font-size: 8.5px; }
  .hv-panel .p-row .k { font-size: 10px; }
  .hv-panel .p-row .v { font-size: 10px; }
  .hv-panel .pct { font-size: 8.5px; }

  /* Hero HUD 라벨(FLOOR/AREA/OBJ/WORKER)도 축소 */
  .hv-box .lbl { font-size: 9px; }
  .hv-box .lbl .pct { font-size: 8.5px; }

  /* Hero eyebrow 뱃지 좁게 */
  .hero-eyebrow { font-size: 11px; padding: 6px 12px; }

  /* Hero h1 좀 더 줄이고 균형 잡기 */
  .hero h1 { font-size: 28px; line-height: 1.18; }

  /* Hero 이미지 영역이 절대 화면 폭을 넘지 않도록 */
  .hero-viz { max-width: calc(100vw - 32px); }

  /* 노티피케이션/결과 카드 뱃지 텍스트 최소 크기 상향 */
  .notify-demo .n-badge,
  .notify-demo .n-pct,
  .rs-item .k { font-size: 11px !important; }

  /* CTA 버튼들 – 최소 터치 영역 44px 확보 */
  .ar-scan-btn,
  .btn, .btn-primary, .btn-secondary,
  .hero-cta a, .hero-cta button {
    min-height: 44px;
  }

  /* 정책·약관 링크 – 터치 영역 확보 (consent-block, footer 공통) */
  .footer a,
  .policy-link,
  .consent-txt a {
    display: inline-block;
    min-height: 32px;
    line-height: 32px;
    padding: 0 2px;
    vertical-align: baseline;
  }
  /* 푸터 전화·이메일 링크는 크게 (자주 탭됨) */
  .footer a[href^="tel:"],
  .footer a[href^="mailto:"] {
    min-height: 40px;
    line-height: 40px;
    font-size: 15px;
  }

  /* Sticky bottom bar 버튼 텍스트 축소 방지 */
  .sticky-inner a { font-size: 13px; min-height: 44px; }

  /* Hero orb (장식용 그라디언트) – 오버플로우 억제 */
  .hero-orb-1, .hero-orb-2 { pointer-events: none; }

  /* Gallery 카드 – 화면에 딱 맞게 */
  .case-card { flex: 0 0 240px; }

  /* Section 헤드 여백 축소 */
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 14.5px; }

  /* Wrap 좌우 여백 조금 더 확보 */
  .wrap { padding: 0 18px; }

  /* FAQ 질문 최소 높이 */
  .faq-q { min-height: 56px; padding: 14px 16px; }

  /* 모바일에서 hero 우측 패널이 커버 이미지를 너무 가리면 살짝 투명도 */
  .hv-panel { opacity: .92; }

  /* Hero HUD 상단 캠 정보 – 좁은 화면에서 축소 & 잘림 방지 */
  .hv-hud.top { top: 10px; left: 10px; right: 10px; }
  .hv-hud .brand-tag { padding: 4px 8px; font-size: 9.5px; }
  .hv-hud .meta {
    padding: 4px 8px;
    font-size: 9px;
    max-width: 44%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* SE급 초소형 (375px 이하) */
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hv-panel { width: 118px; font-size: 9px; top: 44px; right: 8px; }
  .hv-summary { padding: 9px 10px; gap: 6px 8px; }
  .hv-summary .s-v { font-size: 14px; }
  .brand-text .kr { font-size: 14px; }
  .brand img { height: 38px; }
  .wrap { padding: 0 14px; }
}

/* Sr utility */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================================================
   §  추가금액 신고 알림 데모 섹션
   ============================================================ */
.notify-demo {
  padding: 96px 0 100px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(30,107,82,.10), transparent 60%),
    linear-gradient(180deg, #f7f9fa 0%, #ffffff 100%);
  position: relative;
}
.notify-demo::before {
  content:'';
  position:absolute; inset: 0 0 auto 0; height:1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.notify-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.notify-copy .section-eyebrow { color: var(--amber-500); }
.notify-copy h2 { font-size: clamp(28px, 3.4vw, 42px); }
.notify-copy .lead-copy {
  font-size: 17px; color: var(--ink-2); margin: 20px 0 28px;
  line-height: 1.7;
}
.notify-benefits {
  display: grid; gap: 12px; margin-top: 24px;
}
.notify-benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
}
.notify-benefit .idx {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.03em;
}
.notify-benefit .txt strong {
  display: block; color: var(--green-800);
  font-size: 15px; margin-bottom: 4px;
  letter-spacing: -.02em;
}
.notify-benefit .txt span {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.55;
}

/* Phone mock */
.notify-phone-wrap {
  position: sticky; top: 90px;
  display: flex; justify-content: center;
  align-items: flex-start;
}
.notify-phone {
  width: 340px;
  aspect-ratio: 340 / 680;
  background: linear-gradient(160deg, #0a2e26 0%, #0f3652 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 40px 100px -30px rgba(10,46,38,.55),
    0 0 0 3px rgba(255,255,255,.05),
    inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.notify-phone::before {
  content:''; position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}
.notify-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #eef2f5 0%, #e6ecf0 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 44px 14px 20px;
}
.phone-statusbar {
  display: flex; justify-content: space-between;
  padding: 0 18px 0 20px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-2); font-weight: 700;
  margin-bottom: 10px;
}
.phone-app-header {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 12px;
}
.phone-app-header .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 800;
  font-family: var(--font-mono);
}
.phone-app-header .brand-line {
  flex: 1;
  font-size: 13px; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em;
}
.phone-app-header .brand-line small {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--ink-3); margin-top: 1px;
}
.phone-time-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-4); font-weight: 700;
}

/* Notification card inside phone */
.notify-card {
  margin: 0 6px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px -8px rgba(10,46,38,.18);
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn .7s .3s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes slideIn { to { opacity:1; transform: translateY(0); } }

.nc-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.nc-badge {
  padding: 3px 8px;
  background: var(--amber-100);
  color: #8a5a10;
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 9px;
  font-weight: 700; letter-spacing: .1em;
}
.nc-title-row {
  font-size: 13px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 4px;
}
.nc-subtitle {
  font-size: 11px; color: var(--ink-3);
  line-height: 1.5; margin-bottom: 12px;
}
.nc-photo-area {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2830 0%, #2a343b 100%);
  margin-bottom: 12px;
}
.nc-photo-area img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85);
}
.nc-photo-area::after {
  content: 'ON-SITE PHOTO';
  position: absolute; top: 8px; left: 8px;
  padding: 3px 6px;
  background: rgba(0,0,0,.6);
  color: var(--amber-400);
  font-family: var(--font-mono);
  font-size: 8px; font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
}
.nc-photo-tag {
  position: absolute; bottom: 8px; left: 8px;
  padding: 3px 8px;
  background: rgba(197, 40, 40, .9);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  border-radius: 4px;
  letter-spacing: .05em;
}
.nc-reason {
  background: #f7f9fa;
  border-left: 3px solid var(--amber-500);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.nc-reason b { color: var(--green-800); }
.nc-cost {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 12px;
  background: linear-gradient(180deg, #fdf3dc 0%, #fbedc9 100%);
  border-radius: 8px;
  margin-bottom: 14px;
}
.nc-cost .k {
  font-size: 11px; color: #8a5a10; font-weight: 600;
}
.nc-cost .v {
  font-size: 15px; font-weight: 800; color: #6b4400;
  font-family: var(--font-mono);
  letter-spacing: -.01em;
}
.nc-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.nc-btn {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px; font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  font-family: var(--font-kr);
  letter-spacing: -.01em;
}
.nc-btn.reject {
  background: #f0f4f6;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.nc-btn.approve {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(21,75,63,.4);
}
.nc-btn:hover:not(:disabled) { transform: translateY(-1px); }
.nc-btn:disabled { opacity: .5; cursor: default; }

.nc-decision {
  padding: 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  animation: fadeIn .4s var(--ease);
}
.nc-decision.approved {
  background: rgba(30,107,82,.1);
  color: var(--green-700);
  border: 1px solid rgba(30,107,82,.25);
}
.nc-decision.rejected {
  background: rgba(198,40,40,.08);
  color: #a02020;
  border: 1px solid rgba(198,40,40,.2);
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

/* Trigger button — replays the demo */
.notify-replay {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  font-family: var(--font-kr);
}
.notify-replay:hover {
  border-color: var(--green-600);
  color: var(--green-700);
  transform: translateY(-1px);
}
.notify-replay .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(229,164,55,.18);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 3px rgba(229,164,55,.18); }
  50% { box-shadow: 0 0 0 6px rgba(229,164,55,.05); }
}

/* ── (신규) notify controls / next button ────────── */
.notify-controls {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.notify-next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--green-700);
  background: var(--green-800);
  color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  font-family: var(--font-kr);
}
.notify-next:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15,54,52,.28);
}

/* ── (신규) 시나리오 인디케이터 ─────────────── */
.notify-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.notify-dots .ndot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.notify-dots .ndot.on {
  background: var(--amber-500);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(229,164,55,.15);
}
.notify-dots .ndot:hover { background: rgba(255,255,255,.4); }

/* ── (신규) 카드 등장 / 승인·거부 상태 ─────── */
@keyframes notifySlideIn {
  0%   { opacity: 0; transform: translateY(22px) scale(.97); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    }
}
.notify-card.notify-in {
  animation: notifySlideIn .7s cubic-bezier(.2,.85,.25,1) both;
}
.notify-card.notify-approved {
  box-shadow: 0 0 0 2px rgba(30,107,82,.35), 0 20px 40px rgba(0,0,0,.28);
  transition: box-shadow .5s var(--ease);
}
.notify-card.notify-rejected {
  box-shadow: 0 0 0 2px rgba(198,40,40,.28), 0 20px 40px rgba(0,0,0,.28);
  transition: box-shadow .5s var(--ease);
}
.nc-id {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-4);
  font-weight: 700;
  letter-spacing: .1em;
}

/* LIVE 뱃지 (사진 위) */
.nc-photo-live {
  position: absolute;
  top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 6px;
  background: rgba(0,0,0,.62);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  backdrop-filter: blur(4px);
}
.nc-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 6px rgba(255,77,79,.7);
  animation: liveBlink 1.4s infinite;
}
@keyframes liveBlink {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

/* 결정 상세 (아이콘 + 텍스트) */
.nc-decision {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 12px 14px;
}
.nc-decision .nd-body {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1;
}
.nc-decision .nd-body b {
  font-size: 13px;
  font-weight: 800;
}
.nc-decision .nd-body span {
  font-size: 10.5px;
  font-weight: 500;
  color: currentColor;
  opacity: .75;
}

/* ── (신규) 승인·거부 이력 타임라인 ─────────── */
.notify-history-wrap {
  margin-top: 24px;
  padding: 16px;
  background: rgba(15,54,52,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.nh-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.nh-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--green-800);
  letter-spacing: .18em;
  font-weight: 800;
  text-transform: uppercase;
}
.nh-hint {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
}
.notify-history {
  display: flex; flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow: hidden;
}
.nh-empty {
  padding: 14px 12px;
  font-size: 12.5px;
  color: var(--ink-4);
  background: rgba(0,0,0,.02);
  border-radius: 8px;
  border: 1px dashed var(--line);
  text-align: center;
  line-height: 1.55;
}
.nh-empty b { color: var(--ink-2); font-weight: 700; }

.nh-row {
  display: grid;
  grid-template-columns: 44px 8px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  animation: nhIn .5s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nh-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15,54,52,.08);
}
@keyframes nhIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nh-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: .04em;
}
.nh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  justify-self: center;
}
.nh-row.approve .nh-dot { background: var(--green-700); box-shadow: 0 0 0 3px rgba(30,107,82,.12); }
.nh-row.reject  .nh-dot { background: #C62828; box-shadow: 0 0 0 3px rgba(198,40,40,.12); }
.nh-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nh-txt b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-txt span {
  font-size: 11px;
  color: var(--ink-4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.nh-badge.approve {
  background: rgba(30,107,82,.1);
  color: var(--green-700);
  border: 1px solid rgba(30,107,82,.25);
}
.nh-badge.reject {
  background: rgba(198,40,40,.08);
  color: #a02020;
  border: 1px solid rgba(198,40,40,.2);
}

@media (max-width: 900px) {
  .notify-grid { grid-template-columns: 1fr; gap: 40px; }
  .notify-phone-wrap { position: static; }
  .notify-phone { width: 300px; }
}

/* ============================================================
   §  폐기물 팽창계수 다이어그램 (견적 결과 내부)
   ============================================================ */
.waste-diagram {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.waste-diagram-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-400);
  letter-spacing: .12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.waste-diagram-title::before {
  content:''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 6px rgba(229,164,55,.6);
}
.waste-mat-row {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
}
.waste-mat-row:last-child { margin-bottom: 0; }
.waste-mat-name {
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.waste-mat-name small {
  display:block;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.waste-mat-bar {
  height: 22px;
  position: relative;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  overflow: hidden;
}
.waste-mat-bar .base,
.waste-mat-bar .expand {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(.2,.8,.2,1);
}
.waste-mat-bar .base {
  background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.15));
  z-index: 2;
}
.waste-mat-bar .expand {
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
  opacity: .85;
  z-index: 1;
}
.waste-mat-bar .label-in {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  font-weight: 700;
  letter-spacing: .02em;
  z-index: 3;
  white-space: nowrap;
}
.waste-mat-bar .label-in b { color: var(--amber-400); font-weight: 800; }
.waste-mat-factor {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-400);
  letter-spacing: -.01em;
}
.waste-mat-factor small {
  display:block;
  font-size: 9px;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  letter-spacing: 0;
  margin-top:2px;
}
.waste-diagram-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.1);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  font-family: var(--font-mono);
}
.waste-diagram-note b { color: var(--amber-400); font-weight: 700; }

/* ── 확장: 총합 · 범례 · 트럭 요약 ── */
.waste-diagram-title { justify-content: space-between; flex-wrap: wrap; }
.waste-diagram-title .wd-total {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.75);
  letter-spacing: .05em;
  text-transform: none;
}
.waste-diagram-title .wd-total b {
  color: var(--amber-400);
  font-weight: 800;
  font-size: 12px;
}

.waste-mat-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 8px 10px;
  background: rgba(0,0,0,.2);
  border-radius: 6px;
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.waste-mat-legend .wl {
  display: inline-block;
  width: 14px; height: 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin: 0 2px;
}
.waste-mat-legend .wl.base   { background: rgba(255,255,255,.6); }
.waste-mat-legend .wl.expand { background: rgba(245,165,36,.5); }
.waste-mat-legend .wl-tip {
  margin-left: auto;
  color: rgba(255,255,255,.4);
  font-size: 10px;
}

.waste-truck-summary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.waste-truck-summary .wt-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}
.waste-truck-summary .wt-chip b {
  color: var(--amber-400);
  font-weight: 700;
}
.waste-truck-summary .wt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.waste-truck-summary .wt-dot.mixed    { background: #F5A524; color:#F5A524; }
.waste-truck-summary .wt-dot.concrete { background: #7A8894; color:#7A8894; }
.waste-truck-summary .wt-dot.wood     { background: #B87333; color:#B87333; }

@media (max-width: 640px) {
  .waste-mat-row { grid-template-columns: 96px 1fr 52px; font-size: 11px; }
  .waste-mat-bar .label-in { font-size: 8.5px; }
  .waste-diagram-title .wd-total { width: 100%; margin-top: 4px; }
}

/* ============================================================
   §  Partner banner enhancement
   ============================================================ */
.partner {
  position: relative;
  overflow: hidden;
}
.partner .p-slot {
  position: relative;
  min-height: 84px;
  background:
    repeating-linear-gradient(135deg,
      rgba(15,54,82,.04) 0 8px,
      rgba(15,54,82,.02) 8px 16px);
  border: 1px dashed rgba(15,54,82,.18);
  border-radius: 10px;
  color: var(--blue-800);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .55;
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.partner:hover .p-slot { opacity: .8; }
.partner .p-slot::before {
  content: attr(data-hint);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, 22px);
  font-size: 9px;
  color: var(--ink-4);
  letter-spacing: .05em;
  opacity: .65;
}

/* ── Filled partner banner (실제 로고 삽입 상태) ── */
.partner .p-slot--filled {
  padding: 10px;
  min-height: 96px;
  background: #FFFFFF;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  opacity: 1;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 6px 18px rgba(0,0,0,.28);
  isolation: isolate;
}
.partner .p-slot--filled::before { content: none; }
.partner .p-slot--filled img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
  display: block;
  aspect-ratio: 480 / 168;
  filter: saturate(1.02);
}
.partner .p-slot-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0F3652;
  background: linear-gradient(180deg, #FFE9B8, #F5C400);
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 6px rgba(0,0,0,.18);
  z-index: 2;
  pointer-events: none;
}
.partner:hover .p-slot--filled {
  opacity: 1;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 10px 28px rgba(0,0,0,.34);
  transform: translateY(-1px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

/* ── Scroll-reveal zoom for photos ─────────────── */
/* 이미지가 화면에 들어올 때 살짝 확대되면서 은은하게 나타나는 효과 */
.reveal-zoom {
  overflow: hidden;
}
.reveal-zoom > img {
  transform: scale(1.0);
  opacity: .85;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity 1.1s ease-out;
  will-change: transform, opacity;
}
.reveal-zoom.in > img {
  transform: scale(1.06);
  opacity: 1;
}
/* 시공사례 카드: hover zoom과 충돌 방지 — hover 시 조금 더 확대 */
.case-card .case-image.reveal-zoom.in > img { transform: scale(1.06); }
.case-card:hover .case-image.reveal-zoom.in > img { transform: scale(1.10); }
/* 접근성: 애니메이션 감소 선호 시 정적으로 */
@media (prefers-reduced-motion: reduce) {
  .reveal-zoom > img { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ── 3D 입체감 & 실물 느낌 ─────────────────────── */
/* 시공사례 카드: 다층 그림자 + 상단 하이라이트 + 마우스 틸트 */
.case-card {
  /* 3D 컨텍스트 */
  transform-style: preserve-3d;
  perspective: 1000px;
  /* 다층 그림자: 가까이(선명) + 멀리(퍼짐) + 상단 하이라이트 라인 */
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(10,46,38,.04) inset,
    0 2px 4px -2px rgba(10,46,38,.08),
    0 8px 20px -8px rgba(10,46,38,.14),
    0 24px 48px -20px rgba(10,46,38,.18);
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s cubic-bezier(.2,.7,.2,1),
    border-color .3s ease;
  will-change: transform;
}
.case-card:hover {
  /* JS 틸트가 transform을 관리하므로 여기선 그림자만 강화 */
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(10,46,38,.04) inset,
    0 4px 8px -2px rgba(10,46,38,.12),
    0 16px 32px -12px rgba(10,46,38,.22),
    0 40px 80px -24px rgba(10,46,38,.28);
  border-color: var(--green-600);
}
/* 사진 위 은은한 유리 광택 (상단 대각선 하이라이트) */
.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.14) 28%,
      rgba(255,255,255,0) 55%);
  mix-blend-mode: overlay;
  opacity: .55;
  transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.case-card:hover .case-image::after {
  opacity: .9;
  transform: translateX(6%);
}

/* 폰 목업: 유리 반사 하이라이트 오버레이 */
.notify-phone {
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.notify-phone:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.notify-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 44px;
  pointer-events: none;
  z-index: 10;
  background:
    linear-gradient(115deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,0) 22%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,.06) 92%),
    /* 상단 유리 반사 스트라이프 */
    linear-gradient(160deg,
      rgba(255,255,255,.18) 0%,
      rgba(255,255,255,0) 18%);
  mix-blend-mode: screen;
}
/* 폰 목업 wrap: 그림자를 바닥에 깔아 실물감 */
.notify-phone-wrap::after {
  content: "";
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 40px;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(10,46,38,.35) 0%,
    rgba(10,46,38,0) 70%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}
.notify-phone-wrap { position: sticky; }

/* JS 틸트 활성화 시 transition 억제 (마우스 따라 매끄럽게) */
.case-card.is-tilting {
  transition: box-shadow .35s cubic-bezier(.2,.7,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  .case-card, .notify-phone { transform: none !important; transition: none !important; }
  .case-image::after { display: none; }
}
@media (max-width: 900px) {
  /* 모바일은 틸트 없이 정적으로 — 터치 UX와 충돌 방지 */
  .notify-phone { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   AR 평수 자동측정 모달
   ═══════════════════════════════════════════════════════════════ */
#arModal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
#arModal.show { display: flex; }
.ar-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.78); backdrop-filter: blur(6px);
}
.ar-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  background: #0d1418; border: 1px solid rgba(240,184,84,0.3);
  border-radius: 14px;
  color: #f0e6d2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ar-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.ar-close {
  background: transparent; border: none; color: #f0e6d2;
  font-size: 22px; cursor: pointer; padding: 4px 8px;
  border-radius: 4px; transition: background 0.2s;
}
.ar-close:hover { background: rgba(255,255,255,0.08); }

.ar-stage {
  position: relative; width: 100%; aspect-ratio: 4/3;
  background: #000; overflow: hidden;
}
#arVideo {
  width: 100%; height: 100%; object-fit: cover;
  transform: scaleX(1);
}
.ar-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ar-crosshair {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px;
}
.ar-cross-h, .ar-cross-v {
  position: absolute; background: rgba(240,184,84,0.9);
  box-shadow: 0 0 8px rgba(240,184,84,0.6);
}
.ar-cross-h { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.ar-cross-v { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.ar-cross-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border: 2px solid #f0b854; border-radius: 50%;
  background: rgba(240,184,84,0.2);
  animation: arPulse 1.8s ease-in-out infinite;
}
@keyframes arPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0.5; }
}
.ar-hint {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  padding: 10px 14px; background: rgba(0,0,0,0.7);
  border-radius: 6px; font-size: 13px; text-align: center;
  color: #f0e6d2; line-height: 1.5;
}
.ar-hint b { color: #f0b854; }
.ar-readout {
  position: absolute; top: 12px; right: 12px;
  padding: 6px 10px; background: rgba(0,0,0,0.7);
  border-radius: 4px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #f0b854; letter-spacing: 0.05em;
}

.ar-controls { padding: 16px 20px; }
.ar-progress {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-bottom: 14px;
}
.ar-step {
  padding: 8px 4px; text-align: center;
  font-size: 10.5px; font-weight: 600; letter-spacing: -0.01em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(240,230,210,0.5);
  transition: all 0.3s;
}
.ar-step.active {
  background: rgba(240,184,84,0.15);
  border-color: rgba(240,184,84,0.5);
  color: #f0b854;
}
.ar-step.done {
  background: rgba(80,180,120,0.15);
  border-color: rgba(80,180,120,0.4);
  color: #66d68f;
}
.ar-step.done::before { content: '✓ '; }

.ar-height-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; padding: 10px 12px;
  background: rgba(255,255,255,0.04); border-radius: 6px;
  font-size: 13px;
}
.ar-height-row input {
  flex: 1; padding: 6px 10px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15);
  color: #f0e6d2; border-radius: 4px; font-size: 13px;
}

.ar-btn-row { display: flex; gap: 8px; }
.ar-btn {
  flex: 1; padding: 12px; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: 1px solid transparent;
}
.ar-btn-primary {
  background: linear-gradient(135deg, #f0b854, #c8a25a);
  color: #0d1418;
}
.ar-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,184,84,0.3); }
.ar-btn-primary:disabled {
  background: rgba(255,255,255,0.1); color: rgba(240,230,210,0.4);
  cursor: not-allowed; transform: none; box-shadow: none;
}
.ar-btn-ghost {
  background: transparent; border-color: rgba(255,255,255,0.2);
  color: #f0e6d2;
}
.ar-btn-ghost:hover { background: rgba(255,255,255,0.06); }

.ar-result { padding: 0 20px 16px; }
.ar-result-card {
  padding: 16px; background: rgba(240,184,84,0.08);
  border: 1px solid rgba(240,184,84,0.25); border-radius: 8px;
}
.ar-result-head {
  font-size: 14px; font-weight: 700; color: #f0b854;
  margin-bottom: 12px;
}
.ar-result-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-bottom: 12px;
}
.ar-result-grid > div {
  padding: 10px 12px; background: rgba(0,0,0,0.3); border-radius: 5px;
  display: flex; justify-content: space-between; align-items: center;
}
.ar-result-grid > div.hi {
  grid-column: span 2;
  background: rgba(240,184,84,0.2);
  border: 1px solid rgba(240,184,84,0.4);
}
.ar-result-grid .lbl { font-size: 11.5px; color: rgba(240,230,210,0.7); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
.ar-result-grid .val { font-size: 16px; font-weight: 800; color: #f0e6d2; }
.ar-result-grid .hi .val { color: #f0b854; font-size: 22px; }
.ar-result-note {
  font-size: 11px; color: rgba(240,230,210,0.5); line-height: 1.5;
  padding: 8px 0 12px;
}

.ar-tips {
  padding: 12px 20px 20px; font-size: 11.5px; line-height: 1.6;
  color: rgba(240,230,210,0.55);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ar-tips b { color: rgba(240,184,84,0.8); }

@media (max-width: 480px){
  .ar-progress { grid-template-columns: repeat(2, 1fr); }
}
