/* 인천태창콤프레샤 — 공통 스타일 */
:root {
  --brand: #0b5aa2;
  --brand-dark: #0b3b66;
  --brand-ink: #082a4a;
  --brand-soft: #e8f1fa;
  --ink: #15191e;
  --text: #2b3138;
  --mute: #5d6670;
  --line: #e0e5ea;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --naver: #03c75a;
  --radius: 14px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand-dark); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; color: var(--brand); }
.logo b { font-weight: 600; color: var(--mute); margin-right: 1px; }
.head-tel { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #fff; background: var(--brand); border-radius: 999px; padding: 0 16px; min-height: 40px; font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li { flex: none; }
.nav a { display: block; padding: 12px 12px; white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

/* hero */
.hero { background: var(--brand-dark); color: #dfe9f4; padding: 44px 0 48px; }
.hero h1 { color: #fff; font-size: clamp(28px, 5.4vw, 46px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; text-wrap: balance; }
.hero .lead { font-size: 17px; max-width: 40em; color: #d6e3f0; }
.hero.sub { padding: 36px 0 40px; }
.hero.sub h1 { font-size: clamp(26px, 4.4vw, 38px); }
.kicker { font-size: 14px; font-weight: 700; color: #9fc6ec; margin-bottom: 10px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #123f69; }
.hero-fig figcaption { font-size: 13px; color: #9fbcd8; margin-top: 8px; }
.hero-note { font-size: 14px; color: #a9c3dc; margin-top: 14px; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-call { background: var(--brand); color: #fff; }
.btn-naver { background: var(--naver); color: #fff; }
.btn-line { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); }
.small-btns .btn { min-height: 46px; font-size: 15px; padding: 0 16px; }

/* sections */
.band { padding: 52px 0; }
.band.alt { background: var(--bg-alt); }
.band h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; margin-bottom: 10px; }
.sec-lead { color: var(--mute); margin-bottom: 24px; max-width: 46em; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; color: var(--brand); font-size: 15px; }
.small { font-size: 14.5px; color: var(--mute); margin-top: 14px; }
.brands { margin-top: 22px; padding: 14px 16px; background: var(--brand-soft); border-radius: 10px; color: var(--brand-ink); }
.brands b { margin-right: 8px; }

/* service cards */
.svc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.svc:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(11, 59, 102, .08); }
.svc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.svc-ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: 20px; font-weight: 800; }
.svc p { font-size: 15px; color: var(--mute); flex: 1; }
.svc .more { margin-top: 4px; }

/* case cards */
.case-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 130px; }
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.case-imgs.one { grid-template-columns: 1fr; }
.case-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe5eb; }
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--mute); }
.case-meta time { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.case-title { font-size: 18px; font-weight: 800; }
.case-body > p { font-size: 15.5px; }
.note { background: var(--bg-alt); border-left: 3px solid var(--brand); padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: 14.5px; }
.note b { color: var(--brand-dark); margin-right: 4px; }
.case-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.ext { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 700; color: var(--brand); text-decoration: none; min-height: 40px; }
.ext svg { width: 15px; height: 15px; }

/* used */
.used-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.used { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.used img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #eef1f4; }
.used-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.used h3 { font-size: 17px; font-weight: 800; }
.status { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #0d6b3c; background: #e3f5ea; padding: 3px 8px; border-radius: 999px; }
.spec { font-weight: 700; color: var(--brand-dark); }
.used .small { margin-top: 2px; font-size: 14px; }
.used .ext { margin-top: auto; }

/* lists */
.checks, .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding: 12px 14px 12px 44px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 8px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: translateY(-70%) rotate(-45deg); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 56px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; }
.memo { margin: 16px 0 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; }
.memo p { font-size: 16.5px; color: var(--ink); }
.memo cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; }
.memo cite a { color: var(--mute); }

/* blog log */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 92px 120px minmax(0, 1fr); gap: 4px 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.log time { font-variant-numeric: tabular-nums; color: var(--mute); white-space: nowrap; }
.lg-cat { font-size: 13.5px; font-weight: 700; color: var(--brand-dark); }
.lg-title a { margin-left: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* info */
.info { margin: 0 0 8px; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--mute); font-weight: 600; }
.info dd { margin: 0; font-weight: 700; color: var(--ink); }

/* contact band */
.contact { background: var(--brand-ink); color: #cfdceb; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; gap: 24px; align-items: center; }
.addr-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 20px; }
.addr-label { font-size: 14px; color: #9fbcd8; }
.addr { font-size: 19px; font-weight: 700; color: #fff; margin-top: 4px; }
.addr-card .btns { margin-top: 14px; }

/* 3D link */
.model-row { display: grid; gap: 18px; align-items: center; background: var(--brand-soft); border-radius: var(--radius); padding: 24px; }
.model-art { width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--brand); display: grid; place-items: center; }
.model-art svg { width: 40px; height: 40px; }
.model-row h2 { margin-bottom: 6px; }
.model-row p { color: var(--text); }
.model-row .btn { justify-self: start; }

/* footer */
.site-foot { background: #0b1520; color: #aab6c3; padding: 36px 0 28px; font-size: 15px; }
.site-foot a { color: #e2e9f0; }
.foot-grid { display: grid; gap: 20px; }
.foot-name { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { text-decoration: none; }
.foot-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid #1f2c3a; font-size: 13.5px; display: grid; gap: 4px; }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .head-tel span { display: none; }
  .head-tel { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .head-tel svg { width: 20px; height: 20px; }
  .callbar { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .callbar svg { width: 19px; height: 19px; }
  .cb-call { background: var(--brand); }
  .cb-blog { background: var(--naver); }
  .hero .btns .btn { flex: 1 1 100%; }
  .log li { grid-template-columns: 96px minmax(0, 1fr); }
  .used-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .used-body { padding: 10px 12px 12px; }
  .used h3 { font-size: 15.5px; }
  .used .small { font-size: 13px; }
  .status { font-size: 12px; }
  .log .lg-title { grid-column: 1 / -1; }
  .info div { grid-template-columns: 84px minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 44px; }
  .hero.sub:not(.has-fig) .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .model-row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 28px 32px; }
  .model-row .btn { justify-self: end; }
  .foot-grid { grid-template-columns: 1fr auto; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
