:root {
  --navy: #0b1730;
  --navy-2: #10203f;
  --blue: #2f6fed;
  --blue-light: #7fb8ff;
  /* 강조색 : 진한 파랑. 예전 주황(#ff8a1e)은 흰 글자 대비가 2.36:1 밖에 안 나와
     버튼 글씨가 읽기 어려웠다. 이 색은 흰 글자 5.49:1, 흰 배경과도 5.49:1 로 구분된다. */
  --accent: #0b6fa4;
  --accent-dark: #08587f;
  --label: #1a56d6;

  /* 파스텔 톤 — 섹션 배경을 흰색 / 옅은 하늘 / 옅은 연두로 번갈아 쓴다.
     아주 옅게 잡아야 글자 대비(회색 본문 5.5:1 이상)가 유지된다. */
  --sky-50:  #f3f9fe;   /* 아주 옅은 하늘 */
  --sky-100: #e6f2fc;
  --mint-50: #f3fbf6;   /* 아주 옅은 연두 */
  --mint-100: #e6f6ec;
  --sky:  #0d8fd1;      /* 플로팅 버튼 등 진한 하늘 */
  --mint: #0f9b6c;      /* 진한 연두 */

  --ink: #12151c;
  --text: #1c212b;
  --text-mute: #5b6472;
  --bg: #ffffff;
  --bg-soft: var(--sky-50);
  --border: #e3ebf3;
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(11, 23, 48, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

/* 상단 주소·전화 띠(.topbar)는 제거했다. 전화번호는 헤더 CTA · 히어로 버튼 ·
   우측 하단 플로팅 버튼 · 푸터 · 문의 페이지에 있다. */

/* Header — 흰 배경.
   반투명 흰색이라 스크롤 시 뒤 내용이 살짝 비친다.
   흰 배경이므로 로고는 원본 색상(kyGrad)을 그대로 쓸 수 있다. */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark {
  height: 30px;
  width: auto;      /* mark is slightly wider than tall (746:680) */
  flex: none;
}
.brand__text {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand__text em { font-style: normal; color: var(--label); }
.brand__text--light { color: var(--navy); }   /* 푸터가 밝아져 남색을 쓴다 */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav a:hover { color: var(--navy); }
.nav a.is-active { color: var(--navy); }
.nav a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 5px;
}
.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--accent-dark); }
.nav__cta.is-active::after { display: none; }   /* CTA already reads as active */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(11, 111, 164, 0.45);
}
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); }
.location .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.location .btn--ghost:hover { background: var(--bg-soft); }

/* Hero — 밝은 파스텔 배경 + 사진은 프레임 안에.
   예전에는 어두운 사진 위에 흰 글자를 올려서 overlay 농도로 대비를 맞춰야 했는데,
   글자를 밝은 배경으로 옮기니 대비 문제가 사라지고 사진도 원래 색으로 보인다. */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 88% -10%, var(--mint-100) 0%, rgba(230,246,236,0) 60%),
    linear-gradient(160deg, var(--sky-100) 0%, var(--sky-50) 48%, var(--bg) 100%);
  color: var(--navy);
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
/* 히어로 사진은 조금 넓게 잘라 '탁 트인' 느낌을 준다 (기본 4:3 -> 3:2) */
.hero__media .media-frame {
  aspect-ratio: 3/2;
  box-shadow: 0 28px 56px -24px rgba(11,23,48,0.32);
}
.eyebrow {
  display: inline-block;
  color: var(--label);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.eyebrow.center { display: block; text-align: center; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero h1 span { color: var(--label); }
.hero__desc {
  font-size: 17.5px;
  color: var(--text-mute);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }


/* Sub-page hero — 옅은 하늘 + 오른쪽 위에 옅은 연두를 섞어 아래로 갈수록 흰색 */
.page-hero {
  background:
    radial-gradient(760px 300px at 92% -30%, var(--mint-100) 0%, rgba(230,246,236,0) 62%),
    linear-gradient(170deg, var(--sky-100) 0%, var(--sky-50) 55%, var(--bg) 100%);
  color: var(--navy);
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--label); }
.page-hero h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.page-hero__desc {
  margin: 16px 0 0;
  color: var(--text-mute);
  font-size: 16px;
  max-width: 640px;
}

/* Shared info table (about / careers / contact) */
.info-section { background: var(--bg); }
.info-table {
  margin: 0;
  max-width: 720px;
  border-top: 1px solid var(--border);
}
.info-table > div {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-table dt {
  width: 96px;
  flex: none;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 14px;
}
.info-table dd { margin: 0; font-size: 15px; color: var(--navy); font-weight: 600; }
.info-table a { color: var(--label); text-decoration: none; }
.info-table--compact { margin-top: 28px; }
.info-section .info-table { margin: 0 auto; }

/* Service detail rows */
.svc { background: var(--bg); }
.svc--alt { background: var(--bg-soft); }
.svc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.svc__grid--rev .svc__media { order: 2; }
.svc__copy .eyebrow { color: var(--label); }
.svc__copy h2 {
  font-size: clamp(23px, 3vw, 31px);
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 800;
}
.svc__copy p { color: var(--text-mute); margin: 0 0 20px; font-size: 16px; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.svc__list li {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* 종방향 · 횡방향 그루빙 비교 */
.dirs__lead {
  text-align: center;
  max-width: 620px;
  margin: -18px auto 34px;
  color: var(--text-mute);
  font-size: 16px;
}
.dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dirs__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
}
.dirs__tag {
  display: inline-block;
  background: rgba(11,111,164,0.10);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.dirs__item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--navy);
}
.dirs__item > p {
  margin: 0 0 18px;
  color: var(--text-mute);
  font-size: 15px;
}

/* 그루빙 vs 타이닝 설명 박스 */
.compare {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 36px 36px;
}
.compare h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  font-weight: 800;
}
.compare p { margin: 0 0 18px; color: var(--text-mute); font-size: 15.5px; line-height: 1.75; }
.compare p:last-child { margin-bottom: 0; }
.compare__list {
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
}
.compare__list dt {
  font-weight: 800;
  color: var(--navy);
  font-size: 15.5px;
  margin-bottom: 4px;
}
.compare__list dd {
  margin: 0 0 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
}

/* Home extras */
.link-more {
  display: inline-block;
  margin-top: 24px;
  color: var(--label);
  font-weight: 700;
  text-decoration: none;
}
.link-more:hover { text-decoration: underline; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card__more {
  display: inline-block;
  margin-top: 14px;
  color: var(--label);
  font-weight: 700;
  font-size: 14px;
}
.home-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.home-links a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 4px;
}
.home-links a:hover { border-color: var(--accent); }

/* Stats — 히어로 바로 아래 띠. 예전엔 남색이라 밝은 히어로와 끊겨 보였다. */
.stats {
  background: var(--sky-100);
  color: var(--navy);
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong { display: block; font-size: 26px; color: var(--label); margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--text-mute); }

/* Section basics */
section { padding: 100px 0; }
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
  color: var(--navy);
}
.section-title.center { text-align: center; }

/* Strengths */
.strengths { background: var(--bg); }
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.strength {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  text-align: center;
}
.strength__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(11, 111, 164, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength__icon svg { width: 32px; height: 32px; }
.strength h3 { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
.strength p { margin: 0; color: var(--text-mute); font-size: 15px; line-height: 1.7; }

/* About */
.about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about__copy .eyebrow { color: var(--label); }
.about__copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 20px;
}
.about__copy p { color: var(--text-mute); margin: 0 0 14px; font-size: 16px; }
.about__points { display: grid; gap: 16px; margin-top: 24px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point svg { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.point strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.point span { display: block; color: var(--text-mute); font-size: 14px; line-height: 1.5; }


/* Services */
.services { background: var(--bg-soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(11, 111, 164, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--text-mute); font-size: 15px; }

/* Process (compact, inside services section) */
.process {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.process__title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--label);
  letter-spacing: 0.02em;
}
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process__steps li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}
.process__steps span {
  font-size: 12px;
  font-weight: 800;
  color: var(--label);
}
.process__steps strong { font-size: 15px; color: var(--navy); }
.process__steps em { font-style: normal; font-size: 13px; color: var(--text-mute); line-height: 1.45; }

/* Equipment — 장비마다 설명 섹션 하나씩 (팝업 없음) */

/* 페이지 맨 위 장비 목록 바로가기 */
.equip-jump { background: var(--mint-50); padding: 26px 0; }
.equip-jump__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.equip-jump__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.equip-jump__item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--label);
}
.equip-jump__item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* 장비 설명 섹션 — Service detail rows 스타일을 그대로 쓴다 */
.equip-detail { scroll-margin-top: 96px; }
.equip-detail .svc__media { position: relative; }
.equip-detail__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.4);
}
.equip-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.equip-detail__actions .btn { padding: 12px 22px; font-size: 14.5px; }

/* 밝은 배경용 버튼 (btn--ghost 는 어두운 배경 전용) */
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #16305e; }
.btn--line {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}
.btn--line:hover { border-color: var(--blue); background: var(--bg-soft); }

/* CTA strip (every page ends with this)
   밝은 톤: 옅은 파란 배경 + 남색 글자. 주황 버튼이 더 눈에 띈다. */
.cta-strip {
  background: linear-gradient(120deg, var(--mint-100) 0%, var(--mint-50) 60%, var(--sky-50) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--navy);
}
.cta-strip__inner h2 { margin: 0 0 8px; font-size: 26px; color: var(--navy); }
.cta-strip__inner p { margin: 0; color: var(--text-mute); }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 밝은 배경에서는 흰 테두리 버튼(btn--ghost)이 안 보이므로 남색 테두리로 바꾼다 */
.cta-strip .btn--ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}
.cta-strip .btn--ghost:hover { border-color: var(--blue); background: var(--bg-soft); }

/* Location (map full width on the contact page) */
.location { background: var(--bg-soft); }
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.location__actions { margin-top: 24px; text-align: center; }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Gallery (시공사례) */
.gallery { background: var(--bg); }
.gallery__hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
  margin: 0 0 28px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shot {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s, box-shadow 0.2s;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.shot:hover img { transform: scale(1.05); }
/* 영상 카드: 재생 아이콘 + 배지 */
.shot__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(11, 23, 48, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transition: background 0.2s, transform 0.2s;
}
.shot__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.shot--video:hover .shot__play {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.shot__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 2;
}

/* 카테고리 필터 — 그룹별 복수 선택 */
.gallery__filters {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 22px;
  background: var(--mint-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filter-group {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 14px;
  align-items: center;
}
.filter-group + .filter-group {
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
/* 분류가 한 줄뿐일 때는 라벨 칸 없이 칩만 가운데 */
.filter-group--plain { grid-template-columns: 1fr; }
.filter-group--plain .filter-group__chips { justify-content: center; }
.filter-group__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: -0.2px;
}
.filter-group__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 선택 결과 + 선택 해제 */
.gallery__resultbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 26px;
  min-height: 30px;
}
.gallery__result {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.filter-reset {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mute);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.filter-reset:hover { border-color: var(--blue); color: var(--navy); }

.filter-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mute);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-chip:hover { border-color: var(--blue); color: var(--navy); }
.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.filter-chip__n { opacity: 0.55; font-weight: 500; margin-left: 4px; }
.gallery__empty {
  text-align: center;
  color: var(--text-mute);
  padding: 40px 0;
}

.shot.is-hidden { display: none; }

.shot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(transparent, rgba(11,23,48,0.85));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

/* 사진이 아직 없을 때 */
.empty-state {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.empty-state svg { width: 64px; height: 64px; margin-bottom: 20px; }

/* 404 페이지 버튼 줄 */
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.empty-state h2 { margin: 0 0 12px; font-size: 21px; color: var(--navy); }
.empty-state p { margin: 0 0 24px; color: var(--text-mute); font-size: 15px; line-height: 1.7; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(6, 12, 26, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__inner { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__inner img {
  max-width: 100%;
  max-height: 78vh;
  max-height: 78dvh;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox__cap { margin: 16px 0 4px; color: #fff; font-size: 15px; font-weight: 600; }
.lightbox__count { margin: 0; color: rgba(255,255,255,0.5); font-size: 13px; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.26); }
.lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 17px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 30px;
  line-height: 1;
  padding-bottom: 4px;
}
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* Careers */
.careers__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  vertical-align: middle;
}
.careers-page { background: var(--bg); }
.careers-page__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.careers-page__title {
  margin: 14px 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  font-weight: 800;
}
.careers-page__lead { margin: 0 0 28px; color: var(--text-mute); font-size: 16px; }
.careers-page__aside {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 96px;
}
.careers-page__aside h3 { margin: 0; font-size: 18px; color: var(--navy); }
.careers-page__aside p { margin: 0 0 6px; font-size: 14px; color: var(--text-mute); }
.careers-page__aside .btn { width: 100%; }
.careers-page__aside .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.careers-page__aside .btn--ghost:hover { background: #fff; }

/* FAQ */
.faq { background: var(--bg); }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  background: var(--bg-soft);
}
.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--label);
  transition: transform 0.2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 14px 0 0; color: var(--text-mute); font-size: 15px; line-height: 1.7; }

/* Contact */
.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact__grid > * { min-width: 0; }
.contact__intro .eyebrow { color: var(--label); }
.contact__intro h2 { font-size: 28px; color: var(--navy); margin: 0 0 16px; }
.contact__intro p { color: var(--text-mute); }
.contact__call { margin-top: 20px; }
.contact__form {
  display: grid;
  gap: 18px;
  background: var(--bg-soft);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact__form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.contact__form input,
.contact__form textarea {
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}
.btn--send { justify-self: start; min-width: 160px; }
.contact__note a, .quick-chat__note a { color: var(--label); font-weight: 600; }
.contact__note { margin: 0; font-size: 13px; color: var(--text-mute); }

/* Footer */
/* 푸터는 거의 검정(--ink) 이었는데, 전체를 밝게 하면서 너무 무거워 보여
   브랜드 남색 계열로 올린다. */
/* Footer — 밝은 파스텔. 예전엔 거의 검정이라 밝은 본문과 이어지지 않았다. */
.footer {
  background: linear-gradient(160deg, var(--mint-50) 0%, var(--sky-50) 100%);
  color: var(--text-mute);
  padding: 48px 0 28px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer .brand__mark { height: 24px; width: auto; }
.footer p { margin: 4px 0; font-size: 14px; }
.footer a { color: var(--label); text-decoration: none; }
.footer a:hover { color: var(--navy); text-decoration: underline; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
}
.footer__nav a { font-size: 14px; font-weight: 600; }
.footer__copy {
  font-size: 13px;
  color: var(--text-mute);
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Floating call button + quick chat */
.fab-stack {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.fab {
  width: 58px;
  height: 58px;
  flex: none;
  border: none;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px -8px rgba(15, 155, 108, 0.55);
  animation: pulse 2.4s infinite;
}
.fab--chat {
  background: var(--sky);
  box-shadow: 0 14px 28px -8px rgba(13, 143, 209, 0.55);
  animation: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15,155,108,0.45), 0 14px 28px -8px rgba(15,155,108,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(15,155,108,0), 0 14px 28px -8px rgba(15,155,108,0.55); }
  100% { box-shadow: 0 0 0 0 rgba(15,155,108,0), 0 14px 28px -8px rgba(15,155,108,0.55); }
}

.quick-chat { position: relative; }
.quick-chat__panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 50px -18px rgba(11,23,48,0.4);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.quick-chat.is-open .quick-chat__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.quick-chat__header {
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.quick-chat__header strong { display: block; font-size: 15px; }
.quick-chat__header span { display: block; font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.quick-chat__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  cursor: pointer;
  padding: 2px;
}
.quick-chat__close:hover { color: #fff; }
.quick-chat__form {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
}
.quick-chat__form input,
.quick-chat__form textarea {
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  resize: vertical;
}
.quick-chat__form input:focus,
.quick-chat__form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}
.quick-chat__form .btn { padding: 10px; font-size: 14px; width: 100%; }
.quick-chat__note { margin: 0; padding: 0 18px 16px; font-size: 11px; color: var(--text-mute); }

@media (max-width: 400px) {
}

/* ────────────────────────────────────────────────────────────────
   모바일 빠른문의 : 화면 아래 시트로 띄운다.

   휴대폰에서 입력칸을 누르면 키보드가 올라오는데,
   - 안드로이드는 화면 높이가 줄어들어 팝업이 좁은 스크롤 박스가 되고
   - 아이폰은 화면 높이가 그대로여서 팝업 아래쪽(보내기 버튼)이 키보드에 가려진다.
   그래서 위치를 화면 기준으로 고정하고, 키보드 높이는 JS가
   visualViewport 로 재서 --qc-inset / --qc-max 에 넣어준다.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .quick-chat__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(var(--qc-inset, 88px) + env(safe-area-inset-bottom, 0px));
    max-height: var(--qc-max, 72vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* 시트가 열려 있는 동안에는 플로팅 버튼이 가리지 않게 숨긴다 */
  .quick-chat.is-open ~ .fab,
  .quick-chat.is-open .fab--chat { opacity: 0; pointer-events: none; }
}

/* Reveal animation.
   Gated on .js so the page stays readable if JavaScript never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .about__grid, .contact__grid,
  .svc__grid, .careers-page__grid, .dirs, .hero__grid { grid-template-columns: 1fr; }
  .svc__grid { gap: 32px; }
  .hero__grid { gap: 34px; }
  .hero { padding: 52px 0 64px; }
  .hero__media { order: -1; }   /* 모바일에선 사진을 먼저 보여준다 */
  .svc__grid--rev .svc__media { order: 0; }
  .careers-page__aside { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* 모바일 메뉴는 헤더 '바로 아래' 에 붙어야 한다.
     position:fixed + top:72px 은 화면 최상단 기준이라, 위에 상단바가 있으면
     그 높이만큼 위로 올라가 헤더를 덮어버린다.
     헤더(sticky)를 기준으로 absolute 로 잡아 항상 헤더 아래에 오게 한다. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 18px 30px -14px rgba(11,23,48,0.22);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav__cta { margin-top: 8px; text-align: center; }
  .hamburger { display: flex; }
  section { padding: 64px 0; }
  .page-hero { padding: 48px 0 42px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; }
  .home-links { gap: 18px 24px; }
}

/* Narrow phones (and folded Z Fold cover screen) */
@media (max-width: 620px) {
  section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
  /* Service cards: icon beside text instead of stacked */
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card {
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
  }
  .card__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; align-self: start; }
  .card__icon svg { width: 22px; height: 22px; }
  .card h3 { margin: 0 0 4px; font-size: 17px; }
  .card p { font-size: 14px; }
  .faq__item { padding: 16px 18px; }
  .contact__form { padding: 24px 20px; }
  .info-table > div { flex-direction: column; gap: 4px; padding: 11px 0; }
  .info-table dt { width: auto; }
  .about__grid { gap: 32px; }
  .contact__grid { gap: 28px; }
  .location__map, .map-frame { min-height: 300px; }
  .cta-strip__actions { width: 100%; flex-direction: column; }
  .cta-strip__actions .btn { width: 100%; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }

  /* 시공사례: 2열 유지 (1열은 사진이 과하게 커짐) */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot__cap { font-size: 11.5px; padding: 18px 10px 9px; }
  .empty-state { padding: 40px 22px; }
  .lightbox { padding: 12px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__inner img { max-height: 68vh; max-height: 68dvh; }
  .hero { min-height: 78vh; min-height: 78dvh; }
  .hero__inner { padding: 88px 24px 72px; }
  .contact__form { gap: 14px; }
  .contact__form label { gap: 6px; font-size: 13px; }
  .contact__form input, .contact__form textarea { padding: 11px 14px; }
  .contact__form textarea { min-height: 96px; }

  /* Process: compact two-line rows */
  .process { margin-top: 32px; padding: 20px; }
  .process__steps { grid-template-columns: 1fr; gap: 10px; }
  .process__steps li {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 8px;
    padding-left: 12px;
  }
  .process__steps strong { grid-column: 2; }
  .process__steps em { grid-column: 2; font-size: 12.5px; }

  /* Equipment: 목록 바로가기는 좌우 스와이프, 버튼은 반반 */
  .equip-jump { padding: 18px 0; }
  .equip-jump__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 2px 24px;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .equip-jump__list::-webkit-scrollbar { display: none; }
  .equip-jump__item { flex: 0 0 auto; padding: 9px 15px; font-size: 13.5px; }
  .equip-detail__actions { margin-top: 20px; gap: 8px; }
  .equip-detail__actions .btn { flex: 1 1 0; min-width: 0; padding: 12px 10px; font-size: 14px; }

  /* 골라보기: 분류 이름을 칩 위로 올려 좁은 화면에서도 넉넉하게 */
  .gallery__filters { padding: 16px 14px; gap: 10px; }
  .filter-group { grid-template-columns: 1fr; gap: 7px; }
  .filter-chip { font-size: 13px; padding: 7px 13px; }
}

/* Short viewports (Z Flip cover screen, landscape phones).
   빠른문의 패널 높이는 위의 모바일 시트 규칙과 JS(--qc-max)가 담당한다. */
@media (max-height: 560px) {
  .hero { min-height: 520px; }

  /* 키보드가 올라와 화면이 짧아지면 빠른문의 내용을 조여
     스크롤 없이 '보내기' 까지 보이게 한다 */
  .quick-chat__header { padding: 11px 16px; }
  .quick-chat__header span { display: none; }
  .quick-chat__form { gap: 8px; padding: 12px 14px; }
  .quick-chat__form input,
  .quick-chat__form textarea { padding: 8px 12px; }
  .quick-chat__form textarea { min-height: 48px; height: 48px; }
  .quick-chat__form .btn { padding: 9px; }
  .quick-chat__note { padding: 0 14px 10px; font-size: 10.5px; }
}
