/* ============================================================================
   한터건축사사무소 — 스타일
   ==========================================================================*/
:root {
  --ink: #14171a;
  --ink-2: #3c434a;
  --muted: #6f767d;
  --line: #e4e2dd;
  --paper: #ffffff;
  --concrete: #f6f5f2;
  --accent: #96602c;
  --accent-dk: #7a4d21;
  --accent-sf: #f6efe6;

  --wrap: 1200px;
  --gap: clamp(16px, 2.2vw, 28px);
  --sec-y: clamp(56px, 8vw, 116px);
  --r: 4px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20,23,26,.05), 0 8px 24px rgba(20,23,26,.06);
  --shadow-lg: 0 2px 4px rgba(20,23,26,.06), 0 18px 48px rgba(20,23,26,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  font-weight: 400; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.32; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r);
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.wrap-narrow { max-width: 820px; }
.sec { padding-block: var(--sec-y); }
.sec-alt { background: var(--concrete); }
.dim { color: var(--muted); }
.small { font-size: .88rem; }
.note { margin-top: 28px; color: var(--muted); font-size: .9rem; }

.eyebrow {
  margin: 0 0 14px; font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow.light { color: rgba(255,255,255,.85); }

.sec-hd { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.sec-hd h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
.sec-lead { margin-top: 18px; color: var(--ink-2); font-size: 1.03rem; }
.sec-more { margin-top: clamp(32px, 4vw, 52px); text-align: center; }
.lead-p { font-size: clamp(1.05rem, 1.9vw, 1.24rem); color: var(--ink-2); }

/* ------------------------------------------------------------------ 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: var(--r);
  font-size: .97rem; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--accent); color: #fff; }
.btn-p:hover { background: var(--accent-dk); }
.btn-g { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-g:hover { border-color: var(--ink); }
.btn-o { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-o.light { color: #fff; }
.btn-o.light:hover { background: rgba(255,255,255,.12); }
.btn-w { background: #fff; color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-full { width: 100%; }

/* ---------------------------------------------------------------- 헤더 */
.hd {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.is-home .hd {
  position: fixed; inset-inline: 0; background: transparent; border-color: transparent;
}
.is-home .hd:not(.solid) { color: #fff; }
.is-home .hd.solid {
  background: rgba(255,255,255,.94); color: var(--ink);
  border-bottom-color: var(--line);
}
.hd-in { display: flex; align-items: center; gap: 24px; height: 76px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-tx { display: flex; flex-direction: column; line-height: 1.22; }
.logo-tx b { font-size: 1.06rem; font-weight: 800; letter-spacing: -.035em; }
.logo-tx i { font-style: normal; font-size: .7rem; opacity: .62; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-l { display: flex; align-items: center; gap: 2px; }
.nav-l > li > a {
  display: block; padding: 10px 13px; font-size: .95rem; font-weight: 600;
  border-radius: var(--r); transition: opacity .18s;
}
.nav-l > li > a:hover { opacity: .62; }
.nav-l a[aria-current] { color: var(--accent); }
.is-home .hd:not(.solid) .nav-l a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.caret {
  display: inline-block; width: 5px; height: 5px; margin-left: 6px; vertical-align: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .5;
}

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub-grid {
  display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 2px;
  background: var(--paper); color: var(--ink); padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.sub-grid.sub-2 { grid-template-columns: minmax(210px, 1fr); }
.sub-grid a { display: block; padding: 10px 13px; border-radius: var(--r); transition: background .16s; }
.sub-grid a:hover { background: var(--concrete); }
.mi-t { display: block; font-size: .93rem; font-weight: 600; }
.mi-d { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.tel-lg { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.tel-lg span { font-size: .68rem; letter-spacing: .1em; opacity: .6; }
.tel-lg b { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- 히어로 */
.hero { position: relative; min-height: min(94svh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
/* 포스터를 항상 배경으로 깔아둔다 — 영상 로딩 전, 자동재생 차단, 동작 줄이기 모드에서도 화면이 비지 않는다 */
.hero-bg { will-change: transform;
  position: absolute; inset: 0;
  background: var(--ink) center / cover no-repeat url('/assets/img/hero-poster.jpg');
}
.hero-vid { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,14,.62) 0%, rgba(10,12,14,.18) 34%, rgba(10,12,14,.72) 82%, rgba(10,12,14,.9) 100%),
    linear-gradient(95deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,0) 62%);
}
.hero-in { position: relative; z-index: 2; padding-block: clamp(120px, 15vh, 190px) clamp(48px, 7vh, 84px); }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -.045em;
  line-height: 1.18; text-wrap: balance;
}
.hero h1 em { color: #f0b877; }
.hero-lead { margin-top: 26px; max-width: 620px; font-size: clamp(1rem, 1.7vw, 1.14rem); color: rgba(255,255,255,.88); }
.hero-lead strong { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero-tags a {
  display: block; padding: 7px 15px; font-size: .84rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.28); border-radius: 100px;
  color: rgba(255,255,255,.9); transition: background .18s, border-color .18s;
}
.hero-tags a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }

/* ------------------------------------------------------- 페이지 헤더/경로 */
.crumb { border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 15px; }
.crumb li + li::before { content: '›'; margin-right: 8px; opacity: .5; }
.crumb a:hover { color: var(--ink); }

.phero { padding-block: clamp(52px, 8vw, 104px) clamp(36px, 5vw, 64px); }
.phero h1 { font-size: clamp(1.95rem, 5vw, 3.35rem); font-weight: 800; letter-spacing: -.042em; text-wrap: balance; }
.phero-lead { margin-top: 24px; max-width: 720px; font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--ink-2); }

/* ------------------------------------------------------------------ 이력 */
.sec-creds { padding-block: clamp(40px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.creds li { background: var(--paper); padding: 26px 24px; }
.creds b { display: block; font-size: 1.85rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; line-height: 1.1; }
.creds strong { display: block; margin-top: 8px; font-size: .96rem; font-weight: 700; }
.creds span { display: block; margin-top: 8px; font-size: .87rem; color: var(--muted); line-height: 1.65; }

/* ------------------------------------------------------------- 고민 그리드 */
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--gap); }
.prob-grid li { padding: 30px 28px; background: var(--concrete); border-radius: var(--r); border-left: 3px solid var(--accent); }
.prob-grid b { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.prob-grid p { margin-top: 14px; font-size: .93rem; color: var(--ink-2); line-height: 1.72; }

/* ------------------------------------------------------------------ 이유 */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.why article { background: var(--paper); padding: clamp(28px, 3.4vw, 44px); }
.why-n { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.why h3 { margin-top: 14px; font-size: 1.22rem; }
.why p { margin-top: 15px; color: var(--ink-2); font-size: .96rem; }

/* -------------------------------------------------------------- 업무분야 */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: var(--gap); }
.svc-card a {
  display: flex; flex-direction: column; height: 100%; padding: 30px 28px 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-card a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card .ic { width: 30px; height: 30px; color: var(--accent); }
.svc-card h3 { margin-top: 20px; font-size: 1.1rem; }
.svc-card p { margin-top: 9px; font-size: .88rem; color: var(--muted); flex: 1; }
.more { display: inline-block; margin-top: 20px; font-size: .85rem; font-weight: 700; color: var(--accent); }
.more::after { content: ' →'; }
.svc-lg .svc-card a { padding: 36px 32px 30px; }
.svc-lg .svc-card h3 { font-size: 1.22rem; }

/* -------------------------------------------------------------- 업무 상세 */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 68px); align-items: start; }
.blk + .blk { margin-top: clamp(30px, 4vw, 48px); }
.blk h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.blk p { margin-top: 14px; color: var(--ink-2); }
.blk p + p { margin-top: 16px; }
.svc-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.side-card h3 { font-size: 1.05rem; }
.side-card p { margin-top: 12px; font-size: .91rem; color: var(--ink-2); }
.side-card .tick { margin-top: 16px; }
.side-cta { background: var(--concrete); border-color: transparent; }
.side-cta .btn { margin-top: 12px; }

/* ------------------------------------------------------------------ 체크 */
.tick { display: grid; gap: 11px; }
.tick-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 13px 30px; }
.tick li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--ink-2); line-height: 1.62; }
.tick li::before {
  content: ''; position: absolute; left: 3px; top: .52em; width: 11px; height: 6px;
  border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
.tick a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ 실적 */
.prj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: var(--gap); }
.prj figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.prj img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); background: var(--concrete); }
.prj figure:hover img { transform: scale(1.04); }
.prj figure.noimg::before { content: ''; display: block; aspect-ratio: 3 / 2; background: var(--concrete); }
.prj figcaption { padding: 22px 24px 26px; }
.prj-type { display: inline-block; padding: 4px 10px; background: var(--accent-sf); color: var(--accent-dk); font-size: .74rem; font-weight: 700; border-radius: 100px; }
.prj h3 { margin-top: 12px; font-size: 1.09rem; }
.prj-desc { margin-top: 10px; font-size: .89rem; color: var(--muted); line-height: 1.68; }

/* 현장 사진 */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-top: clamp(36px, 5vw, 56px); }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.shots figcaption { margin-top: 12px; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------------ 절차 */
.steps { counter-reset: s; display: grid; gap: 0; }
.steps li { display: flex; gap: clamp(18px, 3vw, 34px); padding: clamp(24px, 3vw, 34px) 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.st-n { flex-shrink: 0; font-size: 1.1rem; font-weight: 800; color: var(--accent); letter-spacing: .02em; padding-top: 2px; }
.steps h2, .steps h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.st-d { display: inline-block; margin-top: 12px; padding: 3px 11px; background: var(--concrete); border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--muted); }

.prep { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: var(--gap); }
.prep li { padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.prep b { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.prep h3 { margin-top: 12px; font-size: 1.1rem; }
.prep p { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ 지역 */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: var(--gap); }
.area-card a {
  display: flex; flex-direction: column; height: 100%; padding: 30px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.area-card a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.area-card.is-primary a { border-color: var(--accent); background: var(--accent-sf); }
.area-card h3 { font-size: 1.13rem; }
.area-card > a > p { margin-top: 7px; font-size: .88rem; color: var(--muted); }
.area-d { flex: 1; font-size: .82rem !important; line-height: 1.7; }

.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.hl-grid li { padding: 30px 28px; background: var(--paper); border-radius: var(--r); border-top: 3px solid var(--accent); }
.hl-grid h3 { font-size: 1.1rem; }
.hl-grid p { margin-top: 13px; font-size: .93rem; color: var(--ink-2); }

.chiplist { display: flex; flex-wrap: wrap; gap: 9px; }
.chiplist li a, .chiplist-plain li {
  display: block; padding: 9px 17px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .88rem; color: var(--ink-2); transition: border-color .18s, color .18s;
}
.chiplist li a:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; cursor: pointer;
  font-size: 1.02rem; font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; flex-shrink: 0; color: var(--accent); font-weight: 800; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 9px; height: 9px; margin-left: auto; margin-top: .45em;
  border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 0 24px 26px; }
.faq-a p { color: var(--ink-2); font-size: .95rem; }
.faq-lg summary { font-size: 1.06rem; padding: 25px 0; }

/* ------------------------------------------------------------------ 소개 */
.prof { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prof-img { margin: 0; }
/* 원형 프로필. 사진 배경의 네 모서리는 반경으로 잘려 나간다 */
.prof-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--concrete); }
.prof-img.noimg::before { content: ''; display: block; aspect-ratio: 1; background: var(--concrete); border-radius: 50%; }
.prof-img figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.prof-tx h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); margin-bottom: 26px; }
.prof-tx p { margin-top: 16px; color: var(--ink-2); }
.sign { margin-top: 30px !important; font-size: .93rem; color: var(--muted) !important; }

.cred-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(28px, 4vw, 52px); margin-top: clamp(40px, 5vw, 64px); }
.cred-col h3 { font-size: .82rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; text-transform: uppercase; }

.info-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 0 clamp(28px, 4vw, 52px); }
.info-dl > div { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.info-dl dt { flex-shrink: 0; width: 118px; color: var(--muted); }
.info-dl dd { color: var(--ink-2); word-break: break-all; }
.info-dl a:hover { color: var(--accent); }
.info-sm { grid-template-columns: 1fr; }
.info-sm dt { width: 62px; font-size: .88rem; }
.info-sm > div { padding: 11px 0; font-size: .88rem; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ------------------------------------------------------------------ 문의 */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(32px, 5vw, 68px); align-items: start; }
.contact-form h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-side { display: grid; gap: 18px; }
#inquiry { margin-top: 28px; display: grid; gap: 18px; }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-row { display: grid; gap: 7px; }
.f-row label { font-size: .89rem; font-weight: 600; }
.f-row label span { color: var(--accent); }
.f-row small { font-size: .8rem; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .95rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .18s, box-shadow .18s;
}
textarea { resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-sf);
}
input:user-invalid, textarea:user-invalid { border-color: #c0392b; }
.f-check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.f-check input { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); }
.f-check a { text-decoration: underline; text-underline-offset: 2px; }
.f-msg:empty { display: none; }
.f-msg { padding: 13px 16px; border-radius: var(--r); font-size: .9rem; background: var(--concrete); }
.f-msg.ok { background: var(--accent-sf); color: var(--accent-dk); font-weight: 600; }
.f-msg.err { background: #fdecea; color: #a5281b; }

/* ------------------------------------------------------------------- CTA */
.cta-band { background: var(--ink); color: #fff; padding-block: clamp(46px, 6vw, 78px); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-tx h2 { font-size: clamp(1.4rem, 2.9vw, 2.05rem); }
.cta-tx p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: .98rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-o { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-o:hover { background: rgba(255,255,255,.12); }

/* ----------------------------------------------------------------- 푸터 */
.ft { background: var(--concrete); border-top: 1px solid var(--line); font-size: .89rem; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px); padding-block: clamp(46px, 6vw, 76px) clamp(34px, 4vw, 52px); }
.logo-ft { margin-bottom: 18px; }
.ft-desc { color: var(--muted); line-height: 1.8; }
.ft-sns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sns { padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; background: var(--paper); transition: border-color .18s; }
.sns:hover { border-color: var(--accent); color: var(--accent); }
.ft-col h3 { font-size: .78rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.ft-col ul { display: grid; gap: 10px; }
.ft-col a:hover { color: var(--accent); }
.ft-tel { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.ft-nap { display: grid; gap: 9px; color: var(--muted); }
.ft-nap span { display: inline-block; width: 56px; opacity: .7; }
.ft-btm { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid var(--line); }
.ft-legal { font-size: .8rem; color: var(--muted); line-height: 1.85; }
.ft-copy { font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------- 모바일 하단바 */
.mbar { display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 90; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 4px 10px; color: #fff; font-size: .7rem; font-weight: 600; }
.mbar a + a { border-left: 1px solid rgba(255,255,255,.14); }
.mbar svg { width: 20px; height: 20px; }

.legal h2 { font-size: 1.15rem; margin-top: 34px; }
.legal p { margin-top: 12px; color: var(--ink-2); font-size: .95rem; }
.sec-404 { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.sec-404 h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.sec-404 .lead-p { margin-top: 18px; }
.sec-404 .hero-btns { justify-content: center; margin-bottom: 56px; }

/* ------------------------------------------------------- 스크롤 애니메이션 */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.25,1), transform .8s cubic-bezier(.2,.7,.25,1); }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(n+4) { transition-delay: .21s; }

/* ------------------------------------------------------------------ 반응형 */
@media (max-width: 1080px) {
  .svc-detail, .contact-wrap { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .prof { grid-template-columns: 1fr; }
  .prof-img { max-width: 330px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0; display: block; margin: 0; padding: 22px clamp(18px, 4vw, 40px) 120px;
    background: var(--paper); color: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .24s, transform .24s, visibility .24s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-l { display: block; }
  .nav-l > li { border-bottom: 1px solid var(--line); }
  .nav-l > li > a { padding: 16px 2px; font-size: 1.02rem; }
  .caret { display: none; }
  .sub { position: static; translate: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 14px; }
  .sub-grid { grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0; background: transparent; }
  .sub-grid a { padding: 9px 14px; background: var(--concrete); }
  .mi-d { display: none; }
  .nav-cta { display: grid; gap: 12px; margin-top: 24px; }
  .tel-lg { text-align: left; }
  .tel-lg b { font-size: 1.5rem; }
  .mbar { display: flex; }
  body { padding-bottom: 60px; }
  .f-2 { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1; }
}
@media (max-width: 560px) {
  .creds li { padding: 20px 18px; }
  .creds b { font-size: 1.5rem; }
  .hero-btns .btn { flex: 1; }
  .info-dl dt { width: 96px; }
}

/* 히어로 영상과 스크롤 효과는 OS의 '동작 줄이기' 설정을 따르지 않는다.
   Windows '시각 효과 → 최적 성능으로 조정'만 켜도 이 플래그가 서는데,
   그러면 홈페이지의 핵심 연출이 통째로 사라진다. (앵커 이동만 즉시 이동으로 둔다)
   접근성 기본 동작으로 되돌리려면 아래 주석 블록을 살리고 main.js의 motionOK를 되돌리면 된다. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
     .reveal { opacity: 1; transform: none; }
     .hero-vid { display: none; } */
}

@media print {
  .hd, .mbar, .cta-band, .hero-bg, .burger { display: none !important; }
  body { font-size: 11pt; }
}

/* ---- 상담 폼 보강 ---- */
.f-row label em { font-style: normal; margin-left: 6px; font-size: 11px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 4px; vertical-align: 2px; }
.f-note { margin: 22px 0 -4px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
