/* =========================================================
   하나테크 - 모바일 우선 스타일
   색상: 로고에서 추출 (navy #06287F, blue #0079C4, green #7FBE25)
   ========================================================= */
:root {
  --navy: #06287F;
  --navy-deep: #041B57;
  --ink: #0E1A2B;
  --blue: #0079C4;
  --blue-deep: #014493;
  --green: #7FBE25;
  --green-deep: #5E9A12;
  --steel-900: #1E2A38;
  --steel-600: #5B6B7C;
  --steel-300: #C5CDD6;
  --steel-100: #E9EDF2;
  --steel-50: #F5F7FA;
  --white: #fff;
  --kakao: #FEE500;
  --danger: #D23F3F;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(14, 26, 43, .08);
  --header-h: 64px;
  --mbar-h: 64px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip;
  padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom));
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.only-desktop { display: none !important; }
.muted { color: var(--steel-600); }
.muted-light { color: rgba(255,255,255,.75); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: .6em 1.2em; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; line-height: 1.2; cursor: pointer; text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-accent { background: var(--green); color: var(--ink); }
.btn-accent:hover { background: #8fd12f; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost-dark { background: var(--steel-100); color: var(--navy); }
.btn-kakao { background: var(--kakao); color: #191919; }
.btn-kakao:hover { background: #f5dc00; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.link-arrow { font-weight: 700; color: var(--navy); }
.link-arrow::after { content: " →"; }

/* ---------- 헤더 ---------- */
.site-header {
  /* backdrop-filter 는 fixed 메뉴의 기준을 헤더로 바꿔 버리므로 쓰지 않는다 */
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--steel-100);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(14,26,43,.08); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 1rem; }
.brand img { width: auto; height: 44px; }
.header-tel { font-weight: 800; color: var(--navy); white-space: nowrap; }

.hamburger {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일: 전체 화면 메뉴 */
.gnb {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem var(--gutter) 2rem;
  overflow-y: auto; display: none; flex-direction: column;
}
/* 화면 밖으로 밀어 두는 방식은 가로 스크롤을 만들 수 있어 display 로 열고 닫는다 */
.nav-open .gnb { display: flex; animation: gnb-in .2s ease-out; }
@keyframes gnb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-open { overflow: hidden; }
.gnb ul { list-style: none; margin: 0; padding: 0; }
.gnb li a {
  display: block; padding: 1rem .25rem; font-size: 1.2rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--steel-100); text-decoration: none;
}
.gnb a[aria-current="page"] { color: var(--blue); }
.gnb-actions { display: grid; gap: .6rem; margin-top: 1.5rem; }

/* ---------- 모바일 하단 바 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--mbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--navy-deep); box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.mb-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none !important;
}
.mb-item svg { width: 24px; height: 24px; fill: currentColor; }
.mb-tel { background: var(--blue-deep); }
.mb-kakao { background: var(--kakao); color: #191919; }
.mb-quote { background: var(--green); color: var(--ink); }

/* ---------- 플래시 ---------- */
.flash-wrap { padding-top: 1rem; }
.flash { padding: .9rem 1rem; border-radius: var(--radius); margin: 0 0 .5rem; font-weight: 600; }
.flash-error { background: #FDECEC; color: #9B1C1C; }
.flash-ok { background: #EDF7E1; color: #3A6510; }

/* ---------- 히어로 ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.hero-video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,27,87,.82) 0%, rgba(4,27,87,.7) 50%, rgba(14,26,43,.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 3rem; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--green); margin-bottom: .75rem; }
.hero .lead { font-size: 1.05rem; color: rgba(255,255,255,.88); max-width: 40em; }
.hero-cta { display: grid; gap: .75rem; margin: 1.75rem 0 2.5rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.25rem; }
.hero-stats strong { display: block; font-size: 1.4rem; color: #fff; }
.hero-stats span { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.4; display: block; }
/* 모바일·태블릿: 파란 레이어를 연하게 해 배경영상이 보이게 하고, 글씨는 흰색+그림자로 가독성 확보 */
@media (max-width: 1023px) {
  .hero::after { background: linear-gradient(180deg, rgba(4,27,87,.12) 0%, rgba(4,27,87,.06) 45%, rgba(4,27,87,.4) 100%); }
  .hero h1, .hero .lead, .hero-stats strong, .hero-stats span, .hero .eyebrow {
    text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 16px rgba(0,0,0,.6);
  }
  .hero .lead, .hero-stats span { color: #fff; }
  .hero .eyebrow { color: #a6e04a; }
  .hero-stats { border-top-color: rgba(255,255,255,.5); }
}

/* ---------- 섹션 ---------- */
.section { padding: 3.5rem 0; }
.section-gray { background: var(--steel-50); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 2rem; }
.section-head p:not(.eyebrow) { color: var(--steel-600); }
.section-dark .section-head p:not(.eyebrow) { color: rgba(255,255,255,.7); }

.page-head { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--blue-deep)); color: #fff; padding: 2.75rem 0 2.25rem; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 18px solid rgba(127,190,37,.35); border-left-color: transparent; border-top-color: transparent; transform: rotate(10deg); }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: .3em; }
.page-head p:not(.eyebrow) { color: rgba(255,255,255,.8); margin: 0; }

/* 카드 그리드 */
.card-grid { display: grid; gap: 1.25rem; }
.svc-card { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-100); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-img img { transform: scale(1.04); }
/* 사진이 없는 항목: 선반 소재 단면을 떠올리게 하는 동심원 패턴 */
.media-plain {
  display: grid; place-items: center; aspect-ratio: 16 / 10; color: #fff; text-align: center; padding: 1rem;
  background:
    repeating-radial-gradient(circle at 78% 50%, rgba(255,255,255,.07) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--blue-deep));
}
.media-plain span { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; border-bottom: 3px solid var(--green); padding-bottom: .2rem; }
.media-plain-lg { aspect-ratio: 3 / 2; }
.media-plain-lg span { font-size: 1.6rem; }
.svc-body { padding: 1.25rem 1.25rem 1.5rem; position: relative; }
.svc-no { font-weight: 800; color: var(--green-deep); font-size: .85rem; letter-spacing: .1em; }
.svc-body p { color: var(--steel-600); margin: 0; font-size: .95rem; }

/* 재질 */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.material-list { margin: 0; display: grid; gap: 0; }
.material-list > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.material-list dt { font-weight: 800; color: var(--green); }
.material-list dd { margin: 0; color: rgba(255,255,255,.88); }

/* 산업 */
.industry-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.industry { border: 1px solid var(--steel-100); border-radius: var(--radius); padding: 1.1rem; background: #fff; display: flex; flex-direction: column; gap: .2rem; }
.ind-icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: .4rem; }
.ind-icon svg { width: 100%; height: 100%; }
.industry strong { font-size: 1.05rem; }
.industry span:last-child { font-size: .85rem; color: var(--steel-600); line-height: 1.5; }

/* 품질 단계 */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 1.25rem 3.25rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; }
.steps p { color: var(--steel-600); margin: .2rem 0 0; }

/* CTA 띠 */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--blue-deep) 70%, var(--blue) 100%); color: #fff; padding: 3rem 0; }
.cta-band h2 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-actions { display: grid; gap: .6rem; }

/* 회사소개 */
.greeting .sign { margin-top: 1.5rem; text-align: right; }
.greeting .sign strong { font-size: 1.3rem; margin-left: .3em; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--steel-300); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; display: grid; gap: .15rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45em; width: 15px; height: 15px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--steel-300); }
.tl-year { font-weight: 800; color: var(--navy); }
.glance { padding: 2.25rem 0; }
.glance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; text-align: center; }
.glance-list strong { display: block; font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.2; }
.glance-list span { font-size: .85rem; color: var(--steel-600); line-height: 1.4; display: block; }
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; counter-reset: p; }
.process li { counter-increment: p; background: var(--steel-50); border-radius: var(--radius); padding: 1rem 1rem 1rem 3.4rem; position: relative; display: grid; }
.process li::before { content: counter(p); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.process span { color: var(--steel-600); font-size: .9rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; font-weight: 800; font-size: 1.15rem; padding-bottom: .6rem; }
.table th, .table td { padding: .8rem; border-bottom: 1px solid var(--steel-100); text-align: left; }
.table th { background: var(--steel-50); font-weight: 700; }
.principles { display: grid; gap: 1rem; }
.principle { border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 1.4rem; }
.principle p { color: rgba(255,255,255,.75); margin: 0; }
.p-no { color: var(--green); font-weight: 800; font-size: .85rem; }

/* 가공 기술 */
.subnav { display: flex; gap: .5rem; overflow-x: auto; padding-top: 1rem; padding-bottom: .5rem; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .5rem 1rem; border-radius: 999px; background: var(--steel-100); color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
.check-list li { padding-left: 1.7rem; position: relative; font-weight: 600; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem; border-left: 3px solid var(--green-deep); border-bottom: 3px solid var(--green-deep); transform: rotate(-45deg); }

/* 용어집 */
.gl-tools { display: grid; gap: .75rem; position: sticky; top: var(--header-h); background: #fff; padding: .75rem 0; z-index: 5; }
.gl-tools input[type=search] { width: 100%; min-height: 48px; padding: .6rem 1rem; border: 2px solid var(--steel-300); border-radius: var(--radius); font-size: 16px; }
.gl-tools input[type=search]:focus { border-color: var(--blue); outline: none; }
.gl-cats { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; min-height: 36px; padding: .3rem .9rem; border-radius: 999px; border: 1px solid var(--steel-300); background: #fff; font-weight: 600; cursor: pointer; font-size: .9rem; }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gl-sort select { min-height: 40px; border: 1px solid var(--steel-300); border-radius: 8px; padding: 0 .6rem; background: #fff; }
.gl-count { color: var(--steel-600); font-size: .9rem; margin: .25rem 0 1rem; }
.gl-list { margin: 0; display: grid; gap: .75rem; }
.gl-item { border: 1px solid var(--steel-100); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; }
.gl-item dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin-bottom: .35rem; }
.gl-term { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.gl-en { color: var(--steel-600); font-size: .85rem; }
.gl-cat { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--green-deep); background: #F0F8E4; padding: .1rem .55rem; border-radius: 999px; }
.gl-item dd { margin: 0; color: #334155; font-size: .95rem; }
.gl-item mark { background: #E6F4D2; color: inherit; padding: 0 1px; }

/* 오시는 길 */
.loc-grid { display: grid; gap: 1.5rem; }
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--steel-100); min-height: 320px; }
.map { width: 100%; height: 360px; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; padding: 1.5rem; background: var(--steel-50); }
.map-fallback[hidden] { display: none; }
.map-fallback svg { width: 48px; height: 48px; fill: var(--navy); }
.map-info { background: #fff; padding: .6rem .8rem; border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; border: 2px solid var(--navy); }
.loc-info h2 span { color: var(--steel-600); font-size: .6em; font-weight: 600; margin-left: .3em; }
.info-list { margin: 0 0 1.25rem; }
.info-list > div { display: grid; grid-template-columns: 5.5em 1fr; gap: .5rem; padding: .8rem 0; border-bottom: 1px solid var(--steel-100); }
.info-list dt { font-weight: 700; color: var(--steel-600); }
.info-list dd { margin: 0; }
.info-list dd a { font-weight: 700; }
.copy-btn, .mini-link { display: inline-block; margin-left: .4rem; font-size: .8rem; padding: .15rem .55rem; border: 1px solid var(--steel-300); border-radius: 6px; background: #fff; cursor: pointer; color: var(--steel-900); font-weight: 600; vertical-align: middle; }
.loc-actions { display: grid; gap: .6rem; margin-bottom: 1rem; }

/* ---------- 폼 ---------- */
.form-layout { display: grid; gap: 2rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.form legend { font-size: 1.1rem; font-weight: 800; color: var(--navy); padding: 0 0 .75rem; border-bottom: 2px solid var(--navy); width: 100%; margin-bottom: 1rem; }
.grid-2 { display: grid; gap: 0 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--steel-300); border-radius: 8px; background: #fff;
  font-size: 16px; /* iOS 확대 방지 */ transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,121,196,.15); outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: var(--danger); }
.field[hidden] { display: none; }
.req { color: var(--danger); }
.err { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; font-weight: 600; }
.hint { color: var(--steel-600); font-size: .85rem; margin: .3rem 0 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.agree { margin: 1.25rem 0 1.5rem; }
.agree-box { background: var(--steel-50); border-radius: 8px; padding: .75rem 1rem; font-size: .88rem; margin-bottom: .75rem; }
.agree-box summary { cursor: pointer; font-weight: 700; }
.agree-box ul { padding-left: 1.1rem; margin: .5rem 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; flex: none; margin-top: .15rem; accent-color: var(--navy); }

.dropzone { display: flex !important; flex-direction: column; align-items: center; gap: .2rem; text-align: center; border: 2px dashed var(--steel-300); border-radius: var(--radius); padding: 1.5rem 1rem; cursor: pointer; background: var(--steel-50); transition: border-color .15s, background .15s; }
.dropzone svg { width: 36px; height: 36px; fill: var(--blue); }
.dropzone span { font-weight: 500; font-size: .82rem; color: var(--steel-600); }
.dropzone.is-over { border-color: var(--blue); background: #EAF4FB; }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .4rem; }
.file-list li { display: flex; gap: .5rem; align-items: center; padding: .55rem .75rem; background: #fff; border: 1px solid var(--steel-100); border-radius: 8px; font-size: .9rem; }
.file-list .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fs { color: var(--steel-600); font-size: .8rem; }
.file-list .bad { border-color: var(--danger); background: #FFF5F5; }
.file-list button { border: 0; background: transparent; color: var(--steel-600); cursor: pointer; font-size: 1.1rem; width: 32px; height: 32px; }
.file-total { font-size: .85rem; margin: .5rem 0 0; color: var(--steel-600); }

.contact-aside { display: grid; gap: .6rem; }
.contact-aside h2 { font-size: 1.2rem; }
.aside-item { display: flex; flex-direction: column; padding: .9rem 1rem; border-radius: var(--radius); background: var(--steel-50); text-decoration: none !important; color: var(--ink); border: 1px solid var(--steel-100); }
.aside-item:hover { border-color: var(--blue); }
.ai-label { font-size: .8rem; color: var(--steel-600); font-weight: 600; }
.aside-item strong { font-size: 1.1rem; color: var(--navy); }
.aside-kakao { background: var(--kakao); border-color: var(--kakao); }
.aside-kakao strong { color: #191919; }
.aside-fax { margin: .3rem 0 0; font-weight: 600; color: var(--steel-600); }

.done .done-icon { width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 2.4rem; font-weight: 800; display: grid; place-items: center; }
.done h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

.prose h2 { font-size: 1.2rem; margin-top: 2rem; color: var(--navy); }
.prose ul { padding-left: 1.2rem; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 2.5rem 0 1.5rem; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin: .5rem 0 0; }
.since { color: var(--green); font-weight: 700; font-size: .8rem; letter-spacing: .08em; }
.footer-info { font-style: normal; }
.footer-info p { margin: 0 0 .25rem; }
.sep { opacity: .4; margin: 0 .3em; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1rem; font-size: .8rem; opacity: .7; }

/* =========================================================
   태블릿 (≥640px)
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-cta { display: flex; flex-wrap: wrap; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .card { padding: 2rem; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { display: flex; flex-wrap: wrap; }
  .gl-tools { grid-template-columns: 1fr auto; }
  .gl-cats { grid-column: 1 / -1; grid-row: 2; }
  .gl-sort { grid-column: 2; grid-row: 1; }
}

/* =========================================================
   데스크톱 (≥1024px): 가로 메뉴, 하단 바 숨김
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .only-desktop { display: initial !important; }
  .only-mobile { display: none !important; }
  .mobile-bar, .hamburger { display: none; }
  .brand img { height: 54px; }
  .gnb { position: static; display: flex; animation: none; background: transparent; padding: 0; overflow: visible;
    flex-direction: row; align-items: center; margin-left: auto; gap: 1.5rem; }
  .gnb ul { display: flex; gap: .25rem; }
  .gnb li a { border: 0; font-size: 1rem; padding: .5rem .8rem; border-radius: 8px; }
  .gnb li a:hover { background: var(--steel-50); }
  .gnb-actions { margin: 0; }
  .header-tel { padding-left: 1rem; border-left: 1px solid var(--steel-100); }

  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(4,27,87,.9) 0%, rgba(4,27,87,.65) 55%, rgba(4,27,87,.25) 100%); }
  .hero-content { padding-top: 6rem; padding-bottom: 5rem; }
  .hero .lead { font-size: 1.2rem; }
  .hero-stats { max-width: 620px; gap: 2rem; }
  .hero-stats strong { font-size: 1.9rem; }

  .section { padding: 6rem 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-img.reverse > :first-child { order: 2; }
  .industry-grid { grid-template-columns: repeat(5, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .page-head { padding: 4.5rem 0 3.5rem; }
  .loc-grid { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
  .map, .map-box { height: 520px; }
  .form-layout { grid-template-columns: 1fr 300px; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .footer-inner { grid-template-columns: 1.1fr 2fr; }
  .footer-links { grid-column: 1 / -1; }
  .gl-tools { top: var(--header-h); }
}

/* 1024~1279px: 메뉴가 빽빽하므로 헤더 전화번호는 숨김 (하단 CTA/푸터에 있음) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-tel { display: none !important; }
  .gnb { gap: .75rem; }
  .gnb li a { padding: .5rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
