/* ============================================================
   ㈜쓰리원 홈페이지 디자인 시스템 — v1.2
   컨셉: 딥네이비 + 틸 (쓰리원 브랜드 기준값 v1, 2026-07-25 확정)
   색  : 주조 #0C2340 · 포인트 #0FA8A0 · 잉크 #16222E
   폰트: Pretendard Variable 자체 탑재 (외부 CDN 연결 없음)
   ============================================================ */

:root {
  /* 네이비 — 주조색 #0C2340 기준 3단계 */
  --navy-950: #081C33;   /* 더 깊은 변형: 히어로·다크섹션·푸터 대면적 바탕 */
  --navy-900: #0C2340;   /* 브랜드 기준 딥네이비: 버튼·표머리·구조선 */
  --navy-800: #14355C;   /* 밝은 변형: hover·그라데이션 */
  --steel-700: #1E4568;
  /* 틸 — 포인트색 #0FA8A0 기준 (총량 10~15% 이내) */
  --teal-500: #0FA8A0;   /* 브랜드 기준 틸: 아이콘·구분선·칩·점 등 그래픽 */
  --teal-600: #0B7A70;   /* 진한 틸: 버튼 바탕·글자 링크 (흰 글자 명도차 5.2배) */
  --teal-700: #096A62;   /* 진한 틸 hover */
  --teal-200: #7FD6CE;   /* 네이비 바탕 위 강조 */
  --on-navy: #C9D8E4;    /* 네이비 바탕 위 본문 전용 */
  --gray-50: #F3F6F9;    /* 페이퍼 그레이: 카드·표 배경 */
  --gray-100: #ECF0F5;
  --line: #E2E8F0;
  --text: #16222E;       /* 다크 잉크: 본문 */
  --muted: #5A6B7B;      /* 그레이: 캡션·보조 */
  --muted-light: #8CA0B0;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 28px rgba(12, 35, 64, .10);
  --shadow-sm: 0 2px 10px rgba(12, 35, 64, .07);
  --container: 1200px;
  --header-h: 72px;
  --font: "Pretendard Variable", Pretendard, system-ui, -apple-system,
          BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--white); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 접근성 */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal-600);
  color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; }

/* ── 헤더 ── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand-logo { height: 34px; width: auto; }
.gnb ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gnb a { display: block; padding: 10px 16px; font-weight: 600; font-size: 16px; border-radius: 8px; color: var(--text); }
.gnb a:hover { background: var(--gray-100); }
.gnb a.on { color: var(--teal-600); }
/* v1.2: 메뉴 안 견적문의 버튼은 .gnb a 규칙보다 우선 — 바탕·글자 모두 고정해 hover에서도 대비 유지 */
.gnb .btn-accent { color: #fff; }
.gnb .btn-accent:hover { background: var(--teal-700); color: #fff; }
.gnb-cta { margin-left: 10px; }
.nav-toggle { display: none; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; font-family: inherit; text-align: center;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn:not(.btn-sm):not(.btn-lg) { padding: 12px 24px; font-size: 16px; }
.btn-accent { background: var(--teal-600); color: #fff; }
.btn-accent:hover { background: var(--teal-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line { background: #fff; color: var(--text); border-color: var(--line); }
.btn-line:hover { border-color: var(--teal-600); color: var(--teal-600); }

/* ── 히어로 슬라이더 (메인) ── */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero-slide {
  position: relative; min-height: clamp(480px, 62vh, 640px);
  display: none; align-items: center;
}
.hero-slide.active { display: flex; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,28,51,.92) 20%, rgba(8,28,51,.55) 60%, rgba(8,28,51,.25));
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 720px; }
.hero .eyebrow { color: var(--teal-200); }
.hero h1, .hero .hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 18px; line-height: 1.25;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--on-navy); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-nav {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3;
  display: flex; gap: 8px; justify-content: flex-start;
}
.hero-nav .container { display: flex; gap: 8px; }
.hero-dot {
  width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3);
  border: 0; cursor: pointer; padding: 0;
}
.hero-dot.on { background: var(--teal-500); }

/* ── 섹션 공통 ── */
.section { padding: 84px 0; }
.section.tint { background: var(--gray-50); }
.section.dark { background: var(--navy-950); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-500); }
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.01em; }
.section-head .lead { color: var(--muted); max-width: 640px; font-size: 16px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head .head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more-link { font-weight: 700; font-size: 14px; color: var(--teal-600); white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.dark .eyebrow { color: var(--teal-200); }
.dark .section-head .lead { color: var(--on-navy); }

/* ── 카드 그리드 ── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.card:hover .card-thumb img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { font-size: 16px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14px; margin: 0; }
.card-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--teal-600);
  background: rgba(15,168,160,.10); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* 핵심 역량 카드 */
.strength-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
}
.strength-card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; background: rgba(15,168,160,.10); margin-bottom: 18px;
}
.strength-card .ico svg { width: 26px; height: 26px; stroke: var(--teal-500); }
.strength-card h3 { font-size: 18px; }
.strength-card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── 공정 스트립 ── */
.process-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: step; }
.process-step {
  position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 20px 12px 16px; text-align: center;
}
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--teal-500); margin-bottom: 8px;
}
.process-step strong { font-size: 16px; display: block; }
.process-step span { font-size: 12px; color: var(--on-navy); }

/* ── 신뢰 배지 스트립 ── */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 40px; background: #fff;
  padding: 11px 20px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm);
}
.trust-badge svg { width: 18px; height: 18px; stroke: var(--teal-500); flex: none; }
.trust-badge small { font-size: 12px; font-weight: 500; color: var(--muted); }

/* ── 페이지 히어로 (서브) — 사진 배경 + 중앙 타이틀 (레퍼런스 스타일) ── */
.page-hero {
  position: relative; color: #fff; padding: 88px 0 76px; text-align: center; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(15,168,160,.30), transparent 38%),
    linear-gradient(120deg, rgba(15,168,160,.18), rgba(8,28,51,.1));
  opacity: .9;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,28,51,.35), rgba(8,28,51,.72));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.01em; margin-bottom: 8px; }
.page-hero-sub { color: var(--on-navy); max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--teal-200); justify-content: center; }
.page-hero .eyebrow::before { display: none; }

/* ── 탭 / 필터 ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-tabs a {
  padding: 9px 18px; border-radius: 30px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 14px; background: #fff;
}
.filter-tabs a:hover { border-color: var(--teal-600); color: var(--teal-600); }
.filter-tabs a.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ── v1.2 목록·조항 제목 (문서 구조 h1 → h2 → h3 연결) ── */
.list-heading { font-size: 21px; margin: 0 0 22px; letter-spacing: -.01em; }
.clause-heading { font-size: 18px; margin: 0 0 .5em; }

/* ── 상세 페이지 ── */
.detail-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.detail-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.detail-media img { width: 100%; }
.detail-body h1 { font-size: 1.7rem; margin-bottom: 10px; }
.detail-body .lead { color: var(--muted); font-size: 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 130px; background: var(--gray-50); font-weight: 700; white-space: nowrap; }
.meta-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.meta-table th, .meta-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.meta-table th { width: 110px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.prose { line-height: 1.8; }
.prose p { margin-bottom: 1.1em; }

/* ── 회사소개 ── */
.anchor-nav {
  position: sticky; top: var(--header-h); z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.anchor-nav ul { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--container); }
.anchor-nav a { display: block; padding: 15px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--muted); border-bottom: 2.5px solid transparent; }
.anchor-nav a:hover, .anchor-nav a.on { color: var(--teal-600); border-color: var(--teal-600); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: flex; gap: 34px; padding: 14px 0; }
.timeline .year { width: 70px; flex: none; font-weight: 800; color: var(--teal-600); text-align: right; }
.timeline .desc { position: relative; padding-left: 0; }
.timeline .desc::before {
  content: ""; position: absolute; left: -37px; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--teal-500);
}
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cert-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  padding: 24px 20px; text-align: center;
}
.cert-item svg { width: 34px; height: 34px; stroke: var(--teal-500); margin: 0 auto 12px; }
.cert-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.cert-item span { font-size: 14px; color: var(--muted); }

/* ── 비전 (계약 항목 G1) — 카드 중첩 없이 선과 여백으로 구분 ── */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 40px; }
.vision-item { border-top: 2px solid var(--teal-500); padding-top: 22px; }
.vision-item h3 { font-size: 18px; margin-bottom: 10px; }
.vision-item p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.75; }

/* ── 게시판 ── */
.board-list { border-top: 2px solid var(--navy-900); }
.board-row {
  display: flex; align-items: center; gap: 18px; padding: 17px 8px;
  border-bottom: 1px solid var(--line);
}
.board-row:hover .b-title { color: var(--teal-600); }
.board-row .b-badge {
  flex: none; font-size: 12px; font-weight: 800; color: var(--teal-600);
  border: 1px solid currentColor; padding: 2px 9px; border-radius: 20px;
}
.board-row .b-title { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .b-date { flex: none; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 2px solid var(--navy-900); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; font-family: inherit;
  font-size: 16px; font-weight: 700; padding: 19px 40px 19px 8px; cursor: pointer;
  position: relative; color: var(--text);
}
.faq-q::before { content: "Q."; color: var(--navy-900); margin-right: 10px; font-weight: 800; }
.faq-q::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: none; padding: 0 8px 22px 8px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
.faq-a::before { content: "A."; color: var(--teal-600); margin-right: 10px; font-weight: 800; }

/* ── 폼 ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.form-field label .req { color: #E5484D; }
.form-field input[type=text], .form-field input[type=tel], .form-field input[type=email],
.form-field select, .form-field textarea, .form-field input[type=file], .form-field input[type=password],
.form-field input[type=date], .form-field input[type=number] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--text);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(15,168,160,.16);
}
.agree-box {
  background: var(--gray-50); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; font-size: 14px;
}
.agree-box summary { cursor: pointer; font-weight: 700; }
.agree-box .agree-text { margin: 12px 0; color: var(--muted); max-height: 150px; overflow-y: auto; padding-right: 8px; }
.agree-check { display: flex; align-items: center; gap: 9px; font-weight: 600; margin-top: 10px; }
.agree-check input { width: 18px; height: 18px; accent-color: var(--teal-600); }
.form-actions { margin-top: 30px; text-align: center; }
.alert { border-radius: 10px; padding: 15px 18px; margin-bottom: 22px; font-weight: 600; font-size: 16px; }
.alert-ok { background: rgba(15,168,160,.10); color: var(--teal-600); border: 1px solid rgba(15,168,160,.32); }
.alert-err { background: rgba(229,72,77,.08); color: #C4353A; border: 1px solid rgba(229,72,77,.3); }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.steps-3 .step { background: var(--gray-50); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.steps-3 .step b { display: block; color: var(--teal-600); font-size: 12px; letter-spacing: .08em; margin-bottom: 6px; }

/* ── 페이지네이션 ── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 44px; }
.pagination a {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px;
}
.pagination a:hover { border-color: var(--teal-600); color: var(--teal-600); }
.pagination a.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ── CTA 밴드 / 푸터 ── */
.cta-band { background: linear-gradient(110deg, var(--navy-950), var(--navy-800) 85%); color: #fff; padding: 62px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.cta-band p { color: var(--on-navy); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tel-label { font-size: 12px; opacity: .75; margin-right: 2px; }

.site-footer { background: var(--navy-950); color: var(--on-navy); padding: 56px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 40px; align-items: start; }
.footer-logo { height: 30px; margin-bottom: 18px; opacity: .95; }
.footer-company p { margin-bottom: 10px; line-height: 1.75; }
.footer-contact a { color: var(--on-navy); }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; justify-content: start; }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { display: flex; flex-direction: column; gap: 10px; }
.privacy-link strong { color: #fff; }
.admin-link { font-size: 14px; opacity: .7; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; }
.footer-copy p { margin: 0; font-size: 14px; opacity: .7; }

/* ── 팝업 ── */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(8,28,51,.55); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.popup-box { background: #fff; border-radius: var(--radius); max-width: 420px; width: 100%; overflow: hidden; }
.popup-body { padding: 26px 26px 20px; }
.popup-actions { display: flex; border-top: 1px solid var(--line); }
.popup-actions button {
  flex: 1; padding: 14px; background: none; border: 0; font-family: inherit;
  font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted);
}
.popup-actions button:hover { background: var(--gray-50); color: var(--text); }
.popup-actions button + button { border-left: 1px solid var(--line); }

/* ── 지도/연락 카드 ── */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.contact-card h3 { font-size: 16px; display: flex; gap: 10px; align-items: center; }
.contact-card h3 svg { width: 20px; height: 20px; stroke: var(--teal-500); }
.contact-card p { color: var(--muted); margin: 0; font-size: 16px; }
.map-placeholder {
  border-radius: var(--radius); background: var(--gray-50);
  border: 1px dashed #C3CEDA; padding: 60px 20px; text-align: center; color: var(--muted); font-weight: 600;
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .process-strip { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .section { padding: 60px 0; }
  .gnb {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 84vw);
    background: #fff; border-left: 1px solid var(--line); transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; z-index: 99; box-shadow: -12px 0 30px rgba(12,35,64,.08);
  }
  body.nav-open .gnb { transform: translateX(0); }
  .gnb ul { flex-direction: column; align-items: stretch; padding: 18px; gap: 4px; }
  .gnb a { padding: 14px 16px; font-size: 16px; }
  .gnb-cta { margin: 12px 0 0; }
  .gnb-cta .btn { width: 100%; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all .22s; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps-3, .contact-cards { grid-template-columns: 1fr; }
  .timeline::before { left: 64px; }
  .timeline li { gap: 26px; }
  .timeline .year { width: 52px; }
  .timeline .desc::before { left: -30px; }
  .hero-content { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  #mainStatus .spec-table th {
    width: auto !important; white-space: normal; padding: 8px 5px; font-size: 12px;
  }
  #mainStatus .spec-table td {
    padding: 8px 5px; font-size: 12px; overflow-wrap: anywhere;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; }
}
