/* ==========================================================================
   앤드스퀘어 홈페이지 공통 스타일 (2026 개편)
   토큰 → 기본 → 레이아웃 → 컴포넌트 → 페이지별 → 반응형
   ========================================================================== */

:root {
  --navy: #0d1e3d;
  --navy-deep: #081429;
  --ink: #14213d;
  --ink-2: #4b5567;
  --ink-3: #7b8494;
  --line: #e2e6ed;
  --line-strong: #c9d0db;
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --paper-3: #e9edf3;
  --blue: #1f5eff;
  --blue-deep: #1543c4;
  --sky: #3aa0ff;
  --amber: #c98a1a;

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 72px;
  --shadow-screen: 0 24px 60px -24px rgba(13, 30, 61, .45), 0 2px 6px rgba(13, 30, 61, .08);
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 18px; line-height: 1.7; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); }
h4 { font-size: 18px; letter-spacing: -0.02em; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 레이아웃 ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-gray { background: var(--paper-2); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { font-size: 20px; color: var(--ink-2); }
.section-navy .section-head .lead { color: rgba(255, 255, 255, .72); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.kicker { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 14px; display: block; }
.muted { color: var(--ink-2); }
.small { font-size: 16px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px;
  font-weight: 700; font-size: 16px; line-height: 1; border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--paper-3); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link { font-weight: 700; color: var(--blue); border-bottom: 1.5px solid transparent; }
.link:hover { border-bottom-color: currentColor; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; color: var(--navy); }
.logo svg { height: 26px; width: auto; display: block; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { padding: 10px 14px; font-weight: 500; font-size: 17px; color: var(--ink-2); border-radius: 6px; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.header-cta { margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center; border-radius: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: 64px 0 40px; font-size: 16px; }
.site-footer .logo { color: #fff; margin-bottom: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-addr { line-height: 1.8; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- 페이지 히어로(서브페이지) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; max-width: var(--wrap); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { font-size: 20px; max-width: 640px; color: rgba(255, 255, 255, .78); }
.page-hero-img { position: absolute; inset: 0; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(13, 30, 61, .55) 100%); }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 홈 히어로 ---------- */
.hero { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; min-height: calc(100vh - var(--header-h)); max-height: 820px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.04em; }
.hero h1 small { display: block; font-size: .5em; font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.hero .lead { font-size: 20px; color: rgba(255, 255, 255, .8); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-screen { position: relative; margin: 0 -40px 0 0; }
.hero-screen img { border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12); }
.hero-screen figcaption { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.hero-marks { display: flex; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); flex-wrap: wrap; }
.hero-marks div { font-size: 14px; color: rgba(255, 255, 255, .62); }
.hero-marks strong { display: block; font-size: 20px; color: #fff; letter-spacing: -0.02em; }

/* ---------- 최근 수행 ---------- */
.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recent-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.recent-card .thumb { aspect-ratio: 16 / 10; background: var(--paper-3); overflow: hidden; }
.recent-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-card .body { padding: 24px 26px 28px; }
.recent-card time { font-size: 14px; color: var(--ink-3); display: block; margin-bottom: 8px; }
.recent-card h3 { font-size: 21px; margin-bottom: 10px; }
.recent-card p { color: var(--ink-2); font-size: 17px; }

/* ---------- 사업영역 목록(홈) ---------- */
.area-list { border-top: 1px solid var(--line-strong); }
.area-row { display: grid; grid-template-columns: 320px 1fr auto; gap: 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.area-row h3 { font-size: 22px; }
.area-row p { color: var(--ink-2); max-width: 640px; }
.area-row .link { white-space: nowrap; }

/* ---------- 숫자 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat strong { display: block; font-size: clamp(40px, 4.5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--navy); }
.stat strong em { font-style: normal; font-size: .5em; margin-left: 2px; font-weight: 500; color: var(--ink-2); }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); }
.section-navy .stat strong, .section-navy .stat strong em { color: #fff; }
.section-navy .stat span { color: rgba(255, 255, 255, .7); }

/* ---------- 솔루션 ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.reverse > .feature-media { order: 2; }
.feature-media img { border-radius: 12px; box-shadow: var(--shadow-screen); border: 1px solid var(--line); }
.feature-body h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.feature-body p { color: var(--ink-2); }
.feature-body ul { margin-top: 22px; }
.feature-body li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--ink); }
.feature-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.feature + .feature { margin-top: 112px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.product-card { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: border-color .18s, transform .18s; }
.product-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 16 / 9; background: var(--paper-3); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product-card .body { padding: 20px 22px 24px; }
.product-card h3 { font-size: 20px; margin-bottom: 6px; }
.product-card p { font-size: 16px; color: var(--ink-2); }
.product-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }

/* ---------- 핵심가치 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value h3 { font-size: 22px; margin-bottom: 10px; }
.value h3 span { display: block; font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 6px; letter-spacing: 0; }
.value p { color: var(--ink-2); }

/* ---------- CTA 밴드 ---------- */
.cta { background: var(--navy); color: #fff; padding: 88px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .72); font-size: 18px; }

/* ---------- 정보 표 ---------- */
.info-table th, .info-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 180px; color: var(--ink-2); font-weight: 500; background: var(--paper-2); }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line-strong); }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16.5px; }
.data-table thead th { border-top: 1px solid var(--line-strong); background: var(--paper-2); font-weight: 700; color: var(--ink); }
.data-table .nowrap { white-space: nowrap; }

/* ---------- 비전·미션 밴드 ---------- */
.vision-band { position: relative; background: #f6f6f6 url('../img/missionBg.webp') left center / cover no-repeat; }
.vision-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 120px; padding-bottom: 120px; }
.vision-band .copy { grid-column: 2; }
.vision-band h3 { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 10px; }
.vision-band .big { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; margin-bottom: 36px; }
.vision-band ol { counter-reset: m; }
.vision-band ol li { counter-increment: m; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.vision-band ol li::before { content: counter(m, decimal-leading-zero); font-weight: 700; color: var(--ink-3); font-size: 15px; padding-top: 3px; }
.vision-band ol li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- CI ---------- */
.ci-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ci-mark { background: var(--navy); border-radius: var(--radius-lg); padding: 64px 48px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ci-mark svg { width: min(320px, 80%); height: auto; }
.ci-mark .en { color: rgba(255, 255, 255, .55); font-size: 14px; letter-spacing: .04em; }
.ci-legend { display: grid; gap: 18px; margin-top: 24px; }
.ci-legend div { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.ci-legend b { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; }
.ci-legend .sq { width: 28px; height: 28px; background: var(--sky); border-radius: 4px; margin-top: 2px; }
.ci-legend p { font-size: 16px; color: var(--ink-2); }
.ci-legend p strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---------- 전문 역량 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.cap { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
.cap + .cap { padding-left: 28px; border-left: 1px solid var(--line); }
.cap strong { display: block; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.04em; line-height: 1; color: var(--navy); margin-bottom: 14px; }
.cap strong em { font-style: normal; font-size: .5em; font-weight: 500; color: var(--ink-2); }
.cap h3 { font-size: 18px; margin-bottom: 8px; }
.cap p { font-size: 16px; color: var(--ink-2); }

/* ---------- 연혁 ---------- */
.timeline { position: relative; margin-top: 8px; }
.timeline::before { content: ''; position: absolute; left: 150px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 0; padding: 18px 0; position: relative; }
.tl-item time { font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: -0.02em; padding-right: 24px; }
.tl-item .body { padding-left: 40px; position: relative; }
.tl-item .body::before { content: ''; position: absolute; left: -6px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--navy); }
.tl-item.career time { color: var(--ink-3); font-weight: 500; }
.tl-item.career .body::before { background: #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.tl-item h3 { font-size: 18px; margin-bottom: 4px; }
.tl-item p { font-size: 16.5px; color: var(--ink-2); }
.tl-legend { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.tl-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.tl-legend .a i { background: var(--navy); }
.tl-legend .b i { border: 1px solid var(--line-strong); background: #fff; }
.tl-divider { display: grid; grid-template-columns: 150px 1fr; padding: 28px 0 10px; }
.tl-divider span { grid-column: 2; padding-left: 40px; font-size: 14px; font-weight: 700; color: var(--ink-3); }

/* ---------- 사업영역 밴드 ---------- */
.area-band { padding: 96px 0; border-top: 1px solid var(--line); }
.area-band:first-of-type { border-top: 0; }
.area-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.area-band.reverse .area-media { order: 2; }
.area-media img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-media .screen { aspect-ratio: auto; border: 1px solid var(--line); box-shadow: var(--shadow-screen); }
.area-body h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 16px; }
.area-body .lead { color: var(--ink-2); margin-bottom: 24px; }
.area-body ul { display: grid; gap: 10px; }
.area-body li { position: relative; padding-left: 18px; }
.area-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.area-body .basis { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.area-body .basis strong { color: var(--ink); }

/* ---------- 단계 흐름(방법론) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; }
.flow li::before { content: 'Phase ' counter(f); font-size: 13px; font-weight: 700; color: var(--blue); display: block; margin-bottom: 10px; }
.flow li::after { content: ''; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 19px; margin-bottom: 8px; }
.flow p { font-size: 16px; color: var(--ink-2); }

/* ---------- 수행실적 ---------- */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter button { border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.proj[hidden] { display: none; }
.proj .thumb { aspect-ratio: 16 / 10; background: var(--paper-3); overflow: hidden; }
.proj .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proj .thumb.diagram { display: grid; place-items: center; background: var(--navy); padding: 28px; }
.proj .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.proj h3 { font-size: 20px; }
.proj p { font-size: 16.5px; color: var(--ink-2); }
.proj .tags { margin-top: auto; padding-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.proj.company .tags .tag-main { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 솔루션 개요(SQX) ---------- */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff; }
.stack-card h3 { font-size: 20px; margin-bottom: 6px; }
.stack-card .sub { font-size: 14px; color: var(--blue); font-weight: 500; margin-bottom: 12px; }
.stack-card p { font-size: 16px; color: var(--ink-2); }
.stack-card ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.layer-diagram { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.layer { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.layer:first-child { border-top: 0; }
.layer .name { background: var(--navy); color: #fff; padding: 22px 24px; font-weight: 700; }
.layer .name small { display: block; font-weight: 400; color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 4px; }
.layer .items { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px; align-items: center; background: #fff; }
.layer .items span { border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 14px; font-size: 15px; font-weight: 500; background: var(--paper-2); }
.layer .items .hl { background: #fff; border-color: var(--blue); color: var(--blue-deep); }

/* ---------- 제품 페이지 ---------- */
.product-hero .wrap { padding-top: 80px; padding-bottom: 0; }
.product-hero-copy { max-width: 720px; margin-bottom: 48px; }
.product-hero-copy .kicker { color: var(--sky); }
.product-hero-copy .lead { color: rgba(255, 255, 255, .78); font-size: 19px; }
.product-hero-copy .modules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.product-hero-copy .modules span { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.product-hero-screen { margin: 0 auto -1px; max-width: 1040px; }
.product-hero-screen img { border-radius: 12px 12px 0 0; border: 1px solid rgba(255, 255, 255, .15); border-bottom: 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); }
.product-nav { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.product-nav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.product-nav a { padding: 16px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.product-nav a:hover { color: var(--ink); }
.product-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-screen); }
.gallery figcaption { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.gallery figcaption strong { color: var(--ink); display: block; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.spec > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.spec > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.spec h3 { font-size: 17px; margin-bottom: 8px; }
.spec p { font-size: 16px; color: var(--ink-2); }
.notice { border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; padding: 18px 22px; background: #fffdf7; font-size: 15px; color: var(--ink-2); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.contact-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--ink-2); font-size: 16px; }
.contact-card .big { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin: 12px 0 18px; word-break: break-all; }
.contact-card + .contact-card { margin-top: 20px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--ink-2); }
.map-frame strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 8px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; max-height: none; padding-top: 64px; padding-bottom: 64px; }
  .hero-screen { margin: 0; }
  .recent-grid, .proj-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .stat-grid, .cap-grid, .stack, .flow { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cap:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .flow li::after { display: none; }
  .area-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vision-band { background-position: 30% center; }
  .vision-band .wrap { grid-template-columns: 1fr; }
  .vision-band .copy { grid-column: 1; background: rgba(255, 255, 255, .92); padding: 32px; border-radius: var(--radius-lg); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .recent-grid, .proj-grid, .value-grid, .product-grid, .stat-grid, .cap-grid, .stack, .flow, .feature, .area-band .wrap, .ci-block, .gallery, .contact-grid, .footer-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature.reverse > .feature-media, .area-band.reverse .area-media { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .cap, .cap + .cap { padding-left: 0; border-left: 0; }
  .spec { grid-template-columns: 1fr; }
  .spec > div, .spec > div + div { padding-left: 0; border-left: 0; }
  .layer { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; padding: 14px 0 14px 32px; }
  .tl-item .body { padding-left: 0; }
  .tl-item .body::before { left: -30px; }
  .tl-divider { grid-template-columns: 1fr; padding-left: 32px; }
  .tl-divider span { grid-column: 1; padding-left: 0; }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .info-table th { width: 110px; }
  .cta { padding: 64px 0; }
  .hero-marks { gap: 20px; }
  .area-band { padding: 64px 0; }
}

/* ---------- 유틸리티 (인라인 스타일 대신, CSP style-src 'self' 유지) ---------- */
.mt-14 { margin-top: 14px; } .mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mt-36 { margin-top: 36px; }
.mb-12 { margin-bottom: 12px; } .mb-18 { margin-bottom: 18px; } .mb-32 { margin-bottom: 32px; } .mb-80 { margin-bottom: 80px; }
.h2-sm { font-size: 28px; }
.aspect-auto { aspect-ratio: auto; }
.grid-start { align-items: start; } .gap-64 { gap: 64px; }
.diagram { width: 100%; height: auto; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.diagram-dark { background: var(--navy); border: 0; }

/* ---------- CI (원본 CI 반영) ---------- */
.logo svg { height: 30px; }
.site-footer .logo svg { height: 28px; }
.ci-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ci-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px 36px; background: #fff; }
.ci-card figcaption { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.ci-card svg { width: min(330px, 100%); height: auto; display: block; margin: 0 auto; }
.ci-legend-list { max-width: 760px; margin: 36px auto 0; display: grid; gap: 10px; }
.ci-legend-list li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 18px; }
.ci-legend-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.ci-legend-list strong { color: var(--navy); }
/* ---------- 문의 안내(솔루션 하단) ---------- */
.contact-note { border-top: 1px solid var(--line); }
.contact-note-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-note h2 { font-size: 24px; margin-bottom: 8px; }
.contact-note p { color: var(--ink-2); max-width: 640px; }
@media (max-width: 720px) { .ci-cards { grid-template-columns: 1fr; } }

/* ---------- 수행실적 모노그램 타일 ---------- */
.proj .mono, .recent-card .mono { aspect-ratio: 16 / 10; position: relative; overflow: hidden; color: #fff; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.proj .mono small, .recent-card .mono small { font-size: 13px; opacity: .78; letter-spacing: .01em; }
.recent-card .mono b, .proj .mono b { display: block; font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.proj .mono span, .recent-card .mono span { display: block; font-size: 14px; opacity: .85; margin-top: 4px; }
.proj .mono i, .recent-card .mono i { position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border: 3px solid rgba(255, 255, 255, .16); border-radius: 18px; transform: rotate(12deg); }
.m-navy { background: #0d1e3d; } .m-blue { background: #1543c4; } .m-teal { background: #0f5f73; } .m-slate { background: #3a4a66; } .m-ink { background: #1b2a4a; }
