/* =======================================================================
   탐진크레인 — 스타일 (styles.css)
   ★ 모든 값은 :root 토큰을 따른다. (DESIGN.md 참고)
     임의의 px/색을 새로 쓰지 말고 토큰을 물려받을 것.
   ======================================================================= */

:root {
  /* --- 색: 강조 하나 + 네이비 + 틴트된 그레이 램프 --- */
  --accent: #f5a623;
  --accent-deep: #e08e00;
  --navy: #0f2a43;
  --navy-deep: #0a1d30;
  --navy-light: #1b3e5e;

  --ink: hsl(212 30% 14%);     /* 본문 텍스트 (검정 아님) */
  --gray: hsl(212 12% 40%);    /* 보조 텍스트 */
  --gray-light: hsl(212 10% 60%);
  --line: hsl(212 24% 91%);    /* 테두리 */
  --bg: #ffffff;
  --bg-soft: hsl(212 33% 98%);
  --bg-softer: hsl(212 30% 95%);
  --white: #ffffff;

  /* --- 모서리: soft + pill 패밀리 --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* --- 그림자: 광원 하나(위), 네이비 틴트, 레이어드 --- */
  --shadow-sm: 0 1px 2px hsl(212 44% 18% / .06), 0 2px 4px hsl(212 44% 18% / .06);
  --shadow-md: 0 2px 4px hsl(212 44% 18% / .05), 0 4px 8px hsl(212 44% 18% / .05), 0 8px 16px hsl(212 44% 18% / .05);
  --shadow-lg: 0 4px 8px hsl(212 44% 18% / .05), 0 8px 16px hsl(212 44% 18% / .05), 0 16px 32px hsl(212 44% 18% / .06), 0 24px 48px hsl(212 44% 18% / .06);

  /* --- 간격 스케일: 4·8·12·16·24·32·48·64 --- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --section-pad: clamp(64px, 8vw, 96px);

  /* --- 타이포: 모듈러 스케일 --- */
  --text-xs: 0.75rem;  --text-sm: 0.875rem; --text-base: 1rem;
  --text-md: 1.125rem; --text-lg: 1.25rem;  --text-xl: 1.5rem;
  --text-2xl: 1.875rem; --text-3xl: 2.25rem; --text-4xl: 3rem;

  /* --- 컨트롤 높이 --- */
  --control-h: 44px;
  --control-h-lg: 52px;

  /* --- 모션 --- */
  --dur-fast: 120ms; --dur: 200ms; --dur-slow: 280ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* --- 레이아웃 --- */
  --maxw: 1140px;
  --header-h: 72px;
}

/* ---------- 리셋 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: var(--text-base);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }

/* ---------- 아이콘 ---------- */
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-h);
  padding: 0 var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 700; font-size: var(--text-base);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--lg { min-height: var(--control-h-lg); padding: 0 var(--space-6); font-size: var(--text-md); }
.btn--primary { background: var(--accent); color: var(--navy-deep); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--white); border-color: hsl(0 0% 100% / .5); }
.btn--ghost:hover { background: hsl(0 0% 100% / .12); border-color: #fff; }

/* 전화 아이콘 프리픽스 (currentColor 마스크) */
.btn--call::before {
  content: ""; width: 1.1em; height: 1.1em; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- 섹션 공통 ---------- */
.section { padding: var(--section-pad) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-7); }
.eyebrow {
  display: inline-block; color: var(--accent-deep); font-weight: 800;
  letter-spacing: .12em; font-size: var(--text-xs); text-transform: uppercase; margin-bottom: var(--space-3);
}
.section-head h2 { font-size: clamp(var(--text-xl), 3.4vw, var(--text-3xl)); color: var(--navy); line-height: 1.3; }
.section-head p { color: var(--gray); margin-top: var(--space-3); font-size: var(--text-md); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: hsl(0 0% 100% / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: var(--space-2); font-weight: 900; color: var(--navy); font-size: var(--text-lg); letter-spacing: -.01em; }
.brand svg { flex-shrink: 0; }
.brand small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .18em; color: var(--accent-deep); }
.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a { padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); font-size: var(--text-base); transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.nav a:hover { background: var(--bg-softer); color: var(--navy); }
.nav a.active { color: var(--accent-deep); }
.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.header-phone span { font-size: var(--text-xs); color: var(--gray-light); font-weight: 600; }
.header-phone strong { font-size: var(--text-md); color: var(--navy); letter-spacing: -.01em; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--space-2); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: var(--radius-full); transition: var(--dur) var(--ease); }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- 히어로 (메인) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background-color: var(--navy-deep); }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(120deg, hsl(212 70% 8% / .92) 0%, hsl(212 62% 12% / .72) 45%, hsl(212 55% 16% / .42) 100%),
    radial-gradient(1100px 460px at 82% -8%, hsl(38 92% 55% / .18), transparent 60%);
}
.hero__inner { display: flex; align-items: center; min-height: 540px; padding: var(--space-8) 0; }
.hero__text { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: hsl(38 92% 55% / .15); color: var(--accent); border: 1px solid hsl(38 92% 55% / .4);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-5);
}
.hero h1 { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); line-height: 1.18; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--accent); }
.hero__sub { margin-top: var(--space-5); font-size: var(--text-md); color: hsl(0 0% 100% / .85); max-width: 540px; }
.hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__areas { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero__areas span {
  font-size: var(--text-sm); font-weight: 600; color: hsl(0 0% 100% / .9);
  background: hsl(0 0% 100% / .08); border: 1px solid hsl(0 0% 100% / .16);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
}

/* ---------- 톤수 띠 ---------- */
.tonnage-strip { background: var(--accent); color: var(--navy-deep); }
.tonnage-strip__inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: var(--space-2) var(--space-5); padding: var(--space-4) 0; font-weight: 800; }
.tonnage-strip__inner span { font-size: clamp(var(--text-base), 2vw, var(--text-lg)); }
.tonnage-strip__inner small { font-weight: 700; opacity: .7; }

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

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5); box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--bg-softer); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { color: var(--navy); font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card p { color: var(--gray); font-size: var(--text-base); }

/* 강점(번호형) */
.strength { display: flex; gap: var(--space-4); align-items: flex-start; }
.strength__num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--navy); color: var(--accent); font-weight: 900; font-size: var(--text-md);
  display: flex; align-items: center; justify-content: center;
}
.strength h3 { color: var(--navy); font-size: var(--text-md); margin-bottom: var(--space-1); }
.strength p { color: var(--gray); font-size: var(--text-base); }

/* ---------- 장비 카드 ---------- */
.equip-card { overflow: hidden; padding: 0; }
.equip-card__media { aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--navy-light), var(--navy)); display: flex; align-items: center; justify-content: center; position: relative; }
.equip-card__media img { width: 100%; height: 100%; object-fit: cover; }
.equip-card__ton { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--accent); color: var(--navy-deep); font-weight: 900; font-size: var(--text-sm); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.equip-card__body { padding: var(--space-5); }
.equip-card__body h3 { color: var(--navy); font-size: var(--text-lg); margin-bottom: var(--space-1); }
.equip-card__body p { color: var(--gray); font-size: var(--text-base); margin-bottom: var(--space-4); }
.equip-card__specs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.equip-card__specs li { font-size: var(--text-xs); font-weight: 600; color: var(--navy-light); background: var(--bg-softer); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }

/* ---------- 작업사례 카드 ---------- */
.case-card { overflow: hidden; padding: 0; }
.case-card__media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: linear-gradient(150deg, #24516f, var(--navy)); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__tag { position: absolute; top: var(--space-3); right: var(--space-3); background: hsl(212 64% 16% / .85); color: #fff; font-weight: 700; font-size: var(--text-sm); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); backdrop-filter: blur(4px); }
.case-card__body { padding: var(--space-5); }
.case-card__meta { display: flex; gap: var(--space-2); align-items: center; color: var(--accent-deep); font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-2); }
.case-card__body h3 { color: var(--navy); font-size: var(--text-md); margin-bottom: var(--space-2); }
.case-card__body p { color: var(--gray); font-size: var(--text-base); }

/* 플레이스홀더 그래픽(사진 없을 때) */
.ph-graphic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ph-graphic svg { width: 46%; opacity: .9; }

/* ---------- 작업사례 갤러리 ---------- */
.gallery-item {
  position: relative; width: 100%; padding: 0; font: inherit; color: inherit;
  border: 1px solid var(--line); background: linear-gradient(150deg, #24516f, var(--navy));
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-empty { cursor: default; }
.gallery-item.is-empty:hover { transform: none; box-shadow: var(--shadow-md); }
.gallery-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-6) var(--space-4) var(--space-3);
  color: #fff; font-weight: 700; font-size: var(--text-sm); text-align: left;
  background: linear-gradient(transparent, hsl(212 64% 10% / .85));
}

/* 라이트박스(사진 크게 보기) */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: hsl(212 64% 6% / .92); padding: var(--space-5); }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 92vw; max-height: 88vh; margin: 0; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: var(--space-3); font-weight: 600; }
.lightbox__close { position: absolute; top: var(--space-5); right: var(--space-5); width: var(--control-h); height: var(--control-h); border-radius: var(--radius-full); border: none; background: hsl(0 0% 100% / .15); color: #fff; font-size: var(--text-2xl); line-height: 1; cursor: pointer; transition: background var(--dur) var(--ease); }
.lightbox__close:hover { background: hsl(0 0% 100% / .28); }

/* ---------- 서브페이지 상단 ---------- */
.page-hero {
  background:
    radial-gradient(900px 360px at 85% -20%, hsl(38 92% 55% / .16), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff; padding: var(--space-8) 0 var(--space-7); text-align: center;
}
.page-hero h1 { font-size: clamp(var(--text-xl), 4vw, var(--text-3xl)); letter-spacing: -.02em; }
.page-hero p { color: hsl(0 0% 100% / .8); margin-top: var(--space-3); font-size: var(--text-md); }
.breadcrumb { margin-top: var(--space-4); font-size: var(--text-sm); color: hsl(0 0% 100% / .6); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 회사소개 본문 ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--gray); font-size: var(--text-md); margin-bottom: var(--space-4); }
.prose strong { color: var(--navy); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.stat { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6) var(--space-4); box-shadow: var(--shadow-md); }
.stat b { display: block; font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); color: var(--accent-deep); font-weight: 900; }
.stat span { color: var(--gray); font-size: var(--text-sm); font-weight: 600; }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-item { display: flex; gap: var(--space-4); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-md); }
.contact-item__ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--bg-softer); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; }
.contact-item__ic .icon { width: 24px; height: 24px; }
.contact-item small { color: var(--gray-light); font-weight: 600; font-size: var(--text-sm); }
.contact-item strong { display: block; color: var(--navy); font-size: var(--text-md); }
.contact-item a strong:hover { color: var(--accent-deep); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-md); }
.contact-form h3 { color: var(--navy); margin-bottom: var(--space-1); font-size: var(--text-lg); }
.contact-form p.note { color: var(--gray-light); font-size: var(--text-sm); margin-bottom: var(--space-5); }
/* 간격 사다리: 라벨→인풋 8 / 인풋→인풋 16 / 그룹→그룹(=폼 끝 버튼) 32 */
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); color: var(--navy); margin-bottom: var(--space-2); }
.field input, .field textarea {
  width: 100%; min-height: var(--control-h); padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink);
  background: var(--bg-soft); transition: border var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; margin-top: var(--space-5); }

.map-embed { margin-top: var(--space-4); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.map-embed a { display: flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--bg-softer); color: var(--navy); font-weight: 700; padding: var(--space-5); font-size: var(--text-base); }
.map-embed a:hover { background: hsl(212 30% 92%); }

/* ---------- 작업 가능 지역 ---------- */
.area-map { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-7); align-items: center; }
.area-map__fig { margin: 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.area-map__fig img { width: 100%; height: auto; display: block; }
.area-legend { display: flex; gap: var(--space-5); margin-bottom: var(--space-4); }
.area-legend li { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--ink); font-size: var(--text-sm); }
.legend-dot { width: 14px; height: 14px; border-radius: var(--radius-full); display: inline-block; flex-shrink: 0; }
.legend-dot--primary { background: var(--accent); }
.legend-dot--island { background: #f8cf85; }
.area-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.area-chips span { font-size: var(--text-sm); font-weight: 700; color: var(--navy); background: var(--bg-softer); border: 1px solid var(--line); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.area-map__note { color: var(--gray); font-size: var(--text-base); margin-bottom: var(--space-5); }
@media (max-width: 760px) { .area-map { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ---------- CTA 띠 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-light)); color: #fff; text-align: center; padding: var(--section-pad) 0; }
.cta-band h2 { font-size: clamp(var(--text-xl), 3.4vw, var(--text-3xl)); }
.cta-band p { color: hsl(0 0% 100% / .82); margin-top: var(--space-3); font-size: var(--text-md); }
.cta-band .hero__actions { justify-content: center; margin-top: var(--space-6); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-deep); color: hsl(0 0% 100% / .7); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
.footer-brand { font-weight: 900; color: #fff; font-size: var(--text-lg); margin-bottom: var(--space-3); }
.site-footer h4 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-4); letter-spacing: .02em; }
.site-footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: var(--space-2); font-size: var(--text-base); }
.footer-areas { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-areas span { font-size: var(--text-xs); background: hsl(0 0% 100% / .07); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); }
.footer-contact p { margin-bottom: var(--space-2); font-size: var(--text-base); }
.footer-contact strong { color: #fff; }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid hsl(0 0% 100% / .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-sm); color: hsl(0 0% 100% / .45); }

/* ---------- 모바일 고정 통화바 ---------- */
.mobile-callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--accent); color: var(--navy-deep);
  align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-4); font-weight: 900; font-size: var(--text-md);
  box-shadow: 0 -2px 12px hsl(212 44% 18% / .15);
}
.mobile-callbar a { display: inline-flex; align-items: center; gap: var(--space-2); color: inherit; }

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { min-height: 460px; }
}
@media (max-width: 760px) {
  .header-phone { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--space-4) var(--space-4);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform var(--dur-slow) var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: var(--space-4) var(--space-2); border-bottom: 1px solid var(--bg-softer); }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .grid--2, .grid--3, .grid--4, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  body { padding-bottom: 64px; } /* 고정 통화바 자리 */
  .mobile-callbar { display: flex; }
}
