/* =========================================================
   하나법무사사무소 — 반응형 홈페이지
   색/타이포 토큰을 먼저 정의하고, 섹션별 스타일이 이어집니다.
   ========================================================= */

:root{
  /* 브랜드 */
  --navy:#0f1f3d;
  --navy-700:#16305e;
  --navy-600:#1e3a8a;
  --blue:#1d4ed8;
  --blue-600:#2563eb;
  --blue-050:#eef4ff;
  --orange:#ea580c;
  --amber:#f59e0b;
  --pink:#f6a8b8;
  --pink-050:#fdeef2;
  --cream:#faf9ea;
  --cream-2:#f4f1e2;

  /* 중성 */
  --ink:#1b2437;
  --ink-2:#3c4658;
  --muted:#6b7486;
  --line:#e4e8f0;
  --bg:#ffffff;
  --bg-soft:#f7f9fc;

  /* 형태 */
  --r-sm:10px;
  --r-md:16px;
  --r-lg:22px;
  --r-xl:28px;
  --shadow-sm:0 2px 8px rgba(15,31,61,.06);
  --shadow:0 10px 30px rgba(15,31,61,.08);
  --shadow-lg:0 24px 60px rgba(15,31,61,.14);
  --wrap:1200px;
  --header-h:74px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Pretendard Variable","Pretendard",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  font-size:16px;
  word-break:keep-all;
  overflow-x:hidden;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
ul,ol,dl,dd{margin:0; padding:0; list-style:none}
h1,h2,h3,h4,p,figure{margin:0}
button{font:inherit; color:inherit; cursor:pointer}
:focus-visible{outline:3px solid var(--blue-600); outline-offset:3px; border-radius:6px}

.wrap{width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:24px}
section{scroll-margin-top:calc(var(--header-h) + 14px)}

/* ---------- 공통 타이포 ---------- */
.section-tag{
  display:inline-block;
  font-size:13px; font-weight:700; letter-spacing:.12em;
  color:var(--blue);
  background:var(--blue-050);
  border-radius:999px;
  padding:6px 14px;
  margin-bottom:16px;
}
.section-tag--light{color:#cfe0ff; background:rgba(255,255,255,.1)}
.section-title{
  font-size:clamp(26px,3.4vw,40px);
  line-height:1.35;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--navy);
  margin-bottom:14px;
}
.section-title--light{color:#fff}
.section-lead{color:var(--muted); font-size:15px; margin-bottom:8px}
.br-m{display:none}

/* ---------- 안내·면책 문구 ---------- */
.disclaimer{
  margin-top:22px;
  font-size:12.5px; line-height:1.75; color:var(--muted);
  background:var(--bg-soft); border:1px solid var(--line);
  border-radius:12px; padding:12px 16px;
}
.disclaimer--center{max-width:1000px; margin-inline:auto; text-align:center}
.disclaimer--dark{color:#a7b7d2; background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.text-link{color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:3px}

/* ---------- 버튼 ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 22px;
  border-radius:999px;
  border:1.5px solid transparent;
  font-weight:700; font-size:16px; line-height:1.2;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn--primary{
  background:linear-gradient(170deg,#f5fafe 0%, #e8f2ff 34%, #d9e9ff 70%, #cadfff 100%);
  color:#16357a;
  border:1px solid #a8c5ec;
  text-shadow:0 1px 0 rgba(255,255,255,.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 18px 24px -18px rgba(255,255,255,.98),
    inset 0 -14px 20px -16px rgba(96,132,198,.18),
    0 1px 0 #c6d8f2,
    0 3px 5px rgba(30,55,110,.09),
    0 10px 18px -6px rgba(96,132,198,.30),
    0 22px 36px -20px rgba(15,31,61,.22);
}
.btn--primary:hover{
  background:linear-gradient(170deg,#f9fcff 0%, #eef6ff 34%, #e0edff 70%, #d2e4ff 100%);
  border-color:#93b8e8;
  transform:translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 18px 24px -18px #fff,
    inset 0 -14px 20px -16px rgba(96,132,198,.20),
    0 2px 0 #c6d8f2,
    0 6px 10px rgba(30,55,110,.10),
    0 18px 28px -8px rgba(96,132,198,.34),
    0 34px 54px -24px rgba(15,31,61,.24);
}
.btn--primary:active{
  transform:translateY(0);
  box-shadow:
    inset 0 2px 6px rgba(96,132,198,.22),
    inset 0 1px 0 rgba(255,255,255,.72),
    0 1px 0 #c6d8f2,
    0 2px 4px rgba(30,55,110,.10),
    0 6px 12px -6px rgba(96,132,198,.24);
}
.btn--primary:focus-visible{outline:3px solid #16357a; outline-offset:3px}
.btn--ghost,.btn-line{
  background:linear-gradient(170deg,#ffffff 0%, #fafcff 40%, #f1f6ff 78%, #e8f1ff 100%);
  color:#16357a;
  border:1px solid #cfdff4;
  text-shadow:0 1px 0 #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 16px 22px -18px #fff,
    inset 0 -12px 18px -16px rgba(120,150,200,.14),
    0 1px 0 #e1e9f6,
    0 3px 5px rgba(30,55,110,.07),
    0 10px 18px -8px rgba(96,132,198,.24),
    0 20px 32px -20px rgba(15,31,61,.18);
}
.btn--ghost:hover,.btn-line:hover{
  background:linear-gradient(170deg,#ffffff 0%, #ffffff 40%, #f6faff 78%, #edf5ff 100%);
  color:#12295c; border-color:#a9c6ee;
  transform:translateY(-3px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 16px 22px -18px #fff,
    inset 0 -12px 18px -16px rgba(120,150,200,.16),
    0 2px 0 #e1e9f6,
    0 6px 10px rgba(30,55,110,.08),
    0 16px 26px -10px rgba(96,132,198,.28),
    0 30px 48px -24px rgba(15,31,61,.20);
}
.btn--ghost:active,.btn-line:active{
  transform:translateY(0);
  box-shadow:
    inset 0 2px 5px rgba(120,150,200,.22),
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 0 #e1e9f6,
    0 2px 4px rgba(30,55,110,.08);
}
.btn--ghost:focus-visible,.btn-line:focus-visible{outline:3px solid #16357a; outline-offset:3px}
.btn--lg{padding:16px 26px; font-size:17px}
.btn--block{width:100%}

/* =========================================================
   헤더
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(15,31,61,.07);
}
.header-inner{
  max-width:1360px; margin-inline:auto;
  height:var(--header-h);
  padding-inline:24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand img{height:32px; width:auto}
.nav{display:flex; align-items:center; gap:6px}
.nav-link{
  padding:10px 12px; border-radius:8px;
  font-size:15px; font-weight:600; color:var(--navy);
  transition:background .15s, color .15s;
  white-space:nowrap;
}
.nav-link:hover{background:var(--blue-050); color:var(--blue)}
.nav-link--soft{color:var(--ink-2); font-weight:500}
.nav-call{
  display:inline-flex; align-items:center; gap:8px;
  margin-left:8px; padding:11px 18px;
  background:linear-gradient(170deg,#f6faff 0%, #eaf3ff 38%, #dcebff 74%, #cfe2ff 100%);
  color:#16357a;
  border:1px solid #aec9ee;
  border-radius:999px;
  font-weight:800; font-size:15px;
  text-shadow:0 1px 0 rgba(255,255,255,.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 12px 18px -16px rgba(255,255,255,.98),
    inset 0 -10px 16px -14px rgba(96,132,198,.16),
    0 1px 0 #c9daf3,
    0 2px 4px rgba(30,55,110,.08),
    0 8px 14px -6px rgba(96,132,198,.28);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.nav-call:hover{
  background:linear-gradient(170deg,#fafcff 0%, #f0f7ff 38%, #e3efff 74%, #d6e7ff 100%);
  color:#12295c; border-color:#95b9e8; transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    inset 0 -10px 16px -14px rgba(96,132,198,.18),
    0 2px 0 #c9daf3,
    0 4px 7px rgba(30,55,110,.09),
    0 14px 22px -8px rgba(96,132,198,.32);
}
.nav-call:active{
  transform:translateY(0);
  box-shadow:
    inset 0 2px 5px rgba(96,132,198,.22),
    inset 0 1px 0 rgba(255,255,255,.8),
    0 1px 0 #c9daf3,
    0 2px 3px rgba(30,55,110,.08);
}
.nav-call:focus-visible{outline:3px solid #16357a; outline-offset:3px}
.nav-call__ico{font-size:14px}
.nav-toggle{
  display:none; width:44px; height:44px;
  background:transparent; border:1px solid var(--line); border-radius:10px;
  padding:12px 10px;
}
.nav-toggle span{display:block; height:2px; background:var(--navy); border-radius:2px; margin:4px 0; transition:.2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* =========================================================
   히어로
   ========================================================= */
.hero{
  position:relative;
  min-height:min(78vh,680px);
  display:flex; align-items:center;
  padding:clamp(48px,7vw,96px) 0 clamp(96px,10vw,140px);
  isolation:isolate;
  overflow:hidden;
}
.hero__media{position:absolute; inset:0; z-index:-2}
.hero__media img{width:100%; height:100%; object-fit:cover; object-position:65% center}
.hero__veil{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.55) 58%, rgba(255,255,255,.12) 78%, rgba(255,255,255,0) 100%),
    radial-gradient(120% 80% at 0% 50%, rgba(255,255,255,.6), transparent 60%);
}
.hero__inner{max-width:var(--wrap)}
.hero__eyebrow{
  font-size:14px; font-weight:600; letter-spacing:.02em;
  color:var(--ink-2);
  margin-bottom:18px;
}
.hero__title{
  font-size:clamp(27px,3.4vw,50px);
  line-height:1.4;
  font-weight:900;
  letter-spacing:-.025em;
  color:var(--blue);
  -webkit-text-stroke:7px #fff;
  paint-order:stroke fill;
  text-shadow:0 6px 24px rgba(15,31,61,.10);
  max-width:19em;
}
.hero__sub{
  margin-top:18px;
  font-size:clamp(17px,1.6vw,22px);
  font-weight:700;
  color:var(--blue-600);
  line-height:1.55;
  -webkit-text-stroke:4px #fff;
  paint-order:stroke fill;
  text-shadow:0 4px 16px rgba(15,31,61,.08);
}
.hero__badges{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:26px;
}
.hero__badges li{
  font-size:14px; font-weight:600; color:var(--navy);
  background:rgba(255,255,255,.9);
  border:1px solid rgba(29,78,216,.16);
  padding:8px 14px; border-radius:999px;
  box-shadow:var(--shadow-sm);
}
.hero__cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:30px}
.hero__safe{
  display:inline-block; margin-top:16px;
  padding:8px 14px;
  font-size:13.5px; font-weight:700; color:var(--navy);
  background:rgba(255,255,255,.88);
  border-left:3px solid var(--blue);
  border-radius:0 10px 10px 0;
  line-height:1.6;
}

/* =========================================================
   4대 빠른 버튼
   ========================================================= */
.quickbar{position:relative; z-index:5; margin-top:clamp(-96px,-8vw,-56px)}
.quickbar__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  background:#fff;
  padding:14px;
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);
}
.qbtn{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:16px 10px;
  border-radius:16px;
  text-align:center;
  transition:transform .18s ease, box-shadow .2s ease, filter .2s ease;
  min-height:98px;
}
.qbtn:hover{transform:translateY(-4px); box-shadow:0 14px 26px rgba(15,31,61,.16); filter:brightness(1.02)}
.qbtn__ico{font-size:22px; line-height:1}
.qbtn__txt{font-size:clamp(15px,1.4vw,18px); font-weight:800; letter-spacing:-.01em}
.qbtn__sub{font-size:12.5px; font-weight:500; opacity:.85; line-height:1.4}
.qbtn--pink{
  background:linear-gradient(168deg,#fff7fa 0%, #ffe9f0 38%, #ffdbe6 72%, #ffcfe0 100%);
  color:#7a1230;
  border:1px solid #f2bfcd;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 18px 24px -18px rgba(255,255,255,.98),
    inset 0 -14px 20px -16px rgba(206,120,148,.16),
    0 1px 0 #f7d3dd,
    0 3px 4px rgba(120,20,50,.07),
    0 10px 18px -6px rgba(206,120,148,.28),
    0 22px 36px -18px rgba(15,31,61,.18);
}
.qbtn--pink .qbtn__txt{text-shadow:0 1px 0 rgba(255,255,255,.80)}
.qbtn--pink .qbtn__sub{color:#8a2138; font-weight:600; opacity:1; text-shadow:0 1px 0 rgba(255,255,255,.70)}
.qbtn--pink:hover{
  filter:none; transform:translateY(-6px); border-color:#ec9fb4;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 18px 24px -18px #fff,
    inset 0 -14px 20px -16px rgba(206,120,148,.18),
    0 2px 0 #f7d3dd,
    0 5px 9px rgba(120,20,50,.09),
    0 18px 28px -8px rgba(206,120,148,.32),
    0 34px 56px -24px rgba(15,31,61,.22);
}
.qbtn--pink:active{
  transform:translateY(-2px);
  box-shadow:
    inset 0 2px 6px rgba(206,120,148,.22),
    inset 0 1px 0 rgba(255,255,255,.85),
    0 1px 0 #f7d3dd,
    0 2px 3px rgba(120,20,50,.09),
    0 8px 14px -6px rgba(206,120,148,.26);
}
.qbtn--pink:focus-visible{outline:3px solid #7a1230; outline-offset:3px}
.qbtn--blue{
  background:linear-gradient(168deg,#f6faff 0%, #e7f0ff 38%, #dae7ff 72%, #cfdfff 100%);
  color:#16357a;
  border:1px solid #b9cdf0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 18px 24px -18px rgba(255,255,255,.95),
    inset 0 -14px 20px -16px rgba(96,132,198,.16),
    0 1px 0 #c8d8f2,
    0 3px 4px rgba(30,55,110,.08),
    0 10px 18px -6px rgba(96,132,198,.30),
    0 22px 36px -18px rgba(15,31,61,.20);
}
.qbtn--blue .qbtn__ico{filter:drop-shadow(0 1px 0 rgba(150,175,220,.55))}
.qbtn--blue .qbtn__txt{text-shadow:0 1px 0 rgba(255,255,255,.80)}
.qbtn--blue .qbtn__sub{color:#33549c; font-weight:600; opacity:1; text-shadow:0 1px 0 rgba(255,255,255,.70)}
.qbtn--blue:hover{
  filter:none;
  transform:translateY(-6px);
  border-color:#9dbfe8;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 18px 24px -18px rgba(255,255,255,.98),
    inset 0 -14px 20px -16px rgba(96,132,198,.18),
    0 2px 0 #c8d8f2,
    0 5px 9px rgba(30,55,110,.10),
    0 18px 28px -8px rgba(96,132,198,.34),
    0 34px 56px -24px rgba(15,31,61,.24);
}
.qbtn--blue:active{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 1px 0 #c8d8f2,
    0 2px 3px rgba(30,55,110,.10),
    0 8px 14px -6px rgba(96,132,198,.28),
    0 16px 26px -16px rgba(15,31,61,.18);
}
.qbtn--blue:focus-visible{outline:3px solid #16357a; outline-offset:3px}


/* 계산기 2종 전용 — 연한 살구색 테마 + 입체(3D) 그림자 */
.qbtn--orange{
  background:linear-gradient(168deg,#fff6ec 0%, #ffe6cd 38%, #ffd8b2 72%, #ffcb9d 100%);
  color:#7a3a06;
  border:1px solid #f3c08f;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 18px 24px -18px rgba(255,255,255,.98),
    inset 0 -14px 20px -16px rgba(206,132,64,.16),
    0 1px 0 #f6d5b3,
    0 3px 4px rgba(120,60,10,.08),
    0 10px 18px -6px rgba(206,132,64,.30),
    0 22px 36px -18px rgba(15,31,61,.18);
}
.qbtn--orange .qbtn__ico{filter:drop-shadow(0 1px 0 rgba(214,150,95,.55))}
.qbtn--orange .qbtn__txt{text-shadow:0 1px 0 rgba(255,255,255,.80)}
.qbtn--orange .qbtn__sub{color:#8a4d12; font-weight:600; opacity:1; text-shadow:0 1px 0 rgba(255,255,255,.70)}
.qbtn--orange:hover{
  filter:none;
  transform:translateY(-6px);
  border-color:#edaa6d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 18px 24px -18px rgba(255,255,255,1),
    inset 0 -14px 20px -16px rgba(206,132,64,.18),
    0 2px 0 #f6d5b3,
    0 5px 9px rgba(120,60,10,.10),
    0 18px 28px -8px rgba(206,132,64,.36),
    0 34px 56px -24px rgba(15,31,61,.24);
}
.qbtn--orange:active{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 18px 24px -18px rgba(255,255,255,.95),
    inset 0 -10px 16px -14px rgba(206,132,64,.16),
    0 1px 0 #f6d5b3,
    0 2px 3px rgba(120,60,10,.10),
    0 8px 14px -6px rgba(206,132,64,.30),
    0 16px 26px -16px rgba(15,31,61,.16);
}
.qbtn--orange:focus-visible{outline:3px solid #b45309; outline-offset:3px}


/* =========================================================
   핵심 실적
   ========================================================= */
.record{padding:clamp(56px,7vw,96px) 0 clamp(40px,5vw,64px)}
.record__head{text-align:center; margin-bottom:clamp(28px,4vw,44px)}
.record__big{
  font-size:clamp(30px,4.6vw,58px);
  font-weight:900; letter-spacing:-.03em;
  color:var(--navy); line-height:1.25;
}
.record__big strong{
  color:var(--orange);
  font-size:1.28em;
  margin-inline:.08em;
  text-shadow:0 8px 24px rgba(234,88,12,.18);
}
.record__note{
  margin-top:10px;
  font-size:clamp(15px,1.6vw,20px);
  font-weight:700; color:var(--orange);
}
.promise-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
  max-width:1000px; margin-inline:auto;
}
.promise{
  display:flex; align-items:flex-start; gap:12px;
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-sm);
  font-size:15.5px; font-weight:600; color:var(--navy);
  line-height:1.5;
}
.promise__mark{
  flex:0 0 auto;
  width:22px; height:22px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--blue-050); color:var(--blue);
  font-size:12px; font-weight:900; margin-top:1px;
}

/* =========================================================
   전문분야 (다크)
   ========================================================= */
.compare{
  background:linear-gradient(180deg,#22262d 0%,#1b1f25 100%);
  padding:clamp(56px,7vw,96px) 0;
}
.compare .section-title{margin-bottom:clamp(28px,4vw,44px)}
.compare__grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px}
.domain{
  display:grid; grid-template-columns:1fr;
  background:#fff; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.domain__body{padding:clamp(24px,3vw,36px)}
.domain__name{
  font-size:clamp(22px,2.4vw,28px); font-weight:800; color:var(--navy);
  margin-bottom:14px; letter-spacing:-.01em;
}
.domain__text{color:var(--ink-2); font-size:15.5px; line-height:1.8}
.domain__points{margin-top:16px; display:grid; gap:8px}
.domain__points li{
  position:relative; padding-left:20px;
  font-size:14.5px; font-weight:600; color:var(--navy-600);
}
.domain__points li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:7px; height:7px; border-radius:50%; background:var(--amber);
}
.domain__link{
  display:inline-flex; align-items:center; gap:6px;
  margin-top:20px; font-size:14.5px; font-weight:700; color:var(--blue);
}
.domain__link:hover{text-decoration:underline}
.domain__fig{order:-1; aspect-ratio:16/9; overflow:hidden}
.domain__fig img{width:100%; height:100%; object-fit:cover}

/* =========================================================
   대상자
   ========================================================= */
.targets{padding:clamp(56px,7vw,100px) 0; background:#fff}
.tabs{
  display:inline-flex; gap:6px; padding:6px;
  background:var(--bg-soft); border:1px solid var(--line); border-radius:999px;
  margin:6px 0 clamp(24px,3vw,34px);
  flex-wrap:wrap;
}
.tab{
  border:0; background:transparent;
  padding:12px 22px; border-radius:999px;
  font-size:15.5px; font-weight:700; color:var(--muted);
  transition:.18s;
}
.tab.is-active{background:var(--navy); color:#fff; box-shadow:0 6px 16px rgba(15,31,61,.22)}
.tab-panel[hidden]{display:none}
.target-cols{display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,3vw,40px)}
.target-col{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:clamp(22px,3vw,32px);
}
.target-col__title{
  font-size:18px; font-weight:800; color:var(--blue);
  margin-bottom:16px; display:flex; gap:8px; align-items:center;
}
.bullet-list{display:grid; gap:10px}
.bullet-list li{
  position:relative; padding-left:18px;
  font-size:15.5px; color:var(--ink-2); line-height:1.6;
}
.bullet-list li::before{
  content:""; position:absolute; left:0; top:.66em;
  width:6px; height:6px; border-radius:50%; background:#9aa6bd;
}
.bullet-list__caution{color:var(--orange) !important; font-weight:700}
.bullet-list__caution::before{background:var(--orange) !important}
.target-note{
  margin-top:20px; padding:16px 20px;
  background:var(--blue-050); border-radius:var(--r-md);
  font-size:14.5px; color:var(--navy-600); font-weight:600;
}
.emphasis{
  margin-top:22px;
  padding:clamp(20px,3vw,28px);
  border-radius:var(--r-lg);
  background:linear-gradient(135deg,#fff5f7,#fde7ec);
  border:1px solid #f6c9d4;
  text-align:center;
}
.emphasis__main{font-size:clamp(17px,2vw,21px); font-weight:800; color:#b3234a}
.emphasis__sub{margin-top:6px; font-size:14.5px; color:#8a2138; font-weight:600}

/* =========================================================
   성공사례
   ========================================================= */
.cases{padding:clamp(56px,7vw,100px) 0; background:var(--cream)}
.cases .section-title{margin-bottom:8px}
.cases .section-lead{margin-bottom:14px}
.case-notice{
  display:inline-block; margin:0 0 clamp(22px,3vw,30px);
  padding:9px 14px; border-radius:10px;
  background:#fff3d6; border:1px solid #efd9a4;
  color:#7a5810; font-size:13px; font-weight:700; line-height:1.6;
}
.case-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.case{
  background:#fff; border-radius:var(--r-md);
  padding:22px 24px 20px;
  box-shadow:0 8px 20px rgba(60,55,20,.08);
  border:1px solid #efeada;
  transition:transform .18s ease, box-shadow .2s ease;
}
.case:hover{transform:translateY(-4px); box-shadow:0 18px 34px rgba(60,55,20,.14)}
.case__name{
  display:flex; align-items:center; gap:6px;
  font-size:19px; font-weight:800; color:var(--navy);
  margin-bottom:10px;
}
.case__quote{color:#9aa6bd; font-size:22px; line-height:1}
.case__reason{font-size:14.5px; color:var(--ink-2); margin-bottom:12px}
.case__money{display:grid; gap:2px; padding-bottom:12px; border-bottom:1px solid #eceadf}
.case__money div{display:flex; justify-content:space-between; gap:10px; font-size:13.5px}
.case__money dt{color:var(--muted)}
.case__money dd{color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums}
.case__rate{
  margin-top:12px; text-align:center;
  font-size:19px; font-weight:800; color:var(--orange);
}
.case__monthly{
  margin-top:4px; text-align:center;
  font-size:15.5px; font-weight:700; color:var(--blue);
}

/* ---------- 탕감사례 가로 캐러셀 (가운데 카드 강조) ---------- */
.cases-carousel{position:relative; margin-top:clamp(4px,1vw,10px)}
.cases-stage{position:relative}
.cases-carousel .case-grid{
  display:flex; align-items:stretch; gap:18px;
  margin:0; padding:34px calc(50% - clamp(125px,36vw,210px)) 48px;
  overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.cases-carousel .case-grid::-webkit-scrollbar{display:none}
.cases-carousel .case-grid:focus-visible{outline:3px solid var(--blue-600); outline-offset:2px; border-radius:18px}
.cases-carousel .case{
  position:relative;
  flex:0 0 auto;
  width:clamp(250px,72vw,420px);
  scroll-snap-align:center;
  transform:scale(.9);
  opacity:.72;
  transition:transform .45s cubic-bezier(.22,.61,.36,1), opacity .45s ease, box-shadow .45s ease;
}
.cases-carousel .case:hover{transform:scale(.92); box-shadow:0 18px 34px rgba(60,55,20,.14)}
.cases-carousel .case.is-active{
  transform:scale(1.06);
  opacity:1;
  z-index:2;
  box-shadow:0 22px 46px rgba(60,55,20,.2);
}
.cases-carousel .case.is-active:hover{transform:scale(1.06)}
.cases-arrow{
  position:absolute; top:50%; z-index:3;
  width:46px; height:46px; margin-top:-23px;
  display:grid; place-items:center;
  border:1px solid var(--line); border-radius:50%;
  background:rgba(255,255,255,.96); color:var(--navy);
  font-size:24px; line-height:1; font-weight:700;
  box-shadow:0 8px 20px rgba(60,55,20,.16);
  transition:background .18s, color .18s, transform .18s;
}
.cases-arrow:hover{background:var(--navy); color:#fff; transform:scale(1.06)}
.cases-arrow--prev{left:clamp(2px,1.4vw,18px)}
.cases-arrow--next{right:clamp(2px,1.4vw,18px)}
.cases-arrow span{display:block; margin-top:-4px}
.cases-dots{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; margin-top:4px}
.cases-dot{
  width:9px; height:9px; padding:0;
  border:0; border-radius:999px;
  background:#cfc7a8;
  transition:width .25s ease, background .25s ease;
}
.cases-dot:hover{background:#b3aa85}
.cases-dot.is-active{width:26px; background:var(--blue)}

/* ---------- 끊김없는 무한 흐름(마퀴) 모드 — app.js가 붙이는 is-marquee ----------
   카드를 복제해 트랙을 계속 흘려보내므로, 무대(.cases-stage)가 위아래 그림자는
   살리고 좌우만 잘라냅니다. 카드 크기·진하기는 매 프레임 JS가 그립니다. */
.cases-carousel.is-marquee .cases-stage{overflow:hidden; padding:34px 0 48px}
.cases-carousel.is-marquee .case-grid{
  overflow:visible; padding:0;
  scroll-snap-type:none;
  touch-action:pan-y;
  cursor:grab;
  user-select:none; -webkit-user-select:none;
  will-change:transform;
}
.cases-carousel.is-marquee.is-dragging .case-grid{cursor:grabbing}
.cases-carousel.is-marquee .case{
  scroll-snap-align:none;
  transition:none;
  backface-visibility:hidden;
}
@media (max-width:640px){
  .cases-carousel.is-marquee .cases-stage{padding:26px 0 40px}
}

/* =========================================================
   후기
   ========================================================= */
.reviews{padding:clamp(56px,7vw,100px) 0; background:var(--cream-2)}
.review-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:clamp(26px,4vw,40px)}
.review{
  background:#fff; border-radius:var(--r-md);
  padding:22px 24px;
  border:1px solid #eae4d2;
  box-shadow:0 8px 20px rgba(60,55,20,.07);
  display:flex; flex-direction:column; gap:10px;
}
.review__who{display:flex; align-items:center; gap:6px; font-size:17px; font-weight:800; color:var(--navy)}
.review__text{font-size:14px; line-height:1.85; color:var(--ink-2)}

/* ---------- 후기 가로 캐러셀 (탕감사례와 같은 형태) ---------- */
.reviews-carousel{margin-top:clamp(26px,4vw,40px)}
.reviews-carousel .case{width:clamp(270px,78vw,470px)}
.reviews-carousel .case.review{padding:22px 24px; gap:10px}
.reviews-carousel .review__text{font-size:13.5px; line-height:1.78}
.reviews-carousel .review__who{font-size:17px}

/* ---------- 과거 인가 사례 · 후기 카드 — 입체형(3D) 그림자 ---------- */
.case,
.promise,
.review{
  border:1px solid #e7e0cb;
  background:linear-gradient(180deg,#ffffff 0%, #fdfbf4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 1px 0 rgba(60,55,20,.07),
    0 2px 3px rgba(60,55,20,.06),
    0 10px 18px -6px rgba(60,55,20,.20),
    0 24px 40px -20px rgba(15,31,61,.32);
  transition:transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, border-color .22s ease;
}
.case:hover,
.promise:hover,
.review:hover{
  border-color:#ded4b6;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 2px 0 rgba(60,55,20,.06),
    0 4px 8px rgba(60,55,20,.09),
    0 16px 28px -8px rgba(60,55,20,.24),
    0 36px 58px -24px rgba(15,31,61,.38);
}
.promise:hover,
.review:hover{transform:translateY(-5px)}
/* 캐러셀 카드의 확대(scale)·호버는 기존 규칙을 그대로 따릅니다 */
.cases-carousel .case.is-active{box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 2px 0 rgba(60,55,20,.06),
    0 6px 12px rgba(60,55,20,.10),
    0 22px 38px -10px rgba(60,55,20,.26),
    0 46px 70px -28px rgba(15,31,61,.42)}

/* =========================================================
   진행 절차
   ========================================================= */
.process{padding:clamp(56px,7vw,100px) 0; background:#fff}
.process__note{
  margin-top:clamp(20px,2.4vw,28px); text-align:center;
  font-size:13px; color:var(--muted); line-height:1.6;
}

/* 10단계 흐름 — 카드 배치는 CSS 그리드, 연결 화살표는 카드의 실제 위치를
   재어 app.js가 SVG로 그립니다(5열·2열 어떤 폭에서도 어긋나지 않음) */
.flow{
  position:relative;
  display:grid; grid-template-columns:repeat(5,1fr);
  column-gap:clamp(18px,2vw,26px); row-gap:clamp(40px,4.6vw,54px);
  margin:clamp(26px,3.4vw,40px) 0 0;
  list-style:none;
}
.flow__item{
  position:relative; z-index:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px; min-height:clamp(92px,9.6vw,112px);
  padding:14px 14px;
  border:1px solid #e3eaf6; border-radius:16px;
  background:linear-gradient(170deg,#ffffff 0%, #fbfdff 52%, #f3f8ff 100%);
  text-align:center;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px rgba(255,255,255,1),
    0 1px 0 #eaf0f8,
    0 3px 6px rgba(15,31,61,.05),
    0 10px 18px -12px rgba(15,31,61,.16);
  transition:transform .2s ease, box-shadow .2s ease;
}
.flow__item:hover{
  transform:translateY(-3px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    0 2px 0 #eaf0f8,
    0 6px 10px rgba(15,31,61,.06),
    0 16px 26px -12px rgba(15,31,61,.24);
}
.flow__no{
  font-size:11.5px; font-weight:800; letter-spacing:.12em;
  color:var(--blue); line-height:1;
}
.flow__name{
  font-size:clamp(13.5px,1.35vw,15.5px); font-weight:800;
  color:var(--navy); line-height:1.35; word-break:keep-all;
}

/* 단계별 색 — 파스텔 톤으로 한 단계 연하게 (입체감은 유지) */
.flow__item--blue{
  background:linear-gradient(170deg,#f6faff 0%, #eaf2ff 42%, #dceaff 100%);
  border-color:#c2d6f2;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 12px 18px -16px rgba(255,255,255,.98),
    inset 0 -12px 18px -16px rgba(96,132,198,.14),
    0 1px 0 #d8e4f6,
    0 3px 6px rgba(30,55,110,.07),
    0 12px 20px -12px rgba(96,132,198,.34);
}
.flow__item--blue .flow__no{color:#3a63b8}
.flow__item--blue .flow__name{color:#16357a}
.flow__item--blue:hover{
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    inset 0 -12px 18px -16px rgba(96,132,198,.16),
    0 2px 0 #d8e4f6,
    0 6px 10px rgba(30,55,110,.08),
    0 18px 28px -12px rgba(96,132,198,.38);
}

.flow__item--sky{
  background:linear-gradient(170deg,#f4fbff 0%, #e6f6ff 42%, #d5efff 100%);
  border-color:#b9e0f3;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 12px 18px -16px rgba(255,255,255,.98),
    inset 0 -12px 18px -16px rgba(70,150,190,.14),
    0 1px 0 #d5eaf5,
    0 3px 6px rgba(12,74,110,.07),
    0 12px 20px -12px rgba(70,150,190,.32);
}
.flow__item--sky .flow__no{color:#0b6a93}
.flow__item--sky .flow__name{color:#0b4f70}
.flow__item--sky:hover{
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    inset 0 -12px 18px -16px rgba(70,150,190,.16),
    0 2px 0 #d5eaf5,
    0 6px 10px rgba(12,74,110,.08),
    0 18px 28px -12px rgba(70,150,190,.36);
}

.flow__item--green{
  background:linear-gradient(170deg,#f4fdf7 0%, #e6f9ee 42%, #d5f3e2 100%);
  border-color:#b9e5cb;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 12px 18px -16px rgba(255,255,255,.98),
    inset 0 -12px 18px -16px rgba(60,150,100,.14),
    0 1px 0 #d6ecdf,
    0 3px 6px rgba(12,80,50,.07),
    0 12px 20px -12px rgba(60,150,100,.32);
}
.flow__item--green .flow__no{color:#1a7f4b}
.flow__item--green .flow__name{color:#14532d}
.flow__item--green:hover{
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    inset 0 -12px 18px -16px rgba(60,150,100,.16),
    0 2px 0 #d6ecdf,
    0 6px 10px rgba(12,80,50,.08),
    0 18px 28px -12px rgba(60,150,100,.36);
}

.flow__item--orange{
  background:linear-gradient(170deg,#fffaf4 0%, #fff1e2 42%, #ffe4cb 100%);
  border-color:#f6d0a8;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 12px 18px -16px rgba(255,255,255,.98),
    inset 0 -12px 18px -16px rgba(206,132,64,.14),
    0 1px 0 #f8ddc0,
    0 3px 6px rgba(120,60,10,.06),
    0 12px 20px -12px rgba(206,132,64,.30);
}
.flow__item--orange .flow__no{color:#b4530f}
.flow__item--orange .flow__name{color:#8a3a0c}
.flow__item--orange:hover{
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 12px 18px -16px #fff,
    inset 0 -12px 18px -16px rgba(206,132,64,.16),
    0 2px 0 #f8ddc0,
    0 6px 10px rgba(120,60,10,.07),
    0 18px 28px -12px rgba(206,132,64,.34);
}

.flow__arrows{
  position:absolute; inset:0; width:100%; height:100%;
  overflow:visible; pointer-events:none; z-index:0;
}
.flow__arrows path{fill:none; stroke:#a9b8d2; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.flow__arrows polygon{fill:#a9b8d2}

/* 태블릿·휴대폰 가로: 2열 × 5행 */
@media (max-width:960px){
  .flow{grid-template-columns:repeat(2,1fr); column-gap:22px; row-gap:36px}
  .flow__item{
    flex-direction:row; justify-content:center; gap:10px;
    min-height:66px; padding:12px 16px; text-align:center;
  }
  .flow__no{flex:none}
}

/* =========================================================
   특화 서비스
   ========================================================= */
.service{padding:clamp(56px,7vw,100px) 0; background:var(--bg-soft)}
.service-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:clamp(24px,3vw,38px)}
.service-card{
  position:relative;
  background:#fff; border-radius:var(--r-lg);
  padding:clamp(24px,3vw,32px);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.service-card__no{
  display:inline-block;
  font-size:13px; font-weight:900; color:var(--blue);
  background:var(--blue-050); border-radius:8px;
  padding:4px 10px; margin-bottom:14px; letter-spacing:.08em;
}
.service-card__title{font-size:19px; font-weight:800; color:var(--navy); margin-bottom:10px; line-height:1.4}
.service-card__text{font-size:14.5px; color:var(--ink-2); line-height:1.8}
.service-cta{
  display:grid; grid-template-columns:220px 1fr;
  gap:clamp(18px,3vw,36px);
  align-items:center;
  margin-top:clamp(26px,4vw,44px);
  background:linear-gradient(120deg,#fff,#eef4ff);
  border:1px solid #dbe6fb;
  border-radius:var(--r-xl);
  padding:clamp(20px,3vw,32px);
  overflow:hidden;
}
.service-cta__img{
  width:100%; height:200px; object-fit:cover; object-position:50% 30%;
  border-radius:var(--r-md);
}
.service-cta__title{font-size:clamp(19px,2.2vw,25px); font-weight:800; color:var(--navy); line-height:1.45}
.service-cta__text{font-size:14.5px; color:var(--ink-2); margin:10px 0 18px}

/* =========================================================
   비용
   ========================================================= */
.fees{padding:clamp(56px,7vw,100px) 0; background:#fff}
.fee-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(24px,2.8vw,36px);
  margin:clamp(24px,3vw,38px) 0 clamp(20px,3vw,28px);
}
/* 카드 안쪽 구조를 위에서 아래로 한 줄로 세워, 목록 길이가 달라도
   금액 아래 구분선과 하단 문구가 모든 카드에서 같은 높이에 오게 한다. */
.fee{
  display:flex; flex-direction:column; height:100%;
  background:linear-gradient(180deg,#fdfcf1,var(--cream));
  border:1px solid #eee9cf;
  border-radius:var(--r-lg);
  padding:clamp(16px,1.8vw,22px) clamp(16px,1.9vw,22px);
  box-shadow:0 10px 26px rgba(60,55,20,.08);
}
.fee__name{font-size:19px; font-weight:800; color:var(--navy); text-align:center; line-height:1.3}
.fee__kind{font-size:12.5px; color:var(--blue); font-weight:700; text-align:center; margin-top:1px}
.fee__label{font-size:12.5px; color:var(--ink-2); text-align:center; margin-top:11px; line-height:1.5}
.fee__label strong{color:var(--orange)}
.fee__price{
  text-align:center; margin:5px 0 11px; padding-bottom:11px;
  border-bottom:1px solid #e3ddc4;
  font-size:clamp(19px,2vw,23px); font-weight:900; color:var(--blue);
  letter-spacing:-.01em; line-height:1.25;
}
.fee__vat{display:block; font-size:11.5px; font-weight:600; color:var(--muted); margin-top:1px}
/* 목록이 남는 공간을 채우고(항목은 위에서부터), 아래 문구는 항상 카드 맨 아래에 붙는다. */
.fee__list{
  display:grid; gap:5px; align-content:start; flex:1 1 auto;
  margin-bottom:10px;
  font-size:12.5px; color:var(--ink-2); line-height:1.55;
}
.fee__list li{position:relative; padding-left:12px}
.fee__list li::before{content:"·"; position:absolute; left:3px; color:#b3aa85}
.fee__foot{
  margin-top:auto; padding-top:9px; border-top:1px solid #e3ddc4;
  font-size:12px; font-weight:700; color:var(--navy); line-height:1.5;
}
.fee-notes{display:grid; gap:8px; font-size:13.5px; color:var(--muted); line-height:1.7}
.fee-notes p{padding-left:2px}

/* =========================================================
   상담 폼
   ========================================================= */
.consult{
  padding:clamp(56px,7vw,100px) 0;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(37,99,235,.34), transparent 55%),
    linear-gradient(160deg,#101d38,#0b1526);
  color:#fff;
}
.consult__grid{display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(28px,4vw,56px); align-items:center}
.consult .section-tag{background:rgba(255,255,255,.12); color:#cfe0ff}
.consult .section-title{color:#fff}
.consult__lead{color:#c3cee2; font-size:15px; margin-top:6px}
.consult__info{display:grid; gap:10px; margin-top:22px; font-size:14.5px; color:#dbe4f3}
.consult__info li{display:flex; gap:12px}
.consult__info strong{flex:0 0 74px; color:#93b2ea; font-weight:700}
.consult__info a{text-decoration:underline; text-underline-offset:3px}
.consult__privacy{margin-top:18px; font-size:12.5px; color:#8fa0bf}
.consult__privacy-link{color:#cfe0ff; font-weight:700; text-decoration:underline; text-underline-offset:3px}
.consult__disc{margin-top:10px; font-size:12px; line-height:1.7; color:#8fa0bf; border-left:2px solid rgba(207,224,255,.4); padding-left:10px}
.consult__card{
  background:#fff; color:var(--ink);
  border-radius:var(--r-xl);
  padding:clamp(22px,3vw,34px);
  box-shadow:var(--shadow-lg);
}
.form{display:grid; gap:16px}
.form__row{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.field{display:grid; gap:7px}
.field__label{font-size:14px; font-weight:700; color:var(--navy)}
.field__label em{color:var(--orange); font-style:normal}
.field input,.field select,.field textarea{
  width:100%;
  padding:13px 14px;
  border:1.5px solid var(--line);
  border-radius:12px;
  font:inherit; font-size:15px; color:var(--ink);
  background:#fff;
  transition:border-color .18s, box-shadow .18s;
}
.field textarea{resize:vertical; min-height:110px; line-height:1.6}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--blue-600);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.field input::placeholder,.field textarea::placeholder{color:#a7b0c0}
.check{display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--ink-2); line-height:1.55}
.check input{margin-top:3px; width:18px; height:18px; accent-color:var(--blue)}
.check em{font-style:normal; color:var(--muted); font-size:12.5px}
.check__link{color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:2px; white-space:nowrap}
.form__err{
  color:#b91c1c; font-size:13.5px; font-weight:600;
  background:#fef2f2; border:1px solid #fecaca; border-radius:10px; padding:10px 12px;
}
.form__note{font-size:12.5px; color:var(--muted); text-align:center}
.form__note a{color:var(--blue); font-weight:700; text-decoration:underline}
.form-done{text-align:center; padding:8px 0}
.form-done__ico{
  width:56px; height:56px; margin:0 auto 14px;
  display:grid; place-items:center;
  background:#ecfdf5; color:#059669; border-radius:50%;
  font-size:26px; font-weight:900;
}
.form-done__title{font-size:20px; font-weight:800; color:var(--navy); margin-bottom:8px}
.form-done__text{font-size:14.5px; color:var(--ink-2)}
.form-done__demo{
  margin:18px 0; padding:12px 14px; text-align:left;
  background:#fff8e6; border:1px solid #f5e0a8; border-radius:12px;
  font-size:12.5px; color:#7c5a12; line-height:1.65;
}
.form-done__btns{display:flex; gap:10px; flex-wrap:wrap; justify-content:center}
.linkbtn{
  margin-top:16px; background:none; border:0;
  font-size:13.5px; color:var(--muted); text-decoration:underline;
}

/* =========================================================
   오시는 길
   ========================================================= */
.location{padding:clamp(56px,7vw,100px) 0; background:#fff}
.location__grid{display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(20px,3vw,36px); align-items:stretch; margin-top:clamp(22px,3vw,34px)}
.location__map{
  border-radius:var(--r-lg); overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow);
  min-height:340px; background:var(--bg-soft);
}
.location__map iframe{width:100%; height:100%; min-height:340px; border:0; display:block}
.location__info{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:clamp(22px,3vw,32px);
}
.location__addr{font-size:clamp(18px,2vw,21px); font-weight:800; color:var(--navy); line-height:1.5}
.info-list{margin:18px 0 22px; display:grid; gap:12px}
.info-list div{display:flex; gap:14px; font-size:14.5px}
.info-list dt{flex:0 0 70px; color:var(--muted); font-weight:700}
.info-list dd{color:var(--ink-2); line-height:1.6}
.info-list a{color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:3px}
.location__btns{display:flex; gap:10px; flex-wrap:wrap}

/* =========================================================
   푸터
   ========================================================= */
.footer{background:var(--navy); color:#c6d1e3; padding:clamp(40px,5vw,64px) 0 clamp(30px,4vw,40px)}
.footer__top{
  display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap;
  padding-bottom:26px; border-bottom:1px solid rgba(255,255,255,.12);
}
.footer__brand img{height:30px; width:auto; filter:brightness(0) invert(1); opacity:.92}
.footer__tag{margin-top:14px; font-size:14px; color:#9fb0cc; line-height:1.7}
.footer__links{display:flex; flex-wrap:wrap; gap:8px 20px; font-size:14px; align-content:flex-start}
.footer__links a{color:#dbe4f3}
.footer__links a:hover{color:#fff; text-decoration:underline}
.footer__info{margin-top:22px; display:grid; gap:7px; font-size:13px; color:#9fb0cc; line-height:1.8}
.footer__info a{color:#dbe4f3}
.footer__info .dot{margin:0 6px; opacity:.5}
.footer__info a:hover{color:#fff; text-decoration:underline}
.footer__legal{
  margin-top:16px; padding-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12px; line-height:1.8; color:#8fa0bf;
}
.footer__copy{margin-top:14px; font-size:12.5px; color:#7e8ea9}

/* =========================================================
   모바일 전화 버튼 / 모달 / 라이트박스 / 토스트
   ========================================================= */
.callbar{
  position:fixed; z-index:55;
  left:50%; transform:translateX(-50%);
  bottom:calc(14px + env(safe-area-inset-bottom));
  display:none; align-items:center; gap:8px;
  padding:13px 26px;
  background:linear-gradient(170deg,#f6faff 0%, #eaf3ff 36%, #dbeaff 72%, #cde1ff 100%);
  color:#16357a;
  border:1px solid #a8c5ec;
  border-radius:999px;
  font-weight:800; font-size:16px;
  text-shadow:0 1px 0 rgba(255,255,255,.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 16px 22px -18px rgba(255,255,255,.98),
    inset 0 -12px 18px -16px rgba(96,132,198,.18),
    0 1px 0 #c6d8f2,
    0 4px 6px rgba(30,55,110,.10),
    0 12px 22px -6px rgba(96,132,198,.34),
    0 24px 38px -18px rgba(15,31,61,.26);
}
.callbar:active{
  transform:translateX(-50%) translateY(1px);
  box-shadow:
    inset 0 2px 6px rgba(96,132,198,.22),
    inset 0 1px 0 rgba(255,255,255,.75),
    0 1px 0 #c6d8f2,
    0 3px 6px rgba(30,55,110,.10);
}

.modal{position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:18px}
.modal[hidden],.lightbox[hidden]{display:none}
.modal__backdrop{position:absolute; inset:0; background:rgba(9,17,33,.62); backdrop-filter:blur(3px)}
.modal__panel{
  position:relative; width:min(560px,100%);
  max-height:calc(100vh - 36px); overflow:auto;
  background:#fff; border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);
  color:var(--ink);
}
.modal__head{
  position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 22px; background:#fff; border-bottom:1px solid var(--line);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
}
.modal__title{font-size:18px; font-weight:800; color:var(--navy)}
.modal__close{
  width:36px; height:36px; border:0; border-radius:50%;
  background:var(--bg-soft); color:var(--ink-2); font-size:15px;
}
.modal__body{padding:22px}
.modal__body .form{display:grid}
body.is-locked{overflow:hidden}

.lightbox{
  position:fixed; inset:0; z-index:90;
  background:rgba(8,14,26,.94);
  display:grid; place-items:center; padding:16px;
  overflow:auto;
}
.lightbox img{max-width:none; width:min(1800px,96vw); height:auto; border-radius:12px; margin:auto}
.lightbox__close{
  position:fixed; top:16px; right:16px;
  width:44px; height:44px; border-radius:50%;
  border:0; background:rgba(255,255,255,.16); color:#fff; font-size:18px;
}

.toast{
  position:fixed; z-index:120;
  left:50%; bottom:calc(100px + env(safe-area-inset-bottom));
  transform:translate(-50%,20px);
  background:var(--navy); color:#fff;
  padding:12px 20px; border-radius:999px;
  font-size:14px; font-weight:600;
  box-shadow:var(--shadow-lg);
  opacity:0; pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
  max-width:calc(100vw - 32px); text-align:center;
}
.toast.is-on{opacity:1; transform:translate(-50%,0)}

/* =========================================================
   편집 모드
   ========================================================= */
.editor{position:fixed; z-index:100; right:18px; bottom:calc(18px + env(safe-area-inset-bottom))}
.editor__actions{display:flex; flex-direction:column; align-items:flex-end; gap:8px}
.ebtn{
  display:inline-flex; align-items:center; gap:7px;
  padding:11px 15px; border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(15,31,61,.92); color:#fff;
  font-size:13.5px; font-weight:700;
  box-shadow:0 8px 20px rgba(9,17,33,.28);
  backdrop-filter:blur(6px);
  transition:transform .15s, background .2s;
}
.ebtn:hover{transform:translateY(-2px); background:#16294f}
.ebtn--toggle{
  padding:14px 18px; font-size:14.5px;
  background:linear-gradient(135deg,#1d4ed8,#16305e);
}
.ebtn--toggle[aria-pressed="true"]{background:linear-gradient(135deg,#ea580c,#b6420a)}
.ebtn--danger{background:rgba(120,20,30,.94)}
.ebtn--danger:hover{background:#8f1a28}
.editor__panel{display:flex; flex-direction:column; align-items:flex-end; gap:8px}
.editor__panel[hidden]{display:none}
.editor__tooltip{
  position:fixed; left:50%; transform:translateX(-50%);
  top:calc(var(--header-h) + 12px);
  width:min(560px,calc(100vw - 32px));
  background:#fffbe8; color:#5a4408;
  border:1px solid #f2d98a; border-radius:14px;
  padding:14px 42px 14px 16px;
  box-shadow:var(--shadow-lg);
  z-index:101;
}
.editor__tooltip[hidden]{display:none}
.editor__tip-title{font-size:14px; font-weight:800; margin-bottom:3px}
.editor__tip-text{font-size:12.5px; line-height:1.6}
.editor__tip-close{
  position:absolute; top:8px; right:8px;
  width:28px; height:28px; border:0; border-radius:50%;
  background:rgba(0,0,0,.06); font-size:12px;
}
body.edit-mode [data-edit]{
  outline:1.5px dashed rgba(29,78,216,.55);
  outline-offset:3px;
  border-radius:4px;
  cursor:text;
  transition:background .15s, outline-color .15s;
}
body.edit-mode [data-edit]:hover{background:rgba(29,78,216,.07); outline-color:var(--blue)}
body.edit-mode [data-edit]:focus{
  outline:2px solid var(--blue); background:#fff;
  box-shadow:0 0 0 5px rgba(29,78,216,.12);
}
body.edit-mode .qbtn__txt,body.edit-mode .qbtn__sub,
body.edit-mode .nav-call__num{pointer-events:auto}
body.edit-mode a[href]{cursor:text}

/* =========================================================
   반응형 — 태블릿
   ========================================================= */
@media (max-width:1024px){
  :root{--header-h:68px}
  .header-inner{padding-inline:18px}
  .nav{gap:2px}
  .nav-link{padding:9px 9px; font-size:14px}
  .nav-call{padding:10px 14px; font-size:14px}
  .nav-link--soft{display:none}

  .hero__title{-webkit-text-stroke:5px #fff}
  .promise-grid{grid-template-columns:repeat(2,1fr)}
  .case-grid,.review-grid,.service-grid{grid-template-columns:repeat(2,1fr)}
  .fee-grid{grid-template-columns:repeat(2,1fr); gap:clamp(20px,3vw,28px)}
  .compare__grid{grid-template-columns:1fr}
  .domain{grid-template-columns:1fr 1fr}
  .domain__fig{order:0; aspect-ratio:auto; height:100%}
  .consult__grid{grid-template-columns:1fr}
  .location__grid{grid-template-columns:1fr}
  .service-cta{grid-template-columns:160px 1fr}
  .service-cta__img{height:170px}
}

@media (max-width:860px){
  .nav{
    position:fixed; inset:var(--header-h) 0 auto 0;
    display:none; flex-direction:column; align-items:stretch;
    gap:2px; padding:12px 16px 20px;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 20px 30px rgba(15,31,61,.12);
    max-height:calc(100vh - var(--header-h)); overflow:auto;
  }
  .nav.is-open{display:flex}
  .nav-link{padding:14px 12px; font-size:16px; border-radius:10px}
  .nav-link--soft{display:block}
  .nav-call{justify-content:center; margin:8px 0 0; padding:14px}
  .nav-toggle{display:block}
  .header-inner{justify-content:space-between}
}

/* =========================================================
   반응형 — 모바일
   ========================================================= */
@media (max-width:640px){
  body{font-size:15px; line-height:1.65}
  .wrap{padding-inline:18px}
  .br-m{display:block}

  .hero{min-height:auto; padding:34px 0 92px}
  .hero__media img{object-position:72% center}
  .hero__veil{
    background:
      linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.66) 62%, rgba(255,255,255,.3) 84%, rgba(255,255,255,.12) 100%);
  }
  .hero__eyebrow{font-size:12.5px; margin-bottom:12px}
  .hero__title{font-size:clamp(23px,6.4vw,30px); -webkit-text-stroke:4px #fff; line-height:1.46}
  .hero__sub{font-size:15.5px; -webkit-text-stroke:3px #fff; margin-top:14px}
  .hero__badges{margin-top:18px; gap:6px}
  .hero__badges li{font-size:12.5px; padding:7px 11px}
  .hero__cta{margin-top:22px; gap:10px}
  .hero__cta .btn{flex:1 1 100%; padding:15px 20px; font-size:16px}

  .quickbar{margin-top:-70px}
  .quickbar__grid{grid-template-columns:1fr 1fr; gap:16px; padding:12px; border-radius:22px}
  .qbtn{min-height:90px; padding:12px 8px; border-radius:14px}
  .qbtn__txt{font-size:15px}
  .qbtn__sub{font-size:11.5px}

  .record{padding-top:44px}
  .record__big{font-size:clamp(24px,7.4vw,30px)}
  .record__big strong{font-size:1.22em}
  .record__note{font-size:14.5px}
  .promise-grid{grid-template-columns:1fr; gap:10px}
  .promise{padding:15px 16px; font-size:14.5px}

  .compare{padding:48px 0}
  .domain{grid-template-columns:1fr}
  .domain__fig{aspect-ratio:16/9; height:auto; order:-1}
  .domain__text{font-size:14.5px}
  .domain__points li{font-size:13.5px}

  .targets{padding:48px 0}
  .tabs{width:100%; justify-content:center}
  .tab{flex:1 1 0; padding:11px 10px; font-size:14px}
  .target-cols{grid-template-columns:1fr; gap:14px}
  .target-col{padding:18px}
  .target-col__title{font-size:16.5px}
  .bullet-list li{font-size:14.5px}
  .target-note{font-size:13.5px}

  .cases,.reviews,.process,.service,.fees,.location{padding:48px 0}
  .case-grid,.review-grid,.service-grid{grid-template-columns:1fr; gap:12px}
  .fee-grid{grid-template-columns:1fr; gap:22px}
  .case{padding:18px 18px 16px}
  .cases-carousel .case-grid{gap:12px; padding:26px calc(50% - clamp(125px,36vw,210px)) 38px}
  .cases-arrow{width:38px; height:38px; margin-top:-19px; font-size:20px}
  .cases-arrow--prev{left:2px}
  .cases-arrow--next{right:2px}
  .review__text{font-size:13.5px; line-height:1.8}

  .flow{column-gap:20px; row-gap:34px}
  .flow__item{
    flex-direction:column; justify-content:center; gap:5px;
    min-height:86px; padding:11px 8px; text-align:center; border-radius:14px;
  }
  .flow__no{font-size:10.5px; letter-spacing:.1em}
  .flow__name{font-size:13px; line-height:1.3}
  .process__note{font-size:12.5px}

  .service-cta{grid-template-columns:1fr; text-align:center}
  .service-cta__img{height:190px; object-position:50% 22%}
  .service-cta__body .btn{width:100%}

  .fee{padding:15px 15px}
  .fee-notes{font-size:12.5px}

  .consult{padding:48px 0 64px}
  .consult__card{padding:20px 18px; border-radius:20px}
  .form__row{grid-template-columns:1fr}
  .form-done__btns .btn{flex:1 1 100%}

  .location__map,.location__map iframe{min-height:260px}
  .info-list div{flex-direction:column; gap:2px}
  .info-list dt{flex:none}
  .location__btns .btn{flex:1 1 100%}

  .footer{padding-bottom:96px}
  .footer__top{flex-direction:column; gap:20px}
  .footer__info .dot{display:none}
  .footer__info p:not(.footer__copy){display:grid; gap:2px}

  .callbar{display:inline-flex}
  .editor{right:12px; bottom:calc(78px + env(safe-area-inset-bottom))}
  .ebtn{padding:10px 12px; font-size:12.5px}
  .ebtn--toggle{padding:12px 14px; font-size:13.5px}
  .editor__tooltip{top:calc(var(--header-h) + 8px)}

  .modal{padding:0; align-items:end}
  .modal__panel{
    width:100%; max-height:92vh;
    border-radius:22px 22px 0 0;
  }
  .toast{bottom:calc(140px + env(safe-area-inset-bottom))}
}

@media (max-width:380px){
  .quickbar__grid{grid-template-columns:1fr}
  .qbtn{min-height:74px; flex-direction:row; justify-content:flex-start; gap:10px; text-align:left; padding:12px}
  .qbtn__sub{display:none}
}

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

/* =========================================================
   모바일 가로·태블릿(541~960px): 카드 2열 유지
   ========================================================= */
@media (min-width:521px) and (max-width:960px){
  .promise-grid,
  .case-grid,
  .review-grid,
  .service-grid,
  .fee-grid{grid-template-columns:repeat(2,1fr); gap:22px}
  .quickbar__grid{grid-template-columns:repeat(2,1fr); gap:18px}
  .qbtn{min-height:94px}
  .service-cta{grid-template-columns:1fr; text-align:center}
  .service-cta__img{height:190px}
  .service-cta__body .btn{width:100%}
}

/* 모바일 세로(540px 이하)에서만 1열 */
@media (max-width:520px){
  .promise-grid,
  .case-grid,
  .review-grid,
  .service-grid{grid-template-columns:1fr; gap:12px}
  .fee-grid{grid-template-columns:1fr; gap:18px}
  .flow{grid-template-columns:repeat(2,1fr)}
}

@media print{
  .site-header,.editor,.callbar,.toast,.quickbar,.hero__cta{display:none !important}
  body{color:#000}
}
