/* NEX 엔진 공통 디자인 1.0.0-dev — 기본형 프리셋 A
   값은 빌드가 :root 변수로 넣음 (site.json design → 안전 범위 적용). 사이트 전용 손질은 custom.css */
:root {
  --primary: #1F4E79; --on-primary: #fff; --accent: #F2A900; --on-accent: #16191d;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --fs: 17px; --hs: 1; --wrap: 1180px; --space: 1; --gap: 28px; --cols: 3; --radius: 4px;
  --ink: #1b1f24; --muted: #5a6370; --line: #e2e5e9; --paper: #fff;
  --soft: color-mix(in srgb, var(--primary) 6%, #fff);
  --deep: color-mix(in srgb, var(--primary) 35%, #0d1014);
  --gut: clamp(16px, 4vw, 40px);
  --sec: calc(clamp(56px, 8vw, 104px) * var(--space));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: max(14px, var(--fs)); line-height: 1.7; color: var(--ink); background: var(--paper);
  word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.nx-skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--ink); color: #fff; padding: 8px 14px; }
.nx-skip:focus { left: 8px; }
.nx-muted { color: var(--muted); font-size: .94em; }

/* ---------- HTML1 머리 ---------- */
.nx-head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.nx-head-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nx-logo { margin-right: auto; text-decoration: none; display: flex; align-items: center; min-width: 0; }
.nx-logo-img { max-height: 42px; width: auto; }
.nx-logo-text { font-weight: 800; font-size: 1.2rem; color: var(--primary); letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16em; }
.nx-nav { display: flex; align-items: center; gap: 24px; }
.nx-top { display: flex; list-style: none; margin: 0; padding: 0; }
.nx-top > li { position: relative; }
.nx-top > li > a { display: block; padding: 24px 16px; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.nx-top > li > a:hover, .nx-top > li > a[aria-current] { color: var(--primary); border-bottom-color: var(--primary); }
.nx-sub { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 168px; list-style: none; margin: 0; padding: 8px 0;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary); box-shadow: 0 10px 24px rgba(20, 30, 45, .08); display: none; }
.nx-top > li:hover .nx-sub, .nx-top > li:focus-within .nx-sub { display: block; }
.nx-sub a { display: block; padding: 9px 20px; text-decoration: none; font-size: .93rem; color: var(--muted); white-space: nowrap; }
.nx-sub a:hover, .nx-sub a[aria-current] { color: var(--primary); background: var(--soft); }
.nx-head-tel { text-decoration: none; font-weight: 700; background: var(--primary); color: var(--on-primary); padding: 9px 16px; border-radius: var(--radius); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nx-menu-btn { display: none; font: inherit; font-weight: 700; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px; min-height: 44px; color: var(--ink); }
@media (max-width: 1040px) { .nx-top > li > a { padding: 24px 11px; } .nx-head-tel { display: none; } }
@media (max-width: 860px) {
  .nx-menu-btn { display: block; }
  .nx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--gut) 20px; max-height: calc(100vh - 72px); overflow: auto; }
  .nx-nav.is-open { display: flex; }
  .nx-top { flex-direction: column; }
  .nx-top > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nx-top > li > a[aria-current] { border-bottom-color: var(--line); }
  .nx-sub { position: static; transform: none; display: block; border: 0; box-shadow: none; padding: 4px 0 8px 12px; }
  .nx-sub a { padding: 8px 0; }
  .nx-head-tel { display: block; margin-top: 16px; text-align: center; padding: 12px; }
}

/* ---------- 버튼 ---------- */
.nx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); }
.nx-btn:hover { filter: brightness(1.06); }
.nx-btn.is-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.nx-btn.is-light { background: #fff; color: var(--primary); border-color: #fff; }
.nx-btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.nx-more { font-weight: 700; color: var(--primary); text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }

/* ---------- hero / page_head ---------- */
.nx-hero { color: #fff; background-color: var(--deep); display: flex; align-items: flex-end; min-height: min(76vh, 700px);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 92%, transparent), color-mix(in srgb, var(--deep) 40%, transparent) 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 56px),
    linear-gradient(135deg, var(--primary), var(--deep)); }
.nx-hero.has-img { background-image: linear-gradient(90deg, color-mix(in srgb, var(--deep) 88%, transparent), color-mix(in srgb, var(--deep) 20%, transparent) 75%), var(--hero-img);
  background-size: cover; background-position: center; }
.nx-hero-in { width: 100%; padding-top: 96px; padding-bottom: clamp(56px, 9vw, 104px); }
.nx-hero-kicker { color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.nx-hero h1 { font-size: calc(clamp(2.2rem, 5.4vw, 4.1rem) * var(--hs)); font-weight: 800; max-width: 16ch; letter-spacing: -0.035em; line-height: 1.15; }
.nx-hero-text { max-width: 40ch; margin: 22px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.86); }
.nx-hero .nx-btns { margin-top: 36px; }
.nx-page-head { background: var(--deep); color: #fff; padding: clamp(40px, 6vw, 72px) 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px), linear-gradient(135deg, var(--primary), var(--deep)); }
.nx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.nx-crumbs a { text-decoration: none; }
.nx-page-head h1 { font-size: calc(clamp(1.8rem, 3.6vw, 2.6rem) * var(--hs)); font-weight: 800; }
.nx-page-head p { margin: 12px 0 0; color: rgba(255,255,255,.82); max-width: 50ch; }

/* ---------- 하위 페이지 왼쪽 메뉴 ---------- */
.nx-with-side { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: var(--sec); padding-bottom: var(--sec); }
.nx-main-col .nx-wrap { padding: 0; max-width: none; }
.nx-main-col .nx-sec { padding: 0 0 var(--sec); }
.nx-main-col .nx-sec:last-child { padding-bottom: 0; }
.nx-subnav p { font-weight: 800; font-size: 1.15rem; color: var(--primary); margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.nx-subnav ul { list-style: none; margin: 0; padding: 0; }
.nx-subnav a { display: block; padding: 11px 4px; text-decoration: none; color: var(--muted); border-bottom: 1px solid var(--line); }
.nx-subnav a:hover { color: var(--ink); }
.nx-subnav a[aria-current] { color: var(--primary); font-weight: 700; }
.nx-subnav.is-tabs { grid-column: 1 / -1; }
.nx-subnav.is-tabs ul { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .nx-with-side { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .nx-subnav { margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); background: var(--soft); }
  .nx-subnav p { display: none; }
  .nx-subnav ul { display: flex; overflow-x: auto; gap: 4px; }
  .nx-subnav a { border: 0; padding: 14px 12px; white-space: nowrap; min-height: 44px; }
  .nx-subnav a[aria-current] { box-shadow: inset 0 -3px 0 var(--primary); }
}

/* ---------- 공통 구역 ---------- */
.nx-sec { padding: var(--sec) 0; }
.nx-sec + .nx-sec { padding-top: 0; }
.nx-tint { background: var(--soft); }
.nx-sec.nx-tint, .nx-sec + .nx-sec.nx-tint, .nx-tint + .nx-sec { padding-top: var(--sec); }
.nx-h2 { font-size: calc(clamp(1.55rem, 2.8vw, 2.2rem) * var(--hs)); font-weight: 800; margin-bottom: 12px; }
.nx-lead { color: var(--muted); max-width: 54ch; font-size: 1.06em; margin-bottom: 36px; }
.nx-sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.nx-pending { border: 1px dashed #c5cbd3; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); display: grid; gap: 6px; }
.nx-pending strong { color: var(--ink); }
.nx-empty { color: var(--muted); padding: 40px 0; text-align: center; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.nx-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.2rem; font-weight: 800; color: color-mix(in srgb, var(--primary) 30%, #fff);
  background: var(--soft) repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--primary) 6%, transparent) 14px 15px); }

/* ---------- stats ---------- */
.nx-band { background: var(--soft); padding: clamp(32px, 5vw, 52px) 0; }
.nx-band + .nx-sec { padding-top: var(--sec); }
.nx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; }
.nx-stat { padding: 6px 24px; border-left: 2px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.nx-stat dt { color: var(--muted); font-size: .92em; }
.nx-stat dd { margin: 4px 0 0; color: var(--primary); font-weight: 800; font-variant-numeric: tabular-nums; }
.nx-stat dd span { font-size: clamp(1.9rem, 3.8vw, 2.6rem); letter-spacing: -0.03em; }
.nx-stat dd small { margin-left: 3px; font-size: 1em; }
@media (max-width: 560px) { .nx-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; } .nx-stat { padding: 4px 14px; } }

/* ---------- cards ---------- */
.nx-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 860px) { .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nx-grid { grid-template-columns: 1fr; } }
.nx-card { border-top: 3px solid var(--primary); padding-top: 18px; }
.nx-card-pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--soft); margin-bottom: 16px; }
.nx-card-pic img { width: 100%; height: 100%; object-fit: cover; }
.nx-card h3 { font-size: 1.18em; margin-bottom: 6px; }
.nx-card p { color: var(--muted); margin: 0 0 12px; }

/* ---------- works (preview / gallery) ---------- */
.nx-works { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
@media (max-width: 860px) { .nx-works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nx-works { grid-template-columns: 1fr; } }
.nx-work { margin: 0; }
.nx-work img, .nx-work .nx-ph { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: var(--radius); font-size: 1rem; }
.nx-work figcaption { padding-top: 12px; }
.nx-work strong { display: block; }
.nx-work span { color: var(--muted); font-size: .9em; }

/* ---------- process ---------- */
.nx-steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 0; }
.nx-steps li { counter-increment: st; position: relative; padding-right: 20px; }
.nx-steps li::before { content: counter(st); position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary); font-weight: 800; margin-bottom: 16px; }
.nx-steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: color-mix(in srgb, var(--primary) 25%, transparent); }
.nx-steps li:last-child::after { display: none; }
.nx-steps h3 { font-size: 1.05em; margin-bottom: 4px; }
.nx-steps p { color: var(--muted); font-size: .93em; margin: 0; }
@media (max-width: 760px) {
  .nx-steps { grid-template-columns: 1fr; gap: 0; }
  .nx-steps li { padding: 0 0 26px 62px; min-height: 70px; }
  .nx-steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .nx-steps li::after { top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; }
  .nx-steps h3 { padding-top: 9px; }
}

/* ---------- cta ---------- */
.nx-cta { background: var(--primary); color: var(--on-primary); padding: calc(clamp(44px, 6vw, 76px) * var(--space)) 0; }
.nx-cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.nx-cta h2 { font-size: calc(clamp(1.45rem, 2.8vw, 2rem) * var(--hs)); font-weight: 800; }
.nx-cta p { margin: 8px 0 0; opacity: .86; }
.nx-cta .nx-btn.is-ghost { color: var(--on-primary); border-color: currentColor; }

/* ---------- 글 · 인사말 · 연혁 · 표 ---------- */
.nx-prose { max-width: 70ch; }
.nx-greeting { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
.nx-greeting-pic { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.nx-greeting-pic img { width: 100%; height: 100%; object-fit: cover; }
.nx-quote { font-size: calc(clamp(1.35rem, 2.4vw, 1.75rem) * var(--hs)); font-weight: 800; color: var(--primary); margin-bottom: 22px; line-height: 1.4; }
.nx-sign { font-weight: 700; margin-top: 28px; }
@media (max-width: 760px) { .nx-greeting { grid-template-columns: 1fr; gap: 24px; } .nx-greeting-pic { max-width: 240px; } }
.nx-years { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--line); }
.nx-years > li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 0 0 26px 26px; position: relative; }
.nx-years > li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.nx-year { font-weight: 800; color: var(--primary); font-size: 1.12em; font-variant-numeric: tabular-nums; }
.nx-years ul { list-style: none; margin: 0; padding: 0; }
.nx-years ul li { padding: 2px 0; }
@media (max-width: 560px) { .nx-years > li { grid-template-columns: 1fr; gap: 2px; } }
.nx-table { margin: 0; border-top: 2px solid var(--ink); }
.nx-table div { display: grid; grid-template-columns: 9em minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.nx-table dt { background: var(--soft); padding: 13px 16px; font-weight: 700; }
.nx-table dd { margin: 0; padding: 13px 16px; }
.nx-map { position: relative; aspect-ratio: 16 / 7; min-height: 220px; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  background: var(--soft) repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--primary) 8%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--primary) 8%, transparent) 39px 40px); color: var(--muted); }
.nx-map img { width: 100%; height: 100%; object-fit: cover; }
.nx-map .nx-btn { position: absolute; right: 16px; bottom: 16px; }

/* ---------- FAQ ---------- */
.nx-faqs { max-width: 860px; }
.nx-faq { border-bottom: 1px solid var(--line); }
.nx-faq:first-of-type { border-top: 2px solid var(--ink); }
.nx-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; position: relative; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--primary); font-weight: 400; }
.nx-faq[open] summary::after { content: "−"; }
.nx-faq > div { padding: 0 0 20px; color: var(--muted); }

/* ---------- 상담 ---------- */
.nx-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; }
.nx-contact-tel { margin: 0 0 6px; }
.nx-contact-tel a { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--primary); text-decoration: none; font-variant-numeric: tabular-nums; }
.nx-form { display: grid; gap: 16px; }
.nx-form label { display: grid; gap: 6px; font-weight: 600; font-size: .94em; }
.nx-form input, .nx-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; min-height: 48px; border: 1px solid #c4cad2; border-radius: var(--radius); }
.nx-form input:focus, .nx-form textarea:focus { border-color: var(--primary); outline: 2px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.nx-form .nx-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.nx-form .nx-agree input { min-height: 0; margin-top: 6px; }
.nx-form .nx-btn { justify-self: start; }
@media (max-width: 760px) { .nx-contact { grid-template-columns: 1fr; gap: 28px; } }
.nx-note { background: #fff7e0; border-left: 4px solid var(--accent); padding: 12px 16px; font-size: .92em; }

/* ---------- HTML3 꼬리 ---------- */
.nx-foot { background: var(--deep); color: rgba(255,255,255,.72); padding: 52px 0 24px; font-size: .9rem; }
.ft-light .nx-foot { background: var(--soft); color: var(--muted); }
.nx-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.nx-foot-name { color: #fff; font-weight: 800; font-size: 1.08rem; margin-bottom: 12px; }
.ft-light .nx-foot-name { color: var(--ink); }
.nx-foot-info { margin: 0; display: grid; gap: 3px; }
.nx-foot-info div { display: flex; gap: 12px; }
.nx-foot-info dt { min-width: 7.5em; opacity: .65; }
.nx-foot-info dd { margin: 0; }
.nx-foot-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: flex-start; }
.nx-foot-menu a { text-decoration: none; }
.nx-foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; }
.nx-foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid rgba(255,255,255,.14); }
.ft-light .nx-foot-bottom::before { border-top-color: var(--line); }
.nx-foot-bottom p { margin: 0; }
.nx-foot-legal { display: flex; gap: 18px; }
.nx-foot-legal a { text-decoration: none; }
.nx-foot-legal strong { color: #fff; }
.ft-light .nx-foot-legal strong { color: var(--ink); }
.nx-callbar { display: none; }
@media (max-width: 860px) {
  .has-callbar .nx-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: 54px; }
  .nx-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary); font-weight: 800; text-decoration: none; }
  .nx-callbar a.is-kakao { background: #FEE500; color: #191919; }
  .has-callbar { padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .nx-head, .nx-cta, .nx-subnav, .nx-callbar { display: none; } }

/* ---------- 추가 모듈: 배지 · 칩 · 특징 · 사진+설명 · 사양표 ---------- */
.nx-hero-badges { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nx-hero-badges li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); font-weight: 600; font-size: .95em; }
.nx-hero-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nx-tag { display: inline-block; font-size: .78em; font-weight: 700; color: var(--primary); background: var(--soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.nx-chips { list-style: none; margin: 6px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-chips li { font-size: .82em; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.nx-kicker { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.nx-feats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--gap); }
.nx-feat { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nx-feat-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--soft); color: var(--primary); margin-bottom: 16px; }
.nx-feat h3 { font-size: 1.08em; margin-bottom: 6px; }
.nx-feat p { color: var(--muted); font-size: .93em; margin: 0; }
.nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.nx-split.is-rev .nx-split-pic { order: 2; }
.nx-split-pic img, .nx-split-pic .nx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.nx-split-pic .nx-muted { margin: 8px 0 0; text-align: center; }
.nx-checks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.nx-checks li { padding-left: 28px; position: relative; }
.nx-checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.nx-btn.is-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
@media (max-width: 860px) { .nx-split { grid-template-columns: 1fr; gap: 24px; } .nx-split.is-rev .nx-split-pic { order: 0; } }
.nx-table-scroll { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.nx-spec { width: 100%; border-collapse: collapse; font-size: .93em; min-width: 560px; font-variant-numeric: tabular-nums; }
.nx-spec thead th { background: var(--primary); color: var(--on-primary); font-weight: 700; padding: 12px 14px; text-align: center; white-space: nowrap; }
.nx-spec tbody th { background: var(--soft); font-weight: 700; text-align: left; padding: 11px 14px; white-space: nowrap; }
.nx-spec td { padding: 11px 14px; text-align: center; border-top: 1px solid var(--line); }
.nx-spec tbody th { border-top: 1px solid var(--line); }
.nx-spec-note { margin-top: 10px; }

/* ---------- 프리셋 C 강조형 (영업·시공): 밝은 바탕 · 둥근 버튼 · 부드러운 카드 ---------- */
.pr-C { --soft: color-mix(in srgb, var(--primary) 5%, #f7f9fc); }
.pr-C .nx-btn { border-radius: 999px; padding: 0 28px; }
.pr-C .nx-head-tel { border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.pr-C .nx-hero { min-height: min(82vh, 760px); }
.pr-C .nx-hero.has-img { background-image: linear-gradient(90deg, rgba(5, 16, 36, .9) 0%, rgba(5, 16, 36, .78) 40%, rgba(5, 16, 36, .3) 72%, rgba(5, 16, 36, .1) 100%), linear-gradient(0deg, rgba(5, 16, 36, .45), transparent 40%), var(--hero-img); }
.pr-C .nx-hero-kicker { color: #9cccff; }
.pr-C .nx-hero h1 { max-width: 18ch; }
.pr-C .nx-card { border-top: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(15, 40, 80, .06); }
.pr-C .nx-card-pic { border-radius: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); }
.pr-C .nx-card-pic img { object-fit: contain; padding: 14px; }
.pr-C .nx-card-body { padding: 18px 20px 22px; }
.pr-C .nx-feat { box-shadow: 0 6px 20px rgba(15, 40, 80, .05); }
.pr-C .nx-stats { background: #fff; border-radius: var(--radius); padding: 22px 0; box-shadow: 0 6px 20px rgba(15, 40, 80, .06); }
.pr-C .nx-band { background: var(--soft); }
.pr-C .nx-page-head { background-image: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--accent) 70%, var(--primary))); }
.pr-C .nx-cta { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--accent) 60%, var(--primary))); }
.pr-C .nx-work img { border-radius: var(--radius); }

/* 왼쪽 메뉴가 있는 본문 칸 안의 색 띠 구역은 둥근 상자로 */
.nx-main-col .nx-sec.nx-tint { padding: 40px clamp(20px, 3vw, 36px); border-radius: var(--radius); margin-bottom: var(--sec); }
.nx-main-col .nx-sec.nx-tint:last-child { margin-bottom: 0; }

/* VIS-01: HTML 직접 블록 (붙여넣은 HTML 의 그림이 화면 밖으로 넘치지 않게) */
.nx-html { display: block; }
.nx-html img { max-width: 100%; height: auto; }

/* VIS-02: 블록 바탕색 (편집기에서 바탕색을 고른 블록만 감쌈). 어두운 바탕은 글자색 자동 흰색 */
.nx-blk-bg { background: var(--blk-bg); }
.nx-blk-bg > .nx-sec, .nx-blk-bg > .nx-tint, .nx-blk-bg > .nx-cta, .nx-blk-bg > .nx-hero:not(.has-img), .nx-blk-bg > .nx-page-head, .nx-blk-bg > div > .nx-sec { background: transparent; }
.nx-blk-bg > .nx-sec { padding-top: var(--sec); }
.nx-blk-bg.is-dark { --ink: #fff; --muted: rgba(255, 255, 255, .8); --line: rgba(255, 255, 255, .24); color: #fff; }
.nx-blk-bg > .nx-band { background: transparent; }
.nx-blk-bg.is-dark .nx-feat, .nx-blk-bg.is-dark .nx-note, .pr-C .nx-blk-bg.is-dark .nx-card, .pr-C .nx-blk-bg.is-dark .nx-stats { --ink: #1b1f24; --muted: #5a6370; --line: #e2e5e9; color: var(--ink); }
.nx-blk-bg.is-dark .nx-spec tbody th, .nx-blk-bg.is-dark .nx-spec td { color: #1b1f24; }
.nx-blk-bg.is-dark .nx-spec td { background: #fff; }

/* ---------- VIS-03 블록 크기 (정한 블록만 .nx-blk 로 감쌈) ---------- */
.nx-blk.has-pt > * { padding-top: var(--blk-pt) !important; }
.nx-blk.has-pb > * { padding-bottom: var(--blk-pb) !important; }
.nx-blk.w-narrow .nx-wrap, .nx-blk.w-narrow > .nx-html { max-width: 760px; margin-left: auto; margin-right: auto; }
.nx-blk.w-mid .nx-wrap, .nx-blk.w-mid > .nx-html { max-width: 980px; margin-left: auto; margin-right: auto; }
.nx-blk.w-wide .nx-wrap { max-width: 1400px; }
.nx-blk.w-full .nx-wrap { max-width: none; }
.nx-blk:not(.nx-blk-bg):has(> .nx-sec:not(.nx-tint)) + .nx-sec:not(.nx-tint),
.nx-sec:not(.nx-tint) + .nx-blk:not(.nx-blk-bg):not(.has-pt) > .nx-sec:not(.nx-tint),
.nx-blk:not(.nx-blk-bg):has(> .nx-sec:not(.nx-tint)) + .nx-blk:not(.nx-blk-bg):not(.has-pt) > .nx-sec:not(.nx-tint) { padding-top: 0; }
/* ---------- VIS-03 머리 높이 (design.head_h 를 정한 사이트만) ---------- */
.has-headh .nx-head-in { min-height: var(--head-h); }
.has-headh .nx-top > li > a { padding-top: calc((var(--head-h) - 30px) / 2); padding-bottom: calc((var(--head-h) - 30px) / 2); }
.has-headh .nx-logo-img { max-height: calc(var(--head-h) - 22px); }
@media (max-width: 860px) { .has-headh .nx-top > li > a { padding: 14px 0; } }

/* ---------- VIS-04 2차 사진·영상 (인터넷 주소·영상 재생기·배경 동영상·비율·맞춤·초점·빈 자리 표시) ---------- */
.nx-card-pic video, .nx-greeting-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-work video, .nx-split-pic video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.nx-split-pic video { aspect-ratio: 4 / 3; }
.nx-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.nx-card-pic .nx-embed, .nx-greeting-pic .nx-embed { height: 100%; aspect-ratio: auto; border-radius: 0; }
.nx-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nx-hero.has-pos { background-position: var(--hero-pos); }
.nx-hero.has-video { position: relative; overflow: hidden; isolation: isolate; }
.nx-hero.has-video::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 88%, transparent), color-mix(in srgb, var(--deep) 20%, transparent) 75%); }
.pr-C .nx-hero.has-video::before { background: linear-gradient(90deg, rgba(5, 16, 36, .9) 0%, rgba(5, 16, 36, .78) 40%, rgba(5, 16, 36, .3) 72%, rgba(5, 16, 36, .1) 100%), linear-gradient(0deg, rgba(5, 16, 36, .45), transparent 40%); }
.nx-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.nx-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-hero-media iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); transform: translate(-50%, -50%); border: 0; }
.nx-hero.has-video .nx-hero-in { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .nx-hero-media { display: none; } }
.nx-blk.r-16x9 :is(.nx-card-pic, .nx-greeting-pic) { aspect-ratio: 16 / 9; }
.nx-blk.r-3x2 :is(.nx-card-pic, .nx-greeting-pic) { aspect-ratio: 3 / 2; }
.nx-blk.r-4x3 :is(.nx-card-pic, .nx-greeting-pic) { aspect-ratio: 4 / 3; }
.nx-blk.r-1x1 :is(.nx-card-pic, .nx-greeting-pic) { aspect-ratio: 1 / 1; }
.nx-blk.r-3x4 :is(.nx-card-pic, .nx-greeting-pic) { aspect-ratio: 3 / 4; }
.nx-blk.r-16x9 :is(.nx-work, .nx-split-pic) :is(img, video, .nx-ph, .nx-embed) { aspect-ratio: 16 / 9; }
.nx-blk.r-3x2 :is(.nx-work, .nx-split-pic) :is(img, video, .nx-ph, .nx-embed) { aspect-ratio: 3 / 2; }
.nx-blk.r-4x3 :is(.nx-work, .nx-split-pic) :is(img, video, .nx-ph, .nx-embed) { aspect-ratio: 4 / 3; }
.nx-blk.r-1x1 :is(.nx-work, .nx-split-pic) :is(img, video, .nx-ph, .nx-embed) { aspect-ratio: 1 / 1; }
.nx-blk.r-3x4 :is(.nx-work, .nx-split-pic) :is(img, video, .nx-ph, .nx-embed) { aspect-ratio: 3 / 4; }
.nx-blk.fit-contain :is(.nx-card-pic, .nx-greeting-pic, .nx-work, .nx-split-pic) :is(img, video) { object-fit: contain; background: var(--soft); }
.nx-blk.ph-none .nx-ph { font-size: 0; }
.nx-blk.ph-icon .nx-ph { font-size: 0; }
.nx-blk.ph-icon .nx-ph::before { content: ""; width: 44px; height: 44px; opacity: .55; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- VIS-05 기능 켜기 (켠 사이트만 이 칸을 씀) ---------- */
.nx-bar { background: var(--primary); color: var(--on-primary); font-size: .92em; }
.nx-bar[hidden] { display: none; }
.nx-bar.is-accent { background: var(--accent); color: var(--on-accent); }
.nx-bar.is-dark, .nx-bar.is-nex { background: #1d2430; color: #fff; }
.nx-bar.is-warn { background: #fff4d6; color: #5c3d00; }
.nx-bar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.nx-bar a { color: inherit; font-weight: 700; }
.nx-bar-x { margin-left: auto; background: none; border: 0; color: inherit; font-size: 1.3em; line-height: 1; cursor: pointer; opacity: .8; padding: 2px 6px; }
.nx-pop { position: fixed; inset: 0; z-index: 90; background: rgba(10, 14, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.nx-pop[hidden] { display: none; }
.nx-pop-box { background: #fff; color: var(--ink); width: min(440px, 100%); max-height: 90vh; overflow: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.nx-pop-img { width: 100%; height: auto; display: block; border-radius: 12px 12px 0 0; }
.nx-pop-body { padding: 20px 22px; }
.nx-pop-title { font-weight: 800; font-size: 1.2em; margin: 0 0 8px; }
.nx-pop-body p { margin: 0 0 8px; }
.nx-pop-body .nx-btn { margin-top: 8px; }
.nx-pop-foot { display: flex; border-top: 1px solid var(--line); }
.nx-pop-foot button { flex: 1; background: #f5f6f8; border: 0; padding: 12px; font: inherit; font-size: .9em; cursor: pointer; color: var(--ink); }
.nx-pop-foot button + button { border-left: 1px solid var(--line); font-weight: 700; }
.nx-totop { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.nx-totop[hidden] { display: none; }
.nx-fabs { position: fixed; right: 18px; bottom: 74px; z-index: 44; display: flex; flex-direction: column; gap: 10px; }
.nx-fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; font-size: .82em; box-shadow: 0 6px 16px rgba(0,0,0,.22); background: var(--primary); color: var(--on-primary); }
.nx-fab.is-kakao { background: #FEE500; color: #191919; }
.nx-fab.is-naver { background: #03C75A; color: #fff; }
@media (max-width: 860px) { .has-callbar .nx-fabs:not(.is-mobile) { display: none; } .has-callbar .nx-totop { bottom: 70px; } }
.nx-band { padding: 36px 0; background: #fff; border-top: 1px solid var(--line); }
.nx-band-title { text-align: center; font-weight: 700; color: var(--muted); margin: 0 0 18px; }
.nx-band ul { list-style: none; margin: 0; padding: 0; }
.nx-band li { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.nx-band img { max-height: 48px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.nx-band li span { font-weight: 700; color: var(--muted); }
.nx-band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px 24px; }
.nx-band.is-gray img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.nx-band.is-gray a:hover img, .nx-band.is-gray a:focus img { filter: none; opacity: 1; }
.nx-band-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nx-band-track { display: flex; gap: 48px; width: max-content; animation: nx-flow 40s linear infinite; }
.nx-band-view:hover .nx-band-track { animation-play-state: paused; }
@keyframes nx-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nx-band-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .nx-band-track li[aria-hidden] { display: none; } }
.nx-foot-note { padding-bottom: 14px; }
.nx-powered { margin: 0; font-size: .75em; opacity: .6; text-align: right; }
.nx-maint { min-height: 50vh; display: flex; align-items: center; text-align: center; }
.nx-maint .nx-wrap { width: 100%; }
.nx-maint-until { font-weight: 700; }
@media print { .nx-bar, .nx-pop, .nx-totop, .nx-fabs { display: none; } }
